]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
manual/probes.texi: Add documentation of setjmp/longjmp probes
[thirdparty/glibc.git] / ChangeLog
1 2014-02-11 Will Newton <will.newton@linaro.org>
2
3 * manual/probes.texi (Internal Probes): Add documentation
4 of setjmp, longjmp and longjmp_target probes.
5
6 2014-02-11 Will Newton <will.newton@linaro.org>
7
8 * include/stap-probe.h: Add comment about probe argument
9 format.
10
11 2014-02-11 Will Newton <will.newton@linaro.org>
12
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.
16
17 2014-02-11 David S. Miller <davem@davemloft.net>
18
19 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20 processing int_tests.
21
22 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23
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
29 mips64-*-linux-gnu.
30
31 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
32
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.
37
38 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
39
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.
46
47 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
48
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):
96 Likewise.
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):
109 Likewise.
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,
121 dl_main): Likewise.
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):
128 Likewise.
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):
206 Likewise.
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):
272 Likewise.
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):
283 Likewise.
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):
299 Likewise.
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):
307 Likewise.
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):
315 Likewise.
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):
323 Likewise.
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):
338 Likewise.
339 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
340 Likewise.
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):
344 Likewise.
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):
366 Likewise.
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):
389 Likewise.
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):
409 Likewise.
410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
411 Likewise.
412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
413 Likewise.
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):
431 Likewise.
432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
433 Likewise.
434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
435 Likewise.
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):
439 Likewise.
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):
447 Likewise.
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):
454 Likewise.
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):
478 Likewise.
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):
490 Likewise.
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):
506 Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
509 Likewise.
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):
518 Likewise.
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):
526 Likewise.
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):
534 Likewise.
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.
542
543 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
544
545 [BZ #15894]
546 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
547
548 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
549
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.
554
555 2014-02-08 Mike Frysinger <vapier@gentoo.org>
556
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.
559
560 2014-02-08 Mike Frysinger <vapier@gentoo.org>
561
562 * manual/setjmp.texi: Fix typos/grammar errors.
563
564 2014-02-08 Mike Frysinger <vapier@gentoo.org>
565
566 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
567 Only return early when n is <= 0. Delete unused return statement.
568
569 2014-02-08 Mike Frysinger <vapier@gentoo.org>
570
571 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
572 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
573 * debug/tst-longjmp_chk3.c: New file.
574
575 2014-02-08 Mike Frysinger <vapier@gentoo.org>
576
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.
584
585 2014-02-08 Mike Frysinger <vapier@gentoo.org>
586
587 * debug/tst-longjmp_chk.c: Add header comment and include
588 ../test-skeleton.c.
589 (do_test): Mark static.
590 (TEST_FUNCTION): Define.
591
592 2014-02-08 Mike Frysinger <vapier@gentoo.org>
593
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.
615
616 2014-02-08 Mike Frysinger <vapier@gentoo.org>
617
618 * timezone/Makefile: Delete $(have-ksh) check.
619 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
620 * timezone/tzselect.ksh: Add +x mode bits.
621
622 2014-02-08 Mike Frysinger <vapier@gentoo.org>
623
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.
661
662 2014-02-08 Joseph Myers <joseph@codesourcery.com>
663
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.
669
670 * README: Remove mention of am33.
671
672 2014-02-07 Roland McGrath <roland@hack.frob.com>
673
674 * bits/sigset.h (__sigemptyset): Use a statement expression rather
675 than the comma operator, to avoid "rhs of comma has no effect"
676 compiler warnings.
677 (__sigfillset, __sigandset, __sigorset): Likewise.
678 * include/signal.h (__sigemptyset): Likewise.
679 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
680
681 2014-02-07 Allan McRae <allan@archlinux.org>
682
683 * version.h (RELEASE): Set to "development".
684 (VERSION): Set to "2.19.90"
685 * NEWS: Add 2.20 section.
686
687 2014-02-06 Carlos O'Donell <carlos@redhat.com>
688
689 [BZ #16529]
690 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
691
692 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
693
694 * manual/contrib.texi: Update entry for Carlos O'Donell,
695 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
696
697 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
698
699 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
700
701 * sysdeps/unix/sysv/linux/kernel-features.h
702 [__LINUX_KERNEL_VERSION >= 0x020621]
703 (__ASSUME_PROC_PID_TASK_COMM): Define.
704
705 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
706
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.
710
711 2014-02-04 David S. Miller <davem@davemloft.net>
712
713 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
714 32-bit.
715
716 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
717
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
719 file
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
721 New file
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
723 file.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
725 file.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
727 New file.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
729 file.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
731 file.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
733 New file.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
735 New file.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
737 New file.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
739 New file.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
741 New file.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
743 New file.
744
745 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746
747 * nptl/shlib-versions: Change powerpc*le start to 2.17.
748 * shlib-versions: Likewise.
749
750 2014-02-04 Roland McGrath <roland@hack.frob.com>
751 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
752
753 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
754 (abilist-pattern): New variable, set to %-le.abilist.
755
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.
760
761 2014-02-04 Eric Wong <normalperson@yhbt.net>
762
763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
764
765 2014-02-04 Eric Wong <normalperson@yhbt.net>
766
767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
768
769 2014-02-03 Carlos O'Donell <carlos@redhat.com>
770
771 * manual/startup.texi: Add next, previous, and top entries for
772 the `Program Arguments' and `Environment Variables' nodes.
773
774 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
775
776 * manual/macros.texi: Add comments before MTASC-safety macros.
777
778 * manual/users.texi: Document MTASC-safety properties.
779
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.
785
786 2014-02-03 Allan McRae <allan@archlinux.org>
787
788 * po/sl.po: Update Slovenian translation from translation project.
789
790 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
791
792 * manual/time.texi (timegm): Add missing blank after @c.
793 Reported by Joseph Myers <joseph@codesourcery.com>.
794
795 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
796
797 * manual/check-safety.sh: New.
798 * manual/Makefile ($(objpfx)stamp-summary): Run it.
799
800 * manual/terminal.texi: Document MTASC-safety properties.
801
802 * manual/filesys.texi: Document MTASC-safety properties.
803
804 * manual/errno.texi: Document MTASC-safety properties.
805
806 * manual/intro.texi: Document safety identifiers and
807 conditionals.
808
809 * manual/string.texi (wcstok): Fix prototype.
810 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
811
812 * manual/time.texi: Document MTASC-safety properties.
813
814 * manual/string.texi: Document MTASC-safety properties.
815
816 * manual/threads.texi: Document MTASC-safety properties.
817
818 * manual/stdio.texi: Document MTASC-safety properties.
819
820 * manual/syslog.texi: Document MTASC-safety properties.
821
822 * manual/sysinfo.texi: Document MTASC-safety properties.
823
824 * manual/startup.texi: Document MTASC-safety properties.
825
826 * manual/socket.texi: Document MTASC-safety properties.
827
828 * manual/signal.texi: Document MTASC-safety properties.
829
830 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
831
832 * manual/setjmp.texi: Document MTASC-safety properties.
833
834 * manual/search.texi: Document MTASC-safety properties.
835
836 * manual/resource.texi: Document MTASC-safety properties.
837
838 * manual/process.texi: Document MTASC-safety properties.
839
840 * manual/platform.texi: Document MTASC-safety properties.
841
842 * manual/pipe.texi: Document MTASC-safety properties.
843
844 * manual/pattern.texi: Document MTASC-safety properties.
845
846 * manual/message.texi: Document MTASC-safety properties.
847
848 [BZ #12751]
849 * manual/memory.texi: Document MTASC-safety properties.
850
851 * manual/math.texi: Document MTASC-safety properties.
852
853 * manual/locale.texi: Document MTASC-safety properties.
854
855 * manual/llio.texi: Document MTASC-safety properties.
856
857 * manual/libdl.texi: New.
858
859 * manual/lang.texi: Document MTASC-safety properties.
860
861 * manual/job.texi: Document MTASC-safety properties.
862
863 * manual/getopt.texi: Document MTASC-safety properties.
864
865 * manual/ctype.texi: Document MTASC-safety properties.
866
867 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
868
869 [BZ #16046]
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
879 member.
880 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
881 l_phnum members.
882
883 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
884
885 * manual/debug.texi: Document MTASC-safety properties.
886
887 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
888
889 [BZ #16510]
890 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
891 of __x86_64__ when disabling x87 inline functions.
892
893 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
894
895 * manual/charset.texi: Document MTASC-safety properties.
896
897 * manual/crypt.texi: Document MTASC-safety properties.
898
899 * manual/conf.texi: Document MTASC-safety properties.
900
901 * manual/arith.texi: Document MTASC-safety properties.
902
903 * manual/argp.texi: Document MTASC-safety properties.
904
905 * manual/macros.texi: Introduce macros to document multi
906 thread, asynchronous signal and asynchronous cancellation
907 safety properties.
908 * manual/intro.texi: Introduce the properties themselves.
909
910 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
911
912 * sysdeps/sh/sh4/Makefile: New file.
913
914 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
915
916 * math/gen-libm-test.pl ($srcdir): New variable.
917 ($auto_input): Use it.
918
919 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
920
921 [BZ #16506]
922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
923 access beyond array bounds when parsing netgroups file.
924
925 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
926 the old buffer before realloc.
927
928 2014-01-27 Allan McRae <allan@archlinux.org>
929
930 * po/fr.po: Update French translation from translation project.
931
932 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
933
934 * sysdeps/sh/libm-test-ulps: Regenerate.
935
936 2014-01-24 David S. Miller <davem@davemloft.net>
937
938 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
939
940 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
941
942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
943 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
944
945 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
946
947 [BZ #16474]
948 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
949 string pointers after reallocation.
950
951 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
952
953 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
954 __SH4A__ instead of __SH_FPU_ANY__.
955
956 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
957
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.
967
968 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
969
970 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
971 s390/sys/ucontext.h.
972 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
974
975 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
976
977 [BZ #15605]
978 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
979
980 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
981
982 [BZ#16431]
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.
986
987 2014-01-20 Allan McRae <allan@archlinux.org>
988
989 * po/ca.po: Update Catalan translation from translation project.
990
991 2014-01-16 Mike Frysinger <vapier@gentoo.org>
992
993 * sysdeps/s390/sotruss-lib.c: New file.
994
995 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 [BZ#16430]
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.
1002
1003 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1004
1005 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1006 * math/test-fpucw-static.c: Likewise.
1007
1008 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1009
1010 [BZ #16453]
1011 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1012
1013 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014
1015 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1016 implementation for powerpc.
1017
1018 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1019
1020 [BZ #14782]
1021 * sysdeps/posix/system.c (__libc_system): Do not enable
1022 asynchronous cancellation.
1023
1024 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1025
1026 [BZ #16427]
1027 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1028 handling only for numbers special also in the IEEE case.
1029
1030 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1031
1032 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1033
1034 2014-01-11 Allan McRae <allan@archlinux.org>
1035
1036 * po/bg.po: Update Bulgarian translation from translation project.
1037
1038 * po/de.po: Update German translation from translation project.
1039
1040 2014-01-10 Roland McGrath <roland@hack.frob.com>
1041
1042 * sysdeps/generic/gcc-compat.h: New file.
1043
1044 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1045
1046 * benchtests/asin-inputs: Correct slow inputs.
1047 * benchtests/acos-inputs: Likewise.
1048
1049 2014-01-10 Allan McRae <allan@archlinux.org>
1050
1051 * po:sv.po: Update Swedish translation from translation project.
1052
1053 * po/vi.po: Update Vietnamese translation from translation project.
1054
1055 * po/eo.po: Update Esperanto translation from translation project.
1056
1057 * po/cs.po: Update Czech translation from translation project.
1058
1059 * po/nl.po: Update Dutch translation from translation project.
1060
1061 * po/pl.po: Update Polish translation from translation project.
1062
1063 * po/ru.po: Update Russian translation from translation project.
1064
1065 * po/uk.po: Update Ukrainian translation from translation project.
1066
1067 2014-01-08 Brooks Moses <bmoses@google.com>
1068
1069 * elf/dl-load.c: Fix comment typo.
1070
1071 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1072
1073 * po/header.pot: Rename to...
1074 * po/pot.header: ... this.
1075 * po/Makefile: Use pot.header.
1076
1077 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1078 Maxim Kuvyrkov <maxim@kugelworks.com>
1079
1080 [BZ #16394]
1081 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1082 SRC and DEST against LEN.
1083
1084 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085
1086 [BZ #16414]
1087 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1088 implementation.
1089 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1090
1091 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092
1093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1094
1095 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1096
1097 [BZ #16408]
1098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1099 for large positive arguments.
1100
1101 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1102
1103 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1104
1105 * math/auto-libm-test-in: Mark various tests with
1106 xfail-rounding:ldbl-128ibm.
1107 * math/auto-libm-test-out: Regenerated.
1108
1109 [BZ #16407]
1110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1111 Increase overflow threshold.
1112
1113 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1114
1115 [BZ #14286]
1116 * stdio-common/vfprintf.c: Check for integer overflow.
1117
1118 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1119
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.
1122
1123 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1124
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.
1127
1128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1129
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
1133 GLIBC_2.19 symbol.
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:
1137 ... this.
1138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1140 ... this.
1141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1142 Regenerate.
1143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1144 Regenerate.
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
1149 field.
1150 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1151 uc_flags field.
1152 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1153 64 bit versions:
1154 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1155 for high GPRs (uc_high_gprs) and for future extensions
1156 (__reserved).
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
1160 64 bit versions:
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.
1165
1166 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1167
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
1184 GLIBC_2.19 version.
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:
1189 Likewise.
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1191 Regenerate.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1193 Regenerate.
1194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1195 Regenerate.
1196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1197 Regenerate.
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.
1209
1210 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #16400]
1213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1214 Return -__logl (x) for small positive arguments without evaluating
1215 a polynomial.
1216
1217 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1218
1219 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1220 Rename to ...
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.
1225
1226 2014-01-06 Allan McRae <allan@archlinux.org>
1227
1228 * inet/netinet/in.h: Fix typo in comment.
1229
1230 2014-01-05 Andreas Jaeger <aj@suse.de>
1231
1232 * sysdeps/i386/fpu/libm-test-ulps: Update.
1233
1234 2014-01-05 Allan McRae <allan@archlinux.org>
1235
1236 * po/libc.pot: Regenerated.
1237
1238 * malloc/memusagestat.c: Fix gettext call formatting.
1239
1240 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1241
1242 * nscd/nscd.c: Improve usage() output.
1243
1244 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1245
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.
1250
1251 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1252
1253 [BZ #16390]
1254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1255 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1256
1257 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258
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.
1264
1265 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1266
1267 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1268
1269 * math/auto-libm-test-in: Mark various tests with
1270 xfail-rounding:ldbl-128ibm.
1271 * math/auto-libm-test-out: Regenerated.
1272
1273 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1274
1275 [BZ #16386]
1276 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1277 numbers with subnormal high part when calculating exponent.
1278
1279 [BZ #16385]
1280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1281 fabs.
1282
1283 [BZ #16384]
1284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1285 M_LN2l.
1286 (__ieee754_acoshl): Use __log1pl not __log1p.
1287
1288 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1289
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.
1321
1322 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1323
1324 [BZ #16366]
1325 * nscd/netgroupcache.c (do_notfound): New function.
1326 (addgetnetgrentX): Use it.
1327
1328 [BZ # 16365]
1329 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1330 NSS_STATUS_NOTFOUND.
1331
1332 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1333
1334 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1336
1337 2014-01-01 Allan McRae <allan@archlinux.org>
1338
1339 * scripts/update-copyrights: Update configure input file suffix.
1340
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.
1366
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.
1372
1373 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1374
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.
1380
1381 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1382
1383 * benchtests/cos-inputs: New inputs.
1384 * benchtests/sin-inputs: Likewise.
1385
1386 * benchtests/atan-inputs: New inputs. Fix name of multiple
1387 precision fallback inputs.
1388
1389 * benchtests/atanh-inputs: New inputs.
1390 * benchtests/tanh-inputs: Likewise.
1391
1392 * benchtests/acosh-inputs: New inputs.
1393 * benchtests/asinh-inputs: Likewise.
1394
1395 * benchtests/cosh-inputs: New inputs.
1396 * benchtests/sinh-inputs: Likewise.
1397
1398 * benchtests/acos-inputs: Add more inputs.
1399 * benchtests/asin-inputs: Likewise.
1400
1401 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1402
1403 [BZ #16375]
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.
1419
1420 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1421
1422 * po/sl.po: New file.
1423
1424 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1425
1426 * .gitignore: Add core/.gdbinit/.gdb_history.
1427
1428 2013-12-27 Allan McRae <allan@archlinux.org>
1429
1430 [BZ #16369]
1431 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1432 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1433
1434 2013-12-24 Brooks Moses <bmoses@google.com>
1435
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):
1439 Likewise.
1440
1441 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1442
1443 * NEWS: Restore accidentally deleted bug-fix entries.
1444
1445 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1446 Ondřej Bílka <neleai@seznam.cz>
1447
1448 [BZ #15073]
1449 * malloc/malloc.c (_int_free): Perform sanity check only if we
1450 have_lock.
1451
1452 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1453
1454 [BZ #12986]
1455 * manual/stdio.texi (String Input Conversions): Clarify that character
1456 classes are not supported.
1457
1458 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459
1460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1461
1462 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1463
1464 [BZ #16337]
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.
1468
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.
1473 (revoke): Likewise.
1474 (setlogin): Likewise.
1475 (sigaltstack): Likewise.
1476 (wait4): Likewise.
1477 (sigblock): Remove.
1478 (sigsetmask): Likewise.
1479 (wait3): 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
1483 file.
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.
1510
1511 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1512
1513 [BZ #16356]
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.
1532
1533 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1534
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.
1544
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.
1552
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
1557 mpc_cc_c.
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.
1565
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
1587 mpc_c_c.
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
1592 ctanh.
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.
1598
1599 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1600
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.
1605
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
1608 positive.
1609 (csloww1): Likewise.
1610 (__sin): Adjust.
1611 (__cos): Adjust.
1612
1613 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1614 arguments A and DA.
1615 (__sin): Adjust.
1616 (__cos): Likewise.
1617
1618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1619 (__cos): Likewise.
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.
1624
1625 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1626
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
1632 mpc_c_f.
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.
1636
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
1646 not use .hidden.
1647 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1648 Likewise.
1649 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1650 Likewise.
1651 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1652 Likewise.
1653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1654 Likewise.
1655 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1656 Likewise.
1657 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1658 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1659 from GLIBC_2.3.2.
1660
1661 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662
1663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1664
1665 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1666
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.
1671
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
1676 mpfr_f_11.
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.
1682
1683 2013-12-19 Andreas Schwab <schwab@suse.de>
1684
1685 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1686 CALL_MCOUNT.
1687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1688 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1689 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1690
1691 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1692
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.
1696
1697 [BZ #16293]
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]:
1703 Likewise.
1704 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1705 sinh test to fail.
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.
1720
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.
1737
1738 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1739
1740 * benchtests/Makefile: Add bench-strtok.
1741 * benchtests/bench-strtok.c: New file: strtok benchtest.
1742
1743 2013-12-19 Allan McRae <allan@archlinux.org>
1744
1745 * manual/install.texi: Suppress menu for plain text output.
1746 * INSTALL: Regenerated.
1747
1748 2013-12-18 Brooks Moses <bmoses@google.com>
1749
1750 [BZ #15846]
1751 * misc/getauxval.c: Include errno.h.
1752 (__getauxval): Set errno to ENOENT if the requested type is not
1753 found.
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.
1758
1759 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1760
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
1766 mpfr_if_f.
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.
1776
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1778 Don't expect fegetround reference in libm.so.
1779
1780 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1781
1782 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1783 $(config-cflags-nofma).
1784
1785 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1786
1787 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1788 * math/auto-libm-test-out: Regenerated.
1789
1790 [BZ #16338]
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
1794 log2.
1795 * math/auto-libm-test-out: Regenerated.
1796 * sysdeps/i386/fpu/libm-test-ulps: Update.
1797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1798
1799 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1800
1801 * manual/probes.texi: Remove cases when per-thread arenas are
1802 disabled.
1803
1804 2013-12-18 Andreas Schwab <schwab@suse.de>
1805
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.
1812
1813 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1814
1815 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1816 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1817
1818 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1819
1820 [BZ #15968]
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.
1829
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.
1834
1835 * manual/time.texi (TZ Variable): Modernize North America example
1836 to reflect current (i.e., 2007-and-later) daylight saving rules.
1837
1838 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1839
1840 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1841
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.
1869
1870 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1871 ($(objpfx)libbsd-compat.a): Remove rule.
1872
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.
1887
1888 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889
1890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1891
1892 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1893
1894 [BZ #16314]
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
1898 hypot.
1899 * math/auto-libm-test-out: Regenerated.
1900
1901 [BZ #16316]
1902 [BZ #16330]
1903 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1904 values of ha and hb and sort them after adjusting subnormal
1905 arguments.
1906 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1907 Likewise.
1908 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1909 values of ea and eb and sort them after adjusting subnormal
1910 arguments.
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.
1914
1915 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1916
1917 [BZ #13304]
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
1921 version.
1922 * sysdeps/sh/Implies: Add sh/soft-fp.
1923
1924 2013-12-16 Roland McGrath <roland@hack.frob.com>
1925
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.
1933
1934 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1935
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
1943 mpfr_ff_f.
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
1952 -min_subnorm.
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.
1956
1957 2013-12-16 Will Newton <will.newton@linaro.org>
1958
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
1965 for aligned_alloc.
1966
1967 2013-12-16 Will Newton <will.newton@linaro.org>
1968
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.
1980
1981 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1982
1983 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1984 TAYLOR_SIN.
1985 (__sin): Adjust.
1986 (__cos): Likewise.
1987 (sloww): Use mynumber union. Expand ternary operator into
1988 if-else statements.
1989 (cslow): use mynumber union.
1990
1991 2013-12-16 Allan McRae <allan@archlinux.org>
1992
1993 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1994 * configure: Regenerated.
1995
1996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1997
1998 [BZ #14120]
1999 * configure.ac: Added --enable-maintainer-mode. Check for
2000 autoconf when enabled.
2001 * configure: Regenerated.
2002
2003 * nscd/nscd.service: New file.
2004 * nscd/nscd.tmpfiles: New file.
2005
2006 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2007
2008 [BZ #12100]
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.
2019
2020 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2021
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.
2025
2026 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2028 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2029
2030 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031
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.
2042
2043 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2044
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.
2055
2056 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057
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.
2072
2073 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
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
2078 file.
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
2083 file.
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2085 multiarch isinff for PPC64.
2086
2087 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2088
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
2092 file.
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
2097 file.
2098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2099 multiarch finitef for PPC64.
2100
2101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2102
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
2106 file.
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.
2112
2113 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2114
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2116 copysignf multiarch implementation.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2118 file.
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2120 file.
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.
2125
2126 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127
2128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2129 multiarch implementation.
2130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2131 file.
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2133 file.
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2135 file.
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2137 file.
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.
2143
2144 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2145
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2147 multiarch implementation.
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2149 file.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2151 file.
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2153 file.
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2155 file.
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.
2161
2162 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2165 multiarch implementation.
2166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2167 file.
2168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2169 file.
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2171 file.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2173 file.
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.
2179
2180 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181
2182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2183 multiarch implementation.
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2185 file.
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2187 file.
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2189 file.
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2191 file.
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.
2197
2198 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2201 multiarch implementation.
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2203 file.
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2205 file.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2207 file.
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.
2212
2213 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214
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
2220 file.
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.
2227
2228 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229
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.
2236
2237 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238
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.
2243
2244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2245
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.
2254
2255 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256
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.
2265
2266 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2267
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.
2282
2283 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2284
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.
2294
2295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296
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.
2306
2307 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308
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.
2318
2319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320
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.
2329
2330 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331
2332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2333 implementations.
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
2340 strchr for PPC64.
2341
2342 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2343
2344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2345 implementations.
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
2352 strncmp for PPC64.
2353
2354 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2355
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.
2366
2367 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368
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
2377 file.
2378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2379 multiarch strcasecmp_l for PPC64.
2380
2381 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2382
2383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2384 implementations.
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
2390 strnlen for PPC64.
2391
2392 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393
2394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2395 implementations.
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
2401 strlen for PPC64.
2402
2403 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2406 implementations.
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.
2413
2414 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415
2416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2417 implementation.
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
2423 memrchr for PPC64.
2424
2425 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2426
2427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2428 implementation.
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
2434 memchr for PPC64.
2435
2436 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2437
2438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2439 implementation.
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
2445 mempcpy for PPC64.
2446
2447 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448
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):
2452 Likewise.
2453 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2454 Likewise.
2455 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2456 Likewise.
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
2465 bzero for PPC32.
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
2471 memset for PPC64.
2472 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2473
2474 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2475
2476 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2478 implementations.
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
2485 memcmp for PPC64.
2486
2487 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488
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
2500 memcpy for PPC64.
2501
2502 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2503
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.
2526
2527 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2528
2529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2530
2531 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2532
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.
2540
2541 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2542
2543 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2544 definition...
2545 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2546 csloww1, csloww2): ... from here.
2547
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.
2553 (__sin): Likewise.
2554 (__cos): Likewise.
2555 (slow1): Likewise.
2556 (slow2): Likewise.
2557 (sloww): Likewise.
2558 (sloww1); Likewise.
2559 (sloww2): Likewise.
2560 (bsloww1): Likewise.
2561 (bsloww2): Likewise.
2562 (cslow2): Likewise.
2563 (csloww): Likewise.
2564 (csloww1): Likewise.
2565 (csloww2): Likewise.
2566
2567 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2568
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
2572 memcpy and memset.
2573 * malloc/hooks.c (realloc_check): Likewise.
2574
2575 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2576
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.
2591
2592 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593
2594 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2595
2596 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2597
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.
2601
2602 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2603
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.
2610
2611 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612
2613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2614
2615 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2616
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2618
2619 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2620
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
2627 mpfr_f_f1.
2628 (func_calc_desc): Add mpfr_f_f1 union field.
2629 (ARGS1): New macro.
2630 (ARGS2): Likewise.
2631 (ARGS3): Likewise.
2632 (ARGS4): Likewise.
2633 (RET1): Likewise.
2634 (RET2): Likewise.
2635 (CALC): Likewise.
2636 (FUNC): Likewise.
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.
2642
2643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644
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.
2649
2650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651
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
2657 for PowerPC64.
2658 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2659 for PowerPC64.
2660
2661 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2662
2663 [BZ #15089]
2664 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2665
2666 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667
2668 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2669
2670 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2671
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.
2691
2692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2693
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:
2697 New file.
2698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2699 New file.
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:
2703 New file.
2704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2705 New file.
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2707 multiarch __ieee754_hypotf for PowerPC32.
2708
2709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2710
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
2726 file.
2727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2728 file.
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
2732 file.
2733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2734 file.
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
2739 file.
2740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2741 multiarch logbl implementation for PowerPC32.
2742
2743 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744
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:
2748 New file.
2749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2750 New file.
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:
2754 New file.
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2756 New file.
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2758 multiarch modff for PowerPC32.
2759
2760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2761
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:
2765 New file.
2766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2767 New file.
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.
2772
2773 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2774
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:
2778 New file.
2779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2780 New file.
2781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2782 New file.
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.
2787
2788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2789
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:
2793 New file.
2794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2795 New file.
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.
2800
2801 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802
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:
2806 New file.
2807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2808 file.
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:
2812 New file.
2813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2814 New file.
2815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2816 multiarch truncf for PowerPC32.
2817
2818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
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:
2823 New file.
2824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2825 file.
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:
2829 New file.
2830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2831 New file.
2832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2833 multiarch roundf for PowerPC32.
2834
2835 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2836
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:
2840 New file.
2841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2842 file.
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:
2846 New file.
2847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2848 New file.
2849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2850 multiarch floorf for PowerPC32.
2851
2852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2853
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:
2857 New file.
2858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2859 file.
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:
2863 New file.
2864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2865 file.
2866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2867 multiarch ceilf for PowerPC32.
2868
2869 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2872 is defined.
2873 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2874 FINITEF is defined.
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:
2878 New file.
2879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2880 file.
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:
2884 New file.
2885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2886 file: multiarch finitef for PowerPC32.
2887
2888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2889
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
2893 file.
2894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2895 file.
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:
2899 New file.
2900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2901 multiarch isinff for PowerPC32.
2902
2903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2904
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
2910 file.
2911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2912 file.
2913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2914 file.
2915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2916 file.
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:
2920 New file.
2921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2922 New file.
2923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2924 multiarch isnanf for PowerPC32.
2925
2926 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
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
2931 file.
2932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2933 file.
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
2937 file.
2938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2939 file.
2940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2941 multiarch sqrtf for PowerPC32.
2942
2943 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944
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:
2948 New file.
2949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2950 New file.
2951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2952 New file.
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.
2957
2958 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959
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:
2963 New file.
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2965 New file.
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:
2969 New file.
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2971 New file.
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2973 file.
2974
2975 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2978
2979 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980
2981 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2982 file.
2983 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2984 file.
2985 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2986 file.
2987 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2988 multiarch wordcopy for PPC32.
2989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2990 wordcopy objects.
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.
2999
3000 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001
3002 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3004 file.
3005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3006 file.
3007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3008 file.
3009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3010 multiarch wcscpy for PPC32.
3011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3012 multiarch objects.
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.
3019
3020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3021
3022 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3024 file.
3025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3026 file.
3027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3028 file.
3029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3030 multiarch wcsrchr for PPC32.
3031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3032 multiarch objects.
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.
3039
3040 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3041
3042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3043 file.
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3045 file.
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
3050 multiarch objects.
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.
3057
3058 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3061 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3062 file.
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
3067 multiarch objects.
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3069 (__libc_ifunc_impl_list): Likewise.
3070
3071 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3072
3073 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3074 name.
3075 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3076 file.
3077 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3078 file.
3079 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3080 multiarch strchrnul for PPC32.
3081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3082 multiarch objects.
3083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3084 (__libc_ifunc_impl_list): Likewise.
3085
3086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3087
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3089 file.
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
3093 file.
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.
3100
3101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3102
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3104 file.
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:
3108 New file.
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
3112 multiarch objects.
3113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3114 (__libc_ifunc_impl_list): Likewise.
3115
3116 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3119 file.
3120 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3121 file.
3122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3123 multiarch strncmp for PPC32.
3124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3125 multiarch objects.
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3127 (__libc_ifunc_impl_list): Likewise.
3128
3129 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130
3131 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3132 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3133 file.
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
3137 multiarch objects.
3138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3139 (__libc_ifunc_impl_list): Likewise.
3140
3141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3142
3143 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3144 file.
3145 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3146 file.
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3149 multiarch objects.
3150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3151 (__libc_ifunc_impl_list): Likewise.
3152
3153 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3154
3155 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3156 file.
3157 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3158 file.
3159 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3160 multiarch rawmemchr for PPC32.
3161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3162 multiarch objects.
3163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3164 (__libc_ifunc_impl_list): Likewise.
3165
3166 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167
3168 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3169 file.
3170 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3171 file.
3172 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3173 file: memrchr multiarch for PPC32.
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3175 multiarch objects.
3176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3177 (__libc_ifunc_impl_list): Likewise.
3178
3179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180
3181 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3182 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3183 file.
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
3188 multiarch objects.
3189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3190 (__libc_ifunc_impl_list): Likewise.
3191
3192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3193
3194 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3195 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3196 file.
3197 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3198 file.
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3200 file: multiarch mempcpy for PPC32.
3201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3202 multiarch objects.
3203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3204 (__libc_ifunc_impl_list): Likewise.
3205
3206 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3207
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
3214 file.
3215 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3216 file.
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.
3225
3226 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3227
3228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3229 file.
3230 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3232 memcmp for PPC32.
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3235 multiarch objects.
3236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3237 (__libc_ifunc_impl_list): Likewise.
3238
3239 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240
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
3244 file.
3245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3246 file.
3247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3248 file.
3249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3250 multiarch memcpy for PPC32.
3251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3252 multiarch objects.
3253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3254 (__libc_ifunc_impl_list): Likewise.
3255
3256 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3257
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:
3261 Likewise.
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.
3266
3267 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3268
3269 * scripts/bench.pl: Append volatile keyword to type.
3270
3271 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3272
3273 * sysdeps/sh/sotruss-lib.c: New file.
3274 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3275
3276 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3279
3280 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3281
3282 [BZ #6810]
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.
3294
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.
3301 (M_E3l): Likewise.
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.
3332
3333 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3334
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
3343 probe.
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
3353 probe.
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.
3363
3364 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3365
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.
3371
3372 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3373
3374 [BZ #15941]
3375 * Makefile (INSTALL): Add install-plain.texi as the primary
3376 dependency.
3377 * manual/install-plain.texi: New file.
3378 * manual/install.texi: Include node directive only for
3379 non-plaintext output.
3380
3381 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3382
3383 * stdlib/longlong.h: Update from GCC.
3384
3385 [BZ #6807]
3386 [BZ #15901]
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
3401 negative n.
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.
3410
3411 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3412
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.
3429
3430 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3431 Alan Modra <amodra@gmail.com>
3432
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
3437 declaration.
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.
3452
3453 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3454
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.
3480
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.
3502
3503 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3504 Alan Modra <amodra@gmail.com>
3505
3506 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3507 Define.
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):
3511 New function.
3512 (elf_machine_fixup_plt): Call it.
3513 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3514 reloc arguments.
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.
3519
3520 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3521 Alan Modra <amodra@gmail.com>
3522
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.
3533
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):
3546 Likewise.
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.
3552
3553 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3554
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.
3570
3571 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3572
3573 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3574
3575 2013-12-04 Alan Modra <amodra@gmail.com>
3576
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.
3581
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.
3588
3589 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3590
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.
3597
3598 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3599
3600 [BZ #4772]
3601 * time/strptime_l.c (__strptime_internal): Allow modifiers
3602 in strptime.
3603 * time/tst-strptime.c (day_tests): Add testcase.
3604
3605
3606 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3607
3608 * scripts/bench.pl: Skip over blank lines.
3609
3610 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3611
3612 [BZ #926]
3613 * manual/time.texi (Calendar Time): Clarify what timezone functions
3614 use.
3615
3616 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3617
3618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3619
3620 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3621
3622 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3623 implementation.
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.
3629
3630 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3631
3632 [BZ #15268]
3633 [BZ #15425]
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.
3641
3642 [BZ #16283]
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
3647 underflow.
3648 * math/auto-libm-test-out: Regenerated.
3649
3650 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3651
3652 [BZ #16274]
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.
3656 (do_open): Delete.
3657
3658 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3659
3660 [BZ #6786]
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
3664 <float.h>.
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.
3677
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.
3700
3701 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3702
3703 [BZ #16289]
3704 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3705 division by 0.
3706
3707 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3708
3709 [BZ #16195]
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.
3717
3718 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3719
3720 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3721
3722 2013-12-02 Steve Ellcey <sellcey@mips.com>
3723
3724 * benchtests/Makefile (bench): Add sqrt.
3725 (LDLIBS-bench-sqrt): New.
3726 * benchtests/sqrt-input: New.
3727
3728 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3729
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.
3735
3736 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3737 (struct gaih): Remove definition.
3738
3739 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3740
3741 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3742 Use HERRNOP directly.
3743
3744 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745
3746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3747
3748 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3749
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.
3794
3795 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3796
3797 [BZ #6787]
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.
3803
3804 [BZ #14032]
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.
3810
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.
3820
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
3825 variables.
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
3854 auto-libm-test-out.
3855
3856 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3857 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3858
3859 [BZ #16214]
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.
3868
3869 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3870
3871 * manual/math.texi (Errors in Math Functions): Document accuracy
3872 goals.
3873
3874 [BZ #15004]
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.
3891
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:
3897 Likewise.
3898 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3899 Likewise.
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3901 Likewise.
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
3913 here.
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3915 Update.
3916
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.
3923
3924 [BZ #16271]
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):
3933 Likewise.
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.
3938
3939 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3940
3941 [BZ #16077]
3942 * nss/Versions (libnss_files): Add
3943 _nss_files_gethostbyname3_r.
3944 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3945 New function.
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.
3950
3951 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3952
3953 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3954
3955 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3956
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"
3959 warning.
3960
3961 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3962
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.
3978
3979 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3980
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.
4015
4016 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4017
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.
4055
4056 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4057
4058 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4059
4060 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4061
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.
4108
4109 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4110
4111 [BZ #16245]
4112 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4113 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4114
4115 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4116
4117 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4118 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4119 Likewise.
4120
4121 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4122
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.
4136
4137 2013-11-21 Roland McGrath <roland@hack.frob.com>
4138
4139 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4140 it's there.
4141
4142 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4143
4144 2013-11-21 Meador Inge <meadori@codesourcery.com>
4145
4146 [BZ #11157]
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.
4151
4152 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4153
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.
4160
4161 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4162
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.
4169
4170 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
4172 * locale/programs/locarchive.c (open_archive): Add const
4173 qualifier to ARCHIVEFNAME and copy default fname to
4174 DEFAULT_FNAME.
4175
4176 [BZ #15601]
4177 * libio/tst-widetext.input: Rename Oriya to Odia.
4178 * locale/iso-639.def: Likewise.
4179
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.
4187
4188 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4189
4190 [BZ #15483]
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
4225 needed.
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
4232 extern declaration.
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):
4243 Likewise.
4244 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4245 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4246 Likewise.
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.
4254
4255 2013-11-19 Andreas Schwab <schwab@suse.de>
4256
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
4262 element.
4263
4264 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4265
4266 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4267 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4268
4269 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4270
4271 * elf/Makefile (tst-auxv): New test.
4272 * elf/tst-auxv.c: New
4273 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4274
4275 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4276
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.
4290
4291 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4292
4293 [BZ #10253]
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.
4297
4298 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4299
4300 * benchtests/Makefile: Add strsep.
4301 * benchtests/bench-strsep.c: New file: strsep benchtest.
4302 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4303
4304 2013-11-18 Andreas Schwab <schwab@suse.de>
4305
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>:
4318 Likewise.
4319
4320 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4321
4322 [BZ #16055]
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.
4326
4327 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4328
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
4336 TEST_NAN_SIGN used.
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
4342 TEST_NAN_SIGN.
4343 (signbit_test_data): Add tests of quiet NaN argument.
4344 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4345
4346 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4347 $ignore_result.
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
4351 IGNORE_RESULT set.
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
4355 set.
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.
4371
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]
4398 conditionals.
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
4407 flags argument.
4408
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.
4446
4447 [BZ #16167]
4448 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4449 argument being NaN and avoid computations with second argument in
4450 that case.
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.
4454
4455 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4456
4457 * locale/iso-639.def: Add Chitwani Tharu (the).
4458
4459 2013-11-14 Andreas Schwab <schwab@suse.de>
4460
4461 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4462 word instead of empty string.
4463
4464 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4465
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.
4470
4471 2013-11-13 Steve Ellcey <sellcey@mips.com>
4472
4473 * benchtests/bench-timing.h: Include time.h.
4474
4475 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 [BZ #15997]
4478 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4479 to 3.4.0 for x32.
4480 * sysdeps/unix/sysv/linux/configure: Regenerated.
4481
4482 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4483
4484 [BZ #16151]
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.
4490
4491 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4492
4493 [BZ #14143]
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.
4505
4506 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4507
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.
4510
4511 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4512
4513 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4514 of htab_find_slot().
4515
4516 2013-11-11 David S. Miller <davem@davemloft.net>
4517
4518 [BZ #16150]
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.
4525
4526 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4527
4528 [BZ #387]
4529 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4530 it is empty.
4531
4532 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4533
4534 * benchtests/Makefile: Add bench-strtod.
4535 * benchtests/bench-strtod.c: New file: strtod benchtest
4536
4537 2013-11-11 Andreas Schwab <schwab@suse.de>
4538
4539 [BZ #16153]
4540 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4541 terminating NUL in key length.
4542
4543 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544
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.
4549
4550 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4551
4552 [BZ #15374]
4553 * nss/getent.c (services_keys): Recognize services starting with digit.
4554
4555 2013-11-06 David S. Miller <davem@davemloft.net>
4556
4557 [BZ #15985]
4558 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4559 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4560
4561 2013-11-06 Will Newton <will.newton@linaro.org>
4562
4563 * manual/memory.texi (Malloc Examples): Remove register
4564 keyword from examples.
4565
4566 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4567
4568 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4569
4570 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4571
4572 [BZ #6981]
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].
4577
4578 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4579
4580 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4581 to iso-639.def.
4582
4583 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4584
4585 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4586
4587 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4588
4589 [BZ #16112]
4590 * malloc/malloc (malloc_info): Do not handle first bin as
4591 special case.
4592
4593 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4594
4595 * locale/iso-639.def: Add Central Nahuatl (nhn).
4596
4597 2013-11-01 Bruno Haible <bruno@clisp.org>
4598
4599 [BZ #7003]
4600 * manual/math.texi (BSD Random): Specify range upper bound as
4601 in POSIX.
4602
4603 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4604
4605 * locale/iso-639.def: Add Meadow Mari (mhr).
4606
4607 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4608
4609 [BZ #14752], [BZ #15763]
4610 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4611 Validate name.
4612 * rt/tst_shm.c: Add test for escaping directory.
4613
4614 2013-10-31 Andreas Schwab <schwab@suse.de>
4615
4616 [BZ #15917]
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.
4620
4621 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4622
4623 [BZ #16037]
4624 * configure.ac: allow GNU Make 4.0 and greater.
4625 * configure: Regenerated.
4626
4627 2013-10-30 Will Newton <will.newton@linaro.org>
4628
4629 [BZ #16038]
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.
4636
4637 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4638
4639 [BZ #11087]
4640 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4641 (munmap_chunk): Likewise.
4642 (mremap_chunk): Likewise.
4643
4644 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4645
4646 [BZ #15799]
4647 * stdlib/div.c (div): Remove obsolete code.
4648 * stdlib/ldiv.c (ldiv): Likewise.
4649 * stdlib/lldiv.c (lldiv): Likewise.
4650
4651 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4652
4653 [BZ #16071]
4654 * nss/nss_files/files-XXX.c (get_contents_ret): New
4655 enumerator.
4656 (get_contents): New function.
4657 (internal_getent): Use it. Expand size of LINEBUFLEN.
4658
4659 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4660
4661 * configure.in: Moved to ...
4662 * configure.ac: ... here. Change reference to configure.in
4663 to configure.ac.
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
4707 respectively.
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.
4726
4727 2013-10-29 Andreas Schwab <schwab@suse.de>
4728
4729 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4730
4731 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4732
4733 * benchtests/pow-inputs: Add new inputs.
4734
4735 * benchtests/exp-inputs: Add new inputs.
4736
4737 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4738 conditional check for return value.
4739 (__cos32): Likewise.
4740
4741 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742
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.
4751
4752 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4753
4754 [BZ #2801]
4755 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4756
4757 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4758
4759 [BZ #14876]
4760 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4761 * time/tst-strptime.c (day_tests): Add testcase.
4762
4763 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4764
4765 [BZ #14029]
4766 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4767
4768 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4769
4770 [BZ #16074]
4771 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4772 MAP_FAILED on error.
4773
4774 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4775
4776 [BZ #16072]
4777 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4778 heap for large requests.
4779
4780 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4781
4782 [BZ #9954]
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.
4787
4788 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4789
4790 * locale/iso-639.def: Add Ligurian (lij)
4791
4792 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4793
4794 [BZ #15825]
4795 * sunrpc/rpc_main.c: Document rpcgen -5.
4796
4797 2013-10-19 Michael Stahl <mstahl@redhat.com>
4798
4799 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4800
4801 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4802
4803 [BZ #10278]
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.
4807
4808 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4809
4810 [BZ #15670]
4811 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4812
4813 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4814
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.
4819
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,
4823 otherwise NULL.
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.
4833
4834 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4835 Aldy Hernandez <aldyh@redhat.com>
4836
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:
4852 Likewise.
4853 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4854 Likewise.
4855 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4856 Likewise.
4857 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4858 Likewise.
4859 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4860 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4861 Likewise.
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:
4866 Likewise.
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:
4871 Likewise.
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>
4876 and <sys/prctl.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.
4891
4892 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4893 Joseph Myers <joseph@codesourcery.com
4894
4895 [BZ #15948]
4896 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4897 single character.
4898 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4899
4900 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4901
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.
4925
4926 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4927
4928 [BZ #12486]
4929 * malloc/malloc.c: remove checks for statistics.
4930
4931 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4932
4933 [BZ #15277]
4934 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4935 * inet/tst-network.c: Add testcase.
4936
4937 2013-10-17 Andreas Schwab <schwab@suse.de>
4938
4939 [BZ #15218]
4940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4941 to determine canonical name.
4942
4943 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4944
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.
5003
5004 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5005
5006 [BZ #16041]
5007 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5008 make result into a quiet NaN.
5009
5010 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5011
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.
5099
5100 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5101
5102 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5103 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5104
5105 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5106
5107 * elf/dl-libc.c: Clear initfini list after freeing.
5108
5109 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5110
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.
5196
5197 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5198
5199 [BZ #15672]
5200 * misc/error.c (error_tail): Fix possible buffer overflow.
5201
5202 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5203
5204 [BZ #13028]
5205 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5206 address.
5207
5208 2013-10-14 P. J. McDermott <pj@pehjota.net>
5209
5210 [BZ #832]
5211 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5212 testing pipefail option.
5213
5214 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5215
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.
5224
5225 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5226
5227 * iconv/iconv_prog.c: Fix typos.
5228 * stdio-common/psiginfo-data.h: Likewise.
5229
5230 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5231
5232 [BZ #15764]
5233 * locale/setlocale.c: Fix typo.
5234
5235 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5236
5237 [BZ #16036]
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.
5242
5243 [BZ #14910]
5244 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5245 unordered operands.
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.
5251
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.
5291
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.
5309
5310 [BZ #16032]
5311 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5312 without decrementing exponent if mantissa >= that for the
5313 denominator, not >.
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
5319 denominator, not >.
5320
5321 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5322 computing saturated result for unsigned overflow.
5323
5324 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5325 Jeff Law <law@redhat.com>
5326
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.
5340
5341 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5342
5343 [BZ #15362]
5344 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5345 written.
5346 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5347 written.
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
5352 encountered.
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.
5357
5358 2013-10-10 David S. Miller <davem@davemloft.net>
5359
5360 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5361 directory block.
5362
5363 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5364
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.
5380
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.
5395
5396 2013-10-10 David S. Miller <davem@davemloft.net>
5397
5398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5399
5400 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5401
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.
5409
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):
5413 Likewise.
5414
5415 2013-10-10 Will Newton <will.newton@linaro.org>
5416
5417 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5418 passed to _int_memalign does not overflow.
5419
5420 2013-10-10 Torvald Riegel <triegel@redhat.com>
5421
5422 * scripts/bench.pl: Add include-sources directive.
5423 * benchtests/README: Update documentation.
5424
5425 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5426
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.
5432
5433 [BZ #16034]
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.
5441
5442 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5443
5444 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5445 semicolon. From Linux kernel.
5446
5447 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5448
5449 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5450
5451 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5452
5453 [BZ #156]
5454 * manual/socket.texi: Added statement about buffer
5455 for gethostbyname2_r.
5456
5457 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5458
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.
5469
5470 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5471
5472 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5473
5474 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5475
5476 * sysdeps/generic/math_private.h (__mpsin1): Remove
5477 declaration.
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.
5483 (slow1): Likewise.
5484 (slow2): Likewise.
5485 (sloww): Likewise.
5486 (sloww1): Likewise.
5487 (sloww2): Likewise.
5488 (bsloww): Likewise.
5489 (bsloww1): Likewise.
5490 (bsloww2): Likewise.
5491 (cslow2): Likewise.
5492 (csloww): 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.
5498 (__mpsin1): Remove.
5499 (__mpcos1): Likewise.
5500
5501 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5502
5503 * locale/loadlocale.c (_nl_intern_locale_data): Use
5504 LOCFILE_ALIGNED_P.
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.
5513
5514 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5515
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.
5536
5537 2013-10-07 Alan Modra <amodra@gmail.com>
5538
5539 * README: Fix careless merge.
5540
5541 2013-10-05 Alan Modra <amodra@gmail.com>
5542
5543 * NEWS: Mention powerpc64le support and bugs fixed.
5544 * README: Both big-endian and little-endian powerpc64 supported.
5545
5546 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5547
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.
5552
5553 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5554
5555 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5556 match prototype.
5557
5558 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5559
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
5588 support in libc.
5589
5590 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5591 case to powerpc/powerpc32*.
5592 * sysdeps/unix/sysv/linux/configure: Regenerated.
5593
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
5598 0x00c10080.
5599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5600 0x0000003c.
5601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5602
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5604 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5605 getcontext_e500.
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5607 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5608 setcontext_e500.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5610 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5611 and setcontext_e500.
5612
5613 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5614
5615 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5616
5617 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
5619 * manual/threads.texi (Default Thread Attributes): Fix typo.
5620
5621 2013-10-04 Will Newton <will.newton@linaro.org>
5622
5623 * malloc/Makefile: Add tst-memalign.
5624 * malloc/tst-memalign.c: New file.
5625
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.
5629
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.
5634
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.
5639
5640 2013-10-04 Alan Modra <amodra@gmail.com>
5641
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.
5645
5646 2013-10-04 Alan Modra <amodra@gmail.com>
5647
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.
5651
5652 2013-10-04 Alan Modra <amodra@gmail.com>
5653
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.
5658
5659 2013-10-04 Alan Modra <amodra@gmail.com>
5660
5661 * string/tester.c (test_memrchr): Increment reported test cycle.
5662
5663 2013-10-04 Alan Modra <amodra@gmail.com>
5664
5665 * string/test-memcpy.c (do_one_test): When reporting errors, print
5666 string address and don't overrun end of string.
5667
5668 2013-10-04 Alan Modra <amodra@gmail.com>
5669
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
5677 support.
5678 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5680 cache hint.
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.
5685
5686 2013-10-04 Alan Modra <amodra@gmail.com>
5687
5688 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5689 insrdi. Formatting.
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.
5696
5697 2013-10-04 Alan Modra <amodra@gmail.com>
5698
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.
5709
5710 2013-10-04 Alan Modra <amodra@gmail.com>
5711
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.
5722
5723 2013-10-04 Alan Modra <amodra@gmail.com>
5724
5725 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5726 support. Correct typos, formatting. Optimize tail. Use insrdi
5727 rather than rlwimi.
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
5732 rather than rlwimi.
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
5736 earlier in tail.
5737 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5738
5739 2013-10-04 Alan Modra <amodra@gmail.com>
5740
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.
5745
5746 2013-10-04 Alan Modra <amodra@gmail.com>
5747
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.
5758
5759 2013-10-04 Alan Modra <amodra@gmail.com>
5760
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.
5768
5769 2013-10-04 Alan Modra <amodra@gmail.com>
5770
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.
5777
5778 2013-10-04 Alan Modra <amodra@gmail.com>
5779
5780 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5781
5782 2013-10-04 Alan Modra <amodra@gmail.com>
5783
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.
5787
5788 2013-10-04 Alan Modra <amodra@gmail.com>
5789
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5791 HIWORD/LOWORD.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5794
5795 2013-10-04 Alan Modra <amodra@gmail.com>
5796
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.
5807
5808 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5809 Alistair Popple <alistair@ozlabs.au.ibm.com>
5810 Alan Modra <amodra@gmail.com>
5811
5812 [BZ #15723]
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.
5821
5822 2013-10-04 Alan Modra <amodra@gmail.com>
5823
5824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5825 Don't use a union to pack hi/low value.
5826
5827 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5828
5829 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5830 for little-endian.
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.
5836
5837 2013-10-04 Alan Modra <amodra@gmail.com>
5838
5839 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5840 constants to usual value for .cst8 section, and remove redundant
5841 high address load.
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.
5845
5846 2013-10-04 Alan Modra <amodra@gmail.com>
5847
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.
5868
5869 2013-10-04 Alan Modra <amodra@gmail.com>
5870
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.
5876
5877 2013-10-04 Alan Modra <amodra@gmail.com>
5878
5879 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5880 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5881
5882 2013-10-04 Alan Modra <amodra@gmail.com>
5883
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.
5887
5888 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5889
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.
5905
5906 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5907
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.
5913
5914 2013-10-04 Alan Modra <amodra@gmail.com>
5915
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.
5920
5921 2013-10-04 Alan Modra <amodra@gmail.com>
5922
5923 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5924 Delete.
5925 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5926 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5927 version of math_ldbl.h.
5928
5929 2013-10-04 Alan Modra <amodra@gmail.com>
5930
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
5939 zero.
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.
5955
5956 2013-10-04 Alan Modra <amodra@gmail.com>
5957
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):
5962 Likewise.
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.
5975 Simplify.
5976 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5977 Simplify.
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):
5984 Likewise.
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.
5990
5991 2013-10-04 Alan Modra <amodra@gmail.com>
5992
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):
6002 Likewise.
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):
6014 Likewise.
6015 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6017 Likewise.
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.
6024
6025 2013-10-04 Alan Modra <amodra@gmail.com>
6026
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.
6038
6039 2013-10-04 Alan Modra <amodra@gmail.com>
6040
6041 [BZ #15680]
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.
6058
6059 2013-10-04 Alan Modra <amodra@gmail.com>
6060
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.
6074
6075 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6076
6077 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6078 page size instead of calling getpagesize.
6079
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.
6087
6088 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6089
6090 [BZ #431]
6091 * manual/string.texi: Fix strncat and wcsncat.
6092
6093 2013-10-03 Brooks Moses <bmoses@google.com>
6094
6095 [BZ #15915]
6096 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6097 * Makerules: ...here, and adjust associated comments.
6098
6099 2013-10-02 Will Newton <will.newton@linaro.org>
6100
6101 * malloc/Makefile: Add tst-pvalloc.
6102 * malloc/tst-pvalloc.c: New file.
6103
6104 2013-10-02 Will Newton <will.newton@linaro.org>
6105
6106 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6107 improve test coverage.
6108
6109 2013-10-02 Will Newton <will.newton@linaro.org>
6110
6111 * malloc/Makefile: Add tst-posix_memalign.
6112 * malloc/tst-posix_memalign.c: New file.
6113
6114 2013-10-01 Eric Blake <eblake@redhat.com>
6115
6116 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6117 Use __THROWNL rather than __THROW on static functions.
6118
6119 2013-09-30 Petr Machata <pmachata@redhat.com>
6120
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.
6202
6203 2013-09-30 Andreas Schwab <schwab@suse.de>
6204
6205 [BZ #15048]
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.
6210
6211 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6212
6213 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6214
6215 2013-09-28 P. J. McDermott <pj@pehjota.net>
6216
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.
6220
6221 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6222
6223 * sysdeps/sh/stackguard-macros.h: New file.
6224
6225 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6226
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.
6233
6234 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6235
6236 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6237 Fix thread ID register.
6238
6239 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6240
6241 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6242 [POSIX || UNIX98]: Require rather than permitting all symbols from
6243 <time.h>.
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
6250 constant.
6251
6252 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6253
6254 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6255 argument calculation.
6256
6257 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6258
6259 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6260 Expect macro.
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.
6270
6271 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6272 Richard Sandiford <richard@codesourcery.com>
6273
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
6286 maybe_swap_uint32.
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".
6295 (GET): New macro.
6296 (SET): Likewise.
6297 (INC): Likewise.
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
6308 locale data.
6309
6310 2013-09-24 Roland McGrath <roland@hack.frob.com>
6311
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.
6315
6316 2013-09-24 Will Newton <will.newton@linaro.org>
6317
6318 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6319 macro.
6320
6321 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6322
6323 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6324 unsigned char.
6325
6326 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6327
6328 * manual/threads.texi (POSIX Threads): Fix a typo.
6329
6330 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6331
6332 [BZ #14547]
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.
6337
6338 [BZ #14547]
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
6344 when malloc fails.
6345
6346 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6347
6348 [BZ #15754]
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.
6352
6353 [BZ #15754]
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.
6368
6369 2013-09-23 Hector Marco <hecmargi@upv.es>
6370 Ismael Ripoll <iripoll@disca.upv.es>
6371 Carlos O'Donell <carlos@redhat.com>
6372
6373 [BZ #15754]
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.
6380
6381 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6382
6383 [BZ #15859]
6384 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6385
6386 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6387
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.
6395
6396 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6397
6398 * NEWS: Mention malloc probes.
6399
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.
6407
6408 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6409 * manual/probes.texi: Document it.
6410
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.
6418
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.
6427
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.
6432
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.
6439
6440 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6441
6442 [BZ #15963, #13985]
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.
6446
6447 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6448
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.
6454 (__cos): Likewise.
6455 (slow): Use TAYLOR_SLOW.
6456 (sloww): Likewise.
6457 (bsloww): Likewise.
6458 (csloww): Likewise.
6459
6460 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6461
6462 * stdlib/strtod_l.c: Fix buffer overrun.
6463
6464 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6465
6466 * benchtests/Makefile (bench): Add sincos.
6467 * benchtests/bench-sincos.c: New file.
6468
6469 * math/libm-test.inc (cos_test_data): New test inputs.
6470 (sin_test_data): Likewise.
6471
6472 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6473 macro.
6474 (__sin): Use it.
6475 (__cos): Likewise.
6476 (slow1): Likewise.
6477 (slow2): Likewise.
6478 (sloww1): Likewise.
6479 (sloww2): Likewise.
6480 (bsloww1): Likewise.
6481 (bsloww2): Likewise.
6482 (cslow2): Likewise.
6483 (csloww1): Likewise.
6484 (csloww2): Likewise.
6485
6486 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6487 function.
6488 (__sin): Use it.
6489 (__cos): Likewise.
6490
6491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6492 gotos.
6493 (__cos): Likewise.
6494
6495 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6496
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.
6503
6504 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6505 Aldy Hernandez <aldyh@redhat.com>
6506
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
6525 declaration.
6526
6527 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6528
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.
6535
6536 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6537 Do not append -msoft-float.
6538 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6539
6540 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6541
6542 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6543
6544 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #15966]
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.
6552
6553 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6554
6555 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6556 prototype.
6557 (ctype_startup): Use uint32_t in cast and sizeof for
6558 ctype->charnames.
6559
6560 2013-09-11 Jia Liu <proljc@gmail.com>
6561
6562 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6563 __daddr_t_defined.
6564 [__FreeBSD__]: Likewise.
6565
6566 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6567
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.
6574
6575 2013-09-11 Will Newton <will.newton@linaro.org>
6576
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.
6581
6582 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6583
6584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6585
6586 2013-09-11 Andreas Schwab <schwab@suse.de>
6587
6588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6589 if not defined.
6590 (O_TMPFILE) [__USE_GNU]: Define.
6591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6592 Define.
6593
6594 2013-09-11 Will Newton <will.newton@linaro.org>
6595
6596 [BZ #15857]
6597 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6598 does not overflow.
6599
6600 2013-09-11 Will Newton <will.newton@linaro.org>
6601
6602 [BZ #15856]
6603 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6604 does not overflow.
6605
6606 2013-09-11 Will Newton <will.newton@linaro.org>
6607
6608 [BZ #15855]
6609 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6610 does not overflow.
6611
6612 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6613
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.
6619
6620 2013-09-10 Allan McRae <allan@archlinux.org>
6621
6622 [BZ #15748]
6623 * manual/arith.texi (Parsing of Floats): Clarify
6624 cross-reference.
6625
6626 [BZ #15849]
6627 * manual/install.texi (Running make install): Mention
6628 --enable-pt-chown.
6629 * INSTALL: Regenerated.
6630
6631 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6632
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
6643 `$(tests-static)'.
6644 (tests-static): New variable.
6645 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6646 dependency to...
6647 [($(build-shared),yes)]
6648 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6649 ... this.
6650 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6651 New dependency.
6652
6653 2013-09-09 Allan McRae <allan@archlinux.org>
6654
6655 [BZ #15939]
6656 * manual/string.texi (Collation Functions): Fix typo in
6657 strcoll example.
6658 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6659
6660 [BZ #15893]
6661 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6662
6663 [BZ #15892]
6664 * libio/memstream.c (open_memstream): Fix memory leak.
6665 * libio/wmemstream.c (open_wmemstream): Likewise.
6666
6667 [BZ #15895]
6668 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6669
6670 2013-09-09 Will Newton <will.newton@linaro.org>
6671
6672 * malloc/Makefile: Add tst-realloc to tests.
6673 * malloc/tst-realloc.c: New file.
6674
6675 2013-09-09 Allan McRae <allan@archlinux.org>
6676
6677 [BZ #15844]
6678 * COPYING: Update from GNU website to fix FSF address.
6679 * COPYING.LIB: Likewise.
6680
6681 2013-09-06 David S. Miller <davem@davemloft.net>
6682
6683 * po/zh_TW.po: Update Chinese (traditional) translation from
6684 translation project.
6685
6686 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6687 Joseph Myers <joseph@codesourcery.com>
6688
6689 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6690 "localeinfo.h".
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
6709 iovec.
6710 * locale/programs/locfile.h: Include "obstack.h".
6711 (struct locale_file): Change to store locale file contents instead
6712 of header.
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
6736 NO_ADD_LOCALE.
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
6740 in file.
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
6746 file.
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.
6765
6766 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6767
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.
6773
6774 2013-09-06 Will Newton <will.newton@linaro.org>
6775
6776 * benchtests/Makefile (string-bench): Add memcpy.
6777
6778 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6779 Cong Wang <amwang@redhat.com>
6780
6781 [BZ #15850]
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
6787 IPPROTO_BEETPH.
6788 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6789 sockaddr_in6, or ipv6_mreq.
6790
6791 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6792
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.
6796
6797 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798
6799 * string/test-memrchr.c: New file.
6800 * string/test-memrchr-ifunc.c: New file.
6801 * string/Makefile: Add new memrchr testcase.
6802
6803 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6804
6805 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6806 fanotify_init returns EPERM.
6807
6808 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6809
6810 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6811 errors.
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
6815 [!_ISOMAC].
6816 * include/fenv.h: Condition include of <stdbool.h> and internal
6817 declarations on [!_ISOMAC].
6818
6819 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6820
6821 [BZ #15923]
6822 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6823
6824 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6825
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
6845 [SHARED].
6846 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6847 [SHARED].
6848 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6849 [SHARED && !NO_HIDDEN].
6850 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6851 [SHARED].
6852 [SHARED && DO_VERSIONING]: Likewise..
6853 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6854 [$(build-shared) = yes].
6855 * manual/install.texi (--disable-versioning): Remove
6856 documentation.
6857 * INSTALL: Regenerated.
6858 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6859 to [SHARED].
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].
6875
6876 2013-09-04 Will Newton <will.newton@linaro.org>
6877
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.
6909
6910 2013-09-04 Will Newton <will.newton@linaro.org>
6911
6912 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6913
6914 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6915
6916 [BZ #15427]
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.
6922
6923 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6924
6925 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6927 Add ifunc.
6928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6929 Add strcmp-sse2-unaligned
6930 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6931
6932 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6933
6934 * Versions.def (libc): Add GLIBC_2.19.
6935
6936 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6937
6938 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6939 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6940
6941 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6942
6943 [BZ #14155]
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.
6952
6953 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6954
6955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6956
6957 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6958
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.
6972
6973 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6974
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.
6997
6998 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6999
7000 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7002
7003 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7004
7005 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7006 aix specific files.
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.
7015
7016 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7017 Roland McGrath <roland@hack.frob.com>
7018
7019 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7020 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7021
7022 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7023
7024 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7025 __executable_start symbol instead of _start.
7026
7027 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7028
7029 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7030 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7031 Move macros to...
7032 * sysdeps/gnu/ldsodefs.h: ... this new file.
7033
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.
7037
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):
7042 Likewise.
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):
7046 Likewise.
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.
7051
7052 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7053 TEST_TRUNC.
7054 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7055 functions, renamed from truncdfsf_test, trunctfsf_test,
7056 trunctfdf_test.
7057 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7058 functions.
7059 (do_test): Run all these.
7060
7061 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7062
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:
7078 Likewise.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7080 Likewise.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7082 Likewise.
7083 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7084
7085 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7086
7087 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7089
7090 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7091
7092 [BZ #15897]
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.
7106
7107 2013-08-27 Roland McGrath <roland@hack.frob.com>
7108
7109 * include/netdb.h [!_ISOMAC]:
7110 Don't include <tls.h>.
7111 (h_errno, __libc_h_errno): Move declaration and macros out of
7112 [_LIBC_REENTRANT].
7113
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"))).
7120
7121 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7122 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7123
7124 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7125
7126 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7127 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7128
7129 * resolv/res_mkquery.c: Include <sys/time.h>.
7130
7131 * inet/ifreq.c: Moved to ...
7132 * sysdeps/unix/ifreq.c: ... here.
7133 * inet/ifreq.c: New file, true stub version.
7134
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>.
7143
7144 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7145 * bits/socket.h: ... here.
7146
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.
7150
7151 2013-08-27 Andreas Schwab <schwab@suse.de>
7152
7153 [BZ #15736]
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
7158 locales.
7159 * string/test-strncasecmp.c (test_main): Likewise.
7160
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.
7166
7167 2013-08-26 Roland McGrath <roland@hack.frob.com>
7168
7169 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7170
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.
7174
7175 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
7177 [BZ #15890]
7178 * nscd/aicache.c: Include res_hconf.h.
7179 (addhstaiX): Initialize res_hconf.
7180
7181 2013-08-26 Andreas Schwab <schwab@suse.de>
7182
7183 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7184 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7185
7186 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
7188 * nscd/aicache.c (addhstaiX): Fix indentation.
7189
7190 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7191
7192 * configure.ac: Quote $build_pt_chown test.
7193 * configure: Regenerated.
7194
7195 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7196
7197 [BZ #15532]
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.
7203
7204 2013-08-22 David S. Miller <davem@davemloft.net>
7205
7206 * po/ca.po: Update Catalan translation from translation project.
7207 * po/uk.po: Add Ukrainian translations from translation project.
7208
7209 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7210
7211 [BZ #15797]
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
7217 errno is unchanged.
7218
7219 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7220
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.
7261
7262 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7263
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.
7268
7269 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7270
7271 [BZ #15867]
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
7282 sa_flags value.
7283 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7284 interrupting a syscall and set with option SA_SIGINFO.
7285
7286 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7287
7288 [BZ #15531]
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.
7295
7296 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7297
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.
7301
7302 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7303 Roland McGrath <roland@hack.frob.com>
7304
7305 * Makefile (INSTALL): Remove trailing blank lines from output of
7306 makeinfo.
7307
7308 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7309
7310 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7311 Align 32 bit compat elf_greg to 8 bytes.
7312
7313 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7314
7315 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7316
7317 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7318
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.
7325
7326 2013-08-16 Florian Weimer <fweimer@redhat.com>
7327
7328 [BZ #14699]
7329 CVE-2013-4237
7330 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7331 member.
7332 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7333 member.
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
7337 conditional.
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
7343 strongly.
7344 * manual/conf.texi (Limits for Files): Add portability note to
7345 NAME_MAX, PATH_MAX.
7346 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7347
7348 2013-08-13 Andreas Schwab <schwab@suse.de>
7349
7350 [BZ #15749]
7351 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7352 of fabs.
7353 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7354 LDBL_MAX_EXP >= 16384]: Add tests for it.
7355
7356 2013-08-12 David S. Miller <davem@davemloft.net>
7357
7358 * version.h (RELEASE): Set to "development".
7359 (VERSION): Set to "2.18.90".
7360 * NEWS: Add 2.19 section.
7361
7362 2013-08-03 David S. Miller <davem@davemloft.net>
7363
7364 * po/ko.po: Update Korean translation from translation project.
7365
7366 2013-08-01 David S. Miller <davem@davemloft.net>
7367
7368 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7369 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7370 Bilka.
7371
7372 2013-07-30 David S. Miller <davem@davemloft.net>
7373
7374 * po/fr.po: Update French translation from translation project.
7375
7376 2013-07-28 David S. Miller <davem@davemloft.net>
7377
7378 * po/cs.po: Update Czech translation from translation project.
7379
7380 * po/sv.po: Update Swedish translation from translation project.
7381
7382 2013-07-27 David S. Miller <davem@davemloft.net>
7383
7384 * po/eo.po: Update Esperanto translation from translation project.
7385
7386 * po/vi.po: Update Vietnamese translation from translation project.
7387
7388 * po/de.po: Update German translation from translation project.
7389
7390 2013-07-26 David S. Miller <davem@davemloft.net>
7391
7392 * po/bg.po: Update Bulgarian translation from translation project.
7393
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.
7397
7398 2013-07-24 David S. Miller <davem@davemloft.net>
7399
7400 * po/libc.pot: Update.
7401
7402 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7403
7404 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7405 variable page size.
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.
7409
7410 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7411
7412 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7413
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>
7419
7420 [BZ #15755]
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
7430 CLOSE_ALL_FDS.
7431 * manual/install.texi (Configuring and compiling): Mention
7432 --enable-pt_chown. Add @findex for grantpt.
7433 * INSTALL: Regenerate.
7434
7435 2013-07-20 David S. Miller <davem@davemloft.net>
7436
7437 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7438 difference between 32-bit and 64-bit.
7439
7440 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7441
7442 [BZ #15711]
7443 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7444 Avoid system header dependency with -ffreestanding.
7445 ($(objpfx)bits/syscall%d): Likewise.
7446
7447 2013-07-13 David S. Miller <davem@davemloft.net>
7448
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.
7452
7453 2013-07-07 David S. Miller <davem@davemloft.net>
7454
7455 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7456
7457 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7458
7459 * sysdeps/i386/fpu/libm-test-ulps: Update.
7460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7461
7462 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7463
7464 * configure.in (--enable-lock-elision): Fix message text.
7465 * INSTALL: Regenerate.
7466 * configure: Regenerate.
7467
7468 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7469
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7471
7472 2013-07-03 Andreas Jaeger <aj@suse.de>
7473
7474 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7475 define.
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.
7482
7483 2013-07-03 Allan McRae <allan@archlinux.org>
7484
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7486
7487 2013-07-02 David S. Miller <davem@davemloft.net>
7488
7489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7490
7491 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7492
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7494
7495 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7496
7497 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499
7500 2013-07-02 Andi Kleen <ak@linux.intel.com>
7501
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.
7507
7508 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7509
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.
7513
7514 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7515
7516 [BZ #13304]
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.
7564
7565 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7566
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
7569 Silvermont.
7570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7571 macro.
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.
7578
7579 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7580
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
7584 POWER8.
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.
7596
7597 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7598
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
7603 GLRO(dl_hwcap2).
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
7609 struct member.
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.
7621
7622 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7623
7624 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7625 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7626
7627 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7628
7629 [BZ #12492]
7630 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7631 mprotect making __stack_prot writable.
7632
7633 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7634 Joseph Myers <joseph@codesourcery.com>
7635
7636 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7637 as being properly aligned.
7638
7639 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7640
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.
7648
7649 [BZ #15022]
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
7658 around call_map.
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.
7669
7670 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7671
7672 * configure.in (CC): Require GCC version 4.4 or later.
7673 * configure: Regenerated.
7674 * manual/install.texi (Tools for Compilation): Update GCC version
7675 requirement.
7676 * INSTALL: Regenerated.
7677
7678 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7679
7680 [BZ #15674]
7681 * string/test-memcmp.c (check2): New.
7682 (main): Call check2.
7683
7684 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7685
7686 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7687
7688 [BZ #15022]
7689 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7690 over to...
7691 (dl_open_worker) [!SHARED]: ... here.
7692
7693 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7694
7695 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7696
7697 2013-06-25 Richard Henderson <rth@redhat.com>
7698
7699 * locale/programs/locarchive.c: Include <libc-internal.h>
7700
7701 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7702
7703 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7704 trailing whitespace removed.
7705
7706 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7707
7708 [BZ #10283]
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
7713 values.
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.
7726
7727 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7728
7729 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7730 (ALIGN_UP): Likewise.
7731 (PTR_ALIGN_DOWN): Likewise.
7732 (PTR_ALIGN_UP): Likewise.
7733
7734 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7735
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
7739 POWER8.
7740 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7741 (_dl_string_platform): Add case for exporting platform position for
7742 POWER8.
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
7748 power7 directories.
7749 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7750 power7 directories.
7751
7752 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7753
7754 * INSTALL: Regenerate.
7755
7756 * nscd/connections.c (nscd_init): Fix comment.
7757
7758 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7759
7760 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7761
7762 [BZ #15667]
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.
7765
7766 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7767
7768 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7769 DL_DST_REQ_STATIC.
7770 (DL_DST_REQ_STATIC): Remove macro.
7771
7772 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7773
7774 [BZ #7006]
7775 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7776 with a shift of 0 bits.
7777
7778 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7779
7780 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7781 $(tststatic-ENV).
7782
7783 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7784
7785 [BZ #15655]
7786 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7787
7788 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7789
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
7795 recursive call.
7796 * string/memset.c (memset): Likewise.
7797 * string/test-memmove.c (simple_memmove): Disable loop transformation
7798 to library calls.
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.
7803
7804 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7805
7806 * math/test-misc.c (main): Ignore fesetround failure when failures
7807 of subsequent rounding tests would be ignored.
7808
7809 [BZ #15654]
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
7815 FE_TONEAREST.
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.
7822
7823 2013-06-18 Roland McGrath <roland@hack.frob.com>
7824
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.
7828
7829 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7830
7831 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7832 fields.
7833
7834 2013-06-17 Roland McGrath <roland@hack.frob.com>
7835
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.
7841
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.
7847
7848 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7849
7850 * math/test-misc.c (main): Do not treat incorrectly rounded
7851 conversions as failure unless ROUNDING_TESTS passes.
7852
7853 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7854
7855 [BZ #15631]
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.
7859
7860 * math/libm-test.inc (fma_test_data): Add another test.
7861
7862 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7863
7864 * manual/threads.texi (Non-POSIX Extensions): New document
7865 node. Document pthread_getattr_default_np and
7866 pthread_setattr_default_np.
7867
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:
7871 Likewise.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7873 Likewise.
7874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7875 Likewise.
7876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7877 Likewise.
7878 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7879 Likewise.
7880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7881 Likewise.
7882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7883 Likewise.
7884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7885 Likewise.
7886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7887 Likewise.
7888
7889 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7890
7891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7892 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7893
7894 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7895 H.J. Lu <hjl.tools@gmail.com>
7896
7897 [BZ #15627]
7898 * sysdeps/x86_64/rtld-memset.c: Remove file.
7899 * sysdeps/x86_64/rtld-memset.S: New file.
7900
7901 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7902
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
7907 ROUNDING_TESTS.
7908
7909 2013-06-13 Roland McGrath <roland@hack.frob.com>
7910
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.
7915
7916 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7917
7918 * NEWS: Fix note on clock function precision. Text by Roland
7919 McGrath.
7920
7921 2013-06-13 Roland McGrath <roland@hack.frob.com>
7922
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.
7925
7926 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7927
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.
7939
7940 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7941
7942 [BZ #12515]
7943 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7944 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7945
7946 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7947
7948 [BZ #15605]
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.
7953
7954 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7955
7956 * math/bug-nextafter.c: Include <math-tests.h>.
7957 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7958 the relevant type.
7959 * math/bug-nexttoward.c: Include <math-tests.h>.
7960 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7961 the relevant type.
7962 * math/test-misc.c: Include <math-tests.h>.
7963 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7964 the relevant type.
7965
7966 2013-06-12 Andreas Jaeger <aj@suse.de>
7967
7968 * po/ia.po: Update Interlingua translation from translation
7969 project.
7970
7971 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7972
7973 * include/fenv.h: Include stdbool.h.
7974 (struct rm_ctx): New structure.
7975 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7976 Define macro.
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.
8019
8020 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8021
8022 * locale/iso-639.def: Convert to UTF-8.
8023
8024 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8025
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).
8032
8033 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8034
8035 * benchtests/Makefile (string-bench): Add strcpy_chk and
8036 stpcpy_chk.
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
8042 code.
8043 (do_test): Likewise.
8044
8045 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8046
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/
8052 dl-procinfo.h.
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/
8058 dl-procinfo.h.
8059
8060 2013-06-11 Andreas Schwab <schwab@suse.de>
8061
8062 [BZ #14991]
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
8078 characters.
8079 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8080
8081 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8082
8083 * include/sys/time.h: Fix indentation and add copyright header.
8084
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.
8137
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.
8199
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.
8210
8211 2013-06-11 Andreas Schwab <schwab@suse.de>
8212
8213 [BZ #15577]
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.
8219
8220 2013-06-11 Andreas Jaeger <aj@suse.de>
8221
8222 * po/zh_TW.po: Update Chinese (traditional) translation from
8223 translation project.
8224
8225 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8226
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):
8242 Likewise.
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.
8246
8247 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8248
8249 * mach/err_boot.sub: Remove trailing whitespace.
8250 * mach/err_ipc.sub: Likewise.
8251 * mach/err_mach.sub: Likewise.
8252
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.
8262
8263 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8264
8265 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8266 of assigning.
8267
8268 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8269
8270 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8271 otherwise empty TRANS lines.
8272 * sysdeps/gnu/errlist.c: Regenerated.
8273
8274 * catgets/gencat.c (error_print): Use (void) in function
8275 definition.
8276 * crypt/crypt_util.c (__init_des): Likewise.
8277 * crypt/speeds.c (Stop): Likewise.
8278 (main): 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.
8303 (mtrace): 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.
8380
8381 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8382
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.
8391 (malloc): Likewise.
8392 (free): 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.
8429 (skip): Likewise.
8430 (value): 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.
8437 (main): 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.
8457 (PRINT): Likewise.
8458 * stdio-common/printf_fp.c (outchar): Likewise.
8459 (PRINT): Likewise.
8460 * stdio-common/printf_fphex.c (outchar): Likewise.
8461 (PRINT): Likewise.
8462 * stdio-common/printf_size.c (outchar): Likewise.
8463 (PRINT): 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):
8496 Likewise.
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
8505 definitions.
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.
8525
8526 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8527
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.
8533
8534 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8535
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.
8599
8600 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8601
8602 * posix/transbug.c: Remove executable mode.
8603
8604 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8605
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.
8797
8798 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8799
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.
8804
8805 2013-06-05 Andreas Schwab <schwab@suse.de>
8806
8807 [BZ #15100]
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.
8811
8812 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8813
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.
8820
8821 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8822
8823 * string/test-strchrnul.c: Add copyright header.
8824
8825 * posix/tst-getaddrinfo4.c: Increase test timeout.
8826
8827 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8828
8829 [BZ #15536]
8830 * math/libm-test.inc (MAX_EXP): Remove
8831 (MIN_EXP): Define.
8832 (ulp): Use MIN_EXP - MANT_DIG.
8833 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8834
8835 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8836
8837 * po/be.po: Revert last change.
8838 * po/zh_CN.po: Likewise.
8839 * po/header.pot: Likewise.
8840
8841 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8842
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
8849 $(link-libc-args).
8850 (build-module): Link with $(link-libc-args).
8851 (build-module-asneeded): Likewise.
8852 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8853 list of objects.
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
8859 libc.
8860 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8861 libc and ld.so.
8862 ($(objpfx)libpcprofile.so): Likewise.
8863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8864 libc_nonshared.a.
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
8868 $(link-libc-deps).
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
8879 $(link-libc-deps).
8880 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8881 libc.
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
8886 ld.so.
8887 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8888 $(link-libc-deps).
8889 * sysdeps/i386/fpu/Makefile: Remove file.
8890 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8891 ($(objpfx)libm.so): Remove dependency on ld.so.
8892
8893 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8894
8895 [BZ # 15553]
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.
8903
8904 2013-05-30 Jeff Law <law@redhat.com>
8905
8906 [BZ #14256]
8907 * manual/errno.texi (ESTALE): Update to account for more than
8908 just NFS file systems.
8909 * sysdeps/gnu/errlist.c: Regenerated.
8910
8911 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8912
8913 [BZ #15465]
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):
8946 Likewise.
8947 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8948 Likewise.
8949 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8950 Likewise.
8951 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8953 Likewise.
8954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8955 Likewise.
8956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8957
8958 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8959
8960 * po/be.po: Add descriptive title.
8961 * po/zh_CN.po: Likewise.
8962 * po/header.pot: Likewise.
8963
8964 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8965
8966 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8967 error message.
8968 (enlarge_archive): Likewise.
8969
8970 2013-05-28 Ben North <ben@redfrontdoor.org>
8971
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.
8974
8975 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8976
8977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8978
8979 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8980
8981 * stdio-common/bug26.c (main): Correct fscanf template.
8982
8983 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8984 declare _dl_skip_args.
8985
8986 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8987 Don't declare.
8988
8989 * manual/platform.texi: Add missing @end deftypefun.
8990
8991 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8992
8993 [BZ #15529]
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.
8997
8998 * math/libm-test.inc: Add drem and pow10 to list of tested
8999 functions.
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.
9007
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.
9014
9015 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016
9017 * manual/platform.texi: Add PowerPC PPR function set documentation.
9018 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9019 implementation.
9020
9021 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9022
9023 * math/libm-test.inc (MAX_EXP): Define.
9024 (ULPDIFF): 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.
9030
9031 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9032
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
9036 END_DATA.
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.
9204
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.
9208 (END): Likewise.
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.
9378
9379 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9380
9381 [BZ #15381]
9382 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9383
9384 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9385
9386 [BZ #14894]
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.
9391
9392 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9393
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.
9397
9398 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9399
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
9406 field to arg_str.
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
9424 and extra2_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
9430 macros.
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
9433 macros.
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
9436 cleanup macros.
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
9439 macros.
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
9442 macros.
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
9445 cleanup macros.
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
9448 cleanup macros.
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
9451 cleanup macros.
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
9454 macros.
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
9457 macros.
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
9460 macros.
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
9463 cleanup macros.
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
9466 cleanup macros.
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
9469 macros.
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
9472 cleanup macros.
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
9475 macros.
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
9478 macros.
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
9481 cleanup macros.
9482 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9483
9484 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9485
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.
9492
9493 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9494
9495 [BZ #15441]
9496 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9497 returns -1.
9498 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9499 null return -1.
9500 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9501 loading the domain.
9502
9503 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9504
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.
9513
9514 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9515
9516 * benchtests/Makefile: Sort function entries.
9517
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.
9529
9530 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9531
9532 [BZ #15339]
9533 * posix/tst-getaddrinfo4.c: New test.
9534 * posix/Makefile (tests): Add it.
9535
9536 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9537
9538 [BZ #15339]
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.
9543
9544 2013-05-21 Andreas Schwab <schwab@suse.de>
9545
9546 [BZ #15014]
9547 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9548 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9549 successful.
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.
9557
9558 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9559
9560 * benchtests/Makefile: Remove instructions for adding
9561 benchmark tests.
9562 * benchtests/README: New file to explain how to execute and
9563 enhance the benchmark tests.
9564
9565 2013-05-21 Andreas Schwab <schwab@suse.de>
9566
9567 [BZ #15493]
9568 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9569 * setjmp/tst-sigsetjmp.c: New test.
9570
9571 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9572
9573 * sysdeps/x86_64/memset.S (memset): New implementation.
9574 (__bzero): Likewise.
9575 (__memset_tail): New function.
9576
9577 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9578
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.
9586
9587 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9588
9589 [BZ #15490]
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):
9594 Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9596 <math_private.h>.
9597 (__nearbyintl): Use math_force_eval before restoring
9598 floating-point environment.
9599 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9600
9601 * math/gen-libm-test.pl (special_functions): Remove.
9602 (parse_args): Don't handle TEST_extra. Handle functions with no
9603 return value.
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.
9620
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.
9625
9626 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9627
9628 [BZ #15488]
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
9632 double tests.
9633 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9634 disable.
9635 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9636 check_long_double.
9637
9638 * math/gen-libm-test.pl (@tests): Remove variable.
9639 ($count): Likewise.
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
9660 find_function_ulps.
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.
9725
9726 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9727
9728 [BZ #15480]
9729 [BZ #15485]
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"
9734 exceptions.
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.
9744
9745 * math/libm-test.inc (struct test_f_f1_data): Remove field
9746 extra_init.
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.
9763
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.
9768
9769 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9770 exceptions.
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
9805 test input.
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
9810 that test input.
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
9815 test input.
9816 (lrint_upward_test_data): Test for "inexact" exceptions.
9817 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9818 test input.
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.
9839
9840 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9841
9842 [BZ #15424]
9843 * benchtests/bench-modf.c (struct args): Mark arg0 as
9844 volatile.
9845 * scripts/bench.pl: Mark members of struct args as volatile.
9846
9847 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9848
9849 [BZ # 15497]
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.
9853
9854 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9855
9856 [BZ #15442]
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
9869 into account.
9870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9871 New macro.
9872 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9873 Likewise.
9874
9875 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9876
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.
9885
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.
9989
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
9995 parse_args.
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.
10012
10013 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10014
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.
10209
10210 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10211
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.
10216
10217 2013-05-16 Richard Henderson <rth@redhat.com>
10218
10219 * math/atest-exp2.c (LIMB64): New macro.
10220 (CONSTSZ): New macro.
10221 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10222 (hexdig): Move ...
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.
10228
10229 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10230
10231 * math/libm-test.inc: Remove comment about not testing "inexact"
10232 exceptions.
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
10248 INEXACT_EXCEPTION.
10249 (rint_towardzero_test_data): Likewise.
10250 (rint_downward_test_data): Likewise.
10251 (rint_upward_test_data): Likewise.
10252
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.
10262
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.
10267
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.
10282
10283 2013-05-13 Peter Collingbourne <pcc@google.com>
10284
10285 * math/atest-exp2.c (get_log2): Remove const attribute.
10286
10287 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10288
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.
10303
10304 2013-05-15 Peter Collingbourne <pcc@google.com>
10305
10306 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10307 (EXTRACT_WORDS64) Use where appropriate.
10308 (INSERT_WORDS64) Likewise.
10309
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.
10313
10314 * malloc/obstack.c (_obstack_compat): Add initializer.
10315
10316 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10317
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.
10323
10324 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10325
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.
10333
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.
10351
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.
10366
10367 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10368 function contents.
10369
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.
10384
10385 2013-05-14 David S. Miller <davem@davemloft.net>
10386
10387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10388
10389 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10390
10391 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10392
10393 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10394 extra_test to int.
10395 (struct test_f_i_data): Change type of max_ulp to int.
10396
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.
10401
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).
10406
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.
10414
10415 * math/libm-test.inc (scalbln_test): Correct function name in END
10416 call.
10417
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.
10422
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.
10427
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.
10434
10435 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10436
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.
10440
10441 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10442
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.
10447
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.
10454
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.
10465
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.
10472
10473 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10474
10475 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10476
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.
10479
10480 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10481
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.
10488
10489 [BZ #14582]
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.
10493
10494 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10495
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.
10506
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
10563 of BUILD_COMPLEX.
10564
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.
10602
10603 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10604
10605 * math/libm-test.inc (fma_test): Use max_value instead of local
10606 variable fltmax.
10607 (nextafter_test): Likewise.
10608
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.
10755
10756 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10757
10758 [BZ #12387]
10759 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10760
10761 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10762
10763 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10764
10765 2013-05-10 Andreas Jaeger <aj@suse.de>
10766
10767 [BZ #15448]
10768 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10769 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10770
10771 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10772
10773 * math/gen-libm-test.pl (adjust_arg): New function.
10774 (special_functions): Handle generating output in both functions
10775 and arrays.
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.
10795
10796 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10797
10798 * benchtests/bench-skeleton.c (startup): Fix coding style.
10799
10800 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10801
10802 [BZ #6809]
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
10810 domain errors.
10811
10812 2013-05-10 Florian Weimer <fweimer@redhat.com>
10813
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
10822 stat.
10823
10824 2013-05-10 Andreas Jaeger <aj@suse.de>
10825
10826 [BZ #15395]
10827 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10828 localization.
10829 Include <locale.h>.
10830
10831 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10832
10833 * elf/dl-close.c (_dl_close_worker): Add comments.
10834
10835 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10836
10837 [BZ #15359]
10838 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10839 high part of pi/2.
10840 (__ieee754_rem_pio2l): Update comments.
10841
10842 [BZ #15429]
10843 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10844 high part of pi/2.
10845 (__ieee754_rem_pio2l): Update comments.
10846
10847 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10848 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10849
10850 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10851 M_PI_4l.
10852
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.
10858
10859 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10860
10861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10862
10863 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10864
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.
10881
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.
10886
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
10910 value.
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.
10915
10916 [BZ #2546]
10917 [BZ #2560]
10918 [BZ #5159]
10919 [BZ #15426]
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
10928 other arguments.
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
10935 other arguments.
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
10942 other arguments.
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
10962 prototype.
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.
10969
10970 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10971
10972 * benchtests/bench-skeleton.c (main): Preheat CPU.
10973
10974 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10975
10976 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10977
10978 2013-05-07 Roland McGrath <roland@hack.frob.com>
10979
10980 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10981 and _dl_skip_args_internal.
10982
10983 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10984
10985 * manual/message.texi (Message Translation): Talk about users.
10986 Message to key mapping impacts design.
10987
10988 2013-05-06 Roland McGrath <roland@hack.frob.com>
10989
10990 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10991
10992 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10993
10994 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10995 * sysdeps/wordsize-64/glob64.c: ... here.
10996
10997 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10998 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10999 New macros.
11000
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.
11007
11008 * io/poll.c (__poll): Renamed from poll.
11009 Add libc_hidden_def.
11010 (poll): Define as weak alias.
11011
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.
11018
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.
11029
11030 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11031 (setrlimit): Define as weak alias.
11032
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.
11037
11038 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11039
11040 * math/gen-libm-test.pl (parse_args): Initialize x before each
11041 test of frexp, modf and remquo.
11042
11043 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11044 test signgam value.
11045
11046 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11047
11048 [BZ #15418]
11049 [BZ #15419]
11050 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11051 internal tests.
11052 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11053
11054 2013-05-06 Roland McGrath <roland@hack.frob.com>
11055
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.
11060
11061 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11062
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
11070 functions.
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.
11093
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.
11103
11104 2013-05-03 Roland McGrath <roland@hack.frob.com>
11105
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.
11124
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].
11129
11130 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131
11132 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11134 definition.
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.
11140
11141 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11142
11143 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11144 test signgam value.
11145
11146 * math/libm-test.inc (hypot_test): Do not use
11147 IGNORE_ZERO_INF_SIGN.
11148
11149 2013-05-03 Andreas Jaeger <aj@suse.de>
11150
11151 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11152 Linux 3.9.
11153 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11154 (PF_MAX): Adjust for VSOCK change.
11155
11156 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157
11158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11159
11160 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11161
11162 [BZ #15264]
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.
11166
11167 2013-05-02 David S. Miller <davem@davemloft.net>
11168
11169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11170
11171 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11172
11173 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11174
11175 2013-05-01 Roland McGrath <roland@hack.frob.com>
11176
11177 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11178
11179 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11180
11181 [BZ #14952]
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__)).
11187
11188 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11189
11190 [BZ #15423]
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.
11202
11203 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204
11205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11206
11207 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11208
11209 [BZ #15416]
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.
11221
11222 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11223
11224 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11225
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.
11230 (VARIANT): Define.
11231 * benchtests/bench-skeleton.c (main): Run benchmark for each
11232 variant.
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.
11251
11252 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11253 in CPPFLAGS.
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
11258 iterations.
11259 * scripts/bench.pl: Don't expect iterations in parameters.
11260
11261 2013-04-29 Roland McGrath <roland@hack.frob.com>
11262
11263 * io/fchdir.c (__fchdir): Renamed from fchdir.
11264 (fchdir): Define as weak alias.
11265
11266 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11267
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
11282 check_int.
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.
11295
11296 2013-04-29 Andreas Jaeger <aj@suse.de>
11297
11298 [BZ #15084]
11299 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11300 and RES_USEVC.
11301
11302 [BZ #15085]
11303 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11304 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11305 unimplemented.
11306
11307 [BZ #15380]
11308 * stdlib/random.c (__initstate): Return NULL if
11309 __initstate fails.
11310
11311 [BZ #15086]
11312 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11313 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11314 RES_SNGLKUPREOP.
11315
11316 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11317
11318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11319
11320 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11321
11322 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11323 of individual tests.
11324 (casin_test): Likewise.
11325 (casinh_test): Likewise.
11326
11327 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11328
11329 [BZ #15409]
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
11336 and redefine.
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
11340 and redefine.
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.
11347
11348 2013-04-27 Andreas Jaeger <aj@suse.de>
11349
11350 [BZ #15007]
11351 * stdlib/stdlib.h: Update guards for qecvt.
11352 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11353 <stdlib.h>.
11354
11355 2013-04-27 Allan McRae <allan@archlinux.org>
11356
11357 * sysdeps/i386/fpu/libm-test-ulps: Update.
11358
11359 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11360
11361 [BZ #15406]
11362 * math/s_catan.c: Include <float.h>.
11363 (__catan): Ensure underflow exception occurs for underflowed
11364 result.
11365 * math/s_catanf.c: Include <float.h>.
11366 (__catanf): Ensure underflow exception occurs for underflowed
11367 result.
11368 * math/s_catanh.c: Include <float.h>.
11369 (__catanh): Ensure underflow exception occurs for underflowed
11370 result.
11371 * math/s_catanhf.c: Include <float.h>.
11372 (__catanhf): Ensure underflow exception occurs for underflowed
11373 result.
11374 * math/s_catanhl.c: Include <float.h>.
11375 (__catanhl): Ensure underflow exception occurs for underflowed
11376 result.
11377 * math/s_catanl.c: Include <float.h>.
11378 (__catanl): Ensure underflow exception occurs for underflowed
11379 result.
11380 * math/libm-test.inc (catan_test): Add more tests.
11381 (catanh_test): Likewise.
11382
11383 [BZ #15405]
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.
11398
11399 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11400
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.
11408
11409
11410 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11411
11412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11413
11414 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11415
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
11447 tests.
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):
11464 Likewise.
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.
11509
11510 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11511
11512 [BZ #15366]
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.
11518
11519 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11520
11521 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11522 __ehdr_start with hidden visibility.
11523
11524 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11525
11526 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11527
11528 * math/libm-test.inc (cos_test): Use accurate hex constants.
11529 (sincost_test): Likewise.
11530
11531 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11532
11533 * math/libm-test.inc (catan_test): Add more tests.
11534 (catanh_test): Likewise.
11535
11536 * math/s_catanf.c (__catanf): Use suffixed floating-point
11537 constants.
11538 * math/s_catanhf.c (__catanhf): Likewise.
11539 * math/s_catanhl.c (__catanhl): Likewise.
11540 * math/s_catanl.c (__catanl): Likewise.
11541
11542 [BZ #15394]
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.
11555
11556 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11557
11558 * benchtests/Makefile: Mention files in which fast and slow
11559 paths of math functions are implemented.
11560
11561 2013-04-23 Roland McGrath <roland@hack.frob.com>
11562
11563 * sysdeps/posix/timespec_get.c: New file.
11564
11565 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11566
11567 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11568 POWER.
11569 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11570 for POWER.
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
11576
11577 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11578
11579 [BZ #14888]
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.
11584
11585 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11586
11587 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11588 member.
11589 (_nss_files_init): Set it here.
11590
11591 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11592
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
11595 unsigned.
11596
11597 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11598
11599 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11600
11601 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11602
11603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11604 size just once.
11605
11606 2013-04-21 David S. Miller <davem@davemloft.net>
11607
11608 * po/ru.po: Update Russion translation from translation project.
11609
11610 2013-04-17 Adam Conrad <adconrad@0c3.net>
11611
11612 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11613 and setfsgid.
11614
11615 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11616
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.
11622
11623 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11624
11625 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11626 slowtan.
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.
11633
11634 2013-04-16 Roland McGrath <roland@hack.frob.com>
11635
11636 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11637 considered kosher.
11638
11639 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11640
11641 * benchtests/Makefile: Include cppflags-iterator.mk to add
11642 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11643
11644 * Makefile.in (bench-clean): New target.
11645 * benchtests/Makefile (bench-clean): Likewise.
11646
11647 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11648
11649 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11650
11651 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11652
11653 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11654
11655 2013-04-15 Andreas Schwab <schwab@suse.de>
11656
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
11661 more than recsize.
11662
11663 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11664
11665 * benchtests/Makefile (bench): Write all output to
11666 bench-out.tmp together.
11667
11668 2013-04-15 Andreas Schwab <schwab@suse.de>
11669
11670 * nscd/nscd.c (main): Don't fork again after closing files.
11671
11672 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11673
11674 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11675
11676 * benchtests/Rules (bench-deps): Collect dependencies into a
11677 single variable. Add Makefile to dependencies.
11678 ($(objpfx)bench-%.c): Depend on bench-deps.
11679
11680 2013-04-12 Roland McGrath <roland@hack.frob.com>
11681 Xavier Roche <roche+kml2@exalead.com>
11682
11683 [BZ #15361]
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.
11688
11689 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11690
11691 * Rules (bench): Move target definition...
11692 * benchtests/Makefile: ... here.
11693
11694 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11695
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.
11700
11701 2013-04-11 Andreas Schwab <schwab@suse.de>
11702
11703 [BZ #13988]
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.
11708
11709 [BZ #14293]
11710 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11711 non-freeable.
11712
11713 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
11715 * Makeconfig (rtld-prefix): Define built linker prefix.
11716 * Rules (run-bench): Use it.
11717 * math/Makefile (run-regen-ulps): Likewise.
11718
11719 * Rules (bench): Remove eval.
11720
11721 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11722 Roland McGrath <roland@hack.frob.com>
11723 Ondrej Bilka <neleai@seznam.cz>
11724
11725 [BZ #15346]
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
11729 trailing spaces.
11730
11731 2013-04-08 Roland McGrath <roland@hack.frob.com>
11732
11733 [BZ #14280]
11734 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11735 when computing value.
11736
11737 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11738
11739 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11740 Use testrun.sh to run libm tests.
11741
11742 [BZ #15309]
11743 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11744
11745 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11746
11747 [BZ #15264]
11748 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11749
11750 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11751
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
11762 otherwise use "".
11763 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11764
11765 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11766
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.
11775
11776 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11777
11778 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11779 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11780
11781 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11782
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).
11788
11789 * stdio-common/tstdiomisc.c (F): Properly collect individual
11790 tests' results.
11791
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.
11798
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.
11803
11804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11805 unreachable code.
11806
11807 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11808 definitions.
11809
11810 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11811
11812 [BZ #14478]
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.
11818
11819 2013-04-03 Andreas Schwab <schwab@suse.de>
11820
11821 [BZ #15330]
11822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11823 order arrays from heap if bigger than alloca cutoff.
11824
11825 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11826
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
11830 GCC PR56828.
11831
11832 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11833
11834 * Rules (bench): Move bench.out after the run is complete.
11835
11836 * Rules (bench): Echo currently running benchmark.
11837
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.
11842
11843 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11845 its value.
11846
11847 [BZ #15305]
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.
11854
11855 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11856
11857 [BZ #15327]
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.
11867
11868 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11869
11870 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11872
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.
11877
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.
11888
11889 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11890
11891 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11892 instructions.
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.
11898
11899 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11900
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
11909 declaration.
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
11920 issignaling.
11921 * math/libm-test.inc (print_float, issignaling_test): New
11922 functions.
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
11928 tests.
11929 * math/test-snan.c (TEST_FUNC): Likewise.
11930
11931 2013-03-30 David S. Miller <davem@davemloft.net>
11932
11933 * po/de.po: Update from translation team.
11934
11935 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11936
11937 [BZ #10357]
11938 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11939 imaginary part less than 1.0 and real part less than 0.5
11940 specially.
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.
11949
11950 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11951
11952 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11953 ONE with its value.
11954
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.
11963
11964 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11965
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.
11974 (__sqr): Likewise.
11975
11976 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11977
11978 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11979
11980 2013-03-28 Roland McGrath <roland@hack.frob.com>
11981
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.
11986
11987 2013-03-28 Roland McGrath <roland@hack.frob.com>
11988
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.
11994
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.
12000
12001 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12002 Declare them here.
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.
12006
12007 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12008 (__libc_message): Never call vsyslog.
12009
12010 2013-03-28 Alan Modra <amodra@gmail.com>
12011
12012 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12013 Define as empty.
12014 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12015 Likewise.
12016
12017 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12018
12019 [BZ #15214]
12020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12021 underflow.
12022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12023
12024 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12025
12026 [BZ #15304]
12027 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12028 Don't add gid passed as argument.
12029
12030 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12031
12032 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12033
12034 [BZ #15307]
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
12037 specially.
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.
12045
12046 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12047
12048 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12049 constants.
12050 (norm): Likewise.
12051 (denorm): Likewise.
12052 (__dbl_mp): Likewise.
12053 (add_magnitudes): Likewise.
12054 (sub_magnitudes): Likewise.
12055 (__add): Likewise.
12056 (__sub): Likewise.
12057 (__mul): Likewise.
12058 (__sqr): Likewise.
12059 (__inv): Likewise.
12060 (__dvd): Likewise.
12061
12062 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12063 commented code.
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.
12073 (log1): 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.
12082
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.
12091 (__mul): Likewise.
12092 (__sqr): 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.
12099
12100 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12101
12102 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12103 llroundl symbol when building for PPC32.
12104
12105 2013-03-24 Mark H Weaver <mhw@netris.org>
12106
12107 * manual/arith.texi (Normalization Functions): Fix prototypes for
12108 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12109
12110 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12111
12112 [BZ #13889]
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.
12118
12119 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12120
12121 [BZ #11120]
12122 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12123 with NOT_IN_libc.
12124
12125 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12126
12127 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12128 symbol.
12129
12130 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12131
12132 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12133 wrap blocks consisting of several statements.
12134
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.
12139
12140 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #15285]
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.
12156
12157 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12158
12159 * Rules ($(objpfx)bench-%.c): Include code from a C source
12160 file.
12161
12162 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12163
12164 [BZ #15287]
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.
12174
12175 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12176
12177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12178 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12179
12180 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12181
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.
12190 (MIG): 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
12201 LIBC_CONFIG_VAR.
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
12210 LIBC_CONFIG_VAR.
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.
12220
12221 2013-03-20 Roland McGrath <roland@hack.frob.com>
12222
12223 [BZ #14812]
12224 * locale/programs/localedef.c (options): Put N_ translation marker
12225 on argument names, not just descriptions.
12226
12227 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12228
12229 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12230
12231 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12232
12233 [BZ #14176]
12234 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12235
12236 2013-03-19 Roland McGrath <roland@hack.frob.com>
12237
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.
12251
12252 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12253
12254 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12255 constants.
12256 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12257 double constants.
12258
12259 2013-03-19 Andreas Schwab <schwab@suse.de>
12260
12261 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12262 * sysdeps/gnu/configure: Regenerate.
12263
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
12275 for source.
12276
12277 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 * manual/nptl.texi: Renamed to ...
12280 * manual/threads.texi: ... this.
12281 * manual/Makefile (chapters): Update.
12282
12283 2013-03-18 Roland McGrath <roland@hack.frob.com>
12284
12285 [BZ #14812]
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.
12290
12291 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12292
12293 [BZ #14812]
12294 * iconv/iconv_prog.c (options): Put N_ translation marker
12295 on argument names, not just descriptions.
12296 * iconv/iconvconfig.c (options): Likewise.
12297
12298 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12299
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.
12304
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.
12309
12310 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12311 Inline strlen part.
12312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12313
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.
12320
12321 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12322
12323 * manual/memory.texi (Malloc Tunable Parameters):
12324 Sort parameters alphabetically. Add comments for missing entries.
12325
12326 2013-03-17 David S. Miller <davem@davemloft.net>
12327
12328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12329
12330 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12331
12332 [BZ #15283]
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.
12341
12342 [BZ #14155]
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.
12352
12353 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12354
12355 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12356 variable.
12357
12358 2013-03-15 Roland McGrath <roland@hack.frob.com>
12359
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.
12363
12364 * sysdeps/unix/sysv/linux/ldsodefs.h
12365 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12366 * sysdeps/generic/ldsodefs.h: ... here.
12367
12368 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12369
12370 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12371
12372 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12373 math/test-snan.c.
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
12378 test-powerpc-snan.
12379
12380 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12381 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12382 functions.
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):
12388 Remove variables.
12389 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12390 Remove functions.
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,
12394 respectively.
12395
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.
12401
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):
12411 Likewise.
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.
12418
12419 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12420 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12421 doubles.
12422
12423 * math/test-misc.c (main): Fix copy'n'pastos.
12424 * misc/tst-efgcvt.c (special): Likewise.
12425
12426 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12427 Remove declarations.
12428
12429 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12430
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.
12435
12436 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12437
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.
12442
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>
12446
12447 * Makefile.in (bench): New target.
12448 * NEWS: Mention the benchmark framework.
12449 * Rules (bench): Likewise.
12450 (binaries-bench): Generate binaries for functions to
12451 benchmark.
12452 * benchtests/Makefile: New makefile for benchmark tests.
12453 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12454 programs.
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.
12459
12460 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12461
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
12465 division.
12466 (denorm): Likewise.
12467 (__dbl_mp): Likewise.
12468 (add_magnitudes): Likewise.
12469 (sub_magnitudes): Likewise.
12470 (__mul): Likewise.
12471 (__sqr): 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.
12478
12479 * manual/nptl.texi (cindex): Modify threads to pthreads.
12480
12481 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12482
12483 * sysdeps/x86_64/preconfigure: Regenerated.
12484
12485 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12486
12487 [BZ #14155]
12488 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12489 0x1p28 and above.
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
12492 0x1p28 and above.
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.
12497
12498 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12499
12500 * manual/Makefile (chapters): Add nptl.
12501 * manual/debug.texi (Debugging Support): Add link to Threads
12502 chapter.
12503 * manual/nptl.texi: New file.
12504
12505 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12506
12507 2013-03-14 Petr Baudis <pasky@ucw.cz>
12508
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>.
12512
12513 2013-03-13 Andreas Schwab <schwab@suse.de>
12514
12515 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12516 instead of .os.
12517
12518 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12519
12520 * timezone/zic.c: Update from tzcode 2013b.
12521
12522 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12523
12524 * manual/install.texi (Configuring and compiling):
12525 Mention i686 and i586.
12526 * INSTALL: Regenerate.
12527
12528 2013-03-12 Roland McGrath <roland@hack.frob.com>
12529
12530 * sysdeps/init_array/elf-init.c: New file.
12531 * csu/elf-init.c
12532 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12533 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12534
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.
12540
12541 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12542
12543 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12544 definining bcopy.
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
12551 memset-x86-64.
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.
12558
12559 2013-03-11 Andreas Schwab <schwab@suse.de>
12560
12561 [BZ #15234]
12562 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12563 by SHLIB_COMPAT.
12564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12565 (GLIBC_2.16): Remove pthread_atfork.
12566
12567 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12568
12569 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12570 (ptestcases.h): Likewise.
12571
12572 2013-03-08 Roland McGrath <roland@hack.frob.com>
12573
12574 * Makeconfig ($(common-objpfx)config.status): Depend on
12575 sysdeps/*/preconfigure{,.in} too.
12576
12577 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12578
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.
12607
12608 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12609
12610 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12611 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12612 __malloc_ptrdiff_t.
12613
12614 * malloc/malloc.h (__malloc_size_t): Remove macro.
12615 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12616 __malloc_size_t.
12617 (old_memalign_hook): Likewise.
12618 (old_realloc_hook): Likewise.
12619 (struct hdr): Likewise.
12620 (flood): 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.
12630
12631 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12632
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
12636 implementation.
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.
12646
12647 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12648
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.
12657
12658 2013-03-07 Andreas Jaeger <aj@suse.de>
12659
12660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12661 bits/mman-linux.h.
12662
12663 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12664
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.
12674
12675 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12676 (__slowpow): Use long double EXPL and LOGL functions to
12677 compute POW.
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.
12684
12685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12686 intermediate variable to calculate exponent.
12687 (__sqr): Likewise.
12688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12689 Likewise.
12690 (__sqr): Likewise.
12691
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.
12698
12699 [BZ #12723]
12700 * posix/Makefile (tests): Add tst-pathconf.
12701 * posix/tst-pathconf.c: New test case.
12702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12703 _PC_PIPE_BUF.
12704 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12705
12706 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12707
12708 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12709
12710 2013-03-06 Andreas Jaeger <aj@suse.de>
12711
12712 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12713 definition via __MAP_ANONYMOUS.
12714
12715 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12716 it's not part of Linux headers.
12717
12718 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12719 (MAP_HUGE_MASK): Define.
12720
12721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12722 Define.
12723 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12725 Define.
12726 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12727 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12728 Define.
12729 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12731 Define.
12732 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12733
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.
12740
12741 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12742 Handle f2fs.
12743
12744 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12745 Handle f2fs and efivarfs.
12746
12747 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12748 f2fs.
12749
12750 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12751 (EFIVARFS_MAGIC): Add.
12752 (F2FS_LINK_MAX): Add.
12753
12754 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12755
12756 * stdio-common/vfprintf.c: Replace __builtin_expect with
12757 __glibc_unlikely.
12758
12759 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12760
12761 [BZ #13550]
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>
12768 and <bp-asm.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
12774 <bp-asm.h>.
12775 (memcpy): Don't use BP_SYM.
12776 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12777 <bp-asm.h>.
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
12787 pointers.
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
12802 pointers.
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
12820 pointers.
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
12852 pointers.
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
12865 <bp-asm.h>.
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
12871 <bp-asm.h>.
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
12878 <bp-asm.h>.
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
12883 <bp-asm.h>.
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
12890 <bp-asm.h>.
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>
12894 and <bp-asm.h>.
12895 (strncmp): Don't use BP_SYM. Remove comment about bounded
12896 pointers.
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
12903 comment.
12904
12905 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12906
12907 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12908 call free(NULL).
12909
12910 2013-03-05 David S. Miller <davem@davemloft.net>
12911
12912 * po/es.po: Update from translation team.
12913
12914 2013-03-05 Andreas Jaeger <aj@suse.de>
12915
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
12919 is fine.
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
12923 is fine.
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
12927 is fine.
12928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12929 <bits/mman-linux.h> to end of file.
12930
12931 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12932 (MCL_CURRENT, MCL_FUTURE): Define here.
12933
12934 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12935
12936 [BZ #15232]
12937 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12938 attribute_hidden.
12939 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12940
12941 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12942
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.
12951
12952 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12953
12954 [BZ #13550]
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.
12959
12960 2013-03-04 Andreas Jaeger <aj@suse.de>
12961
12962 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12963 common definitions.
12964
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.
12971
12972 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12973
12974 [BZ #15055]
12975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12976 __ieee754_sqrl instead of __sqrl.
12977
12978 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12979
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.
12986
12987 2013-03-01 Roland McGrath <roland@hack.frob.com>
12988
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.
12999
13000 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13001
13002 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13003 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13004
13005 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13006
13007 * NEWS: Mention libm performance improvements and non-x86 PI
13008 futex support.
13009
13010 * csu/libc-start.c (__pthread_initialize_minimal): Change
13011 function arguments.
13012 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13013
13014 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13015
13016 [BZ #13550]
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>
13022 and <bp-asm.h>.
13023 (memcpy): Don't use BP_SYM.
13024 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13025 <bp-asm.h>.
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>
13029 and <bp-asm.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
13033 <bp-sym.h>.
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
13039 <bp-sym.h>.
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
13054 <bp-asm.h>.
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
13058 <bp-asm.h>.
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
13063 <bp-asm.h>.
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
13124 <bp-asm.h>.
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
13134 <bp-asm.h>.
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
13139 <bp-asm.h>.
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
13144 <bp-asm.h>.
13145 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13146 comments.
13147 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13148 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13149 <bp-asm.h>.
13150 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13151 FIXME comments.
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
13155 <bp-asm.h>.
13156 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13157 comment.
13158 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13159 and <bp-asm.h>.
13160 (strncmp): Don't use BP_SYM,
13161 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13162 <bp-asm.h>.
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>
13166 and <bp-asm.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
13175 comment.
13176
13177 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13178
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.
13185
13186 2013-02-27 Roland McGrath <roland@hack.frob.com>
13187
13188 * csu/gmon-start.c: Add special exception to license text.
13189
13190 2013-02-27 Richard Henderson <rth@redhat.com>
13191
13192 * scripts/config.guess: Update from config.git.
13193 * scripts/config.sub: Likewise.
13194
13195 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13196
13197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13198
13199 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13200
13201 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13202
13203 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13204
13205 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13206
13207 2013-02-26 Roland McGrath <roland@hack.frob.com>
13208
13209 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13210 [$(build-shared = yes].
13211
13212 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
13214 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13215 (__mul): Reduce iterations for calculating mantissa.
13216
13217 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13218 MPTWO.
13219 (__mpranred): Likewise.
13220
13221 [BZ #15160]
13222 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13223 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13224
13225 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13226
13227 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13228 Define __attribute__.
13229
13230 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13231
13232 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13233 unused.
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
13238 unused.
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.
13244
13245 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13246
13247 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13248 code.
13249 (cc32): Likewise.
13250
13251 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13252 (__acr): Likewise.
13253 (__cpy): Likewise.
13254 (norm): Likewise.
13255 (denorm): Likewise.
13256 (__dbl_mp): Likewise.
13257 (add_magnitudes): Likewise.
13258 (sub_magnitudes): Likewise.
13259 (__mul): Likewise.
13260 (__inv): Likewise.
13261
13262 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13263 style.
13264
13265 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13266 style.
13267
13268 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13269 code.
13270
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):
13274 Likewise.
13275
13276 2013-02-24 Allan McRae <allan@archlinux.org>
13277
13278 * manual/socket.texi (The Internet Namespace): Order menu items
13279 to match that in the file.
13280
13281 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13282 node listing of the info page menu.
13283
13284 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13285
13286 [BZ #13550]
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.
13290 (S1): Likewise.
13291 (S2): Likewise.
13292 (SIZE): Likewise.
13293 (__mpn_add_n): Do not use BP_SYM
13294 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13295 "bp-asm.h".
13296 (PARMS): Do not use macros from bp-asm.h.
13297 (S1): Likewise.
13298 (SIZE): Likewise.
13299 (__mpn_addmul_1): Do not use BP_SYM
13300 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13301 "bp-asm.h".
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
13306 "bp-asm.h".
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
13311 "bp-asm.h".
13312 (PARMS): Do not use macros from bp-asm.h.
13313 (__frexp): Do not use BP_SYM.
13314 (frexp): Likewise.
13315 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13316 "bp-asm.h".
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
13321 "bp-asm.h".
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
13326 "bp-asm.h".
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
13331 "bp-asm.h".
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
13336 "bp-asm.h".
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
13341 "bp-asm.h".
13342 (PARMS): Do not use macros from bp-asm.h.
13343 (DEST): Likewise.
13344 (SRC): Likewise.
13345 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13346 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13347 "bp-asm.h".
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
13351 "bp-asm.h".
13352 (PARMS): Do not use macros from bp-asm.h.
13353 (S1): Likewise.
13354 (S2): Likewise.
13355 (SIZE): Likewise.
13356 (__mpn_add_n): Do not use BP_SYM.
13357 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13358 "bp-asm.h".
13359 (PARMS): Do not use macros from bp-asm.h.
13360 (S1): Likewise.
13361 (SIZE): Likewise.
13362 (__mpn_addmul_1): Do not use BP_SYM.
13363 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13364 weak_alias.
13365 (bzero): Likewise.
13366 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13367 "bp-asm.h".
13368 (PARMS): Do not use macros from bp-asm.h.
13369 (S): Likewise.
13370 (SIZE): Likewise.
13371 (__mpn_lshift): Do not use BP_SYM.
13372 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13373 "bp-asm.h".
13374 (PARMS): Do not use macros from bp-asm.h.
13375 (DEST): Likewise.
13376 (SRC): Likewise.
13377 (LEN): Likewise.
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
13383 "bp-asm.h".
13384 (PARMS): Do not use macros from bp-asm.h.
13385 (DEST): Likewise.
13386 (LEN): Likewise.
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
13390 "bp-asm.h".
13391 (PARMS): Do not use macros from bp-asm.h.
13392 (S1): Likewise.
13393 (SIZE): Likewise.
13394 (__mpn_mul_1): Do not use BP_SYM.
13395 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13396 "bp-asm.h".
13397 (PARMS): Do not use macros from bp-asm.h.
13398 (S): Likewise.
13399 (SIZE): Likewise.
13400 (__mpn_rshift): Do not use BP_SYM.
13401 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13402 "bp-asm.h".
13403 (PARMS): Do not use macros from bp-asm.h.
13404 (STR): Likewise.
13405 (CHR): Likewise.
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
13409 "bp-asm.h".
13410 (PARMS): Do not use macros from bp-asm.h.
13411 (DEST): Likewise.
13412 (SRC): Likewise.
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
13415 "bp-asm.h".
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
13419 "bp-asm.h".
13420 (PARMS): Do not use macros from bp-asm.h.
13421 (S1): Likewise.
13422 (S2): Likewise.
13423 (SIZE): Likewise.
13424 (__mpn_sub_n): Do not use BP_SYM.
13425 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13426 "bp-asm.h".
13427 (PARMS): Do not use macros from bp-asm.h.
13428 (S1): Likewise.
13429 (SIZE): Likewise.
13430 (__mpn_submul_1): Do not use BP_SYM.
13431 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13432 "bp-asm.h".
13433 (PARMS): Do not use macros from bp-asm.h.
13434 (S1): Likewise.
13435 (S2): Likewise.
13436 (SIZE): Likewise.
13437 (__mpn_add_n): Do not use BP_SYM.
13438 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13439 weak_alias.
13440 (bzero): Likewise.
13441 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13442 "bp-asm.h".
13443 (PARMS): Do not use macros from bp-asm.h.
13444 (BLK2): Likewise.
13445 (LEN): Likewise.
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
13449 "bp-asm.h".
13450 (PARMS): Do not use macros from bp-asm.h.
13451 (DEST): Likewise.
13452 (SRC): Likewise.
13453 (LEN): Likewise.
13454 (memcpy): Likewise. Do not use BP_SYM.
13455 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13456 "bp-asm.h".
13457 (PARMS): Do not use macros from bp-asm.h.
13458 (DEST): Likewise.
13459 (SRC): Likewise.
13460 (LEN): Likewise.
13461 (memmove): Likewise. Do not use BP_SYM.
13462 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13463 "bp-asm.h".
13464 (PARMS): Do not use macros from bp-asm.h.
13465 (DEST): Likewise.
13466 (SRC): Likewise.
13467 (LEN): Likewise.
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
13471 "bp-asm.h".
13472 (PARMS): Do not use macros from bp-asm.h.
13473 (DEST): Likewise.
13474 (LEN): Likewise.
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
13478 "bp-asm.h".
13479 (PARMS): Do not use macros from bp-asm.h.
13480 (STR2): Likewise.
13481 (strcmp): Do not use BP_SYM.
13482 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13483 "bp-asm.h".
13484 (PARMS): Do not use macros from bp-asm.h.
13485 (STR): Likewise.
13486 (DELIM): Likewise.
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
13490 aliases.
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.
13495 (S): Likewise.
13496 (SIZE): Likewise.
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.
13500 (STR): Likewise.
13501 (CHR): Likewise.
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.
13506 (BLK2): Likewise.
13507 (LEN): Likewise.
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.
13512 (S1): Likewise.
13513 (SIZE): Likewise.
13514 (__mpn_mul_1): Do not use BP_SYM.
13515 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13516 "bp-asm.h".
13517 (PARMS): Do not use macros from bp-asm.h.
13518 (STR): Likewise.
13519 (CHR): Likewise.
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.
13524 (S): Likewise.
13525 (SIZE): Likewise.
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.
13535 (DEST): Likewise.
13536 (SRC): Likewise.
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
13540 "bp-asm.h".
13541 (PARMS): Do not use macros from bp-asm.h.
13542 (DEST): Likewise.
13543 (SRC): Likewise.
13544 (LEN): Likewise.
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.
13549 (STR): Likewise.
13550 (CHR): Likewise.
13551 (strchr): Likewise. Do not use BP_SYM.
13552 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13553 "bp-asm.h".
13554 (PARMS): Do not use macros from bp-asm.h.
13555 (STR): Likewise.
13556 (CHR): Likewise.
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
13560 "bp-asm.h".
13561 (PARMS): Do not use macros from bp-asm.h.
13562 (STOP): Likewise.
13563 (strcspn): Do not use BP_SYM.
13564 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13565 "bp-asm.h".
13566 (PARMS): Do not use macros from bp-asm.h.
13567 (STR): Likewise.
13568 (STOP): Likewise.
13569 (strpbrk): Likewise. Do not use BP_SYM.
13570 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13571 "bp-asm.h".
13572 (PARMS): Do not use macros from bp-asm.h.
13573 (STR): Likewise.
13574 (CHR): Likewise.
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.
13578 (SKIP): Likewise.
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.
13582 (STR): Likewise.
13583 (DELIM): Likewise.
13584 (SAVE): Likewise.
13585 (FUNCTION): Likewise. Do not use BP_SYM.
13586 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13587 aliases.
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.
13592 (S1): Likewise.
13593 (S2): Likewise.
13594 (SIZE): Likewise.
13595 (__mpn_sub_n): Do not use BP_SYM.
13596 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13597 "bp-asm.h".
13598 (PARMS): Do not use macros from bp-asm.h.
13599 (S1): Likewise.
13600 (SIZE): Likewise.
13601 (__mpn_submul_1): Do not use BP_SYM.
13602 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13603 <bp-sym.h>.
13604 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13605 and <bp-asm.h>.
13606 (PARMS): Do not use macros from bp-asm.h.
13607 (FLAGS): Likewise.
13608 (PTID): Likewise.
13609 (TLS): Likewise.
13610 (CTID): Likewise.
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>
13614 and <bp-asm.h>.
13615 (PARMS): Do not use macros from bp-asm.h.
13616 (LEN): Likewise.
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.
13625 (NSOPS): Likewise.
13626 (semtimedop): Do not use BP_SYM.
13627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13628 and <bp-asm.h>.
13629
13630 2013-02-21 Allan McRae <allan@archlinux.org>
13631
13632 * manual/message.texi (Charset conversion in gettext):
13633 Move @end statement to beginning of line.
13634
13635 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13636
13637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13638 static.
13639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13640 Likewise.
13641
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.
13646
13647 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13648
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.
13651
13652 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13653
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):
13657 Likewise.
13658
13659 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13660
13661 * manual/nss.texi (System Databases and Name Service Switch):
13662 Remove frobnicate @pxref.
13663
13664 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13665
13666 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13667 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13668
13669 2013-02-20 Petr Machata <pmachata@redhat.com>
13670
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.
13716
13717 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13718
13719 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13720 __attribute_used__ to __attribute__ ((unused)).
13721
13722 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13723
13724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13725 powerpc mpa.c.
13726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13727 comment formatting.
13728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13729
13730 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13731
13732 [BZ #13550]
13733 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13734 Remove macro.
13735 (ENTER): Remove both macro definitions.
13736 (LEAVE): Likewise.
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
13748 macros.
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
13763 removed macros.
13764 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13765 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13766 macros.
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
13773 macros.
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
13782 removed macros.
13783 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13784 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13785 macros.
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__]:
13797 Likewise.
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
13810 macros.
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
13824 conditional code.
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
13833 macros.
13834 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13835
13836 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13837
13838 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13839 macro.
13840
13841 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13842
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.
13846
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.
13850
13851 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13852
13853 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13854 and __attribute_alloc_size__.
13855
13856 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13857
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.
13862
13863 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13864
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.
13878
13879 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
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:
13888 Likewise.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13890 Likewise.
13891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13892 Likewise.
13893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13894 Likewise.
13895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13897 Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13899 Likewise.
13900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13902 Likewise.
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
13909 for libstdc++.
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.
13913
13914 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13915
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.
13922
13923 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13924
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.
13928
13929 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13930
13931 [BZ #13550]
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
13940 "bp-asm.h".
13941 (_setjmp): Do not use BP_SYM.
13942 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13943 "bp-asm.h".
13944 (setjmp): Do not use BP_SYM.
13945 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13946 libc_hidden_def.
13947 (mempcpy): Do not use BP_SYM in weak_alias.
13948 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13949 "bp-asm.h".
13950 (strchr): Do not use BP_SYM.
13951 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13952 "bp-asm.h".
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
13957 "bp-asm.h".
13958 (strcat): Do not use BP_SYM.
13959 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13960 "bp-asm.h".
13961 (STRCMP): Do not use BP_SYM.
13962 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13963 "bp-asm.h".
13964 (STRCPY): Do not use BP_SYM.
13965 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13966 "bp-asm.h".
13967 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13968 "bp-asm.h".
13969 (FUNCTION): Do not use BP_SYM.
13970 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13971 weak_alias.
13972 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13973
13974 2013-02-17 Andreas Jaeger <aj@suse.de>
13975
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.
13983
13984 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13985
13986 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13987 loop termination condition.
13988
13989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13990 variable to calculate EZ.
13991 (__sqr): Likewise.
13992
13993 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13994 the lower precision input.
13995
13996 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13997
13998 [BZ #13550]
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)):
14028 Remove rule.
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)):
14037 Remove dependency.
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.
14046
14047 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14048
14049 [BZ #13550]
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__]:
14056 Likewise.
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
14062 condition.
14063
14064 [BZ #13550]
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
14073 <bp-sym.h>.
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):
14111 Likewise.
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
14119 <bp-sym.h>.
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
14146 <bp-sym.h>.
14147 (__libc_start_main): Do not use BP_SYM.
14148
14149 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14150
14151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14152 redundant return line.
14153 (norm): Likewise.
14154 (denorm): Likewise.
14155 (dbl_mp): Likewise.
14156 (sub_magnitudes): Likewise.
14157 (__add): Likewise.
14158 (__sub): Likewise.
14159 (__mul): Likewise.
14160 (__inv): Likewise.
14161 (__dvd): Likewise.
14162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14163 (norm): Likewise.
14164 (denorm): Likewise.
14165 (dbl_mp): Likewise.
14166 (sub_magnitudes): Likewise.
14167 (__add): Likewise.
14168 (__sub): Likewise.
14169 (__mul): Likewise.
14170 (__inv): Likewise.
14171 (__dvd): Likewise.
14172
14173 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14174 instead of __mul.
14175 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14176 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14177 (cc32): Likewise.
14178
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
14184 function
14185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14186 Likewise.
14187 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14189
14190 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14191
14192 [BZ #13550]
14193 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14194 code.
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
14203 definition.
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
14213 use __ptrvalue.
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):
14217 Likewise.
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
14237 use __unbounded.
14238 (__new_msgctl): Do not use __ptrvalue.
14239 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14240 __unbounded.
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
14248 __ptrvalue.
14249 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14250 use __unbounded.
14251 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14252 or __ptrvalue.
14253 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14254 use __unbounded.
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):
14258 Likewise.
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):
14264 Likewise.
14265 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14266
14267 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14268
14269 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14270
14271 * string/mempcpy.c: Implement by calling memcpy.
14272
14273 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14274
14275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14276
14277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14278 evaluation.
14279
14280 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14281 values in the mantissa.
14282
14283 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14284 minimize writes to Z.
14285 (sub_magnitudes): Simplify code a bit.
14286
14287 2013-02-12 Roland McGrath <roland@hack.frob.com>
14288
14289 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14290 from the message. The linker prefixes all warnings with that already.
14291
14292 2013-02-12 Andreas Schwab <schwab@suse.de>
14293
14294 [BZ #15078]
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.
14302
14303 [BZ #11561]
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.
14309
14310 2013-02-11 Tom de Vries <tom@codesourcery.com>
14311
14312 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14313 comment.
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.
14317
14318 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14319
14320 * bits/stdlib-bsearch.h: New file.
14321 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14322 * stdlib/stdlib.h: Likewise.
14323
14324 2013-02-11 Roland McGrath <roland@hack.frob.com>
14325
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
14328 declaration.
14329 * manual/search.texi (Array Search Function): Add missing const in
14330 lfind prototype.
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
14370 take no arguments.
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
14381 argument.
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
14393 prototype.
14394 (Simple Calendar Time): Likewise for stime.
14395 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14396 prototype.
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.
14401
14402 2013-02-11 Tom de Vries <tom@codesourcery.com>
14403
14404 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14405 Remove.
14406
14407 2013-02-11 Roland McGrath <roland@hack.frob.com>
14408
14409 * misc/sys/mman.h: Fix typo in mremap comment.
14410
14411 2013-02-08 Roland McGrath <roland@hack.frob.com>
14412
14413 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14414 the '\0' terminator.
14415
14416 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14417
14418 [BZ #13550]
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
14434 <bp-checks.h>.
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
14446 <bp-checks.h>.
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
14470 <bp-checks.h>.
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
14475 <bp-checks.h>.
14476 (__libc_pread64): Don't use CHECK_N.
14477 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14478 <bp-checks.h>.
14479 (__libc_pwrite): Don't use CHECK_N.
14480 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14481 <bp-checks.h>.
14482 (__libc_pwrite64): Don't use CHECK_N.
14483 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14484 <bp-checks.h>.
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.
14490
14491 2013-02-08 Roland McGrath <roland@hack.frob.com>
14492
14493 * string/strcpy.c: Removed unused variable.
14494
14495 * Makeconfig (+sysdep-includes): Define with := rather than =.
14496 Use an existing include/ subdir of each sysdeps dir before it.
14497
14498 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14499
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
14505 clear_db_cache.
14506 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14507
14508 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14509
14510 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14511 loaded if not already and that a failure is permanent.
14512
14513 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14514
14515 [BZ #15006]
14516 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14517 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14518
14519 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14520
14521 [BZ #13550]
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
14527 <bp-checks.h>.
14528 (___fxstat64): Do not use CHECK_1.
14529 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14530 <bp-checks.h>.
14531 (__fxstatat): Do not use CHECK_1.
14532 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14533 <bp-checks.h>.
14534 (__fxstatat64): Do not use CHECK_1.
14535 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14536 <bp-checks.h>.
14537 (__fxstat): Do not use CHECK_1.
14538 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14539 <bp-checks.h>.
14540 (__fxstatat): Do not use CHECK_1.
14541 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14542 <bp-checks.h>.
14543 (__getresgid): Do not use CHECK_1.
14544 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14545 <bp-checks.h>.
14546 (__getresuid): Do not use CHECK_1.
14547 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14548 <bp-checks.h>.
14549 (__lxstat): Do not use CHECK_1.
14550 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14551 <bp-checks.h>.
14552 (__old_msgctl): Do not use CHECK_1.
14553 (__new_msgctl): Likewise.
14554 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14555 <bp-checks.h>.
14556 (__new_setrlimit): Do not use CHECK_1.
14557 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14558 <bp-checks.h>.
14559 (__old_shmctl): Do not use CHECK_1.
14560 (__new_shmctl): Likewise.
14561 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14562 <bp-checks.h>.
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
14567 <bp-checks.h>.
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
14573 <bp-checks.h>.
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
14578 <bp-checks.h>.
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
14584 <bp-checks.h>.
14585 (do_sigtimedwait): Do not use CHECK_1.
14586 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14587 <bp-checks.h>.
14588 (do_sigwaitinfo): Do not use CHECK_1.
14589 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14590 <bp-checks.h>.
14591 (msgctl): Do not use CHECK_1.
14592 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14593 <bp-checks.h>.
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
14598 <bp-checks.h>.
14599 (__fxstat): Do not use CHECK_1.
14600 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14601 <bp-checks.h>.
14602 (__fxstatat): Do not use CHECK_1.
14603 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14604 <bp-checks.h>.
14605 (__lxstat): Do not use CHECK_1.
14606 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14607 <bp-checks.h>.
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.
14613
14614 [BZ #13550]
14615 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14616 definitions.
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.
14620
14621 2013-02-07 Roland McGrath <roland@hack.frob.com>
14622
14623 * nscd/nscd-client.h (__nscd_drop_map_ref):
14624 Add __attribute__ ((unused)).
14625 * nis/nss-nisplus.h (niserr2nss): Likewise.
14626
14627 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14628 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14629
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.
14659
14660 2013-02-05 Roland McGrath <roland@hack.frob.com>
14661
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.
14667
14668 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14669 instead of calling alloca.
14670
14671 * io/lseek.c (__lseek): Rename to __libc_lseek.
14672 Define __lseek as an alias.
14673
14674 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14675
14676 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14677
14678 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14679 else clause and remove check for non-standard endianness.
14680
14681 2013-02-04 David S. Miller <davem@davemloft.net>
14682
14683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14684
14685 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14686
14687 [BZ #13550]
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):
14695 Remove alias.
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
14704 CHECK_STRING.
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
14709 <bp-checks.h>.
14710 (__real_chown): Do not use CHECK_STRING.
14711 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14712 <bp-checks.h>.
14713 (fchownat): Do not use CHECK_STRING.
14714 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14715 CHECK_STRING.
14716 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14717 <bp-checks.h>.
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
14727 <bp-checks.h>.
14728 (__real_chown): Do not use CHECK_STRING.
14729 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14730 <bp-checks.h>.
14731 (__lchown): Do not use CHECK_STRING.
14732 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14733 <bp-checks.h>.
14734 (__chown): Do not use CHECK_STRING.
14735 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14736 <bp-checks.h>.
14737 (truncate64): Do not use CHECK_STRING.
14738 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14739 Likewise.
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
14743 <bp-checks.h>.
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.
14747
14748 2013-02-04 Andreas Schwab <schwab@suse.de>
14749
14750 [BZ #14142]
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>.
14754
14755 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14756
14757 * elf/link.h (struct link_map): Extend the l_addr comment.
14758 * include/link.h (struct link_map): Likewise.
14759
14760 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14761
14762 [BZ #13550]
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
14769 <bp-checks.h>.
14770 (__backtrace): Don't use BOUNDED_1.
14771 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14772 <bp-checks.h>.
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.
14778
14779 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14780
14781 [BZ #13550]
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
14787 <bp-start.h>.
14788
14789 [BZ #13550]
14790 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14791 definitions.
14792 (CHECK_FCNTL): Likewise.
14793 (CHECK_N_PAGES): Likewise.
14794
14795 [BZ #13550]
14796 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14797 definitions.
14798 (CHECK_SIGSET_NULL_OK): Likewise.
14799 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14800 <bp-checks.h>.
14801 (sigpending): Don't use CHECK_SIGSET.
14802 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14803 <bp-checks.h>.
14804 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14805 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14806 <bp-checks.h>.
14807 (do_sigsuspend): Don't use CHECK_SIGSET.
14808 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14809 use CHECK_SIGSET.
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
14813 use CHECK_SIGSET.
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
14821 <bp-checks.h>.
14822 (sigpending): Don't use CHECK_SIGSET.
14823 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14824 <bp-checks.h>.
14825 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14826
14827 [BZ #13550]
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>
14834 and <bp-semctl.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.
14844
14845 [BZ #13550]
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
14854 include.
14855 (common-generated): Do not add s-proto-bp.d.
14856 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14857 (int): Likewise.
14858 (typ): Likewise.
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.
14863
14864 [BZ #15062]
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.
14875
14876 2013-01-31 David S. Miller <davem@davemloft.net>
14877
14878 * po/de.po: Update from translation team.
14879
14880 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14881
14882 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14883
14884 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14885
14886 * configure.in (_AC_PROG_CC_C89): New definition.
14887 * configure: Regenerate.
14888
14889 * configure.in (AC_PROG_CPP): New definition.
14890 * configure: Regenerate.
14891
14892 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14893
14894 * debug/tst-backtrace.h: New file.
14895 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14896 (ret): Remove variable.
14897 (x): Likewise.
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.
14903 (x): Likewise.
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.
14909 (x): Likewise.
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.
14915 (x): Likewise.
14916 (FAIL): Remove macro.
14917 (NO_INLINE): Likewise.
14918 (handle_signal): Use match function instead of strstr.
14919
14920 2013-01-23 Roland McGrath <roland@hack.frob.com>
14921
14922 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14923
14924 2013-01-23 David S. Miller <davem@davemloft.net>
14925
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.
14932
14933 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14934
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.
14939
14940 2013-01-23 Adam Conrad <adconrad@0c3.net>
14941
14942 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14943 (LDFLAGS-tst-array5): Likewise.
14944
14945 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14946
14947 [BZ #15036]
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.
14952
14953 2013-01-21 David S. Miller <davem@davemloft.net>
14954
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
14961 -funwind-tables.
14962
14963 2013-01-21 Andreas Schwab <schwab@suse.de>
14964
14965 [BZ #15020]
14966 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14967 closed its stdout.
14968
14969 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14970
14971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14972 "mpa2.h".
14973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14974
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>
14979
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.
14994
14995 2013-01-18 Anton Blanchard <anton@samba.org>
14996 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14997
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
15008 64-bit values.
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.
15016
15017 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15018
15019 [BZ #14496]
15020 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15021 Fix application of SIMD FP exception mask.
15022
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.
15027
15028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15029 multiplication.
15030
15031 2013-01-17 David S. Miller <davem@davemloft.net>
15032
15033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15034
15035 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15036
15037 [BZ #15023]
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
15056 k_casinhf.c.
15057 * math/s_casinhl.c: Do not include <float.h>.
15058 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15059 redefine.
15060 (__casinhl): Move code for finite nonzero arguments to
15061 k_casinhl.c.
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.
15065
15066 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15067
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>.
15072
15073 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15074
15075 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15076
15077 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15078
15079 * elf/elf.h (R_386_SIZE32): New relocation.
15080 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15081 R_386_SIZE32.
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.
15085
15086 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15087
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
15097 value.
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
15104 file.
15105
15106 2013-01-16 Andreas Schwab <schwab@suse.de>
15107
15108 [BZ #14327]
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.
15112
15113 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15114
15115 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15116 definitions.
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
15120 definitions here.
15121 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15122 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15123 definitions.
15124 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15125 and ONE.
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
15129 definitions.
15130 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15131 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15132 definitions.
15133 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15134
15135 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15136
15137 2013-01-15 David S. Miller <davem@davemloft.net>
15138
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
15143 file.
15144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15146 file.
15147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15148 file.
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.
15157
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:
15162 New file.
15163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15164 file.
15165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15166 New file.
15167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15168 file.
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
15172 file.
15173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15174 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15175 file.
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.
15179
15180 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15181 libc_feholdexcept and libc_fesetenv.
15182
15183 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15184
15185 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15186
15187 2013-01-14 David S. Miller <davem@davemloft.net>
15188
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:
15195 Likewise.
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15197 Likewise.
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15199 Likewise.
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
15205 file.
15206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15207 file.
15208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15209 file.
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15211 file.
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
15217 new VIS2 routines.
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:
15221 Likewise.
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.
15229
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
15233 file.
15234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15236 file.
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.
15244
15245 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
15247 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15248 to optimize copies.
15249
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.
15253
15254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15255 local variable MPTWO.
15256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15257 Likewise.
15258
15259 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15260
15261 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15262 GLOB_NOESCAPE.
15263
15264 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15265
15266 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15267
15268 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15269
15270 * manual/pattern.texi (glob_t): Document gl_flags.
15271 (glob64_t): Likewise.
15272
15273 2013-01-11 David S. Miller <davem@davemloft.net>
15274
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.
15288
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.
15293
15294 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15295 Move to...
15296 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15297 Here.
15298
15299 2013-01-11 Roland McGrath <roland@hack.frob.com>
15300
15301 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15302 not in the main loop.
15303 * configure: Regenerated.
15304
15305 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15306
15307 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15308 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15309 to just #else.
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
15318 unconditional.
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.
15326
15327 2013-01-11 Steve Ellcey <sellcey@mips.com>
15328
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.
15333
15334 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15335
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
15358 $(rtld-LDFLAGS).
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
15372 option.
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).
15459
15460 2013-01-11 Andreas Jaeger <aj@suse.de>
15461
15462 [BZ #15003]
15463 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15464 value. Sync with Linux 3.7.
15465
15466 2013-01-10 David S. Miller <davem@davemloft.net>
15467
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.
15471
15472 2013-01-10 Roland McGrath <roland@hack.frob.com>
15473
15474 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15475 never set.
15476 * configure: Regenerated.
15477
15478 2013-01-10 David S. Miller <davem@davemloft.net>
15479
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.
15484
15485 2013-01-10 Roland McGrath <roland@hack.frob.com>
15486
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.
15514
15515 2013-01-10 David S. Miller <davem@davemloft.net>
15516
15517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15518
15519 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15520
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.
15529
15530 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15531
15532 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15533 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):
15540 Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15542 Likewise.
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
15548 definitions.
15549 (llrint): Likewise, for all definitions.
15550 (llrintl): Likewise.
15551
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].
15557
15558 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15559
15560 [BZ #14200]
15561 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15562 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15563 defined.
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.
15568
15569 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15570
15571 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15572
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):
15576 Remove.
15577
15578 2013-01-10 Andreas Schwab <schwab@suse.de>
15579
15580 [BZ #14964]
15581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15582 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15583
15584 2013-01-09 David S. Miller <davem@davemloft.net>
15585
15586 [BZ #15003]
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
15593 enum values.
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.
15598
15599 2013-01-09 Anton Blanchard <anton@samba.org>
15600
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.
15605
15606 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15607
15608 * include/features.h (__USE_ANSI): Remove.
15609
15610 2013-01-09 Roland McGrath <roland@hack.frob.com>
15611
15612 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15613
15614 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15615
15616 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15617
15618 * sysdeps/s390/fpu/libm-test-ulps: Update.
15619
15620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15621
15622 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15623 (__acr): Likewise.
15624 (__cpy): Likewise.
15625 (norm): Likewise.
15626 (denorm): Likewise.
15627 (__mp_dbl): Likewise.
15628 (__dbl_mp): Likewise.
15629 (add_magnitudes): Likewise.
15630 (sub_magnitudes): Likewise.
15631 (__add): Likewise.
15632 (__sub): Likewise.
15633 (__mul): Likewise.
15634 (__inv): Likewise.
15635 (__dvd): Likewise.
15636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15637 (__acr): Likewise.
15638 (__cpy): Likewise.
15639 (norm): Likewise.
15640 (denorm): Likewise.
15641 (__mp_dbl): Likewise.
15642 (__dbl_mp): Likewise.
15643 (add_magnitudes): Likewise.
15644 (sub_magnitudes): Likewise.
15645 (__add): Likewise.
15646 (__sub): Likewise.
15647 (__mul): Likewise.
15648 (__inv): Likewise.
15649 (__dvd): Likewise.
15650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15651 (__acr): Likewise.
15652 (__cpy): Likewise.
15653 (norm): Likewise.
15654 (denorm): Likewise.
15655 (__mp_dbl): Likewise.
15656 (__dbl_mp): Likewise.
15657 (add_magnitudes): Likewise.
15658 (sub_magnitudes): Likewise.
15659 (__add): Likewise.
15660 (__sub): Likewise.
15661 (__mul): Likewise.
15662 (__inv): Likewise.
15663 (__dvd): Likewise.
15664
15665 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15666
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.
15671
15672 2013-01-08 Andreas Jaeger <aj@suse.de>
15673
15674 [BZ# 14985]
15675 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15676 Remove.
15677 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15678 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15679
15680 2013-01-07 Anton Blanchard <anton@samba.org>
15681
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.
15725
15726 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15727
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
15740 declaration.
15741 (__libc_valloc): Likewise.
15742 (__libc_pvalloc): Likewise.
15743 (__libc_calloc): Likewise.
15744 (__posix_memalign): Likewise.
15745
15746 [BZ #14996]
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.
15761
15762 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15763
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
15773 to ...
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.
15794
15795 2013-01-04 David S. Miller <davem@davemloft.net>
15796
15797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15798
15799 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15800
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.
15805
15806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15807
15808 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15809
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.
15816 (__inv): 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.
15822 (__inv): Likewise.
15823
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.
15834
15835 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15836
15837 [BZ #14994]
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.
15846
15847 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15848
15849 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15850
15851 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15852
15853 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15854 declarations.
15855 (denorm): Likewise.
15856 (__mp_dbl): Likewise.
15857 (__inv): Likewise.
15858
15859 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15860 and adjust the header comment.
15861
15862 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15863 variable name from declaration.
15864
15865 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15866
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.
15873
15874 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15875
15876 [BZ #14981]
15877 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15878 size is zero, record memory as freed.
15879
15880 2013-01-03 Andreas Jaeger <aj@suse.de>
15881
15882 * po/ia.po: Add new Interlingua translation.
15883
15884 2012-01-03 Allan McRae <allan@archlinux.org>
15885
15886 * locale/programs/localedef.c: Fix description of '--posix' flag.
15887
15888 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15889
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
15894 output.
15895
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.
15912
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.
15918
15919 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15920
15921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15922 four values.
15923
15924 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15925 calculation loop and add branch prediction.
15926
15927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15928 check access beyond bounds of m1np.
15929
15930 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15931 MPTWO.
15932 (__inv): Remove local variable MPTWO to use the global
15933 constant.
15934 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15936 variable MPTWO.
15937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15938 MP3HALFS static const.
15939
15940 2013-01-01 David S. Miller <davem@davemloft.net>
15941
15942 * po/ca.po: Update from translation team.
15943
15944 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15945
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.
16051
16052 2013-01-01 David S. Miller <davem@davemloft.net>
16053
16054 * po/fr.po: Update from translation team.
16055
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.
16078
16079 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16080
16081 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16082 numbers.
16083
16084 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16085
16086 * math/bits/mathcalls.h (modf): Use __nonnull.
16087
16088 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16089
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
16093 could be used.
16094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16095 instead of the bare value.
16096 (power1): Likewise.
16097
16098 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16099
16100 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16101 __ATAN_TWOM.
16102 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16103
16104 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16105 their values.
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.
16110
16111 2012-12-28 Andreas Jaeger <aj@suse.de>
16112
16113 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16114 values are from Linux 3.7.
16115
16116 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16117 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16118
16119 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16120
16121 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16122 TRUE case.
16123
16124 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16125 (norm): Likewise.
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.
16131
16132 2012-12-27 Bruno Haible <bruno@clisp.org>
16133
16134 [BZ #14317]
16135 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16136 only if needed.
16137
16138 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16139
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.
16143
16144 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16145 MPONE.
16146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16148 variable MPONE.
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.
16156
16157 2012-12-25 David S. Miller <davem@davemloft.net>
16158
16159 * version.h (RELEASE): Set to "development".
16160 (VERSION): Set to "2.17.90".
16161 * NEWS: Add 2.18 section.
16162
16163 2012-12-21 David S. Miller <davem@davemloft.net>
16164
16165 * po/hr.po: Update from translation team.
16166
16167 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16168
16169 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16170
16171 2012-12-19 Steve Ellcey <sellcey@mips.com>
16172
16173 * NEWS: Mention new memcpy for MIPS.
16174
16175 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16176
16177 * manual/contrib.texi (Contributors): Spelling correction.
16178
16179 2012-12-15 David S. Miller <davem@davemloft.net>
16180
16181 * po/ru.po: Update from translation team.
16182
16183 2012-12-13 David S. Miller <davem@davemloft.net>
16184
16185 * NEWS: Mention IFUNC testsuite enhancements.
16186
16187 * po/pl.po: Update from translation team.
16188 * po/bg.po: Likewise.
16189
16190 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16191 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16192
16193 2012-12-11 David S. Miller <davem@davemloft.net>
16194
16195 * po/sv.po: Update from translation team.
16196
16197 * po/vi.po: Update from translation team.
16198
16199 * po/cs.po: Update from translation team.
16200
16201 * po/de.po: Update from translation team.
16202 * po/eo.po: Likewise.
16203 * po/nl.po: Likewise.
16204
16205 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16206
16207 [BZ #14246]
16208 * manual/argp.texi (Argp Helper Functions): Move node to follow
16209 Argp Parsing State.
16210
16211 [BZ #14872]
16212 * manual/conf.texi (Limits on File System Capacity): Mention if
16213 terminating null is included in the max size.
16214
16215 2012-12-10 Andreas Jaeger <aj@suse.de>
16216
16217 * po/cs.po: Update from translation team.
16218
16219 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16220
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
16224 path.
16225 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16226 * sysdeps/s390/s390-64/memset.S: Likewise.
16227
16228 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16229
16230 [BZ #14833]
16231 * menual/message.texi (Message Translation): Fix typos.
16232 (Helper programs for gettext): Likewise.
16233
16234 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16235
16236 [BZ #14898]
16237 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16238 Change to -1.
16239
16240 2012-12-07 David S. Miller <davem@davemloft.net>
16241
16242 * po/libc.pot: Update.
16243
16244 2012-12-07 Richard Henderson <rth@redhat.com>
16245
16246 [BZ #10114]
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.
16250
16251 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16252 Mike Frysinger <vapier@gentoo.org>
16253
16254 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16255 check for __NR_fadvise64_64.
16256
16257 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16258
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
16262 with cw.
16263
16264 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16265
16266 * NEWS: Use sourceware.org in Bugzilla URL.
16267
16268 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16269
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16271 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16272
16273 * stdio-common/tst-put-error.c (do_test): Add newline to the
16274 padded test to ensure flush.
16275
16276 2012-12-05 Jeff Law <law@redhat.com>
16277
16278 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16279
16280 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16281
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.
16284
16285 * LICENSES: Add more non-FSF copyright and license notices.
16286
16287 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16288 ((unused)).
16289
16290 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16291
16292 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16293 10000 as width of padded output.
16294
16295 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16296
16297 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16298
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):
16302 Likewise.
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)).
16307
16308 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16309
16310 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16311
16312 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16313
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.
16413
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16415 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16416
16417 [BZ #14914]
16418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16419 whole low double instead of just low 47 bits when splitting values
16420 into two parts.
16421
16422 2012-12-03 Allan McRae <allan@archlinux.org>
16423
16424 * manual/stdio.texi (Predefined Printf Handlers): Remove
16425 @hsep and @vsep usage.
16426
16427 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16428
16429 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16430 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16431
16432 2012-12-03 Jeff Law <law@redhat.com>
16433
16434 * time/sys/time.h (settimeofday): Do not mark TV argument
16435 as __nonnull.
16436
16437 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16438
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.
16443
16444 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16445
16446 * manual/arith.texi (feenableexcept): Fix typo.
16447 (fedisableexcept): Likewise.
16448
16449 2012-11-30 Roland McGrath <roland@hack.frob.com>
16450
16451 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16452 second, differently-typed declaration, rather than a cast.
16453
16454 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16455
16456 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16457 * include/rpc/svc.h: ... here.
16458
16459 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16460
16461 [BZ #13013]
16462 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16463 depending n and resplen2 to catch cases where answer
16464 equals answerp2.
16465
16466 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16467
16468 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16469 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16470
16471 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16472
16473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16474
16475 2012-11-29 Roland McGrath <roland@hack.frob.com>
16476
16477 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16478
16479 2012-11-28 Jeff Law <law@redhat.com>
16480
16481 [BZ #13761]
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.
16485
16486 2012-06-04 Florian Weimer <fweimer@redhat.com>
16487
16488 [BZ #14197]
16489 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16490
16491 2012-11-28 David S. Miller <davem@davemloft.net>
16492
16493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16494
16495 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16496
16497 [BZ #14803]
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
16503 bits.
16504
16505 2012-11-28 Jeff Law <law@redhat.com>
16506 Martin Osvald <mosvald@redhat.com>
16507
16508 [BZ #14889]
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.
16516
16517 2012-11-28 Andreas Schwab <schwab@suse.de>
16518
16519 * scripts/abilist.awk: Also handle indirect functions in .opd
16520 section.
16521
16522 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16523
16524 [BZ #13881]
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.
16528 (p3): New 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.
16532 (p3): New 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.
16539
16540 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16541 Carlos O'Donell <carlos_odonell@mentor.com>
16542
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.
16546
16547 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16548
16549 [BZ #11741]
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.
16554
16555 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16556
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.
16571
16572 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16573
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.
16579
16580 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16581
16582 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16583
16584 2012-11-24 Adam Conrad <adconrad@0c3.net>
16585
16586 * configure.in: Autodetect C++ header directories.
16587 * configure: Regenerated.
16588
16589 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16590
16591 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16592
16593 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16594
16595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16596
16597 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16598
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]:
16602 Likewise.
16603 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16604 Likewise.
16605
16606 [BZ #14871]
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.
16610
16611 * sysdeps/generic/unwind-dw2-fde-glibc.c
16612 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16613 __attribute__ ((unused)).
16614
16615 [BZ #14645]
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.
16618
16619 [BZ #14811]
16620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16621 nonzero exponents with absolute value below 0x1p-117 to +/-
16622 0x1p-117.
16623
16624 [BZ #14869]
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.
16628
16629 [BZ #14868]
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.
16633
16634 * math/libm-test.inc (clog_test): Use
16635 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16636 (clog10_test): Likewise.
16637
16638 [BZ #6778]
16639 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16640
16641 2012-11-22 Andreas Schwab <schwab@suse.de>
16642
16643 * sysdeps/i386/fpu/libm-test-ulps: Update.
16644
16645 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16646
16647 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16648 printf output with newline.
16649
16650 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16651
16652 [BZ #14865]
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.
16657
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.
16670
16671 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16672
16673 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16674
16675 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16676
16677 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16678 macro.
16679
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
16685 include it from...
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
16701 sendmmsg.
16702
16703 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16704
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.
16708
16709 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16710
16711 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16712 DUMMY variables with __attribute__ ((unused)).
16713
16714 * bits/byteswap.h: Include <bits/types.h>.
16715 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16716
16717 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16718
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
16723 failure.
16724
16725 2012-11-19 David S. Miller <davem@davemloft.net>
16726
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.
16734
16735 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16736
16737 [BZ #14856]
16738 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16739 Define to 3.
16740
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
16788 require.
16789 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16790 sigevent): Specify elements.
16791 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16792 entry.
16793 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16794 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16795
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):
16810 Likewise.
16811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16812 Likewise.
16813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16814 Likewise.
16815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16816 Likewise.
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
16831 value.
16832 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16833 as optional.
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
16850 entry.
16851 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16852 optional.
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):
16859 Likewise.
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
16867 as optional.
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
16892 optional-constant.
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.
16899
16900 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16901 expect.
16902 [XPG3 || XPG4] (O_RSYNC): Likewise.
16903 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16904 Likewise.
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):
16912 Likewise.
16913 [XPG3 || XPG4] (blksize_t): Likewise.
16914 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16915 Likewise.
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.
16938
16939 [BZ #14835]
16940 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16941 <bits/siginfo.h>.
16942
16943 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16944
16945 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16946 finalizing MALLSTREAM.
16947
16948 * sysdeps/mach/hurd/syncfs.c: New file.
16949
16950 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16951
16952 [BZ #14719]
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.
16960
16961 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16962
16963 [BZ #13763]
16964 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16965
16966 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16967
16968 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16969 * elf/cache.c (print_entry): Print ",AArch64" for
16970 FLAG_AARCH64_LIB64
16971
16972 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16973 * elf/cache.c (print_entry): Print ",hard-float" for
16974 FLAG_ARM_LIBHF.
16975
16976 2012-11-18 David S. Miller <davem@davemloft.net>
16977
16978 With help from Joseph Myers.
16979 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16980 cutoff to 2**-13.
16981 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16982 cutoff to 2**-25.
16983 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16984 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16985 small.
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.
16992
16993 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16994
16995 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16996 64-bit targets.
16997 * configure: Regenerated.
16998
16999 2012-11-17 David S. Miller <davem@davemloft.net>
17000
17001 [BZ #14811]
17002 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17003 nonzero exponents with absolute value below 0x1p-128 to +/-
17004 0x1p-128.
17005
17006 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17007
17008 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17009
17010 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17011
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.
17033
17034 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17035
17036 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17037
17038 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17039
17040 [BZ #14672]
17041 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17042
17043 2012-11-16 David S. Miller <davem@davemloft.net>
17044
17045 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17046 smaller than LDBL_EPSILON/2.0L, just return xm1.
17047
17048 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17049
17050 * elf/tst-array1.c (init): Set constructor priority to 1000.
17051 (fini): Set destructor priority to 1000.
17052 * elf/tst-array2dep.c: Likewise.
17053
17054 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17055
17056 [BZ #11741]
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
17068 return EOF.
17069
17070 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17071
17072 * libio/libioP.h: Add comment note that the references to C++
17073 bits are now obsolete.
17074
17075 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17076
17077 * math/libm-test.inc (check_complex): Use asprintf.
17078
17079 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17080
17081 * debug/pcprofiledump.c (print_version): Update copyright year.
17082 * malloc/memusagestat.c (print_version): Likewise.
17083
17084 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17085
17086 [BZ #14831]
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.
17096
17097 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17098
17099 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17100 * misc/Makefile (CFLAGS-select.c): Define.
17101 * posix/Makefile (CFLAGS-pause.c): Define.
17102
17103 2012-11-13 David S. Miller <davem@davemloft.net>
17104
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
17119 path.
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
17123 crypt subdir.
17124 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17126 multiarch changes.
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
17136 file.
17137 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17138 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17139 file.
17140 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17141
17142 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17143
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.
17152
17153 [BZ #14838]
17154 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17155 macro.
17156
17157 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17158
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
17162 bits are 0.
17163
17164 2012-11-11 David S. Miller <davem@davemloft.net>
17165
17166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17167 inttypes.h
17168 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17169 __close rather than their public counterparts.
17170
17171 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17172
17173 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17174 file.
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):
17182 Do not expect.
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.
17187
17188 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17189
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.
17196
17197 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17198 2012i.
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
17202 tzselect.ksh.
17203
17204 * Makefile (format-me): Remove.
17205 (INSTALL): Adjust indentation. Use commands directly instead of
17206 using $(format-me).
17207
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
17236 REPORT_BUGS_TO.
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
17263 and BUGURL.
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
17294 macro.
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
17300 and PKGVERSION.
17301
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.
17313
17314 [BZ #14824]
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):
17321 Likewise.
17322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17323 Likewise.
17324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17325 Likewise.
17326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17327 Likewise.
17328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17329 Likewise.
17330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17331 Likewise.
17332
17333 [BZ #14821]
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.
17339
17340 2012-11-09 Andreas Jaeger <aj@suse.de>
17341
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>.
17345
17346 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17347
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
17351 definition.
17352
17353 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17354
17355 * elf/elf.h: Update comment before AArch64 relocations.
17356
17357 2012-11-07 David S. Miller <davem@davemloft.net>
17358
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
17364 __makecontext_ret.
17365 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17366 (sysdep_routines): Add __start_context when in stdlib.
17367
17368 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17369
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
17373 hardcoded "nm".
17374 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17375 (READELF): New variable. Use it instead of hardcoded "readelf".
17376
17377 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17378
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.
17383
17384 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17385
17386 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17387 expectations.
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):
17409 Do not expect.
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.
17422
17423 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17424 not expect.
17425 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17426
17427 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17428 Change function return type to int.
17429
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
17438 && !UNIX98].
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.
17445
17446 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17447 Change condition to [XOPEN2K8].
17448
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
17639 allow.
17640 * conform/data/stdint.h-data: Update comments to clarify
17641 requirements.
17642 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17643 type.
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"
17701 at end of line.
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.
17713 Specify type.
17714 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17715 Specify value.
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):
17721 Expect function.
17722 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17723 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17724 Specify type.
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.
17734
17735 2012-11-07 Roland McGrath <roland@hack.frob.com>
17736
17737 [BZ #14815]
17738 * manual/filesys.texi (Directory Entries): Typo fix.
17739 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17740
17741 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17742
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.
17752
17753 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17754
17755 [BZ #14811]
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 +/-
17763 0x1p-32.
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.
17768
17769 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17770
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.
17774
17775 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17776
17777 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17778 Change XOPEN21K to XOPEN2K.
17779
17780 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17781
17782 * string/memmove.c: Use memcpy when possible.
17783
17784 2012-11-06 Andreas Jaeger <aj@suse.de>
17785
17786 * po/eo.po: Update from translation team.
17787
17788 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17789
17790 [BZ #14793]
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.
17800
17801 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17802
17803 [BZ #14805]
17804 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17805 fenv_t *.
17806
17807 [BZ #14801]
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
17811 fenv_t fields.
17812 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17813 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17814
17815 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17816
17817 [BZ #3665]
17818 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17819
17820 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17821
17822 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17823 PTR_DEMANGLE.
17824
17825 [BZ #5246]
17826 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17827 PTR_DEMANGLE.
17828
17829 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17830
17831 [BZ #14797]
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.
17840
17841 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17842
17843 [BZ #157]
17844
17845 * include/stub-tag.h: Remove file.
17846 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17847 '#include' of it.
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:
18217 Likewise.
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.
18249
18250 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18251
18252 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18253 /usr/old/bin.
18254
18255 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18256 instead of spaces.
18257 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18258
18259 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18260
18261 [BZ #14796]
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
18274 function.
18275 (libc_fesetround): New macro.
18276 (libc_fesetroundf): Likewise.
18277 (libc_fesetroundl): Likewise.
18278 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18279 function.
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
18285 function.
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
18292 libm_hidden_ver.
18293 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18294 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18295 libm_hidden_def.
18296 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18297 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18298 libm_hidden_ver.
18299 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18300 libm_hidden_def.
18301
18302 [BZ #3439]
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
18305 constant.
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.
18357
18358 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18359
18360 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18361
18362 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18363
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
18367 -x" by "export".
18368 (remove_newlines): Remove.
18369
18370 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18371
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
18378 -mno-sse -mno-mmx.
18379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18380 <xmmintrin.h>.
18381
18382 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18383
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>.
18388
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.
18394
18395 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18396 (struct rusage): Do not expect type or its members.
18397
18398 [BZ #3439]
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.
18405
18406 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18407
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
18410 arguments.
18411
18412 2012-11-02 Roland McGrath <roland@hack.frob.com>
18413
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.
18418
18419 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18420
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.
18424
18425 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18426
18427 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18428 except include of <misc/sys/syslog.h>.
18429
18430 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18431
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18433 function returns with a NULL context exit with zero.
18434
18435 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18436
18437 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18438
18439 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18440
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.
18445
18446 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18447
18448 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18449 floating point opcodes.
18450
18451 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18452
18453 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18454 variable.
18455
18456 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18457
18458 * sysdeps/mach/hurd/powerpc: Remove directory.
18459 * sysdeps/mach/powerpc: Likewise.
18460
18461 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18462
18463 * scripts/check-local-headers.sh: Ignore c++ headers.
18464
18465 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18466
18467 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18468 __libc_cleanup_region_start argument.
18469
18470 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18471
18472 [BZ #14784]
18473 [BZ #14785]
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.
18482
18483 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18484
18485 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18486
18487 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18488
18489 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18490 New variable.
18491
18492 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18493
18494 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18495
18496 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18497
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18499 Fix sort order.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18501 Likewise.
18502
18503 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18504
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:
18508 Likewise.
18509
18510 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18511
18512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18513
18514 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18515
18516 [BZ #14610]
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.
18520
18521 * manual/install.texi (Configuring and compiling): Document
18522 general use of test-wrapper and test-wrapper-env.
18523 * INSTALL: Regenerated.
18524
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
18528 exponent.
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
18532 exponent.
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
18536 exponent.
18537 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18538 macro.
18539 (fma_test): Add more tests.
18540 (fma_test_towardzero): Likewise.
18541 (fma_test_downward): Likewise.
18542 (fma_test_upward): Likewise.
18543
18544 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18545
18546 * sysdeps/i386/tininess.h: Renamed to ...
18547 * sysdeps/x86/tininess.h: This.
18548 * sysdeps/x86_64/tininess.h: Removed.
18549
18550 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18551
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.
18560
18561 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18562
18563 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18564 if defined.
18565
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.
18574
18575 2012-10-30 Andreas Jaeger <aj@suse.de>
18576
18577 * po/ru.po: Update Russion translation from translation project.
18578
18579 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18580
18581 [BZ #14152]
18582 [BZ #14783]
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.
18593
18594 [BZ #14047]
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.
18612
18613 2012-10-30 Andreas Jaeger <aj@suse.de>
18614
18615 [BZ#14767]
18616 * elf/Makefile (tests): Remove conditional for have-initfini-array
18617 since this is now always required and the variable does not exist
18618 anymore.
18619 (tests-static): Likewise.
18620 (modules-names): Likewise.
18621
18622 * po/eo.po: Add Esperanto translation from translation project.
18623
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.
18629
18630 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18631
18632 * manual/message.texi: Delete @cartouche tags.
18633
18634 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18635
18636 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18637 EOPNOTSUPP.
18638 * sysdeps/mach/hurd/fsync.c: Likewise.
18639
18640 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18641 [_POSIX_REALTIME_SIGNALS]: Change condition to
18642 [_POSIX_REALTIME_SIGNALS > 0].
18643
18644 2012-10-27 Andreas Jaeger <aj@suse.de>
18645
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.
18650
18651 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 * iconvdata/tst-table.sh: Remove ${SHELL}.
18654 * iconvdata/tst-tables.sh: Likewise.
18655
18656 2012-10-25 David S. Miller <davem@davemloft.net>
18657
18658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18659 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18660 of strtoull.
18661
18662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18663 ifunc-impl-list.c
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
18667 file.
18668
18669 2012-10-25 Roland McGrath <roland@hack.frob.com>
18670
18671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18672 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18673 __getdirentries.
18674
18675 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18676 Jim Blandy <jimb@codesourcery.com>
18677
18678 * scripts/cross-test-ssh.sh: New file.
18679 * manual/install.texi (Configuring and compiling): Document use of
18680 cross-test-ssh.sh.
18681 * INSTALL: Regenerated.
18682
18683 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18684
18685 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18686 EOPNOTSUPP.
18687
18688 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18689
18690 * Makeconfig (run-program-prefix): Fix comment.
18691
18692 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18693 Jim Blandy <jimb@codesourcery.com>
18694
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
18705 tst-pathopt.sh.
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.
18730
18731 2012-10-24 Roland McGrath <roland@hack.frob.com>
18732
18733 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18734 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18735 Targets removed.
18736
18737 [BZ #14743]
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:
18768 Likewise.
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18770 Likewise.
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.
18776
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.
18783
18784 * config.h.in (HAVE_IFUNC): New #undef.
18785 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18786 was successful.
18787 * configure: Regenerated.
18788
18789 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18790
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.
18795
18796 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18797
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.
18803
18804 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18805
18806 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18807
18808 * posix/globtest.sh (TMPDIR): Do not set.
18809 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18810 (testout): Likewise.
18811
18812 2012-10-24 Andreas Jaeger <aj@suse.de>
18813
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.
18819
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__]:
18823 Likewise.
18824 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18825 Likewise.
18826 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18827
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.
18832
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.
18838
18839 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18840
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.
18860
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
18868 binary.
18869
18870 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18871 Joseph Myers <joseph@codesourcery.com>
18872
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).
18879
18880 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18881 Jim Blandy <jimb@codesourcery.com>
18882
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.
18886
18887 2012-10-22 Andreas Jaeger <aj@suse.de>
18888
18889 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18890 __O_RSYNC if it exists, otherwise to O_SYNC.
18891
18892 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18893 Joseph Myers <joseph@codesourcery.com>
18894
18895 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18896 /dev/null.
18897 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18898 from /dev/null
18899 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18900 /dev/null.
18901
18902 2012-10-22 Andreas Jaeger <aj@suse.de>
18903
18904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18905 Define always.
18906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18907
18908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18909 bits/fcntl-linux.h.
18910
18911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18912 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18913
18914 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18915 to __O_LARGEFILE.
18916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18917 to __O_LARGEFILE.
18918
18919 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18920 Joseph Myers <joseph@codesourcery.com>
18921
18922 * config.make.in (NM): New variable.
18923
18924 2012-10-21 Andreas Jaeger <aj@suse.de>
18925
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>.
18929
18930 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 [BZ #14683]
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.
18941
18942 2012-10-20 Andreas Jaeger <aj@suse.de>
18943
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.
18951
18952 2012-10-20 Roland McGrath <roland@hack.frob.com>
18953
18954 * io/fcntl.h: Move include of <bits/types.h> to the top and
18955 include it unconditionally.
18956
18957 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18958
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.
18967
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.
19027
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.
19034
19035 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19036
19037 [BZ #13601]
19038 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19039 header is not read in.
19040
19041 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19042
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.
19049
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
19066 tst-translit.sh.
19067 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19068 tst-gettext2.sh.
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
19078 to run tst-mtrace.
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.
19085
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.
19096
19097 [BZ #13888]
19098 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19099 or TMPDIR.
19100 (testout): Likewise.
19101
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.
19109
19110 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19111
19112 [BZ #14716]
19113 * string/test-memmem.c (check_result): New function.
19114 (do_one_test): Use it.
19115 (check1): New function.
19116 (test_main): Use it.
19117
19118 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19119
19120 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19121
19122 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19123
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
19139 __mmap64 directly.
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
19154 unconditional.
19155 (freopen64) [!_G_OPEN64]: Remove conditional code.
19156 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19157 unconditional.
19158 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19159 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19160 unconditional.
19161 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19162 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19163 unconditional.
19164 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19165 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19166 unconditional.
19167 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19168 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19169 unconditional.
19170 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19171 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19172 unconditional.
19173 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19174 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19175 unconditional.
19176 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19177
19178 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19179
19180 [BZ #12140]
19181 * manual/memory.texi (Malloc Tunable Parameters): Add note
19182 about free list pointers overwriting some perturb bytes.
19183 Wording suggested by Roland McGrath.
19184
19185 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19186
19187 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19188 (lgamma_test): Likewise.
19189 (tgamma_test): Likewise.
19190
19191 2012-10-16 Florian Weimer <fweimer@redhat.com>
19192
19193 [BZ #14700]
19194 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19195 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19196
19197 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19198
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.
19202
19203 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19204
19205 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19206 (__bswap_64): __uint64_t for unsigned 64-bit int.
19207
19208 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19209
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.
19214
19215 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19216
19217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19218 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19219 global and hidden.
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):
19223 Likewise.
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
19238 ifunc-impl-list.c.
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.
19269
19270 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19271 global and hidden.
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):
19276 Likewise.
19277 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19278 Likewise.
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
19283 ifunc-impl-list.c.
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.
19325
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
19336 are defined.
19337 (test_init): Call __libc_ifunc_impl_list to initialize
19338 func_list if TEST_IFUNC and TEST_NAME are defined.
19339
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
19344 defined.
19345 * string/test-memset.c: Support bzero test if TEST_BZERO is
19346 defined.
19347 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19348 __libc_memmove.
19349 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19350 __libc_memset.
19351 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19352 of memset.
19353
19354 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19355
19356 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19357 * configure: Regenerated.
19358
19359 * Makeconfig (+link-static-before-libc): Don't include
19360 $(link-static-libc).
19361
19362 * libio/libio.h (_IO_pos_t): Remove.
19363
19364 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19365
19366 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19367 McGrath.
19368
19369 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19370
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.
19376
19377 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19378
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.
19389
19390 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19391
19392 * NEWS: Add entry for BZ #14602.
19393
19394 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19395
19396 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19397 type-generic.
19398 * math/libm-test.inc: Update comment listing what functions and
19399 macros are tested.
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.
19407
19408 2012-10-09 Roland McGrath <roland@hack.frob.com>
19409
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.
19427
19428 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19429 defined. Don't check if MAP is NULL.
19430
19431 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19432
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
19444 _G_off64_t.
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.
19448
19449 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19450
19451 [BZ #14602]
19452 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19453 Replace with ...
19454 (CHECK_EOL): New macro.
19455 (two_way_short_needle): Check beginning of haystack for EOL. Use
19456 CHECK_EOL.
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.
19461
19462 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19463
19464 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19465 type-generic.
19466 * math/libm-test.inc: Update comment listing what functions and
19467 macros are tested.
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.
19475
19476 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19477
19478 [BZ #14660]
19479 * Makerules (%.dynsym): Force C locale when running
19480 $(OBJDUMP) --dynamic-syms.
19481
19482 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19483
19484 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19485 <stdint.h>.
19486
19487 2012-10-06 David S. Miller <davem@davemloft.net>
19488
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.
19492
19493 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19494
19495 * string/test-strstr.c (check2): Add a test for page boundary.
19496
19497 2012-10-05 David S. Miller <davem@davemloft.net>
19498
19499 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19500 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19501 file.
19502 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19503 sysdep_routines.
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.
19507
19508 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19509
19510 [BZ #14602]
19511 * string/test-strstr.c (check2): New function.
19512 (test_main): Call check2.
19513
19514 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19515 and bug-strchr1.
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.
19537
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.
19544
19545 [BZ #14557]
19546 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19547 if IS_IN_rtld isn't defined.
19548
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.
19560
19561 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19562
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
19569 tested.
19570
19571 * scripts/config.guess: Update from config.git.
19572 * scripts/config.sub: Likewise.
19573
19574 2012-10-04 Roland McGrath <roland@hack.frob.com>
19575
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.
19588
19589 2012-10-03 Roland McGrath <roland@hack.frob.com>
19590
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
19600 [USE_LDCONFIG].
19601 * elf/rtld.c (dl_main): Likewise.
19602
19603 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19604
19605 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19606 _SC_LEVEL4_CACHE_LINESIZE.
19607
19608 2012-10-03 Roland McGrath <roland@hack.frob.com>
19609
19610 * sysdeps/unix/bsd/confstr.h: File removed.
19611
19612 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19613
19614 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19615 sys/sdt-config.h.
19616
19617 2012-10-02 Roland McGrath <roland@hack.frob.com>
19618
19619 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19620 Make 'mapoff' field ElfW(Off) rather than off_t.
19621
19622 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19623
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.
19627
19628 [BZ #10631]
19629 * malloc.c (malloc_printerr): Clarify error message.
19630
19631 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19632
19633 [BZ #14648]
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
19637 macro.
19638 (bit_FMA4_Usable): Updated.
19639 (index_FMA_Usable): New macro.
19640 (CPUID_FMA): Likewise
19641 (HAS_FMA): Defined with bit_FMA_Usable.
19642
19643 2012-10-01 Roland McGrath <roland@hack.frob.com>
19644
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.
19656
19657 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19658 Honza Horak <hhorak@redhat.com>
19659
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.
19665
19666 2012-10-01 Roland McGrath <roland@hack.frob.com>
19667
19668 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19669
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.
19678
19679 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19680
19681 [BZ #14645]
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.
19692
19693 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19694
19695 [BZ #14638]
19696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19697 0 + 0.
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
19702 exact 0 + 0.
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.
19710
19711 2012-09-28 David S. Miller <davem@davemloft.net>
19712
19713 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19714
19715 2012-09-28 Roland McGrath <roland@hack.frob.com>
19716
19717 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19718 instead of SIGALRM.
19719
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.
19724
19725 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19726
19727 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19728
19729 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19730 Conditionalize target on [libnss_test1.so-version].
19731
19732 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19733
19734 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19735 (elfobjdir): Move out of conditionals.
19736
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.
19741
19742 2012-09-28 David S. Miller <davem@davemloft.net>
19743
19744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19745 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19746 file.
19747 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19748 sysdep_routines.
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.
19752
19753 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19754
19755 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19756
19757 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19758
19759 [BZ #6530]
19760 * stdio-common/vfprintf.c (process_string_arg): Revert
19761 2000-07-22 change.
19762
19763 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19764
19765 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19766 for testcase.
19767 * stdio-common/tst-sprintf.c: Include <locale.h>
19768 (main): Test sprintf's handling of incomplete multibyte
19769 characters.
19770
19771 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19772
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.
19786
19787 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19788
19789 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19790
19791 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19792
19793 [BZ #11438]
19794 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19795 to global scope.
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.
19799
19800 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19801
19802 [BZ #5298]
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.
19806
19807 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19808
19809 [BZ #14543]
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.
19815
19816 2012-09-27 David S. Miller <davem@davemloft.net>
19817
19818 [BZ #14376]
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.
19822
19823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19824
19825 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19826
19827 * rt/tst-aio2.c: Include <pthread.h>.
19828 * rt/tst-aio3.c: Likewise.
19829
19830 2012-09-27 Steve Ellcey <sellcey@mips.com>
19831
19832 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19833
19834 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19837 contents on [SHARED].
19838
19839 2012-09-26 Marek Polacek <polacek@redhat.com>
19840
19841 [BZ #14530]
19842 [BZ #13741]
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.
19845
19846 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19847
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19849
19850 2012-09-25 Roland McGrath <roland@hack.frob.com>
19851
19852 * Makefile.in (all, install): Declare with .PHONY.
19853 Reported by Michael Hope <michael.hope@linaro.org>.
19854
19855 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19856
19857 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19858 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19859 system header.
19860 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19861 Likewise.
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.
19874
19875 2012-09-25 Alan Modra <amodra@gmail.com>
19876
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
19880 place of isync.
19881 (clear_once_control): Add release barrier.
19882
19883 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19884
19885 [BZ #13629]
19886 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19887 specially.
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.
19906
19907 [BZ #14621]
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
19911 and OLD_PATHC.
19912
19913 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19914
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.
19923
19924 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19926
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.
19946
19947 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19948
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.
19978
19979 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19980
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.
19988
19989 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19990
19991 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19992 comments.
19993
19994 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19995
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.
20028
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.
20034
20035 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20036
20037 [BZ #13679]
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)
20041 isn't yes.
20042 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20043
20044 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20045
20046 [BZ #14562]
20047 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20048 new chunk size with MALLOC_ALIGN_MASK.
20049
20050 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20051
20052 [BZ #5044]
20053 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20054 <rounding-mode.h>.
20055 (__printf_fphex): Determine rounding using get_rounding_mode and
20056 round_away.
20057 * stdio-common/tst-printf-round.c (struct hex_test): New
20058 structure.
20059 (hex_tests): New variable.
20060 (test_hex_in_one_mode): New function.
20061 (do_test): Also run tests for hex float output.
20062
20063 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20064
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.
20073
20074 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20075
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.
20080
20081 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20082
20083 [BZ #14579]
20084 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20085 mode only.
20086 * elf/tst-rtld-load-self.sh: New test.
20087 * elf/Makefile: Run it.
20088
20089 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20090
20091 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20092 (tst-writev-ENV): Remove.
20093 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20094
20095 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20096
20097 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20098
20099 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20100
20101 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20102 unconditional.
20103 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20104 Likewise.
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):
20108 Likewise.
20109
20110 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20111
20112 [BZ #14587]
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.
20117
20118 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20119
20120 [BZ #5044]
20121 * stdio-common/printf_fp.c: Include <stdbool.h> and
20122 <rounding-mode.h>.
20123 (___printf_fp): Determine rounding using get_rounding_mode and
20124 round_away.
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).
20129
20130 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20131
20132 [BZ #14576]
20133 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20134 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20135 Likewise.
20136 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20137 Likewise.
20138
20139 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20140
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.
20145
20146 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20147
20148 [BZ #14518]
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
20171 $(link-libm).
20172
20173 2012-12-09 Allan McRae <allan@archlinux.org>
20174
20175 * sysdeps/i386/fpu/libm-test-ulps: Update
20176
20177 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20178
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.
20203
20204 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20205
20206 * csu/libc-tls.c: Update copyright years.
20207
20208 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20209
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.
20214
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.
20228
20229 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20230
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.
20234
20235 * iconv/gconv_db.c: Update copyright years.
20236
20237 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20238
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.
20242
20243 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20244 DP_HI_MASK entry.
20245 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20246
20247 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20248
20249 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20250
20251 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20252 is NULL.
20253
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.
20266
20267 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20268 on $(common-objpfx)soversions.mk.
20269
20270 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20271
20272 [BZ #10014]
20273 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20274 example host name.
20275
20276 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20277
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.
20286
20287 2012-09-05 John Tobey <john.tobey@gmail.com>
20288
20289 [BZ #13542]
20290 * manual/arith.texi (Operations on Complex): Fix description
20291 of carg branch cut.
20292
20293 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20294
20295 [BZ #10014]
20296 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20297 host name.
20298
20299 [BZ #10038]
20300 * manual/memory.texi (Memory): Make order of menu items match
20301 order of sections.
20302
20303 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20304
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).
20308
20309 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20310
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
20317 DL_INITIAL_DTV.
20318
20319 2012-09-06 Petr Machata <pmachata@redhat.com>
20320
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.
20325
20326 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20327
20328 [BZ #14545]
20329 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20330 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20331 freeing dtv[-1].
20332
20333 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20334
20335 [BZ #14544]
20336 * Makeconfig (link-static-before-libc): Replace $(+prector)
20337 with $(+prectorT).
20338 (link-static-after-libc): Replace $(+postctor) with
20339 $(+postctorT).
20340 (link-bounded): Replace $(+prector)/$(+postctor) with
20341 $(+prectorT)/$(+postctorT).
20342 (+prectorT): New macro.
20343 (+postctorT): Likewise.
20344
20345 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20346
20347 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20348 (round_str): Handle values above the maximum for IBM long double
20349 as inexact.
20350 * stdlib/tst-strtod-round.c (tests): Regenerated.
20351
20352 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20353
20354 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20355 assembler flag.
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
20361 for zarch.
20362
20363 2012-09-05 David S. Miller <davem@davemloft.net>
20364
20365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20366
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
20371 entries.
20372
20373 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20374
20375 * malloc/arena.c: Fold copyright years.
20376 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20377
20378 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20379
20380 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20381
20382 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20383
20384 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20385
20386 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20387
20388 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20389 change internal state upon failure.
20390
20391 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20392
20393 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20394 * malloc/memusage.c (mmap): Likewise.
20395 (mmap64, mremap): Likewise. Adjust name in comment.
20396
20397 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20398
20399 * libio/fileops.c: Fix typos in comments.
20400 * libio/oldfileops.c: Likewise.
20401 * libio/wfileops.c: Likewise.
20402
20403 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20404
20405 [BZ #1349]
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
20409 requested size.
20410 * malloc/malloc.c (musable): Use malloc_check_get_size.
20411 * malloc/tst-malloc-usable.c: New test case.
20412
20413 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20414
20415 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20416
20417 2012-09-05 Allan McRae <allan@archlinux.org>
20418
20419 [BZ #13966]
20420 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20421 determine header location.
20422 * configure: Regenerated.
20423
20424 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20425
20426 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20427 float format.
20428 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20429 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20430 format.
20431 (test): Regenerate.
20432
20433 2012-09-04 David S. Miller <davem@davemloft.net>
20434
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.
20438
20439 2012-09-04 Florian Weimer <fweimer@redhat.com>
20440
20441 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20442 failures.
20443
20444 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20445
20446 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20447
20448 [BZ #9914]
20449 * libio/iogetdelim.c: Include <limits.h>.
20450 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20451 + len + 1 would overflow.
20452
20453 2012-09-03 Andreas Jaeger <aj@suse.de>
20454
20455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20456 * sysdeps/i386/fpu/libm-test-ulps: Update.
20457
20458 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20459
20460 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20461 Add s_sinf-sse2, s_conf-sse2.
20462
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.
20467
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.
20474
20475 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20476 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20477
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.
20481
20482 * math/libm-test.inc (cos_test): Add more test cases.
20483 (sin_test): Likewise.
20484 (sincos_test): Likewise.
20485
20486 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20487
20488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20489 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20490 hidden.
20491 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20492
20493 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20494
20495 [BZ #14538]
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 ().
20500
20501 2012-09-01 Allan McRae <allan@archlinux.org>
20502
20503 [BZ #13412]
20504 * configure.in (AWK): Require gawk version 3.0 or later.
20505 * configure: Regenerated.
20506
20507 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20508
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
20515 conditionals.
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
20526 conditional code.
20527 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20529
20530 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20531
20532 [BZ #14476]
20533 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20534 scripts/test-installation.pl.
20535
20536 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20537 and $ld_so_version if it is set.
20538
20539 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20540
20541 [BZ #14516]
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.
20545
20546 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20547
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):
20574 Remove.
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.
20580
20581 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20582
20583 [BZ #5400]
20584 * NEWS: Add fixed bug number.
20585
20586 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20587
20588 [BZ #14519]
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.
20593
20594 [BZ #3479]
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
20602 unconditionally.
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
20618 unconditional.
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.
20630
20631 [BZ #14459]
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.
20645
20646 2012-08-25 Marek Polacek <polacek@redhat.com>
20647
20648 * time/time.h: Fix some typos in comments.
20649
20650 2012-08-23 Roland McGrath <roland@hack.frob.com>
20651
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.
20655
20656 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20657
20658 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20659 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20660
20661 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20662
20663 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20664 #include of fxstatat64.c.
20665
20666 2012-08-22 Roland McGrath <roland@hack.frob.com>
20667
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.
20707
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.
20715
20716 [BZ# 13696]
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):
20730 Variables removed.
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
20746 [USE_NSCD].
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.
20752
20753 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20754
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.
20758
20759 2012-08-22 Roland McGrath <roland@hack.frob.com>
20760
20761 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20762 Conditionalize whole body on [IREL].
20763
20764 2012-08-22 Jeff Law <law@redhat.com>
20765
20766 [BZ #14505]
20767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20768 if the family is PF_UNSPEC.
20769
20770 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20771
20772 * Makerules (lib-version): Rename from V.
20773 (install-lib-nosubdir): Change V to lib-version.
20774
20775 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20776
20777 [BZ #14252]
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.
20784
20785 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20786
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.
20791
20792 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20793 array references.
20794 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20795
20796 [BZ #11607]
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.
20805
20806 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20807
20808 [BZ #11607]
20809 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20810 the first character.
20811
20812 2012-08-21 Roland McGrath <roland@hack.frob.com>
20813
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.
20817
20818 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20819
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
20835 unconditional.
20836 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20837 conditional code.
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
20841 unconditional.
20842 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20843 conditional code.
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
20847 unconditional.
20848 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20849 conditional code.
20850
20851 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20852
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.
20856
20857 2012-08-20 Roland McGrath <roland@hack.frob.com>
20858
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>.
20862
20863 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20864 DSOCAPS to match condition on defining it.
20865
20866 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20867
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.
20879
20880 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20881 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20882
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
20886 unconditional.
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.
20902
20903 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20904
20905 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20906
20907 2012-08-18 Andreas Jaeger <aj@suse.de>
20908
20909 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20910
20911 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20912
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.
20917
20918 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20919
20920 [BZ #9685]
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.
20926
20927 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20928
20929 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20930
20931 2012-08-17 Marek Polacek <polacek@redhat.com>
20932
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.
20935
20936 2012-08-17 Roland McGrath <roland@hack.frob.com>
20937
20938 * configure.in: Add AC_SUBST for sysheaders.
20939 * configure: Regenerated.
20940 * config.make.in (sysheaders): New substituted variable.
20941
20942 * sysdeps/unix/mkfifo.c: Moved ...
20943 * sysdeps/posix/mkfifo.c: ... here.
20944 * sysdeps/unix/mkfifoat.c: Moved ...
20945 * sysdeps/posix/mkfifoat.c: ... here.
20946
20947 * sysdeps/unix/utime.c: Moved ...
20948 * sysdeps/posix/utime.c: ... here.
20949
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.
20954
20955 * sysdeps/unix/nice.c: Moved ...
20956 * sysdeps/posix/nice.c: ... here.
20957
20958 * sysdeps/unix/alarm.c: Moved ...
20959 * sysdeps/posix/alarm.c: ... here.
20960
20961 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20962
20963 2012-08-17 Jeff Law <law@redhat.com>
20964
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.
20974
20975 2012-08-17 Roland McGrath <roland@hack.frob.com>
20976
20977 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20978 * sysdeps/unix/syscalls.list: ... here.
20979
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.
20986
20987 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20988 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20989 Macros removed.
20990 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20991 [!NO_THREADS].
20992 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20993 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20994 Likewise.
20995
20996 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20997 __libc_cleanup_push argument.
20998
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.
21008
21009 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21010 last change.
21011
21012 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21013 [_IO_MTSAFE_IO].
21014 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21015 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21016 New macros.
21017
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.
21045
21046 * libio/Makefile: Test [$(libc-reentrant) = yes]
21047 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21048
21049 * Makeconfig
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.
21055
21056 2012-08-16 Gary Benson <gbenson@redhat.com>
21057
21058 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21059 unmapping the first object in a namespace.
21060
21061 2012-08-16 Roland McGrath <roland@hack.frob.com>
21062
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.
21076
21077 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21078
21079 * stdlib/longlong.h: Update from GCC.
21080
21081 2012-08-16 Roland McGrath <roland@hack.frob.com>
21082
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.
21090
21091 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21092
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.
21098
21099 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21100
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.
21119
21120 2012-08-15 Roland McGrath <roland@hack.frob.com>
21121
21122 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21123 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21124
21125 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21126
21127 * elf/dl-sym.c: Include <stdlib.h>.
21128
21129 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21130 constants, which avoids warnings in 32-bit builds.
21131
21132 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21133 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21134
21135 * misc/lseek.c: File moved to ...
21136 * io/lseek.c: ... here.
21137
21138 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21139
21140 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21141 shifting LEN more than 31 bits at once.
21142
21143 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21144
21145 [BZ #14195]
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.
21152
21153 2012-08-15 Andreas Jaeger <aj@suse.de>
21154
21155 [BZ #14090]
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.
21160
21161 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21162
21163 [BZ #14090]
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.
21168
21169 2012-08-15 Roland McGrath <roland@hack.frob.com>
21170
21171 * string/str-two-way.h: Include <sys/param.h>.
21172 (MAX): Macro removed.
21173
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>.
21177
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".
21183
21184 * include/dirent.h: Declare __getdirentries.
21185
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.
21188
21189 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21190
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.
21204
21205 2012-08-14 Roland McGrath <roland@hack.frob.com>
21206
21207 * elf/dl-open.c: Include <atomic.h>.
21208 * elf/dl-lookup.c: Likewise.
21209
21210 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21211
21212 * sysdeps/unix/sysv/linux/kernel-features.h
21213 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21214 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21215 unconditionally.
21216 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21217 unconditionally.
21218 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21219 condition on __ASSUME_CLONE_THREAD_FLAGS.
21220
21221 2012-08-14 Andreas Jaeger <aj@suse.de>
21222
21223 * sysdeps/i386/fpu/libm-test-ulps: Update.
21224
21225 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21226
21227 * include/atomic.h (atomic_exchange_and_add): Split into ...
21228 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21229 New atomic macros.
21230
21231 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21232
21233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21234
21235 2012-08-13 Jeff Law <law@redhat.com>
21236
21237 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21238 null byte in the output string.
21239
21240 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21241
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.
21250
21251 2012-08-09 Jeff Law <law@redhat.com>
21252
21253 [BZ #13939]
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
21260 arena_get2.
21261 (__libc_malloc): Unify retrying after main arena failure with
21262 __libc_memalign version.
21263 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21264
21265 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 [BZ #14166]
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
21278 __redirect_time.
21279 Include <time.h>.
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.
21294
21295 2012-08-08 Mark Salter <msalter@redhat.com>
21296
21297 * elf/elf.h
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.
21310
21311 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21312
21313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21314 Remove.
21315
21316 2012-08-08 Roland McGrath <roland@hack.frob.com>
21317
21318 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21319
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.
21323
21324 2012-08-07 Allan McRae <allan@archlinux.org>
21325
21326 [BZ #14303]
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
21330 not found.
21331 (open_input): Call CPP using execvp.
21332
21333 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21334
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
21344 conditional code.
21345 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21346 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21347 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21348 code.
21349 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21350 unconditional.
21351 [__ASSUME_WAITID_SYSCALL]: Likewise.
21352 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21353
21354 2012-08-07 Roland McGrath <roland@hack.frob.com>
21355
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.
21380
21381 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21382 * bits/fcntl.h: ... here.
21383
21384 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21385 not 0.
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].
21398
21399 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21400 * bits/dirent.h: ... here.
21401
21402 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21403 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21404
21405 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21406
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
21413 version.
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.
21426
21427 2012-08-06 Roland McGrath <roland@hack.frob.com>
21428
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.
21458
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.
21471
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.
21508
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.
21519
21520 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21521
21522 * stdlib/secure-getenv.c (__secure_getenv): Replace
21523 GLIBC_2_16 with GLIBC_2_17.
21524
21525 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21526
21527 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21528 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21529
21530 2012-08-03 David S. Miller <davem@davemloft.net>
21531
21532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21533
21534 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21535
21536 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21537 Remove.
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.
21547
21548 2012-08-03 Roland McGrath <roland@hack.frob.com>
21549
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.
21555
21556 * sysdeps/generic/eloop-threshold.h: New file.
21557 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21558 of MAXSYMLINKS.
21559 * elf/chroot_canon.c (chroot_canon): Likewise.
21560
21561 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21562
21563 [BZ #13717]
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
21570 kernel versions.
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
21577 i386.
21578 (__ASSUME_UTIMES): Likewise.
21579 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21580 kernel version.
21581 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21582 (__ASSUME_TMPFS_NAME): Likewise.
21583 * README: Update reference to Linux kernel versions.
21584
21585 2012-08-02 Marek Polacek <polacek@redhat.com>
21586
21587 [BZ# 14150]
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.
21667
21668 2012-08-01 Roland McGrath <roland@hack.frob.com>
21669
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.
21678
21679 2012-08-01 Marek Polacek <polacek@redhat.com>
21680
21681 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21682 Use dlfcn directly instead of a variable.
21683 (binfmt-subdir): Do not define.
21684 (dlfcn): Likewise.
21685
21686 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21687
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
21695 macro definition.
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.
21704
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.
21719
21720 2012-08-01 Roland McGrath <roland@hack.frob.com>
21721
21722 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21723 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21724
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.
21746
21747 [BZ #14138]
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.
21752
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.
21758
21759 2012-08-01 Florian Weimer <fweimer@redhat.com>
21760
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):
21765 Likewise.
21766 * WUR-REPORT: Remove set*id functions.
21767
21768 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21769
21770 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21771
21772 2012-07-31 Roland McGrath <roland@hack.frob.com>
21773
21774 [BZ #10191]
21775 * include/sys/socket.h (__libc_accept, __libc_accept4):
21776 Add attribute_hidden.
21777 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21778
21779 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21780 use of PTR_MANGLE.
21781 * inet/getnetgrent_r.c (setup): Likewise.
21782
21783 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21784
21785 2012-07-31 David S. Miller <davem@davemloft.net>
21786
21787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21788
21789 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21790
21791 [BZ #13629]
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
21794 than 1.0.
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.
21804
21805 2012-07-31 Florian Weimer <fweimer@redhat.com>
21806
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.
21810
21811 2012-07-30 Roland McGrath <roland@hack.frob.com>
21812
21813 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21814 rather than to 1.
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.
21821
21822 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21823 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21824
21825 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21826 definition on [!__NO_LONG_DOUBLE_MATH].
21827
21828 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21829 PTR_MANGLE and PTR_DEMANGLE.
21830
21831 * socket/accept4.c (accept4): Rename to __libc_accept4.
21832 Define accept4 as a weak alias.
21833
21834 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21835 on [_DIRENT_HAVE_D_TYPE].
21836 * io/ftw.c (ftw_dir): Likewise.
21837
21838 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21839
21840 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21841
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.
21847 (_NSIG): Now 32.
21848
21849 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21850 initializer on [_LIBC_REENTRANT].
21851
21852 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21853 definitions inside [_POSIX_MAPPED_FILES].
21854
21855 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21856
21857 * dirent/opendir.c: Include <fcntl.h>.
21858
21859 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21860 (__libc_getspecific): Likewise.
21861 (__libc_key_create): Likewise.
21862
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.
21871
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>.
21884
21885 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21886 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21887
21888 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21889 [HAVE_MMAP].
21890
21891 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21892 Add multiple inclusion protection.
21893
21894 2012-07-27 David S. Miller <davem@davemloft.net>
21895
21896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21897
21898 2012-07-27 Gary Benson <gbenson@redhat.com>
21899
21900 [BZ #14298]
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
21914 "unmap_complete".
21915 * elf/rtld-debugger-interface.txt: New file documenting the above.
21916
21917 2012-07-26 Roland McGrath <roland@hack.frob.com>
21918
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.
21923
21924 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21925
21926 * inet/check_native.c: New file.
21927
21928 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21929
21930 [BZ #13629]
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.
21942
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
21949 tst-audit.h.
21950 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21951 macro.
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
21957 macro.
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
21963 macro.
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
21969 macro.
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
21975 macro.
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
21981 macro.
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.
21997
21998 2012-07-26 Andreas Jaeger <aj@suse.de>
21999
22000 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22001 ptrace.
22002
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
22006 PTRACE_O_MASK.
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.
22010
22011 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22012 value.
22013
22014 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22015 _sigsys.
22016 (si_call_addr, si_syscall, si_arch): Define new macro.
22017 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22018 _sigsys.
22019 (si_call_addr, si_syscall, si_arch): Define new marcro.
22020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22021 _sigsys.
22022 (si_call_addr, si_syscall, si_arch): Define new macro.
22023 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22024 _sigsys.
22025 (si_call_addr, si_syscall, si_arch): Define new macro.
22026
22027 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22028
22029 [BZ #13717]
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
22038 kernel version.
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):
22047 Remove.
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
22054 code.
22055 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22056 Remove conditional code.
22057 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22058 code.
22059 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22060 unconditional.
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):
22064 Remove.
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
22073 code.
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
22078 conditional code.
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
22082 code.
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22084 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22085 conditional code.
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
22090 conditional code.
22091 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22092 unconditional.
22093 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22094 conditional code.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22096 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22097 unconditional.
22098 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22099 conditional code.
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
22104 conditional code.
22105 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22106 unconditional.
22107 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22108 conditional code.
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
22113 conditional code.
22114 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22115 unconditional.
22116 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22117 conditional code.
22118
22119 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22120
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.
22144
22145 2012-07-25 Florian Weimer <fweimer@redhat.com>
22146
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
22159 secure_getenv.
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:
22173 Likewise.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22175 Likewise.
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.
22183
22184 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22185
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
22207 pltexit members.
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.
22214
22215 2012-07-25 Marek Polacek <polacek@redhat.com>
22216
22217 [BZ #6808]
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.
22225
22226 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22227
22228 * conform/data/time.h-data (NULL): Use macro-constant. Require
22229 equal to 0.
22230 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22231 clock_t.
22232 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22233
22234 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22235
22236 * configure.in <sysdeps resolving>: Correct printing
22237 Implies_before.
22238 * configure: Regenerate.
22239
22240 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22241
22242 * math/w_ilogb.c: Include <limits.h>.
22243 * math/w_ilogbl.c: Likewise.
22244
22245 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22246
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.
22252
22253 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22254
22255 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22256 (__sendto): Use create_address_port. Initialize APORT and deallocate
22257 it if not null.
22258
22259 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22260 with O_NOLINK passed to __file_name_lookup.
22261
22262 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22263 with O_NOLINK passed to __file_name_lookup.
22264
22265 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22266 negative N or less than NGIDS.
22267
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.
22271
22272 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22273
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:
22284 ... here.
22285 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22287 ... here.
22288 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22290 ... here.
22291 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22293 ... here.
22294 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22296 ... here.
22297 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22299 ... here.
22300
22301 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22302
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.
22307
22308 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22309
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.
22322
22323 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22324
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.
22348
22349 2012-07-17 Marek Polacek <polacek@redhat.com>
22350
22351 [BZ #14349]
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.
22368
22369 * elf/dl-open.c: Comment fixes.
22370
22371 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22372
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:
22385 ... here.
22386 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22388 ... here.
22389 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22391 ... here.
22392 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22394 ... here.
22395 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22397 ... here.
22398 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22400 ... here.
22401 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22403 ... here.
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.
22406
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.
22420
22421 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22422
22423 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22424 zero value for regular exit case.
22425
22426 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22427 (__start_context): Preserve zero value for regular exit case.
22428
22429 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22430 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22431
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
22435 exit call.
22436
22437 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22438
22439 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22440 preprocessor. Test for each exception mask separately.
22441
22442 2012-07-16 Andreas Jaeger <aj@suse.de>
22443
22444 * po/ru.po: Update from translation team.
22445
22446 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22447
22448 * conform/data/string.h-data (NULL): Use macro-constant. Require
22449 equal to 0.
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.
22455
22456 2012-07-13 Andreas Jaeger <aj@suse.de>
22457
22458 * po/fr.po: Update from translation team.
22459
22460 2012-07-12 Marek Polacek <polacek@redhat.com>
22461
22462 [BZ #14173]
22463 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22465 loop condition.
22466
22467 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22468
22469 [BZ #13717]
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
22475 version.
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
22483 unconditionally.
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.
22488
22489 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22490
22491 [BZ #14307]
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).
22502
22503 2012-07-11 Andreas Jaeger <aj@suse.de>
22504
22505 * po/fr.po: Update from translation team.
22506
22507 * po/sv.po: Update from translation team
22508 * po/fr.po: Another update from translation team.
22509
22510 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22511
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.
22516
22517 2012-07-11 David S. Miller <davem@davemloft.net>
22518
22519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22520
22521 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22522
22523 [BZ #14347]
22524 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22525 (INTERNAL_MARK): Shift it here.
22526
22527 2012-07-10 Marek Polacek <polacek@redhat.com>
22528
22529 [BZ #14151]
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
22534 with .globl.
22535 * sysdeps/i386/configure: Regenerated.
22536 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22537 with .globl.
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.
22566
22567 2012-07-09 Roland McGrath <roland@hack.frob.com>
22568
22569 [BZ #14336]
22570 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22571 system".
22572 * manual/message.texi (The Uniforum approach): Likewise.
22573 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22574 (glibc iconv Implementation): Likewise.
22575
22576 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22577
22578 [BZ #14337]
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.
22590
22591 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22592
22593 [BZ #14283]
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.
22596
22597 [BZ #14042]
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.
22603
22604 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22605
22606 [BZ #14154]
22607 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22608 approximation for values within 0x1p-13f of an odd multiple of
22609 pi/4.
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.
22613
22614 [BZ #6778]
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
22624 define.
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.
22632
22633 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22634
22635 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22636
22637 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22638
22639 [BZ #14157]
22640 [BZ #14331]
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.
22650
22651 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22652
22653 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22654 xopen-msg.sed.
22655 * catgets/xopen-msg.awk: New file.
22656 * catgets/xopen-msg.sed: Removed.
22657
22658 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22659 po2text.sed.
22660 * intl/po2test.awk: New file.
22661 * intl/po2test.sed: Removed.
22662
22663 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22664
22665 [BZ #14328]
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.
22684
22685 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22686
22687 * .gitignore: Delete /ports entry.
22688
22689 2012-07-03 Andreas Jaeger <aj@suse.de>
22690
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.
22698
22699 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22700
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.
22747
22748 [BZ #14283]
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.
22756
22757 [BZ #14273]
22758 * math/libm-test.inc (cosh_test): Add more tests.
22759
22760 * version.h (RELEASE): Set to "development".
22761 (VERSION): Set to "2.16.90".
22762
22763 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22764
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.
22768
22769 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22770
22771 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22772
22773 2012-06-27 Andreas Jaeger <aj@suse.de>
22774
22775 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22776
22777 2012-06-25 Andreas Jaeger <aj@suse.de>
22778
22779 * sysdeps/s390/fpu/libm-test-ulps: Update.
22780
22781 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22782 Thomas Schwinge <thomas@codesourcery.com>
22783
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
22787 fanotify_mark.
22788
22789 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22790
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.
22795
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):
22801 Likewise.
22802
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.
22806
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.
22813
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.
22817
22818 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22819 initialize the GOT register before use.
22820
22821 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22822 calculation of ARGC > 4.
22823
22824 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22825 meaningful names to some local labels.
22826
22827 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22828 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22829
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.
22839
22840 2012-06-22 Andreas Schwab <schwab@redhat.com>
22841
22842 [BZ #13579]
22843 * include/link.h (struct link_map): Add l_free_initfini.
22844 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22845 l_initfini.
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
22849 set.
22850
22851 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22852
22853 * configure.in: Use AC_LANG_SOURCE.
22854 * configure: Regenerate.
22855
22856 2012-06-22 Roland McGrath <roland@hack.frob.com>
22857
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.
22866
22867 2012-06-21 Jeff Law <law@redhat.com>
22868
22869 [BZ #14277]
22870 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22871 free. Simplify list management for _LIBC case.
22872
22873 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22874
22875 [BZ #14273]
22876 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22877 Clear sign bit of 64-bit integer value before comparing against
22878 overflow value.
22879
22880 * sysdeps/mach/configure: Regenerated.
22881
22882 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 [BZ #14278]
22885 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22886
22887 2012-06-21 Jeff Law <law@redhat.com>
22888
22889 [BZ #13882]
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.
22894
22895 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22896
22897 * scripts/list-sources.sh: Scan PORTS for translations.
22898 * po/libc.pot: Regenerated.
22899
22900 2012-06-21 Andreas Jaeger <aj@suse.de>
22901
22902 [BZ #12194]
22903 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22904 warning.
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.
22908
22909 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 [BZ #14117]
22912 * sysdeps/i386/fpu_control.h: Removed.
22913 * sysdeps/x86_64/fpu_control.h: Moved to ...
22914 * sysdeps/x86/fpu_control.h: Here.
22915
22916 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22917 (_FPU_SETCW): Likewise.
22918
22919 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 [BZ #14117]
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.
22925
22926 [BZ #14050]
22927 [BZ #14117]
22928 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22929 functions if __x86_64__ is defined.
22930
22931 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22932
22933 * string/endian.h: Add !__ASSEMBLER__ condition for including
22934 conversion interfaces.
22935
22936 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22937
22938 [BZ #14241]
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
22941 integers.
22942 * math/libm-test.inc (pow_test): Add more tests.
22943
22944 2012-06-15 Andreas Jaeger <aj@suse.de>
22945
22946 * manual/contrib.texi (Contributors): Update entry of Liubov
22947 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22948 Machado Filho.
22949
22950 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22951
22952 * string/string.h: Add __wur to GNU version of strerror_r.
22953
22954 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22955
22956 [BZ #14229]
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.
22961
22962 2012-06-14 Roland McGrath <roland@hack.frob.com>
22963
22964 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22965
22966 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22967
22968 * libm_test.inc (csqrt_test): Allow more spurious underflow
22969 exceptions.
22970 (j0_test): Likewise.
22971 (j1_test): Likewise.
22972 (y0_test): Likewise.
22973 (y1_test): Likewise.
22974
22975 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22976
22977 * po/Makefile (libc.pot): Use UTF-8 charset.
22978
22979 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22980
22981 [BZ #14210]
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.
22987
22988 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22989
22990 [BZ #14050]
22991 [BZ #14117]
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.
22998 (lrint): Likewise.
22999 (llrintf): Likewise.
23000 (llrint): Likewise.
23001 (fmaxf): Likewise.
23002 (fmax): Likewise.
23003 (fminf): Likewise.
23004 (fmin): Likewise.
23005 (rint): Likewise.
23006 (rintf): Likewise.
23007 (ceil): Likewise.
23008 (ceilf): Likewise.
23009 (floor): Likewise.
23010 (floorf): Likewise.
23011 (nearbyint): Likewise.
23012 (nearbyintf): Likewise.
23013
23014 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23015
23016 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23017 non-default versions.
23018
23019 2012-06-11 Roland McGrath <roland@hack.frob.com>
23020
23021 [BZ #14218]
23022 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23023
23024 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23025
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.
23030
23031 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23032 reading it.
23033 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23034 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23035
23036 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23037
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.
23042
23043 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23044
23045 [BZ #14117]
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.
23051
23052 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23053 __SSE_MATH__.
23054
23055 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23056
23057 [BZ #14134]
23058 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23059 character 0xffff that matches the last element of the
23060 conversion table.
23061
23062 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23063
23064 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23065 fmodl commit.
23066
23067 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23068
23069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23070 values higher than 25.6283.
23071
23072 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23073
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.
23078
23079 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23080
23081 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23082 cpu2 is -1 and errno is not ENOSYS.
23083
23084 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23085
23086 [BZ #14117]
23087 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23088 * sysdeps/x86/bits/string.h: This.
23089 * sysdeps/x86_64/bits/string.h: Removed.
23090
23091 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23092 if not compiling for x86-64, but compiling for >= i486.
23093
23094 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23095 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23096
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.
23106
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.
23113
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.
23120
23121 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23122
23123 [BZ #13743]
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.
23134
23135 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23136 Jakub Jelinek <jakub@redhat.com>
23137
23138 [BZ #14188]
23139 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23140 where __builtin_expect is unavailable.
23141
23142 2012-06-03 David S. Miller <davem@davemloft.net>
23143
23144 * stdlib/longlong.h: Updated from GCC.
23145
23146 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23147
23148 [BZ #14042]
23149 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23150 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23151 __mcount_internal.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23153 (GLIBC_2.16): Likewise.
23154
23155 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23156
23157 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23158
23159 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23160
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
23165 variable.
23166 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23167 Likewise.
23168 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23169 Likewise.
23170 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23171 Likewise.
23172
23173 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23174 definition. Document in comment.
23175
23176 2012-06-01 David S. Miller <davem@davemloft.net>
23177
23178 * stdlib/longlong.h: Updated from GCC.
23179
23180 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23181
23182 [BZ #14117]
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
23188 sys/io.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.
23195
23196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23197 Define only if __x86_64__ is defined.
23198
23199 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23200
23201 [BZ #14048]
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.
23205
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.
23213
23214 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23215
23216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23217 computation is not scheduled after fetestexcept.
23218
23219 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23220
23221 [BZ #14117]
23222 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23223 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23224
23225 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23226
23227 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23228 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23229
23230 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23231
23232 [BZ #14117]
23233 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23234 <bits/wordsize.h>.
23235 (__WCHAR_MIN): Support __WORDSIZE == 64.
23236 (__WCHAR_MAX): Likewise.
23237
23238 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23240
23241 [BZ #14183]
23242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23243 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23244
23245 [BZ #14117]
23246 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23247 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23248
23249 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23250 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23251
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.
23258
23259 2012-05-31 David S. Miller <davem@davemloft.net>
23260
23261 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23262 entries.
23263
23264 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23265
23266 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23267 gen-libm-test.pl.
23268
23269 [BZ #14132]
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.
23287
23288 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23289
23290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23291 bits/sysctl.h.
23292
23293 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 [BZ #14117]
23296 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23297 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23298
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.
23305
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.
23309
23310 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23311 with __addr.
23312 (insw): Likewise.
23313 (insl): Likewise.
23314 (outsb): Likewise.
23315 (outsw): Likewise.
23316 (outsl): Likewise.
23317
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.
23321
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.
23328
23329 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23330 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23331
23332 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23333 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23334
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.
23338
23339 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23340 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23341 to ...
23342 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23343
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.
23347
23348 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23349 for x86-64.
23350 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23351
23352 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23353
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.
23359 (M_PIl): 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.
23367
23368 2012-05-31 David S. Miller <davem@davemloft.net>
23369
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.
23374
23375 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23376
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.
23384
23385 2012-05-31 Marek Polacek <polacek@redhat.com>
23386
23387 [BZ #14132]
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.
23393
23394 2012-05-30 David S. Miller <davem@davemloft.net>
23395
23396 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23397 (___Q_simulate_exceptions): Use real FP ops rather than writing
23398 into the %fsr.
23399 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23400 Likewise.
23401
23402 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23403
23404 [BZ #14117]
23405 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23406 * sysdeps/x86/bits/xtitypes.h: This.
23407
23408 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23409 * sysdeps/x86/bits/wordsize.h: This.
23410
23411 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23412 * sysdeps/x86/bits/huge_vall.h: This.
23413
23414 * sysdeps/i386/bits/select.h: Removed.
23415 * sysdeps/x86_64/bits/select.h: Renamed to ...
23416 * sysdeps/x86/bits/select.h: This.
23417
23418 * sysdeps/i386/bits/setjmp.h: Removed.
23419 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23420 * sysdeps/x86/bits/setjmp.h: This.
23421
23422 * sysdeps/i386/bits/mathdef.h: Removed.
23423 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23424 * sysdeps/x86/bits/mathdef.h: This.
23425
23426 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23427
23428 [BZ #14132]
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
23437 alias.
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.
23442
23443 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23444
23445 [BZ #14117]
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.
23452
23453 * sysdeps/i386/bits/endian.h: Removed.
23454 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23455 * sysdeps/x86/bits/endian.h: This.
23456
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.
23465
23466 2012-05-30 David S. Miller <davem@davemloft.net>
23467
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.
23478
23479 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23480
23481 [BZ #14183]
23482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23483 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23484
23485 2012-05-30 Richard Henderson <rth@twiddle.net>
23486
23487 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23488 with #ifndef NOT_IN_libc.
23489
23490 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23491 marked to avoid plt entry.
23492
23493 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23494
23495 [BZ #14112]
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
23501 abi-variants.
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
23507 entries.
23508 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23509 Removed.
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):
23521 Removed.
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
23527 macro.
23528 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23529 Renamed to ...
23530 (abi-*): This.
23531 (abi-64-ld-soname): New macro.
23532 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23533 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23534 Renamed to ...
23535 (abi-*): This.
23536 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23537 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23538
23539 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23540
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.
23567
23568 * configure.in (libc_cv_fpie): Weaken to a compile test using
23569 LIBC_TRY_CC_OPTION.
23570 * configure: Regenerated.
23571
23572 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23573
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:
23578 Refreshed.
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:
23585 Refreshed.
23586
23587 2012-05-27 David S. Miller <davem@davemloft.net>
23588
23589 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23590 (___Q_zero): New.
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.
23595 (numbers): Delete.
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
23605 formatting.
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
23610 formatting.
23611
23612 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23613
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.
23627
23628 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23629
23630 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23631 fields.
23632
23633 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23634
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):
23639 Likewise.
23640 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23641 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23642 Likewise.
23643
23644 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23645
23646 * po/h.po: Update from translation team.
23647
23648 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23649
23650 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23651
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):
23661 Likewise.
23662
23663 2012-05-26 Marek Polacek <polacek@redhat.com>
23664
23665 [BZ #14152]
23666 * math/libm-test.inc (fma_test): Don't always expect underflow
23667 exception.
23668
23669 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23670
23671 [BZ #12416]
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.
23675
23676 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23677
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
23681 kernel-features.h.
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
23685 kernel-features.h.
23686 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23687 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23688
23689 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23690
23691 * configure.in: Define the default includes to being none.
23692 * configure: Regenerated.
23693
23694 2012-05-25 Roland McGrath <roland@hack.frob.com>
23695
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.
23704
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.
23712
23713 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23714
23715 [BZ #13717]
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
23853 unconditional.
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
23860 unconditional.
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.
23872
23873 2012-05-25 Richard Henderson <rth@twiddle.net>
23874
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
23878 elf_ifunc_invoke.
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.
23882
23883 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23884
23885 [BZ #14153]
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
23889 exception.
23890
23891 2012-05-24 Jeff Law <law@redhat.com>
23892
23893 * stdio-common/Makefile (tests): Add bug25.
23894 * stdio-common/bug25.c: New test.
23895
23896 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23897
23898 [BZ #13576]
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.
23902
23903 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23904
23905 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23906 Require >= 256.
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.
23937
23938 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23939
23940 [BZ #14132]
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
23967 hidden proto.
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
23996 proto.
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.
24122
24123 2012-05-24 Roland McGrath <roland@hack.frob.com>
24124
24125 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24126
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.
24132
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.
24137
24138 [BZ #14132]
24139 * include/sys/time.h (__gettimeofday): Remove macro.
24140 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24141 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24142 Remove INTDEF.
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.
24155
24156 2012-05-24 Daniel Jacobowitz <drow@false.org>
24157 H.J. Lu <hongjiu.lu@intel.com>
24158
24159 [BZ #12495]
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.
24166
24167 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24168
24169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24171 Likewise.
24172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24173 Likewise.
24174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24175 Likewise.
24176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24177 Likewise.
24178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24179 Likewise.
24180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24181 Likewise.
24182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24183 Likewise.
24184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24185 Likewise.
24186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24187 Likewise.
24188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24189 Likewise.
24190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24191 Likewise.
24192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24193 Likewise.
24194
24195 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24196 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24197
24198 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24199
24200 [BZ #10846]
24201 [BZ #14036]
24202 * math/libm-test.inc (exp_test): Add test from bug 14036.
24203 (pow_test): Add test from bug 10846.
24204
24205 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24206 and other flags.
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.
24214
24215 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24216 exceptions.
24217 * math/libm-test.inc ("Philosophy"): Update comment about
24218 exception testing.
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.
24252
24253 2012-05-23 David S. Miller <davem@davemloft.net>
24254
24255 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24256 (__libc_sigaction): Remove unused local variables.
24257
24258 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24261
24262 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24263
24264 mktime: avoid signed integer overflow
24265 * time/mktime.c (__mktime_internal): Do not mishandle the case
24266 where diff == INT_MIN.
24267
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.
24271
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
24276 tm_isdst values.
24277
24278 mktime: merge another wrapv change from gnulib
24279 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24280 from some compilers.
24281
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).
24288
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
24292 such types.
24293
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.
24301
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.
24308
24309 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24310
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):
24314 Likewise.
24315
24316 2012-05-23 Andreas Jaeger <aj@suse.de>
24317
24318 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24319 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24320
24321 2012-05-23 Andreas Jaeger <aj@suse.de>
24322 Maximilian Attems <max@stro.at>
24323
24324 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24325 New macros.
24326
24327 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24328
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.
24332
24333 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24334
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.
24341
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.
24346
24347 2012-05-23 Andreas Jaeger <aj@suse.de>
24348
24349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24350 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24351 macro.
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.
24364
24365 2012-05-22 Roland McGrath <roland@hack.frob.com>
24366
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.
24370
24371 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24372
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>.
24381
24382 2012-05-22 Andreas Jaeger <aj@suse.de>
24383
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.
24387
24388 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24389
24390 [BZ #14122]
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.
24397
24398 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24399
24400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24401 Add arch_prctl.
24402 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24403
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):
24407 New macro.
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].
24414
24415 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24416
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.
24425
24426 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24427
24428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24429 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24430
24431 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24432 Use "neg %eax".
24433
24434 * time/mktime.c: Update copyright years.
24435
24436 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24437
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.
24444
24445 * time/mktime.c (compile-command): Add "-I.".
24446
24447 mktime: merge mktime-internal.h change from gnulib
24448 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24449
24450 mktime: merge time_r change from gnulib
24451 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24452
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.
24456
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.
24460
24461 mktime: merge HAVE_CONFIG_H change from gnulib
24462 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24463
24464 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24467 Use "neg %eax".
24468
24469 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24470 __rlim_t cast.
24471 (struct rusage): Use anonymous union to pad each field to
24472 __syscall_slong_t.
24473
24474 2012-05-21 David S. Miller <davem@davemloft.net>
24475
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.
24480
24481 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24482
24483 * configure.in (libc_cv_predef_stack_protector): Only consider
24484 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24485 * configure: Regenerated.
24486
24487 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24488
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.
24495
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):
24502 Renamed to ...
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.
24510
24511 2012-05-21 Andreas Jaeger <aj@suse.de>
24512
24513 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24514 only if [SHARED]. Add prototype for __wcschr_ia32.
24515
24516 2012-05-21 Roland McGrath <roland@hack.frob.com>
24517
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.
24523
24524 2012-05-21 Andreas Jaeger <aj@suse.de>
24525
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.
24529
24530 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24531
24532 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24533
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):
24537 New macro.
24538
24539 2012-05-21 Bruno Haible <bruno@clisp.org>
24540 Andreas Jaeger <aj@suse.de>
24541
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
24550 anymore.
24551
24552 2012-05-19 Andreas Jaeger <aj@suse.de>
24553 Roland McGrath <roland@hack.frob.com>
24554
24555 * manual/contrib.texi: Completely rewritten. It contains now an
24556 alphabetical list of contributors and their contributions.
24557
24558 2012-05-21 Richard Henderson <rth@twiddle.net>
24559
24560 * misc/getauxval.c (__getauxval): Use unsigned long int.
24561 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24562 (getauxval): Use unsigned long int.
24563
24564 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24565
24566 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24567
24568 2012-05-21 Roland McGrath <roland@hack.frob.com>
24569
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).
24573
24574 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24575
24576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24577
24578 2012-05-20 Richard Henderson <rth@twiddle.net>
24579
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:
24599 Update.
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.
24608
24609 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24610
24611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24612
24613 2012-05-19 David S. Miller <davem@davemloft.net>
24614
24615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24616
24617 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24618
24619 [BZ #14123]
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.
24637
24638 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24639
24640 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24641 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24642
24643 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24644
24645 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24646
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.
24678
24679 2012-05-18 Andreas Jaeger <aj@suse.de>
24680
24681 * csu/.gitignore: Delete.
24682
24683 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24684
24685 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24686 (timex): Use __syscall_slong_t.
24687
24688 2012-05-18 Andreas Jaeger <aj@suse.de>
24689 Carlos O'Donell <carlos_odonell@mentor.com>
24690
24691 * manual/install.texi (Configuring and compiling): Update
24692 description about files modified in the source directory.
24693 * INSTALL: Regenerated.
24694
24695 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24696
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.
24701
24702 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24703
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):
24708 Likewise.
24709 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24710 CFLAGS-memmove.c): Likewise.
24711 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24712 Likewise.
24713
24714 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24715
24716 * sysdeps/x86_64/x32/_itoa.h: New file.
24717
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.
24721
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.
24726
24727 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24728 years.
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.
24732
24733 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24734 include <bits/wordsize.h>. Check __x86_64__ instead of
24735 __WORDSIZE.
24736 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24737 if __x86_64__ is defined. Use anonymous union on fpstate.
24738
24739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24740 anonymous union.
24741
24742 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24743
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]:
24749 Likewise.
24750 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24751 Likewise.
24752 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24753 Likewise.
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].
24757
24758 * sysdeps/powerpc/powerpc32/dl-machine.c
24759 (__elf_machine_runtime_setup) [PROF]: Don't reference
24760 _dl_prof_resolve.
24761
24762 2012-05-18 Andreas Jaeger <aj@suse.de>
24763
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.
24767 (lrint): Likewise.
24768 (llrintf): Likewise.
24769 (llrint): Likewise.
24770 (fmaxf): Likewise.
24771 (fmax): Likewise.
24772 (fminf): Likewise.
24773 (fmin): Likewise.
24774 (rint): Likewise.
24775 (rintf): Likewise.
24776 (nearbyint): Likewise.
24777 (nearbyintf): Likewise.
24778 (ceil): Likewise.
24779 (ceilf): Likewise.
24780 (floor): Likewise.
24781 (floorf): Likewise.
24782
24783 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24784
24785 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24786 on both fields and cast pointer to __syscall_ulong_t.
24787
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.
24802
24803 2012-05-17 David S. Miller <davem@davemloft.net>
24804
24805 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24806
24807 2012-05-17 Andreas Jaeger <aj@suse.de>
24808
24809 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24810 warning.
24811
24812 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24813
24814 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24815
24816 2012-05-17 Andreas Jaeger <aj@suse.de>
24817
24818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24819 when it is used.
24820
24821 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24822
24823 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24824
24825 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24826
24827 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24828 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24829
24830 2012-05-17 Andreas Jaeger <aj@suse.de>
24831 Carlos O'Donell <carlos_odonell@mentor.com>
24832
24833 [BZ #14059]
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
24853 are present.
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.
24859
24860 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24861
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.
24868
24869 2012-05-17 Andreas Jaeger <aj@suse.de>
24870
24871 * manual/examples/search.c (critter_cmp): Change signature to
24872 avoid warnings.
24873 * manual/string.texi (Collation Functions): Likewise.
24874
24875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24876
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.
24884
24885 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24886
24887 [BZ #208]
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.
24892
24893 2012-05-16 Roland McGrath <roland@hack.frob.com>
24894
24895 [BZ #10375]
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.
24903
24904 [BZ #10375]
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.
24912
24913 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24914
24915 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24916 (mq_attr): Use __syscall_slong_t.
24917
24918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24919
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.
24926
24927 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24928
24929 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24930
24931 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24932
24933 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24934
24935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24936
24937 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24938 __syscall_ulong_t.
24939
24940 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24941 include <bits/wordsize.h>. Check __x86_64__ instead of
24942 __WORDSIZE.
24943 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24944 defined.
24945 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24946
24947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24948 include <bits/wordsize.h>. Check __x86_64__ instead of
24949 __WORDSIZE.
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
24953 defined.
24954
24955 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24956
24957 * configure.in (makeinfo): Require version 4.5 or later. Allow
24958 versions 5 to 9.
24959 * configure: Regenerated.
24960 * manual/install.texi (texinfo): Increase version requirement to
24961 4.5 or later.
24962 * INSTALL: Regenerated.
24963
24964 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24965
24966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24967
24968 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24969
24970 * sysdeps/x86_64/x32/ffs.c: New file.
24971
24972 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24973 __syscall_ulong_t.
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.
24978
24979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24980 __syscall_ulong_t.
24981
24982 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24983 <bits/wordsize.h>.
24984 (msgqnum_t): Use __syscall_ulong_t.
24985 (msglen_t): Likewise.
24986 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24987 __syscall_ulong_t.
24988
24989 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24990 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24991
24992 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24993
24994 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24995 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24996
24997 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24998 __syscall_slong_t.
24999
25000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25001 include <bits/wordsize.h>. Check __x86_64__ instead of
25002 __WORDSIZE.
25003
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.
25007
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.
25011
25012 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25013 <stdint.h>.
25014 (GET_PC): Cast to uintptr_t first.
25015 (GET_FRAME): Likewise.
25016 (GET_STACK): Likewise.
25017
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.
25047
25048 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25049
25050 * Makerules (+depfiles): Also collect depfiles from .oS in
25051 $(extra-objs).
25052 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25053 .oS, $(libnldbl-routines)).
25054
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).
25061
25062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25063
25064 * bits/types.h (__snseconds_t): Removed.
25065 * time/time.h (struct timespec): Replace __snseconds_t with
25066 __syscall_slong_t.
25067 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25068 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25069 Likewise.
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.
25076
25077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25078
25079 * sysdeps/mach/hurd/bits/typesizes.h
25080 (__SYSCALL_SLONG_TYPE): New macro.
25081 (__SYSCALL_ULONG_TYPE): Likewise.
25082
25083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25084
25085 * bits/types.h (__syscall_slong_t): New type.
25086 (__syscall_ulong_t): Likewise.
25087
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.
25099
25100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25101
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
25110 signal stack.
25111 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25112
25113 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25114
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>.
25127
25128 [BZ #14109]
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.
25133
25134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25135
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.
25139
25140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25141
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
25144 load frame size.
25145
25146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25147
25148 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25149
25150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25151
25152 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25153 * sysdeps/x86_64/x32/sysdep.h: New file.
25154
25155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25156
25157 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25158 * sysdeps/x86_64/setjmp.S: Likewise.
25159
25160 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25161
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.
25167
25168 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25169
25170 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25171 include of <not-cancel.h>.
25172
25173 2012-05-15 Roland McGrath <roland@hack.frob.com>
25174
25175 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25176
25177 2012-05-15 Jeff Law <law@redhat.com>
25178 Andreas Jaeger <aj@suse.de>
25179
25180 [BZ #13594]
25181 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25182 out from...
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.
25187
25188 2012-05-15 Roland McGrath <roland@hack.frob.com>
25189
25190 * configure.in (sysnames): Look for Implies-before and Implies-after
25191 files.
25192 * configure: Regenerated.
25193
25194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25195
25196 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25197 8-byte data alignment with LP_SIZE alignment.
25198
25199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25200
25201 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25202 into R10_LP.
25203
25204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25205
25206 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25207
25208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25209
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:
25213 Likewise.
25214 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25215
25216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25217
25218 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25219 (stackinfo_sub_sp): Likewise.
25220
25221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25222
25223 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25224 RAX_LP.
25225
25226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25227
25228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25229 into R*_LP.
25230
25231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25232
25233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25234 sizes into R*_LP.
25235
25236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25237
25238 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25239
25240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25241
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
25244 R8_LP.
25245
25246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25247
25248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25249 R8_LP.
25250
25251 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25252
25253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25254 logb for POWER7.
25255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25256 logbf for POWER7.
25257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25258 logbl for POWER7.
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.
25265
25266 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25267
25268 * README.libm: Remove file.
25269
25270 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25271
25272 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25273 count for x32. Use R*_LP and omit operand-size suffix.
25274
25275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25276
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.
25280
25281 2012-05-14 Roland McGrath <roland@hack.frob.com>
25282
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.
25286
25287 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25288
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.
25292
25293 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25294
25295 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25296 the `q' suffix from lea and replace .quad with ASM_ADDR.
25297
25298 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25299
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
25302 instead of $17.
25303 (PTR_DEMANGLE): Likewise.
25304
25305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25306
25307 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25308 (LP_OP): Likewise.
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.
25317 (R8_LP): Likewise.
25318 (R9_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.
25326
25327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25328
25329 * sysdeps/x86_64/x32/dl-machine.h: New file.
25330
25331 2012-05-14 Andreas Jaeger <aj@suse.de>
25332
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.
25342 (lib): Remove.
25343 (stubs): Remove.
25344 ($(objpfx)stubs ../po/manual.pot): Remove.
25345 ($(objpfx)stamp%): Remove.
25346 (make-target-directory): Remove.
25347 (subdir_install): Remove.
25348 (routines): Remove.
25349 (aux): Remove.
25350 (sources): Remove.
25351 (objects): Remove.
25352 (headers): Remove.
25353
25354 [BZ #13750]
25355 * manual/.gitignore: Remove, it's not needed anymore.
25356 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25357 all files in it.
25358 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25359 directory.
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
25363 libc-texinfo.sh.
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.
25380
25381 * manual/install.texi (Configuring and compiling): Adjust since
25382 the info files are not part of the tar ball anymore.
25383
25384 2012-05-14 Andreas Jaeger <aj@suse.de>
25385
25386 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25387 variable.
25388
25389 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25390
25391 [BZ #13717]
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
25413 conditional code.
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
25423 non-SPARC.
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
25429 conditional code.
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
25507 return 1.
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.
25512
25513 2012-05-14 Andreas Jaeger <aj@suse.de>
25514
25515 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25516 it's not used in glibc.
25517 (__coshm1): Likewise.
25518 (__acosh1p): Likewise.
25519 (__sgn): Likewise.
25520
25521 * manual/string.texi (Copying and Concatenation): Add missing
25522 variable in concat example.
25523 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25524
25525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25526
25527 [BZ #14103]
25528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25529 __builtin_clzl with __builtin_clzll.
25530
25531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 [BZ #14104]
25534 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25535 libc_freeres_ptr.
25536
25537 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25538
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.
25543
25544 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25545
25546 * NEWS: Update ia64 info.
25547
25548 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25549
25550 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25551 used as bcopy.
25552
25553 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25554
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.
25559
25560 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25561
25562 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25563 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25564
25565 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25566
25567 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25568 thread pointer.
25569 (TLS_IE): Use mov/add instead of movq/addq to load thread
25570 pointer.
25571 (TLS_GD_PREFIX): New.
25572 (TLS_GD): Use it.
25573
25574 2012-05-11 David S. Miller <davem@davemloft.net>
25575
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.
25579
25580 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25581
25582 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25583 is 32-byte aligned.
25584
25585 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25586
25587 [BZ #11837]
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.
25592
25593 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25594
25595 [BZ #13673]
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.
25600
25601 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25602
25603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25604 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25605
25606 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25607
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.
25628
25629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25630
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.
25634
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".
25638
25639 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25640 instead of int.
25641
25642 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25643 if __dir_mkfile succeeded.
25644
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.
25648
25649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25650
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.
25658
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):
25664 New macros.
25665 (struct stat64): Likewise.
25666 (_STATBUF_ST_NSEC): New macro.
25667 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25668
25669 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25670 __strtoul_internal rather than strtoul.
25671
25672 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25673
25674 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25675 and reject them.
25676
25677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25678
25679 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25680 which preserves existing values.
25681 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25682
25683 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25684
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.
25688
25689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25690
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.
25695
25696 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25697
25698 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25699 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25700
25701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25702
25703 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25704 sysdeps/mach/hurd/readlink.c.
25705
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
25715 macro to -1.
25716 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25717 macro to -1.
25718 (_POSIX_ASYNC_IO): Undefine macro.
25719 (_POSIX_PRIORITIZED_IO): Undefine macro.
25720 (_POSIX_SPIN_LOCKS): Define macro to -1.
25721
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,
25726 F_DUPFD_CLOEXEC.
25727
25728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25729
25730 * elf/Makefile (pldd-modules): Define unconditionally.
25731
25732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25733
25734 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25735
25736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25737
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.
25741
25742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25743
25744 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25745
25746 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25747
25748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25749
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.
25753
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.
25757
25758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25759
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).
25764
25765 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25766
25767 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25768 REQUESTED_TIME. Properly set the remaining time and return EINTR
25769 if interrupted.
25770
25771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25772
25773 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25774 Depend on against $(link-rpcuserlibs).
25775
25776 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25777
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
25784 attribute_relro.
25785
25786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25787
25788 [BZ #3748]
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.
25794
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.
25802
25803 2012-05-10 Roland McGrath <roland@hack.frob.com>
25804
25805 * math/w_ilogbf.c: Add #include <limits.h>.
25806
25807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25808
25809 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25810 path instead of returning without unlocking.
25811
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.
25815
25816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25817
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.
25824
25825 dup3 for GNU Hurd.
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.
25831
25832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25833
25834 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25835
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
25841 d->port.lock.
25842
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.
25846
25847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25848
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
25851 definitions.
25852
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
25858 __libc_accept4.
25859 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25860
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.
25865
25866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25867
25868 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25869
25870 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25871
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.
25877
25878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25879
25880 [BZ #3906]
25881 * bits/in.h (IPV6_PKTINFO): Define new macro.
25882 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25883
25884 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25885
25886 [BZ #13954]
25887 [BZ #13955]
25888 [BZ #13956]
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.
25896
25897 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25898 Andreas Jaeger <aj@suse.de>
25899
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.
25959
25960 2012-05-10 Roland McGrath <roland@hack.frob.com>
25961
25962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25963 change. Update copyright years.
25964
25965 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25966
25967 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25968
25969 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25970 Joseph Myers <joseph@codesourcery.com>
25971 Paul Pluzhnikov <ppluzhnikov@google.com>
25972
25973 [BZ #14012]
25974 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25975 requiring rpcgen.
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
25989 comment.
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.
25994
25995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25996
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.
26000
26001 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26002
26003 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26004 sysdeps/unix/sysv/syscalls.list.
26005 (stime): Likewise.
26006 (utime): Likewise.
26007 * sysdeps/unix/sysv/syscalls.list: Remove file.
26008
26009 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26010
26011 [BZ #3440]
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.
26017
26018 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26019
26020 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26021 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26022 after this.
26023
26024 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26025
26026 * stdlib/longlong.h: Updated from GCC.
26027
26028 2012-05-09 Andreas Jaeger <aj@suse.de>
26029
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.
26035
26036 [BZ #14053]
26037 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26038 to asm.
26039 (lrint): Likewise.
26040 (llrintf): Likewise.
26041 (llrint): Likewise.
26042 (rint): Likewise.
26043 (rintf): Likewise.
26044 (nearbyint): Likewise.
26045 (nearbyintf): Likewise.
26046
26047 2012-05-09 Andreas Jaeger <aj@suse.de>
26048 Pedro Alves <palves@redhat.com>
26049
26050 * nscd/nscd.c (run_mode): Use enum.
26051 (main): Cleanup coding style issue.
26052
26053 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26054 Andreas Jaeger <aj@suse.de>
26055
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.
26062
26063 2012-05-09 Andreas Jaeger <aj@suse.de>
26064
26065 [BZ #14083]
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]:
26070 Likewise.
26071
26072 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26073
26074 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26075 == 0.
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.
26087 Specify type.
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
26091 type.
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.
26107 Specify type.
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
26174 allow.
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
26180 positive value.
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
26210 allow.
26211
26212 2012-05-08 Ian Wienand <ianw@vmware.com>
26213
26214 [BZ #14080]
26215 * time/tzset.c (__tzset_parse_tz): Update default rules for
26216 daylight time changes in the Energy Policy Act of 2005.
26217
26218 2012-05-09 Andreas Jaeger <aj@suse.de>
26219
26220 [BZ #13983]
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.
26223
26224 2012-05-08 David S. Miller <davem@davemloft.net>
26225
26226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26227 movxtod instead of popping the value on the stack.
26228
26229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26230
26231 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26232
26233 * config.h.in: Add HAVE_ARM_PCS_VFP.
26234
26235 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26236
26237 [BZ #13979]
26238 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26239 checking but the checks are disabled for any reason.
26240
26241 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26242
26243 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26244 and ELF64_R_TYPE with ELFW(R_TYPE).
26245
26246 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26247
26248 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26249 (ulimit): Likewise.
26250
26251 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26252 (settimeofday): Likewise.
26253
26254 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26255
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.
26264 (th_data): Define.
26265 (th_msg): Change to th_u1.th_u2.tu_data.
26266
26267 2012-05-07 David S. Miller <davem@davemloft.net>
26268
26269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26270
26271 [BZ #14074]
26272 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26273 (SETUP_PIC_REG): Use it.
26274 (SETUP_PIC_REG_LEAF): Use it.
26275
26276 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26277
26278 [BZ #13885]
26279 [BZ #13923]
26280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26281 USE_AS_EXPM1L.
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
26286 e_expl.S.
26287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26288 USE_AS_EXPM1L.
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
26293 e_expl.S.
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.
26298
26299 2012-05-06 David S. Miller <davem@davemloft.net>
26300
26301 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26302 quad soft-float symbols whose references which are compiler
26303 generated.
26304 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26305
26306 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26307
26308 [BZ #13884]
26309 [BZ #13914]
26310 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26311 USE_AS_EXP10L.
26312 (EXPL_FINITE): Likewise.
26313 (FLDLOG): Likewise.
26314 (c0): Likewise.
26315 (c1): 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
26320 e_expl.S.
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
26326 USE_AS_EXP10L.
26327 (EXPL_FINITE): Likewise.
26328 (FLDLOG): Likewise.
26329 (c0): Likewise.
26330 (c1): 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
26335 tests for bugs.
26336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26337
26338 [BZ #14064]
26339 * math/libm-test.inc (check_float_internal): Correct ulp
26340 calculation for subnormal expected results.
26341
26342 2012-05-06 Andreas Jaeger <aj@suse.de>
26343
26344 * Makeconfig (+math-flags): New, set to -frounding-math.
26345 (+cflags): Add +math-flags so that all of glibc gets compiled with
26346 it.
26347
26348 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26349
26350 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26351
26352 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26353 Disable one test.
26354
26355 [BZ #13787]
26356 [BZ #13922]
26357 [BZ #14036]
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
26363 underflow.
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
26367 underflow.
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
26371 underflow.
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.
26377
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.
26384
26385 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26386 (nice): Likewise.
26387 (poll): Likewise.
26388 (signal): Likewise.
26389 (time): Likewise.
26390 (times): Likewise.
26391
26392 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26393
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.
26410
26411 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26412
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:
26416 Moved to ...
26417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26418 Here.
26419 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26420 to ...
26421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26422 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26423 to ...
26424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26426 to ...
26427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26428 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26429 to ...
26430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26431 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26432 to ...
26433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26434 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26435 to ...
26436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26437 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26438 to ...
26439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26440 Here.
26441 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26442 to ...
26443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26444 Here.
26445 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26446 to ...
26447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26448 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26449 Moved to ...
26450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26451 Here.
26452 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26453 to ...
26454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26455
26456 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26457
26458 * sysdeps/unix/common/bits/dirent.h: Remove file.
26459 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26460
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.
26468
26469 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26470
26471 [BZ #13563]
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.
26476
26477 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26478
26479 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26481
26482 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26483
26484 [BZ #14049]
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.
26488
26489 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26490
26491 * sysdeps/s390/fpu/libm-test-ulps: Update.
26492
26493 2012-05-03 Andreas Jaeger <aj@suse.de>
26494
26495 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26496 does not get optimized out.
26497 (malloc_opt_barrier): New.
26498
26499 2012-05-03 Andreas Jaeger <aj@suse.de>
26500 Roland McGrath <roland@hack.frob.com>
26501
26502 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26503 intermediate file deletion.
26504 (generated): Add .symlist files.
26505
26506 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26507
26508 [BZ #13775]
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.
26523
26524 2012-05-03 Roland McGrath <roland@hack.frob.com>
26525
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.
26529
26530 2012-05-03 Andreas Jaeger <aj@suse.de>
26531
26532 * sysdeps/i386/fpu/libm-test-ulps: Update.
26533
26534 * FAQ: Removed.
26535 * FAQ.in: Likewise.
26536 * scripts/gen-FAQ.pl: Likewise.
26537 * manual/install.texi (Installation): Point to online location of
26538 FAQ.
26539 * Makefile (files-for-dist): Remove FAQ.
26540 (FAQ): Remove.
26541
26542 2012-05-02 Allan McRae <allan@archlinux.org>
26543
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.
26565
26566 2012-05-02 David S. Miller <davem@davemloft.net>
26567
26568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26569
26570 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26571
26572 [BZ #14055]
26573 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26574
26575 2012-05-02 Andreas Jaeger <aj@suse.de>
26576
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.
26586
26587 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26588
26589 [BZ #2550]
26590 [BZ #2570]
26591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26592 comparisons to determine direction to adjust input.
26593
26594 2012-05-01 Roland McGrath <roland@hack.frob.com>
26595
26596 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26597 output to the target.
26598
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.
26606
26607 * elf/check-localplt.c: File removed.
26608
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.
26618
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.
26628
26629 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26630
26631 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26632 allow.
26633 * conform/data/ctype.h-data [C99-based standards] (isblank):
26634 Expect function.
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.
26722 Require >= 2.
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
26772 bound negative.
26773 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26774 bound with "U".
26775 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26776 bound with "L".
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
26780 bound with "UL".
26781 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26782 Specify type.
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
26786 == 0.
26787 [ISO11] (max_align_t): Require type.
26788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26789
26790 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26791 from $CFLAGS, without defining away __attribute__ calls.
26792 (checknamespace): Use $CFLAGS_namespace.
26793
26794 * conform/conformtest.pl (@keywords): Only include C99 keywords
26795 for standards based on C99 or C11.
26796
26797 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26798 Disable tests.
26799 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26800 UNIX98]: Likewise.
26801
26802 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26803 usability of symbols in #if.
26804
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.
26808
26809 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26810 in one place. Also handle "macro-constant".
26811
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.
26815
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
26819 "typed-constant".
26820
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-".
26824
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.
26834
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.
26839
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.
27030
27031 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27032 _XOPEN_SOURCE_EXTENDED for XPG4.
27033
27034 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27035
27036 * Makeconfig (localtime): Remove variable.
27037 (inst_localtime-file): Likewise.
27038
27039 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27040
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27042 Update.
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27044 Update.
27045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27046 Update.
27047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27048 Update.
27049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27050 Update.
27051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27052 Update.
27053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27054 Update.
27055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27056 Update.
27057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27058 Update.
27059
27060 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27061
27062 [BZ #2550]
27063 [BZ #2570]
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):
27069 Likewise.
27070 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27071 Likewise.
27072 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27073 Likewise.
27074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27076 Likewise.
27077 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27078 Likewise.
27079 * math/libm-test.inc (nexttoward_test): Add more tests.
27080
27081 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27082
27083 [BZ #14040]
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):
27087 Likewise.
27088
27089 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27090
27091 [BZ #13942]
27092 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27093 (1 - x) * (1 + x).
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.
27100
27101 [BZ #14034]
27102 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27103 of square root.
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.
27117
27118 [BZ #13884]
27119 [BZ #13924]
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
27124 of __ieee754_expf.
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.
27130
27131 2012-04-29 Marek Polacek <polacek@redhat.com>
27132
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.
27162
27163 2012-04-29 Andreas Jaeger <aj@suse.de>
27164
27165 * Makerules (tests): Remove enable-check-abi protection.
27166 (check-abi-warn): Remove.
27167 (check-abi-%): Remove check-abi-warn usage.
27168
27169 * configure.in: Remove check-abi configure option.
27170 * configure: Regenerated.
27171 * config.make.in (enable-check-abi): Remove.
27172
27173 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27174
27175 [BZ #14033]
27176 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27177 double functions to double *_finite functions.
27178
27179 [BZ #13941]
27180 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27181 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27182 LDBL_MIN_EXP.
27183 * stdio-common/Makefile (tests): Add tst-sprintf3.
27184 * stdio-common/tst-sprintf3.c: New file.
27185
27186 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27187 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27188
27189 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27190
27191 * conform/conformtest.pl: Remove duplicate typed-constant
27192 handling.
27193
27194 2012-04-28 David S. Miller <davem@davemloft.net>
27195
27196 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27197 (check-abi-%): Remove AWK script prerequisite and explicit
27198 abilist directory.
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
27204 checks.
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
27226 file.
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
27236 file.
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
27241 file.
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
27248 file.
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
27252 file.
27253 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27255 New file.
27256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27257 New file.
27258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27259 New file.
27260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27261 New file.
27262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27263 New file.
27264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27265 New file.
27266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27267 New file.
27268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27269 New file.
27270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27271 New file.
27272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27273 New file.
27274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27275 New file.
27276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27277 New file.
27278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27279 New file.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27281 file.
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27283 New file.
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27285 New file.
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27287 file.
27288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27289 New file.
27290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27291 New file.
27292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27293 file.
27294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27295 New file.
27296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27297 New file.
27298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27299 New file.
27300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27301 New file.
27302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27303 New file.
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27305 New file.
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
27308 file.
27309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27310 New file.
27311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27312 file.
27313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27314 file.
27315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27316 file.
27317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27318 file.
27319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27320 file.
27321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27322 New file.
27323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27324 file.
27325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27326 file.
27327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27328 New file.
27329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27330 file.
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
27333 file.
27334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27335 New file.
27336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27337 file.
27338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27339 file.
27340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27341 file.
27342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27343 file.
27344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27345 file.
27346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27347 New file.
27348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27349 file.
27350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27351 file.
27352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27353 New file.
27354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27355 file.
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
27359 file.
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
27372 file.
27373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27374 New file.
27375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27376 file.
27377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27378 file.
27379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27380 file.
27381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27382 file.
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27384 file.
27385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27386 New file.
27387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27388 New file.
27389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27390 file.
27391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27392 New file.
27393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27394 file.
27395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27397 file.
27398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27399 New file.
27400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27401 file.
27402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27403 file.
27404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27405 file.
27406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27407 file.
27408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27409 file.
27410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27411 New file.
27412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27413 New file.
27414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27415 file.
27416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27417 New file.
27418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27419 file.
27420
27421 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27422
27423 * conform/conformtest.pl: Fix typo in handling typed-constant from
27424 allow-header.
27425
27426 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27427
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
27431 requirements.
27432
27433 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27434
27435 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27436
27437 [BZ #887]
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
27440 rounding mode.
27441
27442 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27443
27444 [BZ #14027]
27445 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27446 to be done.
27447 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27448 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27449
27450 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27451
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.
27459
27460 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27461 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27462
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.
27468 (bsdi*): Likewise.
27469 (osf*): Likewise.
27470 (sunos*): Likewise.
27471 (ultrix*): Likewise.
27472 (newsos*): Likewise.
27473 (dynix*): Likewise.
27474 (*bsd*): Likewise.
27475 (sysv*): Likewise.
27476 (isc*): Likewise.
27477 (esix*): Likewise.
27478 (sco*): Likewise.
27479 (minix*): Likewise.
27480 (irix4*): Likewise.
27481 (irix6*): Likewise.
27482 (solaris[2-9]*): Likewise.
27483 (none): Likewise.
27484 * configure: Regenerated.
27485
27486 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27487
27488 [BZ #11521]
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.
27495
27496 2012-04-26 David S. Miller <davem@davemloft.net>
27497
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.
27513
27514 2012-04-25 David S. Miller <davem@davemloft.net>
27515
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.
27521
27522 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27523
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
27527 libgcc_s.h.
27528 * sysdeps/gnu/unwind-resume.c: Likewise.
27529 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27530
27531 2012-04-25 David S. Miller <davem@davemloft.net>
27532
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.
27548
27549 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27550
27551 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27552 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27553 -DIS_IN_build.
27554
27555 * timezone/README: Update upstream location and email address for
27556 tzcode and tzdata.
27557 * timezone/zdump.c: Update from tzcode 2012b.
27558 * timezone/zic.c: Likewise.
27559
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.
27567
27568 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27569 Paul Pluzhnikov <ppluzhnikov@google.com>
27570
27571 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27572 strings correctly.
27573
27574 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27575
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.
27579
27580 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27581
27582 * sysdeps/unix/fork.S: Remove file.
27583 * sysdeps/unix/i386/fork.S: Likewise.
27584 * sysdeps/unix/sparc/fork.S: Likewise.
27585
27586 * sysdeps/unix/system.c: Remove file.
27587 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27588
27589 * sysdeps/unix/getegid.S: Remove file.
27590 * sysdeps/unix/geteuid.S: Likewise.
27591
27592 2012-04-24 Roland McGrath <roland@hack.frob.com>
27593
27594 * scripts/check-localplt.awk: New file.
27595 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27596 of diff.
27597 * scripts/data/localplt-generic.data: Add a comment.
27598
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>.
27603
27604 2012-04-24 Andreas Jaeger <aj@suse.de>
27605
27606 * Makerules (common-clean): Also remove gen-as-const-headers
27607 files.
27608
27609 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27610
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.
27614
27615 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27616
27617 [BZ #13886]
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.
27622
27623 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27624
27625 * sysdeps/unix/getdents.c: Remove file.
27626 * sysdeps/unix/sysv/getdents.c: Likewise.
27627 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27628
27629 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27630 sysdeps/unix/mman/syscalls.list.
27631 (mmap): Likewise.
27632 (mprotect): Likewise.
27633 (msync): 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.
27638
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.
27645
27646 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27647
27648 * sysdeps/unix/sysv/gethostname.c: Move to ...
27649 * sysdeps/posix/gethostname.c: ... here.
27650
27651 * sysdeps/unix/execve.S: Remove file.
27652
27653 * sysdeps/unix/_exit.S: Remove file.
27654
27655 2012-04-23 Andreas Jaeger <aj@suse.de>
27656
27657 [BZ #13739]
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.
27661 (dist): Removed.
27662 (tar-it): Removed.
27663 (edition): Removed.
27664 (glibc-doc-$(edition).tar): Removed
27665 (%.Z): Removed.
27666 (%.gz): Removed.
27667 (%.uu): Removed.
27668 (ETAGS): Remove, it's in Makeconfig.
27669 (move-if-change): Remove, it's in Makeconfig.
27670
27671 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27672
27673 [BZ #13970]
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.
27681
27682 2012-04-21 Andreas Jaeger <aj@suse.de>
27683
27684 [BZ #13739]
27685 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27686
27687 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27688
27689 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27690 * sysdeps/unix/sysv/Versions: Remove file.
27691
27692 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27693
27694 [BZ #13927]
27695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27696
27697 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27698
27699 [BZ #7064]
27700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27701 version from __vm86.
27702
27703 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27704
27705 * sysdeps/unix/common/lxstat.c: Remove file.
27706 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27707
27708 * sysdeps/unix/sysv/Makefile: Remove file.
27709
27710 * sysdeps/unix/sysv/direct.h: Remove file.
27711
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.
27719
27720 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27721
27722 * sysdeps/unix/xmknod.c: Remove file.
27723 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27724
27725 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27726
27727 * sysdeps/unix/sysv/i386/time.S: Remove file.
27728
27729 * sysdeps/unix/fxstat.c: Remove file.
27730 * sysdeps/unix/xstat.c: Likewise.
27731 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27732
27733 * sysdeps/unix/sysv/sigaction.c: Remove file.
27734
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.
27748
27749 * sysdeps/unix/siglist.c: Remove file.
27750
27751 * sysdeps/unix/getppid.S: Remove file.
27752
27753 * sysdeps/unix/mkdir.c: Remove file.
27754 * sysdeps/unix/rmdir.c: Likewise.
27755
27756 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27757
27758 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27759 ERR_MAX value.
27760 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27761 errlist-compat value.
27762
27763 2012-04-18 David S. Miller <davem@davemloft.net>
27764
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.
27781
27782 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27783
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
27786 overlap.
27787
27788 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27789
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.
27796
27797 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27798
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.
27804
27805 2012-04-18 David S. Miller <davem@davemloft.net>
27806
27807 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27808
27809 2012-04-18 Andreas Jaeger <aj@suse.de>
27810
27811 [BZ# 6794]
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.
27815
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.
27819
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.
27823
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.
27827
27828 2012-04-17 David S. Miller <davem@davemloft.net>
27829
27830 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27831
27832 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27833
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.
27840
27841 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27842
27843 [BZ #6794]
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.
27871
27872 2012-04-17 Petr Baudis <pasky@ucw.cz>
27873
27874 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27875 with altivec.
27876
27877 2012-04-16 Marek Polacek <polacek@redhat.com>
27878
27879 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27880
27881 2012-04-16 Marek Polacek <polacek@redhat.com>
27882
27883 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27884 operands of fdivp instruction.
27885
27886 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27887
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.
27898
27899 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27902 __ILP32__.
27903
27904 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27905
27906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27907 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27908
27909 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27910
27911 [BZ #13973]
27912 * locale/iso-639.def: Fix gl language name. Spotted by
27913 Yaron Shahrabani.
27914
27915 2012-04-12 Roland McGrath <roland@hack.frob.com>
27916
27917 [BZ #2074]
27918 * libio/libio.h (__io_write_fn): Update comment.
27919
27920 2012-04-12 Petr Baudis <pasky@ucw.cz>
27921
27922 [BZ #2074]
27923 * stdio.texi (Hook Functions): The user provided writer function
27924 is not allowed to return -1.
27925
27926 2012-04-11 David S. Miller <davem@davemloft.net>
27927
27928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27929
27930 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27931
27932 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27933 Add a leading slash to rtkaio.
27934
27935 2012-04-11 Jim Meyering <meyering@redhat.com>
27936
27937 [BZ #11959]
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
27941 the fact.
27942
27943 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27944
27945 * bits/types.h (__snseconds_t): New type.
27946 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27947
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.
27955
27956 2012-04-10 Andreas Jaeger <aj@suse.de>
27957
27958 [BZ #2636]
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
27964 _SC_CLK_TCK.
27965
27966 2012-04-10 David S. Miller <davem@davemloft.net>
27967
27968 [BZ #13967]
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.
27971
27972 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27973
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.
27977
27978 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27979
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
27984 _dl_inhibit_cache.
27985 * elf/dl-load.c (_dl_map_object): Use it.
27986 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27987
27988 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27989
27990 [BZ #13872]
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
27996 exceptions.
27997
27998 [BZ #11521]
27999 * math/s_ctan.c: Include <float.h>.
28000 (__ctan): Avoid internal overflow or cancellation in calculating
28001 denominator.
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.
28011
28012 2012-04-09 Andreas Jaeger <aj@suse.de>
28013
28014 [BZ #6894]
28015 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28016 is an optional BSD extension.
28017
28018 [BZ #10254]
28019 * manual/stdio.texi (Opening Streams): Document additional fopen
28020 parameters.
28021
28022 2012-04-09 Roland McGrath <roland@hack.frob.com>
28023
28024 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28025 %eax without telling the compiler.
28026
28027 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28028
28029 [BZ # 13963]
28030 * manual/install.texi: Use sourceware.org.
28031
28032 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28033
28034 [BZ #13873]
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.
28041
28042 [BZ #706]
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.
28049
28050 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28051
28052 [BZ #13705]
28053 * math/libm-test.inc (exp_test): Do not allow overflow exception
28054 on underflow test.
28055
28056 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28057
28058 [BZ #13705]
28059 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28060 instead of __kernel_standard_f.
28061
28062 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28063
28064 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28065 * sysdeps/x86_64/memset_chk.S: Likewise.
28066
28067 2012-04-08 Andreas Jaeger <aj@suse.de>
28068
28069 [BZ #10153]
28070 * manual/startup.texi (Environment Access): Describe return value
28071 for putenv and setenv.
28072
28073 [BZ #6895]
28074 * manual/filesys.texi (Directory Entries): Add description for
28075 DT_LNK.
28076
28077 [BZ #6890]
28078 * manual/filesys.texi (Directory Entries): Clarify that it's file
28079 system not operating system in the description of DT_UNKNOWN.
28080
28081 [BZ #6578]
28082 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28083
28084 2012-04-08 Stephen Compall <s11@member.fsf.org>
28085
28086 [BZ #6649]
28087 * manual/llio.texi (Opening and Closing Files): Add cross
28088 reference to explain mode argument.
28089
28090 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28091
28092 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28093 * sysdeps/x86_64/memset_chk.S: Likewise.
28094
28095 2012-04-07 David S. Miller <davem@davemloft.net>
28096
28097 * elf/elf.h (R_SPARC_WDISP10): Define.
28098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28099 R_SPARC_SIZE32.
28100 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28101 R_SPARC_SIZE64 and R_SPARC_H34.
28102
28103 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28104
28105 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28106 conditions and remove no longer applicable assertion.
28107
28108 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28109
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.
28113
28114 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28115
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.
28126
28127 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28128
28129 [BZ #13895]
28130 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28131 extra indirection.
28132 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28133 * nss/tst-nss-static.c: New.
28134
28135 2012-04-06 Robert Millan <rmh@gnu.org>
28136
28137 [BZ #6486]
28138 * manual/llio.texi (File Position Primitive): lseek
28139 refers to WHENCE when it really means OFFSET.
28140
28141 2012-04-06 Andreas Jaeger <aj@suse.de>
28142
28143 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28144 strncmp declarations.
28145
28146 * abilist/libc.abilist: Add __poll and __ppoll.
28147
28148 2012-04-05 David S. Miller <davem@davemloft.net>
28149
28150 * scripts/check-local-headers.sh: Accept a host triplet in the
28151 path matched by the exclude regexp.
28152
28153 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28154 definition.
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.
28163
28164 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28165 lazy binding.
28166 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28167 undefined symbol errors.
28168
28169 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28170 DT_NEEDED entries.
28171
28172 2012-04-05 Michael Matz <matz@suse.de>
28173
28174 [BZ #13592]
28175 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28176
28177 2012-04-05 Andreas Jaeger <aj@suse.de>
28178
28179 [BZ #13908]
28180 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28181 comment.
28182
28183 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28184
28185 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28186 which ROUND is no valid rounding mode.
28187
28188 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28189
28190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28191 read again.
28192 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28193
28194 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28195
28196 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28197 an exception using FPU order intentionally.
28198
28199 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28200
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.
28205
28206 2012-04-05 Simon Josefsson <simon@josefsson.org>
28207
28208 [BZ #12340]
28209 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28210 EINVAL when BUFLEN is too smal.
28211
28212 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28213
28214 [BZ #13553]
28215 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28216 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28217
28218 2012-04-03 Andreas Jaeger <aj@suse.de>
28219
28220 [BZ #13938]
28221 * manual/setjmp.texi (System V contexts): Fix sentence.
28222
28223 [BZ #13926]
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.
28231
28232 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28233 __GLIBC_HAVE_LONG_LONG.
28234
28235 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28236 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28237
28238 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28239
28240 [BZ #13691]
28241 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28242 inptr and inend, rather than using last_ch.
28243
28244 2012-04-02 David S. Miller <davem@davemloft.net>
28245
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.
28259
28260 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28261
28262 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28263 CHAR_MAX.
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.
28267
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.
28273
28274 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28275
28276 * po/ru.po: Update from translation team.
28277 * po/vi.po: Likewise.
28278
28279 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28280
28281 * resolv/nss_dns/dns-host.c: Merge copyright years.
28282
28283 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28284
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.
28289
28290 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28291
28292 [BZ #13928]
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.
28296
28297 2012-03-30 Jeff Law <law@redhat.com>
28298
28299 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28300 due to long keys.
28301 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28302 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28303
28304 * resolv/nss_dns/dns-host.c: Update copyright year.
28305
28306 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28307
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.
28310
28311 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28312 comments for sendmmsg.
28313
28314 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28315
28316 [BZ #13691]
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.
28321
28322 2012-03-29 David S. Miller <davem@davemloft.net>
28323
28324 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28325 small copies by hand.
28326
28327 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28328
28329 [BZ #13761]
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.
28333
28334 2012-03-28 David S. Miller <davem@davemloft.net>
28335
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
28343 bits.
28344 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28345 implementation too.
28346 * sysdeps/sparc/mempcpy.S: New file.
28347
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.
28351
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.
28360
28361 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28362 loop to 256 bytes instead of 64 bytes and fix test signedness.
28363
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.
28367
28368 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28369
28370 * malloc/mallocbug.c: Avoid warnings about unused variables.
28371
28372 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28373
28374 [BZ #13760]
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.
28378
28379 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28380
28381 [BZ #369]
28382 [BZ #2678]
28383 [BZ #3866]
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.
28395
28396 [BZ #3868]
28397 [BZ #13879]
28398 [BZ #13910]
28399 [BZ #13911]
28400 [BZ #13912]
28401 [BZ #13913]
28402 [BZ #13915]
28403 [BZ #13916]
28404 [BZ #13917]
28405 [BZ #13918]
28406 [BZ #13919]
28407 [BZ #13920]
28408 [BZ #13921]
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
28413 __kernel_standard.
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.
28457
28458 2012-03-27 Anton Blanchard <anton@samba.org>
28459
28460 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28461 MAP_HUGETLB.
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.
28465
28466 2012-03-27 David S. Miller <davem@davemloft.net>
28467
28468 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28469
28470 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28471 have-as-vis3 check.
28472
28473 2012-03-27 Andreas Jaeger <aj@suse.de>
28474
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.
28480
28481 * sysdeps/x86_64/configure.in: Merge contents from
28482 sysdeps/i386/configure.in (without i686 check).
28483
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.
28493
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.
28500
28501 * sysdeps/unix/i386/start.c: Delete file.
28502 * sysdeps/unix/sparc/start.c: Delete file.
28503 * sysdeps/unix/start.c: Delete file.
28504
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.
28510
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.
28522
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.
28530
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.
28535
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.
28547
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.
28559
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.
28572
28573 * configure.in: Remove support for elf directories in sysdeps.
28574
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.
28584
28585 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28586
28587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28588
28589 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28590 denormal result into account.
28591
28592 2012-03-25 Roland McGrath <roland@hack.frob.com>
28593
28594 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28595 Reported by Allan McRae <allan@archlinux.org>.
28596
28597 2012-03-23 Jeff Law <law@redhat.com>
28598
28599 * nss/getnssent.c (__nss_getent): Fix typo.
28600
28601 2012-03-23 David S. Miller <davem@davemloft.net>
28602
28603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28604
28605 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28606
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.
28610
28611 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28612 Paul Pluzhnikov <ppluzhnikov@google.com>
28613
28614 [BZ #6528]
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.
28628
28629 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28630
28631 [BZ #13892]
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.
28640
28641 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28642
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).
28646
28647 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28648
28649 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28650 with uint64_t.
28651
28652 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28653
28654 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28655 declaration.
28656 (struct La_x32_retval): Likewise.
28657
28658 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28659
28660 * sysdeps/x86_64/preconfigure.in: New file.
28661 * sysdeps/x86_64/preconfigure: New generated file.
28662
28663 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28664
28665 [BZ #13824]
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
28669 __ieee754_expl.
28670 * math/libm-test.inc (exp2_test): Add more tests.
28671
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):
28675 Likewise.
28676 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28678 Likewise.
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.
28682
28683 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28684
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.
28694
28695 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28696 and x32_gnu_pltexit.
28697
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.
28704
28705 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28706
28707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28708 exponent.
28709
28710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28711
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
28722 define.
28723 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28724 define.
28725
28726 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28727
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.
28742
28743 2012-03-21 David S. Miller <davem@davemloft.net>
28744
28745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28746
28747 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28750 of x86_64 when setting libc_cv_slibdir, libdir and
28751 libc_cv_localedir.
28752 * sysdeps/unix/sysv/linux/configure: Regenerated.
28753
28754 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28755
28756 * manual/lang.texi (Old Varargs): Remove section.
28757 (How Variadic): Update menu.
28758 (va_start): Do not mention varargs.h.
28759
28760 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28761 Joseph Myers <joseph@codesourcery.com>
28762
28763 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28764 link test.
28765 * configure: Regenerated.
28766
28767 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28768
28769 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28770 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28771 conformtest.pl
28772
28773 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28774
28775 * NOTES: Remove.
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
28781 NOTES.
28782
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.
28794
28795 [BZ #13883]
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.
28802
28803 2012-03-21 Allan McRae <allan@archlinux.org>
28804
28805 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28806
28807 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28808
28809 [BZ #13871]
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
28813 __kernel_standard.
28814 * math/w_exp2f.c: Likewise.
28815 * math/w_exp2l.c: Likewise.
28816 * math/libm-test.inc (exp2_test): Require overflow exception for
28817 1e6 input.
28818
28819 [BZ #3866]
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
28829 ones as needed.
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
28835 ones as needed.
28836 * math/libm-test.inc (pow_test): Add more tests.
28837
28838 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28839
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.
28890
28891 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28892
28893 * stdio-common/_itoa.h: Moved to ...
28894 * sysdeps/generic/_itoa.h: Here.
28895
28896 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28897
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.
28901
28902 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28903
28904 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28905 <bits/wordsize.h>.
28906 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28907 (__signbit): Likwise.
28908 (llrintf): Likwise.
28909 (llrint): Likwise.
28910
28911 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28912
28913 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28914 __WORDSIZE != 64.
28915
28916 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28917
28918 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28919 OVERFLOW_EXCEPTION_OK.
28920 * math/libm-test.inc ("Philosophy"): Update comment about
28921 exception testing.
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.
28935
28936 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28937
28938 * sysdeps/x86_64/bits/atomic.h
28939 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28940 64bit integer.
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.
28946
28947 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28950 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28951
28952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28953
28954 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28955 Check __x86_64__ instead of __WORDSIZE.
28956
28957 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28958
28959 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28960
28961 2012-03-19 David S. Miller <davem@davemloft.net>
28962
28963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28964
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):
28968 Remove.
28969 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28970 (libc_feholdexcept_setroundl): Remove.
28971 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28972 Remove.
28973 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28974 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28975
28976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28977
28978 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28979 int64_t instead of long int.
28980 (INSERT_WORDS64): Likwise.
28981
28982 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28985 _Unwind_GetCFA return to _Unwind_Ptr first.
28986
28987 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28988
28989 [BZ #13629]
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.
29003
29004 [BZ #11451]
29005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29006 x and y.
29007 * math/libm-test.inc (atan2_test): Add another test.
29008
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):
29014 Remove rule.
29015 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29016 Likewise.
29017 [generic bits/local_lim.h] (before-compile): Do not append to
29018 variable.
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
29025 include.
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
29031 variable.
29032 [generic sys/param.h] (sysdep_headers): Likewise.
29033 [generic bits/errno.h] (before-compile): Do not append to
29034 variable.
29035 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29036 rule.
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
29041 variable.
29042 [generic bits/ioctls.h] (before-compile): Do not append to
29043 variable.
29044 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29045 rule.
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
29049 rule.
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
29054 variable.
29055 [generic sys/syscall.h] (syscall.h): Remove variable.
29056 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29057 rule.
29058 [generic sys/syscall.h] (before-compile): Do not append to
29059 variable.
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.
29067
29068 2012-03-19 Richard Henderson <rth@twiddle.net>
29069
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.
29083
29084 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29085 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29086
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.
29095
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
29106 SET_RESTORE_ROUND.
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.
29109 (__cos): Likewise.
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.
29119
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.
29123
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.
29141
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.
29153
29154 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29155
29156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29157
29158 2012-03-17 David S. Miller <davem@davemloft.net>
29159
29160 [BZ #6471]
29161 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29162 for 2.16.
29163
29164 2012-03-16 David S. Miller <davem@davemloft.net>
29165
29166 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29167 warnings.
29168
29169 [BZ #6471]
29170 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29171 properly.
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.
29177
29178 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29179
29180 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29183 [__LP64__].
29184
29185 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29186
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.
29193
29194 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29195
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.
29200
29201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29202
29203 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29204 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29205
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>.
29212
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.
29216
29217 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29218 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29219
29220 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29221
29222 [BZ #2551]
29223 [BZ #2552]
29224 [BZ #2553]
29225 [BZ #2554]
29226 [BZ #2562]
29227 [BZ #2563]
29228 [BZ #2565]
29229 [BZ #2566]
29230 [BZ #2576]
29231 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29232 (y0): Likewise.
29233 * math/w_j0f.c (j0f): Likewise.
29234 (y0f): Likewise.
29235 * math/w_j0l.c (__j0l): Likewise.
29236 (__y0l): Likewise.
29237 * math/w_j1.c (j1): Likewise.
29238 (y1): Likewise.
29239 * math/w_j1f.c (j1f): Likewise.
29240 (y1f): Likewise.
29241 * math/w_j1l.c (__j1l): Likewise.
29242 (__y1l): Likewise.
29243 * math/w_jn.c (jn): Likewise.
29244 (yn): Likewise.
29245 * math/w_jnf.c (jnf): Likewise.
29246 (ynf): Likewise.
29247 * math/w_jnl.c (__jnl): Likewise.
29248 (__ynl): 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.
29256
29257 [BZ #13851]
29258 [BZ #13854]
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.
29273
29274 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29275
29276 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29277 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29278
29279 2012-03-16 Roland McGrath <roland@hack.frob.com>
29280
29281 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29282 * configure.in: Use it for both main tree and add-ons.
29283 * configure: Regenerated.
29284
29285 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29286
29287 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29288
29289 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29290
29291 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29292 in comment.
29293
29294 [BZ #13851]
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
29300 infinite argument.
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.
29321
29322 2012-03-16 David S. Miller <davem@davemloft.net>
29323
29324 * sysdeps/sparc/fpu/math_private.h: New file.
29325
29326 2012-03-15 David S. Miller <davem@davemloft.net>
29327
29328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29329 file.
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29332 file.
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
29339 sysdep routines.
29340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29341
29342 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29343 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29344
29345 * sysdeps/sparc/sparc-ifunc.h: New file.
29346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29347 sparc-ifunc.h
29348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29350 Likewise.
29351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29352 Likewise.
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:
29357 Likewise.
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:
29363 Likewise.
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29365 Likewise.
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.
29390
29391 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29392
29393 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29394 scaling.
29395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29396
29397 2012-03-15 Andreas Jaeger <aj@suse.de>
29398
29399 [BZ #13852]
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.
29408
29409 * math/libm-test.inc (cos_test): Enable some large input tests for
29410 float as well
29411 (sin_test): Likewise.
29412 (sincos_test): Likewise.
29413 (tan_test): Add tests for large input.
29414
29415 * sysdeps/i386/fpu/libm-test-ulps: Update.
29416
29417 2012-03-15 Andreas Jaeger <aj@suse.de>
29418
29419 [BZ #13658]
29420 * math/libm-test.inc (cos_test): Add more test cases.
29421 (sin_test): Likewise.
29422 (sincos_test): Likewise.
29423
29424 2012-03-15 Andreas Jaeger <aj@suse.de>
29425
29426 [BZ #13837]
29427 * math/libm-test.inc (cos_test): Add a test case for large input
29428 value.
29429 (sin_test): Likewise.
29430 (sincos_test): Likewise.
29431
29432 2012-03-15 Andreas Jaeger <aj@suse.de>,
29433 Joseph Myers <joseph@codesourcery.com>
29434
29435 [BZ #13658]
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.
29445
29446 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29447 Define.
29448 (libc_feupdateenv_53bit): Define.
29449 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29450 Define.
29451 (libc_feupdateenv_53bit): Define.
29452
29453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29454 53 bit (without extend i386 double precision).
29455
29456 * math/libm-test.inc (sincos_test): Add tests for large input.
29457 (sin): Likewise.
29458 (cos): Likewise.
29459
29460 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29461
29462 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29463
29464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29465
29466 2012-03-15 David S. Miller <davem@davemloft.net>
29467
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
29484 file.
29485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29487 file.
29488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29490 file.
29491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29493 file.
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.
29498
29499 2012-03-14 David S. Miller <davem@davemloft.net>
29500
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
29530 routines.
29531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29532 file.
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29535 file.
29536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29538 file.
29539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29541 file.
29542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29544 file.
29545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29547 file.
29548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29549 file.
29550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29551 file.
29552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29553 file.
29554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29555 New file.
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29557 file.
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29559 file.
29560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29562 file.
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29565 file.
29566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29568 file.
29569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29571 VIS3 routines.
29572
29573 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29574 New file.
29575
29576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29577
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:
29589 New file.
29590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29591 file.
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29593 New file.
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29595 file.
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.
29601
29602 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29603 fzeros/fnegs to load 0x80000000 into a float register instead of
29604 using the stack.
29605 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29606
29607 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29608
29609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29610 bits/syscall.h.
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.
29618
29619 2012-03-14 Roland McGrath <roland@hack.frob.com>
29620
29621 [BZ #13846]
29622 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29623
29624 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29625
29626 [BZ #13841]
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.
29634
29635 [BZ #13840]
29636 * math/libm-test.inc (hypot_test): Add more tests.
29637
29638 2012-03-13 David S. Miller <davem@davemloft.net>
29639
29640 [BZ #13840]
29641 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29642 double-precision for the calculation instead of scaling.
29643
29644 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29645
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):
29650 Likewise.
29651 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29652
29653 2012-03-13 David S. Miller <davem@davemloft.net>
29654
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.
29660
29661 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29662 large parameters.
29663
29664 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29665
29666 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29667 'err' in the ifdef scope in which it is actually used.
29668
29669 * nss/nss_db/db-init.c: Include string.h
29670
29671 2012-03-12 David S. Miller <davem@davemloft.net>
29672
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.
29677
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
29681 expression.
29682 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29683 later.
29684
29685 2012-03-11 David S. Miller <davem@davemloft.net>
29686
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.
29691
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.
29694
29695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29696
29697 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29698
29699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29700
29701 2012-03-09 David S. Miller <davem@davemloft.net>
29702
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
29712 call.
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.
29716
29717 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29718
29719 * sunrpc/Makefile (others): Add rpcgen.
29720 ($(objpfx)rpcgen): Remove special build rule and dependency on
29721 libc.
29722 * sunrpc/rpcgen.c: New file.
29723
29724 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29725
29726 [BZ #13673]
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.
29738
29739 [BZ #13673]
29740 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29741 with URL.
29742 * locale/programs/locfile-kw.gperf: Likewise.
29743 * locale/programs/charmap-kw.h: Regenerated.
29744 * locale/programs/locfile-kw.h: Likewise.
29745
29746 [BZ #13673]
29747 * intl/plural.y: Replace FSF snail mail address with URL.
29748 * intl/plural.c: Regenerated.
29749
29750 2012-03-09 Richard Henderson <rth@twiddle.net>
29751
29752 * include/math_private.h: Remove file.
29753 * math/math_private.h: Move file ...
29754 * sysdeps/generic/math_private.h: ... here.
29755
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.
29759
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.
30096
30097 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30098
30099 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30100 * sunrpc/rpc_main.c: Likewise.
30101 * sunrpc/rpc_svcout.c: Likewise.
30102
30103 2012-03-09 David S. Miller <davem@davemloft.net>
30104
30105 * include/math_private.h: New file.
30106
30107 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30108
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.
30117
30118 [BZ #13566]
30119 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30120 checking __USE_GNU.
30121
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.
30126
30127 2012-03-08 Richard Henderson <rth@twiddle.net>
30128
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.
30133
30134 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30135 to inline function.
30136 (__rintf, __floor, __floorf): Likewise.
30137
30138 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30139 macro to inline function.
30140 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30141
30142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30143 not <math/math_private.h>.
30144
30145 2012-03-08 David S. Miller <davem@davemloft.net>
30146
30147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30148 copyright year.
30149 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30150
30151 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30152
30153 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30154 normalization.
30155 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30156 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30157
30158 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30159
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.
30165
30166 2012-03-07 Marek Polacek <polacek@redhat.com>
30167
30168 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30169
30170 2012-03-08 Marek Polacek <polacek@redhat.com>
30171
30172 [BZ #13806]
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.
30177
30178 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #6911]
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
30190 expansion.
30191 * manual/filesys.texi: Likewise.
30192 (getumask): Document as specific to GNU/Hurd.
30193 * manual/install.texi: Likewise. Reword some references to
30194 GNU/Linux.
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
30209 child on GNU/Hurd.
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.
30223
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
30227 puts.
30228 * configure: Regenerated.
30229
30230 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30231
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.
30235
30236 [BZ #10716]
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.
30247
30248 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30249
30250 * po/zh_TW.po: Update from translation team.
30251
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.
30296
30297 [BZ #6959]
30298 * timezone/Makefile: Don't install timezone files, just the programs
30299 and scripts.
30300
30301 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30302
30303 * nss/databases.def: Add missing gshadow entry.
30304
30305 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30306
30307 2012-03-06 Marek Polacek <polacek@redhat.com>
30308
30309 [BZ #13726]
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.
30314
30315 2012-03-06 David S. Miller <davem@davemloft.net>
30316
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
30324 __builtin_expect.
30325 (INLINE_CLONE_SYSCALL): Likewise.
30326
30327 2012-03-05 David S. Miller <davem@davemloft.net>
30328
30329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30330
30331 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30332
30333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30334
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.
30338
30339 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30340
30341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30342 Replace gettimeofday with __vdso_gettimeofday.
30343
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.
30347
30348 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30349 time with __vdso_time.
30350
30351 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30352
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.
30356
30357 2012-03-05 Andreas Jaeger <aj@suse.de>
30358
30359 * sysdeps/i386/fpu/libm-test-ulps: Update.
30360
30361 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30362
30363 [BZ #3976]
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.
30374
30375 [BZ #3976]
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.
30387
30388 2012-03-05 Tom de Vries <tom@codesourcery.com>
30389
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.
30393
30394 2012-03-05 Kees Cook <keescook@chromium.org>
30395
30396 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30397
30398 [BZ #13656]
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.
30403
30404 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30405
30406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30407
30408 2012-03-03 Marek Polacek <polacek@redhat.com>
30409
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.
30415
30416 2012-03-02 David S. Miller <davem@davemloft.net>
30417
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.
30426
30427 2012-03-02 Roland McGrath <roland@hack.frob.com>
30428
30429 [BZ #13792]
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.
30475
30476 [BZ #13792]
30477 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30478 function to ...
30479 * manual/timeval_subtract.c.texi: ... here, new file.
30480
30481 2012-03-02 David S. Miller <davem@davemloft.net>
30482
30483 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30484
30485 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30486
30487 [BZ #3976]
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
30494 <fenv.h>.
30495 (tan): Save and restore rounding mode and use round-to-nearest for
30496 all computations.
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.
30512
30513 [BZ #10135]
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):
30518 Likewise.
30519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30520 Likewise.
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.
30531
30532 * manual/filesys.texi (mode_t): Describe constraints on size and
30533 signedness, not exact equivalence to a particular type.
30534 (ino_t): Likewise.
30535 (ino64_t): Likewise.
30536 (dev_t): Likewise.
30537 (nlink_t): Likewise.
30538 (blkcnt_t): Likewise.
30539 (blkcnt64_t): Likewise.
30540 * manual/llio.texi (off_t): Likewise.
30541
30542 [BZ #3976]
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.
30553
30554 2012-03-01 Chris Demetriou <cgd@google.com>
30555
30556 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30557 have predictable order.
30558
30559 2012-03-01 David S. Miller <davem@davemloft.net>
30560
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30562
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.
30567
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.
30577
30578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30579
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.
30583
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.
30603
30604 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30605
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.
30611
30612 [BZ #2541]
30613 [BZ #4108]
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
30618 exponent.
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.
30623
30624 2012-03-01 Kai Tietz <ktietz@redhat.com>
30625
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.
30632
30633 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30634
30635 [BZ #13786]
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.
30644
30645 [BZ #5794]
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.
30649
30650 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30652
30653 2012-02-29 Jeff Law <law@redhat.com>
30654
30655 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30656 out of bounds read.
30657
30658 2012-02-29 Marek Polacek <polacek@redhat.com>
30659
30660 [BZ #13706]
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.
30663
30664 2012-02-28 David S. Miller <davem@davemloft.net>
30665
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.
30672
30673 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30674
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
30678 from bug 2561.
30679
30680 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30681
30682 * sysdeps/x86_64/fpu/e_expf.S: New file.
30683 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30684
30685 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30686
30687 [BZ #13637]
30688 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30689 of remain_len that may cause incomplete multi-byte character and
30690 false match.
30691 * posix/bug-regex33.c: New file.
30692 * posix/Makefile (tests): Add bug-regex33.
30693
30694 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30695
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.
30743
30744 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30745
30746 * include/dirent.h: Include <dirstream.h> before
30747 <dirent/dirent.h>.
30748
30749 2012-02-28 David S. Miller <davem@davemloft.net>
30750
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.
30755
30756 2012-02-27 David S. Miller <davem@davemloft.net>
30757
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.
30762
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.
30768
30769 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30770
30771 [BZ #3992]
30772 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30773
30774 2012-02-27 David S. Miller <davem@davemloft.net>
30775
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.
30784
30785 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30786
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.
30794
30795 2012-02-27 David S. Miller <davem@davemloft.net>
30796
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.
30805
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.
30809
30810 2012-02-27 Roland McGrath <roland@hack.frob.com>
30811
30812 [BZ #13775]
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.
30817
30818 * rt/tst-aio.c: Include <fcntl.h>.
30819 * rt/tst-aio7.c: Likewise.
30820 * rt/tst-aio64.c: Likewise.
30821
30822 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30823
30824 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30825
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
30830 kernels.
30831 * INSTALL: Regenerated.
30832 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30833 Change to 2.6.19.
30834 * sysdeps/unix/sysv/linux/configure: Regenerated.
30835
30836 * manual/llio.texi (fclean): Remove documentation.
30837
30838 * manual/Makefile (libc-texi-generated): New variable. Include
30839 version.texi.
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.
30848 (ISBN): Likewise.
30849 (VERSION, UPDATED): Remove.
30850 (version.texi): Include.
30851
30852 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30853
30854 * sysdeps/posix/spawni.c: Include <signal.h>.
30855 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30856 * sysdeps/pthread/aio_fsync.c: Likewise.
30857
30858 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30859
30860 * conform/Makefile (tests): Run only when not cross-compiling and
30861 when fast-check is not defined.
30862
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
30867 headers.
30868 * include/bits/dlfcn.h: Likewise.
30869 * include/langinfo.h: Likewise.
30870 * include/monetary.h: Likewise.
30871 * include/sys/poll.h: Likewise.
30872
30873 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30874 for __USE_GNU.
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.
30886
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.
30908
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
30915 sigevent.
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.
30920
30921 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30922
30923 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30924
30925 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30926
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
30930 support.
30931
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.
31006
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.
31055
31056 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31057
31058 * time/time.h: TIME_UTC must be a macro.
31059 Make timespec_get available for ISO C11 only as well.
31060
31061 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31062
31063 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31064 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31065
31066 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31067
31068 * configure.in: Use -o not -a in test for unsupported multi-arch.
31069
31070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31071
31072 * manual/texinfo.tex: Update to version 2012-01-19.16.
31073
31074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31075
31076 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31077
31078 2012-02-24 Roland McGrath <roland@hack.frob.com>
31079
31080 [BZ #13738]
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.
31084
31085 [BZ #13738]
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.
31089
31090 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31091 Roland McGrath <roland@hack.frob.com>
31092
31093 [BZ #5461]
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
31098 name.
31099 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31100
31101 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31102
31103 [BZ #2547]
31104 [BZ #11365]
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.
31108
31109 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31110
31111 [BZ #2548]
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.
31119
31120 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31121
31122 [BZ #10110]
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.
31127
31128 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31129
31130 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31131
31132 2012-02-21 David S. Miller <davem@davemloft.net>
31133
31134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31136
31137 2012-02-20 David S. Miller <davem@davemloft.net>
31138
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.
31143
31144 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31145
31146 * manual/install.texi: Fix stray word in line-wrapped comment.
31147
31148 2012-02-20 David S. Miller <davem@davemloft.net>
31149
31150 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31151 both binutils and gcc support GOTDATA.
31152
31153 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31154 "rd %pc" in the PIC register setup sequences.
31155
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.
31170
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.
31176
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.
31183
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.
31189
31190 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31191
31192 * manual/install.texi: Do not mention specific glibc version
31193 numbers.
31194 * manual/libc.texinfo (VERSION, UPDATED): Update.
31195 (@copying): Use @copyright{} and range of years.
31196
31197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31198
31199 [BZ #13695]
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)):
31208 Likewise.
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
31215 variable.
31216 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31217 Likewise.
31218
31219 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31220
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
31227 <bits/epoll.h>.
31228 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31229 (__EPOLL_PACKED): Define to empty if not defined by
31230 <bits/epoll.h>.
31231 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31233 bits/epoll.h.
31234
31235 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31236
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
31241 <bits/timerfd.h>.
31242 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31244 bits/timerfd.h.
31245
31246 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31247
31248 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31249 in C locale.
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.
31254
31255 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31256
31257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31259
31260 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31261
31262 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31263 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31264 defined.
31265 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31266 Likewise.
31267 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31268 entry for 2.16.
31269
31270 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31271
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.
31312
31313 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31314
31315 [BZ #9739]
31316 * manual/string.texi (strnlen): Use correct parameter name in
31317 equivalent expression.
31318
31319 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31320
31321 [BZ #11174]
31322 * manual/users.texi (seteuid): Consistently use neweuid for
31323 argument name.
31324
31325 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31326
31327 [BZ #13704]
31328 * manual/nss.texi (Services in the NSS configuration): Correct
31329 list of services in example configuration file.
31330
31331 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31332
31333 [BZ #11322]
31334 * manual/arith.texi: Remove statements about negative zero
31335 behaving identically to zero.
31336
31337 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31338
31339 [BZ #5993]
31340 * manual/install.texi: Do not document upgrading from libc5.
31341
31342 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31343
31344 [BZ #4596]
31345 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31346
31347 2012-02-18 David S. Miller <davem@davemloft.net>
31348
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
31353 instead.
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.
31359
31360 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31361
31362 * aout/Makefile: Remove.
31363
31364 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31365
31366 [BZ #13058]
31367 * manual/examples/argp-ex1.c (main): Format definition in GNU
31368 style.
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
31373 definition.
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.
31377
31378 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31379
31380 [BZ #5077]
31381 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31382 rounding modes.
31383
31384 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31385
31386 [BZ #6907]
31387 * manual/string.texi (strchr): Change when strchrnul is
31388 recommended.
31389
31390 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31391
31392 [BZ #174]
31393 * manual/locale.texi (setlocale): Document LOCPATH.
31394
31395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31396
31397 [BZ #10210]
31398 * manual/process.texi (execle): Move @dots{} before last argument.
31399
31400 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31401
31402 [BZ #12047]
31403 * manual/charset.texi (Generic Charset Conversion): Fix typo
31404 (LC_TYPE -> LC_CTYPE).
31405
31406 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31407
31408 [BZ #5805]
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.
31417 (verr): Likewise.
31418 (verrx): 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.
31423 (jnf): Likewise.
31424 (jnl): Likewise.
31425 (yn): Likewise.
31426 (ynf): Likewise.
31427 (ynl): Likewise.
31428 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31429 line.
31430 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31431 "...".
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
31436 names.
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
31441 "...".
31442 * manual/stdio.texi (__fpending): Separate initial words of
31443 paragraph from @deftypefun line.
31444 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31445 "...".
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.
31450
31451 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31452
31453 [BZ #6884]
31454 * manual/stdio.texi (fopen): Fix typos in description of
31455 ",ccs=STRING".
31456
31457 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31458
31459 [BZ #4026]
31460 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31461 get clock_id definition.
31462
31463 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31464
31465 [BZ #4822]
31466 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31467 (madvise): Cast every argument to void on its own.
31468
31469 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31470
31471 [BZ #9902]
31472 * manual/startup.texi (Exit Status): Fix typo.
31473
31474 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31475
31476 [BZ #10140]
31477 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31478 * manual/examples/argp-ex2.c: Likewise.
31479 * manual/examples/argp-ex3.c: Likewise.
31480
31481 2012-02-16 Richard Henderson <rth@redhat.com>
31482
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.
31487
31488 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31489
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.
31493
31494 2012-02-16 David S. Miller <davem@davemloft.net>
31495
31496 [BZ #11494]
31497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31498
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.
31504
31505 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31506
31507 [BZ #3335]
31508 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31509
31510 2012-02-15 Roland McGrath <roland@hack.frob.com>
31511
31512 [BZ #4822]
31513 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31514
31515 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31516 (write, read, close): Likewise.
31517 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31518
31519 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31520
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
31525 <bits/signalfd.h>.
31526 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31528 bits/signalfd.h.
31529
31530 2012-02-14 Marek Polacek <polacek@redhat.com>
31531
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.
31535
31536 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31537
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
31542 <bits/inotify.h>.
31543 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31545 bits/inotify.h.
31546
31547 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31548
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
31553 <bits/eventfd.h>.
31554 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31556 bits/eventfd.h.
31557
31558 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31559
31560 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31561 __feraiseexcept instead of feraiseexcept.
31562
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.
31567
31568 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31569
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.
31577
31578 2012-02-09 Richard Henderson <rth@twiddle.net>
31579
31580 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31581 of kernel-features.h.
31582
31583 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31584
31585 2012-02-08 Marek Polacek <polacek@redhat.com>
31586
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.
31591
31592 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31593
31594 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31595 tests.
31596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31597
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.
31602
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.
31609
31610 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31611
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.
31627
31628 2012-02-07 Marek Polacek <polacek@redhat.com>
31629
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.
31633
31634 2012-02-07 Marek Polacek <polacek@redhat.com>
31635
31636 * math/Makefile (tests): Add tst-CMPLX2.
31637 * math/tst-CMPLX2.c: New file.
31638
31639 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31640
31641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31642
31643 * math/libm-test.inc (jn_test): Add missing L suffix.
31644
31645 2012-02-06 Marek Polacek <polacek@redhat.com>
31646
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.
31701
31702 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31703
31704 [BZ #411]
31705 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31706
31707 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31708
31709 * sysdeps/i386/sysdep.h: Include <features.h>.
31710 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31711 version.
31712
31713 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31714
31715 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31716 Define.
31717 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31718 LOAD_PIC_REG_STR.
31719
31720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31721
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
31725 macro.
31726
31727 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31728
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.
31773
31774 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31775
31776 * math/tst-CMPLX.c: Include <stdio.h>.
31777
31778 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31779
31780 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31781 float.
31782 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31783 * sysdeps/sparc/bits/mathdef.h: Likewise.
31784
31785 2012-01-31 Marek Polacek <polacek@redhat.com>
31786
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.
31791
31792 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31793
31794 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31795 names. Just use the correct names. Remove unnecessary wrapper
31796 functions.
31797 * malloc/arena.c: Likewise.
31798 * malloc/hooks.c: Likewise.
31799
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>.
31803
31804 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31805
31806 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31807 into tail calls.
31808 (update_get_addr): New function.
31809 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31810 GET_ADDR_MODULE parameter.
31811
31812 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31813
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.
31843
31844 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31845
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):
31849 Fix typo.
31850
31851 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31852
31853 * scripts/config.guess: Update from upstream config git repository.
31854 * scripts/config.sub: Likewise.
31855
31856 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31857
31858 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31859 (EM_NUM): Update.
31860 (R_TILEPRO_*, R_TILEGX_*): New macros.
31861
31862 * scripts/firstversions.awk: Fix bug in version range handling.
31863
31864 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31865
31866 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31867
31868 * include/sys/epoll.h: New file.
31869 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31870 libc_hidden_def.
31871
31872 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31873
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.
31877 (fmax): Likewise.
31878 (fminf): Likewise.
31879 (fmin): Likewise.
31880
31881 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31882 * math/math_private.h: Remove libc_fegetround* and
31883 libc_fesetround*.
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
31891 of HAS_YMM_USABLE.
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.
31897
31898 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31899
31900 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31901
31902 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31903 size is not set.
31904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31905
31906 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31907
31908 [BZ #13618]
31909 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31910 relocation.
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.
31916
31917 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31918
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.
32053
32054 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32055
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.
32065
32066 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32067
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.
32078
32079 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32080
32081 [BZ #13583]
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
32086 possible.
32087 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32088 HAS_AVX.
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.
32094
32095 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32096
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.
32101
32102 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32103
32104 * include/stdio.h: Add C++ protection. Add gets declarations and
32105 definitions.
32106 * debug/tst-chk1.c: Don't declare gets here.
32107 * stdio-common/tst-gets.c: Likewise.
32108
32109 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32110
32111 * posix/glob: Remove directory.
32112
32113 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32114
32115 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32116
32117 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32118
32119 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32120 of the non-standard EPFNOSUPPORT.
32121
32122 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32123
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.
32127
32128 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32129
32130 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32131
32132 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32133
32134 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32135 transient errors.
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.
32141
32142 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32143
32144 * malloc/malloc.c: Various cleanups.
32145 * malloc/hooks.c: Likewise.
32146
32147 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32148 * stdlib/bug-fmtmsg1.c: New file.
32149
32150 * stdlib/fmtmsg.c (init): Add missing unlock.
32151 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32152
32153 2012-01-12 Marek Polacek <polacek@redhat.com>
32154
32155 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32156 and _GNU_SOURCE.
32157
32158 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32159
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.
32165
32166 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32167
32168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32169
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.
32174
32175 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32176
32177 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32178
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.
32182
32183 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32184
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.
32189
32190 * math/bits/math-finite.h: Add ldexp support.
32191
32192 2012-01-10 Marek Polacek <polacek@redhat.com>
32193
32194 * locale/programs/localedef.h (show_archive_content): Add noreturn
32195 attribute.
32196
32197 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32198
32199 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32200
32201 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32202
32203 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32204
32205 * io/Makefile (headers): Add bits/poll2.h.
32206
32207 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32208
32209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32210 typo #include statement.
32211
32212 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32213
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.
32229
32230 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32231
32232 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32233 appropriate.
32234
32235 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32236
32237 * math/Makefile (tests): Add tst-CMPLX.
32238 * math/tst-CMPLX.c: New file.
32239
32240 * math/complex.h (CMPLXL): Fix typo.
32241
32242 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32243 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32244 GLIBC_2.16.
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.
32255
32256 [BZ #1350]
32257 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32258
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.
32268
32269 * configure.in: PWD_P is not used anymore.
32270 * config.make.in: Remove PWD_P entry.
32271
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
32275 and IA-64.
32276 Remove __builtin_expect test because we require at least gcc 3.4.
32277 * aclocal.m4: Likewise.
32278
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.
32286
32287 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32288
32289 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32290
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
32297 them.
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.
32316
32317 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32318
32319 [BZ #13553]
32320 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32321 for non-gcc.
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.
32520
32521 [BZ #13551]
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.
32553
32554 * argp/Versions: Remove _argp_unlock_xxx.
32555
32556 [BZ #13559]
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.
32571
32572 * scripts/abilist.awk: Add support for indirect functions.
32573
32574 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32575
32576 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32577
32578 * shlib-versions: Remove entries for ports architectures.
32579
32580 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32581 files in ports.
32582 * elf/stackguard-macros.h: Remove support for IA-64.
32583 * elf/tst-auditmod1.c: Likewise.
32584 * sysdeps/generic/ldsodefs.h: Likewise.
32585
32586 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32587 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32588 configure files.
32589
32590 [BZ #13552]
32591 * configure.in: Remove --enable-omitfp support.
32592 * FAQ.in: Adjust.
32593 * config.make.in: Likewise.
32594 * Makeconfig: Likewise.
32595 * manual/install.texi: Likewise.
32596
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.
32601
32602 [BZ #13555]
32603 * configure.in: Remove entries for unsupported architectures.
32604
32605 [BZ #13533]
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
32608 routines.
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
32615 renaming.
32616 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32617 * wcsmbs/tst-c16c32-1.c: New file.
32618
32619 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32620 local variable.
32621
32622 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32623
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.
32628
32629 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32630
32631 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32632
32633 [BZ #13566]
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.
32637
32638 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32639
32640 * iconv/loop.c (single loop): Fix assertion in storing of
32641 remaining bytes.
32642
32643 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32644
32645 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32646
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.
32667
32668 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32669
32670 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32671 pure attribute.
32672
32673 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32674
32675 [BZ #13533]
32676 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32677 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32678 transformations.
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.
32693
32694 * wcsmbs/wchar.h: Add missing __restrict.
32695
32696 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32697
32698 [BZ #13532]
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.
32706
32707 [BZ #13531]
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.
32712
32713 [BZ 13527]
32714 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32715 ISO C11.
32716
32717 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32718 code.
32719
32720 [BZ #13528]
32721 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32722
32723 [BZ #13529]
32724 * assert/assert.h (static_assert): Define.
32725
32726 * version.h: Update for 2.16 development version.
32727
32728 [BZ #13526]
32729 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32730 _ISOC11_SOURCE.
32731
32732 * version.h (RELEASE): Bump for 2.15 release.
32733 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32734
32735 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32736 Patch by Marek Polacek <mpolacek@redhat.com>.
32737
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.
32743
32744 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32745
32746 [BZ #13540]
32747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32748 destination buffer.
32749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32750
32751 2011-12-23 Marek Polacek <polacek@redhat.com>
32752
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.
32758
32759 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32760
32761 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32762 !__SSE_MATH__.
32763
32764 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32765
32766 [BZ #13540]
32767 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32768 processing for last bytes.
32769
32770 2011-08-06 Bruno Haible <bruno@clisp.org>
32771
32772 [BZ #13061]
32773 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32774 U+0385, not to U+1FEE.
32775
32776 [BZ #13062]
32777 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32778 entry for U+00A5 U+0301.
32779
32780 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32781
32782 [BZ #13166]
32783 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32784 buffer for the output is too small.
32785
32786 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32787 optimization.
32788
32789 [BZ #13185]
32790 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32791 SSE flags if possible.
32792
32793 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32794
32795 [BZ #13540]
32796 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32797 processing for last bytes.
32798
32799 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32800
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):
32808 Remove.
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):
32817 Remove.
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):
32822 Remove.
32823 (syscall-list-variants, syscall-list-32bit-options)
32824 (syscall-list-32bit-condition, syscall-list-64bit-options)
32825 (syscall-list-64bit-condition): Define.
32826
32827 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32828
32829 * locale/iso-639.def: Add brx entry.
32830
32831 [BZ #13328]
32832 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32833 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32834
32835 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32836 __feraiseexcept_renamed.
32837
32838 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32839
32840 [BZ #13538]
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.
32845
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.
32850
32851 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32852
32853 [BZ #13305]
32854 [BZ #12786]
32855 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32856 * math/s_cacoshf.c: Likewise.
32857 * math/s_cacoshl.c: Likewise.
32858
32859 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32860
32861 [BZ #13439]
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.
32866
32867 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32868
32869 [BZ #13524]
32870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32871 numerator after shifting it by one limb.
32872
32873 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32874
32875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32876 under [__USE_EXTERN_INLINES].
32877
32878 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32879
32880 [BZ #13446]
32881 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32882
32883 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32884
32885 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32886 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32887 optimized code.
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.
32895
32896 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32897
32898 [BZ #13484]
32899 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32900 of __asm__.
32901
32902 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32903
32904 [BZ #13506]
32905 * time/tzfile.c (__tzfile_read): Check values from file header.
32906
32907 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32908
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.
32940
32941 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32942
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.
32948
32949 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32950
32951 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32952 FD_CLOEXEC.
32953
32954 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32955
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
32964 wrong alignments.
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.
32978
32979 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32980
32981 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32982 * wcsmbs/test-wcsrchr.c: New file.
32983 * string/test-strrchr.c: Add wcsrchr support.
32984 (WIDE): New macro.
32985 * wcsmbs/test-wcscpy.c: New file.
32986 * string/test-strcpy.c: Add wcscpy support.
32987 (WIDE): New macro.
32988
32989 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32990
32991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32992 the inner loop.
32993
32994 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32995
32996 [BZ #13472]
32997 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32998
32999 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33000
33001 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33002 Minor optimizations.
33003
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.
33007
33008 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33009
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.
33016
33017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33018 warning.
33019
33020 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33021 __wmemcmp_sse2.
33022
33023 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33024 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33025
33026 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33027
33028 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33029
33030 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33031 problem.
33032
33033 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33034
33035 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33036
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.
33044
33045 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33046
33047 * sysdeps/sh/backtrace.c: New file.
33048
33049 2011-12-02 Andreas Schwab <schwab@redhat.com>
33050
33051 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33052 parenthesis.
33053
33054 2011-12-01 Andreas Schwab <schwab@redhat.com>
33055
33056 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33057 falling back to utime.
33058
33059 2011-11-30 Andreas Schwab <schwab@redhat.com>
33060
33061 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33062 expectations for float.
33063
33064 2011-11-29 Andreas Schwab <schwab@redhat.com>
33065
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.
33074
33075 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33076
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
33081 handling.
33082
33083 2011-11-16 Andreas Schwab <schwab@redhat.com>
33084
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.
33095
33096 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33097
33098 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33099 O_CLOEXEC.
33100 * locale/loadlocale.c (_nl_load_locale): Likewise.
33101
33102 2011-11-15 Andreas Schwab <schwab@redhat.com>
33103
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.
33108
33109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33110 count references to noai6ai_cached.
33111
33112 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33113
33114 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33115
33116 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33117 FD_CLOEXEC for /proc/self/maps.
33118
33119 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33120 FD_CLOEXEC for /proc/meminfo.
33121
33122 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33123 gai.conf.
33124
33125 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33126 FD_CLOEXEC for given file.
33127
33128 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33129
33130 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33131 FD_CLOEXEC for /etc/hosts.
33132 (_gethtent): Likewise.
33133
33134 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33135
33136 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33137 cancellation and set FD_CLOEXEC for /etc/netgroup.
33138
33139 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33140 reading /etc/publickey.
33141
33142 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33143 allow cancellation when reading /etc/group.
33144
33145 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33146 cancellation.
33147 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33148
33149 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33150 when using data file.
33151
33152 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33153
33154 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33155 (write_nis_obj): Use "c" and "e" in fopen.
33156
33157 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33158
33159 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33160
33161 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33162
33163 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33164
33165 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33166 locale.alias.
33167
33168 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33169
33170 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33171
33172 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33173
33174 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33175 file parsing and set FD_CLOEXEC.
33176
33177 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33178
33179 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33180
33181 2011-11-14 Andreas Schwab <schwab@redhat.com>
33182
33183 * malloc/arena.c (arena_get2): Don't call reused_arena when
33184 _int_new_arena failed.
33185
33186 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33187
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.
33197
33198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33199
33200 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33201
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.
33221
33222 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33223
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.
33228
33229 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33230 variable.
33231
33232 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33233 mantissa words.
33234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33235
33236 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33237 from unused variable.
33238
33239 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33240 DWARF definitions.
33241 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33242 for assembling.
33243
33244 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33245 over namespaces.
33246
33247 * sunrpc/rpc_prot.c (rejected): Fix case value.
33248
33249 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33250 unsigned long long int to avoid warnings in shift.
33251
33252 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33253 of use of trans.
33254 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33255 variable tmp.
33256
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.
33260
33261 * nis/nis_table.c (nis_list): Use variable of correct type for
33262 result of __follow_path call.
33263
33264 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33265
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
33270 name clash.
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.
33274
33275 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33276
33277 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33279
33280 2011-11-11 Roland McGrath <roland@hack.frob.com>
33281
33282 * include/unistd.h: Fix __readlink return type.
33283 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33284
33285 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33286
33287 * stdlib/ucontext.h: Undo last change for makecontext.
33288
33289 2011-11-11 Andreas Schwab <schwab@redhat.com>
33290
33291 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33292
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.
33297
33298 2011-11-10 Andreas Schwab <schwab@redhat.com>
33299
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.
33303
33304 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33305
33306 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33307 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33308
33309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33310 instructions.
33311
33312 2011-11-07 Andreas Schwab <schwab@redhat.com>
33313
33314 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33315 handler when locking.
33316
33317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33318 Fix size of allocated buffer.
33319
33320 2011-11-04 Andreas Schwab <schwab@redhat.com>
33321
33322 [BZ #10103]
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.
33326
33327 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33328
33329 2011-11-03 Andreas Schwab <schwab@redhat.com>
33330
33331 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33332 installed.
33333
33334 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33335 is disabled.
33336
33337 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33338
33339 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33340
33341 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33342
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
33347 here.
33348
33349 * scripts/check-local-headers.sh: Ignore libaudit.h.
33350
33351 * nscd/Makefile (extra-objs): Make recursively expanded.
33352
33353 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33354
33355 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33357
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.
33361
33362 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33363 process_vm_writev.
33364 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33365 process_vm_writev.
33366 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33367 process_vm_writev from libc using GLIBC_2.15 version.
33368
33369 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33370
33371 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33372
33373 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33374 stack usage.
33375
33376 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33377
33378 [BZ #13367]
33379 * nss/getent.c (initgroups_keys): Show error message in case no group
33380 names are given.
33381
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.
33395 Adjust caller.
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
33402 is not changed.
33403 (__bump_nl_timestamp): New function.
33404 (__free_in6ai): New function.
33405
33406 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33407
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.
33411
33412 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33413
33414 [BZ #13276]
33415 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33416 return value.
33417
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.
33421
33422 2011-07-03 Andreas Jaeger <aj@suse.de>
33423
33424 [BZ #10709]
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.
33428
33429 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33430
33431 [BZ #13337]
33432 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33433 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33434
33435 * elf/chroot_canon.c (chroot_canon): Cleanups.
33436
33437 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33438
33439 [BZ #13335]
33440 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33441 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33442
33443 * string/test-strchr.c: Make usable for strchrnul testing.
33444 * string/test-strchrnul.c: New file.
33445 * string/Makefile (strop-tests): Add strchrnul.
33446
33447 * po/it.po: Update from translation team.
33448 * po/es.po: Likewise.
33449
33450 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33451
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.
33458
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
33463 anymore.
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.
33479
33480 2011-10-28 Andreas Schwab <schwab@redhat.com>
33481
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.
33485
33486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33487 wide char related routines to wcsmbs subdir.
33488
33489 2011-10-27 Andreas Schwab <schwab@redhat.com>
33490
33491 [BZ #13344]
33492 * misc/sys/cdefs.h (__THROWNL): Define.
33493 * posix/unistd.h: Use __THREADNL instead of __THREAD
33494 for memory synchronization functions.
33495
33496 2011-10-26 Roland McGrath <roland@hack.frob.com>
33497
33498 [BZ #13349]
33499 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33500 doesn't exist.
33501 * manual/stdio.texi (Obstack Streams): Node removed.
33502
33503 2011-10-26 Andreas Schwab <schwab@redhat.com>
33504
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.
33508
33509 * math/math_private.h (math_force_eval): Allow non-addressable
33510 arguments.
33511 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33512
33513 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33514
33515 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33516 file is not needed.
33517
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.
33526 Add AVX variants.
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.
33546
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.
33549
33550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33551 place. Use VEX encoding when compiling for AVX.
33552
33553 2011-10-25 Andreas Schwab <schwab@redhat.com>
33554
33555 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33556 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33557
33558 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33559
33560 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33561
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.
33583
33584 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33585
33586 2011-10-25 Andreas Schwab <schwab@redhat.com>
33587
33588 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33589 condition.
33590 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33591
33592 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33593
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.
33641
33642 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33643
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.
33648
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
33655 name is a macro.
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
33660 using __copysign.
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,
33665 and __inv.
33666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33667 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33668 __copysign.
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.
33705
33706 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33707 rename.
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.
33716
33717 2011-10-24 Andreas Schwab <schwab@redhat.com>
33718
33719 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33720
33721 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33722
33723 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33724
33725 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33726 prediction.
33727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33728
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.
33732
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>.
33745
33746 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33747
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.
33759
33760 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33761
33762 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33763 XMM-moves are used for copying on small sizes.
33764
33765 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33766
33767 * wcsmbs/Makefile (strop-tests): Add wcschr.
33768 * wcsmbs/test-wcschr.c: New file.
33769 * string/test-strchr.c: Update.
33770 Add wcschr support.
33771 (WIDE): New macro.
33772
33773 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33774
33775 * wcsmbs/Makefile (strop-tests): Add wcslen.
33776 * wcsmbs/test-wcslen.c: New file.
33777 * string/test-strlen.c: Update.
33778 Add wcslen support.
33779 (WIDE): New macro.
33780
33781 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33782
33783 * po/it.po: Update from translation team.
33784
33785 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33786
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.
33795
33796 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33797
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.
33809
33810 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33811
33812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33813 __ynl_finite aliases.
33814
33815 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33816
33817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33818
33819 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33820 define DLA_FMA.
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.
33832
33833 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33834
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
33839 "math_private.h".
33840
33841 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33842
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.
33866
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.
33890
33891 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33892
33893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33894 compilation problems.
33895
33896 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33897 __builtin_expect.
33898
33899 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33900
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.
33909
33910 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33911 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33912
33913 2011-10-20 Andreas Schwab <schwab@redhat.com>
33914
33915 [BZ #12892]
33916 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33917 it would create a cycle with a link time dependency.
33918
33919 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33920
33921 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33922 instruction.
33923 * string/Makefile (strop-tests): Add rawmemchr.
33924 * string/test-rawmemchr.c: New file.
33925
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.
33931
33932 2011-10-19 Andreas Schwab <schwab@redhat.com>
33933
33934 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33935 __feraiseexcept instead of feraiseexcept.
33936
33937 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33938
33939 * math/math_private.h: Define defaults for libc_fetestexcept and
33940 libc_feupdateenv.
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.
33948
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.
33954
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.
33963
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.
33976
33977 2011-10-18 Andreas Schwab <schwab@redhat.com>
33978
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.
33983
33984 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33985
33986 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33987
33988 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33989
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.
33993
33994 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33995 about macro parameter expansion.
33996
33997 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33998 __NO_MATH_INLINES is defined. Cleanups.
33999
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.
34006
34007 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34008 name.
34009 (floorf): Likewise.
34010
34011 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34012
34013 2011-10-17 Andreas Schwab <schwab@redhat.com>
34014
34015 * misc/sys/cdefs.h: Fix last change.
34016
34017 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34018 database lookup.
34019
34020 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34021
34022 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34023
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.
34046
34047 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34048 ceil, ceilf, floor, floorf.
34049
34050 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34051 Perform IRELATIVE relocations last.
34052
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.
34059
34060 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34061
34062 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34063 is sufficient, at least on modern CPUs.
34064
34065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34066
34067 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34069
34070 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34071 __expl_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.
34084
34085 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34086 is sufficient, at least on modern CPUs.
34087
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.
34095
34096 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34097
34098 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34099
34100 * configure.in: Also look in $cxxmachine/include for C++ system
34101 headers.
34102
34103 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34104
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.
34111 Fixing indents.
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.
34127 Add new tests.
34128 * wcsmbs/wmemcmp.c: Update.
34129 (WMEMCMP): New macro.
34130 Fix overflow bug.
34131
34132 2011-10-12 Andreas Jaeger <aj@suse.de>
34133
34134 [BZ #13268]
34135 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34136
34137 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34138
34139 * libio/iofwide.c (do_length): Avoid warning.
34140
34141 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34142
34143 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34144
34145 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34146
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.
34153
34154 * ctype/ctype.h: Add support for inlined isXXX functions when
34155 compiling C++ code.
34156
34157 2011-10-14 Andreas Schwab <schwab@redhat.com>
34158
34159 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34160
34161 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34162
34163 2011-10-13 Roland McGrath <roland@hack.frob.com>
34164
34165 [BZ #13291]
34166 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34167
34168 2011-10-13 Andreas Schwab <schwab@redhat.com>
34169
34170 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34171 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34172 feraiseexcept.
34173
34174 * sysdeps/x86_64/memrchr.S: Check for zero size.
34175
34176 * string/stratcliff.c: Add memrchr tests.
34177
34178 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34179
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.
34194
34195 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34196
34197 Add integration with gcc's -ffinite-math-only and optimize wrapper
34198 functions in libm.
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
34282 used.
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
34476 inlined copy.
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.
34480
34481 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34482
34483 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34484 of rawmemchr.
34485
34486 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34487
34488 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34489
34490 * po/ja.po: Update from translation team.
34491
34492 2011-10-08 Roland McGrath <roland@hack.frob.com>
34493
34494 * locale/programs/locarchive.c (prepare_address_space): New function.
34495 (create_archive, enlarge_archive, open_archive): Use it.
34496
34497 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34498 inside [SHARED], where it is used.
34499
34500 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34501
34502 * nss/getent.c (netgroup_keys): Remove unused variable.
34503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34504
34505 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34506
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.
34542
34543 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34544 of the number.
34545 * stdio-common/printf_fphex.c: Likewise.
34546 * stdio-common/printf_size.c: Likewise.
34547
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.
34675
34676 * po/ja.po: Update from translation team.
34677
34678 2011-09-29 Andreas Jaeger <aj@suse.de>
34679
34680 [BZ #13179]
34681 * sunrpc/netname.c (netname2host): Fix logic.
34682
34683 [BZ #6779]
34684 [BZ #6783]
34685 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34686 correctly.
34687 * math/w_remainder.c (__remainder): Likewise.
34688 * math/w_remainderf.c (__remainderf): Likewise.
34689 * math/libm-test.inc (remainder_test): Add test cases.
34690
34691 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34692
34693 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34694 sdiv_qrnnd.
34695
34696 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34697
34698 * string/test-memcmp.c: Avoid unncessary #defines.
34699 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34700
34701 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34702
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.
34712
34713 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34714
34715 * elf/dl-load.c (lose): Add cast to avoid warning.
34716
34717 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34718
34719 * po/ca.po: Update from translation team.
34720
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
34728 INNETGR.
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
34734 GETFDNETGR.
34735 (netgroup_response_header): Define.
34736 (innetgroup_response_header): Define.
34737 (datahead): Add netgroup_response_header and innetgroup_response_header
34738 elements.
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.
34760
34761 * nscd/connections.c (register_traced_file): Don't register file
34762 for disabled databases.
34763
34764 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34765
34766 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34767
34768 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34769 from tree and freeing node.
34770
34771 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34772
34773 * nss/nsswitch.c (__nss_database_lookup): Handle
34774 nss_parse_service_list out of memory case.
34775
34776 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34777
34778 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34779 out of memory case.
34780
34781 2011-10-04 Andreas Schwab <schwab@redhat.com>
34782
34783 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34784 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34785 pass it down.
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
34797 elf_machine_rela.
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):
34806 Likewise.
34807 (elf_machine_lazy_rel): Likewise.
34808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34809 Likewise.
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.
34823
34824 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34825
34826 * nss/nss_files/files-init.c (_nss_files_init): Use static
34827 initialization for all the *_traced_file variables.
34828
34829 2011-09-28 Andreas Schwab <schwab@redhat.com>
34830
34831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34832
34833 2011-09-27 Roland McGrath <roland@hack.frob.com>
34834
34835 [BZ #13226]
34836 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34837
34838 2011-09-27 Andreas Schwab <schwab@redhat.com>
34839
34840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34841 Reread the line before reparsing it.
34842
34843 2011-09-26 Andreas Schwab <schwab@redhat.com>
34844
34845 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34846
34847 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34848 Maxim Kuvyrkov <maxim@codesourcery.com>
34849 Joseph Myers <joseph@codesourcery.com>
34850
34851 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34852 if needed for __stack_chk_guard.
34853
34854 2011-09-19 Roland McGrath <roland@hack.frob.com>
34855
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.
34860
34861 * Makerules: Don't include tls.make.
34862 (config-tls): Always set to thread.
34863 * tls.make.c: File removed.
34864
34865 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34866
34867 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34868 * config.make.in (CPPFLAGS-config): New substituted variable.
34869
34870 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34871
34872 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34873
34874 [BZ #13192]
34875 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34876 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34877
34878 2011-09-15 Roland McGrath <roland@hack.frob.com>
34879
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>.
34887
34888 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34889
34890 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34891 for __FINITE_MATH_ONLY__ == 1.
34892
34893 2011-09-15 Andreas Schwab <schwab@redhat.com>
34894
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.
34903
34904 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34905
34906 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34907
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
34911 32-bit.
34912
34913 2011-09-14 Andreas Schwab <schwab@redhat.com>
34914
34915 * elf/rtld.c (dl_main): Also relocate in dependency order when
34916 doing symbol dependency testing.
34917
34918 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34919
34920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34921 Always define `refsym'.
34922
34923 2011-09-13 Andreas Schwab <schwab@redhat.com>
34924
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):
34931 Likewise.
34932 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34933 Likewise.
34934
34935 * elf/Makefile (gen-ldd): Fix pattern.
34936
34937 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34938 (init_tls): Likewise.
34939
34940 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34941
34942 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34943
34944 2011-09-12 Andreas Schwab <schwab@redhat.com>
34945
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):
34949 Likewise.
34950
34951 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34952
34953 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34954 if non-absolute.
34955 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34956 ldd_rewrite_script.
34957
34958 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34959
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.
34975
34976 [BZ #13067]
34977 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34978
34979 [BZ #13090]
34980 * configure.in: Fix use of AC_INIT.
34981
34982 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34983
34984 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34985
34986 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34987 __set_errno.
34988 * malloc/hooks.c: Likewise.
34989
34990 [BZ #11929]
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
35001 GLRO(dl_pagesize).
35002
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.
35006
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.
35011
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.
35049
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
35053 USE_IN_LIBIO.
35054 * Makeconfig: Adjust for dropped configure option. All features are
35055 now mandatory.
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.
35127
35128 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35129
35130 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35131
35132 2011-07-03 Andreas Jaeger <aj@suse.de>
35133
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.
35137
35138 2010-05-12 Petr Baudis <pasky@suse.cz>
35139
35140 [BZ #11589]
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.
35147
35148 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35149
35150 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35151 instead of 0.
35152 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35153 instead of 0.
35154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35155 Patch in part by Pavel Roskin <proski@gnu.org>.
35156
35157 [BZ #13138]
35158 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35159 realloc.
35160 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35161 Free memory block if necessary.
35162
35163 [BZ #12847]
35164 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35165 be NULL. Don't lock in this case.
35166
35167 2011-09-09 Roland McGrath <roland@hack.frob.com>
35168
35169 * elf/elf.h (ELFOSABI_GNU): New macro.
35170 (ELFOSABI_LINUX): Define to that.
35171
35172 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35173
35174 * string/strncat.c (strncat): Undef the symbol in case it has been
35175 defined in bits/string.h.
35176
35177 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35178
35179 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35180
35181 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35182 link map.
35183
35184 2011-08-17 Andreas Jaeger <aj@suse.de>
35185
35186 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35187
35188 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35189 Ian Lance Taylor <iant@google.com>
35190
35191 * math/libm-test.inc (lround_test): New testcase.
35192 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35193
35194 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35195
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.
35207
35208 [BZ #13118]
35209 * posix/Makefile (bug-regex32-ENV): Define.
35210 Patch by John Stanley <jpsinthemix@verizon.net>.
35211
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
35219 FD_ISSET.
35220 * debug/fdelt_chk.c: New file.
35221
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.
35226
35227 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35228
35229 * string/Makefile (strop-tests): Add memcmp.
35230 * string/test-wmemcmp.c: New file.
35231 * string/test-memcmp.c: Add wmemcmp support.
35232
35233 2011-09-08 Roland McGrath <roland@hack.frob.com>
35234
35235 [BZ #13153]
35236 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35237 2011-07-19 change.
35238
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.
35242
35243 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35244
35245 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35246
35247 2011-09-08 Andreas Schwab <schwab@redhat.com>
35248
35249 * elf/dl-load.c (lose): Check for non-null L.
35250
35251 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35252
35253 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35254
35255 * elf/dl-libc.c (dlerror_run): Pass back error code from
35256 dl_catch_error.
35257
35258 [BZ #13123]
35259 * elf/dl-load.c (lose): Free l_origin if it is valid.
35260
35261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35262 names.
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>.
35269
35270 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35271
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.
35282
35283 2011-08-15 Alan Modra <amodra@gmail.com>
35284
35285 [BZ #13092]
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
35291 __mcount_internal.
35292 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35293 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35294
35295 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35296
35297 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35298 for finite and infinity parameters.
35299
35300 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35301
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.
35305
35306 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35307
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.
35311
35312 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35313
35314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35315 AVX check.
35316
35317 2011-09-07 Andreas Schwab <schwab@redhat.com>
35318
35319 [BZ #13144]
35320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35321 last change.
35322
35323 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35324
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
35329 clock_gettime.
35330
35331 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35332
35333 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35334 Forgot to demangle the pointer.
35335
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.
35345
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
35352 call.
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.
35356
35357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35358 gettimeofday vsyscall, just use time.
35359
35360 2011-09-06 Andreas Schwab <schwab@redhat.com>
35361
35362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35363 <errno.h>.
35364
35365 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35366
35367 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35368 syscall on x86-64.
35369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35370 syscall.
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.
35374
35375 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35376
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.
35380
35381 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35382
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.
35390
35391 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35392
35393 [BZ #13134]
35394 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35395 before glibc 2.15.
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.
35407
35408 [BZ #13150]
35409 * posix/glob.h: Remove gcc 1.x support.
35410
35411 [BZ #13068]
35412 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35413
35414 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35415
35416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35417 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35418 strrchr-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.
35425
35426 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35427
35428 * sysdeps/x86_64/wcscmp.S: New file.
35429
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.
35436
35437 2011-09-05 David S. Miller <davem@davemloft.net>
35438
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.
35445
35446 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35447
35448 * po/ja.po: Update from translation team.
35449
35450 [BZ #13144]
35451 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35452 kernel in 64-bit binaries.
35453
35454 2011-09-01 David S. Miller <davem@davemloft.net>
35455
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
35462 entries.
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.
35469
35470 2011-08-31 David S. Miller <davem@davemloft.net>
35471
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
35489 i386.
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.
35496
35497 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35498 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35499
35500 2011-08-30 Andreas Schwab <schwab@redhat.com>
35501
35502 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35503
35504 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35505
35506 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35507 directive.
35508
35509 2011-08-24 David S. Miller <davem@davemloft.net>
35510
35511 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35512
35513 2011-08-24 Andreas Schwab <schwab@redhat.com>
35514
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.
35521
35522 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35523 it wasn't used.
35524
35525 2011-08-23 David S. Miller <davem@davemloft.net>
35526
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.
35532
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.
35536
35537 2011-08-23 Andreas Schwab <schwab@redhat.com>
35538
35539 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35540 backslash.
35541
35542 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35543
35544 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35545 protection macro.
35546 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35547 and <dl-machine.h>.
35548 (Elf64_FuncDesc): Remove.
35549
35550 2011-08-22 David S. Miller <davem@davemloft.net>
35551
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.
35556
35557 2011-08-16 Andreas Schwab <schwab@redhat.com>
35558
35559 [BZ #11724]
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.
35563
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.
35571
35572 2011-08-22 Andreas Schwab <schwab@redhat.com>
35573
35574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35575
35576 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35577 dependencies back to end of function.
35578
35579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35580 $(elfobjdir)/ld.so.
35581
35582 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35583
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
35592 attribute_hidden.
35593 (_libc_vdso_platform_setup): Remove initialization of
35594 __vdso_gettimeofday and __vdso_time.
35595
35596 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35597
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
35601 getc_unlocked.
35602
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.
35607
35608 [BZ #13114]
35609 * stdio-common/Makefile (tests): Add bug24.
35610 * stdio-common/bug24.c: New file.
35611
35612 2011-08-19 Andreas Jaeger <aj@suse.de>
35613
35614 [BZ #13114]
35615 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35616 non-existant file when using close-on-exec mode.
35617
35618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35619
35620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35621 the very first instruction.
35622
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>.
35628
35629 2011-08-19 Andreas Schwab <schwab@redhat.com>
35630
35631 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35632 expectations for long double.
35633
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35635 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35636
35637 2011-08-14 David S. Miller <davem@davemloft.net>
35638
35639 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35640 artificual limit depends upon the system page size.
35641
35642 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35643
35644 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35645 * resolv/Makefile: Define CFLAGS-libresolv.
35646
35647 2011-08-17 Andreas Schwab <schwab@redhat.com>
35648
35649 * nss/makedb.c (compute_tables): Make variables used in nested
35650 function static.
35651
35652 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35653
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.
35657
35658 * elf/pldd.c (main): Attach to all threads in the process.
35659 Rewrite /proc handling to use *at functions.
35660
35661 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35662
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.
35669
35670 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35671 string for the scope number.
35672
35673 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35674
35675 * nscd/servicescache.c (cache_addserv): Make sure written is always
35676 initialized.
35677
35678 2011-08-14 Roland McGrath <roland@hack.frob.com>
35679
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.
35684
35685 * string/strncat.c (STRNCAT): Use prototype definition.
35686
35687 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35688 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35689 -Iprograms here.
35690 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35691 (localedef-modules): Add localedef.
35692 (locale-modules): Add locale.
35693
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.
35697
35698 2011-08-14 David S. Miller <davem@davemloft.net>
35699
35700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35701 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35702
35703 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35704
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.
35712
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.
35716
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.
35721
35722 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35723
35724 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35725 was a dependency or dynamically loaded.
35726
35727 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35728
35729 * intl/l10nflist.c: Allow architecture-specific pop function.
35730 * sysdeps/x86_64/l10nflist.c: New file.
35731
35732 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35733 classification.
35734
35735 2011-08-10 Andreas Schwab <schwab@redhat.com>
35736
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.
35742
35743 2011-08-10 David S. Miller <davem@davemloft.net>
35744
35745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35746 enum.
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.
35750
35751 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35752
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
35756 GLIBC_2.15.
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
35764 using scandirat.
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.
35773
35774 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35775
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.
35781
35782 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35783
35784 * string/test-string.h (IMPL): Use __STRING to expand name and then
35785 stringify it.
35786
35787 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35788 of cleanups.
35789
35790 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35791
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.
35798
35799 2011-07-22 Andreas Schwab <schwab@redhat.com>
35800
35801 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35802 line.
35803
35804 2011-07-26 Andreas Schwab <schwab@redhat.com>
35805
35806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35807 encoding to ACE if AI_IDN.
35808
35809 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35810
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.
35813
35814 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35815
35816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35817 Fix overflow bug in strncat.
35818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35819
35820 * string/test-strncat.c: Update.
35821 Add new tests for checking overflow bugs.
35822
35823 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35824
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.
35834
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.
35839
35840 2011-07-25 Andreas Schwab <schwab@redhat.com>
35841
35842 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35843 __n bigger than INT_MAX+1.
35844 (__strncmp_g): Likewise.
35845
35846 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35847
35848 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35849 * libio/stido.h: Likewise.
35850
35851 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35852 (AF_NFC): Define.
35853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35854 (AF_NFC): Define.
35855
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.
35861
35862 [BZ #13021]
35863 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35864 installed.
35865
35866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35867 typo.
35868 (_dl_x86_64_save_sse): Likewise.
35869
35870 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35871
35872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35873 OSXSAVE.
35874 (_dl_x86_64_save_sse): Likewise.
35875
35876 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35877
35878 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35879
35880 2011-07-21 Andreas Schwab <schwab@redhat.com>
35881
35882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35883 change.
35884 (_dl_x86_64_save_sse): Use correct AVX check.
35885
35886 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35887
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.
35891
35892 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35893
35894 * string/tester.c (test_strcat): Add tests for different alignments
35895 of source and destination.
35896 (test_strncat): Likewise.
35897
35898 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35899
35900 [BZ #12852]
35901 * posix/glob.c (glob): Check passed in values before using them in
35902 expressions to avoid some overflows.
35903 (glob_in_dir): Likewise.
35904
35905 [BZ #13007]
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
35908 new hardware.
35909 * elf/tst-audit4.c: Add same checks here.
35910 * elf/tst-audit6.c: Likewise.
35911
35912 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35913
35914 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35915
35916 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35917
35918 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35919
35920 * po/cs.po: Update from translation team.
35921 * po/bg.po: Likewise.
35922
35923 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35924
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.
35928
35929 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35930
35931 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35932
35933 2011-07-20 Andreas Schwab <schwab@redhat.com>
35934
35935 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35936 strlen results.
35937
35938 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35939
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.
35946
35947 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35948
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.
35953
35954 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35955
35956 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35957 "aux_cache->nlibs < 0".
35958
35959 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35960 in the reload-count case.
35961
35962 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35963
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
35984 and i7.
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.
35990
35991 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35992
35993 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35994 buffer64.
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
36002 buffer32.
36003 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36004 casting of buffer.
36005
36006 2011-07-19 Andreas Schwab <schwab@redhat.com>
36007
36008 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36009
36010 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36011
36012 * nscd/nscd.c (termination_handler): Don't do anything for a database
36013 if it has not yet been initialized.
36014
36015 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36016
36017 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36018
36019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36020
36021 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36022
36023 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36024
36025 * po/nl.po: Update from translation team.
36026 * po/sv.po: Likewise.
36027
36028 2011-07-16 Roland McGrath <roland@hack.frob.com>
36029
36030 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36031 now disallowed by GCC.
36032
36033 * configure.in (use-default-link): Default to yes if a test -shared
36034 link meets our qualifications.
36035 * configure: Regenerated.
36036
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.
36043
36044 2011-07-14 Roland McGrath <roland@hack.frob.com>
36045
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.
36049
36050 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36051 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36052
36053 * configure.in (-z relro check): Adjust test code to add a large
36054 writable data section after it.
36055 * configure: Regenerated.
36056
36057 2011-07-11 Roland McGrath <roland@hack.frob.com>
36058
36059 * configure.in (-z relro check): Fix test code to make the variable
36060 truly const.
36061 * configure: Regenerated.
36062
36063 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36064
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
36085 files instead.
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.
36102
36103 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36104
36105 2011-07-10 Roland McGrath <roland@hack.frob.com>
36106
36107 * csu/elf-init.c (__libc_csu_init): Comment typo.
36108
36109 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36110
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.
36116
36117 2011-07-09 Roland McGrath <roland@hack.frob.com>
36118
36119 * configure.in (.ctors/.dtors header and trailer check):
36120 Use an empirical test on a built program.
36121 * configure: Regenerated.
36122
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.
36126
36127 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36128 Update tests that use readelf to use $READELF instead.
36129 * configure: Regenerated.
36130
36131 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36132
36133 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36134 if the result is not used.
36135
36136 2011-07-05 Andreas Jaeger <aj@suse.de>
36137
36138 [BZ#9696]
36139 * stdlib/tst-strtod.c: Add testcase.
36140
36141 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36142
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
36146 the new function.
36147 (__pathconf): Pass file to __statfs_link_max.
36148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36149 __statfs_link_max.
36150 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36151 __statfs_link_max.
36152
36153 [BZ #12868]
36154 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36155 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36156 Handle Lustre.
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>.
36160
36161 2011-07-05 Andreas Jaeger <aj@suse.de>
36162
36163 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36164
36165 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36166
36167 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36168 `status' variable.
36169 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36170 Likewise.
36171
36172 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36173
36174 * Makefile (strop-tests): Add strncat.
36175 * string/test-strncat.c: New file.
36176
36177 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36178
36179 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36180
36181 2011-06-21 Andreas Jaeger <aj@suse.de>
36182
36183 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36184 Copy rule from iconvdata/Makefile.
36185
36186 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36187
36188 [BZ #12922]
36189 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36190 but no long options are defined, just return 'W'.
36191
36192 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36193
36194 [BZ #9696]
36195 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36196
36197 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36198
36199 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36200 netgroups to read.
36201 (innetgr): Likewise.
36202
36203 2011-07-05 Roland McGrath <roland@hack.frob.com>
36204
36205 * config.make.in (install_root): Default to $(DESTDIR).
36206
36207 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36208
36209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36210
36211 2011-07-02 Roland McGrath <roland@hack.frob.com>
36212
36213 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36214
36215 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36216 containing directory rather than embedding absolute directory names.
36217
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.
36221
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.
36226
36227 * config.make.in (OBJCOPY): New variable.
36228 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36229 * configure: Regenerated.
36230
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.
36236
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.
36243
36244 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36245 DT_FLAGS/DT_FLAGS_1 with zero flags.
36246
36247 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36248 linker script munging.
36249
36250 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36251
36252 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36253 as 128-bit value.
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
36258 as 64-bit value.
36259 * crypt/sha256.c (SWAP64): Define.
36260 (sha256_process_block): Perform total addition using 64-bit if
36261 possible.
36262 (__sha256_finish_ctx): Likewise.
36263
36264 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36265
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.
36272
36273 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36274
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
36280
36281 2011-07-01 Andreas Schwab <schwab@redhat.com>
36282
36283 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36284 domain only when needed.
36285
36286 2011-06-30 Andreas Schwab <schwab@redhat.com>
36287
36288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36289 is always restored.
36290
36291 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36292
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.
36296
36297 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36298
36299 * sysdeps/generic/dl-irel.h: fix protection against multiple
36300 inclusions.
36301 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36302
36303 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36304
36305 [BZ #12935]
36306 * malloc/memusage.sh: Fix quoting in message.
36307 * debug/xtrace.sh: Likewise.
36308
36309 * configure.in: Remove support for --experimental-malloc option, make
36310 it the default.
36311 * config.make.in: Likewise.
36312 * malloc/Makefile: Likewise.
36313
36314 2011-06-27 Andreas Schwab <schwab@redhat.com>
36315
36316 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36317 two-byte characters.
36318
36319 2011-06-27 Roland McGrath <roland@hack.frob.com>
36320
36321 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36322 AC_CACHE_CHECK invocation.
36323 * configure: Regenerated.
36324
36325 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36326
36327 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36328
36329 [BZ #12350]
36330 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36331 bit from old_res_options.
36332
36333 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36334
36335 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36336 value type for setfct.
36337
36338 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36339
36340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36341 __gettimeofday instead of gettimeofday.
36342
36343 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36344
36345 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36346
36347 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36348
36349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36350
36351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36352 info.
36353
36354 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36355
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.
36370
36371 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36372
36373 [BZ #12874]
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.
36377
36378 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36379
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
36397 processors.
36398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36399 Define.
36400 (index_Fast_Unaligned_Load): Define.
36401 (HAS_FAST_UNALIGNED_LOAD): Define.
36402
36403 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36404
36405 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36406
36407 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36408
36409 [BZ #12907]
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>.
36413
36414 2011-06-22 Andreas Schwab <schwab@redhat.com>
36415
36416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36417
36418 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36419
36420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36421 /sys/devices/system/cpu/online if it is usable.
36422
36423 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36424 reading the information from the /proc filesystem to once a second.
36425
36426 2011-06-21 Andreas Jaeger <aj@suse.de>
36427
36428 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36429 NULL after inclusion of kernel headers.
36430
36431 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36432
36433 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36434 calls to internal_setent.
36435
36436 [BZ #12885]
36437 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36438 addresses using gethostbyname4_r ignore IPv4 addresses.
36439
36440 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36441 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36442
36443 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36444
36445 2011-06-20 David S. Miller <davem@davemloft.net>
36446
36447 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36448 inclusions.
36449 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36450
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.
36458
36459 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36460 * elf/dl-sym.c: Likewise.
36461
36462 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36463
36464 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36465 need to dereference resplen2.
36466
36467 2011-06-14 Andreas Schwab <schwab@redhat.com>
36468
36469 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36470
36471 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36472
36473 * Makeconfig: Define vardbdir and inst_vardbdir.
36474 * nss/Makefile: Add rules to install db-Makefile.
36475
36476 * nss/nss_db/db-XXX.c: Cleanup.
36477
36478 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36479 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36480 GLIBC_PRIVATE.
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
36484 get*ent calls.
36485 * nss/nss_db/db-initgroups.c: New file.
36486
36487 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36488 interface.
36489
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.
36494
36495 * nss/makedb.c (compute_tables): Check result of multiple hash table
36496 sizes to minimize maximum chain length.
36497
36498 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36499
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
36504 entries better.
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
36508 here from...
36509 * nss/makedb.c: ...here.
36510 Improve database format to be smaller and require less memory at
36511 runtime.
36512 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36513 db anymore.
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.
36529
36530 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36531
36532 * nss/makedb.c: Rewritten to not use database library.
36533 * nss/Makefile: Update to build new makedb program.
36534
36535 2011-06-14 Andreas Jaeger <aj@suse.de>
36536
36537 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36538 memset declaration.
36539
36540 2011-06-10 Andreas Schwab <schwab@redhat.com>
36541
36542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36543 tmpbuf.
36544
36545 2011-06-10 Roland McGrath <roland@hack.frob.com>
36546
36547 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36548 * elf/Makefile ($(objpfx)ld.so): Likewise.
36549
36550 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36551 Don't list ld.so twice in dependencies.
36552
36553 * posix/bug-regex31.c: Include <stdlib.h>.
36554
36555 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36556
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.
36560
36561 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36562 nonmembers" output to use the right array.
36563
36564 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36565
36566 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36567
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.
36572
36573 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36574 variable definition inside #if's controlling its use.
36575
36576 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36577
36578 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36579
36580 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36581
36582 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36583 unreachable code.
36584
36585 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36586
36587 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36588 * configure: Regenerated.
36589
36590 * Makerules: Revert last change.
36591 * elf/Makefile: Likewise.
36592
36593 2011-06-09 Roland McGrath <roland@hack.frob.com>
36594
36595 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36596 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36597 (reloc-link): Likewise.
36598
36599 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36600
36601 * elf/Makefile: Add rules to build pldd.
36602 * elf/pldd.c: New file.
36603 * elf/pldd-xx.c: New file.
36604
36605 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36606
36607 * version.h: Update for 2.15 development version.
36608
36609 2011-06-07 David S. Miller <davem@davemloft.net>
36610
36611 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36612 ifuncs.
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):
36621 Likewise.
36622
36623 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36624
36625 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36626
36627 2011-06-06 Roland McGrath <roland@hack.frob.com>
36628
36629 [BZ #12849]
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.
36635 (texis): Use it.
36636 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36637
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.
36642
36643 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36644
36645 [BZ #12841]
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.
36649
36650 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36651
36652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36653 Assume Intel Core i3/i5/i7 processor if AVX is available.
36654
36655 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36656
36657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36658 typo.
36659
36660 2011-05-31 Andreas Schwab <schwab@redhat.com>
36661
36662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36663 memory. Use alloca_account. Fix memory leak when retrying.
36664
36665 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36666
36667 * version.h (RELEASE): Bump for 2.14 release.
36668 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36669
36670 * config.make.in (RANLIB): Remove entry.
36671
36672 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36673
36674 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36675 (libc.pot): Work around missing support for .ksh extension in xgettext.
36676
36677 [BZ #12684]
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.
36681
36682 [BZ #12454]
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.
36687
36688 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36689
36690 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36691
36692 [BZ #12350]
36693 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36694 bit from old_res_options.
36695 (gaih_inet): Likewise.
36696
36697 [BZ #11099]
36698 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36699 as signed.
36700
36701 * resolv/res_init.c (res_setoptions): Make the code more compact.
36702
36703 [BZ #11558]
36704 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36705 set RES_USEVC.
36706
36707 [BZ #11634]
36708 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36709
36710 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36711
36712 [BZ #11781]
36713 * malloc/malloc.h: Declare malloc hook variables as volatile.
36714
36715 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36716 in last patch.
36717
36718 [BZ #11799]
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.
36724
36725 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36726
36727 [BZ #12811]
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
36734 buffer.
36735 Patches mostly by Emil Wojak <emil@wojak.eu>.
36736 * posix/bug-regex32.c: New file.
36737 * posix/Makefile (tests): Add bug-regex32.
36738
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.
36742
36743 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36744
36745 * debug/xtrace.sh: Unify messages.
36746 * malloc/memusage.sh: Likewise.
36747
36748 [BZ #12813]
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
36752 __vdso_time.
36753
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.
36761
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.
36765
36766 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36767
36768 [BZ #12813]
36769 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36770 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36771 available.
36772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36773 __vdso_getcpu.
36774
36775 [BZ #12814]
36776 * iconvdata/Makefile (tests): Add bug-iconv9.
36777 * iconvdata/bug-iconv9.c: New file.
36778
36779 2011-05-27 Andreas Schwab <schwab@redhat.com>
36780
36781 [BZ #12814]
36782 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36783
36784 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36785
36786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36787 (struct user_regs_struct): Change intcs field back to cs.
36788
36789 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36790
36791 * po/ja.po: Update from translation team.
36792
36793 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36794
36795 [BZ #12795]
36796 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36798
36799 2011-05-20 Andreas Schwab <schwab@redhat.com>
36800
36801 * stdlib/longlong.h: Update from GCC.
36802
36803 2011-05-23 Andreas Schwab <schwab@redhat.com>
36804
36805 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36806 parameter name.
36807 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36808 Add parameter name.
36809 (__sysconf): Pass it down.
36810
36811 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36812
36813 [BZ #12671]
36814 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36815 some situations.
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.
36820
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
36823 pltexit.
36824
36825 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36826
36827 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36828 and CLOCK_BOOTTIME_ALARM.
36829
36830 [BZ #12782]
36831 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36832 is returned.
36833
36834 * string/_strerror.c (__strerror_r): Print negative errors as signed
36835 numbers.
36836
36837 [BZ #12777]
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.
36841
36842 * configure.in: Fix typo in redirection and correct removal of test
36843 files in two cases.
36844
36845 [BZ #12788]
36846 * locale/setlocale.c (new_composite_name): Fix test to check for
36847 identical name of all categories.
36848
36849 [BZ #12792]
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
36855 error flag.
36856
36857 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36858
36859 [BZ #11869]
36860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36861 alloca.
36862 * include/alloca.h (extend_alloca_account): Define.
36863
36864 [BZ #11857]
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>.
36869
36870 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36871
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.
36875
36876 2011-05-19 Andreas Schwab <schwab@redhat.com>
36877
36878 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36879
36880 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36881
36882 * libio/freopen.c (freopen): Use __dup2, not dup2.
36883 * libio/freopen64.c (freopen64): Likewise.
36884
36885 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36886
36887 [BZ #12775]
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.
36892
36893 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36894
36895 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36896
36897 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36898
36899 [BZ #11837]
36900 * iconvdata/gb18030.c: Update to GB18020-2005.
36901
36902 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36903
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>.
36907
36908 [BZ #11892]
36909 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36910 on the stack.
36911
36912 [BZ #11895]
36913 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36914 through underflows.
36915
36916 [BZ #12766]
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
36919 mode.
36920
36921 [BZ #11697]
36922 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36923
36924 [BZ #11820]
36925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36926 (struct user_fpregs_struct): Avoid __uint*_t types.
36927
36928 [BZ #6420]
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.
36937
36938 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36939 used and couldn't be at all thread-safe.
36940
36941 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36942
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.
36958
36959 [BZ #7101]
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.
36964
36965 [BZ #10138]
36966 * scripts/config.guess: Update from autoconf-2.68.
36967 * scripts/config.sub: Likewise.
36968
36969 [BZ #10157]
36970 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36971 tests into ...
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.
36975
36976 [BZ #10149]
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.
36980
36981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36982 Use non-cancelable interfaces.
36983
36984 [BZ #9809]
36985 * locale/iso-639.def: Add entry for Sorani.
36986
36987 [BZ #11901]
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
36993 mmap.
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
36999 mmap.
37000 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37001
37002 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37003
37004 [BZ #11952]
37005 [BZ #12453]
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>.
37014
37015 [BZ #12083]
37016 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37017 correctly.
37018
37019 [BZ #12601]
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.
37024
37025 [BZ #12626]
37026 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37027 buf2 definition.
37028
37029 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37030
37031 [BZ #12432]
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.
37037
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.
37041
37042 2011-05-11 Andreas Schwab <schwab@redhat.com>
37043
37044 * Makeconfig (+link-pie): Indent.
37045 * Rules (binaries-pie): Define if $(have-fpie) and
37046 $(build-shared).
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.
37056
37057 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37058
37059 * libio/tst_putwc.c: Fix error messages.
37060
37061 [BZ #12724]
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.
37066
37067 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37068
37069 [BZ #12511]
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>.
37079
37080 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37081
37082 [BZ #12052]
37083 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37084
37085 [BZ #12625]
37086 * misc/mntent_r.c (addmntent): Flush the stream after the output
37087
37088 [BZ #12393]
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.
37097
37098 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37099
37100 [BZ #11257]
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.
37107
37108 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37109
37110 [BZ #11532]
37111 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37112 and CP774 modules.
37113 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37114 and CP774 modules.
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.
37131
37132 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37133 END CHARMAP line.
37134 * iconvdata/gen-8bit-gap.sh: Likewise.
37135 * iconvdata/gen-8bit.sh: Likewise.
37136
37137 * locale/iso-639.def: Add ary entry.
37138
37139 [BZ #11258]
37140 * locale/C-translit.h.in: Add U20A1 transliteration.
37141
37142 [BZ #12178]
37143 * locale/iso-639.def: Add wae entry.
37144 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37145
37146 [BZ #12545]
37147 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37148 for n.
37149
37150 [BZ #12711]
37151 * locale/C-translit.h.in: Add entry for U20B9.
37152 Patch by pravin.d.s@gmail.com.
37153
37154 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37155
37156 [BZ #12713]
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.
37173
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
37177 __alloc_dir.
37178 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37179 from fdopendir if O_CLOEXEC is already set.
37180
37181 2011-03-15 Alan Modra <amodra@gmail.com>
37182
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.
37188
37189 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37190
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.
37194
37195 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37196
37197 [BZ #12734]
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.
37204
37205 2011-05-07 Petr Baudis <pasky@suse.cz>
37206 Ulrich Drepper <drepper@gmail.com>
37207
37208 [BZ #12393]
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.
37214
37215 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37216
37217 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37218 __BEGIN/__END_DECLS.
37219
37220 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37221
37222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37223 NSS_STATUS_NOTFOUND if no record was found.
37224
37225 2011-05-05 Andreas Schwab <schwab@redhat.com>
37226
37227 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37228 (headers-not-in-tirpc): Remove rpc/netdb.h
37229 * resolv/netdb.h: Revert last change.
37230
37231 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37232
37233 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37234 circular dependency between libgcc.a and libc.a.
37235
37236 2011-05-05 Andreas Schwab <schwab@redhat.com>
37237
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.
37243
37244 2011-05-03 Andreas Schwab <schwab@redhat.com>
37245
37246 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37247
37248 2011-04-28 Maciej Babinski <mbabinski@google.com>
37249
37250 [BZ #12714]
37251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37252 gethostbyname4_r when IPv6 results are possible.
37253
37254 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37255
37256 [BZ #12723]
37257 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37258 _PC_PIPE_BUF handling.
37259
37260 2011-04-30 Bruno Haible <bruno@clisp.org>
37261
37262 [BZ #12717]
37263 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37264 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37265 to 'int'.
37266 * inet/getnameinfo.c (getnameinfo): Likewise.
37267
37268 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37269
37270 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37271 to groups setting in database lookup.
37272 * nss/nsswitch.conf: Add initgroups entry.
37273
37274 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37275
37276 [BZ #12685]
37277 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37278 mode string.
37279 Patch by Eric Blake <eblake@redhat.com>.
37280
37281 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37282
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.
37289
37290 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37291
37292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37293 problem in reallocation in last patch.
37294
37295 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37296
37297 * sunrpc/Makefile: Move inclusion of Rules.
37298
37299 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37300
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.
37305
37306 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37307
37308 * elf/elf.h (R_ARM_IRELATIVE): Define.
37309
37310 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37311
37312 * po/ru.po: Update from translation team.
37313
37314 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37315
37316 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37317 dependencies.
37318
37319 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37320
37321 [BZ #12653]
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.
37327
37328 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37329
37330 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37331 differing bytes.
37332 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37334 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37335
37336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37337
37338 [BZ #12420]
37339 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37340 storing it.
37341 * stdlib/bug-getcontext.c: New file.
37342 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37343
37344 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37345
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.
37350
37351 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37352
37353 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37354 between environment variables and auxiliary vector.
37355
37356 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37357
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.
37429
37430 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37431
37432 [BZ #12650]
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.
37441
37442 2011-03-14 Andreas Schwab <schwab@redhat.com>
37443
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
37451 with zero is_path.
37452
37453 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37454
37455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37456 Make cancelable.
37457
37458 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37459
37460 [BZ #12655]
37461 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37462 Patch by Filipe David Manana <fdmanana@apache.org>.
37463
37464 2011-04-07 Andreas Schwab <schwab@redhat.com>
37465
37466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37467 Maintain aligned stack.
37468 (CHECK_RSP): Remove unused macro.
37469
37470 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37471
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.
37474
37475 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37476
37477 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37478
37479 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37480
37481 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37482
37483 [BZ #12518]
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.
37493
37494 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37495
37496 [BZ #12631]
37497 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37498
37499 2011-03-30 Andreas Schwab <schwab@redhat.com>
37500
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.
37505
37506 2011-04-01 Andreas Schwab <schwab@redhat.com>
37507
37508 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37509 open_by_handle_at.
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.
37517
37518 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37519
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.
37527
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.
37545
37546 2011-04-01 Andreas Schwab <schwab@redhat.com>
37547
37548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37549 bits/timex.h.
37550
37551 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37552
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.
37561
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
37573 open_by_handle.
37574
37575 * io/fcntl.h (AT_EMPTY_PATH): Define.
37576
37577 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37578
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
37582 to...
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):
37586 Export.
37587
37588 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37589
37590 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37591 round counter.
37592 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37593
37594 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37595
37596 [BZ #12597]
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.
37601
37602 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37603
37604 [BZ #12587]
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.
37608
37609 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37610
37611 [BZ #12583]
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>.
37615
37616 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37617
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,...).
37621
37622 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37623
37624 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37625
37626 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37627
37628 [BZ #12510]
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
37631 used variable.
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.
37639
37640 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37641
37642 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37643
37644 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37645 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37646 to _start.
37647
37648 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37649
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.
37652
37653 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37654 Ulrich Drepper <drepper@gmail.com>
37655
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.
37659
37660 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37661
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.
37666
37667 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37668
37669 * libio/fmemopen.c (fmemopen): Optimize a bit.
37670
37671 2011-03-03 Andreas Schwab <schwab@redhat.com>
37672
37673 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37674
37675 2011-03-03 Roland McGrath <roland@redhat.com>
37676
37677 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37678
37679 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37680
37681 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37682 __bzero_ultra1 instead of __memset_ultra1.
37683
37684 2011-02-23 Andreas Schwab <schwab@redhat.com>
37685 Ulrich Drepper <drepper@gmail.com>
37686
37687 [BZ #12509]
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
37693 list.
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.
37701
37702 2011-02-17 Andreas Schwab <schwab@redhat.com>
37703
37704 [BZ #12454]
37705 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37706 dependencies are missing.
37707
37708 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37709
37710 Fix __if_freereq crash: Unlike the generic version which uses free,
37711 Hurd needs munmap.
37712 * sysdeps/mach/hurd/ifreq.h: New file.
37713
37714 2011-01-27 Petr Baudis <pasky@suse.cz>
37715 Ulrich Drepper <drepper@gmail.com>
37716
37717 [BZ 12445]#
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.
37722
37723 2010-09-28 Andreas Schwab <schwab@redhat.com>
37724 Ulrich Drepper <drepper@gmail.com>
37725
37726 [BZ #12489]
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.
37730
37731 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37732 Glauber de Oliveira Costa <glommer@gmail.com>
37733
37734 * elf/elf.h: Add new ARM TLS relocs.
37735
37736 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37737
37738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37739 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37740 cast from r3.
37741 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37742 'tests' variable.
37743 * sysdeps/wordsize-64/tst-writev.c: New file.
37744
37745 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37746
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
37750 resolved.
37751
37752 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37753
37754 [BZ #12469]
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.
37760
37761 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37762
37763 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37764 protection macro.
37765 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37766 inclusion protection macro.
37767
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.
37771
37772 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37773
37774 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37775 arginfo fn returning -1.
37776
37777 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37778 and thousands string is zero terminated.
37779
37780 2011-02-03 Andreas Schwab <schwab@redhat.com>
37781
37782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37783 sysdeps/unix/sysv/linux/bits/socket.h.
37784
37785 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37786
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.
37793
37794 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37795
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.
37824
37825 2011-02-04 Roland McGrath <roland@redhat.com>
37826
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.
37832
37833 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37834
37835 * posix/fnmatch_loop.c: Add some consts.
37836
37837 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37838
37839 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37840
37841 [BZ #12460]
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.
37852
37853 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37854
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>.
37858
37859 2011-02-02 Andreas Schwab <schwab@redhat.com>
37860
37861 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37862 of errno.
37863
37864 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37865
37866 [BZ #11724]
37867 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37868 of constructors.
37869 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37870 of destructors.
37871 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37872
37873 [BZ #11724]
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>.
37891
37892 2010-10-01 Andreas Schwab <schwab@redhat.com>
37893
37894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37895 decoding ACE if AI_CANONIDN.
37896
37897 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37898
37899 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37900
37901 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37902
37903 * version.h (RELEASE): Bump for 2.13 release.
37904 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37905
37906 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37907
37908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37909 MADV_NOHUGEPAGE.
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.
37916
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.
37933
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.
37937
37938 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37939
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.
37951
37952 * configure.in: Don't override --enable-multi-arch.
37953
37954 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37955
37956 [BZ #6812]
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
37960 failed.
37961
37962 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37963
37964 [BZ #10563]
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.
37968
37969 [BZ #12378]
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.
37977
37978 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37979
37980 * elf/Makefile (check-execstack): Revert last change. Depend on
37981 check-execstack.h.
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.
37988
37989 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37990
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.
37996
37997 [BZ #12397]
37998 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37999 syscall.
38000
38001 [BZ #10484]
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.
38005
38006 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38007
38008 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38009 loader is ld.so.
38010
38011 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38012
38013 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38014 alignment for SSE2.
38015
38016 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38017
38018 [BZ #12394]
38019 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38020 characters. When rounding increased number of integer digits recompute
38021 number of groups.
38022 * stdio-common/tst-grouping.c: New file.
38023 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38024
38025 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38026
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.
38029
38030 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38031 void.
38032 * bits/select.h: Likewise.
38033
38034 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38035
38036 * po/ja.po: Update from translation team.
38037
38038 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38039
38040 [BZ #11155]
38041 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38042 implementation just like for lxstat, fxstatat, et al.
38043
38044 2010-12-27 Jim Meyering <meyering@redhat.com>
38045
38046 [BZ #12348]
38047 * posix/regexec.c (build_trtable): Return failure indication upon
38048 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38049
38050 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38051
38052 [BZ #12201]
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.
38057
38058 [BZ #12207]
38059 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38060
38061 [BZ #12204]
38062 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38063 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38064
38065 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38066
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.
38079
38080 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38081
38082 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38083 always use the slow path.
38084
38085 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38086
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.
38106
38107 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38108
38109 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38110 accurately.
38111 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38112 GETDENTS_64BIT_ALIGNED.
38113
38114 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38115
38116 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38117
38118 2010-12-10 Andreas Schwab <schwab@redhat.com>
38119
38120 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38121 _GNU_SOURCE.
38122
38123 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38124 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38125 Remove __restrict.
38126 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38127 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38128
38129 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38130
38131 [BZ #11655]
38132 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38133 are initialized.
38134
38135 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38136
38137 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38138
38139 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38140
38141 * po/it.po: Update from translation team.
38142
38143 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38144
38145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38146 unused codes.
38147
38148 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38149
38150 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38151
38152 2010-11-24 Andreas Schwab <schwab@redhat.com>
38153
38154 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38155 specially.
38156 (gaih_getanswer_slice): Likewise.
38157
38158 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38159
38160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38161
38162 2010-05-31 Petr Baudis <pasky@suse.cz>
38163
38164 [BZ #11149]
38165 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38166 silently even in the chroot mode.
38167
38168 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38169
38170 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38171 last patch a bit. Pretty printing
38172
38173 2010-05-31 Petr Baudis <pasky@suse.cz>
38174
38175 [BZ #10085]
38176 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38177 initialization of skip_initgroups_dyn.
38178
38179 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38180
38181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38182 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38183
38184 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38185
38186 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38187
38188 2010-11-11 Andreas Schwab <schwab@redhat.com>
38189
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.
38196
38197 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38198
38199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38200 Support Intel processor model 6 and model 0x2c.
38201
38202 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38203
38204 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38205 signed comparison.
38206
38207 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38208
38209 [BZ #12205]
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.
38216
38217 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38218
38219 [BZ #12194]
38220 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38222
38223 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38224
38225 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38226 IFUNC support.
38227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38228 memset-x86-64.
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):
38237 Define.
38238 (index_Prefer_SSE_for_memop): Define.
38239 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38240
38241 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38242
38243 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38244 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38245
38246 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38247
38248 [BZ #12191]
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.
38253
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.
38264
38265 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38266
38267 [BZ #12167]
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>.
38272
38273 2010-10-28 Erich Ritz <erichritz@gmail.com>
38274
38275 * math/math.h (isinf): Fix typo in comment.
38276
38277 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38278
38279 * po/da.po: Update from translation team.
38280
38281 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38282
38283 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38284 is added to the list.
38285
38286 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38287 Ulrich Drepper <drepper@gmail.com>
38288
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.
38297
38298 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38299
38300 [BZ #12159]
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>.
38304
38305 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38306
38307 [BZ #12140]
38308 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38309 perturbing.
38310
38311 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38312
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
38318 submachine.
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38320
38321 2010-10-22 Andreas Schwab <schwab@redhat.com>
38322
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.
38335
38336 2010-09-09 Andreas Schwab <schwab@redhat.com>
38337
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.
38342
38343 2010-10-18 Andreas Schwab <schwab@redhat.com>
38344
38345 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38346 _dl_map_object do it.
38347
38348 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38349
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.
38355
38356 * bits/mathdef.h: Update copyright year.
38357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38358
38359 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38360
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
38366 multiply/add.
38367 (FP_FAST_FMAF): Likewise.
38368
38369 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38370
38371 [BZ #3268]
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.
38383
38384 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38385
38386 [BZ #3268]
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.
38391
38392 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38393
38394 [BZ #3268]
38395 * math/libm-test.inc (fma_test): Add some more tests.
38396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38397 correctly.
38398
38399 2010-10-15 Andreas Schwab <schwab@redhat.com>
38400
38401 * scripts/data/localplt-s390-linux-gnu.data: New file.
38402 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38403
38404 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38405
38406 [BZ #3268]
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
38409 instead of dbl-64.
38410 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38411 inlines.
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.
38422
38423 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38424
38425 [BZ #3268]
38426 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38427 fma tests.
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.
38435
38436 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38437
38438 [BZ #12078]
38439 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38440 * posix/bug-regex31.input: Add test case.
38441
38442 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38443
38444 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38445 * posix/bug-regex31.input: New file.
38446
38447 [BZ #12078]
38448 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38449 (parse_sub_exp): Fix last change, use postorder.
38450
38451 * posix/bug-regex31.c: New file.
38452 * posix/Makefile: Add rules to build and run bug-regex31.
38453
38454 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38455
38456 [BZ #12078]
38457 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38458
38459 [BZ #12108]
38460 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38461 to have entries in sys_siglist.
38462
38463 [BZ #12093]
38464 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38465 be NULL.
38466
38467 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38468
38469 [BZ #3268]
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.
38491
38492 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38493
38494 [BZ #12107]
38495 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38496 newline.
38497
38498 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38499
38500 * string/bug-strstr1.c: New file.
38501 * string/Makefile: Add rules to build and run bug-strstr1.
38502
38503 2010-10-05 Eric Blake <eblake@redhat.com>
38504
38505 [BZ #12092]
38506 * string/str-two-way.h (two_way_long_needle): Always clear memory
38507 when skipping input due to the shift table.
38508
38509 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38510
38511 [BZ #12005]
38512 * malloc/mcheck.c: Handle large requests.
38513
38514 [BZ #12077]
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.
38519
38520 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38521
38522 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38523 __set_fpscr.
38524
38525 2010-09-30 Andreas Jaeger <aj@suse.de>
38526
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):
38532 Likewise.
38533
38534 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38535
38536 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38537 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38538
38539 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38540
38541 [BZ #12067]
38542 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38543 trying to locate the ELF header.
38544
38545 2010-09-27 Andreas Schwab <schwab@redhat.com>
38546
38547 [BZ #11611]
38548 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38549 Mask out sign-bit copies when constructing f_fsid.
38550
38551 2010-09-24 Petr Baudis <pasky@suse.cz>
38552
38553 * debug/stack_chk_fail_local.c: Add missing licence exception.
38554 * debug/warning-nop.c: Likewise.
38555
38556 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38557
38558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38559 implementing getdents64 using getdents syscall, set d_type if
38560 __ASSUME_GETDENTS32_D_TYPE.
38561
38562 2010-09-16 Andreas Schwab <schwab@redhat.com>
38563
38564 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38565 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38566
38567 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38568
38569 [BZ #12037]
38570 * posix/unistd.h: Undo change of feature selection for ftruncate from
38571 2010-01-11.
38572
38573 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38574
38575 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38576 detection.
38577
38578 2010-09-20 Andreas Schwab <schwab@redhat.com>
38579
38580 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38581 fanotify_mark.
38582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38583
38584 2010-09-14 Andreas Schwab <schwab@redhat.com>
38585
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.
38589
38590 2010-09-13 Andreas Schwab <schwab@redhat.com>
38591 Ulrich Drepper <drepper@redhat.com>
38592
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)
38598 here anymore.
38599
38600 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38601
38602 * resolv/res_init.c (__res_vinit): Count the default server we added.
38603
38604 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38605 Ulrich Drepper <drepper@redhat.com>
38606
38607 [BZ #11968]
38608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38609 (____longjmp_chk): Use %ebx for saving value across system call.
38610 Add unwind info.
38611
38612 2010-09-06 Andreas Schwab <schwab@redhat.com>
38613
38614 * manual/Makefile: Don't mix pattern rules with normal rules.
38615
38616 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38617
38618 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38619 operation.
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):
38625 Likewise.
38626
38627 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38628
38629 [BZ #11979]
38630 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38631 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38632
38633 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38634
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.
38642
38643 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38644
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.
38654
38655 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38656
38657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38658 (epoll_create1): Declare.
38659
38660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38661
38662 2010-08-31 Andreas Schwab <schwab@redhat.com>
38663
38664 [BZ #7066]
38665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38666 shifting retval into place.
38667
38668 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38669
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.
38681
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.
38688
38689 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38690
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38692 fanotify_mark.
38693
38694 2010-08-27 Roland McGrath <roland@redhat.com>
38695
38696 * sysdeps/i386/i686/multiarch/Makefile
38697 (CFLAGS-varshift.c): New variable.
38698
38699 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38700
38701 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38702 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38703
38704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38705
38706 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38707
38708 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38709
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.
38718
38719 2010-08-25 Roland McGrath <roland@redhat.com>
38720
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.
38727
38728 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38729
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.
38742
38743 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38744
38745 [BZ #10851]
38746 * resolv/res_init.c (__res_vinit): When no server address at all
38747 is given default to loopback.
38748
38749 2010-08-24 Roland McGrath <roland@redhat.com>
38750
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.
38757
38758 * sunrpc/rpc_parse.h: Avoid nested comment.
38759
38760 2010-08-24 Richard Henderson <rth@redhat.com>
38761 Ulrich Drepper <drepper@redhat.com>
38762 H.J. Lu <hongjiu.lu@intel.com>
38763
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.
38776
38777 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38778
38779 * configure.in: Move assembler checks to before sysdep dir checking.
38780
38781 2010-08-20 Petr Baudis <pasky@suse.cz>
38782
38783 * LICENSES: Sync the sunrpc license.
38784
38785 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38786
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.
38879
38880 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38881 handling.
38882
38883 2010-08-19 Andreas Schwab <schwab@redhat.com>
38884
38885 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38886
38887 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38888
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.
38903
38904 2010-07-26 Anton Blanchard <anton@samba.org>
38905
38906 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38907 * malloc/arena.c (heap_trim): Likewise.
38908
38909 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38910
38911 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38912 here. Not...
38913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38914 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38915
38916 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38917
38918 * sysdeps/i386/elf/Makefile: New file.
38919
38920 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38921
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.
38926
38927 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38928
38929 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38930 of strncasecmp_l.
38931 * sysdeps/multiarch/strcmp.S: Likewise.
38932
38933 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38934
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.
38948
38949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38950 warning.
38951
38952 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38953 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38954
38955 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38956
38957 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38958
38959 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38960
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.
38964
38965 2010-05-01 Alan Modra <amodra@gmail.com>
38966
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
38974 save location.
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
39000 __syscall_error.
39001
39002 2010-08-12 Andreas Schwab <schwab@redhat.com>
39003
39004 [BZ #11904]
39005 * locale/programs/locale.c (print_assignment): New function.
39006 (show_locale_vars): Use it.
39007
39008 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39009
39010 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39011 field.
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.
39022
39023 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39024
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.
39033
39034 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39035 Add prlimit.
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
39039 prlimit64.
39040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39041 syscall.
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
39047 add prlimit alias.
39048 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39049
39050 [BZ #11903]
39051 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39052 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39053
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.
39058
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.
39069
39070 * nss/nss_files/files-parse.c: Whitespace fixes.
39071
39072 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39073
39074 [BZ #11883]
39075 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39076 * posix/fnmatch_loop.c: Likewise.
39077
39078 2010-07-17 Andi Kleen <ak@linux.intel.com>
39079
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.
39084
39085 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39086
39087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39088 Also fail if tpwd after pwuid call is NULL.
39089
39090 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39091
39092 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39093 when converting to ms.
39094
39095 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39096
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.
39101
39102 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39103
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
39107 strcasecmp.
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.
39111
39112 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39113
39114 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39115
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.
39126
39127 * string/test-strcasestr.c: Test both ends of the range of characters.
39128 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39129
39130 2010-07-29 Roland McGrath <roland@redhat.com>
39131
39132 [BZ #11856]
39133 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39134
39135 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39136
39137 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39138 for ld.so.
39139
39140 2010-07-27 Andreas Schwab <schwab@redhat.com>
39141
39142 * manual/memory.texi (Malloc Tunable Parameters): Document
39143 M_PERTURB.
39144
39145 2010-07-26 Roland McGrath <roland@redhat.com>
39146
39147 [BZ #11840]
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@.
39152
39153 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39154
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.
39159
39160 * sysdeps/x86_64/strnlen.S: New file.
39161
39162 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39163
39164 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39165 lower-latency instructions.
39166
39167 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39168
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.
39174
39175 2010-07-21 Andreas Schwab <schwab@redhat.com>
39176
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.
39183
39184 2010-07-20 Roland McGrath <roland@redhat.com>
39185
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.
39190
39191 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39192
39193 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39194
39195 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39196
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.
39204
39205 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39206
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.
39211
39212 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39213
39214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39215 fcntl.
39216
39217 2010-07-06 Andreas Schwab <schwab@redhat.com>
39218
39219 [BZ #11577]
39220 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39221 dl_signal_cerror.
39222
39223 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39224
39225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39226 _PC_PIPE_BUF using F_GETPIPE_SZ.
39227
39228 2010-07-05 Roland McGrath <roland@redhat.com>
39229
39230 * manual/arith.texi (Rounding Functions): Fix rint description
39231 implicit in round description.
39232
39233 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39234
39235 * elf/Makefile: Fix linking for a few tests to make recent linker
39236 happy.
39237
39238 2010-06-30 Andreas Schwab <schwab@redhat.com>
39239
39240 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39241 $(common-objpfx)libc_nonshared.a.
39242
39243 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39244
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.
39293
39294 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39295
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.
39302 (END_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):
39320 Define.
39321 (index_Fast_Copy_Backward): Define.
39322 (HAS_ARCH_FEATURE): Define.
39323 (HAS_FAST_REP_STRING): Define.
39324 (HAS_FAST_COPY_BACKWARD): Define.
39325
39326 2010-06-21 Andreas Schwab <schwab@redhat.com>
39327
39328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39329 Restore proper fallback handling.
39330
39331 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39332
39333 [BZ #11701]
39334 * posix/group_member.c (__group_member): Correct checking loop.
39335
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.
39342
39343 2010-06-07 Andreas Schwab <schwab@redhat.com>
39344
39345 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39346 libc_nonshared.a from targets in modules-names.
39347
39348 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39349
39350 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39351 requires it.
39352
39353 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39354
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.
39359
39360 2010-06-02 Andreas Schwab <schwab@redhat.com>
39361
39362 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39363
39364 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39365
39366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39367 and F_GETPIPE_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
39374
39375 2010-06-14 Roland McGrath <roland@redhat.com>
39376
39377 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39378
39379 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39380
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.
39385
39386 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39387
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
39391 in AT_FLAGS.
39392 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39393 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39394
39395 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39396
39397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39398
39399 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39400
39401 [BZ #11640]
39402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39403 Properly check family and model.
39404
39405 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39406
39407 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39408
39409 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39410
39411 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39412
39413 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39414
39415 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39416 symbol reference.
39417
39418 2010-05-19 Andreas Schwab <schwab@redhat.com>
39419
39420 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39421 symbol reference.
39422
39423 2010-05-21 Andreas Schwab <schwab@redhat.com>
39424
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.
39431
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.
39435
39436 2010-05-20 Andreas Schwab <schwab@redhat.com>
39437
39438 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39439
39440 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39441
39442 POWER7 optimizations.
39443 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39444 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39445
39446 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39447
39448 * version.h: Update for 2.13 development version.
39449
39450 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39451
39452 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39453 exceptions. Return 0.
39454
39455 2010-05-07 Roland McGrath <roland@redhat.com>
39456
39457 * elf/ldconfig.c (main): Add a const.
39458
39459 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39460
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.
39465
39466 * malloc/malloc.c (_int_free): Possible race in the most recently
39467 added check. Only act on the data if no current modification
39468 happened.
39469
39470 See ChangeLog.17 for earlier changes.