]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move tilegx, tilepro, and linux-generic from ports to libc.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4372980f
CM
12014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2
3 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4 * sysdeps/unix/sysv/linux/generic: Move directory from
5 ports/sysdeps/unix/sysv/linux/generic.
6 * sysdeps/unix/sysv/linux/tile: Move directory from
7 ports/sysdeps/unix/sysv/linux/tile.
8 * README: Update listing for tile*-*-linux-gnu.
9
a1ffb40e
OB
102014-02-10 Ondřej Bílka <neleai@seznam.cz>
11
12 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
13 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14 * catgets/open_catalog.c (__open_catalog): Likewise.
15 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16 * debug/confstr_chk.c: Likewise.
17 * debug/fread_chk.c (__fread_chk): Likewise.
18 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19 * debug/getgroups_chk.c: Likewise.
20 * debug/mbsnrtowcs_chk.c: Likewise.
21 * debug/mbsrtowcs_chk.c: Likewise.
22 * debug/mbstowcs_chk.c: Likewise.
23 * debug/memcpy_chk.c: Likewise.
24 * debug/memmove_chk.c: Likewise.
25 * debug/mempcpy_chk.c: Likewise.
26 * debug/memset_chk.c: Likewise.
27 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28 * debug/strcat_chk.c (__strcat_chk): Likewise.
29 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
30 * debug/strncat_chk.c (__strncat_chk): Likewise.
31 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34 * debug/wcpncpy_chk.c: Likewise.
35 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38 * debug/wcsncpy_chk.c: Likewise.
39 * debug/wcsnrtombs_chk.c: Likewise.
40 * debug/wcsrtombs_chk.c: Likewise.
41 * debug/wcstombs_chk.c: Likewise.
42 * debug/wmemcpy_chk.c: Likewise.
43 * debug/wmemmove_chk.c: Likewise.
44 * debug/wmempcpy_chk.c: Likewise.
45 * debug/wmemset_chk.c: Likewise.
46 * dirent/scandirat.c (SCANDIRAT): Likewise.
47 * dlfcn/dladdr1.c (dladdr1): Likewise.
48 * dlfcn/dladdr.c (dladdr): Likewise.
49 * dlfcn/dlclose.c (dlclose_doit): Likewise.
50 * dlfcn/dlerror.c (__dlerror): Likewise.
51 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
52 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53 * dlfcn/dlopen.c (dlopen_doit): Likewise.
54 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55 * dlfcn/dlsym.c (dlsym_doit): Likewise.
56 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
58 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
59 Likewise.
60 * elf/dl-conflict.c: Likewise.
61 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
62 * elf/dl-dst.h: Likewise.
63 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
64 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
65 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
66 * elf/dl-init.c (call_init, _dl_init): Likewise.
67 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
68 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
69 _dl_map_object_from_fd, open_verify, open_path,
70 _dl_map_object): Likewise.
71 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
72 Likewise.
73 * elf/dl-minimal.c (__libc_memalign): Likewise.
74 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
75 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
76 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
77 * elf/dl-sym.c (do_sym): Likewise.
78 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
79 _dl_tls_get_addr_soft): Likewise.
80 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
81 * elf/dl-writev.h (_dl_writev): Likewise.
82 * elf/ldconfig.c (search_dir): Likewise.
83 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
84 dl_main): Likewise.
85 * elf/setup-vdso.h (setup_vdso): Likewise.
86 * grp/compat-initgroups.c (compat_call): Likewise.
87 * grp/fgetgrent.c (fgetgrent): Likewise.
88 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
89 * grp/putgrent.c (putgrent): Likewise.
90 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
91 Likewise.
92 * hurd/hurdinit.c: Likewise.
93 * iconvdata/8bit-gap.c (struct): Likewise.
94 * iconvdata/ansi_x3.110.c : Likewise.
95 * iconvdata/big5.c : Likewise.
96 * iconvdata/big5hkscs.c : Likewise.
97 * iconvdata/cp1255.c: Likewise.
98 * iconvdata/cp1258.c : Likewise.
99 * iconvdata/cp932.c : Likewise.
100 * iconvdata/euc-cn.c: Likewise.
101 * iconvdata/euc-jisx0213.c : Likewise.
102 * iconvdata/euc-jp.c: Likewise.
103 * iconvdata/euc-jp-ms.c : Likewise.
104 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
105 * iconvdata/gb18030.c : Likewise.
106 * iconvdata/gbbig5.c (const): Likewise.
107 * iconvdata/gbgbk.c: Likewise.
108 * iconvdata/gbk.c : Likewise.
109 * iconvdata/ibm1364.c : Likewise.
110 * iconvdata/ibm930.c : Likewise.
111 * iconvdata/ibm932.c: Likewise.
112 * iconvdata/ibm933.c : Likewise.
113 * iconvdata/ibm935.c : Likewise.
114 * iconvdata/ibm937.c : Likewise.
115 * iconvdata/ibm939.c : Likewise.
116 * iconvdata/ibm943.c: Likewise.
117 * iconvdata/iso_11548-1.c: Likewise.
118 * iconvdata/iso-2022-cn.c : Likewise.
119 * iconvdata/iso-2022-cn-ext.c : Likewise.
120 * iconvdata/iso-2022-jp-3.c: Likewise.
121 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
122 * iconvdata/iso-2022-kr.c : Likewise.
123 * iconvdata/iso646.c (gconv_end): Likewise.
124 * iconvdata/iso_6937-2.c : Likewise.
125 * iconvdata/iso_6937.c : Likewise.
126 * iconvdata/iso8859-1.c: Likewise.
127 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
128 * iconvdata/shift_jisx0213.c : Likewise.
129 * iconvdata/sjis.c : Likewise.
130 * iconvdata/t.61.c : Likewise.
131 * iconvdata/tcvn5712-1.c : Likewise.
132 * iconvdata/tscii.c: Likewise.
133 * iconvdata/uhc.c : Likewise.
134 * iconvdata/unicode.c (gconv_end): Likewise.
135 * iconvdata/utf-16.c (gconv_end): Likewise.
136 * iconvdata/utf-32.c (gconv_end): Likewise.
137 * iconvdata/utf-7.c (base64): Likewise.
138 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
139 * iconv/gconv_close.c (__gconv_close): Likewise.
140 * iconv/gconv_open.c (__gconv_open): Likewise.
141 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
142 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
143 internal_ucs4le_loop_single, ucs4le_internal_loop,
144 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
145 * iconv/iconv.c (iconv): Likewise.
146 * iconv/iconv_close.c: Likewise.
147 * iconv/loop.c (SINGLE): Likewise.
148 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
149 * include/atomic.h: Likewise.
150 * inet/inet6_option.c (option_alloc): Likewise.
151 * intl/bindtextdom.c (set_binding_values): Likewise.
152 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
153 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
154 * intl/localealias.c (read_alias_file): Likewise.
155 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
156 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
157 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
158 * libio/fmemopen.c (fmemopen): Likewise.
159 * libio/iofgets.c (_IO_fgets): Likewise.
160 * libio/iofgets_u.c (fgets_unlocked): Likewise.
161 * libio/iofgetws.c (fgetws): Likewise.
162 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
163 * libio/iogetdelim.c (_IO_getdelim): Likewise.
164 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
165 adjust_wide_data, _IO_wfile_seekoff): Likewise.
166 * locale/findlocale.c (_nl_find_locale): Likewise.
167 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
168 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
169 Likewise.
170 * locale/setlocale.c (setlocale): Likewise.
171 * login/programs/pt_chown.c (main): Likewise.
172 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
173 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
174 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
175 mmap, mmap64, mremap, munmap): Likewise.
176 * math/e_exp2l.c: Likewise.
177 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
178 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
179 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
180 * math/s_catan.c (__catan): Likewise.
181 * math/s_catanf.c (__catanf): Likewise.
182 * math/s_catanh.c (__catanh): Likewise.
183 * math/s_catanhf.c (__catanhf): Likewise.
184 * math/s_catanhl.c (__catanhl): Likewise.
185 * math/s_catanl.c (__catanl): Likewise.
186 * math/s_ccosh.c (__ccosh): Likewise.
187 * math/s_ccoshf.c (__ccoshf): Likewise.
188 * math/s_ccoshl.c (__ccoshl): Likewise.
189 * math/s_cexp.c (__cexp): Likewise.
190 * math/s_cexpf.c (__cexpf): Likewise.
191 * math/s_cexpl.c (__cexpl): Likewise.
192 * math/s_clog10.c (__clog10): Likewise.
193 * math/s_clog10f.c (__clog10f): Likewise.
194 * math/s_clog10l.c (__clog10l): Likewise.
195 * math/s_clog.c (__clog): Likewise.
196 * math/s_clogf.c (__clogf): Likewise.
197 * math/s_clogl.c (__clogl): Likewise.
198 * math/s_csin.c (__csin): Likewise.
199 * math/s_csinf.c (__csinf): Likewise.
200 * math/s_csinh.c (__csinh): Likewise.
201 * math/s_csinhf.c (__csinhf): Likewise.
202 * math/s_csinhl.c (__csinhl): Likewise.
203 * math/s_csinl.c (__csinl): Likewise.
204 * math/s_csqrt.c (__csqrt): Likewise.
205 * math/s_csqrtf.c (__csqrtf): Likewise.
206 * math/s_csqrtl.c (__csqrtl): Likewise.
207 * math/s_ctan.c (__ctan): Likewise.
208 * math/s_ctanf.c (__ctanf): Likewise.
209 * math/s_ctanh.c (__ctanh): Likewise.
210 * math/s_ctanhf.c (__ctanhf): Likewise.
211 * math/s_ctanhl.c (__ctanhl): Likewise.
212 * math/s_ctanl.c (__ctanl): Likewise.
213 * math/w_pow.c: Likewise.
214 * math/w_powf.c: Likewise.
215 * math/w_powl.c: Likewise.
216 * math/w_scalb.c (sysv_scalb): Likewise.
217 * math/w_scalbf.c (sysv_scalbf): Likewise.
218 * math/w_scalbl.c (sysv_scalbl): Likewise.
219 * misc/error.c (error_tail): Likewise.
220 * misc/pselect.c (__pselect): Likewise.
221 * nis/nis_callback.c (__nis_create_callback): Likewise.
222 * nis/nis_call.c (__nisfind_server): Likewise.
223 * nis/nis_creategroup.c (nis_creategroup): Likewise.
224 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
225 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
226 * nis/nis_getservlist.c (nis_getservlist): Likewise.
227 * nis/nis_lookup.c (nis_lookup): Likewise.
228 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
229 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
230 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
231 * nis/nis_xdr.c (xdr_endpoint): Likewise.
232 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
233 internal_getgrgid_r): Likewise.
234 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
235 Likewise.
236 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
237 internal_getpwuid_r): Likewise.
238 * nis/nss_compat/compat-spwd.c (getspent_next_file,
239 internal_getspnam_r): Likewise.
240 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
241 _nss_nis_getaliasbyname_r): Likewise.
242 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
243 _nss_nis_getntohost_r): Likewise.
244 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
245 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
246 Likewise.
247 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
248 internal_nis_gethostent_r, internal_gethostbyname2_r,
249 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
250 _nss_nis_gethostbyname4_r): Likewise.
251 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
252 initgroups_netid): Likewise.
253 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
254 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
255 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
256 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
257 _nss_nis_getprotobynumber_r): Likewise.
258 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
259 _nss_nis_getsecretkey): Likewise.
260 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
261 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
262 Likewise.
263 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
264 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
265 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
266 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
267 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
268 _nss_nis_getspnam_r): Likewise.
269 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
270 Likewise.
271 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
272 _nss_nisplus_getntohost_r): Likewise.
273 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
274 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
275 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
276 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
277 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
278 Likewise.
279 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
280 _nss_nisplus_getnetbyaddr_r): Likewise.
281 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
282 _nss_nisplus_getprotobynumber_r): Likewise.
283 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
284 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
285 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
286 Likewise.
287 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
288 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
289 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
290 _nss_nisplus_getspnam_r): Likewise.
291 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
292 * nscd/aicache.c (addhstaiX): Likewise.
293 * nscd/cache.c (cache_search, prune_cache): Likewise.
294 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
295 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
296 * nscd/grpcache.c (addgrbyX): Likewise.
297 * nscd/hstcache.c (addhstbyX): Likewise.
298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
299 * nscd/mem.c (gc, mempool_alloc): Likewise.
300 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
301 Likewise.
302 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
303 Likewise.
304 * nscd/nscd_getai.c (__nscd_getai): Likewise.
305 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
306 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
307 Likewise.
308 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
309 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
310 * nscd/nscd_helper.c (__readvall, open_socket,
311 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
312 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
313 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
314 * nscd/pwdcache.c (addpwbyX): Likewise.
315 * nscd/selinux.c (preserve_capabilities): Likewise.
316 * nscd/servicescache.c (addservbyX): Likewise.
317 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
318 * posix/fnmatch.c (fnmatch): Likewise.
319 * posix/getopt.c (_getopt_internal_r): Likewise.
320 * posix/glob.c (glob, glob_in_dir): Likewise.
321 * posix/wordexp.c (exec_comm_child): Likewise.
322 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
323 gaih_getanswer_slice): Likewise.
324 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
325 * resolv/res_init.c: Likewise.
326 * resolv/res_mkquery.c (res_nmkquery): Likewise.
327 * resolv/res_query.c (__libc_res_nquery): Likewise.
328 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
329 Likewise.
330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
331 * stdio-common/perror.c (perror): Likewise.
332 * stdio-common/printf_fp.c (___printf_fp): Likewise.
333 * stdio-common/tmpnam.c (tmpnam): Likewise.
334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
335 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
336 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
337 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
338 * stdlib/putenv.c (putenv): Likewise.
339 * stdlib/setenv.c (__add_to_environ): Likewise.
340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
341 * stdlib/strtol_l.c (INTERNAL): Likewise.
342 * string/memmem.c (memmem): Likewise.
343 * string/strerror.c (strerror): Likewise.
344 * string/strnlen.c (__strnlen): Likewise.
345 * string/test-memmem.c (simple_memmem): Likewise.
346 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
347 * sunrpc/pm_getport.c (__get_socket): Likewise.
348 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
349 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
350 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
351 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
352 Likewise.
353 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
354 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
355 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
356 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
357 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
358 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
359 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
360 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
361 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
362 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
363 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
364 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
366 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
367 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
368 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
370 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
372 Likewise.
373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
374 Likewise.
375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
376 Likewise.
377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
381 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
382 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
383 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
386 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
387 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
389 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
390 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
392 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
393 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
394 Likewise.
395 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
396 Likewise.
397 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
398 Likewise.
399 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
400 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
401 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
402 Likewise.
403 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
404 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
405 * sysdeps/posix/opendir.c (__opendirat): Likewise.
406 * sysdeps/posix/sleep.c: Likewise.
407 * sysdeps/posix/tempname.c: Likewise.
408 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
409 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
410 Likewise.
411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
412 elf_machine_rela): Likewise.
413 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
415 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
416 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
417 Likewise.
418 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
419 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
420 elf_machine_rela, elf_machine_lazy_rel): Likewise.
421 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
422 elf_machine_rela, elf_machine_lazy_rel): Likewise.
423 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
424 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
425 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
426 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
427 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
429 elf_machine_lazy_rel): Likewise.
430 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
432 elf_machine_lazy_rel): Likewise.
433 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
434 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
435 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
436 * sysdeps/unix/grantpt.c (grantpt): Likewise.
437 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
438 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
439 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
441 Likewise.
442 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
443 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
444 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
445 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
446 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
447 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
448 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
449 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
450 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
451 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
452 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
453 Likewise.
454 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
455 (__posix_fallocate64_l64): Likewise.
456 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
457 (posix_fallocate): Likewise.
458 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
460 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
461 getifaddrs_internal): Likewise.
462 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
463 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
464 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
465 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
466 * sysdeps/unix/sysv/linux/posix_fallocate64.c
467 (__posix_fallocate64_l64): Likewise.
468 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
469 Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
472 Likewise.
473 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
474 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
475 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
478 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
479 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
480 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
481 Likewise.
482 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
483 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
484 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
487 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
488 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
489 Likewise.
490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
491 (posix_fallocate): Likewise.
492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
493 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
494 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
495 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
496 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
497 Likewise.
498 * time/asctime.c (asctime_internal): Likewise.
499 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
500 * time/tzset.c (__tzset_parse_tz): Likewise.
501 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
502 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
503 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
504 * wcsmbs/wcsmbsload.h: Likewise.
505
f3d338c9
OB
5062014-02-10 Ondřej Bílka <neleai@seznam.cz>
507
508 [BZ #15894]
509 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
510
bdfe308a
OB
5112014-02-10 Ondřej Bílka <neleai@seznam.cz>
512
513 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
514 arena_get2): Remove THREAD_STATS conditionals.
515 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
516 __malloc_stats, int): Likewise.
517
d674667c
MF
5182014-02-08 Mike Frysinger <vapier@gentoo.org>
519
520 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
521 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
522
6349768c
MF
5232014-02-08 Mike Frysinger <vapier@gentoo.org>
524
525 * manual/setjmp.texi: Fix typos/grammar errors.
526
0b7c7473
MF
5272014-02-08 Mike Frysinger <vapier@gentoo.org>
528
529 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
530 Only return early when n is <= 0. Delete unused return statement.
531
ac8cc9e3
MF
5322014-02-08 Mike Frysinger <vapier@gentoo.org>
533
534 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
535 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
536 * debug/tst-longjmp_chk3.c: New file.
537
c5bb8e23
MF
5382014-02-08 Mike Frysinger <vapier@gentoo.org>
539
540 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
541 (test_main): Replace code with set_fortify_handler call.
542 * debug/test-strcpy_chk.c: Likewise.
543 * debug/tst-chk1.c: Likewise.
544 * debug/tst-longjmp_chk.c: Likewise.
545 * test-skeleton.c: Include fcntl.h & paths.h
546 (set_fortify_handler): Define.
547
10444e42
MF
5482014-02-08 Mike Frysinger <vapier@gentoo.org>
549
550 * debug/tst-longjmp_chk.c: Add header comment and include
551 ../test-skeleton.c.
552 (do_test): Mark static.
553 (TEST_FUNCTION): Define.
554
1e805e8d
MF
5552014-02-08 Mike Frysinger <vapier@gentoo.org>
556
557 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
558 (IP_PMTUDISC_INTERFACE): Likewise.
559 (IP_MULTICAST_IF): Likewise.
560 (IP_MULTICAST_TTL): Likewise.
561 (IP_MULTICAST_LOOP): Likewise.
562 (IP_ADD_MEMBERSHIP): Likewise.
563 (IP_DROP_MEMBERSHIP): Likewise.
564 (IP_UNBLOCK_SOURCE): Likewise.
565 (IP_BLOCK_SOURCE): Likewise.
566 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
567 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
568 (IP_MSFILTER): Likewise.
569 (MCAST_JOIN_GROUP): Likewise.
570 (MCAST_BLOCK_SOURCE): Likewise.
571 (MCAST_UNBLOCK_SOURCE): Likewise.
572 (MCAST_LEAVE_GROUP): Likewise.
573 (MCAST_JOIN_SOURCE_GROUP): Likewise.
574 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
575 (MCAST_MSFILTER): Likewise.
576 (IP_MULTICAST_ALL): Likewise.
577 (IP_UNICAST_IF): Likewise.
578
73f79bb7
MF
5792014-02-08 Mike Frysinger <vapier@gentoo.org>
580
581 * timezone/Makefile: Delete $(have-ksh) check.
582 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
583 * timezone/tzselect.ksh: Add +x mode bits.
584
8da79b60
MF
5852014-02-08 Mike Frysinger <vapier@gentoo.org>
586
587 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
588 (ANON_INODE_FS_MAGIC): Likewise.
589 (BDEVFS_MAGIC): Likewise.
590 (BINFMTFS_MAGIC): Likewise.
591 (BTRFS_TEST_MAGIC): Likewise.
592 (CRAMFS_MAGIC_WEND): Likewise.
593 (DEBUGFS_MAGIC): Likewise.
594 (ECRYPTFS_SUPER_MAGIC): Likewise.
595 (EXT3_SUPER_MAGIC): Likewise.
596 (EXT4_SUPER_MAGIC): Likewise.
597 (FUTEXFS_SUPER_MAGIC): Likewise.
598 (HOSTFS_SUPER_MAGIC): Likewise.
599 (HUGETLBFS_MAGIC): Likewise.
600 (MINIX3_SUPER_MAGIC): Likewise.
601 (MTD_INODE_FS_MAGIC): Likewise.
602 (NILFS_SUPER_MAGIC): Likewise.
603 (OPENPROM_SUPER_MAGIC): Likewise.
604 (PIPEFS_MAGIC): Likewise.
605 (PSTOREFS_MAGIC): Likewise.
606 (QNX6_SUPER_MAGIC): Likewise.
607 (RAMFS_MAGIC): Likewise.
608 (REISERFS_SUPER_MAGIC_STRING): Likewise.
609 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
610 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
611 (SECURITYFS_MAGIC): Likewise.
612 (SELINUX_MAGIC): Likewise.
613 (SMACK_MAGIC): Likewise.
614 (SOCKFS_MAGIC): Likewise.
615 (SQUASHFS_MAGIC): Likewise.
616 (STACK_END_MAGIC): Likewise.
617 (TMPFS_MAGIC): Likewise.
618 (USBDEVICE_SUPER_MAGIC): Likewise.
619 (V9FS_MAGIC): Likewise.
620 (XENFS_SUPER_MAGIC): Likewise.
621 (CRAMFS_MAGIC): Fix typo in comment.
622 (EXT2_SUPER_MAGIC): Update comment.
623 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
624
464263cc
JM
6252014-02-08 Joseph Myers <joseph@codesourcery.com>
626
c6bfe5c4
JM
627 * sysdeps/arm: Move directory from ports/sysdeps/arm.
628 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
629 * sysdeps/unix/sysv/linux/arm: Move directory from
630 ports/sysdeps/unix/sysv/linux/arm.
631 * README: Update listing for arm-*-linux-gnueabi.
632
464263cc
JM
633 * README: Remove mention of am33.
634
32749f6c
RM
6352014-02-07 Roland McGrath <roland@hack.frob.com>
636
637 * bits/sigset.h (__sigemptyset): Use a statement expression rather
638 than the comma operator, to avoid "rhs of comma has no effect"
639 compiler warnings.
640 (__sigfillset, __sigandset, __sigorset): Likewise.
641 * include/signal.h (__sigemptyset): Likewise.
642 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
643
d5b396c1
AM
6442014-02-07 Allan McRae <allan@archlinux.org>
645
646 * version.h (RELEASE): Set to "development".
647 (VERSION): Set to "2.19.90"
648 * NEWS: Add 2.20 section.
649
3bfff2ed
CD
6502014-02-06 Carlos O'Donell <carlos@redhat.com>
651
652 [BZ #16529]
653 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
654
ee7cc385
SP
6552014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * manual/contrib.texi: Update entry for Carlos O'Donell,
658 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
659
f877c4f2
CD
6602014-02-05 Carlos O'Donell <carlos@rehdat.com>
661
27e839f6
CD
662 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
663
f877c4f2
CD
664 * sysdeps/unix/sysv/linux/kernel-features.h
665 [__LINUX_KERNEL_VERSION >= 0x020621]
666 (__ASSUME_PROC_PID_TASK_COMM): Define.
667
68159946
SP
6682014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
669
670 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
671 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
672 Leonard and Allan McRae.
673
2b528732
DM
6742014-02-04 David S. Miller <davem@davemloft.net>
675
676 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
677 32-bit.
678
0ff82463
AZ
6792014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680
c01603f7
AZ
681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
682 file
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
684 New file
685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
686 file.
687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
688 file.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
690 New file.
691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
692 file.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
694 file.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
696 New file.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
698 New file.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
700 New file.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
702 New file.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
704 New file.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
706 New file.
707
7082014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
0ff82463
AZ
710 * nptl/shlib-versions: Change powerpc*le start to 2.17.
711 * shlib-versions: Likewise.
712
1695c773
AZ
7132014-02-04 Roland McGrath <roland@hack.frob.com>
714 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
717 (abilist-pattern): New variable, set to %-le.abilist.
718
719 * Makerules (abilist-pattern): New variable.
720 (vpath): Use $(abilist-pattern) in place of %.abilist.
721 (check-abi-% pattern rule): Likewise.
722 (check-abi, update-abi): Likewise.
723
6c0ce4b4
EW
7242014-02-04 Eric Wong <normalperson@yhbt.net>
725
726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
727
dc98b8f5
EW
7282014-02-04 Eric Wong <normalperson@yhbt.net>
729
730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
731
481e3524
CD
7322014-02-03 Carlos O'Donell <carlos@redhat.com>
733
734 * manual/startup.texi: Add next, previous, and top entries for
735 the `Program Arguments' and `Environment Variables' nodes.
736
375592d3
AO
7372014-02-03 Alexandre Oliva <aoliva@redhat.com>
738
739 * manual/macros.texi: Add comments before MTASC-safety macros.
740
f54838ba
AO
741 * manual/users.texi: Document MTASC-safety properties.
742
909e12ad
AO
743 * manual/threads.texi (pthread_key_create, pthread_key_delete,
744 pthread_getspecific, pthread_setspecific): Format with
745 @deftypefun, and add @safety note.
746 * manual/signal.texi: Move comments that analyze the above
747 functions to their home place.
748
fd3daba4
AM
7492014-02-03 Allan McRae <allan@archlinux.org>
750
751 * po/sl.po: Update Slovenian translation from translation project.
752
597636d7
AO
7532014-02-02 Alexandre Oliva <aoliva@redhat.com>
754
755 * manual/time.texi (timegm): Add missing blank after @c.
756 Reported by Joseph Myers <joseph@codesourcery.com>.
757
ee196e3c
AO
7582014-02-01 Alexandre Oliva <aoliva@redhat.com>
759
760 * manual/check-safety.sh: New.
761 * manual/Makefile ($(objpfx)stamp-summary): Run it.
762
f8d529d5
AO
763 * manual/terminal.texi: Document MTASC-safety properties.
764
de55fdf4
AO
765 * manual/filesys.texi: Document MTASC-safety properties.
766
c3299c08
AO
767 * manual/errno.texi: Document MTASC-safety properties.
768
06e90b14
AO
769 * manual/intro.texi: Document safety identifiers and
770 conditionals.
771
1acd4371
AO
772 * manual/string.texi (wcstok): Fix prototype.
773 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
774
23e5b8cb
AO
775 * manual/time.texi: Document MTASC-safety properties.
776
11087373
AO
777 * manual/string.texi: Document MTASC-safety properties.
778
5da2c93d
AO
779 * manual/threads.texi: Document MTASC-safety properties.
780
171e9210
AO
781 * manual/stdio.texi: Document MTASC-safety properties.
782
d9e02532
AO
783 * manual/syslog.texi: Document MTASC-safety properties.
784
6af8bab7
AO
785 * manual/sysinfo.texi: Document MTASC-safety properties.
786
663b02d7
AO
787 * manual/startup.texi: Document MTASC-safety properties.
788
973f180b
AO
789 * manual/socket.texi: Document MTASC-safety properties.
790
8f3c25c8
AO
791 * manual/signal.texi: Document MTASC-safety properties.
792
542210fb
AO
7932014-01-31 Alexandre Oliva <aoliva@redhat.com>
794
795 * manual/setjmp.texi: Document MTASC-safety properties.
796
433c45a2
AO
797 * manual/search.texi: Document MTASC-safety properties.
798
c8ce789c
AO
799 * manual/resource.texi: Document MTASC-safety properties.
800
19f5d29c
AO
801 * manual/process.texi: Document MTASC-safety properties.
802
e2dfb7f4
AO
803 * manual/platform.texi: Document MTASC-safety properties.
804
8c1413f5
AO
805 * manual/pipe.texi: Document MTASC-safety properties.
806
03483ada
AO
807 * manual/pattern.texi: Document MTASC-safety properties.
808
29e7e2df
AO
809 * manual/message.texi: Document MTASC-safety properties.
810
9f529d7c
AO
811 [BZ #12751]
812 * manual/memory.texi: Document MTASC-safety properties.
813
27aaa791
AO
814 * manual/math.texi: Document MTASC-safety properties.
815
f2d58726
AO
816 * manual/locale.texi: Document MTASC-safety properties.
817
2cc3615c
AO
818 * manual/llio.texi: Document MTASC-safety properties.
819
d9f0ec97
AO
820 * manual/libdl.texi: New.
821
e7c4409a
AO
822 * manual/lang.texi: Document MTASC-safety properties.
823
27bdc63c
AO
824 * manual/job.texi: Document MTASC-safety properties.
825
a7b90ea9
AO
826 * manual/getopt.texi: Document MTASC-safety properties.
827
c49130e3
AO
828 * manual/ctype.texi: Document MTASC-safety properties.
829
0d23a5c1
MR
8302014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
831
832 [BZ #16046]
833 * csu/libc-tls.c (static_map): Remove variable.
834 (__libc_setup_tls): Use main executable's link map for TLS data.
835 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
836 casing for LM_ID_BASE and GL(dl_nns).
837 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
838 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
839 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
840 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
841 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
842 member.
843 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
844 l_phnum members.
845
0037bb60
AO
8462014-01-30 Alexandre Oliva <aoliva@redhat.com>
847
848 * manual/debug.texi: Document MTASC-safety properties.
849
409e00bd
L
8502014-01-29 H.J. Lu <hongjiu.lu@intel.com>
851
852 [BZ #16510]
853 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
854 of __x86_64__ when disabling x87 inline functions.
855
86e60666
AO
8562014-01-29 Alexandre Oliva <aoliva@redhat.com>
857
858 * manual/charset.texi: Document MTASC-safety properties.
859
76167637
AO
860 * manual/crypt.texi: Document MTASC-safety properties.
861
e567f2a0
AO
862 * manual/conf.texi: Document MTASC-safety properties.
863
b719dafd
AO
864 * manual/arith.texi: Document MTASC-safety properties.
865
4a16c662
AO
866 * manual/argp.texi: Document MTASC-safety properties.
867
0a57b83e
AO
868 * manual/macros.texi: Introduce macros to document multi
869 thread, asynchronous signal and asynchronous cancellation
870 safety properties.
871 * manual/intro.texi: Introduce the properties themselves.
872
feab2397
KK
8732014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
874
875 * sysdeps/sh/sh4/Makefile: New file.
876
1c0d11bc
AS
8772014-01-27 Andreas Schwab <schwab@linux-m68k.org>
878
879 * math/gen-libm-test.pl ($srcdir): New variable.
880 ($auto_input): Use it.
881
af37a8a3
SP
8822014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
883
d7b00f98
SP
884 [BZ #16506]
885 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
886 access beyond array bounds when parsing netgroups file.
887
af37a8a3
SP
888 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
889 the old buffer before realloc.
890
0c00f062
AM
8912014-01-27 Allan McRae <allan@archlinux.org>
892
893 * po/fr.po: Update French translation from translation project.
894
7d69a1b0
KK
8952014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
896
897 * sysdeps/sh/libm-test-ulps: Regenerate.
898
6e697ff7
DM
8992014-01-24 David S. Miller <davem@davemloft.net>
900
901 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
902
9cadb35c
KK
9032014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
904
905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
906 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
907
5d41dadf
SP
9082013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 [BZ #16474]
911 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
912 string pointers after reallocation.
913
0bad441c
KK
9142014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
915
916 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
917 __SH4A__ instead of __SH_FPU_ANY__.
918
7007c661
KK
9192014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
920
921 * sysdeps/sh/fpu_control.h: New file.
922 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
923 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
924 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
925 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
926 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
927 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
928 * sysdeps/sh/sys/ucontext.h: Remove.
929 * sysdeps/sh/sys: Remove directory.
930
0f0c35e4
AK
9312014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
932
933 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
934 s390/sys/ucontext.h.
935 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
937
4959e284
L
9382014-01-20 H.J. Lu <hongjiu.lu@intel.com>
939
940 [BZ #15605]
941 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
942
d98720e0
AZ
9432014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944
945 [BZ#16431]
946 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
947 Adjust the vDSO correctly for internal calls.
948 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
949
91cbd0bc
AM
9502014-01-20 Allan McRae <allan@archlinux.org>
951
952 * po/ca.po: Update Catalan translation from translation project.
953
7a02cfad
MF
9542014-01-16 Mike Frysinger <vapier@gentoo.org>
955
956 * sysdeps/s390/sotruss-lib.c: New file.
957
736c304a
AZ
9582014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959
960 [BZ#16430]
6e077ee5 961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
962 (__GI___gettimeofday): Alias for a different internal symbol to avoid
963 local calls issues by not having a PLT stub required for IFUNC calls.
964 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
965
94d0cea0
JM
9662014-01-16 Joseph Myers <joseph@codesourcery.com>
967
968 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
969 * math/test-fpucw-static.c: Likewise.
970
980cb518
SP
9712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
972
973 [BZ #16453]
974 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
975
2393fc01
AZ
9762014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
977
978 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
979 implementation for powerpc.
980
d359bcc2
OB
9812014-01-15 Ondřej Bílka <neleai@seznam.cz>
982
983 [BZ #14782]
984 * sysdeps/posix/system.c (__libc_system): Do not enable
985 asynchronous cancellation.
986
7beb48cb
AK
9872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
988
989 [BZ #16427]
990 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
991 handling only for numbers special also in the IEEE case.
992
c20d5bf5
AK
9932014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
994
995 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
996
e83bd4ee
AM
9972014-01-11 Allan McRae <allan@archlinux.org>
998
76d0ea69
AM
999 * po/bg.po: Update Bulgarian translation from translation project.
1000
e83bd4ee
AM
1001 * po/de.po: Update German translation from translation project.
1002
bc2ba20a
RM
10032014-01-10 Roland McGrath <roland@hack.frob.com>
1004
1005 * sysdeps/generic/gcc-compat.h: New file.
1006
649ecea2
SP
10072014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * benchtests/asin-inputs: Correct slow inputs.
1010 * benchtests/acos-inputs: Likewise.
1011
1b19c006
AM
10122014-01-10 Allan McRae <allan@archlinux.org>
1013
a46dab08
AM
1014 * po:sv.po: Update Swedish translation from translation project.
1015
421df74a
AM
1016 * po/vi.po: Update Vietnamese translation from translation project.
1017
d61c51a7
AM
1018 * po/eo.po: Update Esperanto translation from translation project.
1019
0339a319
AM
1020 * po/cs.po: Update Czech translation from translation project.
1021
94ad3e99
AM
1022 * po/nl.po: Update Dutch translation from translation project.
1023
e349ca71
AM
1024 * po/pl.po: Update Polish translation from translation project.
1025
ddf930c1
AM
1026 * po/ru.po: Update Russian translation from translation project.
1027
1b19c006
AM
1028 * po/uk.po: Update Ukrainian translation from translation project.
1029
9f236c49
BM
10302014-01-08 Brooks Moses <bmoses@google.com>
1031
1032 * elf/dl-load.c: Fix comment typo.
1033
cd6701cf
CD
10342014-01-08 Carlos O'Donell <carlos@redhat.com>
1035
1036 * po/header.pot: Rename to...
1037 * po/pot.header: ... this.
1038 * po/Makefile: Use pot.header.
1039
66671c84
YK
10402014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1041 Maxim Kuvyrkov <maxim@kugelworks.com>
1042
1043 [BZ #16394]
cd6701cf
CD
1044 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1045 SRC and DEST against LEN.
66671c84 1046
38f34581
AZ
10472014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048
1049 [BZ #16414]
1050 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1051 implementation.
1052 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1053
10542014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1055
1056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1057
4c327f2a
JM
10582014-01-08 Joseph Myers <joseph@codesourcery.com>
1059
1060 [BZ #16408]
1061 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1062 for large positive arguments.
1063
b821f414
JM
10642014-01-07 Joseph Myers <joseph@codesourcery.com>
1065
1f0f2067
JM
1066 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1067
a5a326f6
JM
1068 * math/auto-libm-test-in: Mark various tests with
1069 xfail-rounding:ldbl-128ibm.
1070 * math/auto-libm-test-out: Regenerated.
1071
b821f414
JM
1072 [BZ #16407]
1073 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1074 Increase overflow threshold.
1075
94c8a4bc
OB
10762014-01-07 Ondřej Bílka <neleai@seznam.cz>
1077
1078 [BZ #14286]
1079 * stdio-common/vfprintf.c: Check for integer overflow.
1080
87ded0c3
AK
10812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1082
1083 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1084 the first argument and return value of __tls_get_addr_internal.
1085
c5eebdd0
AK
10862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1087
1088 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1089 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1090
05d138ef
AK
10912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1092
1093 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1094 * sysdeps/s390/rtld-global-offsets.sym: New file.
1095 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1096 GLIBC_2.19 symbol.
1097 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1100 ... this.
1101 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1102 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1103 ... this.
1104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1105 Regenerate.
1106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1107 Regenerate.
1108 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1109 halfs of GPRs for high_gprs contexts.
1110 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1111 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1112 field.
1113 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1114 uc_flags field.
1115 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1116 64 bit versions:
1117 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1118 for high GPRs (uc_high_gprs) and for future extensions
1119 (__reserved).
1120 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1121 for future extensions (__reserved).
1122 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1123 64 bit versions:
1124 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1125 SC_HIGHGPRS offset definition.
1126 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1127 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1128
93a45ff1
AK
11292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1130
1131 * Versions.def: Add GLIBC_2.19 for libpthread.
1132 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1133 siglongjmp for libpthread with GLIBC_2.19 symver.
1134 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1135 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1136 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1137 * sysdeps/s390/__longjmp.c: New file.
1138 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1139 * sysdeps/s390/longjmp.c: New file.
1140 * sysdeps/s390/setjmp.S: New file.
1141 * sysdeps/s390/sigjmp.S: New file.
1142 * sysdeps/s390/v1-longjmp.c: New file.
1143 * sysdeps/s390/v1-setjmp.h: New file.
1144 * sysdeps/s390/v1-sigjmp.c: New file.
1145 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1146 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1147 GLIBC_2.19 version.
1148 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1149 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1150 versioned symbols for ____longjmp_chk.
1151 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1152 Likewise.
1153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1154 Regenerate.
1155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1156 Regenerate.
1157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1158 Regenerate.
1159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1160 Regenerate.
1161 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1162 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1163 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1164 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1165 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1166 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1167 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1168 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1169 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1170 * sysdeps/s390/rtld-__longjmp.c: New file.
1171 * sysdeps/s390/rtld-setjmp.S: New file.
1172
eb3fc44b
JM
11732014-01-06 Joseph Myers <joseph@codesourcery.com>
1174
1175 [BZ #16400]
1176 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1177 Return -__logl (x) for small positive arguments without evaluating
1178 a polynomial.
1179
9341dde4
MF
11802014-01-06 Mike Frysinger <vapier@gentoo.org>
1181
1182 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1183 Rename to ...
1184 (__ptrace_peeksiginfo_args): ... this.
1185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1188
4cff0293
AM
11892014-01-06 Allan McRae <allan@archlinux.org>
1190
1191 * inet/netinet/in.h: Fix typo in comment.
1192
75595dcf
AJ
11932014-01-05 Andreas Jaeger <aj@suse.de>
1194
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196
79c1e109
AM
11972014-01-05 Allan McRae <allan@archlinux.org>
1198
dd804818
AM
1199 * po/libc.pot: Regenerated.
1200
79c1e109
AM
1201 * malloc/memusagestat.c: Fix gettext call formatting.
1202
0c813d1f
SK
12032014-01-04 Sami Kerola <kerolasa@iki.fi>
1204
1205 * nscd/nscd.c: Improve usage() output.
1206
20f4a8d9
MF
12072014-01-04 Mike Frysinger <vapier@gentoo.org>
1208
1209 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1210 * sysdeps/unix/sysv/linux/configure: Regenerated.
1211 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1212 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1213
22562bb2
JM
12142014-01-03 Joseph Myers <joseph@codesourcery.com>
1215
1216 [BZ #16390]
1217 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1218 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1219
d7ad2d9b
AZ
12202014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1221
1222 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1223 extra tokens at end of #undef directive.
1224 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1227
7dd009d8
JM
12282014-01-03 Joseph Myers <joseph@codesourcery.com>
1229
24db925a
JM
1230 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1231
7dd009d8
JM
1232 * math/auto-libm-test-in: Mark various tests with
1233 xfail-rounding:ldbl-128ibm.
1234 * math/auto-libm-test-out: Regenerated.
1235
396e3ecf
JM
12362014-01-02 Joseph Myers <joseph@codesourcery.com>
1237
819e5d50
JM
1238 [BZ #16386]
1239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1240 numbers with subnormal high part when calculating exponent.
1241
90b6a1e5
JM
1242 [BZ #16385]
1243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1244 fabs.
1245
396e3ecf
JM
1246 [BZ #16384]
1247 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1248 M_LN2l.
1249 (__ieee754_acoshl): Use __log1pl not __log1p.
1250
6c8dbf00
OB
12512013-01-02 Ondřej Bílka <neleai@seznam.cz>
1252
1253 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1254 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1255 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1256 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1257 Convert to GNU style.
1258 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1259 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1260 memalign_check, __malloc_set_state): Likewise.
1261 * malloc/mallocbug.c (main): Likewise.
1262 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1263 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1264 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1265 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1266 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1267 * malloc/malloc.h: Likewise.
1268 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1269 memalignhook, reallochook, mabort): Likewise.
1270 * malloc/mcheck.h: Likewise.
1271 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1272 mmap64, mremap, munmap, dest): Likewise.
1273 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1274 * malloc/morecore.c (__default_morecore): Likewise.
1275 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1276 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1277 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1278 print_and_abort): Likewise.
1279 * malloc/obstack.h: Likewise.
1280 * malloc/set-freeres.c (__libc_freeres): Likewise.
1281 * malloc/tst-mallocstate.c (main): Likewise.
1282 * malloc/tst-mtrace.c (main): Likewise.
1283 * malloc/tst-realloc.c (do_test): Likewise.
1284
d4124212
SP
12852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
9a3c6a6f
SP
1287 [BZ #16366]
1288 * nscd/netgroupcache.c (do_notfound): New function.
1289 (addgetnetgrentX): Use it.
1290
d4124212
SP
1291 [BZ # 16365]
1292 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1293 NSS_STATUS_NOTFOUND.
1294
97b9a009
JM
12952014-01-01 Joseph Myers <joseph@codesourcery.com>
1296
1297 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1299
d4697bc9
AM
13002014-01-01 Allan McRae <allan@archlinux.org>
1301
ddb3687f
AM
1302 * scripts/update-copyrights: Update configure input file suffix.
1303
88726d48
AM
1304 * NEWS: Update copyright year.
1305 * catgets/gencat.c: Likewise.
1306 * csu/version.c: Likewise.
1307 * debug/catchsegv.sh: Likewise.
1308 * debug/pcprofiledump.c: Likewise.
1309 * debug/xtrace.sh: Likewise.
1310 * elf/ldconfig.c: Likewise.
1311 * elf/ldd.bash.in: Likewise.
1312 * elf/pldd.c: Likewise.
1313 * elf/sotruss.ksh: Likewise.
1314 * elf/sprof.c: Likewise.
1315 * iconv/iconv_prog.c: Likewise.
1316 * iconv/iconvconfig.c: Likewise.
1317 * locale/programs/locale.c: Likewise.
1318 * locale/programs/localedef.c: Likewise.
1319 * login/programs/pt_chown.c: Likewise.
1320 * malloc/memusage.sh: Likewise.
1321 * malloc/memusagestat.c: Likewise.
1322 * malloc/mtrace.pl: Likewise.
1323 * manual/libc.texinfo: Likewise.
1324 * nscd/nscd.c: Likewise.
1325 * nss/getent.c: Likewise.
1326 * nss/makedb.c: Likewise.
1327 * posix/getconf.c: Likewise.
1328 * scripts/test-installation.pl: Likewise.
1329
d4697bc9
AM
1330 * All files with FSF copyright notices: Update copyright dates
1331 using scripts/update-copyrights.
1332 * intl/plural.c: Regenerated.
1333 * locale/programs/charmap-kw.h: Likewise.
1334 * locale/programs/locfile-kw.h: Likewise.
1335
c8590f9d
MF
13362013-12-31 Mike Frysinger <vapier@gentoo.org>
1337
1338 * sysdeps/unix/sysv/linux/configure: Regenerated.
1339 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1340 the linux/fanotify.h header.
1341 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1342 HAVE_LINUX_FANOTIFY_H is defined.
1343
b19221b9
SP
13442013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1345
dd1d85e5
SP
1346 * benchtests/cos-inputs: New inputs.
1347 * benchtests/sin-inputs: Likewise.
1348
1acbb90f
SP
1349 * benchtests/atan-inputs: New inputs. Fix name of multiple
1350 precision fallback inputs.
1351
4c012ed3
SP
1352 * benchtests/atanh-inputs: New inputs.
1353 * benchtests/tanh-inputs: Likewise.
1354
eff98324
SP
1355 * benchtests/acosh-inputs: New inputs.
1356 * benchtests/asinh-inputs: Likewise.
1357
ce641152
SP
1358 * benchtests/cosh-inputs: New inputs.
1359 * benchtests/sinh-inputs: Likewise.
1360
b19221b9
SP
1361 * benchtests/acos-inputs: Add more inputs.
1362 * benchtests/asin-inputs: Likewise.
1363
030a4976 13642013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1365
030a4976 1366 [BZ #16375]
9dcc8f11
VS
1367 * manual/arith.texi: Fix spelling.
1368 * manual/charset.texi: Likewise.
1369 * manual/errno.texi: Likewise.
1370 * manual/filesys.texi: Likewise.
1371 * manual/lang.texi: Likewise.
1372 * manual/llio.texi: Likewise.
1373 * manual/locale.texi: Likewise.
1374 * manual/message.texi: Likewise.
1375 * manual/resource.texi: Likewise.
1376 * manual/search.texi: Likewise.
1377 * manual/setjmp.texi: Likewise.
1378 * manual/stdio.texi: Likewise.
1379 * manual/string.texi: Likewise.
1380 * manual/sysinfo.texi: Likewise.
1381 * manual/time.texi: Likewise.
1382
11520a57
CD
13832013-12-27 Carlos O'Donell <carlos@redhat.com>
1384
1385 * po/sl.po: New file.
1386
471103ae
MF
13872013-12-27 Mike Frysinger <vapier@gentoo.org>
1388
1389 * .gitignore: Add core/.gdbinit/.gdb_history.
1390
6c9642ed
AM
13912013-12-27 Allan McRae <allan@archlinux.org>
1392
1393 [BZ #16369]
1394 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1395 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1396
3f637079
BM
13972013-12-24 Brooks Moses <bmoses@google.com>
1398
1399 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1400 all compilers that claim C++98 compliance, not just GCC.
1401 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1402 Likewise.
1403
abc26e99
MK
14042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1405
1406 * NEWS: Restore accidentally deleted bug-fix entries.
1407
362b47fe
MK
14082013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1409 Ondřej Bílka <neleai@seznam.cz>
1410
1411 [BZ #15073]
1412 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 1413 have_lock.
362b47fe 1414
b9bcbbcb
OB
14152013-12-23 Ondřej Bílka <neleai@seznam.cz>
1416
1417 [BZ #12986]
1418 * manual/stdio.texi (String Input Conversions): Clarify that character
1419 classes are not supported.
1420
fb55fcd2
AZ
14212013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1422
1423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1424
ef7344f0
JM
14252013-12-22 Joseph Myers <joseph@codesourcery.com>
1426
4f40e4b3
JM
1427 [BZ #16337]
1428 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1429 Calculate results for small negative arguments directly rather
1430 than using reflection formula with special underflow handling.
1431
ef7344f0
JM
1432 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1433 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1434 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1435 (fchflags): Likewise.
1436 (revoke): Likewise.
1437 (setlogin): Likewise.
1438 (sigaltstack): Likewise.
1439 (wait4): Likewise.
1440 (sigblock): Remove.
1441 (sigsetmask): Likewise.
1442 (wait3): Likewise.
1443 (waitpid): Likewise.
1444 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1445 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1446 file.
1447 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1448 * sysdeps/unix/bsd/Makefile: ... here.
1449 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1450 * sysdeps/unix/bsd/Versions: ... here.
1451 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1452 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1453 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1454 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1455 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1456 * sysdeps/unix/bsd/sigblock.c: ... here.
1457 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1458 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1459 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1460 * sysdeps/unix/bsd/sigvec.c: ... here.
1461 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1462 * sysdeps/unix/bsd/tcdrain.c: ... here.
1463 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1464 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1465 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1466 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1467 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1468 * sysdeps/unix/bsd/wait.c: ... here.
1469 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1470 * sysdeps/unix/bsd/wait3.c: ... here.
1471 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1472 * sysdeps/unix/bsd/waitpid.c: ... here.
1473
5b0626b9
JM
14742013-12-21 Joseph Myers <joseph@codesourcery.com>
1475
1476 [BZ #16356]
1477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1478 round-to-nearest for [!USE_AS_EXPM1L].
1479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1480 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1481 more tests of exp and exp10. Expect some exp10 tests to miss
1482 exceptions or fail in directed rounding modes.
1483 * math/auto-libm-test-out: Regenerated.
1484 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1485 (exp10_test_tonearest): New function.
1486 (exp10_towardzero_test_data): New array.
1487 (exp10_test_towardzero): New function.
1488 (exp10_downward_test_data): New array.
1489 (exp10_test_downward): New function.
1490 (exp10_upward_test_data): New array.
1491 (exp10_test_upward): New function.
1492 (main): Call the new functions.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495
7fda5682
JM
14962013-12-20 Joseph Myers <joseph@codesourcery.com>
1497
31e3a405
JM
1498 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1499 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1500 * math/auto-libm-test-out: Regenerated.
1501 * math/libm-test.inc (acosh_test_data): Add more tests.
1502 (atanh_test_data): Likewise.
1503 (ceil_test_data): Likewise.
1504 (copysign_test_data): Likewise.
1505 * sysdeps/i386/fpu/libm-test-ulps: Update.
1506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1507
85bff96a
JM
1508 * timezone/checktab.awk: Update from tzcode 2013i.
1509 * timezone/private.h: Likewise.
1510 * timezone/scheck.c: Likewise.
1511 * timezone/tzfile.h: Likewise.
1512 * timezone/tzselect.ksh: Likewise.
1513 * timezone/zdump.c: Likewise.
1514 * timezone/zic.c: Likewise.
1515
b7867a3b
JM
1516 * math/auto-libm-test-in: Add tests of cpow.
1517 * math/auto-libm-test-out: Regenerated.
1518 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1519 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1520 mpc_cc_c.
1521 (func_calc_desc): Add mpc_cc_c union field.
1522 (test_functions): Add cpow.
1523 (special_fill_2pi): New function.
1524 (special_real_inputs): Add 2pi.
1525 (calc_generic_results): Handle mpc_cc_c.
1526 * sysdeps/i386/fpu/libm-test-ulps: Update.
1527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1528
7fda5682
JM
1529 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1530 csqrt, ctan and ctanh.
1531 * math/auto-libm-test-out: Regenerated.
1532 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1533 (TEST_COND_x86): Likewise.
1534 (ccos_test_data): Use AUTO_TESTS_c_c.
1535 (ccosh_test_data): Likewise.
1536 (cexp_test_data): Likewise.
1537 (clog_test_data): Likewise.
1538 (csqrt_test_data): Likewise.
1539 (ctan_test_data): Likewise.
1540 (ctan_tonearest_test_data): Likewise.
1541 (ctan_towardzero_test_data): Likewise.
1542 (ctan_downward_test_data): Likewise.
1543 (ctan_upward_test_data): Likewise.
1544 (ctanh_test_data): Likewise.
1545 (ctanh_tonearest_test_data): Likewise.
1546 (ctanh_towardzero_test_data): Likewise.
1547 (ctanh_downward_test_data): Likewise.
1548 (ctanh_upward_test_data): Likewise.
1549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1550 mpc_c_c.
1551 (func_calc_desc): Add mpc_c_c union field.
1552 (FUNC_mpc_c_c): New macro.
1553 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1554 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1555 ctanh.
1556 (special_fill_min_subnorm_p120): New function.
1557 (special_real_inputs): Add min_subnorm_p120.
1558 (calc_generic_results): Handle mpc_c_c.
1559 * sysdeps/i386/fpu/libm-test-ulps: Update.
1560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1561
5ff8d60e
SP
15622013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1563
392dd2de
SP
1564 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1565 do_sin_slow): New functions.
1566 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1567 cslow2, csloww1, csloww2): Use the new functions.
1568
84ba214c
SP
1569 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1570 Use M to change sign of result instead of X. Assume X is
1571 positive.
1572 (csloww1): Likewise.
1573 (__sin): Adjust.
1574 (__cos): Adjust.
1575
975195e4
SP
1576 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1577 arguments A and DA.
1578 (__sin): Adjust.
1579 (__cos): Likewise.
1580
5ff8d60e
SP
1581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1582 (__cos): Likewise.
1583 (sloww1): Don't adjust sign of DX.
1584 (csloww1): Likewise.
1585 (sloww2): Use X directly and don't adjust sign of DX.
1586 (csloww2): Likewise.
1587
eb983568
JM
15882013-12-19 Joseph Myers <joseph@codesourcery.com>
1589
64a17f1a
JM
1590 * math/auto-libm-test-in: Add tests of cabs and carg.
1591 * math/auto-libm-test-out: Regenerated.
1592 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1593 (carg_test_data): Likewise.
1594 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1595 mpc_c_f.
1596 (func_calc_desc): Add mpc_c_f union field.
1597 (test_functions): Add cabs and carg.
1598 (calc_generic_results): Handle mpc_c_f.
1599
eb983568
JM
1600 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1601 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1602 as a macro and a compat symbol.
1603 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1604 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1605 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1606 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1607 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1608 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1609 not use .hidden.
1610 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1611 Likewise.
1612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1613 Likewise.
1614 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1615 Likewise.
1616 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1617 Likewise.
1618 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1619 Likewise.
1620 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1621 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1622 from GLIBC_2.3.2.
1623
6eeb678a
AZ
16242013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625
1626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1627
6f6fc482
JM
16282013-12-19 Joseph Myers <joseph@codesourcery.com>
1629
21fea2e2
JM
1630 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1631 trailing whitespace removed.
1632 * scripts/config.guess: Update to version 2013-11-29.
1633 * scripts/config.sub: Update to version 2013-10-01.
1634
6f6fc482
JM
1635 * math/auto-libm-test-in: Add tests of sincos.
1636 * math/auto-libm-test-out: Regenerated.
1637 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1638 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1639 mpfr_f_11.
1640 (func_calc_desc): Add mpfr_f_11 union field.
1641 (test_functions): Add sincos.
1642 (calc_generic_results): Handle mpfr_f_11.
1643 * sysdeps/i386/fpu/libm-test-ulps: Update.
1644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1645
83f5c32d
AS
16462013-12-19 Andreas Schwab <schwab@suse.de>
1647
1648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1649 CALL_MCOUNT.
1650 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1652 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1653
c688b419
JM
16542013-12-19 Joseph Myers <joseph@codesourcery.com>
1655
335ee092
JM
1656 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1657 * sysdeps/i386/fpu/libm-test-ulps: Update.
1658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1659
f88acd39
JM
1660 [BZ #16293]
1661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1662 round-to-nearest mode when using frndint.
1663 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1664 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1665 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1666 Likewise.
1667 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1668 sinh test to fail.
1669 * math/auto-libm-test-out: Regenerated.
1670 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1671 (TEST_COND_x86): Likewise.
1672 (expm1_tonearest_test_data): New array.
1673 (expm1_test_tonearest): New function.
1674 (expm1_towardzero_test_data): New array.
1675 (expm1_test_towardzero): New function.
1676 (expm1_downward_test_data): New array.
1677 (expm1_test_downward): New function.
1678 (expm1_upward_test_data): New array.
1679 (expm1_test_upward): New function.
1680 (main): Run the new test functions.
1681 * sysdeps/i386/fpu/libm-test-ulps: Update.
1682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1683
c688b419
JM
1684 * include/features.h: Update comment documenting feature test
1685 macros. Mention _DEFAULT_SOURCE in comment.
1686 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1687 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1688 _BSD_SOURCE and _SVID_SOURCE.
1689 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1690 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1691 !_SVID_SOURCE]: Likewise.
1692 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1693 (__USE_POSIX_IMPLICITLY): Define.
1694 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1695 (_POSIX_SOURCE): Undefine and redefine.
1696 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1697 (_POSIX_C_SOURCE): Likewise.
1698 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1699 (Feature Test Macros): Update documentation of default features.
1700
9f6e964c
RS
17012013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1702
1703 * benchtests/Makefile: Add bench-strtok.
1704 * benchtests/bench-strtok.c: New file: strtok benchtest.
1705
ee0a148a
AM
17062013-12-19 Allan McRae <allan@archlinux.org>
1707
1708 * manual/install.texi: Suppress menu for plain text output.
1709 * INSTALL: Regenerated.
1710
b9ab448f
BM
17112013-12-18 Brooks Moses <bmoses@google.com>
1712
1713 [BZ #15846]
1714 * misc/getauxval.c: Include errno.h.
1715 (__getauxval): Set errno to ENOENT if the requested type is not
1716 found.
1717 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1718 don't declare with __attribute_const__.
1719 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1720 * manual/startup.texi: Document that getauxval sets errno.
1721
23776487
JM
17222013-12-18 Joseph Myers <joseph@codesourcery.com>
1723
f889953b
JM
1724 * math/auto-libm-test-in: Add tests of jn and yn.
1725 * math/auto-libm-test-out: Regenerated.
1726 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1727 (yn_test_data): Likewise.
1728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1729 mpfr_if_f.
1730 (func_calc_desc): Add mpfr_if_f union field.
1731 (FUNC_mpfr_if_f): New macro.
1732 (test_functions): Add jn and yn.
1733 (calc_generic_results): Assert type of second input for
1734 mpfr_ff_f. Handle mpfr_if_f.
1735 (output_for_one_input_case): Disable all checking for arguments
1736 fitting floating-point types in case of an integer argument.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739
23776487
JM
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1741 Don't expect fegetround reference in libm.so.
1742
cb756c6d
MS
17432013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1744
1745 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1746 $(config-cflags-nofma).
1747
2dec468f
JM
17482013-12-18 Joseph Myers <joseph@codesourcery.com>
1749
5953eb3a
JM
1750 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1751 * math/auto-libm-test-out: Regenerated.
1752
2dec468f
JM
1753 [BZ #16338]
1754 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1755 to determine exponent and adjust argument to have exponent of -1.
1756 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1757 log2.
1758 * math/auto-libm-test-out: Regenerated.
1759 * sysdeps/i386/fpu/libm-test-ulps: Update.
1760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1761
4d84e6ad
OB
17622013-12-18 Ondřej Bílka <neleai@seznam.cz>
1763
1764 * manual/probes.texi: Remove cases when per-thread arenas are
1765 disabled.
1766
1818483b
AS
17672013-12-18 Andreas Schwab <schwab@suse.de>
1768
1769 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1770 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1771 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1772 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1773 * sysdeps/i386/i686/multiarch/Makefile: Update.
1774 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1775
25de95bf
JM
17762013-12-17 Joseph Myers <joseph@codesourcery.com>
1777
1778 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1779 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1780
674762d9
PE
17812013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1782
ed27ed83 1783 [BZ #15968]
0748546f
PE
1784 Support TZ transition times < 00:00:00.
1785 This is needed for version-3 tz-format files; it supports time
1786 stamps past 2037 for America/Godthab (the only entry in the tz
1787 database for which this change is relevant).
1788 * manual/time.texi (TZ Variable): Document transition times
1789 from -167:59:59 through -00:00:01.
1790 * time/tzset.c (tz_rule): Time of day is now signed.
1791 (__tzset_parse_tz): Parse negative time of day.
1792
4480e934
PE
1793 Document TZ transition times >= 25:00:00.
1794 * manual/time.texi (TZ Variable): Document transition times from
1795 25:00:00 through 167:59:59. These are already supported, and this
1796 support will help with version-3 tz-format files.
1797
69947401
PE
1798 * manual/time.texi (TZ Variable): Modernize North America example
1799 to reflect current (i.e., 2007-and-later) daylight saving rules.
1800
674762d9
PE
1801 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1802
7011c262
JM
18032013-12-17 Joseph Myers <joseph@codesourcery.com>
1804
2fc6557e
JM
1805 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1806 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1809 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1810 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1811 * sysdeps/unix/bsd/clock.c: Likewise.
1812 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1813 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1814 * sysdeps/unix/bsd/init-posix.c: Likewise.
1815 * sysdeps/unix/bsd/poll.c: Likewise.
1816 * sysdeps/unix/bsd/ptsname.c: Likewise.
1817 * sysdeps/unix/bsd/seekdir.c: Likewise.
1818 * sysdeps/unix/bsd/setegid.c: Likewise.
1819 * sysdeps/unix/bsd/seteuid.c: Likewise.
1820 * sysdeps/unix/bsd/setgid.c: Likewise.
1821 * sysdeps/unix/bsd/setrgid.c: Likewise.
1822 * sysdeps/unix/bsd/setruid.c: Likewise.
1823 * sysdeps/unix/bsd/setsid.c: Likewise.
1824 * sysdeps/unix/bsd/setuid.c: Likewise.
1825 * sysdeps/unix/bsd/sigaction.c: Likewise.
1826 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1827 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1828 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1829 * sysdeps/unix/bsd/telldir.c: Likewise.
1830 * sysdeps/unix/bsd/times.c: Likewise.
1831 * sysdeps/unix/bsd/usleep.c: Likewise.
1832
029c7b25
JM
1833 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1834 ($(objpfx)libbsd-compat.a): Remove rule.
1835
7011c262
JM
1836 * include/features.h (__FAVOR_BSD): Do not define.
1837 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1838 features conflicting with POSIX.
1839 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1840 (_BSD_SOURCE): Remove description of not being a subset of other
1841 feature test macros.
1842 * manual/job.texi (getpgrp): Do not document BSD version.
1843 (getpgid): Do not document by reference to BSD getpgrp.
1844 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1845 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1846 * signal/signal.h [__FAVOR_BSD]: Likewise.
1847 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1848 instead of making contents conditional on [__FAVOR_BSD].
1849 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1850
affb6f78
AZ
18512013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852
1853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1854
c88769dd
JM
18552013-12-17 Joseph Myers <joseph@codesourcery.com>
1856
6432a540
JM
1857 [BZ #16314]
1858 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1859 values below 2**-450, not 2**-500.
1860 * math/auto-libm-test-in: Don't allow spurious underflow from
1861 hypot.
1862 * math/auto-libm-test-out: Regenerated.
1863
c88769dd
JM
1864 [BZ #16316]
1865 [BZ #16330]
1866 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1867 values of ha and hb and sort them after adjusting subnormal
1868 arguments.
1869 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1870 Likewise.
1871 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1872 values of ea and eb and sort them after adjusting subnormal
1873 arguments.
1874 * math/auto-libm-test-in: Do not expect some hypot tests of
1875 subnormals to fail. Add more hypot tests.
1876 * math/auto-libm-test-out: Regenerated.
1877
29618f6b
KK
18782013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1879
1880 [BZ #13304]
1881 * sysdeps/sh/s_fma.c: New file.
1882 * sysdeps/sh/s_fmaf.c: New file.
1883 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1884 version.
1885 * sysdeps/sh/Implies: Add sh/soft-fp.
1886
eacfdfbf
RM
18872013-12-16 Roland McGrath <roland@hack.frob.com>
1888
1889 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1890 level of indirection to members `objname', `errstring', `malloced'.
1891 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1892 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1893 it as the __longjmp argument (just pass 1 instead).
1894 (_dl_catch_error): Initialize C with argument pointers and address of
1895 volatile local ERRCODE rather than copying values out of C at return.
1896
ff362e5b
JM
18972013-12-16 Joseph Myers <joseph@codesourcery.com>
1898
1899 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1900 * math/auto-libm-test-out: Regenerated.
1901 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1902 (hypot_test_data): Likewise.
1903 (pow_test_data): Likewise.
1904 (pow_tonearest_test_data): Likewise.
1905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1906 mpfr_ff_f.
1907 (func_calc_desc): Add mpfr_ff_f union field.
1908 (FUNC_mpfr_ff_f): New macro.
1909 (test_functions): Add atan2, hypot and pow.
1910 (special_fill_min): New function.
1911 (special_fill_minus_min): Likewise.
1912 (special_fill_min_subnorm): Likewise.
1913 (special_fill_minus_min_subnorm): Likewise.
1914 (special_real_inputs): Add min, -min, min_subnorm and
1915 -min_subnorm.
1916 (calc_generic_results): Handle mpfr_ff_f.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1919
5764c27f
WN
19202013-12-16 Will Newton <will.newton@linaro.org>
1921
1922 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1923 (Aligned Memory Blocks): Add documentation for aligned_alloc
1924 and suggest it as an alternative to posix_memalign.
1925 (Hooks for Malloc): Document __memalign_hook is also called
1926 for aligned_alloc. (Summary of Malloc): Add summary for
1927 aligned alloc. Document __memalign_hook is also called
1928 for aligned_alloc.
1929
0a096e44
WN
19302013-12-16 Will Newton <will.newton@linaro.org>
1931
1932 * manual/memory.texi (Malloc Examples): Clarify default
1933 alignment documentation. Suggest posix_memalign rather
1934 than memalign or valloc.
1935 (Aligned Memory Blocks): Remove suggestion to use memalign
1936 or valloc. Remove obsolete comment about BSD.
1937 Document memalign errno values and mark the function obsolete.
1938 Document posix_memalign returned error codes. Mark valloc
1939 as obsolete. (Hooks for Malloc): __memalign_hook is also
1940 called for posix_memalign and valloc.
1941 (Summary of Malloc): Add posix_memalign to function summary.
1942 __memalign_hook is also called for posix_memalign and valloc.
1943
8d561986
SP
19442013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1945
1946 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1947 TAYLOR_SIN.
1948 (__sin): Adjust.
1949 (__cos): Likewise.
1950 (sloww): Use mynumber union. Expand ternary operator into
1951 if-else statements.
1952 (cslow): use mynumber union.
1953
73616a74
AM
19542013-12-16 Allan McRae <allan@archlinux.org>
1955
9e8ac24b
AM
1956 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1957 * configure: Regenerated.
1958
6f8e37eb
AM
1959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1960
8894bad3
AM
1961 [BZ #14120]
1962 * configure.ac: Added --enable-maintainer-mode. Check for
1963 autoconf when enabled.
1964 * configure: Regenerated.
1965
73616a74
AM
1966 * nscd/nscd.service: New file.
1967 * nscd/nscd.tmpfiles: New file.
1968
584b18eb
OB
19692013-12-14 Ondřej Bílka <neleai@seznam.cz>
1970
1971 [BZ #12100]
1972 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1973 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1974 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1975 (strstr): Add __strstr_sse2_unaligned ifunc.
1976 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1977 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1978 (strcasestr): Remove __strcasestr_sse42 ifunc.
1979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1982
8a5c7897
KK
19832013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1984
1985 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1986 * sysdeps/sh/bits/fenv.h: ... here.
1987 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1988
fd712ef3
AZ
19892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1990
1991 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1992
42fcb46c
AZ
19932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1994
1995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1996 hypotf multiarch implementations.
1997 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1998 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2000 multiarch hypot for PPC64.
2001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2004 multiarch hypotf for PPC64.
2005
83efded4
AZ
20062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2009 modff multiarch implementations.
2010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2013 multiarch modf for PPC64.
2014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2017 multiarch modff for PPC64.
2018
43e246d2
AZ
20192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020
2021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2022 and logl multiarch implementations.
2023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2026 multiarch logb for PPC64.
2027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2030 multiarch logb for PPC64.
2031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2034 multiarch logb for PPC64.
2035
8fdad123
AZ
20362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037
2038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2039 isinff multiarch implementation.
2040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2041 file.
2042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2044 multiarch isinf for PPC64.
2045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2046 file.
2047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2048 multiarch isinff for PPC64.
2049
1481d706
AZ
20502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051
2052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2053 finitef multiarch implementation.
2054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2055 file.
2056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2058 multiarch finite for PPC64.
2059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2060 file.
2061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2062 multiarch finitef for PPC64.
2063
5ccd5fc8
AZ
20642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2065
2066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2067 lrint multiarch implementation.
2068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2069 file.
2070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2072 multiarch llrint for PPC64.
2073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2074 multiarch lrint for PPC64.
2075
2568f3fa
AZ
20762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2077
2078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2079 copysignf multiarch implementation.
2080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2081 file.
2082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2083 file.
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2085 multiarch copysign for PPC64.
2086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2087 multiarch copysignf for PPC64.
2088
1cb341fd
AZ
20892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090
2091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2092 multiarch implementation.
2093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2094 file.
2095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2096 file.
2097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2098 file.
2099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2100 file.
2101 multiarch llround for PPC64.
2102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2103 multiarch trunc for PPC64.
2104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2105 multiarch truncf for PPC64.
2106
59a3e194
AZ
21072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108
2109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2110 multiarch implementation.
2111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2112 file.
2113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2114 file.
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2116 file.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2118 file.
2119 multiarch llround for PPC64.
2120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2121 multiarch round for PPC64.
2122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2123 multiarch roundf for PPC64.
2124
357fd3b4
AZ
21252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126
2127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2128 multiarch implementation.
2129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2130 file.
2131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2132 file.
2133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2134 file.
2135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2136 file.
2137 multiarch llround for PPC64.
2138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2139 multiarch floor for PPC64.
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2141 multiarch floorf for PPC64.
2142
96770f12
AZ
21432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144
2145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2146 multiarch implementation.
2147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2148 file.
2149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2150 file.
2151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2152 file.
2153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2154 file.
2155 multiarch llround for PPC64.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2157 multiarch ceil for PPC64.
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2159 multiarch ceilf for PPC64.
2160
c3627f6e
AZ
21612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162
2163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2164 multiarch implementation.
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2166 file.
2167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2168 file.
2169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2170 file.
2171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2172 multiarch llround for PPC64.
2173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2174 multiarch lround for PPC64.
2175
b2284ad7
AZ
21762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2179 multiarch implementation.
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2183 file.
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2187 multiarch isnan for PPC64.
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2189 multiarch isnanf for PPC64.
2190
69bbc63d
AZ
21912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2194 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2195 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2196 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2197 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2199
c24517c9
AZ
22002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201
2202 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2206
a52374e8
AZ
22072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208
2209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2210 multiarch implementations.
2211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2212 (__libc_ifunc_impl_list): Likewise.
2213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2214 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2215 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2216 multiarch stpcpy for PPC64.
2217
7f5ec113
AZ
22182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2219
2220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2221 multiarch implementations.
2222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2223 (__libc_ifunc_impl_list): Likewise.
2224 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2225 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2226 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2227 multiarch strcpy for PPC64.
2228
e28bcd42
AZ
22292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2230
2231 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2232 redefine function name.
2233 (_wordcopy_fwd_dest_aligned): Likewise.
2234 (_wordcopy_bwd_aligned): Likewise.
2235 (_wordcopy_bwd_dest_aligned): Likewise.
2236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2237 multiarch implementations.
2238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2239 (__libc_ifunc_impl_list): Likewise.
2240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2241 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2243 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2244 multiarch wcscpy for PPC64.
2245
92cacfce
AZ
22462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2247
2248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2249 multiarch implementations.
2250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2251 (__libc_ifunc_impl_list): Likewise.
2252 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2254 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2255 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2256 multiarch wcscpy for PPC64.
2257
7b714620
AZ
22582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2259
2260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2261 multiarch implementations.
2262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2263 (__libc_ifunc_impl_list): Likewise.
2264 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2265 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2266 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2267 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2268 multiarch wcsrchr for PPC64.
2269
16fd2ae3
AZ
22702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2271
2272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2273 multiarch implementations.
2274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2275 (__libc_ifunc_impl_list): Likewise.
2276 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2278 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2279 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2280 multiarch wcschr for PPC64.
2281
9ee2969b
AZ
22822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283
2284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2285 multiarch implementations.
2286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2287 (__libc_ifunc_impl_list): Likewise.
2288 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2289 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2290 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2291 multiarch strchrnul for PPC64.
2292
372dc060
AZ
22932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2294
2295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2296 implementations.
2297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2298 (__libc_ifunc_impl_list): Likewise.
2299 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2300 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2301 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2302 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2303 strchr for PPC64.
2304
24c2c3b9
AZ
23052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306
2307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2308 implementations.
2309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2310 (__libc_ifunc_impl_list): Likewise.
2311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2313 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2314 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2315 strncmp for PPC64.
2316
1c92d9a0
AZ
23172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318
2319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2320 multiarch implementations.
2321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2322 (__libc_ifunc_impl_list): Likewise.
2323 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2324 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2325 strncasecmp for PPC64.
2326 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2327 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2328 multiarch strncasecmp_l for PPC64.
2329
17de3ee3
AZ
23302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331
2332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2333 multiarch implementations.
2334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2335 (__libc_ifunc_impl_list): Likewise.
2336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2338 multiarch strcasecmp for PPC64.
2339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2340 file.
2341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2342 multiarch strcasecmp_l for PPC64.
2343
62982bf9
AZ
23442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2345
2346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2347 implementations.
2348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2349 (__libc_ifunc_impl_list): Likewise.
2350 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2351 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2352 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2353 strnlen for PPC64.
2354
a65f4904
AZ
23552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356
2357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2358 implementations.
2359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2360 (__libc_ifunc_impl_list): Likewise.
2361 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2362 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2363 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2364 strlen for PPC64.
2365
1fd005ad
AZ
23662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2367
2368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2369 implementations.
2370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2371 (__libc_ifunc_impl_list): Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2373 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2374 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2375 rawmemrchr for PPC64.
2376
cd05ba91
AZ
23772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2378
2379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2380 implementation.
2381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2382 (__libc_ifunc_impl_list): Likewise.
2383 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2384 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2385 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2386 memrchr for PPC64.
2387
870f8676
AZ
23882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389
2390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2391 implementation.
2392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2393 (__libc_ifunc_impl_list): Likewise.
2394 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2395 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2396 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2397 memchr for PPC64.
2398
f00be62b
AZ
23992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2400
2401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2402 implementation.
2403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2404 (__libc_ifunc_impl_list): Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2406 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2407 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2408 mempcpy for PPC64.
2409
8a29a3d0
AZ
24102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411
2412 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2413 avoid cretion of __bzero symbol.
2414 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2415 Likewise.
2416 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2417 Likewise.
2418 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2419 Likewise.
2420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2421 multiarch implementations.
2422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2423 (__libc_ifunc_impl_list): Likewise.
2424 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2425 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2426 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2427 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2428 bzero for PPC32.
2429 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2430 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2431 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2432 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2433 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2434 memset for PPC64.
2435 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2436
07253fcf
AZ
24372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2438
2439 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2441 implementations.
2442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2443 (__libc_ifunc_impl_list): Likewise.
2444 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2445 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2446 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2447 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2448 memcmp for PPC64.
2449
b5beafbc
AZ
24502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451
2452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2453 multiarch for POWER/PPC64.
2454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2455 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2461 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2462 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2463 memcpy for PPC64.
2464
5e6a4d4b
AZ
24652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2466
2467 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2468 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2469 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2470 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2471 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2472 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2473 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2474 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2475 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2476 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2477 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2478 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2479 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2480 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2481 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2489
ddfab6dc
KK
24902013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2491
2492 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2493
19b5525e
SP
24942013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2495
2496 * benchtests/Makefile (bench): Add exp2 and log2.
2497 (LDLIBS-bench-exp2): Add -lm.
2498 (LDLIBS-bench-log2): Likewise.
2499 * benchtests/exp2-inputs: New inputs file.
2500 * benchtests/log2-inputs: New inputs file.
2501 * benchtests/log-inputs: Add new inputs.
2502 * benchtests/tan-inputs: Likewise.
2503
196f7f5d
SP
25042013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2505
7a74607f
SP
2506 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2507 definition...
2508 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2509 csloww1, csloww2): ... from here.
2510
196f7f5d
SP
2511 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2512 instead of structures.
2513 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2514 (POLYNOMIAL): Likewise.
2515 (TAYLOR_SLOW): Likewise.
2516 (__sin): Likewise.
2517 (__cos): Likewise.
2518 (slow1): Likewise.
2519 (slow2): Likewise.
2520 (sloww): Likewise.
2521 (sloww1); Likewise.
2522 (sloww2): Likewise.
2523 (bsloww1): Likewise.
2524 (bsloww2): Likewise.
2525 (cslow2): Likewise.
2526 (csloww): Likewise.
2527 (csloww1): Likewise.
2528 (csloww2): Likewise.
2529
0dfa665c
OB
25302013-12-10 Ondřej Bílka <neleai@seznam.cz>
2531
2532 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2533 (__malloc_assert, __libc_realloc, __libc_calloc,
2534 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2535 memcpy and memset.
2536 * malloc/hooks.c (realloc_check): Likewise.
2537
5782a80f
OB
25382013-12-10 Ondřej Bílka <neleai@seznam.cz>
2539
2540 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2541 * malloc/arena.c: Remove PER_THREAD conditional.
2542 [!PER_THREAD]: Remove code.
2543 (ptmalloc_unlock_all2): Likewise.
2544 (ptmalloc_init): Likewise.
2545 (_int_new_arena): Likewise.
2546 (arena_get2): Likewise.
2547 * malloc/hooks.c (__malloc_get_state): Likewise.
2548 (__malloc_set_state): Likewise.
2549 * malloc/malloc.c: Likewise.
2550 (struct malloc_state): Likewise.
2551 (struct malloc_par): Likewise.
2552 (__libc_realloc): Likewise.
2553 (__libc_mallopt): Likewise.
2554
aeb95445
AZ
25552013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556
2557 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2558
e8349efd
OB
25592013-12-09 Ondřej Bílka <neleai@seznam.cz>
2560
2561 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2562 macro to a function. Check for zero perturb_byte.
2563 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2564
f3eeb3fc
OB
25652013-12-09 Ondřej Bílka <neleai@seznam.cz>
2566
2567 * malloc/malloc.c: (force_reg): Remove.
2568 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2569 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2570 force_reg by atomic_forced_read.
2571 * malloc/arena.c (ptmalloc_init): Likewise.
2572 * malloc/hooks.c (top_check): Likewise.
2573
be2f9009
AZ
25742013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575
2576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2577
e7b914bd
MT
25782013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2579
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2581
9f0be4f8
JM
25822013-12-08 Joseph Myers <joseph@codesourcery.com>
2583
2584 * math/auto-libm-test-in: Add tests of lgamma.
2585 * math/auto-libm-test-out: Regenerated.
2586 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2587 (M_LOG_2_SQRT_PIl): Likewise.
2588 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2589 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2590 mpfr_f_f1.
2591 (func_calc_desc): Add mpfr_f_f1 union field.
2592 (ARGS1): New macro.
2593 (ARGS2): Likewise.
2594 (ARGS3): Likewise.
2595 (ARGS4): Likewise.
2596 (RET1): Likewise.
2597 (RET2): Likewise.
2598 (CALC): Likewise.
2599 (FUNC): Likewise.
2600 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2601 (test_functions): Add lgamma.
2602 (calc_generic_results): Handle mpfr_f_f1.
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2605
24eeafdb
AZ
26062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607
2608 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2609 __mpn_add_n for PowerPC64/POWER7.
2610 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2611 __mpn_sub_n for PowerPC64/POWER7.
2612
4a2c0fd4
AZ
26132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2614
2615 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2616 __mpn_addmul_1 for PowerPC64.
2617 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2618 __mpn_submul_1 for PowerPC64.
2619 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2620 for PowerPC64.
2621 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2622 for PowerPC64.
2623
4b5b548c
FS
26242013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2625
2626 [BZ #15089]
2627 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2628
0a3ac0aa
AZ
26292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
2631 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2632
ccdc8438
AZ
26332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2634
2635 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2636 add multiarch folders.
2637 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2638 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2639 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2640 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2641 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2642 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2643 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2644 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2645 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2646 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2647 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2654
2e973d99
AZ
26552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2656
2657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2658 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2660 New file.
2661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2662 New file.
2663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2664 multiarch __ieee754_hypot for PowerPC32.
2665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2666 New file.
2667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2668 New file.
2669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2670 multiarch __ieee754_hypotf for PowerPC32.
2671
2d9470b2
AZ
26722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2673
2674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2675 long_double_symbol only if __logbl is defined.
2676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2677 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2679 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2681 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2682 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2683 path for implementation.
2684 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2685 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2687 logb, and logbl multiarch implementations for PowerPC32.
2688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2689 file.
2690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2691 file.
2692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2693 multiarch logb for PowerPC32.
2694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2695 file.
2696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2697 file.
2698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2699 multiarch logbf for PowerPC32.
2700 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2702 file.
2703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2704 multiarch logbl implementation for PowerPC32.
2705
5212ffce
AZ
27062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707
2708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2709 and modff multiarch implementations.
2710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2711 New file.
2712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2713 New file.
2714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2715 multiarch modf for PowerPC32.
2716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2717 New file.
2718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2719 New file.
2720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2721 multiarch modff for PowerPC32.
2722
79dccf31
AZ
27232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2724
2725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2726 and lrintf multiarch implementations.
2727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2728 New file.
2729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2730 New file.
2731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2732 multiarch lrint for PowerPC32.
2733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2734 file: multiarch lrintf for PowerPC32.
2735
deb66480
AZ
27362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2737
2738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2739 and lroundf multiarch implementations.
2740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2741 New file.
2742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2743 New file.
2744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2745 New file.
2746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2747 multiarch lround for PowerPC32.
2748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2749 file: multiarch lroundf for PowerPC32.
2750
264b036b
AZ
27512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2752
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2754 copysign and copysignf multiarch implementations.
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2756 New file.
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2758 New file.
2759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2760 file: multiarch copysign for PowerPC32.
2761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2762 file: multiarch copysignf for PowerPC32.
2763
d47db6c9
AZ
27642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2765
2766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2767 and truncf multiarch implementations.
2768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2769 New file.
2770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2771 file.
2772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2773 multiarch trunc for PowerPC32.
2774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2775 New file.
2776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2777 New file.
2778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2779 multiarch truncf for PowerPC32.
2780
ddb60b5a
AZ
27812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2782
2783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2784 and roundf multiarch implementations.
2785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2786 New file.
2787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2788 file.
2789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2790 multiarch round for PowerPC32.
2791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2792 New file.
2793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2794 New file.
2795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2796 multiarch roundf for PowerPC32.
2797
bedcf49b
AZ
27982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2799
2800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2801 and floorf multiarch implementations.
2802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2803 New file.
2804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2805 file.
2806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2807 multiarch floor for PowerPC32.
2808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2809 New file.
2810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2811 New file.
2812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2813 multiarch floorf for PowerPC32.
2814
35ae5b40
AZ
28152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2816
2817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2818 and ceilf multiarch implementations.
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2820 New file.
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2822 file.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2824 multiarch ceil for PowerPC32.
2825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2826 New file.
2827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2828 file.
2829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2830 multiarch ceilf for PowerPC32.
2831
ae1a4cd9
AZ
28322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2833
2834 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2835 is defined.
2836 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2837 FINITEF is defined.
2838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2839 and finitef multiarch implementations.
2840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2841 New file.
2842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2843 file.
2844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2845 multiarch finite for PowerPC32.
2846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2847 New file.
2848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2849 file: multiarch finitef for PowerPC32.
2850
64fffd65
AZ
28512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852
2853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2854 and isinff multiarch implementations.
2855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2856 file.
2857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2858 file.
2859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2860 multiarch isinf for PowerPC32.
2861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2862 New file.
2863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2864 multiarch isinff for PowerPC32.
2865
8e4e7ba2
AZ
28662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2867
2868 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2869 alias when __isnan is defined.
2870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2871 and isnanf multiarch implementations.
2872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2873 file.
2874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2875 file.
2876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2877 file.
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2879 file.
2880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2881 multiarch isnan for PowerPC32.
2882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2883 New file.
2884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2885 New file.
2886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2887 multiarch isnanf for PowerPC32.
2888
ddba588e
AZ
28892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2890
2891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2892 and sqrtf multiarch implementations.
2893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2894 file.
2895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2896 file.
2897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2898 multiarch sqrt for PowerPC32.
2899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2900 file.
2901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2902 file.
2903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2904 multiarch sqrtf for PowerPC32.
2905
0f96a2f0
AZ
29062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2909 and llroundf multiarch implementations.
2910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2911 New file.
2912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2913 New file.
2914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2915 New file.
2916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2917 file: multiarch llround for PowerPC32.
2918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2919 file: multiarch llroundf for PowerPC32.
2920
c9b5d79e
AZ
29212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922
2923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2924 multiarch PowerPC32 fpu implementations.
2925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2926 New file.
2927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2928 New file.
2929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2930 multiarch llrint for PowerPC32.
2931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2932 New file.
2933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2934 New file.
2935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2936 file.
2937
9cbb3aab
AZ
29382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2941
ea5a72f8
AZ
29422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2943
2944 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2945 file.
2946 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2947 file.
2948 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2949 file.
2950 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2951 multiarch wordcopy for PPC32.
2952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2953 wordcopy objects.
2954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2955 (__libc_ifunc_impl_list): Likewise.
2956 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2957 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2958 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2959 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2960 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2961 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2962
93be09e7
AZ
29632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2964
2965 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2967 file.
2968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2969 file.
2970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2971 file.
2972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2973 multiarch wcscpy for PPC32.
2974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2975 multiarch objects.
2976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2977 (__libc_ifunc_impl_list): Likewise.
2978 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2979 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2980 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2981 sysdeps/powerpc/power6/wcscpy.c.
2982
bb04e529
AZ
29832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2984
2985 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2987 file.
2988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2989 file.
2990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2991 file.
2992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2993 multiarch wcsrchr for PPC32.
2994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2995 multiarch objects.
2996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2997 (__libc_ifunc_impl_list): Likewise.
2998 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2999 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3000 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3001 sysdeps/powerpc/power6/wcsrchr.c.
3002
05b5cd1c
AZ
30032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3006 file.
3007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3008 file.
3009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3011 multiarch wcschr for PPc32.
3012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3013 multiarch objects.
3014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3015 (__libc_ifunc_impl_list): Likewise.
3016 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3017 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3018 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3019 sysdeps/powerpc/power6/wcschr.c.
3020
ba964147
AZ
30212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3022
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3025 file.
3026 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3027 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3028 file: multiarch strchr for PPC32.
3029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3030 multiarch objects.
3031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3032 (__libc_ifunc_impl_list): Likewise.
3033
31c81aaa
AZ
30342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035
3036 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3037 name.
3038 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3039 file.
3040 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3041 file.
3042 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3043 multiarch strchrnul for PPC32.
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3045 multiarch objects.
3046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3047 (__libc_ifunc_impl_list): Likewise.
3048
0d0607d9
AZ
30492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3050
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3052 file.
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3054 multiarch strncasecmp for PPC32.
3055 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3056 file.
3057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3058 multiarch strncasecmp_l for PPC32.
3059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3060 strncasecmp multiarch objects.
3061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3062 (__libc_ifunc_impl_list): Likewise.
3063
4dfd5c86
AZ
30642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3065
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3067 file.
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3069 multiarch strncasecmp for PPC32.
3070 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3071 New file.
3072 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3073 multiarch strcasecmp_l for PPC32.
3074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3075 multiarch objects.
3076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3077 (__libc_ifunc_impl_list): Likewise.
3078
a19e01a3
AZ
30792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3080
3081 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3082 file.
3083 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3084 file.
3085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3086 multiarch strncmp for PPC32.
3087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3088 multiarch objects.
3089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3090 (__libc_ifunc_impl_list): Likewise.
3091
ae9cf7a2
AZ
30922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3093
3094 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3095 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3096 file.
3097 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3098 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3100 multiarch objects.
3101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3102 (__libc_ifunc_impl_list): Likewise.
3103
3148bb7d
AZ
31042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3107 file.
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3109 file.
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3112 multiarch objects.
3113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3114 (__libc_ifunc_impl_list): Likewise.
3115
7af8b946
AZ
31162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3119 file.
3120 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3121 file.
3122 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3123 multiarch rawmemchr for PPC32.
3124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3125 multiarch objects.
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3127 (__libc_ifunc_impl_list): Likewise.
3128
03a6aa6a
AZ
31292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130
3131 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3132 file.
3133 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3134 file.
3135 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3136 file: memrchr multiarch for PPC32.
3137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3138 multiarch objects.
3139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3140 (__libc_ifunc_impl_list): Likewise.
3141
1c62e6d9
AZ
31422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143
3144 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3145 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3146 file.
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3148 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3149 multiarch memchr for PPC32.
3150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3151 multiarch objects.
3152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3153 (__libc_ifunc_impl_list): Likewise.
3154
87da8bdb
AZ
31552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3156
3157 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3158 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3159 file.
3160 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3161 file.
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3163 file: multiarch mempcpy for PPC32.
3164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3165 multiarch objects.
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3167 (__libc_ifunc_impl_list): Likewise.
3168
20ed4714
AZ
31692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3170
3171 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3172 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3173 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3175 multiarch bzero for PPC32.
3176 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3177 file.
3178 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3179 file.
3180 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3181 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3182 file: multiarch memset for PPC32.
3183 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3185 memset multiarch objects.
3186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3187 (__libc_ifunc_impl_list): Likewise.
3188
ab3e3a46
AZ
31892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190
3191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3192 file.
3193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3195 memcmp for PPC32.
3196 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3198 multiarch objects.
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3200 (__libc_ifunc_impl_list): Likewise.
3201
930de6f0
AZ
32022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3203
3204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3206 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3207 file.
3208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3209 file.
3210 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3211 file.
3212 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3213 multiarch memcpy for PPC32.
3214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3215 multiarch objects.
3216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3217 (__libc_ifunc_impl_list): Likewise.
3218
4c628e00
AZ
32192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220
3221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3222 support multiarch for POWER/PPC32.
3223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3224 Likewise.
3225 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3227 Implies file to make multiarch folder appers before the fpu and
3228 default folder for power4 configuration.
3229
f4479220
SP
32302013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3231
3232 * scripts/bench.pl: Append volatile keyword to type.
3233
8517800f
KK
32342013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3235
3236 * sysdeps/sh/sotruss-lib.c: New file.
3237 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3238
180138f1
AZ
32392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240
3241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3242
bbf37bdc
JM
32432013-12-05 Joseph Myers <joseph@codesourcery.com>
3244
e47cc4e0
JM
3245 [BZ #6810]
3246 * math/w_tgamma.c: Include <errno.h>.
3247 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3248 * math/w_tgammaf.c: Include <errno.h>.
3249 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3250 * math/w_tgammal.c: Include <errno.h>.
3251 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3252 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3253 underflow. Add more tgamma tests.
3254 * math/auto-libm-test-out: Regenerated.
3255 * sysdeps/i386/fpu/libm-test-ulps: Update.
3256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257
bbf37bdc
JM
3258 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3259 sin, sinh, tan, tanh, tgamma, y0 and y1.
3260 * math/auto-libm-test-out: Regenerated.
3261 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3262 (TEST_COND_x86): Likewise.
3263 (M_E2l): Remove macro.
3264 (M_E3l): Likewise.
3265 (M_2_SQRT_PIl): Likewise.
3266 (M_SQRT_PIl): Likewise.
3267 (M_1_DIV_El): Likewise.
3268 (log_test_data): Use AUTO_TESTS_f_f.
3269 (log10_test_data): Likewise.
3270 (log1p_test_data): Likewise.
3271 (log2_test_data): Likewise.
3272 (sin_test_data): Likewise.
3273 (sin_tonearest_test_data): Likewise.
3274 (sin_towardzero_test_data): Likewise.
3275 (sin_downward_test_data): Likewise.
3276 (sin_upward_test_data): Likewise.
3277 (sinh_test_data): Likewise.
3278 (sinh_tonearest_test_data): Likewise.
3279 (sinh_towardzero_test_data): Likewise.
3280 (sinh_downward_test_data): Likewise.
3281 (sinh_upward_test_data): Likewise.
3282 (tan_test_data): Likewise.
3283 (tan_tonearest_test_data): Likewise.
3284 (tan_towardzero_test_data): Likewise.
3285 (tan_downward_test_data): Likewise.
3286 (tan_upward_test_data): Likewise.
3287 (tanh_test_data): Likewise.
3288 (tgamma_test_data): Likewise.
3289 (y0_test_data): Likewise.
3290 (y1_test_data): Likewise.
3291 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3292 (special_real_inputs): Add pi/4.
3293 * sysdeps/i386/fpu/libm-test-ulps: Update.
3294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3295
eb5ad6b9
AZ
32962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297
3298 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3299 "longjmp_target" static probes.
3300 (__longjmp): Rename to __longjmp_symbol.
3301 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3302 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3303 on which longjmp to generate.
3304 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3305 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3306 probe.
3307 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3308 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3309 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3310 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3311 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3312 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3314 __longjmp_symbol based on which __longjmp to generate.
3315 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3316 probe.
3317 (setjmp): Rename to setjmp_symbol.
3318 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3319 (_setjmp): Rename to _setjmp_symbol.
3320 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3321 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3322 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3323 which setjmp to generate.
3324 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3325 "longjmp_target" static probes.
3326
d136c6dc
SP
33272013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3328
9298ecba
SP
3329 * benchtests/README: Add note about output arguments.
3330 * benchtests/bench-sincos.c: Remove file.
3331 * benchtests/sincos-inputs: New file.
3332 * scripts/bench.pl: Identify output arguments and define
3333 static variables for them.
3334
232983e9
SP
3335 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3336
d136c6dc
SP
3337 [BZ #15941]
3338 * Makefile (INSTALL): Add install-plain.texi as the primary
3339 dependency.
3340 * manual/install-plain.texi: New file.
3341 * manual/install.texi: Include node directive only for
3342 non-plaintext output.
3343
699ff837
JM
33442013-12-04 Joseph Myers <joseph@codesourcery.com>
3345
ab07cea8
JM
3346 * stdlib/longlong.h: Update from GCC.
3347
699ff837
JM
3348 [BZ #6807]
3349 [BZ #15901]
3350 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3351 * math/w_j0f.c (y0f): Likewise.
3352 * math/w_j0l.c (__y0l): Likewise.
3353 * math/w_j1.c (y1): Likewise.
3354 * math/w_j1f.c (y1f): Likewise.
3355 * math/w_j1l.c (__y1l): Likewise
3356 * math/w_jn.c (yn): Likewise.
3357 * math/w_jnf.c (ynf): Likewise.
3358 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3359 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3360 value for Bessel function domain errors outside _SVID_ mode.
3361 Adjust sign of return value for yn (negative integer, 0).
3362 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3363 by zero in return for negative x and set sign appropriately for
3364 negative n.
3365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3366 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3367 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3368 expectations in error cases.
3369 (y1_test_data): Likewise.
3370 (yn_test_data): Likewise.
3371 * sysdeps/i386/fpu/libm-test-ulps: Update.
3372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3373
5b118558
UW
33742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3375
3376 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3377 "64" to "64-v1". Add "64-v2".
3378 (abi-64-options): Rename to ...
3379 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3380 (abi-64-condition): Rename to ...
3381 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3382 (abi-64-ld-soname): Rename to ...
3383 (abi-64-v1-ld-soname): ... this.
3384 (abi-64-v2-options): Define.
3385 (abi-64-v2-condition): Likewise.
3386 (abi-64-v2-ld-soname): Likewise.
3387 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3388 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3392
61cd8fe4
UW
33932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3394 Alan Modra <amodra@gmail.com>
3395
3396 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3397 New versions for use with the ELFv2 ABI.
3398 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3399 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3400 declaration.
3401 (struct La_ppc64v2_retval): Likewise.
3402 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3403 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3404 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3405 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3406 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3407 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3408 Do not save or restore CR.
3409 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3410 (_dl_profile_resolve): Do no save or restore CR. Support extended
3411 return values for ELFv2 ABI. Fix location of FPR return registers.
3412 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3413 updated values for _CALL_ELF == 2.
3414 (La_regs, La_retval, int_retval): Likewise.
3415
8b8a692c
UW
34162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3417
3418 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3419 (FRAME_MIN_SIZE_PARM): Likewise.
3420 (FRAME_BACKCHAIN): Likewise.
3421 (FRAME_CR_SAVE): Likewise.
3422 (FRAME_LR_SAVE): Likewise.
3423 (FRAME_TOC_SAVE): Likewise.
3424 (FRAME_PARM_SAVE): Likewise.
3425 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3426 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3427 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3428 (call_mcount_parm_offset): New macro.
3429 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3430 (PROF): Use symbolic stack frame offsets.
3431 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3432 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3433 Redefine in terms of FRAME_MIN_SIZE.
3434 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3435 (_dl_profile_resolve): Likewise. Update comment.
3436 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3437 symbols stack frame offsets.
3438 (__sigsetjmp): Likewise.
3439 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3440 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3441 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3442 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3443
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3445 (FRAME_BACKCHAIN): Remove.
3446 (FRAME_CR_SAVE): Likewise.
3447 (FRAME_LR_SAVE): Likewise.
3448 (FRAME_COMPILER_DW): Likewise.
3449 (FRAME_LINKER_DW): Likewise.
3450 (FRAME_TOC_SAVE): Likewise.
3451 (FRAME_PARM_SAVE): Likewise.
3452 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3453 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3454 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3456 (CHECK_SP): Use symbolic stack frame offsets.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3458 zone" instead of caller's parameter save area for temp storage.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3460 Likewise. Also, use symbolic stack frame offsets.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3462 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3463 our own stack frame instead of the caller's.
3464 (__socket): Use symbolic stack frame offsets.
3465
122b66de
UW
34662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3467 Alan Modra <amodra@gmail.com>
3468
3469 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3470 Define.
3471 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3472 PPC64_LOCAL_ENTRY_OFFSET): Define.
3473 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3474 New function.
3475 (elf_machine_fixup_plt): Call it.
3476 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3477 reloc arguments.
3478 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
3479 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3480 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
3481 r2 before calling target.
3482
696caf1d
UW
34832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3484 Alan Modra <amodra@gmail.com>
3485
3486 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3487 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3488 versions of macros to support ELFv2 ABI.
3489 (LOCALENTRY): New macro.
3490 (ENTRY, EALIGN): Use it.
3491 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3492 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3493 fall through into ENTRY entry point.
3494 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3495 Only define if _CALL_ELF != 2.
3496
3497 (elf_machine_matches_host): Verify ABI version matches.
3498 (RTLD_START): Use LOCALENTRY.
3499 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3500 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3501 (PLT_ENTRY_WORDS): New macro.
3502 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3503 (elf_machine_runtime_setup): Support ELFv2 ABI.
3504 (elf_machine_fixup_plt): Likewise.
3505 (elf_machine_plt_conflict): Likewise.
3506 (resolve_ifunc): Likewise.
3507 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3508 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3509 Likewise.
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3511 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3513 (makecontext): Support ELFv2 ABI.
3514 * elf/elf.h (EF_PPC64_ABI): Define.
3515
d31beafa
UW
35162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3517
3518 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3519 New assembler macro.
3520 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3521 [ASSEMBLER] (ENTRY): ... but instead here ...
3522 [ASSEMBLER] (EALIGN): ... and here.
3523 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3524 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3525 [!ASSEMBLER] (ENTRY_2): Use it.
3526 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3527 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3529 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3530 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3532 Use PPC64_LOAD_FUNCPTR.
3533
b525166b
UW
35342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3535
3536 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3537
7ec07d9a
AM
35382013-12-04 Alan Modra <amodra@gmail.com>
3539
3540 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3541 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3542 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3543 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3544
3545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3546 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3547 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3548 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3549 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3550 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3551
5162e7dd
UW
35522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3553
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3555 (__makecontext): Fix incorrect CFI when backtracing out of
3556 context created via makecontext.
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3558 (__setcontext): Fix incorrect CFI during switch to new context.
3559 (__novec_setcontext): Likewise.
3560
19e3372b
OB
35612013-12-04 Ondřej Bílka <neleai@seznam.cz>
3562
3563 [BZ #4772]
3564 * time/strptime_l.c (__strptime_internal): Allow modifiers
3565 in strptime.
3566 * time/tst-strptime.c (day_tests): Add testcase.
3567
3568
ecaf142d
SP
35692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3570
3571 * scripts/bench.pl: Skip over blank lines.
3572
fbf964ae
PE
35732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3574
3575 [BZ #926]
3576 * manual/time.texi (Calendar Time): Clarify what timezone functions
3577 use.
3578
fa60a674
AZ
35792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3580
3581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3582
d674f0ef
OB
35832013-12-04 Ondřej Bílka <neleai@seznam.cz>
3584
3585 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3586 implementation.
3587 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3588 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3589 * debug/memset_chk.c (__memset_chk): Likewise.
3590 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3591 * debug/strncpy_chk.c: Likewise.
3592
17dea188
JM
35932013-12-03 Joseph Myers <joseph@codesourcery.com>
3594
749008ff
JM
3595 [BZ #15268]
3596 [BZ #15425]
3597 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3598 (__ieee754_exp): For possibly underflowing results, check size of
3599 result and force underflow exception if required.
3600 * math/auto-libm-test-in: Add more tests of exp.
3601 * math/auto-libm-test-out: Regenerated.
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604
17dea188
JM
3605 [BZ #16283]
3606 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3607 * math/w_exp2f.c (__exp2f): Likewise.
3608 * math/w_exp2l.c (__exp2l): Likewise.
3609 * math/auto-libm-test-in: Do not allow missing errno on exp2
3610 underflow.
3611 * math/auto-libm-test-out: Regenerated.
3612
b20de2c3
OB
36132013-12-03 Ondřej Bílka <neleai@seznam.cz>
3614
3615 [BZ #16274]
3616 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3617 handle filename validation.
3618 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3619 (do_open): Delete.
3620
d8e2dbe3
JM
36212013-12-03 Joseph Myers <joseph@codesourcery.com>
3622
34e16df5
JM
3623 [BZ #6786]
3624 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3625 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3626 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3627 <float.h>.
3628 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3630 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3631 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3632 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3633 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3634 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3635 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3636 Add more erfc tests.
3637 * math/auto-libm-test-out: Regenerated.
3638 * sysdeps/i386/fpu/libm-test-ulps: Update.
3639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3640
d8e2dbe3
JM
3641 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3642 exp2, expm1, j0 and j1.
3643 * math/auto-libm-test-out: Regenerated.
3644 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3645 (erfc_test_data): Likewise.
3646 (exp_test_data): Likewise.
3647 (exp_tonearest_test_data): Likewise.
3648 (exp_towardzero_test_data): Likewise.
3649 (exp_downward_test_data): Likewise.
3650 (exp_upward_test_data): Likewise.
3651 (exp10_test_data): Likewise.
3652 (exp2_test_data): Likewise.
3653 (expm1_test_data): Likewise.
3654 (j0_test_data): Likewise.
3655 (j1_test_data): Likewise.
3656 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3657 (input_flag_type): Add flag_xfail_rounding.
3658 (input_flags): Add xfail-rounding.
3659 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3660 (output_for_one_input_case): Handle flag_xfail_rounding.
3661 * sysdeps/i386/fpu/libm-test-ulps: Update.
3662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3663
18d14251
AJ
36642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3665
3d2e6075 3666 [BZ #16289]
18d14251
AJ
3667 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3668 division by 0.
3669
520d437b
SP
36702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 [BZ #16195]
3673 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3674 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3675 (STAP_PROBE0): New macro.
3676 (STAP_PROBE1): Likewise.
3677 (STAP_PROBE2): Likewise.
3678 (STAP_PROBE3): Likewise.
3679 (STAP_PROBE4): Likewise.
3680
416e0145
OB
36812013-12-02 Ondřej Bílka <neleai@seznam.cz>
3682
3683 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3684
9d17796a
SE
36852013-12-02 Steve Ellcey <sellcey@mips.com>
3686
3687 * benchtests/Makefile (bench): Add sqrt.
3688 (LDLIBS-bench-sqrt): New.
3689 * benchtests/sqrt-input: New.
3690
f524d6a8
PS
36912013-12-02 Pavel Simerda <psimerda@redhat.com>
3692
639a0ef8
PS
3693 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3694 (GAIH_EAI): Likewise.
3695 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3696 (gaih_inet): Likewise.
3697 (getaddrinfo): Don't use GAIH_EAI.
3698
f524d6a8
PS
3699 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3700 (struct gaih): Remove definition.
3701
df3aedaf
SP
37022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3703
3704 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3705 Use HERRNOP directly.
3706
1ab19dec
AZ
37072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708
b42ad38d 3709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3710
176b0c79
JM
37112013-11-30 Joseph Myers <joseph@codesourcery.com>
3712
3713 * math/gen-auto-libm-tests.c (test_functions): Add more
3714 single-argument functions.
3715 (special_fill_pi_2): New function.
3716 (special_fill_minus_pi_2): Likewise.
3717 (special_fill_pi_6): Likewise.
3718 (special_fill_minus_pi_6): Likewise.
3719 (special_fill_pi_3): Likewise.
3720 (special_fill_2pi_3): Likewise.
3721 (special_fill_e): Likewise.
3722 (special_fill_1_e): Likewise.
3723 (special_fill_e_minus_1): Likewise.
3724 (special_real_inputs): Add more special inputs.
3725 (output_for_one_input_case): Do not require ERANGE on underflow to
3726 zero if round-to-nearest result does not underflow to zero, unless
3727 exact results required.
3728 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3729 atan, atanh, cbrt, cos and cosh.
3730 * math/auto-libm-test-out: Regenerated.
3731 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3732 (acos_tonearest_test_data): Likewise.
3733 (acos_towardzero_test_data): Likewise.
3734 (acos_downward_test_data): Likewise.
3735 (acos_upward_test_data): Likewise.
3736 (acosh_test_data): Likewise.
3737 (asin_test_data): Likewise.
3738 (asin_tonearest_test_data): Likewise.
3739 (asin_towardzero_test_data): Likewise.
3740 (asin_upward_test_data): Likewise.
3741 (asinh_test_data): Likewise.
3742 (atan_test_data): Likewise.
3743 (atanh_test_data): Likewise.
3744 (cbrt_test_data): Likewise.
3745 (cos_test_data): Likewise.
3746 (cos_tonearest_test_data): Likewise.
3747 (cos_towardzero_test_data): Likewise.
3748 (cos_downward_test_data): Likewise.
3749 (cos_upward_test_data): Likewise.
3750 (cosh_test_data): Likewise.
3751 (cosh_tonearest_test_data): Likewise.
3752 (cosh_towardzero_test_data): Likewise.
3753 (cosh_downward_test_data): Likewise.
3754 (cosh_upward_test_data): Likewise.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757
ffb536d0
JM
37582013-11-29 Joseph Myers <joseph@codesourcery.com>
3759
2a77a467
JM
3760 [BZ #6787]
3761 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3762 * math/w_exp10f.c (__exp10f): Likewise.
3763 * math/w_exp10l.c (__exp10l): Likewise.
3764 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3765 errno settings in existing tests.
3766
ea3bc4e8
JM
3767 [BZ #14032]
3768 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3769 precision control set to double precision.
3770 * sysdeps/i386/fpu/w_sqrt.c: New file.
3771 * math/auto-libm-test-in: Add more tests.
3772 * math/auto-libm-test-out: Update.
3773
0712c9d8
JM
3774 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3775 (sqrt_test_tonearest): New function.
3776 (sqrt_towardzero_test_data): New variable.
3777 (sqrt_test_towardzero): New function.
3778 (sqrt_downward_test_data): New variable.
3779 (sqrt_test_downward): New function.
3780 (sqrt_upward_test_data): New variable.
3781 (sqrt_test_upward): New function.
3782 (main): Call the new functions.
3783
ffb536d0
JM
3784 * math/gen-auto-libm-tests.c: New file.
3785 * math/auto-libm-test-in: Likewise.
3786 * math/auto-libm-test-out: New generated file.
3787 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3788 variables.
3789 (%beautify): Add generated representations of zero.
3790 (top level): Set $auto_input and call parse_auto_input.
3791 (beautify): Remove trailing "f" from hex float constants.
3792 (parse_args): Handle XFAIL_TEST.
3793 (convert_condition): New function.
3794 (or_value): Likewise.
3795 (or_cond_value): Likewise.
3796 (generate_testfile): Handle AUTO_TESTS_* lines.
3797 (parse_auto_input): New function.
3798 * math/libm-test.inc (XFAIL_TEST): New macro.
3799 (ERRNO_UNCHANGED): Update value.
3800 (ERRNO_EDOM): Likewise.
3801 (ERRNO_ERANGE): Likewise.
3802 (IGNORE_RESULT): Likewise.
3803 (TEST_COND_flt_32): New macro.
3804 (TEST_COND_dbl_64): Likewise.
3805 (TEST_COND_ldbl_96_intel): Likewise.
3806 (TEST_COND_ldbl_96_m68k): Likewise.
3807 (TEST_COND_ldbl_128): Likewise.
3808 (TEST_COND_ldbl_128ibm): Likewise.
3809 (TEST_COND_long32): Likewise.
3810 (TEST_COND_long64): Likewise.
3811 (TEST_COND_before_rounding): Likewise.
3812 (TEST_COND_after_rounding): Likewise.
3813 (enable_test): Handle XFAIL_TEST flag.
3814 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3815 with finite results.
3816 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3817 auto-libm-test-out.
3818
acd98a8e
AK
38192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3820 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3821
3822 [BZ #16214]
3823 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3824 __tls_get_addr_internal instead of __tls_get_offset in order to
3825 avoid GOT pointer dependency. Make rtld export
3826 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3827 __tls_get_addr since we are a __tls_get_offset platform.
3828 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3829 GOT pointer being set up before.
3830 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3831
3c1c46a6
JM
38322013-11-28 Joseph Myers <joseph@codesourcery.com>
3833
7475aef5
JM
3834 * manual/math.texi (Errors in Math Functions): Document accuracy
3835 goals.
3836
8bca7cd8
JM
3837 [BZ #15004]
3838 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3839 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3854
91a1f3fe
JM
3855 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3856 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3857 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3858 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3859 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3860 Likewise.
3861 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3862 Likewise.
3863 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3864 Likewise.
3865 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3866 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3867 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3868 atomic-feupdateenv and flt-rounds.
3869 * sysdeps/powerpc/nofpu/Versions (libc): Add
3870 __atomic_feholdexcept, __atomic_feclearexcept,
3871 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3872 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3873 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3875 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3876 here.
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3878 Update.
3879
c5df7609
JM
3880 * manual/arith.texi (FP Exceptions): Document that exceptions may
3881 not be raised when matherr is used.
3882 (Math Error Reporting): Document overflow in directed rounding
3883 modes. Document that errno may not be set when finite values are
3884 returned on overflow. Document intent to set errno on underflow
3885 only for underflow to zero.
3886
3c1c46a6
JM
3887 [BZ #16271]
3888 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3889 round-to-nearest then adjust result for other rounding modes.
3890 * include/fenv.h (fegetround): Use libm_hidden_proto.
3891 * math/fegetround.c (fegetround): Use libm_hidden_def.
3892 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3893 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3894 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3895 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3896 Likewise.
3897 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3898 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3899 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3900 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3901
5a4c6d53
SP
39022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3903
3904 [BZ #16077]
3905 * nss/Versions (libnss_files): Add
3906 _nss_files_gethostbyname3_r.
3907 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3908 New function.
3909 (HOST_DB_LOOKUP): Remove macro.
3910 (_nss_files_gethostbyname_r): Implement function without the
3911 HOST_DB_LOOKUP macro.
3912 (_nss_files_gethostbyname2_r): Likewise.
3913
897b98ba
OB
39142013-11-28 Ondřej Bílka <neleai@seznam.cz>
3915
3916 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3917
6f476861
UB
39182013-11-26 Uros Bizjak <ubizjak@gmail.com>
3919
3920 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3921 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3922 warning.
3923
bd12ab55
AZ
39242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925
3926 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3927 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3928 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3929 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3930 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3931 __fe_nomask_env_priv and attribute_hidden.
3932 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3933 (libc_feupdateenv_test_ppc): Likewise.
3934 (libc_feresetround_ppc): Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3936 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3937 compat_symbol macro.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3939 (__fe_nomask_env): Likewise.
3940 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3941
52bb6543
OB
39422013-11-26 Ondřej Bílka <neleai@seznam.cz>
3943
3944 * string/Makefile: Remove ifunc tests.
3945 * string/test-string.h: Define TEST_IFUNC.
3946 * string/test-bcopy-ifunc.c: Remove.
3947 * string/test-bzero-ifunc.c: Likewise.
3948 * string/test-memccpy-ifunc.c: Likewise.
3949 * string/test-memchr-ifunc.c: Likewise.
3950 * string/test-memcmp-ifunc.c: Likewise.
3951 * string/test-memcpy-ifunc.c: Likewise.
3952 * string/test-memmem-ifunc.c: Likewise.
3953 * string/test-memmove-ifunc.c: Likewise.
3954 * string/test-mempcpy-ifunc.c: Likewise.
3955 * string/test-memrchr-ifunc.c: Likewise.
3956 * string/test-memset-ifunc.c: Likewise.
3957 * string/test-rawmemchr-ifunc.c: Likewise.
3958 * string/test-stpcpy-ifunc.c: Likewise.
3959 * string/test-stpncpy-ifunc.c: Likewise.
3960 * string/test-strcasecmp-ifunc.c: Likewise.
3961 * string/test-strcasestr-ifunc.c: Likewise.
3962 * string/test-strcat-ifunc.c: Likewise.
3963 * string/test-strchr-ifunc.c: Likewise.
3964 * string/test-strchrnul-ifunc.c: Likewise.
3965 * string/test-strcmp-ifunc.c: Likewise.
3966 * string/test-strcpy-ifunc.c: Likewise.
3967 * string/test-strcspn-ifunc.c: Likewise.
3968 * string/test-strlen-ifunc.c: Likewise.
3969 * string/test-strncasecmp-ifunc.c: Likewise.
3970 * string/test-strncat-ifunc.c: Likewise.
3971 * string/test-strncmp-ifunc.c: Likewise.
3972 * string/test-strncpy-ifunc.c: Likewise.
3973 * string/test-strnlen-ifunc.c: Likewise.
3974 * string/test-strpbrk-ifunc.c: Likewise.
3975 * string/test-strrchr-ifunc.c: Likewise.
3976 * string/test-strspn-ifunc.c: Likewise.
3977 * string/test-strstr-ifunc.c: Likewise.
3978
ab260039 39792013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3980
3981 * benchtests/Makefile: Remove ifunc tests.
3982 * benchtests/bench-string.h: Define TEST_IFUNC.
3983 * benchtests/bench-bcopy-ifunc.c: Remove.
3984 * benchtests/bench-bzero-ifunc.c: Likewise.
3985 * benchtests/bench-memccpy-ifunc.c: Likewise.
3986 * benchtests/bench-memchr-ifunc.c: Likewise.
3987 * benchtests/bench-memcmp-ifunc.c: Likewise.
3988 * benchtests/bench-memcpy-ifunc.c: Likewise.
3989 * benchtests/bench-memmem-ifunc.c: Likewise.
3990 * benchtests/bench-memmove-ifunc.c: Likewise.
3991 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3992 * benchtests/bench-memrchr-ifunc.c: Likewise.
3993 * benchtests/bench-memset-ifunc.c: Likewise.
3994 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3995 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3996 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3997 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3998 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3999 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4000 * benchtests/bench-strcat-ifunc.c: Likewise.
4001 * benchtests/bench-strchr-ifunc.c: Likewise.
4002 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4003 * benchtests/bench-strcmp-ifunc.c: Likewise.
4004 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4005 * benchtests/bench-strcpy-ifunc.c: Likewise.
4006 * benchtests/bench-strcspn-ifunc.c: Likewise.
4007 * benchtests/bench-strlen-ifunc.c: Likewise.
4008 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4009 * benchtests/bench-strncat-ifunc.c: Likewise.
4010 * benchtests/bench-strncmp-ifunc.c: Likewise.
4011 * benchtests/bench-strncpy-ifunc.c: Likewise.
4012 * benchtests/bench-strnlen-ifunc.c: Likewise.
4013 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4014 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4015 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4016 * benchtests/bench-strspn-ifunc.c: Likewise.
4017 * benchtests/bench-strstr-ifunc.c: Likewise.
4018
40192013-11-26 Ondřej Bílka <neleai@seznam.cz>
4020
ab260039
OB
4021 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4022
d1d9eaf4 40232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4024
d1d9eaf4
OB
4025 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4026 * rt/aio.h: Likewise.
4027 * sysdeps/gnu/bits/utmp.h: Likewise.
4028 * sysdeps/gnu/bits/utmpx.h: Likewise.
4029 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4030 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4031 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4032 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4033 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4034 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4035 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4036 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4037 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4040 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4041 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4043 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4044 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4045 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4046 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4047 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4048 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4049 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4050 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4051 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4052 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4053 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4058 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4059 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4061 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4062 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4063 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4064 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4065 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4066 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4067 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4068 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4069 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4070 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4071
a7624ed9
CD
40722013-11-25 Carlos O'Donell <carlos@redhat.com>
4073
4074 [BZ #16245]
4075 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4076 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4077
63cfe52b
JM
40782013-11-25 Joseph Myers <joseph@codesourcery.com>
4079
4080 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4082 Likewise.
4083
41e8926a
AZ
40842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085
4086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4087 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4088 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4089 (__fesetround): Remove define.
4090 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4091 rounding and exceptions handling.
4092 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4093 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4094 (__fe_nomask_env): Likewise.
4095 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4096 __fegetround instead of fegetround.
4097 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4099
6851bd4d
RM
41002013-11-21 Roland McGrath <roland@hack.frob.com>
4101
070906ff
RM
4102 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4103 it's there.
4104
6851bd4d
RM
4105 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4106
84ae135d
MI
41072013-11-21 Meador Inge <meadori@codesourcery.com>
4108
4109 [BZ #11157]
4110 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4111 (encrypt_r): Likewise.
4112 * malloc/obstack.h (obstack_free): Likewise.
4113 * posix/unistd.h (encrypt): Likewise.
4114
daf75146
GM
41152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4116
4117 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4118 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4119 DL_CALL_DT_FINI() that call the functions directly.
4120 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4121 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4122 * elf/dl-fini.c: Likewise.
4123
10ad46bc
OB
41242013-11-20 Ondřej Bílka <neleai@seznam.cz>
4125
4126 * malloc/hooks.c (memalign_check): Add alignment rounding.
4127 * malloc/malloc.c (_mid_memalign): New function.
4128 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4129 Implement by calling _mid_memalign.
4130 * manual/probes.texi (Memory Allocation Probes): Remove
4131 memory_valloc_retry and memory_pvalloc_retry.
4132
f3fd2628
SP
41332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4134
4712799f
SP
4135 * locale/programs/locarchive.c (open_archive): Add const
4136 qualifier to ARCHIVEFNAME and copy default fname to
4137 DEFAULT_FNAME.
4138
0417b20f
SP
4139 [BZ #15601]
4140 * libio/tst-widetext.input: Rename Oriya to Odia.
4141 * locale/iso-639.def: Likewise.
4142
f3fd2628
SP
4143 * manual/probes.texi (Mathematical Function Probes): Add
4144 documentation for sin, cos, asin and acos probes.
4145 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4146 (__sin32): Add slowasin probe.
4147 (__cos32): Add slowacos probe.
4148 (__mpsin): Add slowsin probe.
4149 (__mpcos): Add slowcos probe.
4150
73c1ce4f
JM
41512013-11-19 Joseph Myers <joseph@codesourcery.com>
4152
4153 [BZ #15483]
4154 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4155 thread-local __sim_exceptions_thread and global
4156 __sim_exceptions_global.
4157 (__sim_disabled_exceptions): Change to thread-local
4158 __sim_disabled_exceptions_thread and global
4159 __sim_disabled_exceptions_global.
4160 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4161 and global __sim_round_mode_global.
4162 (__simulate_exceptions): Use thread-local floating-point state and
4163 set global state from it as needed.
4164 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4165 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4166 __sim_round_mode_thread.
4167 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4168 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4169 and global __sim_exceptions_global.
4170 (__sim_disabled_exceptions): Change to thread-local
4171 __sim_disabled_exceptions_thread and global
4172 __sim_disabled_exceptions_global.
4173 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4174 and global __sim_round_mode_global.
4175 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4176 (SIM_SET_GLOBAL): Likewise.
4177 * sysdeps/powerpc/soft-fp/sfp-machine.h
4178 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4179 __sim_round_mode_thread.
4180 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4181 __sim_disabled_exceptions_thread.
4182 (__sim_exceptions): Change to __sim_exceptions_thread.
4183 (__sim_disabled_exceptions): Change to
4184 __sim_disabled_exceptions_thread.
4185 (__sim_round_mode): Change to __sim_round_mode_thread.
4186 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4187 thread-local floating-point state and set global state from it as
4188 needed.
4189 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4190 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4191 (__sim_disabled_exceptions): Remove extern declaration.
4192 (feenableexcept): Use thread-local floating-point state and set
4193 global state from it as needed.
4194 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4195 extern declaration.
4196 (__sim_disabled_exceptions): Likewise.
4197 (__sim_round_mode): Likewise.
4198 (__fegetenv): Use thread-local floating-point state.
4199 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4200 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4201 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4202 floating-point state and set global state from it as needed.
4203 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4204 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4205 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4206 Likewise.
4207 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4208 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4209 Likewise.
4210 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4211 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4212 Use __sim_round_mode_thread.
4213 * math/test-fenv-tls.c: New file.
4214 * math/Makefile (tests): Add test-fenv-tls.
4215 ($(objpfx)test-fenv-tls): Depend on
4216 $(common-objpfx)nptl/libpthread.so.
4217
b5449b12
AS
42182013-11-19 Andreas Schwab <schwab@suse.de>
4219
4220 * locale/programs/locale.c (show_info): Decode wordarray elements.
4221 * locale/categories.def (LC_MONETARY): Add element for
4222 _NL_MONETARY_CRNCYSTR.
4223 * locale/C-monetary.c (conversion_rate): New variable.
4224 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4225 element.
4226
e186536b
CM
42272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4228
4229 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4230 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4231
5c349950
PP
42322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4233
4234 * elf/Makefile (tst-auxv): New test.
4235 * elf/tst-auxv.c: New
4236 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4237
699df45b
JM
42382013-11-18 Joseph Myers <joseph@codesourcery.com>
4239
4240 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4241 (hidden_proto): Caller changed.
4242 (hidden_tls_proto): New macro.
4243 (libc_hidden_tls_proto): Likewise.
4244 (rtld_hidden_tls_proto): Likewise.
4245 (libm_hidden_tls_proto): Likewise.
4246 (libresolv_hidden_tls_proto): Likewise.
4247 (librt_hidden_tls_proto): Likewise.
4248 (libdl_hidden_tls_proto): Likewise.
4249 (libnss_files_hidden_tls_proto): Likewise.
4250 (libnsl_hidden_tls_proto): Likewise.
4251 (libnss_nisplus_hidden_tls_proto): Likewise.
4252 (libutil_hidden_tls_proto): Likewise.
4253
b7589107
OB
42542013-11-18 Ondřej Bílka <neleai@seznam.cz>
4255
4256 [BZ #10253]
4257 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4258 (decompose_rpath): Defer expansion to fillin_rpath.
4259 (_dl_init_paths): Pass linkmap to fillin_rpath.
4260
250c23bd
RS
42612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4262
4263 * benchtests/Makefile: Add strsep.
4264 * benchtests/bench-strsep.c: New file: strsep benchtest.
4265 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4266
a7931fcf
AS
42672013-11-18 Andreas Schwab <schwab@suse.de>
4268
4269 * locale/programs/locale.c (show_info) [case byte]: Check for
4270 '\377' instead of '\177'.
4271 * locale/C-monetary.c (not_available): Always use "\377".
4272 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4273 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4274 detect unavailable sign_posn locale elements.
4275 * locale/localeconv.c (__localeconv): For grouping and
4276 mon_grouping handle "\177" and "\377" like no grouping.
4277 (INT_ELEM): New macro. Use it to set all numeric members.
4278 * locale/programs/ld-monetary.c (monetary_read)
4279 <tok_mon_grouping>: Normalize single -1 to the empty string.
4280 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4281 Likewise.
4282
728dab0e
OB
42832013-11-07 Ondřej Bílka <neleai@seznam.cz>
4284
4285 [BZ #16055]
4286 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4287 when we match (nil).
4288 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4289
66294491
JM
42902013-11-16 Joseph Myers <joseph@codesourcery.com>
4291
ce665817
JM
4292 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4293 (NO_TEST_INLINE): Update value.
4294 (ERRNO_UNCHANGED): Likewise.
4295 (ERRNO_EDOM): Likewise.
4296 (ERRNO_ERANGE): Likewise.
4297 (IGNORE_RESULT): Likewise.
4298 (check_float_internal): Check signs of NaN results if
4299 TEST_NAN_SIGN used.
4300 (check_complex): Pass TEST_NAN_SIGN flag through to second
4301 check_float_internal call.
4302 (copysign_test_data): Add tests with quiet NaNs as second
4303 argument. Use TEST_NAN_SIGN.
4304 (fabs_test_data): Add test of negative quiet NaN argument. Use
4305 TEST_NAN_SIGN.
4306 (signbit_test_data): Add tests of quiet NaN argument.
4307 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4308
ee1466a9
JM
4309 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4310 $ignore_result.
4311 (parse_args): Handle function results specified as IGNORE.
4312 * math/libm-test.inc (IGNORE_RESULT): New macro.
4313 (check_float_internal): Do not check numerical result if flag
4314 IGNORE_RESULT set.
4315 (check_complex): Pass through IGNORE_RESULT to second
4316 check_float_internal call.
4317 (check_int): Do not check numerical result if flag IGNORE_RESULT
4318 set.
4319 (check_long): Likewise.
4320 (check_bool): Likewise.
4321 (check_longlong): Likewise.
4322 (lrint_test_data): Add tests of infinite and NaN arguments.
4323 (lrint_tonearest_test_data): Likewise.
4324 (lrint_towardzero_test_data): Likewise.
4325 (lrint_downward_test_data): Likewise.
4326 (lrint_upward_test_data): Likewise.
4327 (llrint_test_data): Likewise.
4328 (llrint_tonearest_test_data): Likewise.
4329 (llrint_towardzero_test_data): Likewise.
4330 (llrint_downward_test_data): Likewise.
4331 (llrint_upward_test_data): Likewise.
4332 (lround_test_data): Likewise.
4333 (llround_test_data): Likewise.
4334
14407b7e
JM
4335 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4336 (ERRNO_UNCHANGED): Update value.
4337 (ERRNO_EDOM): Likewise.
4338 (ERRNO_ERANGE): Likewise.
4339 (NO_TEST_INLINE_FLOAT): New macro.
4340 (NO_TEST_INLINE_DOUBLE): Likewise.
4341 (enable_test): New function.
4342 (RUN_TEST_f_f): Check enable_test before running test.
4343 (RUN_TEST_2_f): Likewise.
4344 (RUN_TEST_fff_f): Likewise.
4345 (RUN_TEST_c_f): Likewise.
4346 (RUN_TEST_f_f1): Likewise.
4347 (RUN_TEST_fF_f1): Likewise.
4348 (RUN_TEST_fI_f1): Likewise.
4349 (RUN_TEST_ffI_f1): Likewise.
4350 (RUN_TEST_c_c): Likewise.
4351 (RUN_TEST_cc_c): Likewise.
4352 (RUN_TEST_f_i): Likewise.
4353 (RUN_TEST_f_i_tg): Likewise.
4354 (RUN_TEST_ff_i_tg): Likewise.
4355 (RUN_TEST_f_b): Likewise.
4356 (RUN_TEST_f_b_tg): Likewise.
4357 (RUN_TEST_f_l): Likewise.
4358 (RUN_TEST_f_L): Likewise.
4359 (RUN_TEST_fFF_11): Likewise.
4360 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4361 conditionals.
4362 (cosh_test_data): Likewise.
4363 (exp_test_data): Likewise.
4364 (expm1_test_data): Likewise.
4365 (hypot_test_data): Likewise.
4366 (pow_test_data): Likewise.
4367 (sinh_test_data): Likewise.
4368 (tanh_test_data): Likewise.
4369 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4370 flags argument.
4371
ca07f197
JM
4372 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4373 tests with quiet NaN input and output.
4374 (acosh_test_data): Likewise.
4375 (asin_test_data): Likewise.
4376 (asinh_test_data): Likewise.
4377 (atan_test_data): Likewise.
4378 (atanh_test_data): Likewise.
4379 (atan2_test_data): Likewise.
4380 (cbrt_test_data): Likewise.
4381 (cos_test_data): Likewise.
4382 (cosh_test_data): Likewise.
4383 (erf_test_data): Likewise.
4384 (erfc_test_data): Likewise.
4385 (exp_test_data): Likewise.
4386 (exp10_test_data): Likewise.
4387 (exp2_test_data): Likewise.
4388 (expm1_test_data): Likewise.
4389 (hypot_test_data): Likewise.
4390 (j0_test_data): Likewise.
4391 (j1_test_data): Likewise.
4392 (jn_test_data): Likewise.
4393 (lgamma_test_data): Likewise.
4394 (log_test_data): Likewise.
4395 (log10_test_data): Likewise.
4396 (log1p_test_data): Likewise.
4397 (log2_test_data): Likewise.
4398 (pow_test_data): Likewise.
4399 (scalb_test_data): Likewise.
4400 (sin_test_data): Likewise.
4401 (sincos_test_data): Likewise.
4402 (sinh_test_data): Likewise.
4403 (tan_test_data): Likewise.
4404 (tanh_test_data): Likewise.
4405 (tgamma_test_data): Likewise.
4406 (y0_test_data): Likewise.
4407 (y1_test_data): Likewise.
4408 (yn_test_data): Likewise.
4409
66294491
JM
4410 [BZ #16167]
4411 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4412 argument being NaN and avoid computations with second argument in
4413 that case.
4414 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4415 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4416 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4417
1820b143
CL
44182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4419
4420 * locale/iso-639.def: Add Chitwani Tharu (the).
4421
714bd261
AS
44222013-11-14 Andreas Schwab <schwab@suse.de>
4423
4424 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4425 word instead of empty string.
4426
7ab44563
AZ
44272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4428
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4430 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4432 (__fe_nomask_env): Likewise.
4433
e8470ea2
SE
44342013-11-13 Steve Ellcey <sellcey@mips.com>
4435
4436 * benchtests/bench-timing.h: Include time.h.
4437
17c1d9f0
L
44382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 [BZ #15997]
4441 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4442 to 3.4.0 for x32.
4443 * sysdeps/unix/sysv/linux/configure: Regenerated.
4444
9310c284
JM
44452013-11-13 Joseph Myers <joseph@codesourcery.com>
4446
4447 [BZ #16151]
4448 * stdlib/strtod_l.c (round_and_return): Do not consider
4449 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4450 exponent one less than half the least subnormal exponent.
4451 * stdlib/test-strtod-round-data: Add more tests.
4452 * stdlib/tst-strtod-round.c (tests): Regenerated.
4453
7a2ad8cf
AZ
44542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4455
4456 [BZ #14143]
4457 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4458 (__fe_mask_env): Likewise.
4459 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4460 libm_hidden_proto and add function prototype.
4461 (__fe_mask_env): Add function prototype.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4463 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4465 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4467 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4468
50727aa7
MS
44692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4470
b2f386c1 4471 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
4472 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4473
a615be46
MS
44742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4475
4476 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4477 of htab_find_slot().
4478
7ddace62
DM
44792013-11-11 David S. Miller <davem@davemloft.net>
4480
4481 [BZ #16150]
4482 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4483 symbol in the non-vis3 case in static builds.
4484 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4485 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4486 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4487 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4488
9182aa67
JK
44892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4490
4491 [BZ #387]
4492 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4493 it is empty.
4494
450a2e2d
AZ
44952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4496
b2f386c1
SP
4497 * benchtests/Makefile: Add bench-strtod.
4498 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 4499
8ec3f656
AS
45002013-11-11 Andreas Schwab <schwab@suse.de>
4501
4502 [BZ #16153]
4503 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4504 terminating NUL in key length.
4505
76a9b998
AZ
45062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4507
4508 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4509 Add artificial ODP entry for vDSO symbol for PPC64.
4510 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4511 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4512
e4368156
OB
45132013-11-07 Ondřej Bílka <neleai@seznam.cz>
4514
4515 [BZ #15374]
4516 * nss/getent.c (services_keys): Recognize services starting with digit.
4517
8d6bb57c
DM
45182013-11-06 David S. Miller <davem@davemloft.net>
4519
4520 [BZ #15985]
4521 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4522 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4523
e256c421
WN
45242013-11-06 Will Newton <will.newton@linaro.org>
4525
4526 * manual/memory.texi (Malloc Examples): Remove register
4527 keyword from examples.
4528
f6e12daa 45292013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 4530
f6e12daa 4531 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 4532
9d880655
AS
45332013-11-04 Joseph Myers <joseph@codesourcery.com>
4534
fd2f9486 4535 [BZ #6981]
9d880655
AS
4536 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4537 depending on [__GCC_IEC_559 > 0].
4538 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4539 depending on [__GCC_IEC_559_COMPLEX > 0].
4540
ae129d3c
CL
45412013-11-03 Chris Leonard <cjl@sugarlabs.org>
4542
4543 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4544 to iso-639.def.
4545
4a15c2a4 45462013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
4547
4548 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4549
8b35e35d
OB
45502013-11-01 Ondřej Bílka <neleai@seznam.cz>
4551
4552 [BZ #16112]
4553 * malloc/malloc (malloc_info): Do not handle first bin as
4554 special case.
4555
1d70fd6c
CL
45562013-11-01 Chris Leonard <cjl@sugarlabs.org>
4557
4558 * locale/iso-639.def: Add Central Nahuatl (nhn).
4559
8c5c2600
BH
45602013-11-01 Bruno Haible <bruno@clisp.org>
4561
4562 [BZ #7003]
4563 * manual/math.texi (BSD Random): Specify range upper bound as
4564 in POSIX.
4565
da5579c2
CL
45662013-10-31 Chris Leonard <cjl@sugarlabs.org>
4567
4568 * locale/iso-639.def: Add Meadow Mari (mhr).
4569
5d30d853
OB
45702013-10-31 Ondřej Bílka <neleai@seznam.cz>
4571
4572 [BZ #14752], [BZ #15763]
4573 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4574 Validate name.
4575 * rt/tst_shm.c: Add test for escaping directory.
4576
a4966c61
AS
45772013-10-31 Andreas Schwab <schwab@suse.de>
4578
8a43e768 4579 [BZ #15917]
a4966c61
AS
4580 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4581 followed by 'x' as part of digit sequence.
4582 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4583
28d708c4
MAP
45842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4585
4586 [BZ #16037]
4587 * configure.ac: allow GNU Make 4.0 and greater.
4588 * configure: Regenerated.
4589
a56ee40b
WN
45902013-10-30 Will Newton <will.newton@linaro.org>
4591
4592 [BZ #16038]
4593 * malloc/hooks.c (memalign_check): Limit alignment to the
4594 maximum representable power of two.
4595 * malloc/malloc.c (__libc_memalign): Likewise.
4596 * malloc/tst-memalign.c (do_test): Add test for very
4597 large alignment values.
4598 * malloc/tst-posix_memalign.c (do_test): Likewise.
4599
c6e4925d
OB
46002013-10-30 Ondřej Bílka <neleai@seznam.cz>
4601
4602 [BZ #11087]
4603 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4604 (munmap_chunk): Likewise.
4605 (mremap_chunk): Likewise.
4606
46072013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 4608
8a43e768 4609 [BZ #15799]
bbea82f7
OB
4610 * stdlib/div.c (div): Remove obsolete code.
4611 * stdlib/ldiv.c (ldiv): Likewise.
4612 * stdlib/lldiv.c (lldiv): Likewise.
4613
977f4b31
SP
46142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4615
4616 [BZ #16071]
4617 * nss/nss_files/files-XXX.c (get_contents_ret): New
4618 enumerator.
4619 (get_contents): New function.
4620 (internal_getent): Use it. Expand size of LINEBUFLEN.
4621
cb8a6dbd
MF
46222013-10-30 Mike Frysinger <vapier@gentoo.org>
4623
4624 * configure.in: Moved to ...
4625 * configure.ac: ... here. Change reference to configure.in
4626 to configure.ac.
4627 * sysdeps/arm/preconfigure.ac: ... here.
4628 configure.in to configure.ac.
4629 * sysdeps/gnu/configure.in: Moved to ...
4630 * sysdeps/gnu/configure.ac: ... here.
4631 * sysdeps/i386/configure.in: Moved to ...
4632 * sysdeps/i386/configure.ac: ... here.
4633 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4634 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4635 * sysdeps/mach/configure.in: Moved to ...
4636 * sysdeps/mach/configure.ac: ... here.
4637 * sysdeps/mach/hurd/configure.in: Moved to ...
4638 * sysdeps/mach/hurd/configure.ac: ... here.
4639 * sysdeps/powerpc/configure.in: Moved to ...
4640 * sysdeps/powerpc/configure.ac: ... here.
4641 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4642 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4643 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4644 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4645 * sysdeps/s390/s390-32/configure.in: Moved to ...
4646 * sysdeps/s390/s390-32/configure.ac: ... here.
4647 * sysdeps/s390/s390-64/configure.in: Moved to ...
4648 * sysdeps/s390/s390-64/configure.ac: ... here.
4649 * sysdeps/sh/configure.in: Moved to ...
4650 * sysdeps/sh/configure.ac: ... here.
4651 * sysdeps/sparc/configure.in: Moved to ...
4652 * sysdeps/sparc/configure.ac: ... here.
4653 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4654 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4655 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4656 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4657 * sysdeps/x86_64/configure.in: Moved to ...
4658 * sysdeps/x86_64/configure.ac: ... here.
4659 * sysdeps/x86_64/preconfigure.in: Moved to ...
4660 * sysdeps/x86_64/preconfigure.ac: ... here.
4661 * aclocal.m4: Change reference to configure.in to configure.ac.
4662 * config.h.in: Likewise.
4663 * manual/install.texi: Likewise.
4664 * manual/maint.texi: Likewise.
4665 * Makefile: Likewise.
4666 * malloc/Makefile: Likewise.
4667 * nscd/Makefile: Likewise.
4668 * Makeconfig: Change reference to configure.in and
4669 preconfigure.in to configure.ac and preconfigure.ac
4670 respectively.
4671 * INSTALL: Regenerated.
4672 * configure: Likewise.
4673 * sysdeps/gnu/configure: Likewise.
4674 * sysdeps/i386/configure: Likewise.
4675 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4676 * sysdeps/mach/configure: Likewise.
4677 * sysdeps/mach/hurd/configure: Likewise.
4678 * sysdeps/powerpc/configure: Likewise.
4679 * sysdeps/powerpc/powerpc32/configure: Likewise.
4680 * sysdeps/powerpc/powerpc64/configure: Likewise.
4681 * sysdeps/s390/s390-32/configure: Likewise.
4682 * sysdeps/s390/s390-64/configure: Likewise.
4683 * sysdeps/sh/configure: Likewise.
4684 * sysdeps/sparc/configure: Likewise.
4685 * sysdeps/unix/sysv/linux/configure: Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4687 * sysdeps/x86_64/configure: Likewise.
4688 * sysdeps/x86_64/preconfigure: Likewise.
4689
36a4953a
AS
46902013-10-29 Andreas Schwab <schwab@suse.de>
4691
4692 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4693
c79a1204
SP
46942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4695
dfa1b402
SP
4696 * benchtests/pow-inputs: Add new inputs.
4697
54f73d9c
SP
4698 * benchtests/exp-inputs: Add new inputs.
4699
c79a1204
SP
4700 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4701 conditional check for return value.
4702 (__cos32): Likewise.
4703
67beb545 47042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4705
4706 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4707 to provide a boost for large inputs with word alignment.
4708 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4709 implementation based on optimized PPC64 strcpy.
4710 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4711 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4712 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4713 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4714
151659f6
OB
47152013-10-25 Ondřej Bílka <neleai@seznam.cz>
4716
482a077e 4717 [BZ #2801]
151659f6
OB
4718 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4719
10b0f26b
OB
47202013-10-25 Ondřej Bílka <neleai@seznam.cz>
4721
4722 [BZ #14876]
4723 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4724 * time/tst-strptime.c (day_tests): Add testcase.
4725
ca42d35e
OB
47262013-10-25 Ondřej Bílka <neleai@seznam.cz>
4727
482a077e 4728 [BZ #14029]
ca42d35e
OB
4729 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4730
52e6d801
FB
47312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4732
4733 [BZ #16074]
4734 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4735 MAP_FAILED on error.
4736
7cbcdb36
SP
47372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4738
4739 [BZ #16072]
4740 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4741 heap for large requests.
4742
894f3f10
AM
47432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4744
4745 [BZ #9954]
4746 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4747 result if the result has no associated interface.
4748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4749 interface for all 127.X.Y.Z addresses.
4750
b85545a6
CL
47512013-10-24 Chris Leonard <cjl@sugarlabs.org>
4752
4753 * locale/iso-639.def: Add Ligurian (lij)
4754
d1f23d46
OB
47552013-10-21 Ondřej Bílka <neleai@seznam.cz>
4756
4757 [BZ #15825]
4758 * sunrpc/rpc_main.c: Document rpcgen -5.
4759
4db5b08f
MS
47602013-10-19 Michael Stahl <mstahl@redhat.com>
4761
4762 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4763
a471e96a
OB
47642013-10-19 Ondřej Bílka <neleai@seznam.cz>
4765
d1f23d46 4766 [BZ #10278]
a471e96a
OB
4767 * posix/glob.c: Match only directories when trailing slash is present.
4768 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4769 (main): Add testcase.
4770
45c30c61
OB
47712013-10-19 Ondřej Bílka <neleai@seznam.cz>
4772
4773 [BZ #15670]
4774 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4775
484c12fb
CD
47762013-10-18 Carlos O'Donell <carlos@redhat.com>
4777
3d7dc513
CD
4778 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4779 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4780 AUTH_DES and cindex for FIPS 140-2.
4781 (DES Encryption): Add cindex FIPS 46-3.
4782
484c12fb
CD
4783 * locale/locarchive.h (struct locarhandle): Add fname.
4784 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4785 if an optional argument was specified to --list-archive,
4786 otherwise NULL.
4787 * locale/programs/locarchive.c (show_archive_content): Take new
4788 argument fname and pass it via ah.fname to open_archive.
4789 * locale/programs/localedef.h: Update decl.
4790 (open_archive): If AH->fname is non-null, open that file
4791 rather than the default file name, and don't ignore ENOENT.
4792 (create_archive): Set AH.fname to NULL.
4793 (delete_locales_from_archive): Likewise.
4794 (add_locales_to_archive): Likewise.
4795 * locale/programs/locfile.c (write_all_categories): Likewise.
4796
3c8325fb
JM
47972013-10-18 Joseph Myers <joseph@codesourcery.com>
4798 Aldy Hernandez <aldyh@redhat.com>
4799
4800 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4801 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4802 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4803 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4804 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4805 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4806 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4807 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4808 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4809 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4810 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4811 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4812 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4813 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4814 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4815 Likewise.
4816 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4817 Likewise.
4818 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4819 Likewise.
4820 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4821 Likewise.
4822 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4823 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4824 Likewise.
4825 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4826 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4827 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4828 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4829 Likewise.
4830 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4832 * sysdeps/powerpc/preconfigure: Likewise.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4834 Likewise.
4835 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4836 Replace contents of file by #include of <fenv_libc.h>.
4837 * sysdeps/powerpc/soft-fp/sfp-machine.h
4838 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4839 and <sys/prctl.h>.
4840 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4843 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4844 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4845 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4847 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4853 Allow copysignl PLT reference to be missing.
4854
5abe0682
RS
48552013-10-18 Richard Sandiford <richard@codesourcery.com>
4856 Joseph Myers <joseph@codesourcery.com
4857
4858 [BZ #15948]
4859 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4860 single character.
4861 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4862
c7738d08
SP
48632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4864
4865 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4866 * elf/tst-tls1.c: Likewise.
4867 * elf/tst-tls10.h: Likewise.
4868 * elf/tst-tls14.c: Likewise.
4869 * elf/tst-tls2.c: Likewise.
4870 * elf/tst-tls3.c: Likewise.
4871 * elf/tst-tls4.c: Likewise.
4872 * elf/tst-tls5.c: Likewise.
4873 * elf/tst-tls6.c: Likewise.
4874 * elf/tst-tls7.c: Likewise.
4875 * elf/tst-tls8.c: Likewise.
4876 * elf/tst-tls9.c: Likewise.
4877 * elf/tst-tlsmod1.c: Likewise.
4878 * elf/tst-tlsmod13.c: Likewise.
4879 * elf/tst-tlsmod13a.c: Likewise.
4880 * elf/tst-tlsmod14a.c: Likewise.
4881 * elf/tst-tlsmod16a.c: Likewise.
4882 * elf/tst-tlsmod16b.c: Likewise.
4883 * elf/tst-tlsmod2.c: Likewise.
4884 * elf/tst-tlsmod3.c: Likewise.
4885 * elf/tst-tlsmod4.c: Likewise.
4886 * elf/tst-tlsmod5.c: Likewise.
4887 * elf/tst-tlsmod6.c: Likewise.
4888
0bfcf2c7
OB
48892013-10-18 Ondřej Bílka <neleai@seznam.cz>
4890
4891 [BZ #12486]
4892 * malloc/malloc.c: remove checks for statistics.
4893
264aad1e
OB
48942013-10-17 Ondřej Bílka <neleai@seznam.cz>
4895
4896 [BZ #15277]
4897 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4898 * inet/tst-network.c: Add testcase.
4899
b957ced8
AS
49002013-10-17 Andreas Schwab <schwab@suse.de>
4901
4902 [BZ #15218]
4903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4904 to determine canonical name.
4905
c5d5d574
OB
49062013-10-17 Ondřej Bílka <neleai@seznam.cz>
4907
4908 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4909 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4932 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4933 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4938 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4966
e5c2c2d0
JM
49672013-10-17 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #16041]
4970 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4971 make result into a quiet NaN.
4972
51ca9e29
JM
49732013-10-16 Joseph Myers <joseph@codesourcery.com>
4974
4975 * soft-fp/adddf3.c: Fix horizontal whitespace.
4976 * soft-fp/addsf3.c: Likewise.
4977 * soft-fp/addtf3.c: Likewise.
4978 * soft-fp/divdf3.c: Likewise.
4979 * soft-fp/divsf3.c: Likewise.
4980 * soft-fp/divtf3.c: Likewise.
4981 * soft-fp/double.h: Likewise.
4982 * soft-fp/eqdf2.c: Likewise.
4983 * soft-fp/eqsf2.c: Likewise.
4984 * soft-fp/eqtf2.c: Likewise.
4985 * soft-fp/extenddftf2.c: Likewise.
4986 * soft-fp/extended.h: Likewise.
4987 * soft-fp/extendsfdf2.c: Likewise.
4988 * soft-fp/extendsftf2.c: Likewise.
4989 * soft-fp/extendxftf2.c: Likewise.
4990 * soft-fp/fixdfdi.c: Likewise.
4991 * soft-fp/fixdfsi.c: Likewise.
4992 * soft-fp/fixdfti.c: Likewise.
4993 * soft-fp/fixsfdi.c: Likewise.
4994 * soft-fp/fixsfsi.c: Likewise.
4995 * soft-fp/fixsfti.c: Likewise.
4996 * soft-fp/fixtfdi.c: Likewise.
4997 * soft-fp/fixtfsi.c: Likewise.
4998 * soft-fp/fixtfti.c: Likewise.
4999 * soft-fp/fixunsdfdi.c: Likewise.
5000 * soft-fp/fixunsdfsi.c: Likewise.
5001 * soft-fp/fixunsdfti.c: Likewise.
5002 * soft-fp/fixunssfdi.c: Likewise.
5003 * soft-fp/fixunssfsi.c: Likewise.
5004 * soft-fp/fixunssfti.c: Likewise.
5005 * soft-fp/fixunstfdi.c: Likewise.
5006 * soft-fp/fixunstfsi.c: Likewise.
5007 * soft-fp/fixunstfti.c: Likewise.
5008 * soft-fp/floatdidf.c: Likewise.
5009 * soft-fp/floatdisf.c: Likewise.
5010 * soft-fp/floatditf.c: Likewise.
5011 * soft-fp/floatsidf.c: Likewise.
5012 * soft-fp/floatsisf.c: Likewise.
5013 * soft-fp/floatsitf.c: Likewise.
5014 * soft-fp/floattidf.c: Likewise.
5015 * soft-fp/floattisf.c: Likewise.
5016 * soft-fp/floattitf.c: Likewise.
5017 * soft-fp/floatundidf.c: Likewise.
5018 * soft-fp/floatundisf.c: Likewise.
5019 * soft-fp/floatunditf.c: Likewise.
5020 * soft-fp/floatunsidf.c: Likewise.
5021 * soft-fp/floatunsisf.c: Likewise.
5022 * soft-fp/floatunsitf.c: Likewise.
5023 * soft-fp/floatuntidf.c: Likewise.
5024 * soft-fp/floatuntisf.c: Likewise.
5025 * soft-fp/floatuntitf.c: Likewise.
5026 * soft-fp/fmadf4.c: Likewise.
5027 * soft-fp/fmasf4.c: Likewise.
5028 * soft-fp/fmatf4.c: Likewise.
5029 * soft-fp/gedf2.c: Likewise.
5030 * soft-fp/gesf2.c: Likewise.
5031 * soft-fp/getf2.c: Likewise.
5032 * soft-fp/ledf2.c: Likewise.
5033 * soft-fp/lesf2.c: Likewise.
5034 * soft-fp/letf2.c: Likewise.
5035 * soft-fp/muldf3.c: Likewise.
5036 * soft-fp/mulsf3.c: Likewise.
5037 * soft-fp/multf3.c: Likewise.
5038 * soft-fp/negdf2.c: Likewise.
5039 * soft-fp/negsf2.c: Likewise.
5040 * soft-fp/negtf2.c: Likewise.
5041 * soft-fp/op-1.h: Likewise.
5042 * soft-fp/op-2.h: Likewise.
5043 * soft-fp/op-4.h: Likewise.
5044 * soft-fp/op-8.h: Likewise.
5045 * soft-fp/op-common.h: Likewise.
5046 * soft-fp/quad.h: Likewise.
5047 * soft-fp/single.h: Likewise.
5048 * soft-fp/soft-fp.h: Likewise.
5049 * soft-fp/sqrtdf2.c: Likewise.
5050 * soft-fp/sqrtsf2.c: Likewise.
5051 * soft-fp/sqrttf2.c: Likewise.
5052 * soft-fp/subdf3.c: Likewise.
5053 * soft-fp/subsf3.c: Likewise.
5054 * soft-fp/subtf3.c: Likewise.
5055 * soft-fp/truncdfsf2.c: Likewise.
5056 * soft-fp/trunctfdf2.c: Likewise.
5057 * soft-fp/trunctfsf2.c: Likewise.
5058 * soft-fp/trunctfxf2.c: Likewise.
5059 * soft-fp/unorddf2.c: Likewise.
5060 * soft-fp/unordsf2.c: Likewise.
5061 * soft-fp/unordtf2.c: Likewise.
5062
9ebb0332
JM
50632013-10-15 Joseph Myers <joseph@codesourcery.com>
5064
5065 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5066 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5067
4b1a6d8b
OB
50682013-10-15 Ondřej Bílka <neleai@seznam.cz>
5069
5070 * elf/dl-libc.c: Clear initfini list after freeing.
5071
1e145589
JM
50722013-10-14 Joseph Myers <joseph@codesourcery.com>
5073
5074 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5075 * soft-fp/addsf3.c: Likewise.
5076 * soft-fp/addtf3.c: Likewise.
5077 * soft-fp/divdf3.c: Likewise.
5078 * soft-fp/divsf3.c: Likewise.
5079 * soft-fp/divtf3.c: Likewise.
5080 * soft-fp/double.h: Likewise.
5081 * soft-fp/eqdf2.c: Likewise.
5082 * soft-fp/eqsf2.c: Likewise.
5083 * soft-fp/eqtf2.c: Likewise.
5084 * soft-fp/extenddftf2.c: Likewise.
5085 * soft-fp/extended.h: Likewise.
5086 * soft-fp/extendsfdf2.c: Likewise.
5087 * soft-fp/extendsftf2.c: Likewise.
5088 * soft-fp/extendxftf2.c: Likewise.
5089 * soft-fp/fixdfdi.c: Likewise.
5090 * soft-fp/fixdfsi.c: Likewise.
5091 * soft-fp/fixdfti.c: Likewise.
5092 * soft-fp/fixsfdi.c: Likewise.
5093 * soft-fp/fixsfsi.c: Likewise.
5094 * soft-fp/fixsfti.c: Likewise.
5095 * soft-fp/fixtfdi.c: Likewise.
5096 * soft-fp/fixtfsi.c: Likewise.
5097 * soft-fp/fixtfti.c: Likewise.
5098 * soft-fp/fixunsdfdi.c: Likewise.
5099 * soft-fp/fixunsdfsi.c: Likewise.
5100 * soft-fp/fixunsdfti.c: Likewise.
5101 * soft-fp/fixunssfdi.c: Likewise.
5102 * soft-fp/fixunssfsi.c: Likewise.
5103 * soft-fp/fixunssfti.c: Likewise.
5104 * soft-fp/fixunstfdi.c: Likewise.
5105 * soft-fp/fixunstfsi.c: Likewise.
5106 * soft-fp/fixunstfti.c: Likewise.
5107 * soft-fp/floatdidf.c: Likewise.
5108 * soft-fp/floatdisf.c: Likewise.
5109 * soft-fp/floatditf.c: Likewise.
5110 * soft-fp/floatsidf.c: Likewise.
5111 * soft-fp/floatsisf.c: Likewise.
5112 * soft-fp/floatsitf.c: Likewise.
5113 * soft-fp/floattidf.c: Likewise.
5114 * soft-fp/floattisf.c: Likewise.
5115 * soft-fp/floattitf.c: Likewise.
5116 * soft-fp/floatundidf.c: Likewise.
5117 * soft-fp/floatundisf.c: Likewise.
5118 * soft-fp/floatunsidf.c: Likewise.
5119 * soft-fp/floatunsisf.c: Likewise.
5120 * soft-fp/floatuntidf.c: Likewise.
5121 * soft-fp/floatuntisf.c: Likewise.
5122 * soft-fp/floatuntitf.c: Likewise.
5123 * soft-fp/fmadf4.c: Likewise.
5124 * soft-fp/fmasf4.c: Likewise.
5125 * soft-fp/fmatf4.c: Likewise.
5126 * soft-fp/gedf2.c: Likewise.
5127 * soft-fp/gesf2.c: Likewise.
5128 * soft-fp/getf2.c: Likewise.
5129 * soft-fp/ledf2.c: Likewise.
5130 * soft-fp/lesf2.c: Likewise.
5131 * soft-fp/letf2.c: Likewise.
5132 * soft-fp/muldf3.c: Likewise.
5133 * soft-fp/mulsf3.c: Likewise.
5134 * soft-fp/multf3.c: Likewise.
5135 * soft-fp/negdf2.c: Likewise.
5136 * soft-fp/negsf2.c: Likewise.
5137 * soft-fp/negtf2.c: Likewise.
5138 * soft-fp/op-1.h: Likewise.
5139 * soft-fp/op-2.h: Likewise.
5140 * soft-fp/op-4.h: Likewise.
5141 * soft-fp/op-8.h: Likewise.
5142 * soft-fp/op-common.h: Likewise.
5143 * soft-fp/quad.h: Likewise.
5144 * soft-fp/single.h: Likewise.
5145 * soft-fp/soft-fp.h: Likewise.
5146 * soft-fp/sqrtdf2.c: Likewise.
5147 * soft-fp/sqrtsf2.c: Likewise.
5148 * soft-fp/sqrttf2.c: Likewise.
5149 * soft-fp/subdf3.c: Likewise.
5150 * soft-fp/subsf3.c: Likewise.
5151 * soft-fp/subtf3.c: Likewise.
5152 * soft-fp/truncdfsf2.c: Likewise.
5153 * soft-fp/trunctfdf2.c: Likewise.
5154 * soft-fp/trunctfsf2.c: Likewise.
5155 * soft-fp/trunctfxf2.c: Likewise.
5156 * soft-fp/unorddf2.c: Likewise.
5157 * soft-fp/unordsf2.c: Likewise.
5158 * soft-fp/unordtf2.c: Likewise.
5159
17c48a60
OB
51602013-10-14 Ondřej Bílka <neleai@seznam.cz>
5161
5162 [BZ #15672]
5163 * misc/error.c (error_tail): Fix possible buffer overflow.
5164
cabba934
OB
51652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5166
5167 [BZ #13028]
5168 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5169 address.
5170
94bf958a
PM
51712013-10-14 P. J. McDermott <pj@pehjota.net>
5172
5173 [BZ #832]
5174 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5175 testing pipefail option.
5176
71b4dea7
JM
51772013-10-12 Joseph Myers <joseph@codesourcery.com>
5178
5179 * soft-fp/double.h: Indent preprocessor directives inside #if.
5180 * soft-fp/extended.h: Likewise.
5181 * soft-fp/op-2.h: Likewise.
5182 * soft-fp/op-4.h: Likewise.
5183 * soft-fp/op-common.h: Likewise.
5184 * soft-fp/quad.h: Likewise.
5185 * soft-fp/single.h: Likewise.
5186 * soft-fp/soft-fp.h: Likewise.
5187
55602758
YC
51882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5189
5190 * iconv/iconv_prog.c: Fix typos.
5191 * stdio-common/psiginfo-data.h: Likewise.
5192
9cd83302
RT
51932013-10-12 Reuben Thomas <rrt@sc3d.org>
5194
5195 [BZ #15764]
5196 * locale/setlocale.c: Fix typo.
5197
99fd9f47
JM
51982013-10-12 Joseph Myers <joseph@codesourcery.com>
5199
b7ea74f0
JM
5200 [BZ #16036]
5201 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5202 signaling NaN arguments.
5203 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5204 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5205
8a509447
JM
5206 [BZ #14910]
5207 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5208 unordered operands.
5209 * soft-fp/gesf2.c (__gesf2): Likewise.
5210 * soft-fp/getf2.c (__getf2): Likewise.
5211 * soft-fp/ledf2.c (__ledf2): Likewise.
5212 * soft-fp/lesf2.c (__lesf2): Likewise.
5213 * soft-fp/letf2.c (__letf2): Likewise.
5214
98998e9f
JM
5215 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5216 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5217 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5218 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5219 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5220 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5221 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5222 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5223 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5224 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5225 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5226 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5227 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5228 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5229 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5230 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5231 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5232 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5233 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5234 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5235 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5236 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5237 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5238 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5239 * soft-fp/floattidf.c (__floattidf): Likewise.
5240 * soft-fp/floattisf.c (__floattisf): Likewise.
5241 * soft-fp/floattitf.c (__floattitf): Likewise.
5242 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5243 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5244 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5245 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5246 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5247 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5248 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5249 * soft-fp/gesf2.c (__gesf2): Likewise.
5250 * soft-fp/getf2.c (__getf2): Likewise.
5251 * soft-fp/ledf2.c (__ledf2): Likewise.
5252 * soft-fp/lesf2.c (__lesf2): Likewise.
5253 * soft-fp/letf2.c (__letf2): Likewise.
5254
8edc4a11
JM
5255 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5256 Undefine and redefine.
5257 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5258 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5259 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5260 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5261 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5262 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5263 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5264 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5265 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5266 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5267 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5268 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5269 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5270 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5271 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5272
8399acaf
JM
5273 [BZ #16032]
5274 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5275 without decrementing exponent if mantissa >= that for the
5276 denominator, not >.
5277 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5278 denominator, not >. Decrement exponent in < case instead of
5279 incrementing in >= case.
5280 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5281 without decrementing exponent if mantissa >= that for the
5282 denominator, not >.
5283
99fd9f47
JM
5284 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5285 computing saturated result for unsigned overflow.
5286
10e1cf6b
SP
52872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5288 Jeff Law <law@redhat.com>
5289
5290 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5291 (atan2Mp): Add systemtap probe marker.
5292 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5293 (__ieee754_log): Add systemtap probe marker.
5294 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5295 (atanMp): Add systemtap probe marker.
5296 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5297 (tanMp): Add systemtap probe marker.
5298 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5299 (__slowexp): Add systemtap probe marker.
5300 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5301 (__slowpow): Add systemtap probe marker.
5302 * manual/probes.texi: Document probes.
5303
3d110c7c
EB
53042013-10-11 Eric Biggers <ebiggers3@gmail.com>
5305
5306 [BZ #15362]
5307 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5308 written.
5309 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5310 written.
5311 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5312 written to buffer but not flushed.
5313 * libio/iofwrite_u.c: Likewise.
5314 * libio/iopadn.c: Return bytes returned even if EOF was
5315 encountered.
5316 * libio/iowpadn.c: Likewise.
5317 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5318 if _IO_padn does not write the whole buffer.
5319 [!COMPILE_WPRINTF] (PAD): Likewise.
5320
75b4202a
DM
53212013-10-10 David S. Miller <davem@davemloft.net>
5322
5323 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5324 directory block.
5325
6c6352e6
JM
53262013-10-10 Joseph Myers <joseph@codesourcery.com>
5327
33b853c3
JM
5328 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5329 instead of FSF address.
5330 * soft-fp/fixdfti.c: Likewise.
5331 * soft-fp/fixsfti.c: Likewise.
5332 * soft-fp/fixtfti.c: Likewise.
5333 * soft-fp/fixunsdfti.c: Likewise.
5334 * soft-fp/fixunssfti.c: Likewise.
5335 * soft-fp/fixunstfti.c: Likewise.
5336 * soft-fp/floattidf.c: Likewise.
5337 * soft-fp/floattisf.c: Likewise.
5338 * soft-fp/floattitf.c: Likewise.
5339 * soft-fp/floatuntidf.c: Likewise.
5340 * soft-fp/floatuntisf.c: Likewise.
5341 * soft-fp/floatuntitf.c: Likewise.
5342 * soft-fp/trunctfxf2.c: Likewise.
5343
6c6352e6
JM
5344 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5345 * soft-fp/fixdfti.c: Likewise.
5346 * soft-fp/fixsfti.c: Likewise.
5347 * soft-fp/fixtfti.c: Likewise.
5348 * soft-fp/fixunsdfti.c: Likewise.
5349 * soft-fp/fixunssfti.c: Likewise.
5350 * soft-fp/fixunstfti.c: Likewise.
5351 * soft-fp/floattidf.c: Likewise.
5352 * soft-fp/floattisf.c: Likewise.
5353 * soft-fp/floattitf.c: Likewise.
5354 * soft-fp/floatuntidf.c: Likewise.
5355 * soft-fp/floatuntisf.c: Likewise.
5356 * soft-fp/floatuntitf.c: Likewise.
5357 * soft-fp/trunctfxf2.c: Likewise.
5358
3bf78b71
DM
53592013-10-10 David S. Miller <davem@davemloft.net>
5360
5361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5362
6f10289e
JM
53632013-10-10 Joseph Myers <joseph@codsourcery.com>
5364
bd878fc0
JM
5365 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5366 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5367 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5372
6f10289e
JM
5373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5374 for NaNs before doing comparisons on argument.
5375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5376 Likewise.
5377
321e2684
WN
53782013-10-10 Will Newton <will.newton@linaro.org>
5379
5380 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5381 passed to _int_memalign does not overflow.
5382
40fefba1
TR
53832013-10-10 Torvald Riegel <triegel@redhat.com>
5384
5385 * scripts/bench.pl: Add include-sources directive.
5386 * benchtests/README: Update documentation.
5387
2ae21ed2
JM
53882013-10-10 Joseph Myers <joseph@codesourcery.com>
5389
dcc2dd3f
JM
5390 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5391 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5392 instead of FP_INIT_ROUNDMODE.
5393 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5394 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5395
2ae21ed2
JM
5396 [BZ #16034]
5397 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5398 copy class of input value.
5399 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5400 not handle exceptions.
5401 * soft-fp/negsf2.c (__negsf2): Likewise.
5402 * soft-fp/negtf2.c (__negtf2): Likewise.
5403 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5404
cb8f9562
JM
54052013-10-09 Joseph Myers <joseph@codesourcery.com>
5406
5407 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5408 semicolon. From Linux kernel.
5409
5b60c59d
AB
54102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5411
5412 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5413
b86835ca
YC
54142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5415
5416 [BZ #156]
5417 * manual/socket.texi: Added statement about buffer
5418 for gethostbyname2_r.
5419
e7044ea7
OB
54202013-10-08 Ondřej Bílka <neleai@seznam.cz>
5421
5422 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5423 Use .p2align directive instead, throughout.
5424 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5425 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5426 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5428 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5429 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5430 * sysdeps/x86_64/strchr.S: Likewise.
5431 * sysdeps/x86_64/strrchr.S: Likewise.
5432
09544cbc
SP
54332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5434
88576635
SP
5435 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5436
e7b2d1dd
SP
5437 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5438
09544cbc
SP
5439 * sysdeps/generic/math_private.h (__mpsin1): Remove
5440 declaration.
5441 (__mpcos1): Likewise.
5442 (__mpsin): New argument __range_reduce.
5443 (__mpcos): Likewise.
5444 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5445 (slow): Use __mpsin and __mpcos.
5446 (slow1): Likewise.
5447 (slow2): Likewise.
5448 (sloww): Likewise.
5449 (sloww1): Likewise.
5450 (sloww2): Likewise.
5451 (bsloww): Likewise.
5452 (bsloww1): Likewise.
5453 (bsloww2): Likewise.
5454 (cslow2): Likewise.
5455 (csloww): Likewise.
5456 (csloww1): Likewise.
5457 (csloww2): Likewise.
5458 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5459 range_reduce. Merge in __mpsin1.
5460 (__mpcos): Likewise.
5461 (__mpsin1): Remove.
5462 (__mpcos1): Likewise.
5463
7602d070
JM
54642013-10-07 Joseph Myers <joseph@codesourcery.com>
5465
5466 * locale/loadlocale.c (_nl_intern_locale_data): Use
5467 LOCFILE_ALIGNED_P.
5468 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5469 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5470 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5471 obstack data is appropriately aligned.
5472 (obstack_int32_grow_fast): Likewise.
5473 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5474 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5475 (add_locale_uint32_array): Likewise.
5476
a357259b
SP
54772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5478
5479 * benchtests/Makefile: Remove ARGLIST and RET variables.
5480 ($(objpfx)bench-%.c): Pass only function name to the script.
5481 * benchtests/README: Update documentation.
5482 * benchtests/acos-inputs: Add new directives.
5483 * benchtests/acosh-inputs: Likewise.
5484 * benchtests/asin-inputs: Likewise.
5485 * benchtests/asinh-inputs: Likewise.
5486 * benchtests/atan-inputs: Likewise.
5487 * benchtests/atanh-inputs: Likewise.
5488 * benchtests/cos-inputs: Likewise.
5489 * benchtests/cosh-inputs: Likewise.
5490 * benchtests/exp-inputs: Likewise.
5491 * benchtests/log-inputs: Likewise.
5492 * benchtests/pow-inputs: Likewise.
5493 * benchtests/rint-inputs: Likewise.
5494 * benchtests/sin-inputs: Likewise.
5495 * benchtests/sinh-inputs: Likewise.
5496 * benchtests/tan-inputs: Likewise.
5497 * benchtests/tanh-inputs: Likewise.
5498 * scripts/bench.pl: Add support for new directives.
5499
9ec1b13d
AM
55002013-10-07 Alan Modra <amodra@gmail.com>
5501
5502 * README: Fix careless merge.
5503
8b7d57cd
AM
55042013-10-05 Alan Modra <amodra@gmail.com>
5505
5506 * NEWS: Mention powerpc64le support and bugs fixed.
5507 * README: Both big-endian and little-endian powerpc64 supported.
5508
7b7bab13
ST
55092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5510
5511 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5512 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5513 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5514 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5515
d39baad1
RA
55162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5517
5518 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5519 match prototype.
5520
cd78f7e7
JM
55212013-10-04 Joseph Myers <joseph@codesourcery.com>
5522
29d73d86
JM
5523 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5524 Move -mhard-float appending from
5525 ports/sysdeps/powerpc/powerpc32/Makefile.
5526 [$(with-fp) = yes] (ASFLAGS): Likewise.
5527 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5528 * sysdeps/powerpc/nofpu: Move directory from
5529 ports/sysdeps/powerpc/nofpu.
5530 * sysdeps/powerpc/soft-fp: Move directory from
5531 ports/sysdeps/powerpc/soft-fp.
5532 * sysdeps/powerpc/powerpc32/405: Move directory from
5533 ports/sysdeps/powerpc/powerpc32/405.
5534 * sysdeps/powerpc/powerpc32/440: Move directory from
5535 ports/sysdeps/powerpc/powerpc32/440.
5536 * sysdeps/powerpc/powerpc32/464: Move directory from
5537 ports/sysdeps/powerpc/powerpc32/464.
5538 * sysdeps/powerpc/powerpc32/476: Move directory from
5539 ports/sysdeps/powerpc/powerpc32/476.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5541 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5543 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5545 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5547 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5549 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5550 * README: Update for powerpc-*-linux-gnu software floating point
5551 support in libc.
5552
e246b347
JM
5553 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5554 case to powerpc/powerpc32*.
5555 * sysdeps/unix/sysv/linux/configure: Regenerated.
5556
89c2003e
JM
5557 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5558 (_FPU_MASK_OM): Define as 0x04.
5559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5561 0x00c10080.
5562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5563 0x0000003c.
5564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5565
cd78f7e7
JM
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5567 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5568 getcontext_e500.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5570 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5571 setcontext_e500.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5573 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5574 and setcontext_e500.
5575
c755294d
CL
55762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5577
5578 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5579
e16d221c
SP
55802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5581
5582 * manual/threads.texi (Default Thread Attributes): Fix typo.
5583
215c7d43
WN
55842013-10-04 Will Newton <will.newton@linaro.org>
5585
5586 * malloc/Makefile: Add tst-memalign.
5587 * malloc/tst-memalign.c: New file.
5588
27d0461b
WN
5589 * malloc/tst-posix_memalign.c: Add comments.
5590 (do_test): Add comments and call free on all potentially
5591 allocated pointers. Add space after cast.
5592
1bc92709
WN
5593 * malloc/tst-pvalloc.c: Add comments.
5594 (do_test): Add comments and call free on all potentially
5595 allocated pointers. Remove duplicate check for NULL pointer.
5596 Add space after cast.
5597
66a9be9d
WN
5598 * malloc/tst-valloc.c: Add comments.
5599 (do_test): Add comments and call free on all potentially
5600 allocated pointers. Remove duplicate check for NULL pointer.
5601 Add space after cast.
5602
4cb81307
AM
56032013-10-04 Alan Modra <amodra@gmail.com>
5604
5605 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5606 Use stdint types in rather than __attribute__((mode())).
5607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5608
f8e3e9f3
AM
56092013-10-04 Alan Modra <amodra@gmail.com>
5610
5611 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5612 Correct handling of unaligned relocs for little-endian.
5613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5614
8f9ebb08
AM
56152013-10-04 Alan Modra <amodra@gmail.com>
5616
5617 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5618 * configure: Regenerate.
5619 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5620 * shlib-versions: Likewise.
5621
0edf96c2
AM
56222013-10-04 Alan Modra <amodra@gmail.com>
5623
5624 * string/tester.c (test_memrchr): Increment reported test cycle.
5625
e0f7a380
AM
56262013-10-04 Alan Modra <amodra@gmail.com>
5627
5628 * string/test-memcpy.c (do_one_test): When reporting errors, print
5629 string address and don't overrun end of string.
5630
466b0393
AM
56312013-10-04 Alan Modra <amodra@gmail.com>
5632
5633 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5634 insrdi. Make better use of reg selection to speed exit slightly.
5635 Schedule entry path a little better. Remove useless "are we done"
5636 checks on entry to main loop. Handle wrapping around zero address.
5637 Correct main loop count. Handle single left-over word from main
5638 loop inline rather than by using loop_small. Remove extra word
5639 case in loop_small caused by wrong loop count. Add little-endian
5640 support.
5641 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5642 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5643 cache hint.
5644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5645 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5646 support. Avoid rlwimi.
5647 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5648
3be87c77
AM
56492013-10-04 Alan Modra <amodra@gmail.com>
5650
5651 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 5652 insrdi. Formatting.
3be87c77
AM
5653 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5654 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5655 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5656 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5657 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5658 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5659
759cfef3
AM
56602013-10-04 Alan Modra <amodra@gmail.com>
5661
5662 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5663 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5664 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5665 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5666 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5667 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5668 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5669 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5670 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5671 use of regs. Use power7 mtocrf. Tidy function tails.
5672
fe6e95d7
AM
56732013-10-04 Alan Modra <amodra@gmail.com>
5674
5675 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5676 Formatting. Consistently use rXXX register defines or rN defines.
5677 Use early exit labels that avoid restoring unused non-volatile regs.
5678 Make cr field use more consistent with rWORDn compares. Rename
5679 regs used as shift registers for unaligned loop, using rN defines
5680 for short lifetime/multiple use regs.
5681 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5682 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5683 addi 1,1,64 to pop stack frame. Simplify return value code.
5684 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5685
664318c3
AM
56862013-10-04 Alan Modra <amodra@gmail.com>
5687
5688 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5689 support. Correct typos, formatting. Optimize tail. Use insrdi
5690 rather than rlwimi.
5691 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5692 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5693 little-endian support. Correct typos.
5694 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5695 rather than rlwimi.
5696 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5697 in loop and entry code to keep "and." results.
5698 (strchr): Add little-endian support. Comment. Move cntlzd
5699 earlier in tail.
5700 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5701
43b84013
AM
57022013-10-04 Alan Modra <amodra@gmail.com>
5703
5704 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5705 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5706 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5707 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5708
8a7413f9
AM
57092013-10-04 Alan Modra <amodra@gmail.com>
5710
5711 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5712 (rTMP): Define as r11.
5713 (strcmp): Add little-endian support. Optimise tail.
5714 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5715 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5716 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5717 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5720 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5721
33ee81de
AM
57222013-10-04 Alan Modra <amodra@gmail.com>
5723
5724 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5725 little-endian support. Remove unnecessary "are we done" tests.
5726 Handle "s" wrapping around zero and extremely large "size".
5727 Correct main loop count. Handle single left-over word from main
5728 loop inline rather than by using small_loop. Correct comments.
5729 Delete "zero" tail, use "end_max" instead.
5730 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5731
db9b4570
AM
57322013-10-04 Alan Modra <amodra@gmail.com>
5733
5734 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5735 support. Don't branch over align.
5736 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5737 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5738 support. Rearrange tmp reg use to suit. Comment.
5739 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5740
f7c399cf
AM
57412013-10-04 Alan Modra <amodra@gmail.com>
5742
5743 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5744
0b2c2ace
AM
57452013-10-04 Alan Modra <amodra@gmail.com>
5746
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5748 conditional form of branch and link when obtaining pc.
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5750
02f04a6c
AM
57512013-10-04 Alan Modra <amodra@gmail.com>
5752
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5754 HIWORD/LOWORD.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5757
9b874b2f
AM
57582013-10-04 Alan Modra <amodra@gmail.com>
5759
5760 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5761 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5762 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5763 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5764 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5765 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5766 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5767 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5768 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5769 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5770
be1e5d31
AB
57712013-10-04 Anton Blanchard <anton@au1.ibm.com>
5772 Alistair Popple <alistair@ozlabs.au.ibm.com>
5773 Alan Modra <amodra@gmail.com>
5774
5775 [BZ #15723]
5776 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5777 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5778 _dl_hwcap access for little-endian.
5779 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5780 destroy vmx regs when saving unaligned.
5781 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5782 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5783 destroy vmx regs when saving unaligned.
5784
fef13a78
AM
57852013-10-04 Alan Modra <amodra@gmail.com>
5786
5787 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5788 Don't use a union to pack hi/low value.
5789
76a66d51
AB
57902013-10-04 Anton Blanchard <anton@au1.ibm.com>
5791
5792 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5793 for little-endian.
5794 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5795 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5796 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5797 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5798 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5799
6a31fe7f
AM
58002013-10-04 Alan Modra <amodra@gmail.com>
5801
5802 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5803 constants to usual value for .cst8 section, and remove redundant
5804 high address load.
5805 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5806 constant for 0x1p52. Load little-endian words of double from
5807 correct stack offsets.
5808
7b88401f
AM
58092013-10-04 Alan Modra <amodra@gmail.com>
5810
5811 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5812 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5813 words of double from correct stack offsets.
5814 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5815 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5816 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5818 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5819 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5820 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5821 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5823 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5824 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5825 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5826 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5827 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5828 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5829 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5830 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5831
9c008155
AM
58322013-10-04 Alan Modra <amodra@gmail.com>
5833
5834 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5835 64-bit int/double union.
5836 (_FPU_SETCW): Likewise.
5837 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5838 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5839
da13146d
AM
58402013-10-04 Alan Modra <amodra@gmail.com>
5841
5842 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5843 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5844
603e8410
AM
58452013-10-04 Alan Modra <amodra@gmail.com>
5846
5847 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5848 use vector int constants.
5849 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5850
4a28b3ca
AB
58512013-10-04 Anton Blanchard <anton@au1.ibm.com>
5852
5853 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5854 array with long long.
5855 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5856 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5857 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5858 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5859 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5860 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5861 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5862 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5863 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5864 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5865 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5866 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5867 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5868
2ca85d2b
AB
58692013-10-04 Anton Blanchard <anton@au1.ibm.com>
5870
5871 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5872 (__signbit): Likewise. Correct for little-endian.
5873 (__signbitl): Call __signbit.
5874 (lrint): Correct for little-endian.
5875 (lrintf): Call lrint.
5876
62a728ae
AM
58772013-10-04 Alan Modra <amodra@gmail.com>
5878
5879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5880 union 32-bit int array member with 64-bit int array.
5881 (t515, tm256): Double rather than long double.
5882 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5883
32c301df
AM
58842013-10-04 Alan Modra <amodra@gmail.com>
5885
5886 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5887 Delete.
5888 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5889 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5890 version of math_ldbl.h.
5891
650ef4bd
AM
58922013-10-04 Alan Modra <amodra@gmail.com>
5893
5894 [BZ #15734], [BZ #15735]
5895 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5896 all uses of ieee875 long double macros and unions. Simplify test
5897 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5898 ldbl_extract_mantissa value for ix,iy exponents. Properly
5899 normalize after ldbl_extract_mantissa, and don't add hidden bit
5900 already handled. Don't treat low word of ieee854 mantissa like
5901 low word of IBM long double and mask off bit when testing for
5902 zero.
5903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5904 all uses of ieee875 long double macros and unions. Simplify tests
5905 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5906 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5907 two1022, instead use their values. Recognise that tests for large
5908 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5910 Rewrite all uses of ieee875 long double macros and unions. Simplify
5911 test for 0.0L and nan. Correct negation.
5912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5913 ieee875 long double macros and unions. Correct output for large
5914 magnitude x. Correct absolute value calculation.
5915 (__erfcl): Likewise.
5916 * math/libm-test.inc: Add tests for errors discovered in IBM long
5917 double versions of fmodl, remainderl, erfl and erfcl.
5918
765714ca
AM
59192013-10-04 Alan Modra <amodra@gmail.com>
5920
5921 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5922 all uses of ieee854 long double macros and unions. Simplify tests
5923 for long doubles that are fully specified by the high double.
5924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5925 Likewise.
5926 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5927 Remove dead code too.
5928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5929 (__ieee754_ynl): Likewise.
5930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5933 Remove dead code too.
5934 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5935 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5936 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5937 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5938 Simplify.
5939 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5940 Simplify.
5941 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5942 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5944 Comment on variable precision.
5945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5947 Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5952 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5953
4ebd120c
AM
59542013-10-04 Alan Modra <amodra@gmail.com>
5955
5956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5957 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5958 all uses of ieee854 long double macros and unions.
5959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5965 Likewise.
5966 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5968 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5970 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5972 Simplify sign and nan test too.
5973 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5974 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5975 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5976 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5977 Likewise.
5978 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5979 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5980 Likewise.
5981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5982 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5983 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5985 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5987
1b6adf88
AM
59882013-10-04 Alan Modra <amodra@gmail.com>
5989
5990 * stdio-common/printf_size.c (__printf_size): Don't use
5991 union ieee854_long_double in fpnum union.
5992 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5993 signbit macro to retrieve sign from long double.
5994 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5995 retrieve sign from long double.
5996 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5997 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5998 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5999 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6000 * math/test-misc.c (main): Don't use union ieee854_long_double.
6001
4cf69995
AM
60022013-10-04 Alan Modra <amodra@gmail.com>
6003
6004 [BZ #15680]
6005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6007 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6008 calculation. Remove unnecessary test for denormal exponent.
6009 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6010 Correct handling of denormals. Avoid undefined shift behaviour.
6011 Correct normalisation of low mantissa when low double is denormal.
6012 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6013 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6014 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6015 Correct normalisation of low mantissa. Test for overflow of high
6016 mantissa and normalise.
6017 (ldbl_nearbyint): Use more readable constant for two52.
6018 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6019 (__mpn_construct_long_double): Fix test for overflow of high
6020 mantissa and correct normalisation. Avoid undefined shift.
6021
9605ca6c
AM
60222013-10-04 Alan Modra <amodra@gmail.com>
6023
6024 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6025 (union ibm_extended_long_double): Define as an array of ieee754_double.
6026 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6028 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6029 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6037
975569d0
JM
60382013-10-03 Joseph Myers <joseph@codesourcery.com>
6039
d3d23756
JM
6040 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6041 page size instead of calling getpagesize.
6042
975569d0
JM
6043 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6044 (LOCFILE_ALIGN_MASK): Likewise.
6045 (LOCFILE_ALIGN_UP): Likewise.
6046 (LOCFILE_ALIGNED_P): Likewise.
6047 * locale/programs/ld-collate.c (collate_output): Use the new
6048 macros instead of __alignof__ (int32_t).
6049 * locale/weight.h (findidx): Likewise.
6050
b1fe1f2b
OB
60512013-10-03 Ondřej Bílka <neleai@seznam.cz>
6052
6053 [BZ #431]
6054 * manual/string.texi: Fix strncat and wcsncat.
6055
5f855e35
BM
60562013-10-03 Brooks Moses <bmoses@google.com>
6057
6058 [BZ #15915]
6059 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6060 * Makerules: ...here, and adjust associated comments.
6061
3cef6009
WN
60622013-10-02 Will Newton <will.newton@linaro.org>
6063
6064 * malloc/Makefile: Add tst-pvalloc.
6065 * malloc/tst-pvalloc.c: New file.
6066
7815420b
WN
60672013-10-02 Will Newton <will.newton@linaro.org>
6068
6069 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6070 improve test coverage.
6071
4868b204
WN
60722013-10-02 Will Newton <will.newton@linaro.org>
6073
6074 * malloc/Makefile: Add tst-posix_memalign.
6075 * malloc/tst-posix_memalign.c: New file.
6076
29c793b3
EB
60772013-10-01 Eric Blake <eblake@redhat.com>
6078
6079 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6080 Use __THROWNL rather than __THROW on static functions.
6081
fd967522
PM
60822013-09-30 Petr Machata <pmachata@redhat.com>
6083
6084 * elf/elf.h (R_AARCH64_ABS16): New macro.
6085 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6086 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6087 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6088 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6089 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6090 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6091 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6092 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6093 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6094 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6095 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6096 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6097 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6098 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6099 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6100 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6101 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6102 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6103 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6104 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6105 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6106 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6107 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6108 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6109 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6110 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6111 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6112 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6113 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6114 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6115 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6116 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6117 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6118 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6119 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6120 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6121 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6122 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6123 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6124 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6125 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6126 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6127 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6128 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6129 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6130 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6131 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6132 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6133 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6134 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6135 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6136 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6137 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6138 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6139 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6140 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6141 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6142 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6143 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6144 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6145 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6146 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6147 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6148 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6149 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6150 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6151 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6152 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6153 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6154 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6155 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6156 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6157 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6158 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6159 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6160 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6161 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6162 (R_AARCH64_TLSDESC_LDR): Likewise.
6163 (R_AARCH64_TLSDESC_ADD): Likewise.
6164 (R_AARCH64_TLSDESC_CALL): Likewise.
6165
b2179107
AS
61662013-09-30 Andreas Schwab <schwab@suse.de>
6167
6168 [BZ #15048]
6169 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6170 the nss database lookup.
6171 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6173
47f28d0a
MF
61742013-09-28 Mike Frysinger <vapier@gentoo.org>
6175
6176 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6177
61782013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6179
6180 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6181 ${Bash-specific parameter/pattern/string} parameter expansion.
6182 * sysdeps/unix/make-syscalls.sh: Likewise.
6183
f4518a17
KK
61842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6185
6186 * sysdeps/sh/stackguard-macros.h: New file.
6187
dc1a95c7
OB
61882013-09-26 Ondřej Bílka <neleai@seznam.cz>
6189
6190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6192 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6193 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6194 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6195 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6196
5ebbff8f
AZ
61972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198
6199 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6200 Fix thread ID register.
6201
4fd2cf9f
JM
62022013-09-25 Joseph Myers <joseph@codesourcery.com>
6203
6204 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6205 [POSIX || UNIX98]: Require rather than permitting all symbols from
6206 <time.h>.
6207 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6208 element of struct sched_param.
6209 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6210 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6211 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6212 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6213 constant.
6214
12c22bc4
OL
62152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6216
6217 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6218 argument calculation.
6219
a03d8ea7
JM
62202013-09-24 Joseph Myers <joseph@codesourcery.com>
6221
6222 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6223 Expect macro.
6224 [POSIX] (pthread_attr_t): Do not require type.
6225 [POSIX] (pthread_cond_t): Likewise.
6226 [POSIX] (pthread_condattr_t): Likewise.
6227 [POSIX] (pthread_key_t): Likewise.
6228 [POSIX] (pthread_mutex_t): Likewise.
6229 [POSIX] (pthread_mutexattr_t): Likewise.
6230 [POSIX] (pthread_once_t): Likewise.
6231 [POSIX] (pthread_t): Likewise.
6232 [POSIX-based standards] (pthread_atfork): Expect function.
6233
6055173a
JM
62342013-09-24 Joseph Myers <joseph@codesourcery.com>
6235 Richard Sandiford <richard@codesourcery.com>
6236
6237 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6238 (swap_endianness_p): New extern variable.
6239 (set_big_endian): New inline function.
6240 (maybe_swap_uint32): Likewise.
6241 (maybe_swap_uint32_array): Likewise.
6242 (maybe_swap_uint32_obstack): Likewise.
6243 * locale/programs/locfile.c: Include <stdbool.h>.
6244 (swap_endianness_p): New variable.
6245 (add_locale_uint32): Call maybe_swap_uint32.
6246 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6247 (write_locale_data): Call maybe_swap_uint32_array.
6248 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6249 maybe_swap_uint32.
6250 (obstack_int32_grow_fast): Likewise.
6251 (output_weightwc): Call maybe_swap_uint32_obstack.
6252 (collate_output): Likewise.
6253 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6254 (OPT_LITTLE_ENDIAN): Likewise.
6255 (options): Add --little-endian and --big-endian options.
6256 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6257 * locale/programs/locarchive.c: Include "locfile.h".
6258 (GET): New macro.
6259 (SET): Likewise.
6260 (INC): Likewise.
6261 (create_archive): Use the new macros to access fields of
6262 structures directly mapped from or written to locale archives.
6263 (oldlocrecentcmp): Likewise.
6264 (enlarge_archive): Likewise.
6265 (insert_name): Likewise.
6266 (add_alias): Likewise.
6267 (add_locale): Likewise.
6268 (delete_locales_from_archive): Likewise.
6269 (show_archive_content): Likewise.
6270 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6271 locale data.
6272
39bf0bb4
RM
62732013-09-24 Roland McGrath <roland@hack.frob.com>
6274
6275 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6276 http://www.gnu.org/doc/freemanuals.texi.
6277 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6278
f02eed10
WN
62792013-09-24 Will Newton <will.newton@linaro.org>
6280
6281 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6282 macro.
6283
a3a6c312
JM
62842013-09-23 Joseph Myers <joseph@codesourcery.com>
6285
6286 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6287 unsigned char.
6288
107375ac
MR
62892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6290
6291 * manual/threads.texi (POSIX Threads): Fix a typo.
6292
141f3a77
SP
62932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6294
303e567a
SP
6295 [BZ #14547]
6296 * string/tst-strcoll-overflow.c: New test case.
6297 * string/Makefile (xtests): Add tst-strcoll-overflow.
6298 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6299 cache if string sizes may cause integer overflow.
6300
141f3a77
SP
6301 [BZ #14547]
6302 * string/strcoll_l.c (coll_seq): New members rule, idx,
6303 save_idx and back_us.
6304 (get_next_seq_nocache): New function.
6305 (do_compare_nocache): New function.
6306 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6307 when malloc fails.
6308
c61b4d41
CD
63092013-09-23 Carlos O'Donell <carlos@redhat.com>
6310
0b1f8e35
CD
6311 [BZ #15754]
6312 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6313 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6314 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6315
c61b4d41
CD
6316 [BZ #15754]
6317 * elf/Makefile (tests): Add tst-ptrguard1.
6318 (tests-static): Add tst-ptrguard1-static.
6319 (tst-ptrguard1-ARGS): Define.
6320 (tst-ptrguard1-static-ARGS): Define.
6321 * elf/tst-ptrguard1.c: New file.
6322 * elf/tst-ptrguard1-static.c: New file.
6323 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6324 * sysdeps/i386/stackguard-macros.h: Likewise.
6325 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6326 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6327 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6328 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6329 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6330 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6331
63322013-09-23 Hector Marco <hecmargi@upv.es>
6333 Ismael Ripoll <iripoll@disca.upv.es>
6334 Carlos O'Donell <carlos@redhat.com>
6335
6336 [BZ #15754]
6337 * sysdeps/generic/stackguard-macros.h: Define
6338 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6339 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6340 Define __pointer_chk_guard_local.
6341 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6342 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6343
f5f4e7b4
VV
63442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6345
6346 [BZ #15859]
6347 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6348
5bb43a43
AS
63492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6350
6351 * include/string.h (__ffs): Declare as hidden.
6352 * string/ffs.c (__ffs): Define as hidden.
6353 * sysdeps/i386/ffs.c (__ffs): Likewise.
6354 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6355 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6356 * sysdeps/s390/ffs.c (__ffs): Likewise.
6357 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6358
3ea5be54
AO
63592013-09-20 Alexandre Oliva <aoliva@redhat.com>
6360
ffb89e53
AO
6361 * NEWS: Mention malloc probes.
6362
322dea08
AO
6363 * malloc/arena.c (new_heap): New memory_heap_new probe.
6364 (grow_heap): New memory_heap_more probe.
6365 (shrink_heap): New memory_heap_less probe.
6366 (heap_trim): New memory_heap_free probe.
6367 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6368 (systrim): New memory_sbrk_less probe.
6369 * manual/probes.texi: Document them.
6370
655673f3
AO
6371 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6372 * manual/probes.texi: Document it.
6373
35fed6f1
AO
6374 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6375 (__libc_realloc): Add memory_realloc_retry probe.
6376 (__libc_memalign): Add memory_memalign_retry probe.
6377 (__libc_valloc): Add memory_valloc_retry probe.
6378 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6379 (__libc_calloc): Add memory_calloc_retry probe.
6380 * manual/probes.texi: Document them.
6381
6999d38c
AO
6382 * malloc/arena.c (get_free_list): Add probe
6383 memory_arena_reuse_free_list.
6384 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6385 and memory_arena_reuse.
6386 (arena_get2) [!PER_THREAD]: Likewise.
6387 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6388 memory_arena_reuse_realloc.
6389 * manual/probes.texi: Document them.
6390
0653427f
AO
6391 * malloc/malloc.c (__libc_free): Add
6392 memory_mallopt_free_dyn_thresholds probe.
6393 (__libc_mallopt): Add multiple memory_mallopt probes.
6394 * manual/probes.texi: Document them.
6395
3ea5be54
AO
6396 * malloc/malloc.c: Include stap-probe.h.
6397 (__libc_mallopt): Add memory_mallopt probe.
6398 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6399 * manual/probes.texi: New.
6400 * manual/Makefile (chapters): Add probes.
6401 * manual/threads.texi: Set next node.
6402
e35696c3 64032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 6404
e35696c3
CL
6405 [BZ #15963, #13985]
6406 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6407 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6408 Add `Chinese' to `nan' entry name.
6409
4aafb73c
SP
64102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6411
6412 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6413 (POLYNOMIAL): Likewise.
6414 (TAYLOR_SINCOS): Likewise.
6415 (TAYLOR_SLOW): Likewise.
6416 (__sin): Use TAYLOR_SINCOS.
6417 (__cos): Likewise.
6418 (slow): Use TAYLOR_SLOW.
6419 (sloww): Likewise.
6420 (bsloww): Likewise.
6421 (csloww): Likewise.
6422
d84f25c7
LD
64232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6424
6425 * stdlib/strtod_l.c: Fix buffer overrun.
6426
5eea0404
SP
64272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6428
7849ff93
SP
6429 * benchtests/Makefile (bench): Add sincos.
6430 * benchtests/bench-sincos.c: New file.
6431
cfa3c886
SP
6432 * math/libm-test.inc (cos_test_data): New test inputs.
6433 (sin_test_data): Likewise.
6434
b348e1e3
SP
6435 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6436 macro.
6437 (__sin): Use it.
6438 (__cos): Likewise.
6439 (slow1): Likewise.
6440 (slow2): Likewise.
6441 (sloww1): Likewise.
6442 (sloww2): Likewise.
6443 (bsloww1): Likewise.
6444 (bsloww2): Likewise.
6445 (cslow2): Likewise.
6446 (csloww1): Likewise.
6447 (csloww2): Likewise.
6448
6cce25f8
SP
6449 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6450 function.
6451 (__sin): Use it.
6452 (__cos): Likewise.
6453
5eea0404
SP
6454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6455 gotos.
6456 (__cos): Likewise.
6457
9c21573c
MR
64582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6459
6460 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6461 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6462 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6463 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6464 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6465 * elf/cache.c (print_entry): Handle the new cache flags.
6466
24d22e65
JM
64672013-09-18 Joseph Myers <joseph@codesourcery.com>
6468 Aldy Hernandez <aldyh@redhat.com>
6469
6470 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6471 Change condition to [_SOFT_FLOAT].
6472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6484 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6487 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6488 declaration.
6489
d13ef066
JM
64902013-09-18 Joseph Myers <joseph@codesourcery.com>
6491
2e071de0
JM
6492 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6493 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6494 (__longjmp): Use LOAD_GP to load saved GPRs.
6495 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6496 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6497 (__sigsetjmp): Use SAVE_GP to save GPRs.
6498
d13ef066
JM
6499 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6500 Do not append -msoft-float.
6501 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6502
97a0650b
SP
65032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6504
6505 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6506
11ca09e9
JM
65072013-09-17 Joseph Myers <joseph@codesourcery.com>
6508
6509 [BZ #15966]
6510 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6511 (_FPU_GETCW): Use initial "__" on variable and field names but not
6512 on macro parameter name.
6513 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6514 parentheses around reference to macro parameter.
6515
08ffcf34
RS
65162013-09-13 Richard Sandiford <richard@codesourcery.com>
6517
6518 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6519 prototype.
6520 (ctype_startup): Use uint32_t in cast and sizeof for
6521 ctype->charnames.
6522
ae7080d3
JL
65232013-09-11 Jia Liu <proljc@gmail.com>
6524
6525 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6526 __daddr_t_defined.
6527 [__FreeBSD__]: Likewise.
6528
5905e7b3
OB
65292013-09-11 Ondřej Bílka <neleai@seznam.cz>
6530
6531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6532 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6533 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6534 (strchr): Remove __strchr_sse42 ifunc selection.
6535 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6536 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6537
b987c776
WN
65382013-09-11 Will Newton <will.newton@linaro.org>
6539
6540 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6541 parameter to RES. Remove hardcoded 1000 value.
6542 * benchtests/bench-skeleton.c (main): Pass RES parameter
6543 to TIMING_INIT and multiply result by 1000.
6544
ddf985af
AZ
65452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546
6547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6548
ffdd3181
AS
65492013-09-11 Andreas Schwab <schwab@suse.de>
6550
6551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6552 if not defined.
6553 (O_TMPFILE) [__USE_GNU]: Define.
6554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6555 Define.
6556
b73ed247
WN
65572013-09-11 Will Newton <will.newton@linaro.org>
6558
6559 [BZ #15857]
6560 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6561 does not overflow.
6562
55e17aad
WN
65632013-09-11 Will Newton <will.newton@linaro.org>
6564
6565 [BZ #15856]
6566 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6567 does not overflow.
6568
1159a193
WN
65692013-09-11 Will Newton <will.newton@linaro.org>
6570
6571 [BZ #15855]
6572 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6573 does not overflow.
6574
5905e7b3 65752013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
6576
6577 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6582
cdfc721b
AM
65832013-09-10 Allan McRae <allan@archlinux.org>
6584
aa04af00
AM
6585 [BZ #15748]
6586 * manual/arith.texi (Parsing of Floats): Clarify
6587 cross-reference.
6588
cdfc721b
AM
6589 [BZ #15849]
6590 * manual/install.texi (Running make install): Mention
6591 --enable-pt-chown.
6592 * INSTALL: Regenerated.
6593
95e7cf29
MR
65942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6595
6596 * csu/init-first.c (_init): Remove the !SHARED condition around
6597 FPU control word initialization.
6598 * elf/dl-support.c (_dl_fpu_control): New variable.
6599 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6600 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6601 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6602 * math/test-fpucw-static.c: New file.
6603 * math/test-fpucw-ieee.c: New file.
6604 * math/test-fpucw-ieee-static.c: New file.
6605 * math/Makefile (tests): Add `test-fpucw-ieee' and
6606 `$(tests-static)'.
6607 (tests-static): New variable.
6608 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6609 dependency to...
6610 [($(build-shared),yes)]
6611 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6612 ... this.
6613 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6614 New dependency.
6615
83e43bf0
AM
66162013-09-09 Allan McRae <allan@archlinux.org>
6617
a9f5ce09
AM
6618 [BZ #15939]
6619 * manual/string.texi (Collation Functions): Fix typo in
6620 strcoll example.
6621 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6622
34829bc2
AM
6623 [BZ #15893]
6624 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6625
3932737d
AM
6626 [BZ #15892]
6627 * libio/memstream.c (open_memstream): Fix memory leak.
6628 * libio/wmemstream.c (open_wmemstream): Likewise.
6629
83e43bf0
AM
6630 [BZ #15895]
6631 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6632
0c66b8e9
WN
66332013-09-09 Will Newton <will.newton@linaro.org>
6634
6635 * malloc/Makefile: Add tst-realloc to tests.
6636 * malloc/tst-realloc.c: New file.
6637
f6b00fd1
AM
66382013-09-09 Allan McRae <allan@archlinux.org>
6639
6640 [BZ #15844]
6641 * COPYING: Update from GNU website to fix FSF address.
6642 * COPYING.LIB: Likewise.
6643
eec55e16
DM
66442013-09-06 David S. Miller <davem@davemloft.net>
6645
6646 * po/zh_TW.po: Update Chinese (traditional) translation from
6647 translation project.
6648
1ecbb381
RS
66492013-09-06 Richard Sandiford <richard@codesourcery.com>
6650 Joseph Myers <joseph@codesourcery.com>
6651
6652 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6653 "localeinfo.h".
6654 (obstack_chunk_alloc): New macro.
6655 (obstack_chunk_free): Likewise.
6656 (record_offset): New function.
6657 (init_locale_data): Likewise.
6658 (align_locale_data): Likewise.
6659 (add_locale_empty): Likewise.
6660 (add_locale_raw_data): Likewise.
6661 (add_locale_raw_obstack): Likewise.
6662 (add_locale_string): Likewise.
6663 (add_locale_wstring): Likewise.
6664 (add_locale_uint32): Likewise.
6665 (add_locale_uint32_array): Likewise.
6666 (add_locale_char): Likewise.
6667 (start_locale_structure): Likewise.
6668 (end_locale_structure): Likewise.
6669 (start_locale_prelude): Likewise.
6670 (end_locale_prelude): Likewise.
6671 (write_locale_data): Take locale_file structure rather than an
6672 iovec.
6673 * locale/programs/locfile.h: Include "obstack.h".
6674 (struct locale_file): Change to store locale file contents instead
6675 of header.
6676 (init_locale_data): New prototype.
6677 (align_locale_data): Likewise.
6678 (add_locale_empty): Likewise.
6679 (add_locale_raw_data): Likewise.
6680 (add_locale_raw_obstack): Likewise.
6681 (add_locale_string): Likewise.
6682 (add_locale_wstring): Likewise.
6683 (add_locale_uint32): Likewise.
6684 (add_locale_uint32_array): Likewise.
6685 (add_locale_char): Likewise.
6686 (start_locale_structure): Likewise.
6687 (end_locale_structure): Likewise.
6688 (start_locale_prelude): Likewise.
6689 (end_locale_prelude): Likewise.
6690 (write_locale_data): Update prototype.
6691 * locale/programs/3level.h (struct TABLE): Remove result field.
6692 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6693 Use new locale_file interface.
6694 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6695 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6696 * locale/programs/ld-address.c (address_output): Use new
6697 locale_file interface.
6698 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6699 NO_ADD_LOCALE.
6700 (collate_finish): Don't call collseq_table_finalize.
6701 (collate_output): Use new locale_file interface.
6702 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6703 in file.
6704 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6705 (TABLE): Move defines earlier in file.
6706 (ELEMENT): Likewise.
6707 (DEFAULT): Likewise.
6708 (wctrans_table_add): Move macro and inline function earlier in
6709 file.
6710 (struct wctype_table): Move type earlier in file.
6711 (add_locale_wctype_table): New static prototype.
6712 (struct locale_ctype_t): Use logical types instead of struct iovec
6713 pointers for members.
6714 (ctype_output): Use new locale_file interface.
6715 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6716 new locale_file interface.
6717 (allocate_arrays): Update for use of new locale_file interface.
6718 * locale/programs/ld-identification.c (identification_output): Use
6719 new locale_file interface.
6720 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6721 * locale/programs/ld-messages.c (messages_output): Likewise.
6722 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6723 * locale/programs/ld-name.c (name_output): Likewise.
6724 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6725 * locale/programs/ld-paper.c (paper_output): Likewise.
6726 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6727 * locale/programs/ld-time.c (time_output): Likewise.
6728
e029e2e5
AZ
67292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6730
6731 * benchtests/Makefile: Add memrchr benchmark.
6732 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6733 benchmark as memrchr.
6734 * benchtests/bench-memrchr-ifunc.c: New file.
6735 * benchtests/bench-memrchr.c: New file.
6736
bbf6e8e4
WN
67372013-09-06 Will Newton <will.newton@linaro.org>
6738
6739 * benchtests/Makefile (string-bench): Add memcpy.
6740
6c82a2f8
CD
67412013-09-05 Carlos O'Donell <carlos@redhat.com>
6742 Cong Wang <amwang@redhat.com>
6743
e732c5f0 6744 [BZ #15850]
6c82a2f8
CD
6745 * sysdeps/unix/sysv/linux/bits/in.h
6746 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6747 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6748 before __USE_KERNEL_IPV6_DEFS uses.
6749 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6750 IPPROTO_BEETPH.
6751 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6752 sockaddr_in6, or ipv6_mreq.
6753
5430fc65
AZ
67542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6757 memory access for final bytes in some large inputs.
6758 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6759
4660856c
AZ
67602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6761
6762 * string/test-memrchr.c: New file.
6763 * string/test-memrchr-ifunc.c: New file.
6764 * string/Makefile: Add new memrchr testcase.
6765
bb8ea713
MF
67662013-09-05 Mike Frysinger <vapier@gentoo.org>
6767
6768 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6769 fanotify_init returns EPERM.
6770
b92a20b5
JM
67712013-09-04 Joseph Myers <joseph@codesourcery.com>
6772
6773 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6774 errors.
6775 (top level): Treat second token from macro or constant entries for
6776 allowed headers as allowed.
6777 * include/complex.h: Condition internal declarations on
6778 [!_ISOMAC].
6779 * include/fenv.h: Condition include of <stdbool.h> and internal
6780 declarations on [!_ISOMAC].
7447ccd9
CL
6781
67822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6783
3e181dda 6784 [BZ #15923]
7447ccd9
CL
6785 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6786
3f2e46a4
JM
67872013-09-04 Joseph Myers <joseph@codesourcery.com>
6788
6789 * configure.in (--enable-versioning): Remove configure option.
6790 (libc_cv_asm_symver_directive): Remove configure test.
6791 (libc_cv_ld_version_script_option): Likewise.
6792 (VERSIONING): Remove variable and AC_SUBST.
6793 (DO_VERSIONING): Remove AC_DEFINE.
6794 * configure: Regenerated.
6795 * config.h.in (DO_VERSIONING): Remove macro.
6796 * Makerules [$(versioning) = yes]: Change conditionals to
6797 [$(build-shared) = yes].
6798 * config.make.in (versioning): Remove variable.
6799 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6800 [$(build-shared) = yes].
6801 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6802 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6803 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6804 [$(build-shared) = yes].
6805 * extra-lib.mk [$(versioning) = yes]: Likewise.
6806 * hurd/Makefile [$(versioning) = yes]: Likewise.
6807 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6808 [SHARED].
6809 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6810 [SHARED].
6811 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6812 [SHARED && !NO_HIDDEN].
6813 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6814 [SHARED].
6815 [SHARED && DO_VERSIONING]: Likewise..
6816 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6817 [$(build-shared) = yes].
6818 * manual/install.texi (--disable-versioning): Remove
6819 documentation.
6820 * INSTALL: Regenerated.
6821 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6822 to [SHARED].
6823 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6824 [$(build-shared) = yes].
6825 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6826 * sysdeps/i386/i686/multiarch/strstr-c.c
6827 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6828 [SHARED && !NO_HIDDEN].
6829 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6830 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6831 * sysdeps/powerpc/powerpc32/dl-machine.c
6832 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6833 * sysdeps/powerpc/powerpc32/sysdep.h
6834 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6835 to [SHARED && PIC && !NO_HIDDEN].
6836 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6837 conditional to [SHARED].
6838
44558701
WN
68392013-09-04 Will Newton <will.newton@linaro.org>
6840
6841 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6842 * benchtests/bench-string.h: Include bench-timing.h instead
6843 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6844 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6845 call to HP_TIMING_DIFF_INIT.
6846 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6847 instead of hp-timing.h macros.
6848 * benchtests/bench-memchr.c: Likewise.
6849 * benchtests/bench-memcmp.c: Likewise.
6850 * benchtests/bench-memcpy.c: Likewise.
6851 * benchtests/bench-memmem.c: Likewise.
6852 * benchtests/bench-memmove.c: Likewise.
6853 * benchtests/bench-memset.c: Likewise.
6854 * benchtests/bench-rawmemchr.c: Likewise.
6855 * benchtests/bench-strcasecmp.c: Likewise.
6856 * benchtests/bench-strcasestr.c: Likewise.
6857 * benchtests/bench-strcat.c: Likewise.
6858 * benchtests/bench-strchr.c: Likewise.
6859 * benchtests/bench-strcmp.c: Likewise.
6860 * benchtests/bench-strcpy.c: Likewise.
6861 * benchtests/bench-strcpy_chk.c: Likewise.
6862 * benchtests/bench-strlen.c: Likewise.
6863 * benchtests/bench-strncasecmp.c: Likewise.
6864 * benchtests/bench-strncat.c: Likewise.
6865 * benchtests/bench-strncmp.c: Likewise.
6866 * benchtests/bench-strncpy.c: Likewise.
6867 * benchtests/bench-strnlen.c: Likewise.
6868 * benchtests/bench-strpbrk.c: Likewise.
6869 * benchtests/bench-strrchr.c: Likewise.
6870 * benchtests/bench-strspn.c: Likewise.
6871 * benchtests/bench-strstr.c: Likewise.
6872
cae16d66
WN
68732013-09-04 Will Newton <will.newton@linaro.org>
6874
6875 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6876
ffa3cd7f
JM
68772013-09-03 Joseph Myers <joseph@codesourcery.com>
6878
6879 [BZ #15427]
6880 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6881 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6882 * math/libm-test.inc (lgamma_test_data): Add more tests.
6883 * sysdeps/i386/fpu/libm-test-ulps: Update.
6884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6885
8f02859f
OB
68862013-09-03 Ondřej Bílka <neleai@seznam.cz>
6887
6888 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6890 Add ifunc.
6891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6892 Add strcmp-sse2-unaligned
6893 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6894
18d43716
MF
68952013-09-02 Mike Frysinger <vapier@gentoo.org>
6896
6897 * Versions.def (libc): Add GLIBC_2.19.
6898
ac444012
MF
68992013-09-02 Mike Frysinger <vapier@gentoo.org>
6900
6901 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6902 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6903
b7835e32
JM
69042013-09-02 Joseph Myers <joseph@codesourcery.com>
6905
6906 [BZ #14155]
6907 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6908 intermediate calculations in recurrence.
6909 (__ieee754_ynf): Likewise.
6910 * math/libm-test.inc (jn_test_data): Do not allow spurious
6911 underflow exception. Add more tests.
6912 (yn_test_data): Add more tests.
6913 * sysdeps/i386/fpu/libm-test-ulps: Update.
6914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6915
8220f4f0
OB
69162013-09-02 Ondřej Bílka <neleai@seznam.cz>
6917
6918 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6919
f24a6d08
OB
69202013-08-30 Ondřej Bílka <neleai@seznam.cz>
6921
6922 * csu/init-first.c: Fix then/than typos.
6923 * locale/programs/ld-collate.c: Likewise.
6924 * locale/programs/linereader.h: Likewise.
6925 * manual/charset.texi: Likewise.
6926 * manual/filesys.texi: Likewise.
6927 * manual/stdio.texi: Likewise.
6928 * manual/string.texi: Likewise.
6929 * stdlib/fmtmsg.c: Likewise.
6930 * sysdeps/i386/stpncpy.S: Likewise.
6931 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6932 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6933 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6934 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6935
382466e0
OB
69362013-08-30 Ondřej Bílka <neleai@seznam.cz>
6937
6938 * elf/dl-open.c: Fix typos.
6939 * iconvdata/gbbig5.c: Likewise.
6940 * iconvdata/iso-2022-jp.c: Likewise.
6941 * iconv/gconv_int.h: Likewise.
6942 * iconv/loop.c: Likewise.
6943 * nis/rpcsvc/nis.h: Likewise.
6944 * resolv/ns_name.c: Likewise.
6945 * stdio-common/vfscanf.c: Likewise.
6946 * streams/stropts.h: Likewise.
6947 * sunrpc/rpc_thread.c: Likewise.
6948 * sysdeps/i386/strpbrk.S: Likewise.
6949 * sysdeps/ieee754/k_standard.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6952 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6953 * sysdeps/mach/hurd/profil.c: Likewise.
6954 * sysdeps/s390/dl-procinfo.h: Likewise.
6955 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6957 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6958 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6960
0186c6e9
OB
69612013-08-30 Ondřej Bílka <neleai@seznam.cz>
6962
6963 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6965
d4e16af1
OB
69662013-08-29 Ondřej Bílka <neleai@seznam.cz>
6967
6968 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6969 aix specific files.
6970 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6971 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6972 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6973 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6974 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6975 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6976 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6977 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6978
88335980
TS
69792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6980 Roland McGrath <roland@hack.frob.com>
6981
6982 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6983 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6984
ed479b02
ST
69852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6986
6987 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6988 __executable_start symbol instead of _start.
6989
f1cc4c86
TS
69902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6991
d821f07c
TS
6992 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6993 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6994 Move macros to...
6995 * sysdeps/gnu/ldsodefs.h: ... this new file.
6996
c54290cf
TS
6997 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6998 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6999 instead of ELFOSABI_LINUX.
7000
0007fc9b 7001 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7002 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7003 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7004 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7005 Likewise.
7006 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7007 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7009 Likewise.
7010 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7011 (ibm_extended_long_double): Add ieee_nan member.
7012 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7013 (do_test): New function.
7014
f1cc4c86
TS
7015 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7016 TEST_TRUNC.
7017 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7018 functions, renamed from truncdfsf_test, trunctfsf_test,
7019 trunctfdf_test.
7020 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7021 functions.
7022 (do_test): Run all these.
7023
6f65e668
OB
70242013-08-29 Ondřej Bílka <neleai@seznam.cz>
7025
7026 * argp/argp-help.c: Fix typos.
7027 * argp/argp-parse.c: Likewise.
7028 * debug/backtracesyms.c: Likewise.
7029 * elf/elf.h: Likewise.
7030 * malloc/malloc.c: Likewise.
7031 * nis/nis_print.c: Likewise.
7032 * resolv/res_comp.c: Likewise.
7033 * stdlib/stdlib.h: Likewise.
7034 * sunrpc/clnt_tcp.c: Likewise.
7035 * sunrpc/clnt_udp.c: Likewise.
7036 * sunrpc/clnt_unix.c: Likewise.
7037 * sysdeps/unix/bsd/ptsname.c: Likewise.
7038 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7039 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7041 Likewise.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7043 Likewise.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7045 Likewise.
6f65e668
OB
7046 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7047
3a309239
SP
70482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7049
7050 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7052
3b813b29
MF
70532013-08-27 Mike Frysinger <vapier@gentoo.org>
7054
7055 [BZ #15897]
7056 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7057 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7058 ($(objpfx)bug-dl-leaf): New rule.
7059 ($(objpfx)bug-dl-leaf.so): Likewise.
7060 ($(objpfx)bug-dl-leaf.out): Likewise.
7061 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7062 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7063 * dlfcn/bug-dl-leaf.c: New test.
7064 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7065 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7066 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7067 (dlclose): Likewise.
7068 (dlmopen): Likewise.
7069
8cc3269f
RM
70702013-08-27 Roland McGrath <roland@hack.frob.com>
7071
7f9d0034
RM
7072 * include/netdb.h [!_ISOMAC]:
7073 Don't include <tls.h>.
7074 (h_errno, __libc_h_errno): Move declaration and macros out of
7075 [_LIBC_REENTRANT].
7076
fb431262
RM
7077 * include/resolv.h [_RESOLV_H_]:
7078 Don't include <tls.h>.
7079 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7080 * resolv/res_libc.c: Don't include <tls.h>.
7081 (_res): Use __attribute__ ((nocommon)) in place of
7082 __attribute__ ((section (".bss"))).
7083
bd81123a
RM
7084 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7085 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7086
c4e42566
RM
7087 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7088
f890a59b
RM
7089 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7090 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7091
7092 * resolv/res_mkquery.c: Include <sys/time.h>.
7093
5d1f0a09
RM
7094 * inet/ifreq.c: Moved to ...
7095 * sysdeps/unix/ifreq.c: ... here.
7096 * inet/ifreq.c: New file, true stub version.
7097
6fcf28b3
RM
7098 * socket/sa_len.c: New file.
7099 * socket/Makefile (aux): Add it.
7100 * sysdeps/unix/sysv/linux/Makefile
7101 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7102 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7103 and #include <socket/sa_len.c>.
7104 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7105 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7106
e041fb8b
RM
7107 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7108 * bits/socket.h: ... here.
7109
8cc3269f
RM
7110 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7111 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7112 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7113
5d228a43
AS
71142013-08-27 Andreas Schwab <schwab@suse.de>
7115
45b8accc
AS
7116 [BZ #15736]
7117 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7118 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7119 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7120 * string/test-strcasecmp.c (test_main): Run tests in several
7121 locales.
7122 * string/test-strncasecmp.c (test_main): Likewise.
7123
5d228a43
AS
7124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7125 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7126 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7128 (__strncasecmp_ssse3) [PIC]: Likewise.
7129
59d112a4
RM
71302013-08-26 Roland McGrath <roland@hack.frob.com>
7131
53234cc3
RM
7132 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7133
59d112a4
RM
7134 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7135 instead of explicitly declaring xdecrypt.
7136 * nis/nss_nis/nis-publickey.c: Likewise.
7137
595aba70
SP
71382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7139
7140 [BZ #15890]
7141 * nscd/aicache.c: Include res_hconf.h.
7142 (addhstaiX): Initialize res_hconf.
7143
ffabd393
AS
71442013-08-26 Andreas Schwab <schwab@suse.de>
7145
7146 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7147 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7148
e0a69f5c
SP
71492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7150
7151 * nscd/aicache.c (addhstaiX): Fix indentation.
7152
8c12f01d
MF
71532013-08-25 Mike Frysinger <vapier@gentoo.org>
7154
7155 * configure.ac: Quote $build_pt_chown test.
7156 * configure: Regenerated.
7157
8fe89494
JM
71582013-08-23 Joseph Myers <joseph@codesourcery.com>
7159
7160 [BZ #15532]
7161 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7162 * math/s_cexpf.c (__cexpf): Likewise.
7163 * math/s_cexpl.c (__cexpl): Likewise.
7164 * math/libm-test.inc (cexp_test_data): Correct expected return
7165 value for NaN + i0. Add another test.
7166
75b181d6
DM
71672013-08-22 David S. Miller <davem@davemloft.net>
7168
7169 * po/ca.po: Update Catalan translation from translation project.
936241e4 7170 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7171
acd06bb1
JM
71722013-08-21 Joseph Myers <joseph@codesourcery.com>
7173
7174 [BZ #15797]
7175 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7176 is infinite, not alongside NaN test.
7177 * math/s_fdimf.c (__fdimf): Likewise.
7178 * math/s_fdiml.c (__fdiml): Likewise.
7179 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7180 errno is unchanged.
7181
c0c3f78a
OB
71822013-08-21 Ondřej Bílka <neleai@seznam.cz>
7183
7184 * argp/argp-help.c: Fix typos.
7185 * crypt/speeds.c: Likewise.
7186 * csu/check_fds.c: Likewise.
7187 * elf/dl-load.c: Likewise.
7188 * elf/dl-open.c: Likewise.
7189 * elf/reldep3.c: Likewise.
7190 * elf/reldep.c: Likewise.
7191 * elf/sprof.c: Likewise.
7192 * iconv/iconv_charmap.c: Likewise.
7193 * iconv/skeleton.c: Likewise.
7194 * iconv/strtab.c: Likewise.
7195 * io/lockf64.c: Likewise.
7196 * libio/libioP.h: Likewise.
7197 * resolv/gai_notify.c: Likewise.
7198 * resolv/ns_name.c: Likewise.
7199 * resolv/ns_samedomain.c: Likewise.
7200 * resolv/res_send.c: Likewise.
7201 * stdlib/random.c: Likewise.
7202 * sunrpc/rpc/xdr.h: Likewise.
7203 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7204 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7206 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7208 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7209 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7210 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7211 * sysdeps/mach/hurd/check_fds.c: Likewise.
7212 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7213 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7216 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7217 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7218 * sysdeps/pthread/aio_notify.c: Likewise.
7219 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7220 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7223 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7224
46ed1038
LD
72252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7226
7227 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7228 version if bit_Slow_SSE4_2 is set.
7229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7230 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7231
d400dcac
AZ
72322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233
7234 [BZ #15867]
7235 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7236 trampoline stack frame information.
7237 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7239 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7240 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7241 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7242 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7243 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7244 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7245 sa_flags value.
7246 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7247 interrupting a syscall and set with option SA_SIGINFO.
7248
42c8fdd8
JM
72492013-08-20 Joseph Myers <joseph@codesourcery.com>
7250
c980f2f4
JM
7251 [BZ #15531]
7252 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7253 argument is infinite.
7254 * math/s_cprojf.c (__cprojf): Likewise.
7255 * math/s_cprojl.c (__cprojl): Likewise.
7256 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7257 * math/libm-test.inc (cproj_test_data): Add more tests.
7258
0716c4fc
JM
7259 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7260
42c8fdd8
JM
7261 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7262 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7263 size. Use __ffs to determine corresponding shift.
7264
b31469d0
JM
72652013-08-20 Joseph Myers <joseph@codesourcery.com>
7266 Roland McGrath <roland@hack.frob.com>
7267
7268 * Makefile (INSTALL): Remove trailing blank lines from output of
7269 makeinfo.
7270
4e39af6e
AK
72712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7272
7273 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7274 Align 32 bit compat elf_greg to 8 bytes.
7275
f315524e
AA
72762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7277
7278 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7279
1326ba1a
SP
72802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
7282 * string/strcoll_l.c (coll_seq): New structure.
7283 (get_next_seq_cached): New function.
7284 (get_next_seq): New function.
7285 (do_compare): New function.
7286 (STRCOLL): Use GNU style definition. Simplify implementation
7287 by using get_next_seq, get_next_seq_cached and do_compare.
7288
91ce4085
FW
72892013-08-16 Florian Weimer <fweimer@redhat.com>
7290
7291 [BZ #14699]
7292 CVE-2013-4237
7293 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7294 member.
7295 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7296 member.
7297 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7298 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7299 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7300 conditional.
7301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7302 GETDENTS_64BIT_ALIGNED.
7303 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7304 * manual/filesys.texi (Reading/Closing Directory): Document
7305 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7306 strongly.
7307 * manual/conf.texi (Limits for Files): Add portability note to
7308 NAME_MAX, PATH_MAX.
7309 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7310
ca0a6bc4
AS
73112013-08-13 Andreas Schwab <schwab@suse.de>
7312
7313 [BZ #15749]
7314 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7315 of fabs.
7316 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7317 LDBL_MAX_EXP >= 16384]: Add tests for it.
7318
6c1fd795
DM
73192013-08-12 David S. Miller <davem@davemloft.net>
7320
7321 * version.h (RELEASE): Set to "development".
7322 (VERSION): Set to "2.18.90".
7323 * NEWS: Add 2.19 section.
7324
31ad488d
DM
73252013-08-03 David S. Miller <davem@davemloft.net>
7326
7327 * po/ko.po: Update Korean translation from translation project.
7328
db24e684
DM
73292013-08-01 David S. Miller <davem@davemloft.net>
7330
7331 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7332 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7333 Bilka.
7334
f723285b
DM
73352013-07-30 David S. Miller <davem@davemloft.net>
7336
7337 * po/fr.po: Update French translation from translation project.
7338
3cbc52db
DM
73392013-07-28 David S. Miller <davem@davemloft.net>
7340
30bbc0cc
DM
7341 * po/cs.po: Update Czech translation from translation project.
7342
3cbc52db
DM
7343 * po/sv.po: Update Swedish translation from translation project.
7344
d492e6d0
DM
73452013-07-27 David S. Miller <davem@davemloft.net>
7346
f1a7f492
DM
7347 * po/eo.po: Update Esperanto translation from translation project.
7348
90e62a4a
DM
7349 * po/vi.po: Update Vietnamese translation from translation project.
7350
d492e6d0
DM
7351 * po/de.po: Update German translation from translation project.
7352
d4baa62d
DM
73532013-07-26 David S. Miller <davem@davemloft.net>
7354
641aa7b4
DM
7355 * po/bg.po: Update Bulgarian translation from translation project.
7356
d4baa62d
DM
7357 * po/nl.po: Update Dutch translation from translation project.
7358 * po/pl.po: Update Polish translation from translation project.
7359 * po/ru.po: Update Russian translation from translation project.
7360
61a9dcb9
DM
73612013-07-24 David S. Miller <davem@davemloft.net>
7362
7363 * po/libc.pot: Update.
7364
7b1f8b58
AZ
73652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7366
7367 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7368 variable page size.
7369 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7370 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7371 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7372
a8fc7a03
AK
73732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7374
7375 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7376
e4608715
CD
73772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7378 Andreas Schwab <schwab@suse.de>
7379 Roland McGrath <roland@hack.frob.com>
7380 Joseph Myers <joseph@codesourcery.com>
7381 Carlos O'Donell <carlos@redhat.com>
7382
7383 [BZ #15755]
7384 * config.h.in: Define HAVE_PT_CHOWN.
7385 * config.make.in (build-pt-chown): New variable.
7386 * configure.in (--enable-pt_chown): New configure option.
7387 * configure: Regenerate.
7388 * login/Makefile: Include Makeconfig. Build pt_chown only if
7389 build-pt-chown is enabled.
7390 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7391 pt_chown to fix pty ownership.
7392 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7393 CLOSE_ALL_FDS.
7394 * manual/install.texi (Configuring and compiling): Mention
7395 --enable-pt_chown. Add @findex for grantpt.
7396 * INSTALL: Regenerate.
7397
da2d62df
DM
73982013-07-20 David S. Miller <davem@davemloft.net>
7399
7400 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7401 difference between 32-bit and 64-bit.
7402
d7e06450
CD
74032013-07-15 Carlos O'Donell <carlos@redhat.com>
7404
7405 [BZ #15711]
7406 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7407 Avoid system header dependency with -ffreestanding.
7408 ($(objpfx)bits/syscall%d): Likewise.
7409
f959cfd7
DM
74102013-07-13 David S. Miller <davem@davemloft.net>
7411
7412 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7413 underflows from atanl/atan2l due to bug 15319.
7414 (casinh_test_data): Likewise.
7415
c61f8513
DM
74162013-07-07 David S. Miller <davem@davemloft.net>
7417
7418 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7419
72c90ed0
JA
74202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7421
7422 * sysdeps/i386/fpu/libm-test-ulps: Update.
7423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7424
52dfbe13
SP
74252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7426
7427 * configure.in (--enable-lock-elision): Fix message text.
7428 * INSTALL: Regenerate.
7429 * configure: Regenerate.
7430
3f169543
AZ
74312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7432
7433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7434
521c6785
AJ
74352013-07-03 Andreas Jaeger <aj@suse.de>
7436
7437 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7438 define.
7439 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7440 (ptrace_peeksiginfo_args): Add.
7441 (__ptrace_peeksiginfo_flags): Add.
7442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7445
d2cc15cb
AM
74462013-07-03 Allan McRae <allan@archlinux.org>
7447
7448 * sysdeps/i386/fpu/libm-test-ulps: Update.
7449
3aaeeca7
DM
74502013-07-02 David S. Miller <davem@davemloft.net>
7451
7452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7453
5314ed1a
MT
74542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7455
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7457
67338156
JM
74582013-07-02 Joseph Myers <joseph@codesourcery.com>
7459
7460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7462
1717da59
AK
74632013-07-02 Andi Kleen <ak@linux.intel.com>
7464
7465 * config.h.in (ENABLE_LOCK_ELISION): Add.
7466 * configure.in (--enable-lock-elision): Add option.
7467 * manual/install.texi: Document --enable lock elision.
7468 * configure: Regenerate
7469 * INSTALL: Regenerate.
7470
1c81621c
L
74712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7472
7473 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7474 SSE4.2 strcasecmp for libc.a.
7475 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7476
77f01ab5
JM
74772013-07-02 Joseph Myers <joseph@codesourcery.com>
7478
7479 [BZ #13304]
7480 * soft-fp/op-common.h (_FP_FMA): New macro.
7481 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7482 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7483 (_FP_MUL_MEAT_1_imm): ... here.
7484 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7485 (_FP_MUL_MEAT_1_wide): ... here.
7486 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7487 (_FP_MUL_MEAT_1_hard): ... here.
7488 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7489 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7490 (_FP_MUL_MEAT_2_wide): ... here.
7491 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7492 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7493 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7494 (_FP_MUL_MEAT_2_gmp): ... here.
7495 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7496 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7497 (_FP_MUL_MEAT_4_wide): ... here.
7498 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7499 (_FP_MUL_MEAT_4_gmp): ... here.
7500 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7501 (_FP_WFRACBITS_DW_S): Likewise.
7502 (_FP_WFRACXBITS_DW_S): Likewise.
7503 (_FP_HIGHBIT_DW_S): Likewise.
7504 (FP_FMA_S): Likewise.
7505 (_FP_FRAC_HIGH_DW_S): Likewise.
7506 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7507 (_FP_WFRACBITS_DW_D): Likewise.
7508 (_FP_WFRACXBITS_DW_D): Likewise.
7509 (_FP_HIGHBIT_DW_D): Likewise.
7510 (FP_FMA_D): Likewise.
7511 (_FP_FRAC_HIGH_DW_D): Likewise.
7512 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7513 (_FP_WFRACBITS_DW_E): Likewise.
7514 (_FP_WFRACXBITS_DW_E): Likewise.
7515 (_FP_HIGHBIT_DW_E): Likewise.
7516 (FP_FMA_E): Likewise.
7517 (_FP_FRAC_HIGH_DW_E): Likewise.
7518 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7519 (_FP_WFRACBITS_DW_Q): Likewise.
7520 (_FP_WFRACXBITS_DW_Q): Likewise.
7521 (_FP_HIGHBIT_DW_Q): Likewise.
7522 (FP_FMA_Q): Likewise.
7523 (_FP_FRAC_HIGH_DW_Q): Likewise.
7524 * soft-fp/fmasf4.c: New file.
7525 * soft-fp/fmadf4.c: Likewise.
7526 * soft-fp/fmatf4.c: Likewise.
7527
6308fd9a
LD
75282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7529
7530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7531 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7532 Silvermont.
7533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7534 macro.
7535 (index_Slow_SSE4_2): Likewise.
7536 (index_Prefer_PMINUB_for_stringop): Likewise.
7537 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7538 bit_Slow_SSE4_2 is set.
7539 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7540 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7541
89cd9569
RA
75422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7543
7544 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7545 rtld_global._dl_hwcap2.
7546 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7547 POWER8.
7548 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7549 POWER8 feature descriptions defined in _dl_hwcap2.
7550 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7551 string handling for POWER8 feature bits.
7552 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7553 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7554 _dl_powerpc_cap_flags.
7555 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7556 * sysdeps/powerpc/rtld-global-offsets.sym
7557 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7558 _dl_hwcap2 in the rtld_global_ro structure.
7559
1ae8bfe0
RA
75602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7561
7562 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7563 hardware capabilities in support of AT_HWCAP2.
7564 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7565 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7566 GLRO(dl_hwcap2).
7567 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7568 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7569 explicitly the unknown a_type display mechanism is used.
7570 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7571 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7572 struct member.
7573 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7574 to macro prototype for AT_HWCAP2 support.
7575 * sysdeps/i386/dl-procinfo.h: Likewise.
7576 * sysdeps/s390/dl-procinfo.h: Likewise.
7577 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7578 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7579 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7580 return -1 for unknown a_type display fallback.
7581 * sysdeps/sparc/dl-procinfo.h: Likewise.
7582 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7583 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7584
8fbec010
JM
75852013-06-28 Joseph Myers <joseph@codesourcery.com>
7586
7587 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7588 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7589
0432680e
PY
75902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7591
7592 [BZ #12492]
7593 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7594 mprotect making __stack_prot writable.
7595
ce61a2ad
NF
75962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7597 Joseph Myers <joseph@codesourcery.com>
7598
7599 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7600 as being properly aligned.
7601
f91f1c0f
MR
76022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7603
3d0f5d0c
MR
7604 * dlfcn/modstatic5.c: New file.
7605 * dlfcn/tststatic5.c: New file.
7606 * dlfcn/Makefile (tests): Add tststatic5.
7607 (tests-static): Likewise.
7608 (modules-names): Add modstatic5.
7609 (tststatic5-ENV): New variable.
7610 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7611
f91f1c0f
MR
7612 [BZ #15022]
7613 * elf/dl-support.c (_dl_main_map): New variable.
7614 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7615 (_dl_nns, _dl_load_adds): Set to 1.
7616 (_dl_initial_searchlist): Refer to _dl_main_map.
7617 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7618 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7619 call to _dl_get_origin.
7620 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7621 around call_map.
7622 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7623 * dlfcn/modstatic3.c: New file.
7624 * dlfcn/tststatic3.c: New file.
7625 * dlfcn/tststatic4.c: New file.
7626 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7627 (tests-static): Likewise.
7628 (modules-names): Add modstatic3.
7629 (tststatic3-ENV, tststatic4-ENV): New variables.
7630 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7631 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7632
cbe7d24b
JM
76332013-06-26 Joseph Myers <joseph@codesourcery.com>
7634
7635 * configure.in (CC): Require GCC version 4.4 or later.
7636 * configure: Regenerated.
7637 * manual/install.texi (Tools for Compilation): Update GCC version
7638 requirement.
7639 * INSTALL: Regenerated.
7640
11b8a0e1
LD
76412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7642
7643 [BZ #15674]
bb5bb87c
L
7644 * string/test-memcmp.c (check2): New.
7645 (main): Call check2.
7646
11b8a0e1
LD
7647 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7648
b0037103
MR
76492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7650
7651 [BZ #15022]
7652 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7653 over to...
7654 (dl_open_worker) [!SHARED]: ... here.
7655
c18c701d
RA
76562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7657
7658 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7659
1d17fa5f
RH
76602013-06-25 Richard Henderson <rth@redhat.com>
7661
7662 * locale/programs/locarchive.c: Include <libc-internal.h>
7663
8fcb833a
JM
76642013-06-25 Joseph Myers <joseph@codesourcery.com>
7665
7666 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7667 trailing whitespace removed.
7668
17db6e8d
MF
76692013-06-24 Mike Frysinger <vapier@gentoo.org>
7670
7671 [BZ #10283]
17db6e8d
MF
7672 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7673 * locale/programs/locarchive.c: Include libc-mmap.h.
7674 (prepare_address_space): Take two new outputs (the mmap base and len).
7675 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7676 values.
7677 (create_archive): Declare new mmap base and len values for
7678 prepare_address_space, and store the result in ah.
7679 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7680 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7681 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7682 Declare new mmap base and len values for
7683 prepare_address_space, and store the result in new_ah.
7684 (open_archive): Declare new mmap base and len values for
7685 prepare_address_space, and store the result in ah.
7686 (close_archive): If ah->mmap_base is not NULL, use that and
7687 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7688 * sysdeps/generic/libc-mmap.h: New file.
7689
d605071e
MF
76902013-06-24 Mike Frysinger <vapier@gentoo.org>
7691
7692 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7693 (ALIGN_UP): Likewise.
7694 (PTR_ALIGN_DOWN): Likewise.
7695 (PTR_ALIGN_UP): Likewise.
7696
2f063a6e
RA
76972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7698
7699 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7700 entry mapped to PPC_PLATFORM_POWER8.
7701 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7702 POWER8.
7703 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7704 (_dl_string_platform): Add case for exporting platform position for
7705 POWER8.
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7707 search path to sysdeps/powerpc/powerpc32/power8 directory.
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7709 search path to sysdeps/powerpc/powerpc64/power8 directory.
7710 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7711 power7 directories.
7712 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7713 power7 directories.
7714
a31ee4b3
SP
77152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7716
a74ca98f
SP
7717 * INSTALL: Regenerate.
7718
a31ee4b3
SP
7719 * nscd/connections.c (nscd_init): Fix comment.
7720
695c378f
JM
77212013-06-22 Joseph Myers <joseph@codesourcery.com>
7722
d8412221
JM
7723 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7724
695c378f
JM
7725 [BZ #15667]
7726 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7727 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7728
d1d54715
MR
77292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7730
7731 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7732 DL_DST_REQ_STATIC.
7733 (DL_DST_REQ_STATIC): Remove macro.
7734
8fdda7af
JM
77352013-06-21 Joseph Myers <joseph@codesourcery.com>
7736
7737 [BZ #7006]
7738 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7739 with a shift of 0 bits.
7740
f3bc5e5a
MR
77412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7742
7743 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7744 $(tststatic-ENV).
7745
be09e8c9
KK
77462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7747
7748 [BZ #15655]
7749 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7750
85c2e611
AZ
77512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7752
7753 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7754 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7755 accepts -fno-tree-loop-distribute-patterns.
7756 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7757 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7758 recursive call.
7759 * string/memset.c (memset): Likewise.
7760 * string/test-memmove.c (simple_memmove): Disable loop transformation
7761 to library calls.
7762 * string/test-memset.c (simple_memset): Likewise.
7763 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7764 * benchtests/bench-memset.c (simple_memset): Likewise.
7765 * configure: Regenerated.
7766
c91e0825
JM
77672013-06-20 Joseph Myers <joseph@codesourcery.com>
7768
b8c792af
JM
7769 * math/test-misc.c (main): Ignore fesetround failure when failures
7770 of subsequent rounding tests would be ignored.
7771
c91e0825
JM
7772 [BZ #15654]
7773 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7774 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7775 * math/fegetenv.c (__fegetenv): Return 0.
7776 * math/fegetexcept.c (fegetexcept): Return 0.
7777 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7778 FE_TONEAREST.
7779 * math/feholdexcpt.c (feholdexcept): Return 0.
7780 * math/fesetenv.c (__fesetenv): Return 0.
7781 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7782 argument FE_TONEAREST.
7783 * math/feupdateenv.c (__feupdateenv): Return 0.
7784 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7785
bfcacbde
RM
77862013-06-18 Roland McGrath <roland@hack.frob.com>
7787
7788 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7789 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7790 ($(objpfx)rtld-%.os rules): Use them.
7791
e55a9b25
AZ
77922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7793
7794 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7795 fields.
7796
346d65b3
RM
77972013-06-17 Roland McGrath <roland@hack.frob.com>
7798
12086fb4
RM
7799 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7800 length of target pattern, then descending length of dependency pattern.
7801 * configure.in (AWK): Require gawk 3.1.2 or newer.
7802 * manual/install.texi (Tools for Compilation): Say that we do.
7803 * configure: Regenerated.
7804
346d65b3
RM
7805 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7806 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7807 * scripts/sysd-rules.awk: ... this new script.
7808 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7809 than a glob-style pattern.
7810
1a846317
JM
78112013-06-17 Joseph Myers <joseph@codesourcery.com>
7812
7813 * math/test-misc.c (main): Do not treat incorrectly rounded
7814 conversions as failure unless ROUNDING_TESTS passes.
7815
8fc75e6f
JM
78162013-06-15 Joseph Myers <joseph@codesourcery.com>
7817
3711a167
JM
7818 [BZ #15631]
7819 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7820 restore exception state around main square root computation, then
7821 check for inexactness explicitly.
7822
8fc75e6f
JM
7823 * math/libm-test.inc (fma_test_data): Add another test.
7824
61dd6208
SP
78252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7826
adf23d2c
SP
7827 * manual/threads.texi (Non-POSIX Extensions): New document
7828 node. Document pthread_getattr_default_np and
7829 pthread_setattr_default_np.
7830
61dd6208
SP
7831 * Versions.def (libpthread): Add GLIBC_2.18.
7832 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7834 Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7836 Likewise.
7837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7838 Likewise.
7839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7840 Likewise.
7841 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7842 Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7844 Likewise.
7845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7846 Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7848 Likewise.
7849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7850 Likewise.
7851
d086fc7b
LD
78522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7853
7854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7855 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7856
747ef469
SP
78572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7858 H.J. Lu <hjl.tools@gmail.com>
7859
7860 [BZ #15627]
7861 * sysdeps/x86_64/rtld-memset.c: Remove file.
7862 * sysdeps/x86_64/rtld-memset.S: New file.
7863
1b2feed2
JM
78642013-06-14 Joseph Myers <joseph@codesourcery.com>
7865
7866 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7867 (test_in_one_mode): Take arguments for whether the rounding mode
7868 is supported for each floating-point type.
7869 (do_test): Pass new arguments to test_in_one_mode using
7870 ROUNDING_TESTS.
7871
a58ad3f8
RM
78722013-06-13 Roland McGrath <roland@hack.frob.com>
7873
7874 * posix/tst-waitid.c (do_test): Distinguish different instances of
7875 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7876 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7877 before entering the kernel for waitpid.
7878
c204ab28
SP
78792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7880
7881 * NEWS: Fix note on clock function precision. Text by Roland
7882 McGrath.
7883
f4a29fba
RM
78842013-06-13 Roland McGrath <roland@hack.frob.com>
7885
7886 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7887 it into place only when and if the sanity check passes.
7888
1f24b9ad
JM
78892013-06-13 Joseph Myers <joseph@codesourcery.com>
7890
7891 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7892 output for whether conversion result is exact. Take argument
7893 indicating whether type is IBM long double.
7894 (round_for_all): Change need_exact field to ibm_ld.
7895 * stdlib/tst-strtod-round.c (struct exactness): New type.
7896 (struct test): Change bool ld_ok field to struct exactness exact.
7897 (TEST): Update all definitions for change to field.
7898 (tests): Regenerate array contents.
7899 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7900 field value. Check for IBM long double here.
7901 (do_test): Update calls to test_in_one_mode.
7902
58206c68
SP
79032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7904
7905 [BZ #12515]
7906 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7907 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7908
2d6f4c5b 79092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7910
7911 [BZ #15605]
7912 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7913 generated by the compiler on loop optimizations.
7914 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7915 general definitions.
7916
94f2c076
JM
79172013-06-12 Joseph Myers <joseph@codesourcery.com>
7918
7919 * math/bug-nextafter.c: Include <math-tests.h>.
7920 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7921 the relevant type.
7922 * math/bug-nexttoward.c: Include <math-tests.h>.
7923 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7924 the relevant type.
7925 * math/test-misc.c: Include <math-tests.h>.
7926 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7927 the relevant type.
7928
e0e50a0a
AJ
79292013-06-12 Andreas Jaeger <aj@suse.de>
7930
7931 * po/ia.po: Update Interlingua translation from translation
7932 project.
7933
25061094
SP
79342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7935
7936 * include/fenv.h: Include stdbool.h.
7937 (struct rm_ctx): New structure.
7938 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7939 Define macro.
7940 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7941 (SET_RESTORE_ROUNDF): Likewise.
7942 (SET_RESTORE_ROUNDL): Likewise.
7943 (SET_RESTORE_ROUND_NOEX): Likewise.
7944 (SET_RESTORE_ROUND_NOEXF): Likewise.
7945 (SET_RESTORE_ROUND_NOEXL): Likewise.
7946 (SET_RESTORE_ROUND_53BIT): Likewise.
7947 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7948 (libc_feresetround_noexf_ctx): Likewise.
7949 (libc_feresetround_noexl_ctx): Likewise.
7950 (libc_feholdsetround_53bit_ctx): Likewise.
7951 (libc_feresetround_53bit_ctx): Likewise.
7952 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7953 (libc_feholdexcept_setround_sse_ctx): New function.
7954 (libc_fesetenv_sse_ctx): Likewise.
7955 (libc_feupdateenv_sse_ctx): Likewise.
7956 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7957 (libc_feholdexcept_setround_387_ctx): Likewise.
7958 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7959 (libc_feholdsetround_387_prec_ctx): Likewise.
7960 (libc_feholdsetround_387_ctx): Likewise.
7961 (libc_feholdsetround_387_53bit_ctx): Likewise.
7962 (libc_feholdsetround_sse_ctx): Likewise.
7963 (libc_feresetround_sse_ctx): Likewise.
7964 (libc_feresetround_387_ctx): Likewise.
7965 (libc_feupdateenv_387_ctx): Likewise.
7966 (libc_feholdexcept_setroundf_ctx): Define macro.
7967 (libc_fesetenvf_ctx): Likewise.
7968 (libc_feupdateenvf_ctx): Likewise.
7969 (libc_feholdsetroundf_ctx): Likewise.
7970 (libc_feresetroundf_ctx): Likewise.
7971 (libc_feholdexcept_setround_ctx): Likewise.
7972 (libc_fesetenv_ctx): Likewise.
7973 (libc_feupdateenv_ctx): Likewise.
7974 (libc_feholdsetround_ctx): Likewise.
7975 (libc_feresetround_ctx): Likewise.
7976 (libc_feholdexcept_setroundl_ctx): Likewise.
7977 (libc_feupdateenvl_ctx): Likewise.
7978 (libc_feholdsetroundl_ctx): Likewise.
7979 (libc_feresetroundl_ctx): Likewise.
7980 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7981 (libc_feresetround_53bit_ctx): Likewise.
7982
59b30555
SP
79832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7984
7985 * locale/iso-639.def: Convert to UTF-8.
7986
f1d73d30
JM
79872013-06-11 Joseph Myers <joseph@codesourcery.com>
7988
7989 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7990 (EXCEPTION_TESTS_double): Likewise.
7991 (EXCEPTION_TESTS_long_double): Likewise.
7992 (EXCEPTION_TESTS): Likewise.
7993 * math/libm-test.inc (test_exceptions): Only test exceptions if
7994 EXCEPTION_TESTS (FLOAT).
7995
94aca5e7
SP
79962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7997
7998 * benchtests/Makefile (string-bench): Add strcpy_chk and
7999 stpcpy_chk.
8000 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8001 * benchtests/bench-stpcpy_chk.c: New file.
8002 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8003 * benchtests/bench-strcpy_chk.c: New file.
8004 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8005 code.
8006 (do_test): Likewise.
8007
fac0c5f2
RA
80082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8009
8010 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8011 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8012 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8013 with tabs where appropriate.
8014 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8015 dl-procinfo.h.
8016 [PPC_PLATFORM_PPC440]: Likewise.
8017 [PPC_PLATFORM_PPC464]: Likewise.
8018 [PPC_PLATFORM_PPC476]: Likewise.
8019 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8020 ppc464, and ppc476 platform strings merging from ports/
8021 dl-procinfo.h.
8022
f22bc486
AS
80232013-06-11 Andreas Schwab <schwab@suse.de>
8024
8025 [BZ #14991]
8026 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8027 (from_ucs4_idx): Regenerate.
8028 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8029 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8030 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8031 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8032 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8033 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8034 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8035 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8036 from FROM_LOOP and TO_LOOP specific macros.
8037 (BODY): Handle combining characters.
8038 * iconvdata/BIG5HKSCS.irreversible: Update.
8039 * iconvdata/BIG5HKSCS.precomposed: New file.
8040 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8041 characters.
8042 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8043
c1f75dc3
SP
80442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8045
4eacded2
SP
8046 * include/sys/time.h: Fix indentation and add copyright header.
8047
fec799f8
SP
8048 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8049 (do_test): Likewise.
8050 * string/test-memchr.c (do_one_test): Likewise.
8051 (do_test): Likewise.
8052 * string/test-memcmp.c (do_one_test): Likewise.
8053 (do_test): Likewise.
8054 * string/test-memcpy.c (do_one_test): Likewise.
8055 (do_test): Likewise.
8056 * string/test-memmem.c (do_one_test): Likewise.
8057 (do_test): Likewise.
8058 (do_random_tests): Likewise.
8059 * string/test-memmove.c (do_one_test): Likewise.
8060 (do_test): Likewise.
8061 * string/test-memset.c (do_one_test): Likewise.
8062 (do_test): Likewise.
8063 * string/test-rawmemchr.c (do_one_test): Likewise.
8064 (do_test): Likewise.
8065 * string/test-strcasecmp.c (do_one_test): Likewise.
8066 (do_test): Likewise.
8067 * string/test-strcasestr.c (do_one_test): Likewise.
8068 (do_test): Likewise.
8069 * string/test-strcat.c (do_one_test): Likewise.
8070 (do_test): Likewise.
8071 * string/test-strchr.c (do_one_test): Likewise.
8072 (do_test): Likewise.
8073 * string/test-strcmp.c (do_one_test): Likewise.
8074 (do_test): Likewise.
8075 * string/test-strcpy.c (do_one_test): Likewise.
8076 (do_test): Likewise.
8077 * string/test-string.h: Likewise.
8078 (test_init): Likewise.
8079 * string/test-strlen.c (do_one_test): Likewise.
8080 (do_test): Likewise.
8081 * string/test-strncasecmp.c (do_one_test): Likewise.
8082 (do_test): Likewise.
8083 * string/test-strncat.c (do_one_test): Likewise.
8084 (do_test): Likewise.
8085 * string/test-strncmp.c (do_one_test): Likewise.
8086 (do_test_limit): Likewise.
8087 (do_test): Likewise.
8088 * string/test-strncpy.c (do_one_test): Likewise.
8089 (do_test): Likewise.
8090 * string/test-strnlen.c (do_one_test): Likewise.
8091 (do_test): Likewise.
8092 * string/test-strpbrk.c (do_one_test): Likewise.
8093 (do_test): Likewise.
8094 * string/test-strrchr.c (do_one_test): Likewise.
8095 (do_test): Likewise.
8096 * string/test-strspn.c (do_one_test): Likewise.
8097 (do_test): Likewise.
8098 * string/test-strstr.c (do_one_test): Likewise.
8099 (do_test): Likewise.
8100
97020474
SP
8101 * benchtests/Makefile (string-bench): Add string benchmarks.
8102 * benchtests/bench-bcopy-ifunc.c: New file.
8103 * benchtests/bench-bcopy.c: New file.
8104 * benchtests/bench-bzero-ifunc.c: New file.
8105 * benchtests/bench-bzero.c: New file.
8106 * benchtests/bench-memccpy-ifunc.c: New file.
8107 * benchtests/bench-memccpy.c: New file.
8108 * benchtests/bench-memchr-ifunc.c: New file.
8109 * benchtests/bench-memchr.c: New file.
8110 * benchtests/bench-memcmp-ifunc.c: New file.
8111 * benchtests/bench-memcmp.c: New file.
8112 * benchtests/bench-memmem-ifunc.c: New file.
8113 * benchtests/bench-memmem.c: New file.
8114 * benchtests/bench-memmove-ifunc.c: New file.
8115 * benchtests/bench-memmove.c: New file.
8116 * benchtests/bench-mempcpy-ifunc.c: New file.
8117 * benchtests/bench-mempcpy.c: New file.
8118 * benchtests/bench-memset-ifunc.c: New file.
8119 * benchtests/bench-memset.c: New file.
8120 * benchtests/bench-rawmemchr-ifunc.c: New file.
8121 * benchtests/bench-rawmemchr.c: New file.
8122 * benchtests/bench-stpcpy-ifunc.c: New file.
8123 * benchtests/bench-stpcpy.c: New file.
8124 * benchtests/bench-stpncpy-ifunc.c: New file.
8125 * benchtests/bench-stpncpy.c: New file.
8126 * benchtests/bench-strcasecmp-ifunc.c: New file.
8127 * benchtests/bench-strcasecmp.c: New file.
8128 * benchtests/bench-strcasestr-ifunc.c: New file.
8129 * benchtests/bench-strcasestr.c: New file.
8130 * benchtests/bench-strcat-ifunc.c: New file.
8131 * benchtests/bench-strcat.c: New file.
8132 * benchtests/bench-strchr-ifunc.c: New file.
8133 * benchtests/bench-strchr.c: New file.
8134 * benchtests/bench-strchrnul-ifunc.c: New file.
8135 * benchtests/bench-strchrnul.c: New file.
8136 * benchtests/bench-strcmp-ifunc.c: New file.
8137 * benchtests/bench-strcmp.c: New file.
8138 * benchtests/bench-strcpy-ifunc.c: New file.
8139 * benchtests/bench-strcpy.c: New file.
8140 * benchtests/bench-strcspn-ifunc.c: New file.
8141 * benchtests/bench-strcspn.c: New file.
8142 * benchtests/bench-strlen-ifunc.c: New file.
8143 * benchtests/bench-strlen.c: New file.
8144 * benchtests/bench-strncasecmp-ifunc.c: New file.
8145 * benchtests/bench-strncasecmp.c: New file.
8146 * benchtests/bench-strncat-ifunc.c: New file.
8147 * benchtests/bench-strncat.c: New file.
8148 * benchtests/bench-strncmp-ifunc.c: New file.
8149 * benchtests/bench-strncmp.c: New file.
8150 * benchtests/bench-strncpy-ifunc.c: New file.
8151 * benchtests/bench-strncpy.c: New file.
8152 * benchtests/bench-strnlen-ifunc.c: New file.
8153 * benchtests/bench-strnlen.c: New file.
8154 * benchtests/bench-strpbrk-ifunc.c: New file.
8155 * benchtests/bench-strpbrk.c: New file.
8156 * benchtests/bench-strrchr-ifunc.c: New file.
8157 * benchtests/bench-strrchr.c: New file.
8158 * benchtests/bench-strspn-ifunc.c: New file.
8159 * benchtests/bench-strspn.c: New file.
8160 * benchtests/bench-strstr-ifunc.c: New file.
8161 * benchtests/bench-strstr.c: New file.
8162
c1f75dc3
SP
8163 * benchtests/Makefile: Disable parallel execution of targets.
8164 (string-bench): Add memcpy.
8165 (benchset): New variable to store a list of benchmark sets.
8166 (bench-func): Renamed from bench.
8167 (bench-set): New target.
8168 (bench): Depend on bench-func and bench-set.
8169 * benchtests/README: Add section on benchmark sets.
8170 * benchtests/bench-memcpy-ifunc.c: New file.
8171 * benchtests/bench-memcpy.c: New file.
8172 * benchtests/bench-string.h: New file.
8173
50fd745b
AS
81742013-06-11 Andreas Schwab <schwab@suse.de>
8175
8176 [BZ #15577]
8177 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8178 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8179 values in the triple.
8180 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8181 terminator in the group key.
8182
3ee7e9fe
AJ
81832013-06-11 Andreas Jaeger <aj@suse.de>
8184
8185 * po/zh_TW.po: Update Chinese (traditional) translation from
8186 translation project.
8187
89fb6835
SP
81882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8189
8190 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8191 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8192 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8194 (clock_getcpuclockid): Likewise.
8195 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8196 Add weak_alias and libc_hidden_def.
8197 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8198 * rt/clock_gettime.c (clock_gettime): Rename to
8199 __clock_gettime. Add weak_alias and libc_hidden_def.
8200 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8201 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8202 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8203 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8204 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8205 Likewise.
8206 * rt/clock_settime.c (clock_settime): Rename to
8207 __clock_settime. Add weak_alias and libc_hidden_def.
8208 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8209
0efa6f8b
JM
82102013-06-10 Joseph Myers <joseph@codesourcery.com>
8211
b8c61b4b
JM
8212 * mach/err_boot.sub: Remove trailing whitespace.
8213 * mach/err_ipc.sub: Likewise.
8214 * mach/err_mach.sub: Likewise.
8215
0efa6f8b
JM
8216 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8217 (ROUNDING_TESTS_double): Likewise.
8218 (ROUNDING_TESTS_long_double): Likewise.
8219 (ROUNDING_TESTS): Likewise.
8220 * math/libm-test.inc: Include <math-tests.h>.
8221 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8222 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8223 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8224 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8225
50b818bf
SP
82262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8227
8228 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8229 of assigning.
8230
60d2f8f3
JM
82312013-06-08 Joseph Myers <joseph@codesourcery.com>
8232
4902d2c3
JM
8233 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8234 otherwise empty TRANS lines.
8235 * sysdeps/gnu/errlist.c: Regenerated.
8236
60d2f8f3
JM
8237 * catgets/gencat.c (error_print): Use (void) in function
8238 definition.
8239 * crypt/crypt_util.c (__init_des): Likewise.
8240 * crypt/speeds.c (Stop): Likewise.
8241 (main): Likewise.
8242 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8243 * inet/ruserpass.c (token): Likewise.
8244 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8245 * intl/localealias.c (extend_alias_table): Likewise.
8246 * intl/plural-exp.c (init_germanic_plural): Likewise.
8247 * libio/fcloseall.c (__fcloseall): Likewise.
8248 * libio/genops.c (_IO_flush_all): Likewise.
8249 (_IO_flush_all_linebuffered): Likewise.
8250 (_IO_cleanup): Likewise.
8251 (_IO_iter_begin): Likewise.
8252 (_IO_iter_end): Likewise.
8253 (_IO_list_lock): Likewise.
8254 (_IO_list_unlock): Likewise.
8255 (_IO_list_resetlock): Likewise.
8256 * libio/getchar.c (getchar): Likewise.
8257 * libio/getchar_u.c (getchar_unlocked): Likewise.
8258 * libio/getwchar.c (getwchar): Likewise.
8259 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8260 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8261 * login/getpt.c (__getpt): Likewise.
8262 * login/tst-utmp.c (main): Likewise.
8263 * malloc/hooks.c (__malloc_check_init): Likewise.
8264 * malloc/malloc.c (__malloc_stats): Likewise.
8265 * malloc/mtrace.c (tr_break): Likewise.
8266 (mtrace): Likewise.
8267 (muntrace): Likewise.
8268 * misc/fstab.c (endfsent): Likewise.
8269 * misc/getclktck.c (__getclktck): Likewise.
8270 * misc/getdtsz.c (__getdtablesize): Likewise.
8271 * misc/gethostid.c (gethostid): Likewise.
8272 * misc/getpagesize.c (__getpagesize): Likewise.
8273 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8274 (__get_nprocs): Likewise.
8275 (__get_phys_pages): Likewise.
8276 (__get_avphys_pages): Likewise.
8277 * misc/getttyent.c (getttyent): Likewise.
8278 (setttyent): Likewise.
8279 (endttyent): Likewise.
8280 * misc/getusershell.c (getusershell): Likewise.
8281 (endusershell): Likewise.
8282 (setusershell): Likewise.
8283 (initshells): Likewise.
8284 * misc/hsearch.c (__hdestroy): Likewise.
8285 * misc/sync.c (sync): Likewise.
8286 * misc/syslog.c (closelog_internal): Likewise.
8287 (closelog): Likewise.
8288 * misc/ttyslot.c (ttyslot): Likewise.
8289 * misc/vhangup.c (vhangup): Likewise.
8290 * posix/fork.c (__fork): Likewise.
8291 * posix/getegid.c (__getegid): Likewise.
8292 * posix/geteuid.c (__geteuid): Likewise.
8293 * posix/getgid.c (__getgid): Likewise.
8294 * posix/getpid.c (__getpid): Likewise.
8295 * posix/getppid.c (__getppid): Likewise.
8296 * posix/getuid.c (__getuid): Likewise.
8297 * posix/pause.c (pause): Likewise.
8298 * posix/setpgrp.c (setpgrp): Likewise.
8299 * posix/setsid.c (__setsid): Likewise.
8300 * posix/test-vfork.c (noop): Likewise.
8301 * resolv/gethnamaddr.c (_endhtent): Likewise.
8302 (_gethtent): Likewise.
8303 (ht_endhostent): Likewise.
8304 (gethostent): Likewise.
8305 (dns_service): Likewise.
8306 * stdlib/drand48.c (drand48): Likewise.
8307 * stdlib/lrand48.c (lrand48): Likewise.
8308 * stdlib/mrand48.c (mrand48): Likewise.
8309 * stdlib/rand.c (rand): Likewise.
8310 * stdlib/random.c (__random): Likewise.
8311 * stdlib/setenv.c (clearenv): Likewise.
8312 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8313 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8314 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8315 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8316 (__get_nprocs): Likewise.
8317 (__get_phys_pages): Likewise.
8318 (__get_avphys_pages): Likewise.
8319 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8320 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8321 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8322 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8323 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8324 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8325 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8326 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8327 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8328 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8329 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8330 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8331 * sysdeps/posix/clock.c (clock): Likewise.
8332 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8333 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8334 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8335 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8336 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8337 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8338 (__get_nprocs_conf): Likewise.
8339 (__get_phys_pages): Likewise.
8340 (__get_avphys_pages): Likewise.
8341 * time/clock.c (clock): Likewise.
8342 * time/tzset.c (__tzname_max): Likewise.
8343
2e09a79a
JM
83442013-06-07 Joseph Myers <joseph@codesourcery.com>
8345
8346 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8347 (__bswap_32): Do not use "register".
8348 * crypt/crypt.c (_ufc_doit_r): Likewise.
8349 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8350 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8351 * gmon/gmon.c (__monstartup): Likewise.
8352 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8353 * hurd/hurdmalloc.c (more_memory): Likewise.
8354 (malloc): Likewise.
8355 (free): Likewise.
8356 (realloc): Likewise.
8357 (malloc_fork_prepare): Likewise.
8358 (malloc_fork_parent): Likewise.
8359 (malloc_fork_child): Likewise.
8360 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8361 (_svcauth_des): Likewise.
8362 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8363 * inet/inet_net.c (inet_network): Likewise.
8364 * inet/inet_netof.c (inet_netof): Likewise.
8365 * inet/rcmd.c (__validuser2_sa): Likewise.
8366 * io/fts.c (fts_open): Likewise.
8367 (fts_load): Likewise.
8368 (fts_close): Likewise.
8369 (fts_read): Likewise.
8370 (fts_children): Likewise.
8371 (fts_build): Likewise.
8372 (fts_stat): Likewise.
8373 (fts_sort): Likewise.
8374 (fts_alloc): Likewise.
8375 (fts_lfree): Likewise.
8376 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8377 (_IO_file_xsgetn): Likewise.
8378 (_IO_file_xsgetn_mmap): Likewise.
8379 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8380 (_IO_cookie_write): Likewise.
8381 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8382 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8383 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8384 * malloc/obstack.c (_obstack_begin): Likewise.
8385 (_obstack_begin_1): Likewise.
8386 (_obstack_newchunk): Likewise.
8387 (_obstack_allocated_p): Likewise.
8388 (obstack_free): Likewise.
8389 (_obstack_memory_used): Likewise.
8390 * misc/getttyent.c (getttynam): Likewise.
8391 (getttyent): Likewise.
8392 (skip): Likewise.
8393 (value): Likewise.
8394 * misc/getusershell.c (initshells): Likewise.
8395 * misc/syslog.c (__vsyslog_chk): Likewise.
8396 * misc/ttyslot.c (ttyslot): Likewise.
8397 * nis/nis_hash.c (__nis_hash): Likewise.
8398 * posix/fnmatch_loop.c (FCT): Likewise.
8399 * posix/getconf.c (print_all): Likewise.
8400 (main): Likewise.
8401 * posix/getopt.c (exchange): Likewise.
8402 * posix/glob.c (globfree): Likewise.
8403 (prefix_array): Likewise.
8404 (__glob_pattern_type): Likewise.
8405 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8406 (NS_GET32): Likewise.
8407 (NS_PUT16): Likewise.
8408 (NS_PUT32): Likewise.
8409 * resolv/gethnamaddr.c (getanswer): Likewise.
8410 (gethostbyname2): Likewise.
8411 (gethostbyaddr): Likewise.
8412 (_gethtent): Likewise.
8413 (_gethtbyname2): Likewise.
8414 (_gethtbyaddr): Likewise.
8415 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8416 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8417 * resolv/res_init.c (__res_vinit): Likewise.
8418 (net_mask): Likewise.
8419 * resolv/res_mkquery.c (outchar): Likewise.
8420 (PRINT): Likewise.
8421 * stdio-common/printf_fp.c (outchar): Likewise.
8422 (PRINT): Likewise.
8423 * stdio-common/printf_fphex.c (outchar): Likewise.
8424 (PRINT): Likewise.
8425 * stdio-common/printf_size.c (outchar): Likewise.
8426 (PRINT): Likewise.
8427 * stdio-common/test_rdwr.c (main): Likewise.
8428 * stdio-common/tfformat.c (matches): Likewise.
8429 * stdio-common/vfprintf.c (outchar): Likewise.
8430 (printf_unknown): Likewise.
8431 (buffered_vfprintf): Likewise.
8432 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8433 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8434 (ReadFile): Likewise.
8435 * stdlib/qsort.c (SWAP): Likewise.
8436 (_quicksort): Likewise.
8437 * stdlib/setenv.c (__add_to_environ): Likewise.
8438 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8439 * stdlib/strtol_l.c (__strtol_l): Likewise.
8440 * stdlib/tst-strtod.c (main): Likewise.
8441 * stdlib/tst-strtol.c (main): Likewise.
8442 * stdlib/tst-strtoll.c (main): Likewise.
8443 * string/bits/string2.h (__strcmp_cc): Likewise.
8444 (__strcmp_cg): Likewise.
8445 (__strcspn_c1): Likewise.
8446 (__strcspn_c2): Likewise.
8447 (__strcspn_c3): Likewise.
8448 (__strspn_c1): Likewise.
8449 (__strspn_c2): Likewise.
8450 (__strspn_c3): Likewise.
8451 (__strsep_1c): Likewise.
8452 (__strsep_2c): Likewise.
8453 (__strsep_3c): Likewise.
8454 * string/memccpy.c (__memccpy): Likewise.
8455 * string/stpcpy.c (__stpcpy): Likewise.
8456 * string/strcmp.c (strcmp): Likewise.
8457 * string/strrchr.c (strrchr): Likewise.
8458 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8459 Likewise.
8460 * sysdeps/mach/hurd/getcwd.c
8461 (_hurd_canonicalize_directory_name_internal): Likewise.
8462 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8463 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8464 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8465 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8466 Likewise, in both definitions.
8467 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8468 definitions.
8469 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8470 64] (__bswap_64): Likewise.
8471 * time/test_time.c (main): Likewise.
8472 * time/tzfile.c (__tzfile_read): Likewise.
8473 (__tzfile_compute): Likewise.
8474 * time/tzset.c (__tzset_parse_tz): Likewise.
8475 (tzset_internal): Likewise.
8476 (compute_change): Likewise.
8477 * wcsmbs/wcscat.c (__wcscat): Likewise.
8478 * wcsmbs/wcschr.c (wcschr): Likewise.
8479 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8480 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8481 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8482 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8483 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8484 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8485 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8486 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8487 * wcsmbs/wmemset.c (wmemset): Likewise.
8488
9e54314b
JM
84892013-06-06 Joseph Myers <joseph@codesourcery.com>
8490
8491 * scripts/config.guess: Update to version 2013-05-16.
8492 * scripts/config.sub: Update to version 2013-04-24.
8493 * scripts/install-sh: Update to version 2011-11-20.07.
8494 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8495 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8496
350635a5
OB
84972013-06-06 Ondřej Bílka <neleai@seznam.cz>
8498
8499 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8500 * elf/sln.c: Likewise.
8501 * hurd/hurd/ioctl.h: Likewise.
8502 * hurd/hurdmalloc.c: Likewise.
8503 * hurd/xattr.c: Likewise.
8504 * include/shlib-compat.h: Likewise.
8505 * inet/ruserpass.c: Likewise.
8506 * libio/iofgets_u.c: Likewise.
8507 * libio/iofgetws_u.c: Likewise.
8508 * locale/programs/ld-identification.c: Likewise.
8509 * locale/programs/ld-time.c: Likewise.
8510 * mach/msg-destroy.c: Likewise.
8511 * nss/nss_files/files-netgrp.c: Likewise.
8512 * resolv/res_data.c: Likewise.
8513 * soft-fp/op-1.h: Likewise.
8514 * soft-fp/op-2.h: Likewise.
8515 * soft-fp/op-4.h: Likewise.
8516 * soft-fp/op-common.h: Likewise.
8517 * stdio-common/printf_fphex.c: Likewise.
8518 * stdlib/strtod_l.c: Likewise.
8519 * sunrpc/rpc/clnt.h: Likewise.
8520 * sysdeps/generic/framestate.c: Likewise.
8521 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8522 * sysdeps/i386/bsd-setjmp.S: Likewise.
8523 * sysdeps/i386/__longjmp.S: Likewise.
8524 * sysdeps/i386/setjmp.S: Likewise.
8525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8526 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8543 * sysdeps/ieee754/support.c: Likewise.
8544 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8545 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8546 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8547 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8548 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8549 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8550 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8551 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8552 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8553 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8554 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8555 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8556 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8557 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8558 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8559 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8560 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8562
44a988af
OB
85632013-06-05 Ondřej Bílka <neleai@seznam.cz>
8564
25506f09 8565 * posix/transbug.c: Remove executable mode.
44a988af 8566
9c84384c
JM
85672013-06-05 Joseph Myers <joseph@codesourcery.com>
8568
8569 * crypt/speeds.c: Remove trailing whitespace.
8570 * dlfcn/default.c: Likewise.
8571 * elf/ifuncdep2.c: Likewise.
8572 * elf/ifuncmain1.c: Likewise.
8573 * elf/ifuncmain1vis.c: Likewise.
8574 * elf/testobj.h: Likewise.
8575 * elf/tst-stackguard1.c: Likewise.
8576 * gmon/sys/gmon.h: Likewise.
8577 * hurd/hurdmsg.c: Likewise.
8578 * hurd/new-fd.c: Likewise.
8579 * hurd/ports-get.c: Likewise.
8580 * iconvdata/ibm1008_420.c: Likewise.
8581 * inet/tst-getni1.c: Likewise.
8582 * inet/tst-getni2.c: Likewise.
8583 * libio/ioungetc.c: Likewise.
8584 * libio/wfiledoalloc.c: Likewise.
8585 * manual/libm-err-tab.pl: Likewise.
8586 * math/w_dremf.c: Likewise.
8587 * misc/ftruncate.c: Likewise.
8588 * posix/bug-glob2.c: Likewise.
8589 * posix/tst-pcre.c: Likewise.
8590 * posix/wait4.c: Likewise.
8591 * resolv/README: Likewise.
8592 * resolv/res_debug.h: Likewise.
8593 * resolv/tst-inet_ntop.c: Likewise.
8594 * setjmp/bug269-setjmp.c: Likewise.
8595 * soft-fp/extended.h: Likewise.
8596 * soft-fp/op-1.h: Likewise.
8597 * soft-fp/op-2.h: Likewise.
8598 * soft-fp/op-4.h: Likewise.
8599 * soft-fp/op-8.h: Likewise.
8600 * soft-fp/testit.c: Likewise.
8601 * stdio-common/bug16.c: Likewise.
8602 * stdlib/random.c: Likewise.
8603 * sunrpc/rpcsvc/rquota.x: Likewise.
8604 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8614 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8616 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8631 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8633 * sysdeps/ieee754/s_lib_version.c: Likewise.
8634 * sysdeps/mach/hurd/check_fds.c: Likewise.
8635 * sysdeps/mach/hurd/getsockname.c: Likewise.
8636 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8637 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8638 * sysdeps/powerpc/bits/link.h: Likewise.
8639 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8640 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8641 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8642 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8643 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8644 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8645 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8646 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8647 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8648 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8649 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8650 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8651 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8652 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8653 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8654 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8657 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8660 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8662 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8663 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8665 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8666 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8670 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8671 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8673 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8674 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8675 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8676 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8677 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8678 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8679 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8680 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8681 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8682 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8683 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8684 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8685 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8686 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8687 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8688 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8691 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8692 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8693 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8694 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8695 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8696 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8699 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8700 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8701 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8702 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8703 * sysdeps/powerpc/sysdep.h: Likewise.
8704 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8705 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8706 * sysdeps/sh/dl-trampoline.S: Likewise.
8707 * sysdeps/sh/memset.S: Likewise.
8708 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8709 * sysdeps/sh/strlen.S: Likewise.
8710 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8711 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8712 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8713 * sysdeps/sparc/sparc32/rem.S: Likewise.
8714 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8715 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8716 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8717 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8718 * sysdeps/sparc/sparc32/urem.S: Likewise.
8719 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8720 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8721 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8722 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8724 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8725 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8726 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8727 * sysdeps/unix/bsd/times.c: Likewise.
8728 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8729 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8733 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8734 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8735 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8736 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8737 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8738 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8739 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8740 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8741 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8742 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8743 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8744 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8745 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8746 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8747 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8748 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8749 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8750 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8751 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8752 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8753 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8754 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8756 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8757 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8758 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8759 * sysdeps/x86_64/strcspn.S: Likewise.
8760
869378a5
RA
87612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8762
8763 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8764 generated file. Regenerate properly from gen-translit.pl.
8765 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8766 locale/C-translit.h.
8767
840e2943
AS
87682013-06-05 Andreas Schwab <schwab@suse.de>
8769
8770 [BZ #15100]
8771 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8772 week as 6 instead of -1.
8773 * time/tst-strptime.c (day_tests): Add test case.
8774
4c60cb0c
SP
87752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8776
8777 * sysdeps/generic/math_private.h
8778 (libc_feholdexcept_setround_53bit): Replace with
8779 libc_feholdsetround_53bit.
8780 (libc_feupdateenv_53bit): Replace with
8781 libc_feresetround_53bit.
8782 (SET_RESTORE_ROUND_53BIT): Adjust.
8783
d180203e
SP
87842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
96df079a
SP
8786 * string/test-strchrnul.c: Add copyright header.
8787
d180203e
SP
8788 * posix/tst-getaddrinfo4.c: Increase test timeout.
8789
8b0ccb2d
CD
87902013-06-03 Carlos O'Donell <carlos@redhat.com>
8791
8792 [BZ #15536]
8793 * math/libm-test.inc (MAX_EXP): Remove
8794 (MIN_EXP): Define.
8795 (ulp): Use MIN_EXP - MANT_DIG.
8796 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8797
3b3c4d40
CD
87982013-05-31 Carlos O'Donell <carlos@redhat.com>
8799
8800 * po/be.po: Revert last change.
8801 * po/zh_CN.po: Likewise.
8802 * po/header.pot: Likewise.
8803
fab7ce3f
JM
88042013-05-31 Joseph Myers <joseph@codesourcery.com>
8805
8806 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8807 link-libc-deps to empty as target-specific variable.
8808 * Makerules (link-libc-args): New variable.
8809 (libc-for-link): Likewise.
8810 (link-libc-deps): Likewise.
8811 (lib%.so): Depend on $(link-libc-deps). Link with
8812 $(link-libc-args).
8813 (build-module): Link with $(link-libc-args).
8814 (build-module-asneeded): Likewise.
8815 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8816 list of objects.
8817 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8818 target-specific variable.
8819 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8820 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8821 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8822 libc.
8823 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8824 libc and ld.so.
8825 ($(objpfx)libpcprofile.so): Likewise.
8826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8827 libc_nonshared.a.
8828 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8829 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8830 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8831 $(link-libc-deps).
8832 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8833 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8834 * login/Makefile ($(objpfx)libutil.so): Likewise.
8835 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8836 * math/Makefile ($(objpfx)libm.so): Likewise.
8837 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8838 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8839 variable instead of depending directly on libc.
8840 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8841 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8842 $(link-libc-deps).
8843 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8844 libc.
8845 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8846 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8847 ($(objpfx)libanl.so): Likewise.
8848 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8849 ld.so.
8850 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8851 $(link-libc-deps).
8852 * sysdeps/i386/fpu/Makefile: Remove file.
8853 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8854 ($(objpfx)libm.so): Remove dependency on ld.so.
8855
eca5920c
PF
88562013-05-30 Patsy Franklin <pfrankli@redhat.com>
8857
8858 [BZ # 15553]
8859 * nis/yp_xdr.c (XDRMAXNAME): Define.
8860 (XDRMAXRECORD): Define.
8861 (xdr_domainname): Use XDRMAXNAME.
8862 (xdr_mapname): Likewise.
8863 (xdr_peername): Likewise.
8864 (xdr_keydat): Use XDRMAXRECORD.
8865 (xdr_valdat): Likewise.
8866
88672013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8868
8869 [BZ #14256]
8870 * manual/errno.texi (ESTALE): Update to account for more than
8871 just NFS file systems.
8872 * sysdeps/gnu/errlist.c: Regenerated.
8873
b9375348
SP
88742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8875
8876 [BZ #15465]
8877 * elf/Makefile (tests): Add tst-null-argv.
8878 (modules-names): Add tst-null-argv-lib.
8879 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8880 (tst-null-argv-ENV): Set environment for tst-null-argv.
8881 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8882 (RTLD_PROGNAME): New macro.
8883 * elf/tst-null-argv.c: New test case.
8884 * elf/tst-null-argv-lib.c: Library for test case.
8885 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8886 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8887 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8888 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8889 * elf/dl-init.c (call_init): Likewise.
8890 (_dl_init): Likewise.
8891 * elf/dl-load.c (print_search_path): Likewise.
8892 (_dl_map_object): Likewise.
8893 * elf/dl-lookup.c (do_lookup_x): Likewise.
8894 (add_dependency): Likewise.
8895 (_dl_lookup_symbol_x): Likewise.
8896 (_dl_debug_bindings): Likewise.
8897 * elf/dl-open.c (_dl_show_scope): Likewise.
8898 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8899 * elf/dl-version.c (match_symbol): Likewise.
8900 (_dl_check_map_versions): Likewise.
8901 * elf/rtld.c (dl_main): Likewise.
8902 (print_unresolved): Use RTLD_PROGNAME.
8903 (print_missing_version): Likewise.
8904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8905 (elf_machine_rela): Likewise.
8906 * sysdeps/powerpc/powerpc32/dl-machine.c
8907 (__process_machine_rela): Likewise.
8908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8909 Likewise.
8910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8911 Likewise.
8912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8913 Likewise.
8914 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8916 Likewise.
8917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8918 Likewise.
8919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8920
8a9f20c8
CD
89212013-05-28 Carlos O'Donell <carlos@redhat.com>
8922
8923 * po/be.po: Add descriptive title.
8924 * po/zh_CN.po: Likewise.
8925 * po/header.pot: Likewise.
8926
0e60d68e
MF
89272013-05-28 Mike Frysinger <vapier@gentoo.org>
8928
8929 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8930 error message.
8931 (enlarge_archive): Likewise.
8932
56b672e9
BN
89332013-05-28 Ben North <ben@redfrontdoor.org>
8934
8935 * manual/arith.texi (frexp): It is the magnitude of the return
8936 value which lies in [0.5, 1), not the return value itself.
8937
5e056687
AZ
89382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8939
8940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8941
2b66ef5d
TS
89422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8943
528c2405
TS
8944 * stdio-common/bug26.c (main): Correct fscanf template.
8945
07b4c13d
TS
8946 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8947 declare _dl_skip_args.
8948
ec9dd97c
TS
8949 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8950 Don't declare.
8951
2b66ef5d
TS
8952 * manual/platform.texi: Add missing @end deftypefun.
8953
4f8dfe27
JM
89542013-05-24 Joseph Myers <joseph@codesourcery.com>
8955
0323d086
JM
8956 [BZ #15529]
8957 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8958 bit of mantissa of 2^16382.
8959 * math/libm-test.inc (hypot_test_data): Add more tests.
8960
dd4259b9
JM
8961 * math/libm-test.inc: Add drem and pow10 to list of tested
8962 functions.
8963 (pow10_test): New function.
8964 (drem_test): Likewise.
8965 (drem_test_tonearest): Likewise.
8966 (drem_test_towardzero): Likewise.
8967 (drem_test_downward): Likewise.
8968 (drem_test_upward): Likewise.
8969 (main): Call the new functions.
8970
4f8dfe27
JM
8971 * math/libm-test.inc (finite_test_data): Remove.
8972 (finite_test): Run tests from isfinite_test_data.
8973 (gamma_test_data): Remove.
8974 (gamma_test): Run tests from lgamma_test_data.
8975 * sysdeps/i386/fpu/libm-test-ulps: Update.
8976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8977
d116b7c4
AZ
89782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8979
8980 * manual/platform.texi: Add PowerPC PPR function set documentation.
8981 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8982 implementation.
8983
e96e3767
CD
89842013-05-24 Carlos O'Donell <carlos@redhat.com>
8985
8986 * math/libm-test.inc (MAX_EXP): Define.
8987 (ULPDIFF): Define.
8988 (ulp): New function.
8989 (check_float_internal): Use ULPDIFF.
8990 (cpow_test): Disable failing test.
8991 (check_ulp): Test ulp() implemetnation.
8992 (main): Call check_ulp before starting tests.
8993
b679a606
JM
89942013-05-24 Joseph Myers <joseph@codesourcery.com>
8995
e8bdba36
JM
8996 * math/gen-libm-test.pl (generate_testfile): Do not handle
8997 START_DATA and END_DATA.
8998 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8999 END_DATA.
9000 (acos_tonearest_test_data): Likewise.
9001 (acos_towardzero_test_data): Likewise.
9002 (acos_downward_test_data): Likewise.
9003 (acos_upward_test_data): Likewise.
9004 (acosh_test_data): Likewise.
9005 (asin_test_data): Likewise.
9006 (asin_tonearest_test_data): Likewise.
9007 (asin_towardzero_test_data): Likewise.
9008 (asin_downward_test_data): Likewise.
9009 (asin_upward_test_data): Likewise.
9010 (asinh_test_data): Likewise.
9011 (atan_test_data): Likewise.
9012 (atanh_test_data): Likewise.
9013 (atan2_test_data): Likewise.
9014 (cabs_test_data): Likewise.
9015 (cacos_test_data): Likewise.
9016 (cacosh_test_data): Likewise.
9017 (carg_test_data): Likewise.
9018 (casin_test_data): Likewise.
9019 (casinh_test_data): Likewise.
9020 (catan_test_data): Likewise.
9021 (catanh_test_data): Likewise.
9022 (cbrt_test_data): Likewise.
9023 (ccos_test_data): Likewise.
9024 (ccosh_test_data): Likewise.
9025 (ceil_test_data): Likewise.
9026 (cexp_test_data): Likewise.
9027 (cimag_test_data): Likewise.
9028 (clog_test_data): Likewise.
9029 (clog10_test_data): Likewise.
9030 (conj_test_data): Likewise.
9031 (copysign_test_data): Likewise.
9032 (cos_test_data): Likewise.
9033 (cos_tonearest_test_data): Likewise.
9034 (cos_towardzero_test_data): Likewise.
9035 (cos_downward_test_data): Likewise.
9036 (cos_upward_test_data): Likewise.
9037 (cosh_test_data): Likewise.
9038 (cosh_tonearest_test_data): Likewise.
9039 (cosh_towardzero_test_data): Likewise.
9040 (cosh_downward_test_data): Likewise.
9041 (cosh_upward_test_data): Likewise.
9042 (cpow_test_data): Likewise.
9043 (cproj_test_data): Likewise.
9044 (creal_test_data): Likewise.
9045 (csin_test_data): Likewise.
9046 (csinh_test_data): Likewise.
9047 (csqrt_test_data): Likewise.
9048 (ctan_test_data): Likewise.
9049 (ctan_tonearest_test_data): Likewise.
9050 (ctan_towardzero_test_data): Likewise.
9051 (ctan_downward_test_data): Likewise.
9052 (ctan_upward_test_data): Likewise.
9053 (ctanh_test_data): Likewise.
9054 (ctanh_tonearest_test_data): Likewise.
9055 (ctanh_towardzero_test_data): Likewise.
9056 (ctanh_downward_test_data): Likewise.
9057 (ctanh_upward_test_data): Likewise.
9058 (erf_test_data): Likewise.
9059 (erfc_test_data): Likewise.
9060 (exp_test_data): Likewise.
9061 (exp_tonearest_test_data): Likewise.
9062 (exp_towardzero_test_data): Likewise.
9063 (exp_downward_test_data): Likewise.
9064 (exp_upward_test_data): Likewise.
9065 (exp10_test_data): Likewise.
9066 (exp2_test_data): Likewise.
9067 (expm1_test_data): Likewise.
9068 (fabs_test_data): Likewise.
9069 (fdim_test_data): Likewise.
9070 (finite_test_data): Likewise.
9071 (floor_test_data): Likewise.
9072 (fma_test_data): Likewise.
9073 (fma_towardzero_test_data): Likewise.
9074 (fma_downward_test_data): Likewise.
9075 (fma_upward_test_data): Likewise.
9076 (fmax_test_data): Likewise.
9077 (fmin_test_data): Likewise.
9078 (fmod_test_data): Likewise.
9079 (fpclassify_test_data): Likewise.
9080 (frexp_test_data): Likewise.
9081 (gamma_test_data): Likewise.
9082 (hypot_test_data): Likewise.
9083 (ilogb_test_data): Likewise.
9084 (isfinite_test_data): Likewise.
9085 (isgreater_test_data): Likewise.
9086 (isgreaterequal_test_data): Likewise.
9087 (isinf_test_data): Likewise.
9088 (isless_test_data): Likewise.
9089 (islessequal_test_data): Likewise.
9090 (islessgreater_test_data): Likewise.
9091 (isnan_test_data): Likewise.
9092 (isnormal_test_data): Likewise.
9093 (issignaling_test_data): Likewise.
9094 (isunordered_test_data): Likewise.
9095 (j0_test_data): Likewise.
9096 (j1_test_data): Likewise.
9097 (jn_test_data): Likewise.
9098 (ldexp_test_data): Likewise.
9099 (lgamma_test_data): Likewise.
9100 (lrint_test_data): Likewise.
9101 (lrint_tonearest_test_data): Likewise.
9102 (lrint_towardzero_test_data): Likewise.
9103 (lrint_downward_test_data): Likewise.
9104 (lrint_upward_test_data): Likewise.
9105 (llrint_test_data): Likewise.
9106 (llrint_tonearest_test_data): Likewise.
9107 (llrint_towardzero_test_data): Likewise.
9108 (llrint_downward_test_data): Likewise.
9109 (llrint_upward_test_data): Likewise.
9110 (log_test_data): Likewise.
9111 (log10_test_data): Likewise.
9112 (log1p_test_data): Likewise.
9113 (log2_test_data): Likewise.
9114 (logb_test_data): Likewise.
9115 (logb_downward_test_data): Likewise.
9116 (lround_test_data): Likewise.
9117 (llround_test_data): Likewise.
9118 (modf_test_data): Likewise.
9119 (nearbyint_test_data): Likewise.
9120 (nextafter_test_data): Likewise.
9121 (nexttoward_test_data): Likewise.
9122 (pow_test_data): Likewise.
9123 (pow_tonearest_test_data): Likewise.
9124 (pow_towardzero_test_data): Likewise.
9125 (pow_downward_test_data): Likewise.
9126 (pow_upward_test_data): Likewise.
9127 (remainder_test_data): Likewise.
9128 (remainder_tonearest_test_data): Likewise.
9129 (remainder_towardzero_test_data): Likewise.
9130 (remainder_downward_test_data): Likewise.
9131 (remainder_upward_test_data): Likewise.
9132 (remquo_test_data): Likewise.
9133 (rint_test_data): Likewise.
9134 (rint_tonearest_test_data): Likewise.
9135 (rint_towardzero_test_data): Likewise.
9136 (rint_downward_test_data): Likewise.
9137 (rint_upward_test_data): Likewise.
9138 (round_test_data): Likewise.
9139 (scalb_test_data): Likewise.
9140 (scalbn_test_data): Likewise.
9141 (scalbln_test_data): Likewise.
9142 (signbit_test_data): Likewise.
9143 (sin_test_data): Likewise.
9144 (sin_tonearest_test_data): Likewise.
9145 (sin_towardzero_test_data): Likewise.
9146 (sin_downward_test_data): Likewise.
9147 (sin_upward_test_data): Likewise.
9148 (sincos_test_data): Likewise.
9149 (sinh_test_data): Likewise.
9150 (sinh_tonearest_test_data): Likewise.
9151 (sinh_towardzero_test_data): Likewise.
9152 (sinh_downward_test_data): Likewise.
9153 (sinh_upward_test_data): Likewise.
9154 (sqrt_test_data): Likewise.
9155 (tan_test_data): Likewise.
9156 (tan_tonearest_test_data): Likewise.
9157 (tan_towardzero_test_data): Likewise.
9158 (tan_downward_test_data): Likewise.
9159 (tan_upward_test_data): Likewise.
9160 (tanh_test_data): Likewise.
9161 (tgamma_test_data): Likewise.
9162 (trunc_test_data): Likewise.
9163 (y0_test_data): Likewise.
9164 (y1_test_data): Likewise.
9165 (yn_test_data): Likewise.
9166 (significand_test_data): Likewise.
9167
b679a606
JM
9168 * math/gen-libm-test.pl (@functions): Remove variable.
9169 (generate_testfile): Don't handle START and END lines.
9170 * math/libm-test.inc (START): New macro.
9171 (END): Likewise.
9172 (END_COMPLEX): Likewise.
9173 (acos_test): Use END macro without arguments.
9174 (acos_test_tonearest): Likewise.
9175 (acos_test_towardzero): Likewise.
9176 (acos_test_downward): Likewise.
9177 (acos_test_upward): Likewise.
9178 (acosh_test): Likewise.
9179 (asin_test): Likewise.
9180 (asin_test_tonearest): Likewise.
9181 (asin_test_towardzero): Likewise.
9182 (asin_test_downward): Likewise.
9183 (asin_test_upward): Likewise.
9184 (asinh_test): Likewise.
9185 (atan_test): Likewise.
9186 (atanh_test): Likewise.
9187 (atan2_test): Likewise.
9188 (cabs_test): Likewise.
9189 (cacos_test): Use END_COMPLEX macro without arguments.
9190 (cacosh_test): Likewise.
9191 (carg_test): Use END macro without arguments.
9192 (casin_test): Use END_COMPLEX macro without arguments.
9193 (casinh_test): Likewise.
9194 (catan_test): Likewise.
9195 (catanh_test): Likewise.
9196 (cbrt_test): Use END macro without arguments.
9197 (ccos_test): Use END_COMPLEX macro without arguments.
9198 (ccosh_test): Likewise.
9199 (ceil_test): Use END macro without arguments.
9200 (cexp_test): Use END_COMPLEX macro without arguments.
9201 (cimag_test): Use END macro without arguments.
9202 (clog_test): Use END_COMPLEX macro without arguments.
9203 (clog10_test): Likewise.
9204 (conj_test): Likewise.
9205 (copysign_test): Use END macro without arguments.
9206 (cos_test): Likewise.
9207 (cos_test_tonearest): Likewise.
9208 (cos_test_towardzero): Likewise.
9209 (cos_test_downward): Likewise.
9210 (cos_test_upward): Likewise.
9211 (cosh_test): Likewise.
9212 (cosh_test_tonearest): Likewise.
9213 (cosh_test_towardzero): Likewise.
9214 (cosh_test_downward): Likewise.
9215 (cosh_test_upward): Likewise.
9216 (cpow_test): Use END_COMPLEX macro without arguments.
9217 (cproj_test): Likewise.
9218 (creal_test): Use END macro without arguments.
9219 (csin_test): Use END_COMPLEX macro without arguments.
9220 (csinh_test): Likewise.
9221 (csqrt_test): Likewise.
9222 (ctan_test): Likewise.
9223 (ctan_test_tonearest): Likewise.
9224 (ctan_test_towardzero): Likewise.
9225 (ctan_test_downward): Likewise.
9226 (ctan_test_upward): Likewise.
9227 (ctanh_test): Likewise.
9228 (ctanh_test_tonearest): Likewise.
9229 (ctanh_test_towardzero): Likewise.
9230 (ctanh_test_downward): Likewise.
9231 (ctanh_test_upward): Likewise.
9232 (erf_test): Use END macro without arguments.
9233 (erfc_test): Likewise.
9234 (exp_test): Likewise.
9235 (exp_test_tonearest): Likewise.
9236 (exp_test_towardzero): Likewise.
9237 (exp_test_downward): Likewise.
9238 (exp_test_upward): Likewise.
9239 (exp10_test): Likewise.
9240 (exp2_test): Likewise.
9241 (expm1_test): Likewise.
9242 (fabs_test): Likewise.
9243 (fdim_test): Likewise.
9244 (finite_test): Likewise.
9245 (floor_test): Likewise.
9246 (fma_test): Likewise.
9247 (fma_test_towardzero): Likewise.
9248 (fma_test_downward): Likewise.
9249 (fma_test_upward): Likewise.
9250 (fmax_test): Likewise.
9251 (fmin_test): Likewise.
9252 (fmod_test): Likewise.
9253 (fpclassify_test): Likewise.
9254 (frexp_test): Likewise.
9255 (gamma_test): Likewise.
9256 (hypot_test): Likewise.
9257 (ilogb_test): Likewise.
9258 (isfinite_test): Likewise.
9259 (isgreater_test): Likewise.
9260 (isgreaterequal_test): Likewise.
9261 (isinf_test): Likewise.
9262 (isless_test): Likewise.
9263 (islessequal_test): Likewise.
9264 (islessgreater_test): Likewise.
9265 (isnan_test): Likewise.
9266 (isnormal_test): Likewise.
9267 (issignaling_test): Likewise.
9268 (isunordered_test): Likewise.
9269 (j0_test): Likewise.
9270 (j1_test): Likewise.
9271 (jn_test): Likewise.
9272 (ldexp_test): Likewise.
9273 (lgamma_test): Likewise.
9274 (lrint_test): Likewise.
9275 (lrint_test_tonearest): Likewise.
9276 (lrint_test_towardzero): Likewise.
9277 (lrint_test_downward): Likewise.
9278 (lrint_test_upward): Likewise.
9279 (llrint_test): Likewise.
9280 (llrint_test_tonearest): Likewise.
9281 (llrint_test_towardzero): Likewise.
9282 (llrint_test_downward): Likewise.
9283 (llrint_test_upward): Likewise.
9284 (log_test): Likewise.
9285 (log10_test): Likewise.
9286 (log1p_test): Likewise.
9287 (log2_test): Likewise.
9288 (logb_test): Likewise.
9289 (logb_test_downward): Likewise.
9290 (lround_test): Likewise.
9291 (llround_test): Likewise.
9292 (modf_test): Likewise.
9293 (nearbyint_test): Likewise.
9294 (nextafter_test): Likewise.
9295 (nexttoward_test): Likewise.
9296 (pow_test): Likewise.
9297 (pow_test_tonearest): Likewise.
9298 (pow_test_towardzero): Likewise.
9299 (pow_test_downward): Likewise.
9300 (pow_test_upward): Likewise.
9301 (remainder_test): Likewise.
9302 (remainder_test_tonearest): Likewise.
9303 (remainder_test_towardzero): Likewise.
9304 (remainder_test_downward): Likewise.
9305 (remainder_test_upward): Likewise.
9306 (remquo_test): Likewise.
9307 (rint_test): Likewise.
9308 (rint_test_tonearest): Likewise.
9309 (rint_test_towardzero): Likewise.
9310 (rint_test_downward): Likewise.
9311 (rint_test_upward): Likewise.
9312 (round_test): Likewise.
9313 (scalb_test): Likewise.
9314 (scalbn_test): Likewise.
9315 (scalbln_test): Likewise.
9316 (signbit_test): Likewise.
9317 (sin_test): Likewise.
9318 (sin_test_tonearest): Likewise.
9319 (sin_test_towardzero): Likewise.
9320 (sin_test_downward): Likewise.
9321 (sin_test_upward): Likewise.
9322 (sincos_test): Likewise.
9323 (sinh_test): Likewise.
9324 (sinh_test_tonearest): Likewise.
9325 (sinh_test_towardzero): Likewise.
9326 (sinh_test_downward): Likewise.
9327 (sinh_test_upward): Likewise.
9328 (sqrt_test): Likewise.
9329 (tan_test): Likewise.
9330 (tan_test_tonearest): Likewise.
9331 (tan_test_towardzero): Likewise.
9332 (tan_test_downward): Likewise.
9333 (tan_test_upward): Likewise.
9334 (tanh_test): Likewise.
9335 (tgamma_test): Likewise.
9336 (trunc_test): Likewise.
9337 (y0_test): Likewise.
9338 (y1_test): Likewise.
9339 (yn_test): Likewise.
9340 (significand_test): Likewise.
9341
bae143d2
OB
93422013-05-24 Ondřej Bílka <neleai@seznam.cz>
9343
9344 [BZ #15381]
9345 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9346
9323d39b
EM
93472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9348
d4ea44a0 9349 [BZ #14894]
9323d39b
EM
9350 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9351 __ppc_mdoio and __ppc_mdoom.
9352 * manual/platform.texi: Document new functions __ppc_yield,
9353 __ppc_mdoio and __ppc_mdoom.
9354
13e23af7
CD
93552013-05-22 Carlos O'Donell <carlos@redhat.com>
9356
9357 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9358 (main): Mention "tls" pseudo-hwcap is legacy.
9359 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9360
351fe550
JM
93612013-05-22 Joseph Myers <joseph@codesourcery.com>
9362
9363 * math/gen-libm-test.pl (parse_args): Output only string of
9364 arguments as text for test name, not full call or descriptions of
9365 tests for extra outputs.
9366 (generate_testfile): Do not pass function name to parse_args.
9367 Generate this_func variable from START.
9368 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9369 field to arg_str.
9370 (struct test_ff_f_data): Likewise.
9371 (test_ff_f_data_nexttoward): Likewise.
9372 (struct test_fi_f_data): Likewise.
9373 (struct test_fl_f_data): Likewise.
9374 (struct test_if_f_data): Likewise.
9375 (struct test_fff_f_data): Likewise.
9376 (struct test_c_f_data): Likewise.
9377 (struct test_f_f1_data): Likewise. Remove field extra_name.
9378 (struct test_fF_f1_data): Likewise.
9379 (struct test_ffI_f1_data): Likewise.
9380 (struct test_c_c_data): Rename test_name field to arg_str.
9381 (struct test_cc_c_data): Likewise.
9382 (struct test_f_i_data): Likewise.
9383 (struct test_ff_i_data): Likewise.
9384 (struct test_f_l_data): Likewise.
9385 (struct test_f_L_data): Likewise.
9386 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9387 and extra2_name.
9388 (COMMON_TEST_SETUP): New macro.
9389 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9390 (COMMON_TEST_CLEANUP): Likewise.
9391 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9392 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9393 macros.
9394 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9395 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9396 macros.
9397 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9398 (RUN_TEST_fff_f): Take argument string. Call new setup and
9399 cleanup macros.
9400 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9401 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9402 macros.
9403 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9404 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9405 macros.
9406 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9407 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9408 cleanup macros.
9409 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9410 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9411 cleanup macros.
9412 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9413 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9414 cleanup macros.
9415 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9416 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9417 macros.
9418 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9419 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9420 macros.
9421 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9422 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9423 macros.
9424 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9425 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9426 cleanup macros.
9427 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9428 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9429 cleanup macros.
9430 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9431 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9432 macros.
9433 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9434 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9435 cleanup macros.
9436 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9437 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9438 macros.
9439 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9440 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9441 macros.
9442 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9443 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9444 cleanup macros.
9445 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9446
85118d4d
EBM
94472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9448
9449 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9450 to _sifields.sigfault.
9451 (si_addr_lsb): Define new macro.
9452 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9454 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9455
7a44c18f
CD
94562013-05-03 Carlos O'Donell <carlos at redhat.com>
9457
9458 [BZ #15441]
9459 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9460 returns -1.
9461 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9462 null return -1.
9463 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9464 loading the domain.
9465
b50a7181
JM
94662013-05-22 Joseph Myers <joseph@codesourcery.com>
9467
9468 * math/gen-libm-test.pl (parse_args): Do not include expected
9469 result in test name.
9470 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9471 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9472 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9473 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9474 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9476
051063c8
SP
94772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9478
3ce9e010
SP
9479 * benchtests/Makefile: Sort function entries.
9480
051063c8
SP
9481 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9482 tanh, asinh, acosh, atanh.
9483 * benchtests/acos-inputs: New file.
9484 * benchtests/acosh-inputs: New file.
9485 * benchtests/asin-inputs: New file.
9486 * benchtests/asinh-inputs: New file.
9487 * benchtests/atanh-inputs: New file.
9488 * benchtests/cosh-inputs: New file.
9489 * benchtests/log-inputs: New file.
9490 * benchtests/sinh-inputs: New file.
9491 * benchtests/tanh-inputs: New file.
9492
47c22455
DL
94932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9494
9495 [BZ #15339]
9496 * posix/tst-getaddrinfo4.c: New test.
9497 * posix/Makefile (tests): Add it.
9498
3d04f5db
SP
94992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9500
9501 [BZ #15339]
9502 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9503 when no services were used.
9504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9505 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9506
d5dd6189
AS
95072013-05-21 Andreas Schwab <schwab@suse.de>
9508
9509 [BZ #15014]
9510 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9511 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9512 successful.
9513 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9514 redundant variable declarations and reallocation of buffer when
9515 parsing as IPv6 address. Always set NSS status when called from
9516 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9517 buffer too small. Correct computation of needed size.
9518 * nss/Makefile (tests): Add test-digits-dots.
9519 * nss/test-digits-dots.c: New test.
9520
fef94eab
SP
95212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9522
9523 * benchtests/Makefile: Remove instructions for adding
9524 benchmark tests.
9525 * benchtests/README: New file to explain how to execute and
9526 enhance the benchmark tests.
9527
e39adf43
AS
95282013-05-21 Andreas Schwab <schwab@suse.de>
9529
9530 [BZ #15493]
9531 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9532 * setjmp/tst-sigsetjmp.c: New test.
9533
b2b671b6
OB
95342013-05-20 Ondřej Bílka <neleai@seznam.cz>
9535
9536 * sysdeps/x86_64/memset.S (memset): New implementation.
9537 (__bzero): Likewise.
9538 (__memset_tail): New function.
9539
2d48b41c
OB
95402013-05-20 Ondřej Bílka <neleai@seznam.cz>
9541
9542 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9543 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9544 __memcpy_sse2_unaligned ifunc selection.
9545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9546 Add memcpy-sse2-unaligned.S.
9547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9548 Add: __memcpy_sse2_unaligned.
9549
f16cc3eb
JM
95502013-05-19 Joseph Myers <joseph@codesourcery.com>
9551
3e694268
JM
9552 [BZ #15490]
9553 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9554 math_force_eval before restoring floating-point envrionment.
9555 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9557 Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9559 <math_private.h>.
9560 (__nearbyintl): Use math_force_eval before restoring
9561 floating-point environment.
9562 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9563
db62a907
JM
9564 * math/gen-libm-test.pl (special_functions): Remove.
9565 (parse_args): Don't handle TEST_extra. Handle functions with no
9566 return value.
9567 * math/libm-test.inc (struct test_sincos_data): Replace with
9568 struct test_fFF_11_data.
9569 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9570 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9571 (sincos_test_data): Change element type to struct
9572 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9573 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9574 RUN_TEST_LOOP_sincos.
9575 * math/README.libm-test: Don't mention special handling of
9576 individual functions.
9577 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9578 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9579 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9580 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9581 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9583
f16cc3eb
JM
9584 * math/gen-libm-test.pl (get_variable): Remove function.
9585 (parse_args): Don't show pointer parameters to call in test
9586 names. Use "extra output N" in test names for extra outputs
9587 rather than naming variables.
9588
3779b5b6
JM
95892013-05-18 Joseph Myers <joseph@codesourcery.com>
9590
2ee094ff
JM
9591 [BZ #15488]
9592 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9593 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9594 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9595 double tests.
9596 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9597 disable.
9598 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9599 check_long_double.
9600
3779b5b6
JM
9601 * math/gen-libm-test.pl (@tests): Remove variable.
9602 ($count): Likewise.
9603 (new_test): Remove function.
9604 (show_exceptions): New function.
9605 (special_functions): Use show_exceptions instead of new_test.
9606 (parse_args): Likewise.
9607 (generate_testfile): Pass only function name in generated call to
9608 print_max_error or print_complex_max_error.
9609 (get_ulps): Do not handle complex tests specially.
9610 (output_test): Rename to ...
9611 (get_all_ulps_for_test): ... this. Return a string rather than
9612 printing to a file. Require ulps to be present.
9613 (output_ulps): Generate arrays rather than #defines.
9614 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9615 (struct ulp_data): New type.
9616 (BUILD_COMPLEX_ULP): Remove macro.
9617 (compare_ulp_data): New function.
9618 (find_ulps): Likewise.
9619 (find_test_ulps): Likewise.
9620 (find_function_ulps): Likewise.
9621 (find_complex_function_ulps): Likewise.
9622 (print_max_error): Determine allowed ulps using
9623 find_function_ulps.
9624 (print_complex_max_error): Determine allowed ulps using
9625 find_complex_function_ulps.
9626 (check_float_internal): Determine max ulps using find_test_ulps.
9627 (check_float): Do not take max_ulp parameter. Update call to
9628 check_float_internal.
9629 (check_complex): Likewise.
9630 (check_int): Do not take max_ulp parameter.
9631 (check_long): Likewise.
9632 (check_bool): Likewise.
9633 (check_longlong): Likewise.
9634 (struct test_f_f_data): Remove max_ulp field.
9635 (struct test_ff_f_data): Likewise.
9636 (struct test_ff_f_data_nexttoward): Likewise.
9637 (struct test_fi_f_data): Likewise.
9638 (struct test_fl_f_data): Likewise.
9639 (struct test_if_f_data): Likewise.
9640 (struct test_fff_f_data): Likewise.
9641 (struct test_c_f_data): Likewise.
9642 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9643 (struct test_fF_f1_data): Likewise.
9644 (struct test_ffI_f1_data): Likewise.
9645 (struct test_c_c_data): Remove max_ulp field.
9646 (struct test_cc_c_data): Likewise.
9647 (struct test_f_i_data): Likewise.
9648 (struct test_ff_i_data): Likewise.
9649 (struct test_f_l_data): Likewise.
9650 (struct test_f_L_data): Likewise.
9651 (struct test_sincos_data): Likewise.
9652 (RUN_TEST_f_f): Do not handle ulps.
9653 (RUN_TEST_LOOP_f_f): Likewise.
9654 (RUN_TEST_2_f): Likewise.
9655 (RUN_TEST_LOOP_2_f): Likewise.
9656 (RUN_TEST_fff_f): Likewise.
9657 (RUN_TEST_LOOP_fff_f): Likewise.
9658 (RUN_TEST_c_f): Likewise.
9659 (RUN_TEST_LOOP_c_f): Likewise.
9660 (RUN_TEST_f_f1): Likewise.
9661 (RUN_TEST_LOOP_f_f1): Likewise.
9662 (RUN_TEST_fF_f1): Likewise.
9663 (RUN_TEST_LOOP_fF_f1): Likewise.
9664 (RUN_TEST_fI_f1): Likewise.
9665 (RUN_TEST_LOOP_fI_f1): Likewise.
9666 (RUN_TEST_ffI_f1): Likewise.
9667 (RUN_TEST_LOOP_ffI_f1): Likewise.
9668 (RUN_TEST_c_c): Likewise.
9669 (RUN_TEST_LOOP_c_c): Likewise.
9670 (RUN_TEST_cc_c): Likewise.
9671 (RUN_TEST_LOOP_cc_c): Likewise.
9672 (RUN_TEST_f_i): Likewise.
9673 (RUN_TEST_LOOP_f_i): Likewise.
9674 (RUN_TEST_f_i_tg): Likewise.
9675 (RUN_TEST_LOOP_f_i_tg): Likewise.
9676 (RUN_TEST_ff_i_tg): Likewise.
9677 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9678 (RUN_TEST_f_b): Likewise.
9679 (RUN_TEST_LOOP_f_b): Likewise.
9680 (RUN_TEST_f_b_tg): Likewise.
9681 (RUN_TEST_LOOP_f_b_tg): Likewise.
9682 (RUN_TEST_f_l): Likewise.
9683 (RUN_TEST_LOOP_f_l): Likewise.
9684 (RUN_TEST_f_L): Likewise.
9685 (RUN_TEST_LOOP_f_L): Likewise.
9686 (RUN_TEST_sincos): Likewise.
9687 (RUN_TEST_LOOP_sincos): Likewise.
9688
8269107f
JM
96892013-05-17 Joseph Myers <joseph@codesourcery.com>
9690
bb38759d
JM
9691 [BZ #15480]
9692 [BZ #15485]
9693 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9694 main case of finite arguments, set rounding mode to FE_TONEAREST
9695 and discard exceptions.
9696 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9697 exceptions.
9698 (remainder_tonearest_test_data): New variable.
9699 (remainder_test_tonearest): New function.
9700 (remainder_towardzero_test_data): New variable.
9701 (remainder_test_towardzero): New function.
9702 (remainder_downward_test_data): New variable.
9703 (remainder_test_downward): New function.
9704 (remainder_upward_test_data): New variable.
9705 (remainder_test_upward): New function.
9706 (main): Call the new test functions.
9707
a00bdcf0
JM
9708 * math/libm-test.inc (struct test_f_f1_data): Remove field
9709 extra_init.
9710 (struct test_fF_f1_data): Likewise.
9711 (struct test_ffI_f1_data): Likewise.
9712 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9713 based on value of EXTRA_EXPECTED.
9714 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9715 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9716 EXTRA_VAR based on value of EXTRA_EXPECTED.
9717 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9718 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9719 EXTRA_VAR based on value of EXTRA_EXPECTED.
9720 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9721 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9722 EXTRA_VAR based on value of EXTRA_EXPECTED.
9723 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9724 * math/gen-libm-test.pl (parse_args): Don't output initializers
9725 for extra output values.
9726
de407f79
JM
9727 * math/libm-test.inc (check_int): Expect result to be exactly
9728 equal to expected value and do not handle ulps.
9729 (check_long): Likewise.
9730 (check_longlong): Likewise.
9731
8269107f
JM
9732 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9733 exceptions.
9734 (cimag_test_data): Likewise.
9735 (conj_test_data): Likewise.
9736 (copysign_test_data): Likewise.
9737 (cproj_test_data): Likewise.
9738 (creal_test_data): Likewise.
9739 (fabs_test_data): Likewise.
9740 (fdim_test_data): Likewise.
9741 (finite_test_data): Likewise.
9742 (floor_test_data): Likewise.
9743 (fmax_test_data): Likewise.
9744 (fmin_test_data): Likewise.
9745 (fmod_test_data): Likewise.
9746 (fpclassify_test_data): Likewise.
9747 (frexp_test_data): Likewise.
9748 (ilogb_test_data): Likewise.
9749 (isfinite_test_data): Likewise.
9750 (isgreater_test_data): Likewise.
9751 (isgreaterequal_test_data): Likewise.
9752 (isinf_test_data): Likewise.
9753 (isless_test_data): Likewise.
9754 (islessequal_test_data): Likewise.
9755 (islessgreater_test_data): Likewise.
9756 (isnan_test_data): Likewise.
9757 (isnormal_test_data): Likewise.
9758 (issignaling_test_data): Likewise.
9759 (isunordered_test_data): Likewise.
9760 (ldexp_test_data): Likewise.
9761 (lrint_test_data): Likewise.
9762 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9763 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9764 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9765 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9766 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9767 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9768 test input.
9769 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9770 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9771 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9772 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9773 that test input.
9774 (lrint_downward_test_data): Test for "inexact" exceptions.
9775 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9776 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9777 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9778 test input.
9779 (lrint_upward_test_data): Test for "inexact" exceptions.
9780 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9781 test input.
9782 (llrint_test_data): Test for "inexact" exceptions.
9783 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9784 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9785 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9786 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9787 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9788 (llrint_downward_test_data): Test for "inexact" exceptions.
9789 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9790 (llrint_upward_test_data): Test for "inexact" exceptions.
9791 (logb_test_data): Likewise.
9792 (logb_downward_test_data): Likewise.
9793 (nextafter_test_data): Likewise.
9794 (nexttoward_test_data): Likewise.
9795 (remainder_test_data): Likewise.
9796 (remquo_test_data): Likewise.
9797 (scalbn_test_data): Likewise.
9798 (scalbln_test_data): Likewise.
9799 (signbit_test_data): Likewise.
9800 (sqrt_test_data): Likewise.
9801 (significand_test_data): Likewise.
9802
48a18de1
SP
98032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9804
9805 [BZ #15424]
9806 * benchtests/bench-modf.c (struct args): Mark arg0 as
9807 volatile.
9808 * scripts/bench.pl: Mark members of struct args as volatile.
9809
13d3b41a
AZ
98102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9811
68191c1d 9812 [BZ # 15497]
13d3b41a
AZ
9813 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9814 negative infinity on POWER6 or lower.
9815 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9816
2848b105
MR
98172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9818
9819 [BZ #15442]
9820 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9821 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9822 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9823 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9824 (_FP_SETQNAN): New macro.
9825 (_FP_SETQNAN_SEMIRAW): Likewise.
9826 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9827 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9828 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9829 (FP_EXTEND): Use _FP_FRAC_SNANP.
9830 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9831 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9832 into account.
9833 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9834 New macro.
9835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9836 Likewise.
9837
323e5cb7
JM
98382013-05-16 Joseph Myers <joseph@codesourcery.com>
9839
c58b274f
JM
9840 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9841 with DIVIDE_BY_ZERO_EXCEPTION.
9842 (gamma_test_data): Likewise.
9843 (lgamma_test_data): Likewise.
9844 (log_test_data): Likewise.
9845 (log10_test_data): Likewise.
9846 (log2_test_data): Likewise.
9847 (tgamma_test_data): Likewise.
9848
0ab34904
JM
9849 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9850 (acos_test_tonearest): Likewise.
9851 (acos_test_towardzero): Likewise.
9852 (acos_test_downward): Likewise.
9853 (acos_test_upward): Likewise.
9854 (acosh_test): Likewise.
9855 (asin_test): Likewise.
9856 (asin_test_tonearest): Likewise.
9857 (asin_test_towardzero): Likewise.
9858 (asin_test_downward): Likewise.
9859 (asin_test_upward): Likewise.
9860 (asinh_test): Likewise.
9861 (atan_test): Likewise.
9862 (atanh_test): Likewise.
9863 (atan2_test): Likewise.
9864 (cabs_test): Likewise.
9865 (cacos_test): Likewise.
9866 (cacosh_test): Likewise.
9867 (casin_test): Likewise.
9868 (casinh_test): Likewise.
9869 (catan_test): Likewise.
9870 (catanh_test): Likewise.
9871 (cbrt_test): Likewise.
9872 (ccos_test): Likewise.
9873 (ccosh_test): Likewise.
9874 (cexp_test): Likewise.
9875 (clog_test): Likewise.
9876 (clog10_test): Likewise.
9877 (cos_test): Likewise.
9878 (cos_test_tonearest): Likewise.
9879 (cos_test_towardzero): Likewise.
9880 (cos_test_downward): Likewise.
9881 (cos_test_upward): Likewise.
9882 (cosh_test): Likewise.
9883 (cosh_test_tonearest): Likewise.
9884 (cosh_test_towardzero): Likewise.
9885 (cosh_test_downward): Likewise.
9886 (cosh_test_upward): Likewise.
9887 (cpow_test): Likewise.
9888 (csin_test): Likewise.
9889 (csinh_test): Likewise.
9890 (csqrt_test): Likewise.
9891 (ctan_test): Likewise.
9892 (ctan_test_tonearest): Likewise.
9893 (ctan_test_towardzero): Likewise.
9894 (ctan_test_downward): Likewise.
9895 (ctan_test_upward): Likewise.
9896 (ctanh_test): Likewise.
9897 (ctanh_test_tonearest): Likewise.
9898 (ctanh_test_towardzero): Likewise.
9899 (ctanh_test_downward): Likewise.
9900 (ctanh_test_upward): Likewise.
9901 (erf_test): Likewise.
9902 (erfc_test): Likewise.
9903 (exp_test): Likewise.
9904 (exp_test_tonearest): Likewise.
9905 (exp_test_towardzero): Likewise.
9906 (exp_test_downward): Likewise.
9907 (exp_test_upward): Likewise.
9908 (exp10_test): Likewise.
9909 (exp2_test): Likewise.
9910 (expm1_test): Likewise.
9911 (fmod_test): Likewise.
9912 (gamma_test): Likewise.
9913 (hypot_test): Likewise.
9914 (j0_test): Likewise.
9915 (j1_test): Likewise.
9916 (jn_test): Likewise.
9917 (lgamma_test): Likewise.
9918 (log_test): Likewise.
9919 (log10_test): Likewise.
9920 (log1p_test): Likewise.
9921 (log2_test): Likewise.
9922 (logb_test_downward): Likewise.
9923 (pow_test): Likewise.
9924 (pow_test_tonearest): Likewise.
9925 (pow_test_towardzero): Likewise.
9926 (pow_test_downward): Likewise.
9927 (pow_test_upward): Likewise.
9928 (remainder_test): Likewise.
9929 (remquo_test): Likewise.
9930 (sin_test): Likewise.
9931 (sin_test_tonearest): Likewise.
9932 (sin_test_towardzero): Likewise.
9933 (sin_test_downward): Likewise.
9934 (sin_test_upward): Likewise.
9935 (sincos_test): Likewise.
9936 (sinh_test): Likewise.
9937 (sinh_test_tonearest): Likewise.
9938 (sinh_test_towardzero): Likewise.
9939 (sinh_test_downward): Likewise.
9940 (sinh_test_upward): Likewise.
9941 (sqrt_test): Likewise.
9942 (tan_test): Likewise.
9943 (tan_test_tonearest): Likewise.
9944 (tan_test_towardzero): Likewise.
9945 (tan_test_downward): Likewise.
9946 (tan_test_upward): Likewise.
9947 (tanh_test): Likewise.
9948 (tgamma_test): Likewise.
9949 (y0_test): Likewise.
9950 (y1_test): Likewise.
9951 (yn_test): Likewise.
9952
323e5cb7
JM
9953 * math/gen-libm-test.pl (adjust_arg): Remove function.
9954 (special_function): Remove argument $in_func. Only handle
9955 generating output for tables of tests, not inside functions.
9956 (parse_args): Likewise.
9957 (generate_testfile): Remove variable $in_func. Update call to
9958 parse_args.
9959 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9960 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9961 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9962 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9963 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9964 (MAX_VALUE_INIT): Rename macro to max_value.
9965 (MIN_VALUE_INIT): Rename macro to min_value.
9966 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9967 (plus_zero): Remove variable.
9968 (minus_zero): Likewise.
9969 (plus_infty): Likewise.
9970 (minus_infty): Likewise.
9971 (qnan_value): Likewise.
9972 (max_value): Likewise.
9973 (min_value): Likewise.
9974 (min_subnorm_value): Likewise.
9975
e054f494
RA
99762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9977
9978 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9979 uint64_t or uint32_t usage.
9980 * crypt/sha256-block.c: Likewise.
9981 * crypt/sha256-crypt.c: Likewise.
9982 * crypt/sha256.c: Likewise.
9983 * crypt/sha512-block.c: Likewise.
9984 * crypt/sha512-crypt.c: Likewise.
9985 * crypt/sha512.c: Likewise.
9986 * debug/backtrace-tst.c: Likewise.
9987 * debug/pcprofiledump.c: Likewise.
9988 * elf/cache.c: Likewise.
9989 * elf/dl-cache.c: Likewise.
9990 * elf/dl-misc.c: Likewise.
9991 * elf/dl-profile.c: Likewise.
9992 * elf/dl-support.c: Likewise.
9993 * elf/ldconfig.c: Likewise.
9994 * elf/sprof.c: Likewise.
9995 * iconv/dummy-repertoire.c: Likewise.
9996 * iconv/iconv_charmap.c: Likewise.
9997 * iconv/skeleton.c: Likewise.
9998 * iconvdata/8bit-generic.c: Likewise.
9999 * iconvdata/cp737.h: Likewise.
10000 * iconvdata/cp775.h: Likewise.
10001 * iconvdata/ibm1008.h: Likewise.
10002 * iconvdata/ibm1025.h: Likewise.
10003 * iconvdata/ibm1046.h: Likewise.
10004 * iconvdata/ibm1097.h: Likewise.
10005 * iconvdata/ibm1112.h: Likewise.
10006 * iconvdata/ibm1122.h: Likewise.
10007 * iconvdata/ibm1123.h: Likewise.
10008 * iconvdata/ibm1124.h: Likewise.
10009 * iconvdata/ibm1129.h: Likewise.
10010 * iconvdata/ibm1130.h: Likewise.
10011 * iconvdata/ibm1132.h: Likewise.
10012 * iconvdata/ibm1133.h: Likewise.
10013 * iconvdata/ibm1137.h: Likewise.
10014 * iconvdata/ibm1140.h: Likewise.
10015 * iconvdata/ibm1141.h: Likewise.
10016 * iconvdata/ibm1142.h: Likewise.
10017 * iconvdata/ibm1143.h: Likewise.
10018 * iconvdata/ibm1144.h: Likewise.
10019 * iconvdata/ibm1145.h: Likewise.
10020 * iconvdata/ibm1146.h: Likewise.
10021 * iconvdata/ibm1147.h: Likewise.
10022 * iconvdata/ibm1148.h: Likewise.
10023 * iconvdata/ibm1149.h: Likewise.
10024 * iconvdata/ibm1153.h: Likewise.
10025 * iconvdata/ibm1154.h: Likewise.
10026 * iconvdata/ibm1155.h: Likewise.
10027 * iconvdata/ibm1156.h: Likewise.
10028 * iconvdata/ibm1157.h: Likewise.
10029 * iconvdata/ibm1158.h: Likewise.
10030 * iconvdata/ibm1160.h: Likewise.
10031 * iconvdata/ibm1161.h: Likewise.
10032 * iconvdata/ibm1162.h: Likewise.
10033 * iconvdata/ibm1163.h: Likewise.
10034 * iconvdata/ibm1164.h: Likewise.
10035 * iconvdata/ibm1166.h: Likewise.
10036 * iconvdata/ibm1167.h: Likewise.
10037 * iconvdata/ibm12712.h: Likewise.
10038 * iconvdata/ibm1390.h: Likewise.
10039 * iconvdata/ibm1399.h: Likewise.
10040 * iconvdata/ibm16804.h: Likewise.
10041 * iconvdata/ibm4517.h: Likewise.
10042 * iconvdata/ibm4899.h: Likewise.
10043 * iconvdata/ibm4909.h: Likewise.
10044 * iconvdata/ibm4971.h: Likewise.
10045 * iconvdata/ibm5347.h: Likewise.
10046 * iconvdata/ibm803.h: Likewise.
10047 * iconvdata/ibm856.h: Likewise.
10048 * iconvdata/ibm901.h: Likewise.
10049 * iconvdata/ibm902.h: Likewise.
10050 * iconvdata/ibm9030.h: Likewise.
10051 * iconvdata/ibm9066.h: Likewise.
10052 * iconvdata/ibm921.h: Likewise.
10053 * iconvdata/ibm922.h: Likewise.
10054 * iconvdata/ibm9448.h: Likewise.
10055 * iconvdata/isiri-3342.h: Likewise.
10056 * iconvdata/jis0201.h: Likewise.
10057 * include/link.h: Likewise.
10058 * include/netdb.h: Likewise.
10059 * inet/check_native.c: Likewise.
10060 * inet/check_pf.c: Likewise.
10061 * inet/getipv4sourcefilter.c: Likewise.
10062 * inet/getnameinfo.c: Likewise.
10063 * inet/getsourcefilter.c: Likewise.
10064 * inet/htonl.c: Likewise.
10065 * inet/setipv4sourcefilter.c: Likewise.
10066 * inet/setsourcefilter.c: Likewise.
10067 * inet/test-inet6_opt.c: Likewise.
10068 * inet/tst-network.c: Likewise.
10069 * locale/C-collate.c: Likewise.
10070 * locale/C-ctype.c: Likewise.
10071 * locale/C-time.c: Likewise.
10072 * locale/C-translit.h: Likewise.
10073 * locale/loadarchive.c: Likewise.
10074 * locale/programs/3level.h: Likewise.
10075 * locale/programs/charmap.c: Likewise.
10076 * locale/programs/charmap.h: Likewise.
10077 * locale/programs/ld-address.c: Likewise.
10078 * locale/programs/ld-collate.c: Likewise.
10079 * locale/programs/ld-ctype.c: Likewise.
10080 * locale/programs/ld-identification.c: Likewise.
10081 * locale/programs/ld-measurement.c: Likewise.
10082 * locale/programs/ld-messages.c: Likewise.
10083 * locale/programs/ld-monetary.c: Likewise.
10084 * locale/programs/ld-name.c: Likewise.
10085 * locale/programs/ld-numeric.c: Likewise.
10086 * locale/programs/ld-paper.c: Likewise.
10087 * locale/programs/ld-telephone.c: Likewise.
10088 * locale/programs/ld-time.c: Likewise.
10089 * locale/programs/linereader.c: Likewise.
10090 * locale/programs/locale.c: Likewise.
10091 * locale/programs/locarchive.c: Likewise.
10092 * locale/programs/locfile.h: Likewise.
10093 * locale/programs/repertoire.c: Likewise.
10094 * locale/programs/simple-hash.c: Likewise.
10095 * locale/programs/simple-hash.h: Likewise.
10096 * malloc/memusage.c: Likewise.
10097 * malloc/memusagestat.c: Likewise.
10098 * nis/nis_defaults.c: Likewise.
10099 * nis/nis_hash.c: Likewise.
10100 * nis/nis_print.c: Likewise.
10101 * nis/nis_xdr.c: Likewise.
10102 * nscd/connections.c: Likewise.
10103 * nscd/hstcache.c: Likewise.
10104 * nscd/nscd_gethst_r.c: Likewise.
10105 * nscd/nscd_getserv_r.c: Likewise.
10106 * nscd/nscd_helper.c: Likewise.
10107 * nscd/servicescache.c: Likewise.
10108 * nss/makedb.c: Likewise.
10109 * nss/nss_db/db-XXX.c: Likewise.
10110 * nss/nss_db/db-initgroups.c: Likewise.
10111 * nss/nss_db/db-netgrp.c: Likewise.
10112 * nss/nss_files/files-network.c: Likewise.
10113 * nss/nss_files/files-parse.c: Likewise.
10114 * posix/bug-regex5.c: Likewise.
10115 * posix/fnmatch_loop.c: Likewise.
10116 * posix/regcomp.c: Likewise.
10117 * posix/regexec.c: Likewise.
10118 * posix/tst-rfc3484-2.c: Likewise.
10119 * posix/tst-rfc3484-3.c: Likewise.
10120 * posix/tst-rfc3484.c: Likewise.
10121 * resolv/nss_dns/dns-canon.c: Likewise.
10122 * resolv/nss_dns/dns-network.c: Likewise.
10123 * resolv/res_init.c: Likewise.
10124 * resolv/res_mkquery.c: Likewise.
10125 * resolv/tst-aton.c: Likewise.
10126 * stdlib/cxa_atexit.c: Likewise.
10127 * stdlib/cxa_finalize.c: Likewise.
10128 * stdlib/gen-fpioconst.c: Likewise.
10129 * stdlib/strtol_l.c: Likewise.
10130 * string/tst-endian.c: Likewise.
10131 * sunrpc/auth_des.c: Likewise.
10132 * sunrpc/clnt_udp.c: Likewise.
10133 * sunrpc/rtime.c: Likewise.
10134 * sunrpc/svcauth_des.c: Likewise.
10135 * sunrpc/xdr.c: Likewise.
10136 * sunrpc/xdr_intXX_t.c: Likewise.
10137 * sunrpc/xdr_rec.c: Likewise.
10138 * sysdeps/generic/ldconfig.h: Likewise.
10139 * sysdeps/generic/ldsodefs.h: Likewise.
10140 * sysdeps/generic/memusage.h: Likewise.
10141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10144 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10151 * sysdeps/posix/getaddrinfo.c: Likewise.
10152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10154 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10155 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10156 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10157 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10158 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10159 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10160 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10161 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10162 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10163 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10164 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10165 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10166 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10167 * sysdeps/x86_64/dl-tls.h: Likewise.
10168 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10169 * time/alt_digit.c: Likewise.
10170 * time/era.c: Likewise.
10171 * wcsmbs/tst-c16c32-1.c: Likewise.
10172
8c75f674
JM
101732013-05-16 Joseph Myers <joseph@codesourcery.com>
10174
10175 * math/libm-test.inc (struct test_sincos_data): New type.
10176 (RUN_TEST_LOOP_sincos): New macro.
10177 (sincos_test_data): New variable.
10178 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10179
e6e49e59
RH
101802013-05-16 Richard Henderson <rth@redhat.com>
10181
10182 * math/atest-exp2.c (LIMB64): New macro.
10183 (CONSTSZ): New macro.
10184 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10185 (hexdig): Move ...
10186 (print_mpn_fp): ... to function scope.
10187 (read_mpn_hex): Remove.
10188 (get_log2): Remove.
10189 (exp2_mpn): Use mp_log2.
10190 (main): Use mp_exp1.
10191
15c7c18d
JM
101922013-05-16 Joseph Myers <joseph@codesourcery.com>
10193
105a07df
JM
10194 * math/libm-test.inc: Remove comment about not testing "inexact"
10195 exceptions.
10196 (INEXACT_EXCEPTION): New macro.
10197 (NO_INEXACT_EXCEPTION): Likewise.
10198 (INVALID_EXCEPTION_OK): Update value.
10199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10200 (OVERFLOW_EXCEPTION_OK): Likewise.
10201 (UNDERFLOW_EXCEPTION_OK): Likewise.
10202 (IGNORE_ZERO_INF_SIGN): Likewise.
10203 (ERRNO_UNCHANGED): Likewise.
10204 (ERRNO_EDOM): Likewise.
10205 (ERRNO_ERANGE): Likewise.
10206 (test_exceptions): Handle testing "inexact" exceptions.
10207 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10208 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10209 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10210 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10211 INEXACT_EXCEPTION.
10212 (rint_towardzero_test_data): Likewise.
10213 (rint_downward_test_data): Likewise.
10214 (rint_upward_test_data): Likewise.
10215
e9eee333
JM
10216 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10217 with OVERFLOW_EXCEPTION.
10218 (exp10_test_data): Likewise.
10219 (exp2_test_data): Likewise.
10220 (expm1_test_data): Likewise.
10221 (lgamma_test_data): Likewise.
10222 (pow_test_data): Likewise.
10223 (tgamma_test_data): Likewise.
10224 (yn_test_data): Remove duplicate test of overflow.
10225
1c38ff73
JM
10226 * math/libm-test.inc (struct test_cc_c_data): New type.
10227 (RUN_TEST_LOOP_cc_c): New macro.
10228 (cpow_test_data): New variable.
10229 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10230
15c7c18d
JM
10231 * math/libm-test.inc (struct test_f_L_data): New type.
10232 (RUN_TEST_LOOP_f_L): New macro.
10233 (llrint_test_data): New variable.
10234 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10235 (llrint_tonearest_test_data): New variable.
10236 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10237 (llrint_towardzero_test_data): New variable.
10238 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10239 (llrint_downward_test_data): New variable.
10240 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10241 (llrint_upward_test_data): New variable.
10242 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10243 (llround_test_data): New variable.
10244 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10245
f137ff13
PC
102462013-05-13 Peter Collingbourne <pcc@google.com>
10247
10248 * math/atest-exp2.c (get_log2): Remove const attribute.
10249
3608cb24
JM
102502013-05-15 Joseph Myers <joseph@codesourcery.com>
10251
10252 * math/libm-test.inc (struct test_f_l_data): New type.
10253 (RUN_TEST_LOOP_f_l): New macro.
10254 (lrint_test_data): New variable.
10255 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10256 (lrint_tonearest_test_data): New variable.
10257 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10258 (lrint_towardzero_test_data): New variable.
10259 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10260 (lrint_downward_test_data): New variable.
10261 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10262 (lrint_upward_test_data): New variable.
10263 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10264 (lround_test_data): New variable.
10265 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10266
39b1f617
PC
102672013-05-15 Peter Collingbourne <pcc@google.com>
10268
1deff3dc
PC
10269 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10270 (EXTRACT_WORDS64) Use where appropriate.
10271 (INSERT_WORDS64) Likewise.
10272
791f3ba0
PC
10273 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10274 constraints with x constraints.
10275 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10276
39b1f617
PC
10277 * malloc/obstack.c (_obstack_compat): Add initializer.
10278
12fba011
EM
102792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10280
10281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10282 si_trapno and add si_addr_lsb to _sifields.sigfault.
10283 (si_trapno): Remove macro.
10284 (si_addr_lsb): Define new macro.
10285 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10286
d369f531
JM
102872013-05-15 Joseph Myers <joseph@codesourcery.com>
10288
b861c6c4
JM
10289 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10290 instead of TEST_f_l.
10291 (llrint_test_tonearest): Likewise.
10292 (llrint_test_towardzero): Likewise.
10293 (llrint_test_downward): Likewise.
10294 (llrint_test_upward): Likewise.
10295 (llround_test): Likewise.
10296
7abeee12
JM
10297 * math/libm-test.inc (struct test_f_i_data): Add comment.
10298 (RUN_TEST_LOOP_f_b): New macro.
10299 (RUN_TEST_LOOP_f_b_tg): Likewise.
10300 (finite_test_data): New variable.
10301 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10302 (isfinite_test_data): New variable.
10303 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10304 (isinf_test_data): New variable.
10305 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10306 (isnan_test_data): New variable.
10307 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10308 (isnormal_test_data): New variable.
10309 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10310 (issignaling_test_data): New variable.
10311 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10312 (signbit_test_data): New variable.
10313 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10314
cbe8c4d3
JM
10315 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10316 with INVALID_EXCEPTION.
10317 (acosh_test_data): Likewise.
10318 (asin_test_data): Likewise.
10319 (atanh_test_data): Likewise.
10320 (fmod_test_data): Likewise.
10321 (log_test_data): Likewise.
10322 (log10_test_data): Likewise.
10323 (log2_test_data): Likewise.
10324 (pow_test_data): Likewise.
10325 (sqrt_test_data): Likewise.
10326 (y0_test_data): Likewise.
10327 (y1_test_data): Likewise.
10328 (yn_test_data): Likewise.
10329
5575c0e5
JM
10330 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10331 function contents.
10332
d369f531
JM
10333 * math/libm-test.inc (struct test_ff_i_data): New type.
10334 (RUN_TEST_LOOP_ff_i_tg): New macro.
10335 (isgreater_test_data): New variable.
10336 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10337 (isgreaterequal_test_data): New variable.
10338 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10339 (isless_test_data): New variable.
10340 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10341 (islessequal_test_data): New variable.
10342 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10343 (islessgreater_test_data): New variable.
10344 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10345 (isunordered_test_data): New variable.
10346 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10347
781fd748
DM
103482013-05-14 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10351
87aa21df
JM
103522013-05-14 Joseph Myers <joseph@codesourcery.com>
10353
5e908270
JM
10354 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10355
f71172e5
JM
10356 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10357 extra_test to int.
10358 (struct test_f_i_data): Change type of max_ulp to int.
10359
8cfa635a
JM
10360 * math/libm-test.inc (test_ffI_f1_data): New type.
10361 (RUN_TEST_LOOP_ffI_f1): New macro.
10362 (remquo_test_data): New variable.
10363 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10364
2bcb36b2
JM
10365 * setjmp/tst-setjmp-fp.c: New file.
10366 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10367 (link-libm): New variable.
10368 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10369
acbd839a
JM
10370 * math/libm-test.inc (struct test_f_i_data): New type.
10371 (RUN_TEST_LOOP_f_i): New macro.
10372 (RUN_TEST_LOOP_f_i_tg): Likewise.
10373 (fpclassify_test_data): New variable.
10374 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10375 (ilogb_test_data): New variable.
10376 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10377
e414d745
JM
10378 * math/libm-test.inc (scalbln_test): Correct function name in END
10379 call.
10380
d9c2a0fd
JM
10381 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10382 (RUN_TEST_LOOP_fI_f1): New macro.
10383 (frexp_test_data): New variable.
10384 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10385
9dc9095d
JM
10386 * math/libm-test.inc (struct test_fF_f1_data): New type.
10387 (RUN_TEST_LOOP_fF_f1): New macro.
10388 (modf_test_data): New variable.
10389 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10390
87aa21df
JM
10391 * math/libm-test.inc (struct test_f_f1_data): New type.
10392 (RUN_TEST_LOOP_f_f1): New macro.
10393 (gamma_test_data): New variable.
10394 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10395 (lgamma_test_data): New variable.
10396 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10397
141af660
CD
103982013-05-13 Carlos O'Donell <carlos@redhat.com>
10399
10400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10401 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10402 (main): Comment "tls" pseudo-hwcap.
10403
6d33265c
JM
104042013-05-13 Joseph Myers <joseph@codesourcery.com>
10405
68fc074c
JM
10406 * math/libm-test.inc (struct test_fl_f_data): New type.
10407 (RUN_TEST_LOOP_fl_f): New variable.
10408 (scalbln_test_data): New variable.
10409 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10410
243216e1
JM
10411 * math/libm-test.inc (struct test_fi_f_data): New type.
10412 (RUN_TEST_LOOP_fi_f): New macro.
10413 (ldexp_test_data): New variable.
10414 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10415 (scalbn_test_data): New variable.
10416 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10417
6a1992e2
JM
10418 * math/libm-test.inc (struct test_c_f_data): New type.
10419 (RUN_TEST_LOOP_c_f): New macro.
10420 (cabs_test_data): New variable.
10421 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10422 (carg_test_data): New variable.
10423 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10424 (cimag_test_data): New variable.
10425 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10426 (creal_test_data): New variable.
10427 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10428
0e400df5
JM
10429 * math/libm-test.inc (struct test_if_f_data): New type.
10430 (RUN_TEST_LOOP_if_f): New macro.
10431 (jn_test_data): New variable.
10432 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10433 (yn_test_data): New variable.
10434 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10435
6d33265c
JM
10436 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10437
f98ece5f
AZ
104382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439
10440 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10441 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10442
0f7d347b
SP
104432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10444
43fe811b
SP
10445 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10446 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10447 (bench-deps): Add bench-timing.h.
10448 * benchtests-bench-skeleton.c: Include bench-timing.h.
10449 (main): Use TIMING_* macros instead of clock_gettime.
10450 * benchtests/bench-timing.h: New file.
10451
0f7d347b
SP
10452 [BZ #14582]
10453 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10454 Renamed from _LIB_VERSION.
10455 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10456
601a3a5f
JM
104572013-05-12 Joseph Myers <joseph@codesourcery.com>
10458
4f184d30
JM
10459 * math/libm-test.inc (struct test_fff_f_data): New type.
10460 (RUN_TEST_LOOP_fff_f): New macro.
10461 (fma_test_data): New variable.
10462 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10463 (fma_towardzero_test_data): New variable.
10464 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10465 (fma_downward_test_data): New variable.
10466 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10467 (fma_upward_test_data): New variable.
10468 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10469
08198877
JM
10470 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10471 (struct test_c_c_data): New type.
10472 (RUN_TEST_LOOP_c_c): New macro.
10473 (cacos_test_data): New variable.
10474 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10475 (cacosh_test_data): New variable.
10476 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10477 (casin_test_data): New variable.
10478 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10479 (casinh_test_data): New variable.
10480 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10481 (catan_test_data): New variable.
10482 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10483 (catanh_test_data): New variable.
10484 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10485 (ccos_test_data): New variable.
10486 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10487 (ccosh_test_data): New variable.
10488 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10489 (cexp_test_data): New variable.
10490 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10491 (clog_test_data): New variable.
10492 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10493 (clog10_test_data): New variable.
10494 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10495 (conj_test_data): New variable.
10496 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10497 (cproj_test_data): New variable.
10498 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10499 (csin_test_data): New variable.
10500 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10501 (csinh_test_data): New variable.
10502 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10503 (csqrt_test_data): New variable.
10504 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10505 (ctan_test_data): New variable.
10506 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10507 (ctan_tonearest_test_data): New variable.
10508 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10509 (ctan_towardzero_test_data): New variable.
10510 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10511 (ctan_downward_test_data): New variable.
10512 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10513 (ctan_upward_test_data): New variable.
10514 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10515 (ctanh_test_data): New variable.
10516 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10517 (ctanh_tonearest_test_data): New variable.
10518 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10519 (ctanh_towardzero_test_data): New variable.
10520 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10521 (ctanh_downward_test_data): New variable.
10522 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10523 (ctanh_upward_test_data): New variable.
10524 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10525 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10526 of BUILD_COMPLEX.
10527
601a3a5f
JM
10528 * math/libm-test.inc (struct test_ff_f_data): New type.
10529 (struct test_ff_f_data_nexttoward): Likewise.
10530 (RUN_TEST_LOOP_2_f): New macro.
10531 (RUN_TEST_LOOP_ff_f): Likewise.
10532 (atan2_test_data): New variable.
10533 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10534 (copysign_test_data): New variable.
10535 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10536 (fdim_test_data): New variable.
10537 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10538 (fmax_test_data): New variable.
10539 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10540 (fmin_test_data): New variable.
10541 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10542 (fmod_test_data): New variable.
10543 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10544 (hypot_test_data): New variable.
10545 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10546 (nextafter_test_data): New variable.
10547 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10548 (nexttoward_test_data): New variable.
10549 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10550 (pow_test_data): New variable.
10551 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10552 (pow_tonearest_test_data): New variable.
10553 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10554 (pow_towardzero_test_data): New variable.
10555 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10556 (pow_downward_test_data): New variable.
10557 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10558 (pow_upward_test_data): New variable.
10559 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10560 (remainder_test_data): New variable.
10561 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10562 (scalb_test_data): New variable.
10563 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10564 * sysdeps/i386/fpu/libm-test-ulps: Update.
10565
74c57478
JM
105662013-05-11 Joseph Myers <joseph@codesourcery.com>
10567
8329e4da
JM
10568 * math/libm-test.inc (fma_test): Use max_value instead of local
10569 variable fltmax.
10570 (nextafter_test): Likewise.
10571
74c57478
JM
10572 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10573 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10574 (acos_downward_test_data): New variable.
10575 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10576 (acos_upward_test_data): New variable.
10577 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10578 (acosh_test_data): New variable.
10579 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10580 (asin_test_data): New variable.
10581 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10582 (asin_tonearest_test_data): New variable.
10583 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10584 (asin_towardzero_test_data): New variable.
10585 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10586 (asin_downward_test_data): New variable.
10587 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10588 (asin_upward_test_data): New variable.
10589 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10590 (asinh_test_data): New variable.
10591 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10592 (atan_test_data): New variable.
10593 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10594 (atanh_test_data): New variable.
10595 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10596 (cbrt_test_data): New variable.
10597 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10598 (ceil_test_data): New variable.
10599 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10600 (cos_test_data): New variable.
10601 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10602 (cos_tonearest_test_data): New variable.
10603 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10604 (cos_towardzero_test_data): New variable.
10605 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10606 (cos_downward_test_data): New variable.
10607 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10608 (cos_upward_test_data): New variable.
10609 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10610 (cosh_test_data): New variable.
10611 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10612 (cosh_tonearest_test_data): New variable.
10613 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10614 (cosh_towardzero_test_data): New variable.
10615 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10616 (cosh_downward_test_data): New variable.
10617 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10618 (cosh_upward_test_data): New variable.
10619 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10620 (erf_test_data): New variable.
10621 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10622 (erfc_test_data): New variable.
10623 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10624 (exp_test_data): New variable.
10625 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10626 (exp_tonearest_test_data): New variable.
10627 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10628 (exp_towardzero_test_data): New variable.
10629 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10630 (exp_downward_test_data): New variable.
10631 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10632 (exp_upward_test_data): New variable.
10633 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10634 (exp10_test_data): New variable.
10635 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10636 (exp2_test_data): New variable.
10637 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10638 (expm1_test_data): New variable.
10639 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10640 (fabs_test_data): New variable.
10641 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10642 (floor_test_data): New variable.
10643 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10644 (j0_test_data): New variable.
10645 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10646 (j1_test_data): New variable.
10647 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10648 (log_test_data): New variable.
10649 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10650 (log10_test_data): New variable.
10651 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10652 (log1p_test_data): New variable.
10653 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10654 (log2_test_data): New variable.
10655 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10656 (logb_test_data): New variable.
10657 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10658 (logb_downward_test_data): New variable.
10659 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10660 (nearbyint_test_data): New variable.
10661 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10662 (rint_test_data): New variable.
10663 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10664 (rint_tonearest_test_data): New variable.
10665 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10666 (rint_towardzero_test_data): New variable.
10667 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10668 (rint_downward_test_data): New variable.
10669 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10670 (rint_upward_test_data): New variable.
10671 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10672 (round_test_data): New variable.
10673 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10674 (sin_test_data): New variable.
10675 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10676 (sin_tonearest_test_data): New variable.
10677 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10678 (sin_towardzero_test_data): New variable.
10679 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10680 (sin_downward_test_data): New variable.
10681 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10682 (sin_upward_test_data): New variable.
10683 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10684 (sinh_test_data): New variable.
10685 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10686 (sinh_tonearest_test_data): New variable.
10687 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10688 (sinh_towardzero_test_data): New variable.
10689 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10690 (sinh_downward_test_data): New variable.
10691 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10692 (sinh_upward_test_data): New variable.
10693 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10694 (sqrt_test_data): New variable.
10695 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10696 (tan_test_data): New variable.
10697 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10698 (tan_tonearest_test_data): New variable.
10699 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10700 (tan_towardzero_test_data): New variable.
10701 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10702 (tan_downward_test_data): New variable.
10703 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10704 (tan_upward_test_data): New variable.
10705 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10706 (tanh_test_data): New variable.
10707 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10708 (tgamma_test_data): New variable.
10709 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10710 (trunc_test_data): New variable.
10711 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10712 (y0_test_data): New variable.
10713 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10714 (y1_test_data): New variable.
10715 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10716 (significand_test_data): New variable.
10717 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10718
7187d844
CG
107192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10720
10721 [BZ #12387]
10722 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10723
f63fae73
PT
107242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10725
10726 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10727
8a67a4b3
AJ
107282013-05-10 Andreas Jaeger <aj@suse.de>
10729
10730 [BZ #15448]
10731 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10732 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10733
51df539d
JM
107342013-05-10 Joseph Myers <joseph@codesourcery.com>
10735
10736 * math/gen-libm-test.pl (adjust_arg): New function.
10737 (special_functions): Handle generating output in both functions
10738 and arrays.
10739 (parse_args): Likewise.
10740 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10741 $in_func argument to parse_args.
10742 * math/libm-test.inc (struct test_f_f_data): New type.
10743 (IF_ROUND_INIT_): New macro.
10744 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10745 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10746 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10747 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10748 (ROUND_RESTORE_): Likewise.
10749 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10750 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10751 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10752 (ROUND_RESTORE_FE_UPWARD): Likewise.
10753 (RUN_TEST_LOOP_f_f): New macro.
10754 (acos_test_data): New variable.
10755 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10756 (acos_tonearest_test_data): New variable.
10757 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10758
5c637fe5
SP
107592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10760
10761 * benchtests/bench-skeleton.c (startup): Fix coding style.
10762
ab2b9461
JM
107632013-05-10 Joseph Myers <joseph@codesourcery.com>
10764
10765 [BZ #6809]
10766 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10767 negative infinity argument.
10768 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10769 negative infinity argument.
10770 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10771 negative infinity argument.
10772 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10773 domain errors.
10774
4c0fe6fe
FW
107752013-05-10 Florian Weimer <fweimer@redhat.com>
10776
10777 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10778 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10779 * iconv/iconv_prog.c (main): Likewise.
10780 * locale/programs/charmap-dir.c (charmap_readdir)
10781 (fopen_uncompressed): Likewise.
10782 * locale/programs/locfile.c (siblings_uncached)
10783 (write_locale_data): Use lstat64 instead of lstat.
10784 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10785 stat.
10786
a3375d29
AJ
107872013-05-10 Andreas Jaeger <aj@suse.de>
10788
10789 [BZ #15395]
10790 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10791 localization.
10792 Include <locale.h>.
10793
36129722
CD
107942013-05-09 Carlos O'Donell <carlos@redhat.com>
10795
10796 * elf/dl-close.c (_dl_close_worker): Add comments.
10797
faa7f811
JM
107982013-05-09 Joseph Myers <joseph@codesourcery.com>
10799
ed41ffef
JM
10800 [BZ #15359]
10801 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10802 high part of pi/2.
10803 (__ieee754_rem_pio2l): Update comments.
10804
d0213cd0
JM
10805 [BZ #15429]
10806 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10807 high part of pi/2.
10808 (__ieee754_rem_pio2l): Update comments.
10809
0d3e777a
JM
10810 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10811 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10812
24f56066
JM
10813 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10814 M_PI_4l.
10815
faa7f811
JM
10816 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10817 (M_PI_34_LOG10El): Likewise.
10818 (M_PI2_LOG10El): Likewise.
10819 (M_PI4_LOG10El): Likewise.
10820 (M_PI_LOG10El): Likewise.
10821
e9a5e0fd
AZ
108222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10823
10824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10825
d8cd06db
JM
108262013-05-08 Joseph Myers <joseph@codesourcery.com>
10827
a0d9f9d7
JM
10828 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10829 (MINUS_ZERO_INIT): Likewise.
10830 (PLUS_INFTY_INIT): Likewise.
10831 (MINUS_INFTY_INIT): Likewise.
10832 (QNAN_VALUE_INIT): Likewise.
10833 (MAX_VALUE_INIT): Likewise.
10834 (MIN_VALUE_INIT): Likewise.
10835 (MIN_SUBNORM_VALUE_INIT): Likewise.
10836 (plus_zero): Initialize with PLUS_ZERO_INIT.
10837 (minus_zero): Initialize with MINUS_ZERO_INIT.
10838 (plus_infty): Initialize with PLUS_INFTY_INIT.
10839 (minus_infty): Initialize with MINUS_INFTY_INIT.
10840 (qnan_value): Initialize with QNAN_VALUE_INIT.
10841 (max_value): Initialize with MAX_VALUE_INIT.
10842 (min_value): Initialize with MIN_VALUE_INIT.
10843 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10844
ae08db3b
JM
10845 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10846 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10847 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10848 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10849
f44bf14a
JM
10850 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10851 (RUN_TEST_2_f): Likewise.
10852 (RUN_TEST_ff_f): Likewise.
10853 (RUN_TEST_fi_f): Likewise.
10854 (RUN_TEST_fl_f): Likewise.
10855 (RUN_TEST_fff_f): Likewise.
10856 (RUN_TEST_c_f): Likewise.
10857 (RUN_TEST_f_f1): Likewise.
10858 (RUN_TEST_fF_f1): Likewise.
10859 (RUN_TEST_fI_f1): Likewise.
10860 (RUN_TEST_ffI_f1): Likewise.
10861 (RUN_TEST_c_c): Likewise.
10862 (RUN_TEST_cc_c): Likewise.
10863 (RUN_TEST_f_i): Likewise.
10864 (RUN_TEST_f_i_tg): Likewise.
10865 (RUN_TEST_ff_i_tg): Likewise.
10866 (RUN_TEST_f_b): Likewise.
10867 (RUN_TEST_f_b_tg): Likewise.
10868 (RUN_TEST_f_l): Likewise.
10869 (RUN_TEST_f_L): Likewise.
10870 (RUN_TEST_sincos): Likewise.
10871 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10872 whether to show exceptions. Do not include ");\n" in return
10873 value.
10874 (special_functions): Output call to RUN_TEST_sincos instead of
10875 check_float calls. Update calls to new_test.
10876 (parse_args): Output call to single RUN_TEST_* macro instead of
10877 check_* calls and other assignments. Update calls to new_test.
10878
d8cd06db
JM
10879 [BZ #2546]
10880 [BZ #2560]
10881 [BZ #5159]
10882 [BZ #15426]
10883 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10884 input to result for tgamma overflow.
10885 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10886 (gamma_coeff): New variable.
10887 (NCOEFF): New macro.
10888 (gamma_positive): New function.
10889 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10890 underflow here. Use gamma_positive instead of exp (lgamma) for
10891 other arguments.
10892 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10893 (gamma_coeff): New variable.
10894 (NCOEFF): New macro.
10895 (gammaf_positive): New function.
10896 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10897 underflow here. Use gamma_positive instead of exp (lgamma) for
10898 other arguments.
10899 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10900 (gamma_coeff): New variable.
10901 (NCOEFF): New macro.
10902 (gammal_positive): New function.
10903 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10904 underflow here. Use gamma_positive instead of exp (lgamma) for
10905 other arguments.
10906 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10907 (gamma_coeff): New variable.
10908 (NCOEFF): New macro.
10909 (gammal_positive): New function.
10910 (__ieee754_gammal_r): Handle positive infinity, overflow and
10911 underflow here. Handle NaN the same as positive infinity. Remove
10912 check x < 0xffffffff for negative integers. Use gamma_positive
10913 instead of exp (lgamma) for other arguments.
10914 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10915 (gamma_coeff): New variable.
10916 (NCOEFF): New macro.
10917 (gammal_positive): New function.
10918 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10919 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10923 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10924 * sysdeps/generic/math_private.h (__gamma_productf): New
10925 prototype.
10926 (__gamma_product): Likewise.
10927 (__gamma_productl): Likewise.
10928 * math/Makefile (libm-calls): Add gamma_product.
10929 * math/libm-test.inc (tgamma_test): Add more tests.
10930 * sysdeps/i386/fpu/libm-test-ulps: Update.
10931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10932
bb7cf681
OB
109332013-05-08 Ondřej Bílka <neleai@seznam.cz>
10934
10935 * benchtests/bench-skeleton.c (main): Preheat CPU.
10936
ba853947
AJ
109372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10938
10939 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10940
8347c74c
RM
109412013-05-07 Roland McGrath <roland@hack.frob.com>
10942
10943 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10944 and _dl_skip_args_internal.
10945
e8dd4791
CD
109462013-05-07 Carlos O'Donell <carlos@redhat.com>
10947
10948 * manual/message.texi (Message Translation): Talk about users.
10949 Message to key mapping impacts design.
10950
c7405830
RM
109512013-05-06 Roland McGrath <roland@hack.frob.com>
10952
a9173057
RM
10953 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10954
976e2f03
RM
10955 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10956
9723ffc5
RM
10957 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10958 * sysdeps/wordsize-64/glob64.c: ... here.
10959
962e6658
RM
10960 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10961 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10962 New macros.
10963
ee586a6d
RM
10964 * debug/getlogin_r_chk.c: Moved to ...
10965 * login/getlogin_r_chk.c: ... here.
10966 * debug/Makefile (routines): Move getlogin_r_chk to ...
10967 * login/Makefile (routines): ... here.
10968 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10969 * login/Versions (libc: GLIBC_2.4): ... here.
10970
355f9165
RM
10971 * io/poll.c (__poll): Renamed from poll.
10972 Add libc_hidden_def.
10973 (poll): Define as weak alias.
10974
bd9ffde6
RM
10975 * debug/ptsname_r_chk.c: Moved to ...
10976 * login/ptsname_r_chk.c: ... here.
10977 * debug/Makefile (routines): Move ptsname_r_chk to ...
10978 * login/Makefile (routines): ... here.
10979 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10980 * login/Versions (libc: GLIBC_2.4): ... here.
10981
8fb16a04
RM
10982 * posix/getlogin.c: Moved to ...
10983 * login/getlogin.c: ... here.
10984 * posix/getlogin_r.c: Moved to ...
10985 * login/getlogin_r.c: ... here.
10986 * posix/getlogin_r.c: Moved to ...
10987 * login/getlogin_r.c: ... here.
10988 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10989 * login/Makefile (routines): ... here.
10990 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10991 * login/Versions (libc: GLIBC_2.0): ... here.
10992
b99b892f
RM
10993 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10994 (setrlimit): Define as weak alias.
10995
c7405830
RM
10996 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10997 Call __ names for open, ftruncate, and close.
10998 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10999 (truncate): Define as weak alias.
11000
5bf96de5
JM
110012013-05-06 Joseph Myers <joseph@codesourcery.com>
11002
9ea3513c
JM
11003 * math/gen-libm-test.pl (parse_args): Initialize x before each
11004 test of frexp, modf and remquo.
11005
5bf96de5
JM
11006 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11007 test signgam value.
11008
16e616a7
AZ
110092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11010
11011 [BZ #15418]
11012 [BZ #15419]
11013 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11014 internal tests.
11015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11016
d5e82754
RM
110172013-05-06 Roland McGrath <roland@hack.frob.com>
11018
11019 * elf/dl-writev.h: New file.
11020 * elf/dl-misc.c: Include it.
11021 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11022 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11023
a7548d41
JM
110242013-05-04 Joseph Myers <joseph@codesourcery.com>
11025
b7dab1e4
JM
11026 * math/libm-test.inc (noXFails): Remove variable.
11027 (noXPasses): Likewise.
11028 (BUILD_COMPLEX_INT): Remove macro.
11029 (print_screen): Remove xfail argument.
11030 (print_screen_max_error): Likewise.
11031 (update_stats): Likewise.
11032 (print_max_error): Likewise. Update calls to other affected
11033 functions.
11034 (print_complex_max_error): Likewise.
11035 (test_single_exception): Update calls to print_screen.
11036 (test_single_errno): Likewise.
11037 (check_float_internal): Remove xfail argument. Update calls to
11038 other affected functions.
11039 (check_float): Likewise.
11040 (check_complex): Likewise.
11041 (check_int): Likewise.
11042 (check_long): Likewise.
11043 (check_bool): Likewise.
11044 (check_longlong): Likewise.
11045 (main): Don't print noXFails and noXPasses.
11046 * math/gen-libm-test.pl (top level): Don't mention expected
11047 failure handling in comment.
11048 (new_test): Don't handle expected failures.
11049 (parse_args): Don't mention expected failure handling in comment.
11050 (generate_testfile): Don't handle expected failures.
11051 (parse_ulps): Likewise.
11052 (print_ulps_file): Likewise.
11053 (get_failure): Remove function.
11054 (output_test): Don't handle expected failures.
11055 * make/README.libm-test: Don't mention expected failure handling.
11056
a7548d41
JM
11057 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11058 (minus_zero): Likewise.
11059 (plus_infty): Likewise.
11060 (minus_infty): Likewise.
11061 (qnan_value): Likewise.
11062 (max_value): Likewise.
11063 (min_value): Likewise.
11064 (min_subnorm_value): Likewise.
11065 (initialize): Do not initialize those variables dynamically.
11066
60bfd54c
RM
110672013-05-03 Roland McGrath <roland@hack.frob.com>
11068
cc0e6ed8
RM
11069 * io/open.c (__open_2): Moved to ...
11070 * io/open_2.c: ... this new file.
11071 * io/open64.c (__open64_2): Moved to ...
11072 * io/open64_2.c: ... this new file.
11073 * io/openat.c (__openat_2): Moved to ...
11074 * io/openat_2.c: ... this new file.
11075 * io/openat64.c (__openat64_2): Moved to ...
11076 * io/openat64_2.c: ... this new file.
11077 * io/Makefile (routines): Add them.
11078 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11079 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11080 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11081 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11082 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11083 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11084 (__openat64): Add hidden_ver.
11085 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11086 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11087
60bfd54c
RM
11088 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11089 Separately conditionalize setting of GLRO(dl_sysinfo) so
11090 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11091 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11092
83e7640f
AZ
110932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11094
11095 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11097 definition.
11098 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11099 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11100 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11101 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11102 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11103
d5dc2af3
JM
111042013-05-03 Joseph Myers <joseph@codesourcery.com>
11105
c31a5b1e
JM
11106 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11107 test signgam value.
11108
d5dc2af3
JM
11109 * math/libm-test.inc (hypot_test): Do not use
11110 IGNORE_ZERO_INF_SIGN.
11111
164fd39d
AJ
111122013-05-03 Andreas Jaeger <aj@suse.de>
11113
11114 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11115 Linux 3.9.
11116 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11117 (PF_MAX): Adjust for VSOCK change.
11118
8237f48c
AZ
111192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11120
11121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11122
9df02941
CD
111232013-05-02 Carlos O'Donell <carlos@redhat.com>
11124
11125 [BZ #15264]
11126 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11127 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11128 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11129
d422395e
DM
111302013-05-02 David S. Miller <davem@davemloft.net>
11131
11132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11133
a07c5731
OB
111342013-05-01 Ondřej Bílka <neleai@seznam.cz>
11135
11136 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11137
1324e37f
RM
111382013-05-01 Roland McGrath <roland@hack.frob.com>
11139
11140 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11141
0695940b
RS
111422013-05-01 Richard Smith <richard@metafoo.co.uk>
11143
bb5f27ad 11144 [BZ #14952]
0695940b
RS
11145 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11146 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11147 Use __attribute__ ((__gnu_inline__)).
11148 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11149 Don't use __attribute__ ((__gnu_inline__)).
11150
10de07f5
JM
111512013-05-01 Joseph Myers <joseph@codesourcery.com>
11152
11153 [BZ #15423]
11154 * math/s_catan.c (__catan): Handle small real or imaginary part of
11155 input specially to avoid spurious underflow.
11156 * math/s_catanf.c (__catanf): Likewise.
11157 * math/s_catanh.c (__catanh): Likewise.
11158 * math/s_catanhf.c (__catanhf): Likewise.
11159 * math/s_catanhl.c (__catanhl): Likewise.
11160 * math/s_catanl.c (__catanl): Likewise.
11161 * math/libm-test.inc (catan_test): Add more tests.
11162 (catanh_test): Likewise.
11163 * sysdeps/i386/fpu/libm-test-ulps: Update.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
cb4d5414
AZ
111662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11167
11168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11169
caf84319
JM
111702013-04-30 Joseph Myers <joseph@codesourcery.com>
11171
11172 [BZ #15416]
11173 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11174 accurately for denominator in atan2.
11175 * math/s_catanf.c (__catanf): Likewise.
11176 * math/s_catanh.c (__catanh): Likewise.
11177 * math/s_catanhf.c (__catanhf): Likewise.
11178 * math/s_catanhl.c (__catanhl): Likewise.
11179 * math/s_catanl.c (__catanl): Likewise.
11180 * math/libm-test.inc (catan_test): Add more tests.
11181 (catanh_test): Likewise.
11182 * sysdeps/i386/fpu/libm-test-ulps: Update.
11183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11184
d569c6ee
SP
111852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11186
6dbe713d
SP
11187 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11188
f0ee064b
SP
11189 * benchtests/Makefile (bench): Remove slow benchmarks.
11190 * benchtests/atan-inputs: Add slow benchmark inputs.
11191 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11192 (BENCH_FUNC): Accept variant offset.
11193 (VARIANT): Define.
11194 * benchtests/bench-skeleton.c (main): Run benchmark for each
11195 variant.
11196 * benchtests/cos-inputs: Add slow benchmark inputs.
11197 * benchtests/exp-inputs: Likewise.
11198 * benchtests/pow-inputs: Likewise.
11199 * benchtests/sin-inputs: Likewise.
11200 * benchtests/slowatan-inputs: Remove.
11201 * benchtests/slowatan.c: Remove.
11202 * benchtests/slowcos-inputs: Remove.
11203 * benchtests/slowcos.c: Remove.
11204 * benchtests/slowexp-inputs: Remove.
11205 * benchtests/slowexp.c: Remove.
11206 * benchtests/slowpow-inputs: Remove.
11207 * benchtests/slowpow.c: Remove.
11208 * benchtests/slowsin-inputs: Remove.
11209 * benchtests/slowsin.c: Remove.
11210 * benchtests/slowtan-inputs: Remove.
11211 * benchtests/slowtan.c: Remove.
11212 * benchtests/tan-inputs: Add slow benchmark inputs.
11213 * scripts/bench.pl: Parse comments and directives.
11214
d569c6ee
SP
11215 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11216 in CPPFLAGS.
11217 ($(objpfx)bench-%.c): Remove *-ITER.
11218 * benchtests/bench-modf.c: Remove definition of ITER.
11219 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11220 (main): Loop for DURATION seconds instead of fixed number of
11221 iterations.
11222 * scripts/bench.pl: Don't expect iterations in parameters.
11223
a6a242fe
RM
112242013-04-29 Roland McGrath <roland@hack.frob.com>
11225
11226 * io/fchdir.c (__fchdir): Renamed from fchdir.
11227 (fchdir): Define as weak alias.
11228
f2da7793
JM
112292013-04-29 Joseph Myers <joseph@codesourcery.com>
11230
11231 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11232 (ERRNO_EDOM): Likewise.
11233 (ERRNO_ERANGE): Likewise.
11234 (noErrnoTests): New variable.
11235 (init_max_error): Set errno to 0.
11236 (test_single_errno): New function.
11237 (test_errno): Likewise.
11238 (check_float_internal): Call test_errno. Set errno to 0.
11239 (check_complex): Refer to errno tests in comment.
11240 (check_int): Call test_errno. Set errno to 0.
11241 (check_long): Likewise.
11242 (check_bool): Likewise.
11243 (check_longlong): Likewise.
11244 (cos_test): Use ERRNO_* flags for errno tests instead of
11245 check_int.
11246 (expm1_test): Likewise.
11247 (fmod_test): Likewise.
11248 (ilogb_test): Likewise.
11249 (lgamma_test): Likewise.
11250 (pow_test): Likewise.
11251 (remainder_test): Likewise.
11252 (sin_test): Likewise.
11253 (tan_test): Likewise.
11254 (yn_test): Likewise.
11255 (initialize): Set errno to 0.
11256 (main): Print number of errno tests.
11257 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11258
b1a36ceb
AJ
112592013-04-29 Andreas Jaeger <aj@suse.de>
11260
c3ed8088
AJ
11261 [BZ #15084]
11262 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11263 and RES_USEVC.
11264
f1a24198
AJ
11265 [BZ #15085]
11266 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11267 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11268 unimplemented.
11269
9ce3b2cb
AJ
11270 [BZ #15380]
11271 * stdlib/random.c (__initstate): Return NULL if
11272 __initstate fails.
11273
f1a24198 11274 [BZ #15086]
b1a36ceb
AJ
11275 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11276 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11277 RES_SNGLKUPREOP.
11278
7e7b6f36
AZ
112792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11280
11281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11282
4d14f449
JM
112832013-04-29 Joseph Myers <joseph@codesourcery.com>
11284
11285 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11286 of individual tests.
11287 (casin_test): Likewise.
11288 (casinh_test): Likewise.
11289
5b4217d7
JM
112902013-04-27 Joseph Myers <joseph@codesourcery.com>
11291
11292 [BZ #15409]
11293 * math/s_catan.c (__catan): Handle arguments with large real or
11294 imaginary part separately without squaring.
11295 * math/s_catanf.c (__catanf): Likewise.
11296 * math/s_catanh.c (__catanh): Likewise.
11297 * math/s_catanhf.c (__catanhf): Likewise.
11298 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11299 and redefine.
11300 (__catanhl): Handle arguments with large real or imaginary part
11301 separately without squaring.
11302 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11303 and redefine.
11304 (__catanl): Handle arguments with large real or imaginary part
11305 separately without squaring.
11306 * math/libm-test.inc (catan_test): Add more tests.
11307 (catanh_test): Likewise.
11308 * sysdeps/i386/fpu/libm-test-ulps: Update.
11309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11310
4220c3ef
AJ
113112013-04-27 Andreas Jaeger <aj@suse.de>
11312
11313 [BZ #15007]
11314 * stdlib/stdlib.h: Update guards for qecvt.
11315 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11316 <stdlib.h>.
11317
4721b2d1
AM
113182013-04-27 Allan McRae <allan@archlinux.org>
11319
11320 * sysdeps/i386/fpu/libm-test-ulps: Update.
11321
f0302940
JM
113222013-04-26 Joseph Myers <joseph@codesourcery.com>
11323
9457fd95
JM
11324 [BZ #15406]
11325 * math/s_catan.c: Include <float.h>.
11326 (__catan): Ensure underflow exception occurs for underflowed
11327 result.
11328 * math/s_catanf.c: Include <float.h>.
11329 (__catanf): Ensure underflow exception occurs for underflowed
11330 result.
11331 * math/s_catanh.c: Include <float.h>.
11332 (__catanh): Ensure underflow exception occurs for underflowed
11333 result.
11334 * math/s_catanhf.c: Include <float.h>.
11335 (__catanhf): Ensure underflow exception occurs for underflowed
11336 result.
11337 * math/s_catanhl.c: Include <float.h>.
11338 (__catanhl): Ensure underflow exception occurs for underflowed
11339 result.
11340 * math/s_catanl.c: Include <float.h>.
11341 (__catanl): Ensure underflow exception occurs for underflowed
11342 result.
11343 * math/libm-test.inc (catan_test): Add more tests.
11344 (catanh_test): Likewise.
11345
f0302940
JM
11346 [BZ #15405]
11347 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11348 underflowed result.
11349 * math/s_ccoshf.c (__ccoshf): Likewise.
11350 * math/s_ccoshl.c (__ccoshl): Likewise.
11351 * math/s_csin.c (__csin): Likewise.
11352 * math/s_csinf.c (__csinf): Likewise.
11353 * math/s_csinh.c (__csinh): Likewise.
11354 * math/s_csinhf.c (__csinhf): Likewise.
11355 * math/s_csinhl.c (__csinhl): Likewise.
11356 * math/s_csinl.c (__csinl): Likewise.
11357 * math/libm-test.inc (ccos_test): Add more tests.
11358 (ccosh_test): Likewise.
11359 (csin_test): Likewise.
11360 (csinh_test): Likewise.
11361
aa630f59
AZ
113622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11363
11364 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11365 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11366 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11367 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11368 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11369 powerpc/power5+/fpu folders.
11370 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11371
11372
1b835983
MT
113732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11374
11375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11376
73709b26
JM
113772013-04-25 Joseph Myers <joseph@codesourcery.com>
11378
11379 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11380 additions to variable.
11381 [$(config-machine) = x86_64] (modules-names): Likewise.
11382 ($(objpfx)tst-audit3): Remove dependency.
11383 ($(objpfx)tst-audit3.out): Likewise.
11384 ($(objpfx)tst-audit4): Likewise.
11385 ($(objpfx)tst-audit4.out): Likewise.
11386 ($(objpfx)tst-audit5): Likewise.
11387 ($(objpfx)tst-audit5.out): Likewise.
11388 ($(objpfx)tst-audit6): Likewise.
11389 ($(objpfx)tst-audit6.out): Likewise.
11390 ($(objpfx)tst-audit7): Likewise.
11391 ($(objpfx)tst-audit7.out): Likewise.
11392 (tst-audit3-ENV): Remove variable.
11393 (tst-audit4-ENV): Likewise.
11394 (tst-audit5-ENV): Likewise.
11395 (tst-audit6-ENV): Likewise.
11396 (tst-audit7-ENV): Likewise.
11397 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11398 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11399 addition to variable.
11400 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11401 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11402 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11403 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11404 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11405 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11406 tst-audit3, tst-audit4 and tst-audit5.
11407 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11408 tst-audit6 and tst-audit7.
11409 [$(subdir) = elf] (modules-names): Add audit modules for those
11410 tests.
11411 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11412 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11413 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11414 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11415 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11416 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11417 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11418 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11419 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11420 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11421 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11422 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11423 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11424 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11425 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11426 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11427 Likewise.
11428 [$(subdir) = elf && $(config-cflags-avx) = yes]
11429 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11430 [$(subdir) = elf && $(config-cflags-avx) = yes]
11431 (CFLAGS-tst-auditmod4a.c): Likewise.
11432 [$(subdir) = elf && $(config-cflags-avx) = yes]
11433 (CFLAGS-tst-auditmod4b.c): Likewise.
11434 [$(subdir) = elf && $(config-cflags-avx) = yes]
11435 (CFLAGS-tst-auditmod6b.c): Likewise.
11436 [$(subdir) = elf && $(config-cflags-avx) = yes]
11437 (CFLAGS-tst-auditmod6c.c): Likewise.
11438 [$(subdir) = elf && $(config-cflags-avx) = yes]
11439 (CFLAGS-tst-auditmod7b.c): Likewise.
11440 * elf/tst-audit3.c: Move to ...
11441 * sysdeps/x86_64/tst-audit3.c: ... here.
11442 * elf/tst-audit4.c: Move to ...
11443 * sysdeps/x86_64/tst-audit4.c: ... here.
11444 * elf/tst-audit5.c: Move to ...
11445 * sysdeps/x86_64/tst-audit5.c: ... here.
11446 * elf/tst-audit6.c: Move to ...
11447 * sysdeps/x86_64/tst-audit6.c: ... here.
11448 * elf/tst-audit7.c: Move to ...
11449 * sysdeps/x86_64/tst-audit7.c: ... here.
11450 * elf/tst-auditmod3a.c: Move to ...
11451 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11452 * elf/tst-auditmod3b.c: Move to ...
11453 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11454 * elf/tst-auditmod4a.c: Move to ...
11455 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11456 * elf/tst-auditmod4b.c: Move to ...
11457 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11458 * elf/tst-auditmod5a.c: Move to ...
11459 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11460 * elf/tst-auditmod5b.c: Move to ...
11461 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11462 * elf/tst-auditmod6a.c: Move to ...
11463 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11464 * elf/tst-auditmod6b.c: Move to ...
11465 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11466 * elf/tst-auditmod6c.c: Move to ...
11467 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11468 * elf/tst-auditmod7a.c: Move to ...
11469 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11470 * elf/tst-auditmod7b.c: Move to ...
11471 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11472
1ef74943
PP
114732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11474
11475 [BZ #15366]
11476 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11477 define unconditionally.
11478 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11479 define unconditionally.
11480 (INT8_C, INT16_C, etc.): Likewise.
11481
93fd48c5
MR
114822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11483
ae9552cf
MR
11484 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11485 __ehdr_start with hidden visibility.
11486
93fd48c5
MR
11487 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11488
418601aa
CD
114892013-04-24 Carlos O'Donell <carlos@redhat.com>
11490
11491 * math/libm-test.inc (cos_test): Use accurate hex constants.
11492 (sincost_test): Likewise.
11493
2f38fbfe
JM
114942013-04-24 Joseph Myers <joseph@codesourcery.com>
11495
5e221800
JM
11496 * math/libm-test.inc (catan_test): Add more tests.
11497 (catanh_test): Likewise.
11498
77f143fd
JM
11499 * math/s_catanf.c (__catanf): Use suffixed floating-point
11500 constants.
11501 * math/s_catanhf.c (__catanhf): Likewise.
11502 * math/s_catanhl.c (__catanhl): Likewise.
11503 * math/s_catanl.c (__catanl): Likewise.
11504
2f38fbfe
JM
11505 [BZ #15394]
11506 * math/s_catan.c (__catan): Calculate imaginary part of result
11507 with log1p not log unless computing log of number close to 0.
11508 * math/s_catanf.c (__catanf): Likewise.
11509 * math/s_catanl.c (__catanl): Likewise.
11510 * math/s_catanh.c (__catanh): Calculate real part of result with
11511 log1p not log unless computing log of number close to 0.
11512 * math/s_catanhf.c (__catanhf): Likewise.
11513 * math/s_catanhl.c (__catanhl): Likewise.
11514 * math/libm-test.inc (catan_test): Add more tests.
11515 (catanh_test): Likewise.
11516 * sysdeps/i386/fpu/libm-test-ulps: Update.
11517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11518
45d69176
SP
115192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11520
11521 * benchtests/Makefile: Mention files in which fast and slow
11522 paths of math functions are implemented.
11523
87f51853
RM
115242013-04-23 Roland McGrath <roland@hack.frob.com>
11525
11526 * sysdeps/posix/timespec_get.c: New file.
11527
3c026539
AZ
115282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11529
11530 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11531 POWER.
11532 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11533 for POWER.
11534 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11535 powerpc/power5/fpu folders.
11536 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11537 * benchtests/Makefile: Add modf testcase.
11538 * benchtests/bench-modf.c: New file: Benchmark test for mo
11539
ff491d14
SP
115402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11541
11542 [BZ #14888]
11543 * time/Makefile (tests): Add tst-strptime-whitespace.
11544 * time/strptime_l.c (get_number): Use ISSPACE.
11545 (__strptime_internal): Likewise.
11546 * time/tst-strptime-whitespace.c: New test case.
11547
7ed3f4e8
AS
115482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11549
11550 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11551 member.
11552 (_nss_files_init): Set it here.
11553
5c95f7b6
HC
115542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11555
11556 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11557 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11558 unsigned.
11559
d34c9158
JBG
115602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11561
11562 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11563
2169712d
SP
115642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11565
11566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11567 size just once.
11568
29c5de99
DM
115692013-04-21 David S. Miller <davem@davemloft.net>
11570
11571 * po/ru.po: Update Russion translation from translation project.
11572
ccdad15d
AC
115732013-04-17 Adam Conrad <adconrad@0c3.net>
11574
11575 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11576 and setfsgid.
11577
0f122b8d
CD
115782013-04-17 Carlos O'Donell <carlos@redhat.com>
11579
5c5b07da 11580 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 11581 * configure: Regenerate.
5c5b07da 11582 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
11583 Add example to error message.
11584 * sysdeps/i386/configure: Regenerate.
11585
037714dd
SP
115862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11587
11588 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11589 slowtan.
11590 * benchtests/cos-inputs: New file.
11591 * benchtests/slowcos-inputs: New file.
11592 * benchtests/slowcos.c: New file.
11593 * benchtests/slowtan-inputs: New file.
11594 * benchtests/slowtan.c: New file.
11595 * benchtests/tan-inputs: New file.
11596
e913141d
RM
115972013-04-16 Roland McGrath <roland@hack.frob.com>
11598
11599 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11600 considered kosher.
11601
a2964074
SP
116022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11603
4856bcd2
SP
11604 * benchtests/Makefile: Include cppflags-iterator.mk to add
11605 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11606
a2964074
SP
11607 * Makefile.in (bench-clean): New target.
11608 * benchtests/Makefile (bench-clean): Likewise.
11609
9fbf9aca
DH
116102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11611
11612 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11613
207d1e2a
TS
116142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11615
11616 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11617
306dfba9
AS
116182013-04-15 Andreas Schwab <schwab@suse.de>
11619
11620 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11622 * nscd/pwdcache.c (cache_addpw): Likewise.
11623 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11624 more than recsize.
11625
206a6699
SP
116262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11627
11628 * benchtests/Makefile (bench): Write all output to
11629 bench-out.tmp together.
11630
0582f6b3
AS
116312013-04-15 Andreas Schwab <schwab@suse.de>
11632
11633 * nscd/nscd.c (main): Don't fork again after closing files.
11634
acb4325f
SP
116352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11636
5cb26d0a
SP
11637 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11638
acb4325f
SP
11639 * benchtests/Rules (bench-deps): Collect dependencies into a
11640 single variable. Add Makefile to dependencies.
11641 ($(objpfx)bench-%.c): Depend on bench-deps.
11642
47792506
RM
116432013-04-12 Roland McGrath <roland@hack.frob.com>
11644 Xavier Roche <roche+kml2@exalead.com>
11645
11646 [BZ #15361]
11647 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11648 just that it's a file descriptor.
11649 * manual/llio.texi (Synchronizing AIO Operations): Update description
11650 for EBADF error from aio_fsync.
11651
8fc1bee5
SP
116522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11653
11654 * Rules (bench): Move target definition...
11655 * benchtests/Makefile: ... here.
11656
aba5e333
CD
116572013-04-11 Carlos O'Donell <carlos@redhat.com>
11658
11659 * math/libm-test.inc (cos_test): Fix PI/2 test.
11660 (sincos_test): Likewise.
11661 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11662 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11663
273cdee8
AS
116642013-04-11 Andreas Schwab <schwab@suse.de>
11665
6ecec3b6
AS
11666 [BZ #13988]
11667 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11668 accept exponent character only when digits were seen.
11669 * stdio-common/Makefile (tests): Add bug26.
11670 * stdio-common/bug26.c: New file.
11671
273cdee8
AS
11672 [BZ #14293]
11673 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11674 non-freeable.
11675
8da491f5
SP
116762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11677
01dc6df9
SP
11678 * Makeconfig (rtld-prefix): Define built linker prefix.
11679 * Rules (run-bench): Use it.
11680 * math/Makefile (run-regen-ulps): Likewise.
11681
8da491f5
SP
11682 * Rules (bench): Remove eval.
11683
abe7f530
SP
116842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11685 Roland McGrath <roland@hack.frob.com>
11686 Ondrej Bilka <neleai@seznam.cz>
11687
11688 [BZ #15346]
11689 * time/getdate.c: Include ctype.h and alloca.h.
11690 (__getdate_r): Trim leading and trailing spaces of input.
11691 * time/tst-getdate.c (tests): Add tests with leading and
11692 trailing spaces.
11693
61c23e62
RM
116942013-04-08 Roland McGrath <roland@hack.frob.com>
11695
11696 [BZ #14280]
11697 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11698 when computing value.
11699
7208a313
CD
117002013-04-06 Carlos O'Donell <carlos@redhat.com>
11701
085b2d41
CD
11702 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11703 Use testrun.sh to run libm tests.
11704
7208a313
CD
11705 [BZ #15309]
11706 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11707
872c0acd
MM
117082013-04-06 Marko Myllynen <myllynen@redhat.com>
11709
11710 [BZ #15264]
11711 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11712
26510bdd
CD
117132013-04-06 Carlos O'Donell <carlos@redhat.com>
11714
11715 * Makefile.in (regen-ulps): New target.
11716 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11717 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11718 [ifneq (no,$(PERL)] (regen-ulps): New target.
11719 [ifeq (no,$(PERL)] (regen-ulps): New target.
11720 * math/libm-test.inc (ulps_file_name): Define.
11721 (output_dir): New variable.
11722 (options): Add "output-dir" option.
11723 (parse_opt): Handle 'o' case.
11724 (main): If output_dir is non-NULL use it as a prefix
11725 otherwise use "".
11726 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11727
a01f19c8
CD
117282013-04-06 Carlos O'Donell <carlos@redhat.com>
11729
11730 [BZ #10060, #10062]
11731 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11732 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11733 fail configure if __sync_val_compare_and_swap is not inlined.
11734 * sysdeps/i386/configure: Regenerate.
11735 * configure.in: Build for i686 when configured for i386.
11736 * configure: Regenerate.
11737 * README: Remove i386 reference.
11738
b7a329a5
CD
117392013-04-06 Carlos O'Donell <carlos@redhat.com>
11740
11741 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11743
bf0f50df
TS
117442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11745
ee091edf
TS
11746 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11747 (lmsnanval): New variables.
11748 (F): Add conversion tests.
11749 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11750 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11751
a8b792d6
TS
11752 * stdio-common/tstdiomisc.c (F): Properly collect individual
11753 tests' results.
11754
a1cbf437
TS
11755 [BZ #14686, #15336]
11756 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11757 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11758 Instead, use input NaN values or generate a qNaN by arithmetic
11759 operation. Also fix bugs to comply with the standard.
11760 * math/libm-test.inc (remainder_test): Add more tests.
11761
8b43a0c9
TS
11762 [BZ #15335, #15342]
11763 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11765 input NaN values or generate a qNaN by arithmetic operation.
11766
d91da4ce
TS
11767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11768 unreachable code.
11769
bf0f50df
TS
11770 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11771 definitions.
11772
05e166c8
JM
117732013-04-03 Joseph Myers <joseph@codesourcery.com>
11774
11775 [BZ #14478]
11776 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11777 underflowed result.
11778 * math/s_cexpf.c (__cexpf): Likewise.
11779 * math/s_cexpl.c (__cexpl): Likewise.
11780 * math/libm-test.inc (cexp_test): Add more tests.
11781
1cef1b19
AS
117822013-04-03 Andreas Schwab <schwab@suse.de>
11783
11784 [BZ #15330]
11785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11786 order arrays from heap if bigger than alloca cutoff.
11787
74d87055
TS
117882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11789
11790 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11791 (SNAN_TESTS_double): Refer to GCC PR56831.
11792 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11793 GCC PR56828.
11794
d755bba4
SP
117952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11796
90d5d5bb
SP
11797 * Rules (bench): Move bench.out after the run is complete.
11798
73e0cd5d
SP
11799 * Rules (bench): Echo currently running benchmark.
11800
64aabd4b
SP
11801 * benchtests/Makefile (bench): Add atan and slowatan.
11802 * benchtests/atan-inputs: New file.
11803 * benchtests/slowatan-inputs: New file.
11804 * benchtests/slowatan.c: New file.
11805
c871eccd
SP
11806 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11807 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11808 its value.
11809
d755bba4
SP
11810 [BZ #15305]
11811 * sysdeps/unix/sysv/linux/kernel-features.h
11812 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11813 __ASSUME_XFS_RESTRICTED_CHOWN.
11814 * sysdeps/unix/sysv/linux/pathconf.c
11815 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11816 Save and restore errno.
11817
52ce4860
JM
118182013-04-02 Joseph Myers <joseph@codesourcery.com>
11819
11820 [BZ #15327]
11821 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11822 arguments using __kernel_casinh.
11823 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11824 arguments using __kernel_casinhf.
11825 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11826 arguments using __kernel_casinhl.
11827 * math/libm-test.inc (cacosh_test): Add more tests.
11828 * sysdeps/i386/fpu/libm-test-ulps: Update.
11829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11830
81f311c2
SP
118312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11832
e7906a47
SP
11833 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11835
92e3664b
SP
11836 * bench/Makefile (bench): Add sin and slowsin.
11837 * benchtests/sin-inputs: New file.
11838 * benchtests/slowsin-inputs: New file.
11839 * benchtests/slowsin.c: New file.
11840
81f311c2
SP
11841 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11842 (bench): Add slowexp and slowpow.
11843 (exp-ITER): Increase iterations.
11844 (pow-ITER): Likewise.
11845 * benchtests/exp-inputs: Change input.
11846 * benchtests/pow-inputs: Likewise.
11847 * benchtests/slowexp-inputs: New file.
11848 * benchtests/slowexp.c: New file.
11849 * benchtests/slowpow-inputs: New file.
11850 * benchtests/slowpow.c: New file.
11851
ab0f1aa9
AZ
118522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11853
11854 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11855 instructions.
11856 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11857 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11858 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11859 * benchtests/Makefile: Add rint benchtest.
11860 * benchtests/rint-inputs: Input for rint benchtest.
11861
57267616
TS
118622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11863
11864 * Versions.def (libm): Add GLIBC_2.18.
11865 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11866 hidden libm prototypes.
11867 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11868 * math/Makefile (libm-calls): Add s_issignaling.
11869 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11870 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11871 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11872 declaration.
11873 * math/math.h [__USE_GNU] (issignaling): New macro.
11874 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11875 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11877 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11879 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11880 * manual/arith.texi (issignaling): New section.
11881 * manual/libm-err-tab.pl (@all_functions): Update comment.
11882 * math/gen-libm-test.pl (parse_args): Apply special handling for
11883 issignaling.
11884 * math/libm-test.inc (print_float, issignaling_test): New
11885 functions.
11886 (check_float_internal): Add issignaling checks.
11887 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11888 default definition.
11889 * sysdeps/powerpc/math-tests.h: New file.
11890 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11891 tests.
11892 * math/test-snan.c (TEST_FUNC): Likewise.
11893
6142896d
DM
118942013-03-30 David S. Miller <davem@davemloft.net>
11895
11896 * po/de.po: Update from translation team.
11897
ccc8cadf
JM
118982013-03-30 Joseph Myers <joseph@codesourcery.com>
11899
11900 [BZ #10357]
11901 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11902 imaginary part less than 1.0 and real part less than 0.5
11903 specially.
11904 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11905 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11906 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11907 (cacos_test): Add more tests.
11908 (casin_test): Likewise.
11909 (casinh_test): Likewise.
11910 * sysdeps/i386/fpu/libm-test-ulps: Update.
11911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11912
0f6a8d4b
SP
119132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11914
0d1029de
SP
11915 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11916 ONE with its value.
11917
c2d94018
SP
11918 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11919 (__pow_mp): Replace ONE and MONE with their values.
11920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11923 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11924 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11925 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11926
27ec37f1
SP
11927 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11928
a64d7e0e
SP
11929 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11930 (__pow_mp): Replace ZERO and MZERO with their values.
11931 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11933 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11935 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11936 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11937 (__sqr): Likewise.
11938
d26dd3eb
SP
11939 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11940
0f6a8d4b
SP
11941 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11942
e57b0c61
RM
119432013-03-28 Roland McGrath <roland@hack.frob.com>
11944
11945 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11946 Declare with __attribute__ ((weak)).
11947 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11948 Call __call_tls_dtors only if it's not NULL.
11949
356b3480
RM
119502013-03-28 Roland McGrath <roland@hack.frob.com>
11951
288f7d79
RM
11952 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11953 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11954 magic __ehdr_start linker symbol if it's defined.
11955 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11956 them up here if it was already done.
11957
dc0a0263
RM
11958 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11959 (_dl_aux_init): Use const in cast when setting it.
11960 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11961 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11962 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11963
3d3436ae
RM
11964 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11965 Declare them here.
11966 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11967 * csu/libc-tls.c: Nor here.
11968 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11969
356b3480
RM
11970 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11971 (__libc_message): Never call vsyslog.
11972
b0f1246a
AM
119732013-03-28 Alan Modra <amodra@gmail.com>
11974
11975 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11976 Define as empty.
11977 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11978 Likewise.
11979
fbbe2b9a
AZ
119802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11981
11982 [BZ #15214]
11983 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11984 underflow.
11985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11986
1728ab37
SP
119872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11988
7a86be6e
SP
11989 [BZ #15304]
11990 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11991 Don't add gid passed as argument.
11992
1728ab37
SP
11993 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11994
3a7182a1
JM
119952013-03-27 Joseph Myers <joseph@codesourcery.com>
11996
11997 [BZ #15307]
11998 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11999 imaginary part between 1.0 and 1.5 and real part less than 0.5
12000 specially.
12001 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12002 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12003 * math/libm-test.inc (cacos_test): Add more tests.
12004 (casin_test): Likewise.
12005 (casinh_test): Likewise.
12006 * sysdeps/i386/fpu/libm-test-ulps: Update.
12007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12008
6f2e90e7
SP
120092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12010
5739f705
SP
12011 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12012 constants.
12013 (norm): Likewise.
12014 (denorm): Likewise.
12015 (__dbl_mp): Likewise.
12016 (add_magnitudes): Likewise.
12017 (sub_magnitudes): Likewise.
12018 (__add): Likewise.
12019 (__sub): Likewise.
12020 (__mul): Likewise.
12021 (__sqr): Likewise.
12022 (__inv): Likewise.
12023 (__dvd): Likewise.
12024
e375e83d
SP
12025 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12026 commented code.
12027 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12028 (__dubcos): Likewise.
12029 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12030 (__ieee754_acos): Likewise.
12031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12032 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12033 (__exp1): Likewise.
12034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12036 (log1): Likewise.
12037 (my_log2): Likewise.
12038 (checkint): Likewise.
12039 * sysdeps/ieee754/dbl-64/e_remainder.c
12040 (__ieee754_remainder): Likewise.
12041 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12043 (bsloww): Likewise.
12044 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12045
6f2e90e7
SP
12046 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12047 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12048 MANTISSA_STORE_T to store computations on mantissa. Use
12049 macros for rounding and division.
12050 (denorm): Likewise.
12051 (__dbl_mp): Likewise.
12052 (add_magnitudes): Likewise.
12053 (sub_magnitudes): Likewise.
12054 (__mul): Likewise.
12055 (__sqr): Likewise.
12056 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12057 powers of two in terms of TWOPOW macro.
12058 (mp_no): Make type of mantissa as MANTISSA_T.
12059 [!RADIXI]: Define RADIXI.
12060 [!TWO52]: Define TWO52.
12061 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12062
fce14d4e
AZ
120632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12064
12065 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12066 llroundl symbol when building for PPC32.
12067
9ad027fb
MW
120682013-03-24 Mark H Weaver <mhw@netris.org>
12069
12070 * manual/arith.texi (Normalization Functions): Fix prototypes for
12071 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12072
e42a38dd
AZ
120732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12074
12075 [BZ #13889]
12076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12077 high value to check if expl overflow.
12078 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12079 to check for underflow and overflow.
12080 * math/libm-test.inc: Add exp test.
12081
2e0fb521
DL
120822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12083
12084 [BZ #11120]
12085 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12086 with NOT_IN_libc.
12087
b5784d95
AZ
120882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12089
12090 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12091 symbol.
12092
5aa4a1a1
TS
120932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12094
bdef0be7
TS
12095 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12096 wrap blocks consisting of several statements.
12097
5aa4a1a1
TS
12098 * sysdeps/generic/math-tests.h: New file.
12099 * sysdeps/i386/fpu/math-tests.h: Likewise.
12100 * math/test-snan.c: Include it.
12101 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12102
98c48fe5
JM
121032013-03-21 Joseph Myers <joseph@codesourcery.com>
12104
12105 [BZ #15285]
12106 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12107 (__ieee754_j0l): Do not improve calculations using cos of twice
12108 input for inputs above LDBL_MAX / 2.0L.
12109 (__ieee754_y0l): Likewise.
12110 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12111 (__ieee754_j1l): Do not improve calculations using cos of twice
12112 input for inputs above LDBL_MAX / 2.0L.
12113 (__ieee754_y1l): Likewise.
12114 * math/libm-test.inc (j0_test): Add another test.
12115 (j1_test): Likewise.
12116 (y0_test): Likewise.
12117 (y1_test): Likewise.
12118 * sysdeps/i386/fpu/libm-test-ulps: Update.
12119
3775a8bc
SP
121202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12121
12122 * Rules ($(objpfx)bench-%.c): Include code from a C source
12123 file.
12124
0a1b2ae6
JM
121252013-03-21 Joseph Myers <joseph@codesourcery.com>
12126
12127 [BZ #15287]
12128 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12129 imaginary part 1.0 and real part less than 0.5 specially.
12130 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12131 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12132 * math/libm-test.inc (cacos_test): Add more tests.
12133 (casin_test): Likewise.
12134 (casinh_test): Likewise.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12137
b33d4ce4
SP
121382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12139
12140 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12141 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12142
bef0b507
JM
121432013-03-20 Joseph Myers <joseph@codesourcery.com>
12144
12145 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12146 * config.make.in (config-cflags-sse4): Remove variable.
12147 (config-cflags-avx): Likewise.
12148 (config-cflags-sse2avx): Likewise.
12149 (config-cflags-novzeroupper): Likewise.
12150 (config-asflags-i686): Likewise.
12151 (have-mfma4): Likewise.
12152 (have-as-vis3): Likewise.
12153 (MIG): Likewise.
12154 * configure.in (MIG): Do not AC_SUBST.
12155 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12156 (libc_cv_cc_sse4): Do not AC_SUBST.
12157 (libc_cv_cc_avx): Likewise.
12158 (libc_cv_cc_sse2avx): Likewise.
12159 (libc_cv_cc_novzeroupper): Likewise.
12160 (libc_cv_cc_fma4): Likewise.
12161 (libc_cv_as_i686): Likewise.
12162 (libc_cv_sparc_as_vis3): Likewise.
12163 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12164 LIBC_CONFIG_VAR.
12165 (config-asflags-i686): Likewise.
12166 (config-cflags-avx): Likewise.
12167 (config-cflags-sse2avx): Likewise.
12168 (have-mfma4): Likewise.
12169 (config-cflags-novzeroupper): Likewise.
12170 * sysdeps/mach/configure.in (MIG): Likewise.
12171 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12172 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12173 LIBC_CONFIG_VAR.
12174 (config-cflags-avx): Likewise.
12175 (config-cflags-sse2avx): Likewise.
12176 (have-mfma4): Likewise.
12177 (config-cflags-novzeroupper): Likewise.
12178 * configure: Regenerated.
12179 * sysdeps/i386/configure: Likewise.
12180 * sysdeps/mach/configure: Likewise.
12181 * sysdeps/sparc/configure: Likewise.
12182 * sysdeps/x86_64/configure: Likewise.
12183
912cc4b3
RM
121842013-03-20 Roland McGrath <roland@hack.frob.com>
12185
12186 [BZ #14812]
12187 * locale/programs/localedef.c (options): Put N_ translation marker
12188 on argument names, not just descriptions.
12189
04eed2b0
MS
121902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12191
12192 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12193
a065ceff
OB
121942013-03-20 Ondřej Bílka <neleai@seznam.cz>
12195
9bb2a810 12196 [BZ #14176]
a065ceff
OB
12197 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12198
a600e5ce
RM
121992013-03-19 Roland McGrath <roland@hack.frob.com>
12200
12201 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12202 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12203 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12204 [!BEFORE_ABORT] (before_abort): New function.
12205 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12206 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12207 (writev_for_fatal): New function.
12208 (WRITEV_FOR_FATAL): New macro; call that.
12209 (backtrace_and_maps): New function.
12210 (BEFORE_ABORT): New macro; call that.
12211 (struct str_list): Type removed.
12212 (__libc_message, __libc_fatal): Functions removed.
12213 Include <sysdeps/posix/libc_fatal.c> instead.
12214
6b18bea6
JM
122152013-03-19 Joseph Myers <joseph@codesourcery.com>
12216
12217 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12218 constants.
12219 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12220 double constants.
12221
aaa8cb4b
AS
122222013-03-19 Andreas Schwab <schwab@suse.de>
12223
44673770
AS
12224 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12225 * sysdeps/gnu/configure: Regenerate.
12226
aaa8cb4b
AS
12227 * configure.in: Substitute libc_cv_rtlddir.
12228 * configure: Regenerate.
12229 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12230 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12231 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12232 * elf/Makefile (install-others, CFLAGS-interp.c)
12233 (ldso_install, common-ldd-rewrite): Likewise.
12234 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12235 $(inst_slibdir)/$(rtld-installed-name).
12236 * scripts/rellns-sh: Add -p option.
12237 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12238 for source.
12239
d3cfc668
SP
122402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12241
12242 * manual/nptl.texi: Renamed to ...
12243 * manual/threads.texi: ... this.
12244 * manual/Makefile (chapters): Update.
12245
0e2b9cdd
RM
122462013-03-18 Roland McGrath <roland@hack.frob.com>
12247
12248 [BZ #14812]
12249 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12250 on argument names, not just descriptions.
0e2b9cdd
RM
12251 * malloc/memusagestat.c (options): Likewise.
12252 * nss/getent.c (options): Likewise.
63270c24
RM
12253
122542013-03-18 Benno Schulenberg <bensberg@justemail.net>
12255
12256 [BZ #14812]
12257 * iconv/iconv_prog.c (options): Put N_ translation marker
12258 on argument names, not just descriptions.
12259 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12260
b2e1393c
OB
122612013-03-18 Ondrej Bilka <neleai@seznam.cz>
12262
12263 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12264 implementation which is faster on all x86_64 architectures.
12265 Tested on AMD, Intel Nehalem, SNB, IVB.
12266 * sysdeps/x86_64/strnlen.S: Likewise.
12267
12268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12269 Remove all multiarch strlen and strnlen versions.
12270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12271 Remove strlen and strnlen related parts.
12272
12273 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12274 Inline strlen part.
12275 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12276
12277 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12278 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12279 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12280 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12281 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12282 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12283
ec4ff04d
CD
122842013-03-17 Carlos O'Donell <carlos@redhat.com>
12285
12286 * manual/memory.texi (Malloc Tunable Parameters):
12287 Sort parameters alphabetically. Add comments for missing entries.
12288
cd18e90a
DM
122892013-03-17 David S. Miller <davem@davemloft.net>
12290
12291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12292
2a185d32
JM
122932013-03-16 Joseph Myers <joseph@codesourcery.com>
12294
d2f9799e
JM
12295 [BZ #15283]
12296 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12297 for arguments at most half maximum finite value.
12298 * math/libm-test.inc (j0_test): Add more tests.
12299 (j1_test): Likewise.
12300 (y0_test): Likewise.
12301 (y1_test): Likewise.
12302 * sysdeps/i386/fpu/libm-test-ulps: Update.
12303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12304
2a185d32
JM
12305 [BZ #14155]
12306 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12307 1 / x and functions P and Q for arguments above 0x1p256L.
12308 (__ieee754_y0l): Likewise.
12309 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12310 (__ieee754_y1l): Likewise.
12311 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12312 (j1_test): Likewise.
12313 (y0_test): Likewise.
12314 (y1_test): Likewise.
12315
6cbec759
TS
123162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12317
12318 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12319 variable.
12320
bc16e260
RM
123212013-03-15 Roland McGrath <roland@hack.frob.com>
12322
aefc9b8c
RM
12323 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12324 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12325 zero since it's initialized to EXEC_PAGESIZE.
12326
bc16e260
RM
12327 * sysdeps/unix/sysv/linux/ldsodefs.h
12328 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12329 * sysdeps/generic/ldsodefs.h: ... here.
12330
a57da955
TS
123312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12332
af00a34d
TS
12333 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12334
495ded2c
TS
12335 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12336 math/test-snan.c.
12337 * math/test-snan.c: Renamed from
12338 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12339 * math/Makefile (tests): Add test-snan.
12340 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12341 test-powerpc-snan.
12342
777b0332
TS
12343 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12344 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12345 functions.
12346 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12347 __builtin_nan family of functions.
12348 * math/libm-test.inc (initialize): Initialize qnan_value with
12349 __builtin_nan family of functions.
12350 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12351 Remove variables.
12352 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12353 Remove functions.
12354 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12355 storage class. Initialize qNaN_var and sNaN_var with
12356 __builtin_nan and __builtin_nans families of functions,
12357 respectively.
12358
64d063b8
TS
12359 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12360 (sqrt_test): Remove duplicate test with qNaN input.
12361 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12362 (round_test, signbit_test, significand_test): Note missing +/-Inf
12363 as well as qNaN tests.
12364
67e971f1
TS
12365 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12366 qNaN_var. Fix a few strings, too.
12367 * math/libm-test.inc (nan_value): Rename to qnan_value.
12368 * math/gen-libm-test.pl (%beautify): Adjust to that.
12369 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12370 * math/test-misc.c (main): Likewise.
12371 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12372 to __qnan_bytes, and __qnan_union, respectively.
12373 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12374 Likewise.
12375 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12376 and lqnanval, respectively.
12377 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12378 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12379 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12380 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12381
64487e12
TS
12382 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12383 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12384 doubles.
12385
e015e27b
TS
12386 * math/test-misc.c (main): Fix copy'n'pastos.
12387 * misc/tst-efgcvt.c (special): Likewise.
12388
a57da955
TS
12389 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12390 Remove declarations.
12391
1e380345
SP
123922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12393
12394 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12395 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12396 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12397 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12398
ef26eece
AZ
123992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12400
12401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12402 macro to return vdso values correctly in IFUNC implementations.
12403 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12404 Optimization by using IFUNC.
12405
8cfdb7e0
SP
124062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12407 Richard Henderson <rth@redhat.com>
12408 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12409
12410 * Makefile.in (bench): New target.
12411 * NEWS: Mention the benchmark framework.
12412 * Rules (bench): Likewise.
12413 (binaries-bench): Generate binaries for functions to
12414 benchmark.
12415 * benchtests/Makefile: New makefile for benchmark tests.
12416 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12417 programs.
12418 * benchtests/exp-inputs: New input file for EXP function.
12419 * benchtests/pow-inputs: New input file for POW function.
12420 * scripts/bench.pl: New script to generate source files for
12421 benchmark programs.
12422
bcda9880
SP
124232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12424
d22ca8cd
SP
12425 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12426 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12427 computations on mantissa. Use macros for rounding and
12428 division.
12429 (denorm): Likewise.
12430 (__dbl_mp): Likewise.
12431 (add_magnitudes): Likewise.
12432 (sub_magnitudes): Likewise.
12433 (__mul): Likewise.
12434 (__sqr): Likewise.
12435 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12436 powers of two in terms of TWOPOW macro.
12437 (mp_no): Make type of mantissa as MANTISSA_T.
12438 [!RADIXI]: Define RADIXI.
12439 [!TWO52]: Define TWO52.
12440 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12441
bcda9880
SP
12442 * manual/nptl.texi (cindex): Modify threads to pthreads.
12443
06d5adfb
JM
124442013-03-15 Joseph Myers <joseph@codesourcery.com>
12445
12446 * sysdeps/x86_64/preconfigure: Regenerated.
12447
41c7328e
JM
124482013-03-14 Joseph Myers <joseph@codesourcery.com>
12449
12450 [BZ #14155]
12451 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12452 0x1p28 and above.
12453 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12454 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12455 0x1p28 and above.
12456 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12457 * math/libm-test.inc (j0_test): Do not allow one spurious
12458 underflow exception.
12459 (y1_test): Likewise.
12460
e25cfa60
SP
124612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12462
0409959c
SP
12463 * manual/Makefile (chapters): Add nptl.
12464 * manual/debug.texi (Debugging Support): Add link to Threads
12465 chapter.
12466 * manual/nptl.texi: New file.
12467
e25cfa60
SP
12468 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12469
58a1335e
PB
124702013-03-14 Petr Baudis <pasky@ucw.cz>
12471
12472 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12473 for non-NULL pointer before the memory validity test. Pointed
12474 out by Holger Brunck <holger.brunck@keymile.com>.
12475
9dc7c64f
AS
124762013-03-13 Andreas Schwab <schwab@suse.de>
12477
12478 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12479 instead of .os.
12480
54206aa6
JM
124812013-03-13 Joseph Myers <joseph@codesourcery.com>
12482
12483 * timezone/zic.c: Update from tzcode 2013b.
12484
e98cdb38
CD
124852013-03-12 Carlos O'Donell <carlos@redhat.com>
12486
12487 * manual/install.texi (Configuring and compiling):
12488 Mention i686 and i586.
12489 * INSTALL: Regenerate.
12490
9967e003
RM
124912013-03-12 Roland McGrath <roland@hack.frob.com>
12492
12493 * sysdeps/init_array/elf-init.c: New file.
12494 * csu/elf-init.c
12495 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12496 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12497
12498 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12499 __gmon_start__ as global, but as static with a .preinit_array pointer.
12500 * sysdeps/init_array/gmon-start.c: New file. Use that.
12501 * sysdeps/init_array/crti.S: New file, empty except for comments.
12502 * sysdeps/init_array/crtn.S: Likewise.
12503
e6b5a293 125042013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
12505
12506 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12507 definining bcopy.
80f844c9
OB
12508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12509 Remove Prefer_SSE_for_memop.
12510 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12511 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12512 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
12513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12514 memset-x86-64.
80f844c9 12515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 12516 Remove bzero, memset ifunc support.
80f844c9
OB
12517 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12518 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12519 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12521
fb6b0fcb
AS
125222013-03-11 Andreas Schwab <schwab@suse.de>
12523
12524 [BZ #15234]
12525 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12526 by SHLIB_COMPAT.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12528 (GLIBC_2.16): Remove pthread_atfork.
12529
3e6bd4b1
PP
125302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12531
12532 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12533 (ptestcases.h): Likewise.
12534
222d7f00
RM
125352013-03-08 Roland McGrath <roland@hack.frob.com>
12536
12537 * Makeconfig ($(common-objpfx)config.status): Depend on
12538 sysdeps/*/preconfigure{,.in} too.
12539
1ba4f030
JM
125402013-03-08 Joseph Myers <joseph@codesourcery.com>
12541
a222d91a
JM
12542 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12543 (__free_hook): Use void * instead of __malloc_ptr_t.
12544 (__malloc_hook): Likewise.
12545 (__realloc_hook): Likewise.
12546 (__memalign_hook): Likewise.
12547 (__after_morecore_hook): Likewise.
12548 * malloc/arena.c (save_malloc_hook): Likewise.
12549 (save_free_hook): Likewise.
12550 * malloc/hooks.c (malloc_hook_ini): Likewise.
12551 (realloc_hook_ini): Likewise.
12552 (memalign_hook_ini): Likewise.
12553 * malloc/malloc.c (malloc_hook_ini): Likewise.
12554 (realloc_hook_ini): Likewise.
12555 (memalign_hook_ini): Likewise.
12556 (__free_hook): Likewise.
12557 (__malloc_hook): Likewise.
12558 (__realloc_hook): Likewise.
12559 (__memalign_hook): Likewise.
12560 (__libc_malloc): Likewise.
12561 (__libc_free): Likewise.
12562 (__libc_realloc): Likewise.
12563 (__libc_memalign): Likewise.
12564 (__libc_valloc): Likewise.
12565 (__libc_pvalloc): Likewise.
12566 (__libc_calloc): Likewise.
12567 (__posix_memalign): Likewise.
12568 * malloc/morecore.c (__sbrk): Likewise.
12569 (__default_morecore): Likewise.
12570
5cc45e10
JM
12571 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12572
dd54b864
JM
12573 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12574 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12575 __malloc_ptrdiff_t.
12576
1ba4f030
JM
12577 * malloc/malloc.h (__malloc_size_t): Remove macro.
12578 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12579 __malloc_size_t.
12580 (old_memalign_hook): Likewise.
12581 (old_realloc_hook): Likewise.
12582 (struct hdr): Likewise.
12583 (flood): Likewise.
12584 (mallochook): Likewise.
12585 (memalignhook): Likewise.
12586 (reallochook): Likewise.
12587 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12588 (tr_old_realloc_hook): Likewise.
12589 (tr_old_memalign_hook): Likewise.
12590 (tr_mallochook): Likewise.
12591 (tr_reallochook): Likewise.
12592 (tr_memalignhook): Likewise.
12593
edf66e57
AZ
125942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12595
12596 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12597 default_ldbl_pack and using as default implementation.
12598 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12599 implementation.
12600 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12601 redundant definition.
12602 (ldbl_insert_mantissa): Likewise.
12603 (ldbl_canonicalize): Likewise.
12604 (ldbl_nearbyint): Likewise.
12605 (ldbl_pack): Rename to ldbl_pack_ppc.
12606 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12607 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12608 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12609
6d9145d8
SP
126102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12611
12612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12613 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12614 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12615 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12617 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12618 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12619 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12620
4dd4e157
AJ
126212013-03-07 Andreas Jaeger <aj@suse.de>
12622
12623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12624 bits/mman-linux.h.
12625
adbb8027
SP
126262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12627
ce544b5b
SP
12628 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12629 Include mpa.h and declare __MPEXP.
12630 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12631 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12632 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12634 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12635 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12636 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12637
4cc149fd
SP
12638 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12639 (__slowpow): Use long double EXPL and LOGL functions to
12640 compute POW.
12641 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12642 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12643 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12644 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12645 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12647
e6ebd4a7
SP
12648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12649 intermediate variable to calculate exponent.
12650 (__sqr): Likewise.
12651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12652 Likewise.
12653 (__sqr): Likewise.
12654
82a9811d
SP
12655 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12656 [!NO__SQR]: Define __sqr.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12658 and NO__SQR. Remove all code except __mul and __sqr. Include
12659 sysdeps/ieee754/dbl-64/mpa.c.
12660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12661
adbb8027
SP
12662 [BZ #12723]
12663 * posix/Makefile (tests): Add tst-pathconf.
12664 * posix/tst-pathconf.c: New test case.
12665 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12666 _PC_PIPE_BUF.
12667 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12668
39120df9
PF
126692013-03-06 Patsy Franklin <pfrankli@redhat.com>
12670
12671 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12672
67525cb8
AJ
126732013-03-06 Andreas Jaeger <aj@suse.de>
12674
664a9ce4
AJ
12675 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12676 definition via __MAP_ANONYMOUS.
12677
8e39047d
AJ
12678 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12679 it's not part of Linux headers.
12680
67525cb8
AJ
12681 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12682 (MAP_HUGE_MASK): Define.
12683
12684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12685 Define.
12686 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12688 Define.
12689 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12690 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12691 Define.
12692 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12693 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12694 Define.
12695 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12696
12697 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12698 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12699 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12700 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12701 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12703
12704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12705 Handle f2fs.
12706
12707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12708 Handle f2fs and efivarfs.
12709
12710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12711 f2fs.
12712
12713 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12714 (EFIVARFS_MAGIC): Add.
12715 (F2FS_LINK_MAX): Add.
12716
e1b42695
PP
127172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12718
12719 * stdio-common/vfprintf.c: Replace __builtin_expect with
12720 __glibc_unlikely.
12721
2d67d91a
JM
127222013-03-06 Joseph Myers <joseph@codesourcery.com>
12723
12724 [BZ #13550]
12725 * sysdeps/generic/bp-sym.h: Remove file.
12726 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12727 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12728 <bp-sym.h> and <bp-asm.h>.
12729 (__longjmp): Don't use BP_SYM.
12730 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12731 and <bp-asm.h>.
12732 (memcpy): Don't use BP_SYM.
12733 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12734 <bp-sym.h> and <bp-asm.h>.
12735 (memcpy): Don't use BP_SYM.
12736 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12737 <bp-asm.h>.
12738 (memcpy): Don't use BP_SYM.
12739 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12740 <bp-asm.h>.
12741 (memset): Don't use BP_SYM.
12742 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12743 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12744 (__bzero): Don't use BP_SYM.
12745 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12746 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12748 <bp-sym.h> and <bp-asm.h>.
12749 (memcmp): Don't use BP_SYM. Remove comment about bounded
12750 pointers.
12751 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12752 <bp-sym.h> and <bp-asm.h>.
12753 (memcpy): Don't use BP_SYM.
12754 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12755 <bp-sym.h> and <bp-asm.h>.
12756 (memset): Don't use BP_SYM.
12757 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12758 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12759 (__bzero): Don't use BP_SYM.
12760 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12761 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12762 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12763 <bp-sym.h> and <bp-asm.h>.
12764 (strncmp): Don't use BP_SYM. Remove comment about bounded
12765 pointers.
12766 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12767 <bp-sym.h> and <bp-asm.h>.
12768 (memcpy): Don't use BP_SYM.
12769 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12770 <bp-sym.h> and <bp-asm.h>.
12771 (memset): Don't use BP_SYM.
12772 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12773 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12774 (__bzero): Don't use BP_SYM.
12775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12778 <bp-sym.h> and <bp-asm.h>.
12779 (__memchr): Don't use BP_SYM.
12780 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12781 <bp-sym.h> and <bp-asm.h>.
12782 (memcmp): Don't use BP_SYM. Remove comment about bounded
12783 pointers.
12784 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12785 <bp-sym.h> and <bp-asm.h>.
12786 (memcpy): Don't use BP_SYM.
12787 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12788 <bp-sym.h> and <bp-asm.h>.
12789 (__mempcpy): Don't use BP_SYM.
12790 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12791 <bp-sym.h> and <bp-asm.h>.
12792 (__memrchr): Don't use BP_SYM.
12793 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12794 <bp-sym.h> and <bp-asm.h>.
12795 (memset): Don't use BP_SYM.
12796 (__bzero): Likewise.
12797 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12798 <bp-sym.h> and <bp-asm.h>.
12799 (__rawmemchr): Don't use BP_SYM.
12800 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12801 <bp-sym.h> and <bp-asm.h>.
12802 (__STRCMP): Don't use BP_SYM.
12803 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12804 <bp-sym.h> and <bp-asm.h>.
12805 (strchr): Don't use BP_SYM.
12806 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12807 <bp-sym.h> and <bp-asm.h>.
12808 (__strchrnul): Don't use BP_SYM.
12809 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12810 <bp-sym.h> and <bp-asm.h>.
12811 (strlen): Don't use BP_SYM.
12812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12813 <bp-sym.h> and <bp-asm.h>.
12814 (strncmp): Don't use BP_SYM. Remove comment about bounded
12815 pointers.
12816 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12817 <bp-sym.h> and <bp-asm.h>.
12818 (__strnlen): Don't use BP_SYM.
12819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12820 <bp-sym.h> and <bp-asm.h>.
12821 (__GI__setjmp): Don't use BP_SYM.
12822 (_setjmp): Likewise.
12823 (__sigsetjmp): Likewise.
12824 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12825 (L(start_addresses)): Don't use BP_SYM.
12826 (_start): Likewise.
12827 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12828 <bp-asm.h>.
12829 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12830 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12831 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12832 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12833 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12834 <bp-asm.h>.
12835 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12836 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12837 about bounded pointers.
12838 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12839 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12840 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12841 <bp-asm.h>.
12842 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12843 about bounded pointers. Remove GKM FIXME comments.
12844 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12845 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12846 <bp-asm.h>.
12847 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12848 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12849 Remove GKM FIXME comments.
12850 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12851 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12852 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12853 <bp-asm.h>.
12854 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12855 about bounded pointers. Remove GKM FIXME comment.
12856 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12857 and <bp-asm.h>.
12858 (strncmp): Don't use BP_SYM. Remove comment about bounded
12859 pointers.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12861 <bp-sym.h> and <bp-asm.h>.
12862 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12864 <bp-sym.h> and <bp-asm.h>.
12865 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12866 comment.
12867
cdcf361f
PP
128682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12869
12870 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12871 call free(NULL).
12872
3c4a2b15
DM
128732013-03-05 David S. Miller <davem@davemloft.net>
12874
12875 * po/es.po: Update from translation team.
12876
cdcf361f 128772013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12878
12879 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12880 <bits/mman-linux.h>.
12881 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12882 is fine.
12883 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12884 <bits/mman-linux.h> to end of file.
12885 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12886 is fine.
12887 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12888 <bits/mman-linux.h> to end of file.
12889 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12890 is fine.
12891 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12892 <bits/mman-linux.h> to end of file.
12893
12894 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12895 (MCL_CURRENT, MCL_FUTURE): Define here.
12896
5f67c04f
AK
128972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12898
8a4473cc 12899 [BZ #15232]
5f67c04f
AK
12900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12901 attribute_hidden.
12902 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12903
c3e94a95
AK
129042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12905
12906 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12907 fourth parameter needed for rt_sigprocmask syscall.
12908 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12909 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12910 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12911 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12912 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12913 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12914
cfb6382a
JM
129152013-03-04 Joseph Myers <joseph@codesourcery.com>
12916
12917 [BZ #13550]
12918 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12919 comment about bounded pointers.
12920 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12921 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12922
539d8e01
AJ
129232013-03-04 Andreas Jaeger <aj@suse.de>
12924
12925 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12926 common definitions.
12927
12928 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12929 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12930 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12931 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12934
2e167a70 129352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12936
12937 [BZ #15055]
12938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12939 __ieee754_sqrl instead of __sqrl.
12940
68508633
JM
129412013-03-01 Joseph Myers <joseph@codesourcery.com>
12942
12943 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12944 * sysdeps/powerpc/fpu_control.h: ... here.
12945 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12946 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12947 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12948 * sysdeps/powerpc/bits/mathinline.h: ... here.
12949
7775448e
RM
129502013-03-01 Roland McGrath <roland@hack.frob.com>
12951
12952 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12953 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12954 to just [NEED_DL_SYSINFO_DSO].
12955 * elf/dl-support.c: Likewise.
12956 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12957 * elf/rtld.c (dl_main): Likewise.
12958 * elf/setup-vdso.h (setup_vdso): Likewise.
12959 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12960 * sysdeps/unix/sysv/linux/dl-sysdep.c
12961 (_dl_discover_osversion): Likewise.
12962
4e9b5995
CD
129632013-03-01 Carlos O'Donell <carlos@redhat.com>
12964
12965 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12966 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12967
e23872c8
SP
129682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12969
e5c74c63
SP
12970 * NEWS: Mention libm performance improvements and non-x86 PI
12971 futex support.
12972
e23872c8
SP
12973 * csu/libc-start.c (__pthread_initialize_minimal): Change
12974 function arguments.
12975 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12976
b5510883
JM
129772013-02-28 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #13550]
12980 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12981 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12982 <bp-sym.h> and <bp-asm.h>.
12983 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12985 and <bp-asm.h>.
12986 (memcpy): Don't use BP_SYM.
12987 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12988 <bp-asm.h>.
12989 (__mpn_add_n): Don't use BP_SYM.
12990 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12991 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12992 and <bp-asm.h>.
12993 (__mpn_addmul_1): Don't use BP_SYM.
12994 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12995 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12996 <bp-sym.h>.
12997 (_setjmp): Don't use BP_SYM.
12998 (__novmx_setjmp): Likewise.
12999 (__GI__setjmp): Likewise.
13000 (__vmx_setjmp): Likewise.
13001 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13002 <bp-sym.h>.
13003 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13004 (__bzero): Don't use BP_SYM.
13005 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13006 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13007 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13008 <bp-sym.h> and <bp-asm.h>.
13009 (memcpy): Don't use BP_SYM.
13010 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13011 <bp-sym.h> and <bp-asm.h>.
13012 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13013 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13014 <bp-sym.h> and <bp-asm.h>.
13015 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13016 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13017 <bp-asm.h>.
13018 (__mpn_lshift): Don't use BP_SYM.
13019 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13020 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13021 <bp-asm.h>.
13022 (memset): Don't use BP_SYM.
13023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13025 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13026 <bp-asm.h>.
13027 (__mpn_mul_1): Don't use BP_SYM.
13028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13030 <bp-sym.h> and <bp-asm.h>.
13031 (memcmp): Don't use BP_SYM.
13032 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13033 <bp-sym.h> and <bp-asm.h>.
13034 (memcpy): Don't use BP_SYM.
13035 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13036 <bp-sym.h> and <bp-asm.h>.
13037 (memset): Don't use BP_SYM.
13038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13039 <bp-sym.h> and <bp-asm.h>.
13040 (strncmp): Don't use BP_SYM.
13041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13042 <bp-sym.h> and <bp-asm.h>.
13043 (memcpy): Don't use BP_SYM.
13044 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13045 <bp-sym.h> and <bp-asm.h>.
13046 (memset): Don't use BP_SYM.
13047 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13048 <bp-sym.h> and <bp-asm.h>.
13049 (__memchr): Don't use BP_SYM.
13050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13051 <bp-sym.h> and <bp-asm.h>.
13052 (memcmp): Don't use BP_SYM.
13053 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13054 <bp-sym.h> and <bp-asm.h>.
13055 (memcpy): Don't use BP_SYM.
13056 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13057 <bp-sym.h> and <bp-asm.h>.
13058 (__mempcpy): Don't use BP_SYM.
13059 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13060 <bp-sym.h> and <bp-asm.h>.
13061 (__memrchr): Don't use BP_SYM.
13062 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13063 <bp-sym.h> and <bp-asm.h>.
13064 (memset): Don't use BP_SYM.
13065 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13066 <bp-sym.h> and <bp-asm.h>.
13067 (__rawmemchr): Don't use BP_SYM.
13068 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13069 <bp-sym.h> and <bp-asm.h>.
13070 (__STRCMP): Don't use BP_SYM.
13071 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13072 <bp-sym.h> and <bp-asm.h>.
13073 (strchr): Don't use BP_SYM.
13074 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13075 <bp-sym.h> and <bp-asm.h>.
13076 (__strchrnul): Don't use BP_SYM.
13077 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13078 <bp-sym.h> and <bp-asm.h>.
13079 (strlen): Don't use BP_SYM.
13080 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13081 <bp-sym.h> and <bp-asm.h>.
13082 (strncmp): Don't use BP_SYM.
13083 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13084 <bp-sym.h> and <bp-asm.h>.
13085 (__strnlen): Don't use BP_SYM.
13086 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13087 <bp-asm.h>.
13088 (__mpn_rshift): Don't use BP_SYM.
13089 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13090 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13091 <bp-sym.h> and <bp-asm.h>.
13092 (__sigsetjmp): Don't use BP_SYM.
13093 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13094 (L(start_addresses)): Don't use BP_SYM.
13095 (_start): Likewise.
13096 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13097 <bp-asm.h>.
13098 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13099 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13100 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13101 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13102 <bp-asm.h>.
13103 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13104 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13105 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13106 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13107 <bp-asm.h>.
13108 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13109 comments.
13110 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13111 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13112 <bp-asm.h>.
13113 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13114 FIXME comments.
13115 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13116 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13117 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13118 <bp-asm.h>.
13119 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13120 comment.
13121 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13122 and <bp-asm.h>.
13123 (strncmp): Don't use BP_SYM,
13124 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13125 <bp-asm.h>.
13126 (__mpn_sub_n): Don't use BP_SYM.
13127 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13128 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13129 and <bp-asm.h>.
13130 (__mpn_submul_1): Don't use BP_SYM.
13131 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13133 <bp-sym.h> and <bp-asm.h>.
13134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13136 <bp-sym.h> and <bp-asm.h>.
13137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13138 comment.
13139
8d19fe64
SP
131402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13141
13142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13143 Use ZK to minimize writes to Z.
13144 (sub_magnitudes): Simplify code a bit.
13145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13146 Use ZK to minimize writes to Z.
13147 (sub_magnitudes): Simplify code a bit.
13148
85bd816a
RM
131492013-02-27 Roland McGrath <roland@hack.frob.com>
13150
13151 * csu/gmon-start.c: Add special exception to license text.
13152
b5977bf2
RH
131532013-02-27 Richard Henderson <rth@redhat.com>
13154
13155 * scripts/config.guess: Update from config.git.
13156 * scripts/config.sub: Likewise.
13157
11d6e2f2
SP
131582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13159
09c14ed2
SP
13160 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13161
a688864e
SP
13162 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13163
6295157a
SP
13164 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13165
b8de2202
SP
13166 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13167
11d6e2f2
SP
13168 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13169
7e80ddb8
RM
131702013-02-26 Roland McGrath <roland@hack.frob.com>
13171
13172 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13173 [$(build-shared = yes].
7e80ddb8 13174
7da6d9ed
SP
131752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13176
45f05884
SP
13177 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13178 (__mul): Reduce iterations for calculating mantissa.
13179
2236d359
SP
13180 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13181 MPTWO.
13182 (__mpranred): Likewise.
13183
7da6d9ed
SP
13184 [BZ #15160]
13185 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13186 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13187
b7688c42
PE
131882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13189
13190 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13191 Define __attribute__.
13192
53a5c423
SP
131932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13194
13195 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13196 unused.
13197 * posix/regex_internal.h (__attribute): Remove.
13198 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13199 (re_string_context_at): Likewise.
13200 (bitset_not): Use __attribute__ and mark function as possibly
13201 unused.
13202 (bitset_merge): Likewise.
13203 (bitset_mask): Likewise.
13204 (re_string_char_size_at): Likewise.
13205 (re_string_wchar_at): Likewise.
13206 (re_string_elem_size_at): Likewise.
13207
60f5a8b5
SP
132082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13209
2a983a2e
SP
13210 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13211 code.
13212 (cc32): Likewise.
13213
e69804d1
SP
13214 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13215 (__acr): Likewise.
13216 (__cpy): Likewise.
13217 (norm): Likewise.
13218 (denorm): Likewise.
13219 (__dbl_mp): Likewise.
13220 (add_magnitudes): Likewise.
13221 (sub_magnitudes): Likewise.
13222 (__mul): Likewise.
13223 (__inv): Likewise.
13224
2f22a1e8
SP
13225 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13226 style.
13227
8930ddc7
SP
13228 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13229 style.
13230
dc60cb11
SP
13231 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13232 code.
13233
60f5a8b5
SP
13234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13235 up changes with default code.
13236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13237 Likewise.
13238
b4d1fd33
AM
132392013-02-24 Allan McRae <allan@archlinux.org>
13240
faf6f8bc
AM
13241 * manual/socket.texi (The Internet Namespace): Order menu items
13242 to match that in the file.
13243
b4d1fd33
AM
13244 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13245 node listing of the info page menu.
13246
2366713d
JM
132472013-02-21 Joseph Myers <joseph@codesourcery.com>
13248
13249 [BZ #13550]
13250 * sysdeps/i386/bp-asm.h: Remove file.
13251 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13252 (PARMS): Do not use macros from bp-asm.h.
13253 (S1): Likewise.
13254 (S2): Likewise.
13255 (SIZE): Likewise.
13256 (__mpn_add_n): Do not use BP_SYM
13257 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13258 "bp-asm.h".
13259 (PARMS): Do not use macros from bp-asm.h.
13260 (S1): Likewise.
13261 (SIZE): Likewise.
13262 (__mpn_addmul_1): Do not use BP_SYM
13263 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13264 "bp-asm.h".
13265 (PARMS): Do not use macros from bp-asm.h.
13266 (SIGMSK): Likewise.
13267 (_setjmp): Likewise. Do not use BP_SYM.
13268 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13269 "bp-asm.h".
13270 (PARMS): Do not use macros from bp-asm.h.
13271 (SIGMSK): Likewise.
13272 (setjmp): Likewise. Do not use BP_SYM.
13273 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13274 "bp-asm.h".
13275 (PARMS): Do not use macros from bp-asm.h.
13276 (__frexp): Do not use BP_SYM.
13277 (frexp): Likewise.
13278 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13279 "bp-asm.h".
13280 (PARMS): Do not use macros from bp-asm.h.
13281 (__frexpf): Do not use BP_SYM.
13282 (frexpf): Likewise.
13283 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13284 "bp-asm.h".
13285 (PARMS): Do not use macros from bp-asm.h.
13286 (__frexpl): Do not use BP_SYM.
13287 (frexpl): Likewise.
13288 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13289 "bp-asm.h".
13290 (PARMS): Do not use macros from bp-asm.h.
13291 (__remquo): Do not use BP_SYM.
13292 (remquo): Likewise.
13293 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13294 "bp-asm.h".
13295 (PARMS): Do not use macros from bp-asm.h.
13296 (__remquof): Do not use BP_SYM.
13297 (remquof): Likewise.
13298 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13299 "bp-asm.h".
13300 (PARMS): Do not use macros from bp-asm.h.
13301 (__remquol): Do not use BP_SYM.
13302 (remquol): Likewise.
13303 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13304 "bp-asm.h".
13305 (PARMS): Do not use macros from bp-asm.h.
13306 (DEST): Likewise.
13307 (SRC): Likewise.
13308 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13309 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13310 "bp-asm.h".
13311 (PARMS): Do not use macros from bp-asm.h.
13312 (strlen): Do not use BP_SYM.
13313 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13314 "bp-asm.h".
13315 (PARMS): Do not use macros from bp-asm.h.
13316 (S1): Likewise.
13317 (S2): Likewise.
13318 (SIZE): Likewise.
13319 (__mpn_add_n): Do not use BP_SYM.
13320 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13321 "bp-asm.h".
13322 (PARMS): Do not use macros from bp-asm.h.
13323 (S1): Likewise.
13324 (SIZE): Likewise.
13325 (__mpn_addmul_1): Do not use BP_SYM.
13326 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13327 weak_alias.
13328 (bzero): Likewise.
13329 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13330 "bp-asm.h".
13331 (PARMS): Do not use macros from bp-asm.h.
13332 (S): Likewise.
13333 (SIZE): Likewise.
13334 (__mpn_lshift): Do not use BP_SYM.
13335 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13336 "bp-asm.h".
13337 (PARMS): Do not use macros from bp-asm.h.
13338 (DEST): Likewise.
13339 (SRC): Likewise.
13340 (LEN): Likewise.
13341 (memcpy): Likewise. Do not use BP_SYM.
13342 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13343 libc_hidden_def and weak_alias.
13344 (mempcpy): Do not use BP_SYM in weak_alias.
13345 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13346 "bp-asm.h".
13347 (PARMS): Do not use macros from bp-asm.h.
13348 (DEST): Likewise.
13349 (LEN): Likewise.
13350 [!BZERO_P] (CHR): Likewise.
13351 (memset): Likewise. Do not use BP_SYM.
13352 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13353 "bp-asm.h".
13354 (PARMS): Do not use macros from bp-asm.h.
13355 (S1): Likewise.
13356 (SIZE): Likewise.
13357 (__mpn_mul_1): Do not use BP_SYM.
13358 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13359 "bp-asm.h".
13360 (PARMS): Do not use macros from bp-asm.h.
13361 (S): Likewise.
13362 (SIZE): Likewise.
13363 (__mpn_rshift): Do not use BP_SYM.
13364 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13365 "bp-asm.h".
13366 (PARMS): Do not use macros from bp-asm.h.
13367 (STR): Likewise.
13368 (CHR): Likewise.
13369 (strchr): Likewise. Do not use BP_SYM.
13370 (index): Do not use BP_SYM in weak_alias.
13371 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13372 "bp-asm.h".
13373 (PARMS): Do not use macros from bp-asm.h.
13374 (DEST): Likewise.
13375 (SRC): Likewise.
13376 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13377 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13378 "bp-asm.h".
13379 (PARMS): Do not use macros from bp-asm.h.
13380 (strlen): Do not use BP_SYM.
13381 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13382 "bp-asm.h".
13383 (PARMS): Do not use macros from bp-asm.h.
13384 (S1): Likewise.
13385 (S2): Likewise.
13386 (SIZE): Likewise.
13387 (__mpn_sub_n): Do not use BP_SYM.
13388 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13389 "bp-asm.h".
13390 (PARMS): Do not use macros from bp-asm.h.
13391 (S1): Likewise.
13392 (SIZE): Likewise.
13393 (__mpn_submul_1): Do not use BP_SYM.
13394 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13395 "bp-asm.h".
13396 (PARMS): Do not use macros from bp-asm.h.
13397 (S1): Likewise.
13398 (S2): Likewise.
13399 (SIZE): Likewise.
13400 (__mpn_add_n): Do not use BP_SYM.
13401 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13402 weak_alias.
13403 (bzero): Likewise.
13404 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13405 "bp-asm.h".
13406 (PARMS): Do not use macros from bp-asm.h.
13407 (BLK2): Likewise.
13408 (LEN): Likewise.
13409 (memcmp): Do not use BP_SYM.
13410 (bcmp): Do not use BP_SYM in weak_alias.
13411 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13412 "bp-asm.h".
13413 (PARMS): Do not use macros from bp-asm.h.
13414 (DEST): Likewise.
13415 (SRC): Likewise.
13416 (LEN): Likewise.
13417 (memcpy): Likewise. Do not use BP_SYM.
13418 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13419 "bp-asm.h".
13420 (PARMS): Do not use macros from bp-asm.h.
13421 (DEST): Likewise.
13422 (SRC): Likewise.
13423 (LEN): Likewise.
13424 (memmove): Likewise. Do not use BP_SYM.
13425 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13426 "bp-asm.h".
13427 (PARMS): Do not use macros from bp-asm.h.
13428 (DEST): Likewise.
13429 (SRC): Likewise.
13430 (LEN): Likewise.
13431 (__mempcpy): Likewise. Do not use BP_SYM.
13432 (mempcpy): Do not use BP_SYM in weak_alias.
13433 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13434 "bp-asm.h".
13435 (PARMS): Do not use macros from bp-asm.h.
13436 (DEST): Likewise.
13437 (LEN): Likewise.
13438 [!BZERO_P] (CHR): Likewise.
13439 (memset): Likewise. Do not use BP_SYM.
13440 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13441 "bp-asm.h".
13442 (PARMS): Do not use macros from bp-asm.h.
13443 (STR2): Likewise.
13444 (strcmp): Do not use BP_SYM.
13445 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13446 "bp-asm.h".
13447 (PARMS): Do not use macros from bp-asm.h.
13448 (STR): Likewise.
13449 (DELIM): Likewise.
13450 [USE_AS_STRTOK_R] (SAVE): Likewise.
13451 (FUNCTION): Likewise. Do not use BP_SYM.
13452 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13453 aliases.
13454 (strtok_r): Likewise.
13455 (__GI___strtok_r): Likewise.
13456 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13457 (PARMS): Do not use macros from bp-asm.h.
13458 (S): Likewise.
13459 (SIZE): Likewise.
13460 (__mpn_lshift): Do not use BP_SYM.
13461 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13462 (PARMS): Do not use macros from bp-asm.h.
13463 (STR): Likewise.
13464 (CHR): Likewise.
13465 (__memchr): Do not use BP_SYM.
13466 (memchr): Do not use BP_SYM in weak_alias.
13467 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13468 (PARMS): Do not use macros from bp-asm.h.
13469 (BLK2): Likewise.
13470 (LEN): Likewise.
13471 (memcmp): Do not use BP_SYM.
13472 (bcmp): Do not use BP_SYM in weak_alias.
13473 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13474 (PARMS): Do not use macros from bp-asm.h.
13475 (S1): Likewise.
13476 (SIZE): Likewise.
13477 (__mpn_mul_1): Do not use BP_SYM.
13478 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13479 "bp-asm.h".
13480 (PARMS): Do not use macros from bp-asm.h.
13481 (STR): Likewise.
13482 (CHR): Likewise.
13483 (__rawmemchr): Do not use BP_SYM.
13484 (rawmemchr): Do not use BP_SYM in weak_alias.
13485 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13486 (PARMS): Do not use macros from bp-asm.h.
13487 (S): Likewise.
13488 (SIZE): Likewise.
13489 (__mpn_rshift): Do not use BP_SYM.
13490 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13491 (PARMS): Do not use macros from bp-asm.h.
13492 (SIGMSK): Likewise.
13493 (__sigsetjmp): Likewise. Do not use BP_SYM.
13494 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13495 (_start): Do not use BP_SYM.
13496 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13497 (PARMS): Do not use macros from bp-asm.h.
13498 (DEST): Likewise.
13499 (SRC): Likewise.
13500 (__stpcpy): Likewise. Do not use BP_SYM.
13501 (stpcpy): Do not use BP_SYM in weak_alias.
13502 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13503 "bp-asm.h".
13504 (PARMS): Do not use macros from bp-asm.h.
13505 (DEST): Likewise.
13506 (SRC): Likewise.
13507 (LEN): Likewise.
13508 (__stpncpy): Likewise. Do not use BP_SYM.
13509 (stpncpy): Do not use BP_SYM in weak_alias.
13510 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13511 (PARMS): Do not use macros from bp-asm.h.
13512 (STR): Likewise.
13513 (CHR): Likewise.
13514 (strchr): Likewise. Do not use BP_SYM.
13515 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
13521 (strchrnul): Do not use BP_SYM in weak_alias.
13522 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13523 "bp-asm.h".
13524 (PARMS): Do not use macros from bp-asm.h.
13525 (STOP): Likewise.
13526 (strcspn): Do not use BP_SYM.
13527 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13528 "bp-asm.h".
13529 (PARMS): Do not use macros from bp-asm.h.
13530 (STR): Likewise.
13531 (STOP): Likewise.
13532 (strpbrk): Likewise. Do not use BP_SYM.
13533 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13534 "bp-asm.h".
13535 (PARMS): Do not use macros from bp-asm.h.
13536 (STR): Likewise.
13537 (CHR): Likewise.
13538 (strrchr): Likewise. Do not use BP_SYM.
13539 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13540 (PARMS): Do not use macros from bp-asm.h.
13541 (SKIP): Likewise.
13542 (strspn): Do not use BP_SYM.
13543 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13544 (PARMS): Do not use macros from bp-asm.h.
13545 (STR): Likewise.
13546 (DELIM): Likewise.
13547 (SAVE): Likewise.
13548 (FUNCTION): Likewise. Do not use BP_SYM.
13549 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13550 aliases.
13551 (strtok_r): Likewise.
13552 (__GI___strtok_r): Likewise.
13553 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13554 (PARMS): Do not use macros from bp-asm.h.
13555 (S1): Likewise.
13556 (S2): Likewise.
13557 (SIZE): Likewise.
13558 (__mpn_sub_n): Do not use BP_SYM.
13559 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13560 "bp-asm.h".
13561 (PARMS): Do not use macros from bp-asm.h.
13562 (S1): Likewise.
13563 (SIZE): Likewise.
13564 (__mpn_submul_1): Do not use BP_SYM.
13565 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13566 <bp-sym.h>.
13567 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13568 and <bp-asm.h>.
13569 (PARMS): Do not use macros from bp-asm.h.
13570 (FLAGS): Likewise.
13571 (PTID): Likewise.
13572 (TLS): Likewise.
13573 (CTID): Likewise.
13574 (__clone): Do not use BP_SYM.
13575 (clone): Do not use BP_SYM in weak_alias.
13576 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13577 and <bp-asm.h>.
13578 (PARMS): Do not use macros from bp-asm.h.
13579 (LEN): Likewise.
13580 (__mmap64): Do not use BP_SYM.
13581 (mmap64): Do not use BP_SYM in weak_alias.
13582 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13583 <bp-sym.h> and <bp-asm.h>.
13584 (PARMS): Do not use macros from bp-asm.h.
13585 (__posix_fadvise64_l64): Do not use BP_SYM.
13586 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13587 (PARMS): Do not use macros from bp-asm.h.
13588 (NSOPS): Likewise.
13589 (semtimedop): Do not use BP_SYM.
13590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13591 and <bp-asm.h>.
13592
582a3cff
AM
135932013-02-21 Allan McRae <allan@archlinux.org>
13594
13595 * manual/message.texi (Charset conversion in gettext):
13596 Move @end statement to beginning of line.
13597
bab8a695
SP
135982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13599
80945231
SP
13600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13601 static.
13602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13603 Likewise.
13604
bab8a695
SP
13605 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13606 (denorm): Likewise.
13607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13609
e21d7aa7
AK
136102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13611
13612 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13613 tail-call to the resolved function if pltexit isn't needed.
13614
4c7a4263
SP
136152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13616
13617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13618 or Y being zero as being unlikely.
13619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13620 Likewise.
13621
41f49342
CD
136222013-02-20 Carlos O'Donell <carlos@redhat.com>
13623
13624 * manual/nss.texi (System Databases and Name Service Switch):
13625 Remove frobnicate @pxref.
13626
50022a93
TS
136272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13628
13629 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13630 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13631
08cbd996
PM
136322013-02-20 Petr Machata <pmachata@redhat.com>
13633
13634 * elf/elf.h (R_ARM_TARGET1): New macro.
13635 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13636 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13637 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13638 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13639 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13640 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13641 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13642 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13643 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13644 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13645 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13646 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13647 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13648 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13649 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13650 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13651 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13652 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13653 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13654 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13655 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13656 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13657 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13658 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13659 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13660 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13661 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13662 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13663 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13664 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13665 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13666 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13667 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13668 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13669 (R_ARM_THM_GOT_BREL12): Likewise.
13670 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13671 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13672 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13673 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13674 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13675 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13676 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13677 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13678 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13679
c7b275d6
TS
136802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13681
13682 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13683 __attribute_used__ to __attribute__ ((unused)).
13684
20cd7fb3
SP
136852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13686
13687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13688 powerpc mpa.c.
13689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13690 comment formatting.
13691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13692
92945b52
JM
136932013-02-19 Joseph Myers <joseph@codesourcery.com>
13694
13695 [BZ #13550]
13696 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13697 Remove macro.
13698 (ENTER): Remove both macro definitions.
13699 (LEAVE): Likewise.
13700 (CHECK_BOUNDS_LOW): Likewise.
13701 (CHECK_BOUNDS_HIGH): Likewise.
13702 (CHECK_BOUNDS_BOTH): Likewise.
13703 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13704 (RETURN_BOUNDED_POINTER): Likewise.
13705 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13706 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13707 (POP_ERRNO_LOCATION_RETURN): Likewise.
13708 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13709 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13710 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13711 macros.
13712 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13713 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13714 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13715 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13716 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13717 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13718 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13719 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13720 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13721 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13722 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13723 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13724 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13725 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13726 removed macros.
13727 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13728 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13729 macros.
13730 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13731 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13732 * sysdeps/i386/i586/memset.S (memset): Likewise.
13733 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13734 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13735 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13736 macros.
13737 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13738 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13739 Change uses of L(2) to L(out).
13740 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13741 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13742 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13743 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13744 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13745 removed macros.
13746 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13747 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13748 macros.
13749 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13750 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13751 (RETURN): Do not use macro LEAVE.
13752 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13753 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13754 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13755 * sysdeps/i386/i686/memset.S (memset): Likewise.
13756 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13757 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13758 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13759 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13760 Likewise.
13761 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13762 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13763 L(1_2) and L(1_3) into L(1).
13764 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13765 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13766 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13767 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13768 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13769 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13770 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13771 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13772 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13773 macros.
13774 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13775 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13776 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13777 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13778 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13779 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13780 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13781 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13782 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13783 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13784 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13785 * sysdeps/i386/strspn.S (strspn): Likewise.
13786 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13787 conditional code.
13788 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13789 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13790 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13791 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13792 L(1_3) into L(1_1).
13793 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13795 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13796 macros.
13797 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13798
2389741a
JJ
137992013-02-19 Jakub Jelinek <jakub@redhat.com>
13800
13801 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13802 macro.
13803
2016b3cd
SP
138042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13805
e4f22324
SP
13806 * math/atest-exp.c (exp_mpn): Remove ROUND.
13807 * math/atest-exp2.c (exp_mpn): Likewise.
13808 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13809
2016b3cd
SP
13810 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13811 * stdlib/tst-tls-atexit-lib.c: Likewise.
13812 * stdlib/tst-tls-atexit.c: Likewise.
13813
4be9b544
MF
138142013-02-18 Mike Frysinger <vapier@gentoo.org>
13815
13816 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13817 and __attribute_alloc_size__.
13818
2f62b9ee
MF
138192013-02-18 Mike Frysinger <vapier@gentoo.org>
13820
13821 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13822 __attribute_alloc_size__.
13823 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13824 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13825
6ff444c4
MF
138262013-02-18 Mike Frysinger <vapier@gentoo.org>
13827
13828 * include/programs/xmalloc.h: New file.
13829 * catgets/gencat.c: Include it.
13830 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13831 * elf/pldd.c: Likewise.
13832 * iconv/iconv_charmap.c: Likewise.
13833 * iconv/iconvconfig.c: Likewise.
13834 * iconv/strtab.c: Likewise.
13835 * locale/programs/locale.c: Likewise.
13836 * locale/programs/localedef.h: Likewise.
13837 * locale/programs/simple-hash.c: Likewise.
13838 * nscd/nscd.h: Likewise.
13839 * nss/makedb.c: Likewise.
13840 * sysdeps/generic/ldconfig.h: Likewise.
13841
be179c8a
SP
138422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13843
ba384f6e
SP
13844 * Versions.def: Add GLIBC_2.18.
13845 * include/link.h (struct link_map): New member l_tls_dtor_count.
13846 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13847 (__call_tls_dtors): Likewise.
13848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13849 __cxa_thread_atexit_impl.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13851 Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13853 Likewise.
13854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13855 Likewise.
13856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13857 Likewise.
13858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13860 Likewise.
13861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13862 Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13865 Likewise.
13866 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13867 (tests): Add test case tst-tls-atexit.
13868 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13869 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13870 (GLIBC_PRIVATE): Add __call_tls_dtors.
13871 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13872 for libstdc++.
13873 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13874 * stdlib/tst-tls-atexit.c: New test case.
13875 * stdlib/tst-tls-atexit-lib.c: New test case.
13876
ffaa74cf 13877 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13878
be179c8a
SP
13879 * elf/Versions (ld): Add _dl_find_dso_for_object.
13880 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13881 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13882 (dl_open_worker): Use _dl_find_dso_for_object.
13883 * elf/dl-sym.c (do_sym): Likewise.
13884 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13885
f78b5caa
AK
138862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13887
13888 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13889 Syntactic changes only.
13890 (_dl_runtime_profile): Do a tail-call to the resolved function.
13891
29691210
JM
138922013-02-17 Joseph Myers <joseph@codesourcery.com>
13893
13894 [BZ #13550]
13895 * sysdeps/x86_64/bp-asm.h: Remove file.
13896 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13897 <bp-sym.h> and <bp-asm.h>.
13898 (__clone): Do not use BP_SYM.
13899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13900 <bp-sym.h> and <bp-asm.h>.
13901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13902 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13903 "bp-asm.h".
13904 (_setjmp): Do not use BP_SYM.
13905 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13906 "bp-asm.h".
13907 (setjmp): Do not use BP_SYM.
13908 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13909 libc_hidden_def.
13910 (mempcpy): Do not use BP_SYM in weak_alias.
13911 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13912 "bp-asm.h".
13913 (strchr): Do not use BP_SYM.
13914 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13915 "bp-asm.h".
13916 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13917 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13918 (_start): Do not use BP_SYM.
13919 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13920 "bp-asm.h".
13921 (strcat): Do not use BP_SYM.
13922 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13923 "bp-asm.h".
13924 (STRCMP): Do not use BP_SYM.
13925 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13926 "bp-asm.h".
13927 (STRCPY): Do not use BP_SYM.
13928 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13929 "bp-asm.h".
13930 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13931 "bp-asm.h".
13932 (FUNCTION): Do not use BP_SYM.
13933 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13934 weak_alias.
13935 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13936
f238fd19
AJ
139372013-02-17 Andreas Jaeger <aj@suse.de>
13938
13939 * time/Versions: Sort entries.
13940 * string/Versions: Likewise.
13941 * resolv/Versions: Likewise.
13942 * posix/Versions: Likewise.
13943 * iconv/Versions: Likewise.
13944 * elf/Versions: Likewise.
13945 * wcsmbs/Versions: Likewise.
13946
bd07f23c 139472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13948
22af19f9
SP
13949 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13950 loop termination condition.
13951
4709fe76
SP
13952 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13953 variable to calculate EZ.
13954 (__sqr): Likewise.
2d0e0f29
SP
13955
13956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13957 the lower precision input.
13958
daaa7713
JM
139592013-02-15 Joseph Myers <joseph@codesourcery.com>
13960
13961 [BZ #13550]
13962 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13963 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13964 (run-via-rtld-prefix): Do not handle %-bp tests.
13965 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13966 (all-object-suffixes): Remove .ob.
13967 (bppfx): Remove variable.
13968 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13969 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13970 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13971 [$(build-bounded) = yes] (libtype.ob): Likewise.
13972 * Makerules (elide-routines.ob): Remove variable.
13973 (do-tests-clean): Do not handle *-bp.out.
13974 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13975 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13976 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13977 (tests): Do not include $(tests-bp.out).
13978 (xtests): Do not include $(xtests-bp.out).
13979 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13980 [$(build-bounded) = yes] ($(addprefix
13981 $(objpfx),$(binaries-bounded))): Remove rule.
13982 ($(objpfx)%-bp.out): Remove rule.
13983 * config.make.in (build-bounded): Remove variable.
13984 * crypt/Makefile [$(build-bounded) = yes]
13985 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13986 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13987 append to variable.
13988 [$(build-bounded) = yes] (install-lib): Likewise.
13989 [$(build-bounded) = yes] (generated): Likewise.
13990 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13991 Remove rule.
13992 * intl/Makefile [$(build-bounded) = yes]
13993 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13994 * math/Makefile [$(build-bounded) = yes]
13995 ($(tests:%=$(objpfx)%-bp): Likewise.
13996 * misc/Makefile [$(build-bounded) = yes]
13997 ($(objpfx)tst-tsearch-bp): Likewise.
13998 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13999 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14000 Remove dependency.
14001 * string/Makefile (o-objects.ob): Remove variable.
14002 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14003 (CFLAGS-.ob): Remove variable.
14004 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14005 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14006 both definitions of variable.
14007 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14008 (ASFLAGS-.ob): Remove variable.
14009
e97ed6dd
JM
140102013-02-14 Joseph Myers <joseph@codesourcery.com>
14011
2bdd4ca6
JM
14012 [BZ #13550]
14013 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14014 Remove __BOUNDED_POINTERS__ from condition.
14015 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14016 * string/bits/string2.h [!__NO_STRING_INLINES &&
14017 !__BOUNDED_POINTERS__]: Likewise.
14018 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14019 Likewise.
14020 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14021 Remove conditional code.
14022 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14023 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14024 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14025 condition.
14026
e97ed6dd
JM
14027 [BZ #13550]
14028 * csu/libc-start.c: Do not include <bp-sym.h>.
14029 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14030 * elf/dl-open.c: Do not include <bp-sym.h>.
14031 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14032 * math/fegetenv.c: Do not include <bp-sym.h>.
14033 (fegetenv): Do not use BP_SYM in versioned symbols.
14034 * nptl/sysdeps/pthread/bits/libc-lockP.h
14035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14036 <bp-sym.h>.
14037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14038 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14040 (__pthread_mutex_destroy): Likewise.
14041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14042 (__pthread_mutex_lock): Likewise.
14043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14044 (__pthread_mutex_trylock): Likewise.
14045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14046 (__pthread_mutex_unlock): Likewise.
14047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14048 (__pthread_mutexattr_init): Likewise.
14049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14050 (__pthread_mutexattr_destroy): Likewise.
14051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14052 (__pthread_mutexattr_settype): Likewise.
14053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14054 (__pthread_rwlock_init): Likewise.
14055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14056 (__pthread_rwlock_destroy): Likewise.
14057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14058 (__pthread_rwlock_rdlock): Likewise.
14059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14060 (__pthread_rwlock_tryrdlock): Likewise.
14061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14062 (__pthread_rwlock_wrlock): Likewise.
14063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14064 (__pthread_rwlock_trywrlock): Likewise.
14065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14066 (__pthread_rwlock_unlock): Likewise.
14067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14068 (__pthread_key_create): Likewise.
14069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14070 (__pthread_setspecific): Likewise.
14071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14072 (__pthread_getspecific): Likewise.
14073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14074 Likewise.
14075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14076 (_pthread_cleanup_push_defer): Likewise.
14077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14078 (_pthread_cleanup_pop_restore): Likewise.
14079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14080 (pthread_setcancelstate): Likewise.
14081 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14082 <bp-sym.h>.
14083 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14084 (memchr): Do not use BP_SYM in weak_alias.
14085 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14086 (fegetenv): Do not use BP_SYM in versioned symbols.
14087 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14088 (fesetenv): Do not use BP_SYM in versioned symbols.
14089 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14090 (feupdateenv): Do not use BP_SYM in versioned symbols.
14091 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14092 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14093 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14094 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14095 (open64): Do not use BP_SYM in weak_alias.
14096 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14097 (fegetenv): Do not use BP_SYM in versioned symbols.
14098 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14099 (fesetenv): Do not use BP_SYM in versioned symbols.
14100 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14101 (feupdateenv): Do not use BP_SYM in versioned symbols.
14102 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14103 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14104 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14105 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14106 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14107 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14109 <bp-sym.h>.
14110 (__libc_start_main): Do not use BP_SYM.
14111
d6752ccd
SP
141122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14113
cb57ce60
SP
14114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14115 redundant return line.
14116 (norm): Likewise.
14117 (denorm): Likewise.
14118 (dbl_mp): Likewise.
14119 (sub_magnitudes): Likewise.
14120 (__add): Likewise.
14121 (__sub): Likewise.
14122 (__mul): Likewise.
14123 (__inv): Likewise.
14124 (__dvd): Likewise.
14125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14126 (norm): Likewise.
14127 (denorm): Likewise.
14128 (dbl_mp): Likewise.
14129 (sub_magnitudes): Likewise.
14130 (__add): Likewise.
14131 (__sub): Likewise.
14132 (__mul): Likewise.
14133 (__inv): Likewise.
14134 (__dvd): Likewise.
14135
f414520d
SP
14136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14137 instead of __mul.
14138 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14139 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14140 (cc32): Likewise.
14141
d6752ccd
SP
14142 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14143 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14145 of __mul for squares.
14146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14147 function
14148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14149 Likewise.
14150 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14151 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14152
70d9946a
JM
141532013-02-13 Joseph Myers <joseph@codesourcery.com>
14154
14155 [BZ #13550]
14156 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14157 code.
14158 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14159 prototype or function definition. Rename ubp_* variables and
14160 parameters. Remove argv definitions conditional on
14161 [__BOUNDED_POINTERS__].
14162 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14163 * elf/dl-runtime.c (_dl_fixup): Likewise.
14164 * include/set-hooks.h (RUN_HOOK): Likewise.
14165 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14166 definition.
14167 * string/strcpy.c (strcpy): Do not use __unbounded.
14168 * sysdeps/generic/frame.h (struct layout): Likewise.
14169 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14170 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14171 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14172 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14173 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14174 (__backtrace): Likewise.
14175 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14176 use __ptrvalue.
14177 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14178 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14179 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14180 Likewise.
14181 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14182 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14183 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14184 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14185 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14186 Do not use __unbounded.
14187 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14188 Rename __unboundedrlimits parameter to rlimits in prototype.
14189 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14190 Do not use __unbounded.
14191 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14192 not use __ptrvalue.
14193 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14194 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14195 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14196 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14197 __ptrvalue or __unbounded.
14198 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14199 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14200 use __unbounded.
14201 (__new_msgctl): Do not use __ptrvalue.
14202 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14203 __unbounded.
14204 (__libc_msgrcv): Do not use __ptrvalue.
14205 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14206 startup_info): Do not use __unbounded.
14207 (__libc_start_main): Likewise. Rename ubp_* variables and
14208 parameters. Remove argv definitions conditional on
14209 [__BOUNDED_POINTERS__].
14210 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14211 __ptrvalue.
14212 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14213 use __unbounded.
14214 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14215 or __ptrvalue.
14216 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14217 use __unbounded.
14218 (__new_shmctl): Do not use __ptrvalue.
14219 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14220 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14221 Likewise.
14222 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14224 (__libc_sigaction): Likewise.
14225 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14226 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14227 Likewise.
14228 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14229
cc7834d6
OB
142302013-02-13 Ondřej Bílka <neleai@seznam.cz>
14231
ffb1ec7b 14232 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14233
14234 * string/mempcpy.c: Implement by calling memcpy.
14235
bdf02814
SP
142362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14237
c2af38aa
SP
14238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14239
4e92d59e
SP
14240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14241 evaluation.
14242
909279a5
SP
14243 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14244 values in the mantissa.
14245
bdf02814
SP
14246 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14247 minimize writes to Z.
14248 (sub_magnitudes): Simplify code a bit.
14249
cd525923
RM
142502013-02-12 Roland McGrath <roland@hack.frob.com>
14251
14252 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14253 from the message. The linker prefixes all warnings with that already.
14254
7e2f0d2d
AS
142552013-02-12 Andreas Schwab <schwab@suse.de>
14256
a445af0b
AS
14257 [BZ #15078]
14258 * posix/regexec.c (extend_buffers): Add parameter min_len.
14259 (check_matching): Pass minimum needed length.
14260 (clean_state_log_if_needed): Likewise.
14261 (get_subexp): Likewise.
14262 * posix/Makefile (tests): Add bug-regex34.
14263 (bug-regex34-ENV): Define.
14264 * posix/bug-regex34.c: New file.
14265
7e2f0d2d
AS
14266 [BZ #11561]
14267 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14268 elements compare against the byte sequence of it, not its name.
14269 * posix/Makefile (tests): Add bug-regex35.
14270 (bug-regex35-ENV): Define.
14271 * posix/bug-regex35.c: New file.
14272
a175b684
TV
142732013-02-11 Tom de Vries <tom@codesourcery.com>
14274
14275 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14276 comment.
14277 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14278 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14279 (CHECK_EOL): Add undef.
14280
310998fe 142812013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14282
14283 * bits/stdlib-bsearch.h: New file.
14284 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14285 * stdlib/stdlib.h: Likewise.
41eda41d 14286
8ded91fb
RM
142872013-02-11 Roland McGrath <roland@hack.frob.com>
14288
14289 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14290 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14291 declaration.
14292 * manual/search.texi (Array Search Function): Add missing const in
14293 lfind prototype.
14294 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14295 declaration to use rlim_t.
14296 (Basic Scheduling Functions): Remove erroneous const from
14297 sched_getparam prototype. Remove erroneous * from
14298 sched_get_priority_max and sched_get_priority_min prototypes.
14299 (Resource Usage): Fix summary @comment on vtimes to refer to
14300 sys/vtimes.h rather than vtimes.h.
14301 Add missing *s in vtimes prototype.
14302 (Limits on Resources): Fix ulimit prototype to return long int.
14303 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14304 prototypes to use long int rather than double.
14305 (BSD Random): Fix initstate and setstate to use char *, not void *.
14306 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14307 prototype to make second argument 'struct aiocb64 *const[]'.
14308 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14309 (Status of AIO Operations): Remove erroneous const in aio_return and
14310 aio_return64 prototypes.
14311 (Synchronizing I/O): Fix sync prototype to return void.
14312 * manual/startup.texi (Suboptions): Remove an erroneous const in
14313 getsubopt prototype.
14314 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14315 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14316 use size_t rather than int.
14317 (Scanning All Users): Likewise for getpwent_r.
14318 (Setting Groups): Add missing const to setgroups prototype.
14319 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14320 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14321 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14322 'const void *' rather than 'const char *'.
14323 (Host Address Functions): Likewise for inet_ntop.
14324 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14325 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14326 ssize_t for return value.
14327 (Sending Data): Likewise for send, sendto, sendmsg.
14328 (Socket Option Functions): Add a missing const in setsockopt prototype.
14329 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14330 use wchar_t for the argument.
14331 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14332 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14333 take no arguments.
14334 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14335 double/float/long double for second argument.
14336 Fix return types of significand, significandf, significandl.
14337 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14338 argument in fchmod prototype.
14339 (File Owner): Use uid_t and gid_t in fchown prototype.
14340 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14341 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14342 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14343 use 'const struct dirent **' as argument types to CMP function pointer
14344 argument.
14345 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14346 (File Times): Fix summary magic @comment for struct utimbuf and utime
14347 to refer to utime.h, not time.h.
14348 * manual/string.texi (Argz Functions): Add missing const in
14349 argz_extract and argz_next prototypes.
14350 (Finding Tokens in a String): Likewise for basename.
14351 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14352 (Copying and Concatenation): Fix typo in wmemmove prototype.
14353 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14354 (Signal Stack): Remove erroneous const in sigstack prototype.
14355 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14356 prototype.
14357 (Simple Calendar Time): Likewise for stime.
14358 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14359 prototype.
14360 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14361 say sys/sysctl.h instead.
14362 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14363 and vsyslog prototypes.
14364
fe77fe6d
TV
143652013-02-11 Tom de Vries <tom@codesourcery.com>
14366
14367 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14368 Remove.
14369
3a09b620
RM
143702013-02-11 Roland McGrath <roland@hack.frob.com>
14371
14372 * misc/sys/mman.h: Fix typo in mremap comment.
14373
550a0b89
RM
143742013-02-08 Roland McGrath <roland@hack.frob.com>
14375
14376 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14377 the '\0' terminator.
14378
a2da1673
JM
143792013-02-08 Joseph Myers <joseph@codesourcery.com>
14380
14381 [BZ #13550]
14382 * debug/segfault.c: Don't include <bp-checks.h>.
14383 * sysdeps/generic/bp-checks.h: Remove file.
14384 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14385 (__GETDENTS): Don't use CHECK_N.
14386 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14387 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14388 (__getgroups): Don't use CHECK_N.
14389 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14390 (setgroups): Don't use CHECK_N.
14391 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14392 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14393 (__libc_msgrcv): Don't use CHECK_N.
14394 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14395 (__libc_msgsnd): Don't use CHECK_N.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14397 <bp-checks.h>.
14398 (__libc_pread): Don't use CHECK_N.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14400 include <bp-checks.h>.
14401 (__libc_pread64): Don't use CHECK_N.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14403 include <bp-checks.h>.
14404 (__libc_pwrite): Don't use CHECK_N.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14406 include <bp-checks.h>.
14407 (__libc_pwrite64): Don't use CHECK_N.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14409 <bp-checks.h>.
14410 (__libc_pread): Don't use CHECK_N.
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14412 include <bp-checks.h>.
14413 (__libc_pread64): Don't use CHECK_N.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14415 include <bp-checks.h>.
14416 (__libc_pwrite): Don't use CHECK_N.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14418 include <bp-checks.h>.
14419 (__libc_pwrite64): Don't use CHECK_N.
14420 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14421 (do_pread): Don't use CHECK_N.
14422 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14423 (do_pread64): Don't use CHECK_N.
14424 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14425 (do_pwrite): Don't use CHECK_N.
14426 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14427 (do_pwrite64): Don't use CHECK_N.
14428 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14429 (__libc_readv): Don't use CHECK_N.
14430 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14431 (semop): Don't use CHECK_N.
14432 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14433 <bp-checks.h>.
14434 (semtimedop): Don't use CHECK_N.
14435 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14436 (__libc_pread): Don't use CHECK_N.
14437 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14438 <bp-checks.h>.
14439 (__libc_pread64): Don't use CHECK_N.
14440 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14441 <bp-checks.h>.
14442 (__libc_pwrite): Don't use CHECK_N.
14443 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14444 <bp-checks.h>.
14445 (__libc_pwrite64): Don't use CHECK_N.
14446 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14447 <bp-checks.h>.
14448 (__libc_msgrcv): Don't use CHECK_N.
14449 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14450 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14451 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14452 (__libc_writev): Don't use CHECK_N.
14453
b84660a8
RM
144542013-02-08 Roland McGrath <roland@hack.frob.com>
14455
7f3e75f8
RM
14456 * string/strcpy.c: Removed unused variable.
14457
b84660a8
RM
14458 * Makeconfig (+sysdep-includes): Define with := rather than =.
14459 Use an existing include/ subdir of each sysdeps dir before it.
14460
471514d3
CD
144612013-02-08 Carlos O'Donell <carlos@redhat.com>
14462
14463 * nscd/connection.c (register_traced_file): Comment function.
14464 [HAVE_INOTIFY] (union __inev): Define.
14465 [HAVE_INOTIFY] (inotify_check_files): New function.
14466 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14467 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14468 clear_db_cache.
14469 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14470
b2d3c3be
CD
144712013-02-08 Carlos O'Donell <carlos@redhat.com>
14472
14473 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14474 loaded if not already and that a failure is permanent.
14475
b39949d2
CD
144762013-02-08 Carlos O'Donell <carlos@redhat.com>
14477
ddacd1db 14478 [BZ #15006]
b39949d2
CD
14479 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14480 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14481
b2c9eff4
JM
144822013-02-08 Joseph Myers <joseph@codesourcery.com>
14483
f3aae3f3
JM
14484 [BZ #13550]
14485 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14486 (CHECK_1_NULL_OK): Likewise.
14487 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14488 (__fxstat): Do not use CHECK_1.
14489 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14490 <bp-checks.h>.
14491 (___fxstat64): Do not use CHECK_1.
14492 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14493 <bp-checks.h>.
14494 (__fxstatat): Do not use CHECK_1.
14495 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14496 <bp-checks.h>.
14497 (__fxstatat64): Do not use CHECK_1.
14498 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14499 <bp-checks.h>.
14500 (__fxstat): Do not use CHECK_1.
14501 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14502 <bp-checks.h>.
14503 (__fxstatat): Do not use CHECK_1.
14504 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14505 <bp-checks.h>.
14506 (__getresgid): Do not use CHECK_1.
14507 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14508 <bp-checks.h>.
14509 (__getresuid): Do not use CHECK_1.
14510 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14511 <bp-checks.h>.
14512 (__lxstat): Do not use CHECK_1.
14513 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14514 <bp-checks.h>.
14515 (__old_msgctl): Do not use CHECK_1.
14516 (__new_msgctl): Likewise.
14517 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14518 <bp-checks.h>.
14519 (__new_setrlimit): Do not use CHECK_1.
14520 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14521 <bp-checks.h>.
14522 (__old_shmctl): Do not use CHECK_1.
14523 (__new_shmctl): Likewise.
14524 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14525 <bp-checks.h>.
14526 (__xstat): Do not use CHECK_1.
14527 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14528 (__lxstat): Do not use CHECK_1.
14529 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14530 <bp-checks.h>.
14531 (___lxstat64): Do not use CHECK_1.
14532 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14533 (__old_msgctl): Do not use CHECK_1.
14534 (__new_msgctl): Likewise.
14535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14536 <bp-checks.h>.
14537 (__gettimeofday): Do not use CHECK_1.
14538 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14539 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14540 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14541 <bp-checks.h>.
14542 (__gettimeofday): Do not use CHECK_1.
14543 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14544 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14545 (__new_shmctl): Do not use CHECK_1.
14546 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14547 <bp-checks.h>.
14548 (do_sigtimedwait): Do not use CHECK_1.
14549 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14550 <bp-checks.h>.
14551 (do_sigwaitinfo): Do not use CHECK_1.
14552 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14553 <bp-checks.h>.
14554 (msgctl): Do not use CHECK_1.
14555 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14556 <bp-checks.h>.
14557 (shmctl): Do not use CHECK_1.
14558 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14559 (ustat): Do not use CHECK_1.
14560 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14561 <bp-checks.h>.
14562 (__fxstat): Do not use CHECK_1.
14563 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14564 <bp-checks.h>.
14565 (__fxstatat): Do not use CHECK_1.
14566 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14567 <bp-checks.h>.
14568 (__lxstat): Do not use CHECK_1.
14569 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14570 <bp-checks.h>.
14571 (__xstat): Do not use CHECK_1.
14572 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14573 (__xstat): Do not use CHECK_1.
14574 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14575 (___xstat64): Do not use CHECK_1.
14576
b2c9eff4
JM
14577 [BZ #13550]
14578 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14579 definitions.
14580 (CHECK_BOUNDS_HIGH): Likewise.
14581 * string/strcpy.c: Do not include <bp-checks.h>.
14582 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14583
f1d70dad
RM
145842013-02-07 Roland McGrath <roland@hack.frob.com>
14585
14586 * nscd/nscd-client.h (__nscd_drop_map_ref):
14587 Add __attribute__ ((unused)).
14588 * nis/nss-nisplus.h (niserr2nss): Likewise.
14589
14590 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14591 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14592
14593 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14594 Remove inline keyword.
14595 * include/rounding-mode.h (round_away): Likewise.
14596 * libio/wfileops.c (adjust_wide_data): Likewise.
14597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14598 (__m128i_strloadu_tolower): Likewise.
14599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14600 (__m128i_strloadu_tolower): Likewise.
14601 * time/mktime.c (ydhms_diff): Likewise.
14602 * locale/elem-hash.h (elem_hash): Likewise.
14603 * locale/setlocale.c (setdata): Likewise.
14604 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14605 (re_string_wchar_at): Likewise.
14606 (bitset_not, bitset_merge, bitset_mask): Likewise.
14607 [!(__GNUC__ > 3)] (inline): Remove macro.
14608 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14609 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14610 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14611 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14612 * string/memcmp.c (memcmp_bytes): Likewise.
14613 * locale/programs/locarchive.c (compute_hashval): Likewise.
14614 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14615 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14616 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14617 * nss/getent.c (print_rpc, print_protocols): Likewise.
14618 (print_passwd, print_group, print_aliases): Likewise.
14619 * nis/nss-nisplus.h (niserr2nss): Likewise.
14620 * nscd/connections.c (restart_p): Likewise.
14621 Change return type to bool.
14622
eab55bfb
RM
146232013-02-05 Roland McGrath <roland@hack.frob.com>
14624
7bd642f5
RM
14625 * Makeconfig (all-Depend-files): Add existing
14626 $(sorted-subdirs:=/Depend) files.
14627 (all-subdirs): Remove nss.
14628 * sysdeps/unix/inet/Subdirs: Add it here instead.
14629 * hesiod/Depend: New file.
14630
573c29b2
RM
14631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14632 instead of calling alloca.
14633
b2e25af0
RM
14634 * io/lseek.c (__lseek): Rename to __libc_lseek.
14635 Define __lseek as an alias.
14636
eab55bfb
RM
14637 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14638
9a0d1941
CD
146392013-02-04 Carlos O'Donell <carlos@redhat.com>
14640
14641 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14642 else clause and remove check for non-standard endianness.
14643
b83bbec4
DM
146442013-02-04 David S. Miller <davem@davemloft.net>
14645
14646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14647
6277fdab
JM
146482013-02-04 Joseph Myers <joseph@codesourcery.com>
14649
14650 [BZ #13550]
14651 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14652 (__ubp_memchr): Remove prototype.
14653 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14654 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14655 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14656 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14657 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14658 Remove alias.
14659 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14660 (__ubp_memchr): Likewise.
14661 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14662 (__ubp_memchr): Likewise.
14663 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14664 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14665 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14666 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14667 CHECK_STRING.
14668 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14669 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14670 (__getcwd): Do not use CHECK_STRING.
14671 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14672 <bp-checks.h>.
14673 (__real_chown): Do not use CHECK_STRING.
14674 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14675 <bp-checks.h>.
14676 (fchownat): Do not use CHECK_STRING.
14677 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14678 CHECK_STRING.
14679 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14680 <bp-checks.h>.
14681 (__lchown): Do not use CHECK_STRING.
14682 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14683 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14684 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14685 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14687 include <bp-checks.h>.
14688 (truncate64): Do not use CHECK_STRING.
14689 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14690 <bp-checks.h>.
14691 (__real_chown): Do not use CHECK_STRING.
14692 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14693 <bp-checks.h>.
14694 (__lchown): Do not use CHECK_STRING.
14695 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14696 <bp-checks.h>.
14697 (__chown): Do not use CHECK_STRING.
14698 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14699 <bp-checks.h>.
14700 (truncate64): Do not use CHECK_STRING.
14701 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14702 Likewise.
14703 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14704 (__xmknod): Do not use CHECK_STRING.
14705 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14706 <bp-checks.h>.
14707 (__xmknodat): Do not use CHECK_STRING.
14708 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14709 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14710
903ae060
AS
147112013-02-04 Andreas Schwab <schwab@suse.de>
14712
14713 [BZ #14142]
14714 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14715 * include/netdb.h: Likewise for h_errno.
14716 * elf/tst-stackguard1.c: Include <tls.h>.
14717
542f9466
JK
147182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14719
14720 * elf/link.h (struct link_map): Extend the l_addr comment.
14721 * include/link.h (struct link_map): Likewise.
14722
e782a927
JM
147232013-02-01 Joseph Myers <joseph@codesourcery.com>
14724
14725 [BZ #13550]
14726 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14727 (BOUNDED_1): Remove macro.
14728 * debug/backtrace.c: Don't include <bp-checks.h>.
14729 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14730 (__backtrace): Likewise.
14731 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14732 <bp-checks.h>.
14733 (__backtrace): Don't use BOUNDED_1.
14734 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14735 <bp-checks.h>.
14736 (__backtrace): Don't use BOUNDED_1.
14737 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14738 (__backtrace): Don't use BOUNDED_1.
14739 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14740 (shmat): Don't use BOUNDED_N.
14741
8cf28c5e
JM
147422013-01-31 Joseph Myers <joseph@codesourcery.com>
14743
3a7ac8a0
JM
14744 [BZ #13550]
14745 * sysdeps/generic/bp-start.h: Remove file.
14746 * csu/libc-start.c: Don't include <bp-start.h>.
14747 (LIBC_START_MAIN): Set up __environ directly instead of using
14748 INIT_ARGV_and_ENVIRON.
14749 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14750 <bp-start.h>.
14751
f3499f95
JM
14752 [BZ #13550]
14753 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14754 definitions.
14755 (CHECK_FCNTL): Likewise.
14756 (CHECK_N_PAGES): Likewise.
14757
32a45bea
JM
14758 [BZ #13550]
14759 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14760 definitions.
14761 (CHECK_SIGSET_NULL_OK): Likewise.
14762 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14763 <bp-checks.h>.
14764 (sigpending): Don't use CHECK_SIGSET.
14765 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14766 <bp-checks.h>.
14767 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14768 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14769 <bp-checks.h>.
14770 (do_sigsuspend): Don't use CHECK_SIGSET.
14771 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14772 use CHECK_SIGSET.
14773 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14774 (do_sigwait): Don't use CHECK_SIGSET.
14775 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14776 use CHECK_SIGSET.
14777 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14778 include <bp-checks.h>.
14779 (sigpending): Don't use CHECK_SIGSET.
14780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14781 include <bp-checks.h>.
14782 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14783 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14784 <bp-checks.h>.
14785 (sigpending): Don't use CHECK_SIGSET.
14786 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14787 <bp-checks.h>.
14788 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14789
2e8a5c8c
JM
14790 [BZ #13550]
14791 * sysdeps/generic/bp-semctl.h: Remove file.
14792 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14793 <bp-checks.h> and <bp-semctl.h>.
14794 (__old_semctl): Don't use CHECK_SEMCTL.
14795 (__new_semctl): Likewise.
14796 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14797 and <bp-semctl.h>.
14798 (__old_semctl): Don't use CHECK_SEMCTL.
14799 (__new_semctl): Likewise.
14800 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14801 <bp-checks.h> and <bp-semctl.h>.
14802 (__old_semctl): Don't use CHECK_SEMCTL.
14803 (__new_semctl): Likewise.
14804 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14805 <bp-checks.h> and <bp-semctl.h>.
14806 (semctl): Don't use CHECK_SEMCTL.
14807
c2d54929
JM
14808 [BZ #13550]
14809 * Makerules (elide-bp-thunks): Remove variable.
14810 (elide-routines.oS): Don't use $(elide-bp-thunks).
14811 (elide-routines.os): Likewise.
14812 (elide-routines.o): Likewise.
14813 (elide-routines.op): Likewise.
14814 (elide-routines.og): Likewise.
14815 (objects): Don't use $(bp-thunks).
14816 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14817 include.
14818 (common-generated): Do not add s-proto-bp.d.
14819 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14820 (int): Likewise.
14821 (typ): Likewise.
14822 Do not generate makefile rules for bounded-pointer thunks.
14823 * sysdeps/generic/bp-thunks.h: Remove file.
14824 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14825 * sysdeps/unix/s-proto-bp.S: Likewise.
14826
8cf28c5e
JM
14827 [BZ #15062]
14828 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14829 parts of result separately when argument is not close to line from
14830 -i to i and one part of argument is small.
14831 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14832 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14833 * math/libm-test.inc (cacos_test): Add more tests.
14834 (casin_test): Likewise.
14835 (casinh_test): Likewise.
14836 * sysdeps/i386/fpu/libm-test-ulps: Update.
14837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14838
c4e33b8d
DM
148392013-01-31 David S. Miller <davem@davemloft.net>
14840
14841 * po/de.po: Update from translation team.
14842
3b60b421
MK
148432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14844
14845 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14846
bb931195
TS
148472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14848
b5a5da23
TS
14849 * configure.in (_AC_PROG_CC_C89): New definition.
14850 * configure: Regenerate.
14851
bb931195
TS
14852 * configure.in (AC_PROG_CPP): New definition.
14853 * configure: Regenerate.
14854
8c53a12c
JM
148552013-01-23 Joseph Myers <joseph@codesourcery.com>
14856
14857 * debug/tst-backtrace.h: New file.
14858 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14859 (ret): Remove variable.
14860 (x): Likewise.
14861 (FAIL): Remove macro.
14862 (NO_INLINE): Likewise.
14863 (fn1): Use match function instead of strstr.
14864 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14865 (ret): Remove variable.
14866 (x): Likewise.
14867 (FAIL): Remove macro.
14868 (NO_INLINE): Likewise.
14869 (fn): Use match function instead of strstr.
14870 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14871 (ret): Remove variable.
14872 (x): Likewise.
14873 (FAIL): Remove macro.
14874 (NO_INLINE): Likewise.
14875 (handle_signal): Use match function instead of strstr.
14876 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14877 (ret): Remove variable.
14878 (x): Likewise.
14879 (FAIL): Remove macro.
14880 (NO_INLINE): Likewise.
14881 (handle_signal): Use match function instead of strstr.
14882
4858fa2a
RM
148832013-01-23 Roland McGrath <roland@hack.frob.com>
14884
14885 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14886
bae8e7f5
DM
148872013-01-23 David S. Miller <davem@davemloft.net>
14888
14889 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14890 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14891 argument of CAS if possible.
14892 * sysdeps/sparc/sparc64/bits/atomic.h
14893 (__arch_compare_and_exchange_val_32_acq): Likewise.
14894 (__arch_compare_and_exchange_val_64_acq): Likewise.
14895
9cbbc4ae
PT
148962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14897
14898 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14899 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14900 Include <limits.h>.
67b3f58c 14901 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14902
5655a0b5
AC
149032013-01-23 Adam Conrad <adconrad@0c3.net>
14904
14905 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14906 (LDFLAGS-tst-array5): Likewise.
14907
052aff95
JM
149082013-01-23 Joseph Myers <joseph@codesourcery.com>
14909
14910 [BZ #15036]
14911 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14912 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14913 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14914 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14915
7c1e01aa
DM
149162013-01-21 David S. Miller <davem@davemloft.net>
14917
14918 * sysdeps/sparc/backtrace.c: New file.
14919 * sysdeps/sparc/sparc32/backtrace.h: New file.
14920 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14921 * sysdeps/sparc/sparc64/backtrace.h: New file.
14922 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14923 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14924 -funwind-tables.
14925
ab087e0a
AS
149262013-01-21 Andreas Schwab <schwab@suse.de>
14927
14928 [BZ #15020]
14929 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14930 closed its stdout.
14931
ed689c2f
AS
149322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14933
14934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14935 "mpa2.h".
14936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14937
31d470ac
JM
149382013-01-18 Joseph Myers <joseph@codesourcery.com>
14939 Mark Mitchell <mark@codesourcery.com>
14940 Tom de Vries <tom@codesourcery.com>
14941 Paul Pluzhnikov <ppluzhnikov@google.com>
14942
14943 * debug/tst-backtrace2.c: New file.
14944 * debug/tst-backtrace3.c: Likewise.
14945 * debug/tst-backtrace4.c: Likewise.
14946 * debug/tst-backtrace5.c: Likewise.
14947 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14948 (CFLAGS-tst-backtrace3.c): Likewise.
14949 (CFLAGS-tst-backtrace4.c): Likewise.
14950 (CFLAGS-tst-backtrace5.c): Likewise.
14951 (LDFLAGS-tst-backtrace2): Likewise.
14952 (LDFLAGS-tst-backtrace3): Likewise.
14953 (LDFLAGS-tst-backtrace4): Likewise.
14954 (LDFLAGS-tst-backtrace5): Likewise.
14955 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14956 tst-backtrace4 and tst-backtrace5.
14957
90567f30 149582013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14959 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14960
14961 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14962 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14963 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14964 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14966 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14967 "+r" and remove output regs list as redundant. Add explicit inline
14968 asm to specify register of return val to work around compiler codegen
14969 bug. Remove (int) cast on return value. Add return type parameter to
14970 use in macro so that this macro does not truncate return value for
14971 64-bit values.
14972 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14973 pass to INTERNAL_VSYSCALL_NCS.
14974 (INLINE_VSYSCALL): Add 'long int' as return type to
14975 INTERNAL_VSYSCALL_NCS macro invocation.
14976 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14977 INTERNAL_VSYSCALL_NCS macro invocation.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14979
d3b9ea61
SP
149802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14981
0b57daeb
SP
14982 [BZ #14496]
14983 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14984 Fix application of SIMD FP exception mask.
14985
caa99d06
SP
14986 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14987 mp_no from a power of two.
14988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14989 __mpexp_twomm1. Use __pow_mp.
14990
d3b9ea61
SP
14991 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14992 multiplication.
14993
1dbaee3c
DM
149942013-01-17 David S. Miller <davem@davemloft.net>
14995
14996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14997
728d7b43
JM
149982013-01-17 Joseph Myers <joseph@codesourcery.com>
14999
15000 [BZ #15023]
15001 * include/complex.h: Condition contents on [!_COMPLEX_H].
15002 (__kernel_casinhf): New prototype.
15003 (__kernel_casinh): Likewise.
15004 (__kernel_casinhl): Likewise.
15005 * math/Makefile (libm_calls): Add k_casinh.
15006 * math/k_casinh.c: New file.
15007 * math/k_casinhf.c: Likewise.
15008 * math/k_casinhl.c: Likewise.
15009 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15010 finite nonzero arguments.
15011 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15012 finite nonzero arguments.
15013 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15014 finite nonzero arguments.
15015 * math/s_casinh.c: Do not include <float.h>.
15016 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15017 * math/s_casinhf.c: Do not include <float.h>.
15018 (__casinhf): Move code for finite nonzero arguments to
15019 k_casinhf.c.
15020 * math/s_casinhl.c: Do not include <float.h>.
15021 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15022 redefine.
15023 (__casinhl): Move code for finite nonzero arguments to
15024 k_casinhl.c.
15025 * math/libm-test.inc (cacos_test): Add more tests.
15026 * sysdeps/i386/fpu/libm-test-ulps: Update.
15027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15028
2a26ef3a
PT
150292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15030
15031 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15032 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15033 [!HAVE_MREMAP]: Remove [defined linux] case.
15034 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15035
a897655d
SP
150362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15037
15038 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15039
881ebe89 150402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15041
15042 * elf/elf.h (R_386_SIZE32): New relocation.
15043 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15044 R_386_SIZE32.
15045 (elf_machine_rela): Likewise.
15046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15047 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15048
59981e9b
JM
150492013-01-17 Joseph Myers <joseph@codesourcery.com>
15050
15051 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15052 (FP_FAST_FMA): Do not define.
15053 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15054 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15055 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15056 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15057 !_SOFT_FLOAT]: Likewise.
15058 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15059 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15060 value.
15061 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15062 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15063 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15064 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15065 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15066 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15067 file.
15068
cfa8054f
AS
150692013-01-16 Andreas Schwab <schwab@suse.de>
15070
15071 [BZ #14327]
15072 * include/stdlib.h (__mktemp): Add declaration.
15073 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15074 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15075
dd930cc5
SP
150762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15077
881ebe89
SP
15078 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15079 definitions.
15080 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15081 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15082 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15083 definitions here.
15084 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15085 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15086 definitions.
15087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15088 and ONE.
15089 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15090 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15091 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15092 definitions.
15093 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15094 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15095 definitions.
15096 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15097
dd930cc5
SP
15098 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15099
c19a9f89
DM
151002013-01-15 David S. Miller <davem@davemloft.net>
15101
1aa61767
DM
15102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15103 trunc{,f} to libm-sysdep_routes.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15106 file.
15107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15109 file.
15110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15111 file.
15112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15117 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15118 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15119 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15120
c42d5e98
DM
15121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15122 nearbyint{,f} to libm-sysdep_routes.
15123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15125 New file.
15126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15127 file.
15128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15129 New file.
15130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15131 file.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15134 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15135 file.
15136 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15137 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15138 file.
15139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15140 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15141 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15142
c19a9f89
DM
15143 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15144 libc_feholdexcept and libc_fesetenv.
15145
357679d2
MF
151462013-01-15 Mike Frysinger <vapier@gentoo.org>
15147
15148 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15149
65a82e3d
DM
151502013-01-14 David S. Miller <davem@davemloft.net>
15151
8b954ab9
DM
15152 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15153 (SPARC_ASM_VIS2_IFUNC): Likewise.
15154 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15156 use of 'siam' instruction.
15157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15158 Likewise.
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15160 Likewise.
15161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15162 Likewise.
15163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15168 file.
15169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15170 file.
15171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15172 file.
15173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15174 file.
15175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15180 new VIS2 routines.
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15184 Likewise.
15185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15190 routines to libm-sysdep_routines.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15192
65a82e3d
DM
15193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15194 fdim/fdimf to libm-sysdep_routines.
15195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15196 file.
15197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15199 file.
15200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15203 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15204 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15205 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15206 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15207
e34ab705
SP
152082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15209
2a91b573
SP
15210 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15211 to optimize copies.
15212
1066a534
SP
15213 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15216
e34ab705
SP
15217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15218 local variable MPTWO.
15219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15220 Likewise.
15221
aba5e596
MF
152222013-01-13 Mike Frysinger <vapier@gentoo.org>
15223
15224 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15225 GLOB_NOESCAPE.
15226
e557e9e5
MF
152272013-01-13 Mike Frysinger <vapier@gentoo.org>
15228
15229 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15230
0428cec9
MF
152312013-01-13 Mike Frysinger <vapier@gentoo.org>
15232
15233 * manual/pattern.texi (glob_t): Document gl_flags.
15234 (glob64_t): Likewise.
15235
8794a964
DM
152362013-01-11 David S. Miller <davem@davemloft.net>
15237
66438c3f
RM
15238 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15239 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15240 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15241 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15242 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15243 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15244 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15245 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15246 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15247 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15248 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15249 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15250 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15251
4ae4244d
DM
15252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15253 sparc V9 rather than using V8 code.
15254 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15255 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15256
8794a964
DM
15257 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15258 Move to...
15259 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15260 Here.
15261
6270516e
RM
152622013-01-11 Roland McGrath <roland@hack.frob.com>
15263
15264 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15265 not in the main loop.
15266 * configure: Regenerated.
15267
6a57d931
JM
152682013-01-11 Joseph Myers <joseph@codesourcery.com>
15269
15270 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15271 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15272 to just #else.
15273 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15274 [!__GLIBC_HAVE_LONG_LONG] case.
15275 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15276 condition to just #else.
15277 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15278 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15279 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15280 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15281 unconditional.
15282 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15283 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15284 #elif condition to just #else.
15285 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15286 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15287 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15288 #elif condition to just #else.
15289
0e8529e9
SE
152902013-01-11 Steve Ellcey <sellcey@mips.com>
15291
15292 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15293 (EF_MIPS_ARCH_64): Fix value.
15294 (EF_MIPS_ARCH_32R2): New.
15295 (EF_MIPS_ARCH_64R2): New.
15296
740b3dbe
L
152972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 * Makeconfig (+link-pie-before-libc): New.
15300 (+link-pie-after-libc): Likewise.
15301 (+link-pie-tests): Likewise.
15302 (+link-pie): Rewritten.
15303 (link-before-libc): Remove $(config-LDFLAGS).
15304 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15305 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15306 (config-LDFLAGS): Renamed to ...
15307 (rtld-LDFLAGS): This.
15308 (rtld-tests-LDFLAGS): New macro.
15309 (link-libc-rpath-link): Likewise.
15310 (link-libc-tests-rpath-link): Likewise.
15311 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15312 (link-libc): Prepand $(link-libc-rpath-link).
15313 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15314 (test-program-prefix): New macro.
15315 (test-via-rtld-prefix): Likewise.
15316 (test-program-cmd): Likewise.
15317 (host-test-program-cmd): Likewise.
15318 * Makefile ($(common-objpfx)testrun.sh): Replace
15319 $(run-program-prefix) with $(test-program-prefix).
15320 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15321 $(rtld-LDFLAGS).
15322 ($(common-objpfx)shlib.lds): Likewise.
15323 (build-module-helper): Likewise.
15324 ($(common-objpfx)format.lds): Likewise.
15325 * Rules (binaries-pie-tests): New.
15326 (binaries-pie-notests): Likewise.
15327 (binaries-pie): Rewritten.
15328 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15329 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15330 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15331 (make-test-out): Replace $(host-built-program-cmd) with
15332 $(host-test-program-cmd).
15333 * config.make.in (build-hardcoded-path-in-tests): New variable.
15334 * configure.in (--enable-hardcoded-path-in-tests): New configure
15335 option.
15336 (hardcoded_path_in_tests): New AC_SUBST.
15337 * configure: Regenerated.
15338 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15339 $(built-program-cmd) with $(test-program-cmd).
15340 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15341 (test_program_cmd): This.
15342 * elf/Makefile ($(objpfx)order.out): Run test with
15343 $(test-program-prefix).
15344 ($(objpfx)order2.out): Likewise.
15345 ($(objpfx)tst-initorder.out): Likewise.
15346 ($(objpfx)tst-initorder2.out): Likewise.
15347 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15348 $(test-program-cmd).
15349 ($(objpfx)tst-array1-static.out): Likewise.
15350 ($(objpfx)tst-array2.out): Likewise.
15351 ($(objpfx)tst-array3.out): Likewise.
15352 ($(objpfx)tst-array4.out): Likewise.
15353 ($(objpfx)tst-array5.out): Likewise.
15354 ($(objpfx)tst-array5-static.out): Likewise.
15355 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15356 $(test-program-cmd).
15357 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15358 $(run-program-prefix) with $(test-program-prefix).
15359 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15360 (test_program_prefix): This.
15361 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15362 $(run-program-prefix) with $(test-program-prefix).
15363 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15364 (test_program_prefix): This.
15365 * iconvdata/tst-tables.sh: Likewise.
15366 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15367 $(run-program-prefix) with $(test-program-prefix).
15368 ($(objpfx)tst-translit.out): Likewise.
15369 ($(objpfx)tst-gettext2.out): Likewise.
15370 ($(objpfx)tst-gettext4.out): Likewise.
15371 ($(objpfx)tst-gettext6.out): Likewise.
15372 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15373 (test_program_prefix): This.
15374 * intl/tst-gettext2.sh: Likewise.
15375 * intl/tst-gettext4.sh Likewise.
15376 * intl/tst-gettext6.sh: Likewise.
15377 * intl/tst-translit.sh: Likewise.
15378 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15379 with $(test-program-cmd).
15380 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15381 $(run-program-prefix) with $(test-program-prefix).
15382 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15383 (test_program_prefix): This.
15384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15385 $(run-program-prefix) with $(test-program-prefix).
15386 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15387 (test_program_prefix): This.
15388 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15389 * posix/Makefile ($(objpfx)globtest.out): Replace
15390 $(run-via-rtld-prefix) and $(test-wrapper) with
15391 $(test-program-prefix) and $(test-via-rtld-prefix).
15392 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15393 $(test-program-prefix).
15394 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15395 $(host-test-program-cmd).
15396 (tst-spawn-ARGS): Likewise.
15397 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15398 $(test-program-prefix).
15399 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15400 (test_via_rtld_prefix): This.
15401 (test_wrapper): Renamed to ...
15402 (test_program_prefix): This.
15403 (run_program_prefix): Replaced by test_program_prefix.
15404 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15405 (test_program_prefix): This.
15406 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15407 with $(host-test-program-cmd).
15408 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15409 $(run-program-prefix) with $(test-program-prefix).
15410 ($(objpfx)tst-printf.out): Likewise.
15411 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15412 $(test-program-cmd).
15413 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15414 (test_program_prefix): This.
15415 * stdio-common/tst-unbputc.sh: Likewise.
15416 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15417 $(run-program-prefix) with $(test-program-prefix).
15418 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15419 (test_program_prefix): This.
15420 * string/Makefile ($(objpfx)tst-svc.out): Replace
15421 $(built-program-cmd) with $(test-program-cmd).
15422
c6fe55cf
AJ
154232013-01-11 Andreas Jaeger <aj@suse.de>
15424
15425 [BZ #15003]
15426 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15427 value. Sync with Linux 3.7.
15428
9e6919c8
DM
154292013-01-10 David S. Miller <davem@davemloft.net>
15430
15431 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15432 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15433 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15434
1c9f1a02
RM
154352013-01-10 Roland McGrath <roland@hack.frob.com>
15436
15437 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15438 never set.
15439 * configure: Regenerated.
15440
b9de2dde
DM
154412013-01-10 David S. Miller <davem@davemloft.net>
15442
15443 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15444 sparc V9 rather than using V8 code.
15445 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15446 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15447
e7f68ef4
RM
154482013-01-10 Roland McGrath <roland@hack.frob.com>
15449
15450 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15451 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15452 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15453 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15454 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15455 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15456 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15457 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15458 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15459 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15460 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15461 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15462 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15463 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15464 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15465 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15466 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15467 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15468 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15469 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15470 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15471 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15472 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15473 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15474 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15475 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15476 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15477
5a47cc9c
DM
154782013-01-10 David S. Miller <davem@davemloft.net>
15479
15480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15481
4cf8f209
L
154822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15483
15484 * posix/Makefile (tests-static): New variable.
15485 (tests): Add $(tests-static).
15486 (tst-exec-static-ARGS): New variable.
15487 (tst-spawn-static-ARGS): Likewise.
15488 * posix/tst-exec-static.c: New file.
15489 * posix/tst-spawn-static.c: Likewise.
15490 * posix/tst-exec.c: Support run directly.
15491 * posix/tst-spawn.c: Likewise.
15492
fed0faa1
JM
154932013-01-10 Joseph Myers <joseph@codesourcery.com>
15494
828beb13
JM
15495 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15496 long.
15497 * math/bits/mathcalls.h (llrint): Likewise.
15498 (llround): Likewise.
15499 * stdlib/stdlib.h (struct drand48_data): Likewise.
15500 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15501 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15502 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15503 Likewise.
15504 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15505 Likewise.
15506 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15507 (elf_greg_t): Likewise.
15508 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15509 (__jmp_buf): Likewise.
15510 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15511 definitions.
15512 (llrint): Likewise, for all definitions.
15513 (llrintl): Likewise.
15514
fed0faa1
JM
15515 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15516 Remove [__GNUC__] condition.
15517 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15518 condition to just [__USE_ISOC99].
15519 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15520
1a20cb20
L
155212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15522
15523 [BZ #14200]
15524 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15525 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15526 defined.
15527 (_POSIX_V6_ILP32_OFF32): Likewise.
15528 (_XBS5_ILP32_OFF32): Likewise.
15529 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15530 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15531
751b85f7
SP
155322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15533
7490eb81
SP
15534 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15535
751b85f7
SP
15536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15537 doubles __mpexp_twomm1. Adjust usage.
15538 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15539 Remove.
15540
988197f0
AS
155412013-01-10 Andreas Schwab <schwab@suse.de>
15542
15543 [BZ #14964]
15544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15545 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15546
e83d7298
DM
155472013-01-09 David S. Miller <davem@davemloft.net>
15548
034ed64b 15549 [BZ #15003]
e83d7298
DM
15550 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15551 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15552 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15553 TCP_FASTOPEN): Define.
15554 (tcp_repair_opt): New structure.
15555 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15556 enum values.
15557 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15558 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15559 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15560 (tcp_cookie_transactions): New structure.
15561
d5e0b9bd
AB
155622013-01-09 Anton Blanchard <anton@samba.org>
15563
15564 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15565 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15568
0c07e3ea
JM
155692013-01-09 Joseph Myers <joseph@codesourcery.com>
15570
15571 * include/features.h (__USE_ANSI): Remove.
15572
232f7002
RM
155732013-01-09 Roland McGrath <roland@hack.frob.com>
15574
ad98e30c
RM
15575 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15576
232f7002
RM
15577 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15578
950c99ca
SP
155792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15580
b5792741
SP
15581 * sysdeps/s390/fpu/libm-test-ulps: Update.
15582
47cf2278
SP
15583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15584
950c99ca
SP
15585 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15586 (__acr): Likewise.
15587 (__cpy): Likewise.
15588 (norm): Likewise.
15589 (denorm): Likewise.
15590 (__mp_dbl): Likewise.
15591 (__dbl_mp): Likewise.
15592 (add_magnitudes): Likewise.
15593 (sub_magnitudes): Likewise.
15594 (__add): Likewise.
15595 (__sub): Likewise.
15596 (__mul): Likewise.
15597 (__inv): Likewise.
15598 (__dvd): Likewise.
15599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15600 (__acr): Likewise.
15601 (__cpy): Likewise.
15602 (norm): Likewise.
15603 (denorm): Likewise.
15604 (__mp_dbl): Likewise.
15605 (__dbl_mp): Likewise.
15606 (add_magnitudes): Likewise.
15607 (sub_magnitudes): Likewise.
15608 (__add): Likewise.
15609 (__sub): Likewise.
15610 (__mul): Likewise.
15611 (__inv): Likewise.
15612 (__dvd): Likewise.
15613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15614 (__acr): Likewise.
15615 (__cpy): Likewise.
15616 (norm): Likewise.
15617 (denorm): Likewise.
15618 (__mp_dbl): Likewise.
15619 (__dbl_mp): Likewise.
15620 (add_magnitudes): Likewise.
15621 (sub_magnitudes): Likewise.
15622 (__add): Likewise.
15623 (__sub): Likewise.
15624 (__mul): Likewise.
15625 (__inv): Likewise.
15626 (__dvd): Likewise.
15627
eede9df9
JM
156282013-01-08 Joseph Myers <joseph@codesourcery.com>
15629
15630 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15631 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15632 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15633 2 && __USE_EXTERN_INLINES]: Likewise.
15634
c40ea3d9
AJ
156352013-01-08 Andreas Jaeger <aj@suse.de>
15636
15637 [BZ# 14985]
15638 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15639 Remove.
15640 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15641 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15642
2ccdea26
AB
156432013-01-07 Anton Blanchard <anton@samba.org>
15644
15645 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15646 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15647 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15648 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15649 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15650 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15651 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15652 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15654 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15655 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15656 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15659 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15660 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15661 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15663 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15664 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15666 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15668 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15669 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15670 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15671 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15672 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15674 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15675 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15678 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15679 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15680 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15681 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15683 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15685 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15687 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15688
a9708fed
JM
156892013-01-07 Joseph Myers <joseph@codesourcery.com>
15690
375607b9
JM
15691 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15692 (__MALLOC_PMT): Likewise.
15693 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15694 [__GNUC__], only on [_LIBC].
15695 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15696 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15697 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15698 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15699 forward declaration.
15700 (realloc_hook_ini): Likewise.
15701 (memalign_hook_ini): Likewise.
15702 (__libc_memalign): Do not use __MALLOC_PMT in variable
15703 declaration.
15704 (__libc_valloc): Likewise.
15705 (__libc_pvalloc): Likewise.
15706 (__libc_calloc): Likewise.
15707 (__posix_memalign): Likewise.
15708
a9708fed
JM
15709 [BZ #14996]
15710 * math/s_casinh.c: Include <float.h>.
15711 (__casinh): Do not do computation with squaring and square root
15712 for large arguments.
15713 * math/s_casinhf.c: Include <float.h>.
15714 (__casinhf): Do not do computation with squaring and square root
15715 for large arguments.
15716 * math/s_casinhl.c: Include <float.h>.
15717 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15718 (__casinhl): Do not do computation with squaring and square root
15719 for large arguments.
15720 * math/libm-test.inc (casin_test): Add more tests.
15721 (casinh_test): Likewise.
15722 * sysdeps/i386/fpu/libm-test-ulps: Update.
15723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724
afec409a
L
157252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15728 (__x86_64_raw_data_cache_size): Likewise.
15729 (__x86_64_data_cache_size_half): Likewise.
15730 (__x86_64_raw_data_cache_size_half): Likewise.
15731 (__x86_64_shared_cache_size): Likewise.
15732 (__x86_64_raw_shared_cache_size): Likewise.
15733 (__x86_64_shared_cache_size_half): Likewise.
15734 (__x86_64_raw_shared_cache_size_half): Likewise.
15735 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15736 to ...
15737 (__x86_data_cache_size): This.
15738 (__x86_64_raw_data_cache_size): Renamed to ...
15739 (__x86_raw_data_cache_size): This.
15740 (__x86_64_data_cache_size_half): Renamed to ...
15741 (__x86_data_cache_size_half): This.
15742 (__x86_64_raw_data_cache_size_half): Renamed to ...
15743 (__x86_raw_data_cache_size_half): This.
15744 (__x86_64_shared_cache_size): Renamed to ...
15745 (__x86_shared_cache_size): This.
15746 (__x86_64_raw_shared_cache_size): Renamed to ...
15747 (__x86_raw_shared_cache_size): This.
15748 (__x86_64_shared_cache_size_half): Renamed to ...
15749 (__x86_shared_cache_size_half): This.
15750 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15751 (__x86_raw_shared_cache_size_half): This.
15752 * sysdeps/x86_64/memcpy.S: Updated.
15753 * sysdeps/x86_64/memset.S: Likewise.
15754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15755 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15757
0b3986d0
DM
157582013-01-04 David S. Miller <davem@davemloft.net>
15759
15760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15761
e47686e9
AS
157622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15763
d643bac1
AS
15764 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15765 1 to avoid redefinition warning.
15766 (__USE_GNU): Don't define.
15767 (init_signaling_nan): Protoize.
15768
e47686e9
AS
15769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15770
b18decba
SP
157712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15772
fffb407f
SP
15773 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15775 (__cpymn): Likewise.
15776 (norm): Remove commented code.
15777 (denorm): Likewise.
15778 (__mp_dbl): Likewise.
15779 (__inv): Likewise.
15780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15781 (__cpymn): Likewise.
15782 (norm): Remove commented code.
15783 (denorm): Likewise.
15784 (__mp_dbl): Likewise.
15785 (__inv): Likewise.
15786
b18decba
SP
15787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15788 mp_no value for 1.0 and 2.0.
15789 (norm): Use RADIXI instead of radixi.d.
15790 (denorm): Likewise.
15791 (__mul): Use 0.0 instead of zero.d.
15792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15793 mp_no value for 1.0 and 2.0.
15794 (norm): Use RADIXI instead of radixi.d.
15795 (denorm): Likewise.
15796 (__mul): Use 0.0 instead of zero.d.
15797
cdc1c96f
JM
157982013-01-04 Joseph Myers <joseph@codesourcery.com>
15799
15800 [BZ #14994]
15801 * math/s_casinh.c (__casinh): Reduce finite argument to first
15802 quadrant then set signs of results at the end.
15803 * math/s_casinhf.c (__casinhf): Likewise.
15804 * math/s_casinhl.c (__casinhl): Likewise.
15805 * math/libm-test.inc (casin_test): Add more tests.
15806 (casinh_test): Likewise.
15807 * sysdeps/i386/fpu/libm-test-ulps: Update.
15808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15809
302913e1
SP
158102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15811
6420d207
SP
15812 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15813
a9e48ab4
SP
15814 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15815
b7837264
SP
15816 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15817 declarations.
15818 (denorm): Likewise.
15819 (__mp_dbl): Likewise.
15820 (__inv): Likewise.
15821
f8af25d2
SP
15822 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15823 and adjust the header comment.
15824
302913e1
SP
15825 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15826 variable name from declaration.
15827
5d7dd1ca
L
158282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15829
15830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15831 Initialize COMMON_CPUID_INDEX_7 element.
15832 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15833 (CPUID_RTM): Likewise.
15834 (HAS_RTM): Likewise.
15835 (COMMON_CPUID_INDEX_7): New enum.
15836
2f5f40f4
AS
158372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15838
15839 [BZ #14981]
15840 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15841 size is zero, record memory as freed.
15842
4056f4a0
AJ
158432013-01-03 Andreas Jaeger <aj@suse.de>
15844
15845 * po/ia.po: Add new Interlingua translation.
15846
ab15736f 158472012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15848
15849 * locale/programs/localedef.c: Fix description of '--posix' flag.
15850
568035b7
JM
158512013-01-02 Joseph Myers <joseph@codesourcery.com>
15852
e6898b8d
JM
15853 * NEWS: Update dates in second copyright notice.
15854 * README: Update copyright dates in example.
15855 * manual/libc.texinfo: Update copyright dates.
15856 * scripts/test-installation.pl: Update copyright date in --version
15857 output.
15858
0e2f9562
JM
15859 * hurd/ctty-input.c: Fix copyright notice formatting.
15860 * hurd/ctty-output.c: Likewise.
15861 * hurd/dtable.c: Likewise.
15862 * hurd/hurd-raise.c: Likewise.
15863 * hurd/hurdprio.c: Likewise.
15864 * hurd/msgportdemux.c: Likewise.
15865 * misc/sys/file.h: Likewise.
15866 * misc/sys/ioctl.h: Likewise.
15867 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15868 * sysdeps/mach/hurd/chdir.c: Likewise.
15869 * sysdeps/mach/hurd/fchdir.c: Likewise.
15870 * sysdeps/mach/hurd/rename.c: Likewise.
15871 * sysdeps/mach/hurd/rmdir.c: Likewise.
15872 * sysdeps/mach/hurd/seekdir.c: Likewise.
15873 * sysdeps/mach/hurd/setsid.c: Likewise.
15874 * sysdeps/posix/wait3.c: Likewise.
15875
568035b7
JM
15876 * All files with FSF copyright notices: Update copyright dates
15877 using scripts/update-copyrights.
15878 * intl/plural.c: Regenerated.
15879 * locale/programs/charmap-kw.h: Likewise.
15880 * locale/programs/locfile-kw.h: Likewise.
15881
da08f647
SP
158822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15883
0f5477af
SP
15884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15885 four values.
15886
44e0d4c2
SP
15887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15888 calculation loop and add branch prediction.
15889
4d55b4e5
SP
15890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15891 check access beyond bounds of m1np.
15892
da08f647
SP
15893 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15894 MPTWO.
15895 (__inv): Remove local variable MPTWO to use the global
15896 constant.
15897 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15899 variable MPTWO.
15900 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15901 MP3HALFS static const.
15902
8e051029
DM
159032013-01-01 David S. Miller <davem@davemloft.net>
15904
15905 * po/ca.po: Update from translation team.
15906
f4cf5f2d
JM
159072013-01-01 Joseph Myers <joseph@codesourcery.com>
15908
15909 * scripts/update-copyrights: New file.
15910 * Makeconfig: Reformat copyright notice.
15911 * ctype/ctype.h: Likewise.
15912 * debug/swprintf_chk.c: Likewise.
15913 * elf/dl-cache.c: Likewise.
15914 * elf/dl-debug.c: Likewise.
15915 * elf/dl-object.c: Likewise.
15916 * grp/initgroups.c: Likewise.
15917 * hurd/Makefile: Likewise.
15918 * hurd/hurd/signal.h: Likewise.
15919 * hurd/hurdfault.c: Likewise.
15920 * hurd/hurdioctl.c: Likewise.
15921 * hurd/hurdlookup.c: Likewise.
15922 * hurd/intr-msg.c: Likewise.
15923 * iconv/gconv_open.c: Likewise.
15924 * libio/swprintf.c: Likewise.
15925 * locale/lc-ctype.c: Likewise.
15926 * locale/nl_langinfo.c: Likewise.
15927 * mach/Machrules: Likewise.
15928 * mach/Makefile: Likewise.
15929 * malloc/obstack.h: Likewise.
15930 * manual/Makefile: Likewise.
15931 * manual/tsort.awk: Likewise.
15932 * misc/bits/stab.def: Likewise.
15933 * nis/nis_print_group_entry.c: Likewise.
15934 * nis/nis_table.c: Likewise.
15935 * nis/nss_compat/compat-pwd.c: Likewise.
15936 * nis/nss_compat/compat-spwd.c: Likewise.
15937 * po/Makefile: Likewise.
15938 * posix/fnmatch.c: Likewise.
15939 * posix/regex.h: Likewise.
15940 * resolv/Makefile: Likewise.
15941 * resolv/nss_dns/dns-network.c: Likewise.
15942 * resolv/res_hconf.c: Likewise.
15943 * scripts/gen-sorted.awk: Likewise.
15944 * soft-fp/soft-fp.h: Likewise.
15945 * stdio-common/printf.h: Likewise.
15946 * stdlib/monetary.h: Likewise.
15947 * stdlib/random.c: Likewise.
15948 * stdlib/random_r.c: Likewise.
15949 * sysdeps/generic/Makefile: Likewise.
15950 * sysdeps/gnu/Makefile: Likewise.
15951 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15979 * sysdeps/mach/hurd/errnos.awk: Likewise.
15980 * sysdeps/mach/hurd/fork.c: Likewise.
15981 * sysdeps/mach/hurd/getcwd.c: Likewise.
15982 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15983 * sysdeps/mach/hurd/mmap.c: Likewise.
15984 * sysdeps/mach/hurd/utimes.c: Likewise.
15985 * sysdeps/mach/hurd/xmknod.c: Likewise.
15986 * sysdeps/posix/profil.c: Likewise.
15987 * sysdeps/posix/readdir_r.c: Likewise.
15988 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15989 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15990 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15991 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15995 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15997 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15998 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15999 * sysdeps/pthread/lio_listio.c: Likewise.
16000 * sysdeps/sparc/dl-procinfo.h: Likewise.
16001 * sysdeps/unix/i386/sysdep.S: Likewise.
16002 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16003 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16004 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16005 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16007 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16008 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16009 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16010 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16011 * sysdeps/wordsize-32/divdi3.c: Likewise.
16012 * time/sys/time.h: Likewise.
16013 * wcsmbs/Makefile: Likewise.
16014
0549fbba
DM
160152013-01-01 David S. Miller <davem@davemloft.net>
16016
a141f1a7
DM
16017 * po/fr.po: Update from translation team.
16018
0549fbba
DM
16019 * catgets/gencat.c: Update copyright year.
16020 * csu/version.c: Likewise.
16021 * debug/catchsegv.sh: Likewise.
16022 * debug/pcprofiledump.c: Likewise.
16023 * debug/xtrace.sh: Likewise.
16024 * elf/ldconfig.c: Likewise.
16025 * elf/ldd.bash.in: Likewise.
16026 * elf/pldd.c: Likewise.
16027 * elf/sotruss.ksh: Likewise.
16028 * elf/sprof.c: Likewise.
16029 * iconv/iconv_prog.c: Likewise.
16030 * iconv/iconvconfig.c: Likewise.
16031 * locale/programs/locale.c: Likewise.
16032 * locale/programs/localedef.c: Likewise.
16033 * login/programs/pt_chown.c: Likewise.
16034 * malloc/memusage.sh: Likewise.
16035 * malloc/memusagestat.c: Likewise.
16036 * malloc/mtrace.pl: Likewise.
16037 * nscd/nscd.c: Likewise.
16038 * nss/getent.c: Likewise.
16039 * nss/makedb.c: Likewise.
16040 * posix/getconf.c: Likewise.
16041
18ea052c
SP
160422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16043
16044 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16045 numbers.
16046
9c89fca6
MF
160472012-12-30 Mike Frysinger <vapier@gentoo.org>
16048
16049 * math/bits/mathcalls.h (modf): Use __nonnull.
16050
085ec079
SP
160512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
16053 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16054 (split): Use macro CN instead of the bare value.
16055 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16056 could be used.
16057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16058 instead of the bare value.
16059 (power1): Likewise.
16060
6d9f97e1
SP
160612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16062
d63f73be
SP
16063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16064 __ATAN_TWOM.
16065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16066
6d9f97e1
SP
16067 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16068 their values.
16069 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16071 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16072 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16073
4c4febf5
AJ
160742012-12-28 Andreas Jaeger <aj@suse.de>
16075
af5843ef
AJ
16076 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16077 values are from Linux 3.7.
16078
4c4febf5
AJ
16079 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16080 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16081
99136f82
SP
160822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16083
2f216c3c 16084 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16085 TRUE case.
16086
99136f82
SP
16087 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16088 (norm): Likewise.
16089 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16090 variables with preprocessor constants.
16091 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16092 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16094
7fffbdff
BH
160952012-12-27 Bruno Haible <bruno@clisp.org>
16096
16097 [BZ #14317]
16098 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16099 only if needed.
16100
b76eb5f0
SP
161012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16102
31a7fe5c
SP
16103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16104 and use variable directly.
16105 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16106
b76eb5f0
SP
16107 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16108 MPONE.
16109 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16111 variable MPONE.
16112 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16114 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16115 include directive. Remove local variable MPONE.
16116 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16117 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16118 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16119
2c8bfe7d
DM
161202012-12-25 David S. Miller <davem@davemloft.net>
16121
16122 * version.h (RELEASE): Set to "development".
16123 (VERSION): Set to "2.17.90".
16124 * NEWS: Add 2.18 section.
16125
147d03b0
DM
161262012-12-21 David S. Miller <davem@davemloft.net>
16127
16128 * po/hr.po: Update from translation team.
16129
a8ebb2b9
AK
161302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16131
16132 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16133
95b4f1b6
SE
161342012-12-19 Steve Ellcey <sellcey@mips.com>
16135
b2d94007 16136 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16137
cedb2a90
MS
161382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16139
16140 * manual/contrib.texi (Contributors): Spelling correction.
16141
bbf527d6
DM
161422012-12-15 David S. Miller <davem@davemloft.net>
16143
16144 * po/ru.po: Update from translation team.
16145
bc38c906
DM
161462012-12-13 David S. Miller <davem@davemloft.net>
16147
85429b1a
DM
16148 * NEWS: Mention IFUNC testsuite enhancements.
16149
d283e353
DM
16150 * po/pl.po: Update from translation team.
16151 * po/bg.po: Likewise.
16152
bc38c906
DM
16153 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16154 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16155
a181b0d7
DM
161562012-12-11 David S. Miller <davem@davemloft.net>
16157
4641d57e
DM
16158 * po/sv.po: Update from translation team.
16159
f7bc6495
DM
16160 * po/vi.po: Update from translation team.
16161
6fc9048f
DM
16162 * po/cs.po: Update from translation team.
16163
a181b0d7
DM
16164 * po/de.po: Update from translation team.
16165 * po/eo.po: Likewise.
16166 * po/nl.po: Likewise.
16167
f70bfe80
SP
161682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16169
3c8b4190
SP
16170 [BZ #14246]
16171 * manual/argp.texi (Argp Helper Functions): Move node to follow
16172 Argp Parsing State.
16173
f70bfe80
SP
16174 [BZ #14872]
16175 * manual/conf.texi (Limits on File System Capacity): Mention if
16176 terminating null is included in the max size.
16177
188f0adf
AJ
161782012-12-10 Andreas Jaeger <aj@suse.de>
16179
16180 * po/cs.po: Update from translation team.
16181
56e7d3ad
SP
161822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16183
16184 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16185 void pointer and cast to uintptr_t.
16186 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16187 path.
16188 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16189 * sysdeps/s390/s390-64/memset.S: Likewise.
16190
76f2d2ea 161912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16192
16193 [BZ #14833]
16194 * menual/message.texi (Message Translation): Fix typos.
16195 (Helper programs for gettext): Likewise.
16196
67cbf9a2
AS
161972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16198
16199 [BZ #14898]
16200 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16201 Change to -1.
16202
682d0e9a
DM
162032012-12-07 David S. Miller <davem@davemloft.net>
16204
16205 * po/libc.pot: Update.
16206
573cd484
RH
162072012-12-07 Richard Henderson <rth@redhat.com>
16208
7e9da188 16209 [BZ #10114]
573cd484
RH
16210 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16211 normal/normal case to before the switch.
16212 (_FP_DIV): Likewise.
16213
e933a943
MF
162142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16215 Mike Frysinger <vapier@gentoo.org>
16216
16217 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16218 check for __NR_fadvise64_64.
16219
82123268
CM
162202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16221
16222 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16223 0, not just to plain "0" as a statement.
16224 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16225 with cw.
16226
d9814526
JM
162272012-12-06 Joseph Myers <joseph@codesourcery.com>
16228
16229 * NEWS: Use sourceware.org in Bugzilla URL.
16230
7728c574
SP
162312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16232
f16946dd
SP
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16234 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16235
5704bbcb
SP
16236 * stdio-common/tst-put-error.c (do_test): Add newline to the
16237 padded test to ensure flush.
16238
17aa0516
JL
162392012-12-05 Jeff Law <law@redhat.com>
16240
16241 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16242
363313b5
JM
162432012-12-05 Joseph Myers <joseph@codesourcery.com>
16244
effbd42a
JM
16245 * README: Don't refer to ports add-on as distributed separately.
16246 Mention AArch64 in list of systems supported in the ports add-on.
16247
87600365
JM
16248 * LICENSES: Add more non-FSF copyright and license notices.
16249
a0d7066a
JM
16250 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16251 ((unused)).
16252
66ca5a5b
JM
16253 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16254
363313b5
JM
16255 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16256 10000 as width of padded output.
16257
b37984ad
JM
162582012-12-04 Joseph Myers <joseph@codesourcery.com>
16259
9003570a
JM
16260 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16261
b37984ad
JM
16262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16263 variable LX with __attribute__ ((unused)).
16264 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16265 Likewise.
16266 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16269 with __attribute__ ((unused)).
16270
c8df52ec
DM
162712012-12-04 David S. Miller <davem@abraco.davemloft.net>
16272
16273 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16274
b3b099af
JM
162752012-12-04 Joseph Myers <joseph@codesourcery.com>
16276
c33aa6e3
JM
16277 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16278 (CFLAGS-nldbl-acos.c): New variable.
16279 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16280 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16281 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16282 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16283 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16284 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16285 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16286 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16287 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16288 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16289 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16290 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16291 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16292 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16293 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16294 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16295 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16296 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16297 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16298 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16299 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16300 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16301 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16302 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16303 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16304 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16305 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16306 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16307 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16308 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16309 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16310 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16311 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16312 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16313 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16314 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16315 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16316 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16317 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16318 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16319 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16320 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16321 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16322 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16323 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16324 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16325 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16326 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16327 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16328 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16329 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16330 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16331 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16332 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16333 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16334 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16335 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16336 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16337 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16338 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16339 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16340 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16341 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16342 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16343 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16344 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16345 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16346 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16347 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16348 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16349 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16350 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16351 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16352 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16353 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16354 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16355 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16356 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16357 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16358 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16359 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16360 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16361 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16362 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16363 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16364 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16365 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16366 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16367 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16368 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16369 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16370 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16371 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16372 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16373 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16376
20f0018d
JM
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16378 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16379
b3b099af
JM
16380 [BZ #14914]
16381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16382 whole low double instead of just low 47 bits when splitting values
16383 into two parts.
16384
029264d1
AM
163852012-12-03 Allan McRae <allan@archlinux.org>
16386
16387 * manual/stdio.texi (Predefined Printf Handlers): Remove
16388 @hsep and @vsep usage.
16389
c9d6789e
MF
163902012-12-03 Mike Frysinger <vapier@gentoo.org>
16391
16392 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16393 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16394
4b7634a5
JL
163952012-12-03 Jeff Law <law@redhat.com>
16396
16397 * time/sys/time.h (settimeofday): Do not mark TV argument
16398 as __nonnull.
16399
eb6cbd24
MF
164002012-12-01 Mike Frysinger <vapier@gentoo.org>
16401
16402 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16403 when currently writing and seek to current position when not.
16404 * libio/Makefile (tests): Remove bug-fclose1.
16405 * libio/bug-fclose1.c: Delete.
16406
f638872a
JM
164072012-12-01 Joseph Myers <joseph@codesourcery.com>
16408
16409 * manual/arith.texi (feenableexcept): Fix typo.
16410 (fedisableexcept): Likewise.
16411
48085d14
RM
164122012-11-30 Roland McGrath <roland@hack.frob.com>
16413
16414 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16415 second, differently-typed declaration, rather than a cast.
16416
1a538b9f
SP
164172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16418
16419 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16420 * include/rpc/svc.h: ... here.
16421
d07f2ff1 164222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
16423
16424 [BZ #13013]
16425 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16426 depending n and resplen2 to catch cases where answer
16427 equals answerp2.
16428
c93ec1f0
CD
164292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16430
16431 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16432 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16433
37db69de
MF
164342012-11-29 Mike Frysinger <vapier@gentoo.org>
16435
16436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16437
e10c4e4f
RM
164382012-11-29 Roland McGrath <roland@hack.frob.com>
16439
16440 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16441
2af1b328
JL
164422012-11-28 Jeff Law <law@redhat.com>
16443
16444 [BZ #13761]
16445 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16446 dataset_temporary. Track alloca usage into alloca_used.
16447 If dataset is large allocate and release it via malloc/free.
16448
111db5b1
FW
164492012-06-04 Florian Weimer <fweimer@redhat.com>
16450
f06cc227 16451 [BZ #14197]
111db5b1
FW
16452 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16453
dd694abd
DM
164542012-11-28 David S. Miller <davem@davemloft.net>
16455
16456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16457
9984dd01
JM
164582012-11-28 Joseph Myers <joseph@codesourcery.com>
16459
16460 [BZ #14803]
16461 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16462 of pi/2 rounded to nearest to 64 bits.
16463 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16464 nearest to 64 bits.
16465 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16466 bits.
16467
14bc93a9
JL
164682012-11-28 Jeff Law <law@redhat.com>
16469 Martin Osvald <mosvald@redhat.com>
16470
16471 [BZ #14889]
16472 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16473 * sunrpc/svc.c: Include time.h.
16474 (__svc_accept_failed): New function.
16475 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16476 any reason other than EINTR, call __svc_accept_failed.
16477 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16478 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16479
e3c6aa3a
AS
164802012-11-28 Andreas Schwab <schwab@suse.de>
16481
16482 * scripts/abilist.awk: Also handle indirect functions in .opd
16483 section.
16484
1bead169
JM
164852012-11-28 Joseph Myers <joseph@codesourcery.com>
16486
16487 [BZ #13881]
16488 * sysdeps/x86/fpu/powl_helper.c: New file.
16489 * sysdeps/x86/fpu/Makefile: Likewise.
16490 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16491 (p3): New object.
16492 (__ieee754_powl): Use __powl_helper for finite arguments except
16493 integer exponents below 8.
16494 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16495 (p3): New object.
16496 (__ieee754_powl): Use __powl_helper for finite arguments except
16497 integer exponents below 8.
16498 * math/libm-test.inc (pow_test): Add more tests and enable some
16499 previously disabled tests.
16500 * sysdeps/i386/fpu/libm-test-ulps: Update.
16501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16502
0817d63d
SP
165032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16504 Carlos O'Donell <carlos_odonell@mentor.com>
16505
16506 * nss/makedb.c (is_prime): Assert that input is odd and greater
16507 than 4. Note that fact in a comment too.
16508 (next_prime): Add 4 to input.
16509
de2fd463
SP
165102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16511
16512 [BZ #11741]
16513 * libio/Makefile (tests): Add test case tst-fwrite-error.
16514 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16515 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16516 * libio/tst-fwrite-error.c: New test case.
16517
c515fb51
L
165182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16519
16520 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16521 before casting to void *.
16522 * include/libc-internal.h (__pointer_type): New macro.
16523 (__integer_if_pointer_type_sub): Likewise.
16524 (__integer_if_pointer_type): Likewise.
16525 (cast_to_integer): Likewise.
16526 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16527 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16528 before casting to atomic64_t.
16529 (atomic_exchange_acq): Likewise.
16530 (__arch_exchange_and_add_body): Likewise.
16531 (__arch_add_body): Likewise.
16532 (atomic_add_negative): Likewise.
16533 (atomic_add_zero): Likewise.
16534
4cf77aa9
JM
165352012-11-26 Joseph Myers <joseph@codesourcery.com>
16536
16537 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16538 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16539 (add_fdes): Likewise.
16540 (linear_search_fdes): Likewise.
16541 (binary_search_unencoded_fdes): Likewise.
16542
d260b3b4
AS
165432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16544
16545 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16546
67060746
AC
165472012-11-24 Adam Conrad <adconrad@0c3.net>
16548
16549 * configure.in: Autodetect C++ header directories.
16550 * configure: Regenerated.
16551
800938a1
MF
165522012-11-23 Mike Frysinger <vapier@gentoo.org>
16553
16554 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16555
4e6e34e6
AS
165562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16557
16558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16559
7c7feb47
JM
165602012-11-22 Joseph Myers <joseph@codesourcery.com>
16561
7184dcdf
JM
16562 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16563 LDBL_MANT_DIG == 106]: Disable some tests.
16564 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16565 Likewise.
16566 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16567 Likewise.
16568
0a42601f
JM
16569 [BZ #14871]
16570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16571 input for small inputs. Return +/- pi/2 for large inputs.
16572 * math/libm-test.inc (atan_test): Add more tests.
16573
79c9b9fe
JM
16574 * sysdeps/generic/unwind-dw2-fde-glibc.c
16575 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16576 __attribute__ ((unused)).
16577
c60d3bf2
JM
16578 [BZ #14645]
16579 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16580 x * y if x and y are nonzero and z is zero.
16581
ef1e0867
JM
16582 [BZ #14811]
16583 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16584 nonzero exponents with absolute value below 0x1p-117 to +/-
16585 0x1p-117.
16586
1468ded3
JM
16587 [BZ #14869]
16588 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16589 up arguments below 2**-450, not just those below 2**-500.
16590 * math/libm-test.inc (hypot_test): Add another test.
16591
8e27e3cc
JM
16592 [BZ #14868]
16593 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16594 Return a+b for ratio over 2**120, not 2**60.
16595 * math/libm-test.inc (hypot_test): Add another test.
16596
c9c0279b
JM
16597 * math/libm-test.inc (clog_test): Use
16598 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16599 (clog10_test): Likewise.
16600
7c7feb47
JM
16601 [BZ #6778]
16602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16603
fff1530e
AS
166042012-11-22 Andreas Schwab <schwab@suse.de>
16605
16606 * sysdeps/i386/fpu/libm-test-ulps: Update.
16607
94558d30
PT
166082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16609
16610 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16611 printf output with newline.
16612
7e1be741
L
166132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16614
6bfea974
L
16615 [BZ #14865]
16616 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16617 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16618 -z nodlopen, -z initfirst and -z execstack support.
16619 * configure: Regenerated.
16620
7e1be741
L
16621 * elf/elf.h (DF_1_NODIRECT): New macro.
16622 (DF_1_IGNMULDEF): Likewise.
16623 (DF_1_NOKSYMS): Likewise.
16624 (DF_1_NOHDR): Likewise.
16625 (DF_1_EDITED): Likewise.
16626 (DF_1_NORELOC): Likewise.
16627 (DF_1_SYMINTPOSE): Likewise.
16628 (DF_1_GLOBAUDIT): Likewise.
16629 (DF_1_SINGLETON): Likewise.
16630 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16631 DT_1_SUPPORTED_MASK bits.
16632 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16633
105ce2ce
CD
166342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16635
16636 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16637
123be9de
TS
166382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16639
d072f3f7
TS
16640 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16641 macro.
16642
123be9de
TS
16643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16644 (sendmmsg): Move declarations...
16645 * socket/sys/socket.h: ... here.
16646 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16647 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16648 include it from...
16649 * socket/recvmmsg.c: ... this new file.
16650 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16651 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16652 definition of __sendmmsg hidden.
16653 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16654 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16655 Move ENOSYS stub into and include it from...
16656 * socket/sendmmsg.c: ... this new file.
16657 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16658 (sysdep_routines): Move recvmmsg and sendmmsg...
16659 * socket/Makefile (routines): ... here.
16660 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16661 (GLIBC_PRIVATE): Add __sendmmsg.
16662 * include/sys/socket.h (__sendmmsg): Add declarations.
16663 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16664 sendmmsg.
16665
cf9a5d18
JM
166662012-11-20 Joseph Myers <joseph@codesourcery.com>
16667
16668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16669 variable I1 with __attribute__ ((unused)).
16670 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16671
ecd4caf9
JM
166722012-11-19 Joseph Myers <joseph@codesourcery.com>
16673
be14d48f
JM
16674 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16675 DUMMY variables with __attribute__ ((unused)).
16676
ecd4caf9
JM
16677 * bits/byteswap.h: Include <bits/types.h>.
16678 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16679
986cab95
PT
166802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16681
16682 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16683 string_t. Do not manually set errno.
16684 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16685 length with __strnlen. Make sure to both set errno and return it on
16686 failure.
16687
6d33cc9d
DM
166882012-11-19 David S. Miller <davem@davemloft.net>
16689
16690 With help from Joseph Myers.
16691 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16692 very large arguments properly.
16693 * math/libm-test.inc (atan_test): New tests.
16694 (atan2_test): New tests.
16695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16697
ee663277
JM
166982012-11-19 Joseph Myers <joseph@codesourcery.com>
16699
877f2d8e
JM
16700 [BZ #14856]
16701 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16702 Define to 3.
16703
116fc08a
JM
16704 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16705 [POSIX] (EADDRNOTAVAIL): Likewise.
16706 [POSIX] (EAFNOSUPPORT): Likewise.
16707 [POSIX] (EALREADY): Likewise.
16708 [POSIX] (ECONNABORTED): Likewise.
16709 [POSIX] (ECONNREFUSED): Likewise.
16710 [POSIX] (ECONNRESET): Likewise.
16711 [POSIX] (EDESTADDRREQ): Likewise.
16712 [POSIX] (EDQUOT): Likewise.
16713 [POSIX] (EHOSTUNREACH): Likewise.
16714 [POSIX] (EIDRM): Likewise.
16715 [POSIX] (EISCONN): Likewise.
16716 [POSIX] (ELOOP): Likewise.
16717 [POSIX] (EMULTIHOP): Likewise.
16718 [POSIX] (ENETDOWN): Likewise.
16719 [POSIX] (ENETUNREACH): Likewise.
16720 [POSIX] (ENOBUFS): Likewise.
16721 [POSIX] (ENODATA): Likewise.
16722 [POSIX] (ENOLINK): Likewise.
16723 [POSIX] (ENOMSG): Likewise.
16724 [POSIX] (ENOPROTOOPT): Likewise.
16725 [POSIX] (ENOSR): Likewise.
16726 [POSIX] (ENOSTR): Likewise.
16727 [POSIX] (ENOTCONN): Likewise.
16728 [POSIX] (ENOTSOCK): Likewise.
16729 [POSIX] (EOPNOTSUPP): Likewise.
16730 [POSIX] (EOVERFLOW): Likewise.
16731 [POSIX] (EPROTO): Likewise.
16732 [POSIX] (EPROTONOSUPPORT): Likewise.
16733 [POSIX] (EPROTOTYPE): Likewise.
16734 [POSIX] (ESTALE): Likewise.
16735 [POSIX] (ETIME): Likewise.
16736 [POSIX] (ETXTBSY): Likewise.
16737 [POSIX] (EWOULDBLOCK): Likewise.
16738 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16739 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16740 [POSIX] (SEEK_CUR): Likewise.
16741 [POSIX] (SEEK_END): Likewise.
16742 [POSIX || UNIX98] (mode_t): Do not require.
16743 [POSIX] (off_t): Likewise.
16744 [POSIX] (pid_t): Likewise.
16745 [POSIX] (sys/stat.h): Do not allow header.
16746 [POSIX] (unistd.h): Likewise.
16747 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16748 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16749 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16750 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16751 require.
16752 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16753 sigevent): Specify elements.
16754 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16755 entry.
16756 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16757 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16758
a483863f
JM
16759 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16760 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16761 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16762 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16763 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16764 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16765 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16766 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16767 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16768 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16769 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16770 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16771 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16772 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16773 Likewise.
16774 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16775 Likewise.
16776 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16777 Likewise.
16778 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16779 Likewise.
16780 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16781 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16782 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16783 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16784 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16785 Specify lower bound on value.
16786 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16787 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16788 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16789 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16790 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16791 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16792 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16793 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16794 value.
16795 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16796 as optional.
16797 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16798 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16799 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16800 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16801 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16802 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16803 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16804 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16805 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16806 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16807 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16808 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16809 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16810 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16811 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16812 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16813 entry.
16814 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16815 optional.
16816 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16817 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16818 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16819 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16820 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16821 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16822 Likewise.
16823 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16824 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16825 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16826 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16827 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16828 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16829 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16830 as optional.
16831 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16832 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16833 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16834 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16835 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16836 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16837 specify as optional.
16838 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16839 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16840 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16841 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16842 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16843 [XPG3] (NL_LANGMAX): Likewise.
16844 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16845 [POSIX || XPG3] (NL_NMAX): Likewise.
16846 [POSIX || XPG3] (NL_SETMAX): Likewise.
16847 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16848 [XPG3] (NZERO): Likewise.
16849 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16850 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16851 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16852 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16853 (REG_ERANGE): Expect.
16854 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16855 optional-constant.
16856 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16857 Use (void) in prototype.
16858 [POSIX] (*_t): Allow.
16859 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16860 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16861 (WRDE_BADVAL): Expect.
16862
5ba924e3
JM
16863 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16864 expect.
16865 [XPG3 || XPG4] (O_RSYNC): Likewise.
16866 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16867 Likewise.
16868 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16869 [XPG3 || XPG4] (sigqueue): Likewise.
16870 [XPG3 || XPG4] (sigtimedwait): Likewise.
16871 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16872 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16873 [XPG3 || XPG4] (vsnprintf): Likewise.
16874 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16875 Likewise.
16876 [XPG3 || XPG4] (blksize_t): Likewise.
16877 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16878 Likewise.
16879 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16880 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16881 [XPG3 || XPG4] (struct itimerspec): Likewise.
16882 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16883 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16884 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16885 [XPG3 || XPG4] (clockid_t): Likewise.
16886 [XPG3 || XPG4] (timer_t): Likewise.
16887 [XPG3 || XPG4] (clock_getres): Likewise.
16888 [XPG3 || XPG4] (clock_gettime): Likewise.
16889 [XPG3 || XPG4] (clock_settime): Likewise.
16890 [XPG3 || XPG4] (nanosleep): Likewise.
16891 [XPG3 || XPG4] (timer_create): Likewise.
16892 [XPG3 || XPG4] (timer_delete): Likewise.
16893 [XPG3 || XPG4] (timer_gettime): Likewise.
16894 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16895 [XPG3 || XPG4] (timer_settime): Likewise.
16896 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16897 [XPG3 || XPG4] (getlogin_r): Likewise.
16898 [XPG3 || XPG4] (pread): Likewise.
16899 [XPG3 || XPG4] (pthread_atfork): Likewise.
16900 [XPG3 || XPG4] (pwrite): Likewise.
16901
ee663277
JM
16902 [BZ #14835]
16903 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16904 <bits/siginfo.h>.
16905
942caa16
PT
169062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16907
e19af380
PT
16908 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16909 finalizing MALLSTREAM.
16910
942caa16
PT
16911 * sysdeps/mach/hurd/syncfs.c: New file.
16912
cfde9b46
SP
169132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16914
16915 [BZ #14719]
16916 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16917 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16918 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16919 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16920 (_nss_dns_gethostbyname4_r): Likewise.
16921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16922 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16923
f6da27e5
PH
169242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16925
16926 [BZ #13763]
16927 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16928
6665d4a2
SM
169292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16930
1f51ee92
SM
16931 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16932 * elf/cache.c (print_entry): Print ",AArch64" for
16933 FLAG_AARCH64_LIB64
16934
6665d4a2
SM
16935 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16936 * elf/cache.c (print_entry): Print ",hard-float" for
16937 FLAG_ARM_LIBHF.
16938
05b227bd
DM
169392012-11-18 David S. Miller <davem@davemloft.net>
16940
16941 With help from Joseph Myers.
16942 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16943 cutoff to 2**-13.
16944 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16945 cutoff to 2**-25.
16946 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16947 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16948 small.
16949 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16950 * math/libm-test.inc (y0_test): New tests.
16951 (y1_test): New tests.
16952 * sysdeps/i386/fpu/libm-test-ulps: Update.
16953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16955
786b0b67
AS
169562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16957
16958 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16959 64-bit targets.
16960 * configure: Regenerated.
16961
8e18b86d
DM
169622012-11-17 David S. Miller <davem@davemloft.net>
16963
16964 [BZ #14811]
16965 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16966 nonzero exponents with absolute value below 0x1p-128 to +/-
16967 0x1p-128.
16968
531f1ae0
JM
169692012-11-17 Joseph Myers <joseph@codesourcery.com>
16970
12df29e2
JM
16971 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16972
150dc1a0
JM
16973 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16974
531f1ae0
JM
16975 * posix/getconf-speclist.c: New file.
16976 * posix/posix-envs.def: Likewise.
16977 * posix/confstr.c (START_ENV_GROUP): New macro.
16978 (END_ENV_GROUP): Likewise.
16979 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16980 (KNOWN_PRESENT_ENV_STRING): Likewise.
16981 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16982 (UNKNOWN_ENVIRONMENT): Likewise.
16983 (confstr): Include posix-envs.def instead of handling
16984 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16985 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16986 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16987 (END_ENV_GROUP): Likewise.
16988 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16989 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16990 (UNKNOWN_ENVIRONMENT): Likewise.
16991 (__sysconf): Include posix-envs.def instead of handling associated
16992 cases directly here.
16993 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16994 preprocessing getconf-speclist.c rather than running getconf or
16995 generating empty file.
16996
a93f9cbc
PT
169972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16998
16999 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17000
d64d9f87
AL
170012012-11-16 Andrej Lajovic <natrij@gmail.com>
17002
17003 [BZ #14672]
17004 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17005
447885eb
DM
170062012-11-16 David S. Miller <davem@davemloft.net>
17007
17008 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17009 smaller than LDBL_EPSILON/2.0L, just return xm1.
17010
bcbf9830
L
170112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17012
17013 * elf/tst-array1.c (init): Set constructor priority to 1000.
17014 (fini): Set destructor priority to 1000.
17015 * elf/tst-array2dep.c: Likewise.
17016
2b766585
SP
170172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17018
17019 [BZ #11741]
17020 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17021 (_IO_new_file_xsputn): Also return EOF if none of the input
17022 data was written when overflow failed.
17023 * libio/iopadn.c (_IO_padn): Likewise.
17024 * libio/iowpadn.c (_IO_wpadn): Likewise.
17025 * stdio-common/tst-put-error.c: Add copyright notice.
17026 (do_test): Add case for printing padded string.
17027 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17028 _IO_padn returned error.
17029 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17030 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17031 return EOF.
17032
b1848fde
SP
170332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17034
17035 * libio/libioP.h: Add comment note that the references to C++
17036 bits are now obsolete.
17037
2fd89785
MS
170382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17039
17040 * math/libm-test.inc (check_complex): Use asprintf.
17041
e3ea5409
JM
170422012-11-14 Joseph Myers <joseph@codesourcery.com>
17043
17044 * debug/pcprofiledump.c (print_version): Update copyright year.
17045 * malloc/memusagestat.c (print_version): Likewise.
17046
2e64d265
L
170472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17048
17049 [BZ #14831]
17050 * elf/Makefile (tests): Add tst-audit8.
17051 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17052 ($(objpfx)tst-audit8.out): New target.
17053 (tst-audit8-ENV): New variable.
17054 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17055 audit if l_reloc_result is NULL.
17056 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17057 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17058 * elf/tst-audit8.c: New file.
17059
c485e4d2
MS
170602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17061
17062 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17063 * misc/Makefile (CFLAGS-select.c): Define.
17064 * posix/Makefile (CFLAGS-pause.c): Define.
17065
3a0d900a
DM
170662012-11-13 David S. Miller <davem@davemloft.net>
17067
17068 * crypt/Makefile: Move test targets after toplevel Rules
17069 inclusion. Grab any necessary sysdep routines when linking.
17070 * crypt/md5.c (md5_process_block): Remove define, we will always
17071 name it __md5_process_block.
17072 (md5_finish_ctx): Update md5_process_block call.
17073 (md5_stream): Likewise.
17074 (md5_process_bytes): Likewise.
17075 (md5_process_block): Rename to __md5_process_block and move to ...
17076 * crypt/md5-block.c: ... here.
17077 * crypt/sha256.c (sha256_process_block): Move to ...
17078 * crypt/sha256-block.c: ... here.
17079 * crypt/sha512.c (sha512_process_block): Move to ...
17080 * crypt/sha512-block.c: ... here.
17081 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17082 path.
17083 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17084 * sysdeps/sparc/sparc64/multiarch/Makefile
17085 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17086 crypt subdir.
17087 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17088 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17089 multiarch changes.
17090 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17091 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17092 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17093 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17094 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17095 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17096 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17097 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17098 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17099 file.
17100 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17101 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17102 file.
17103 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17104
8ca89318
JM
171052012-11-13 Joseph Myers <joseph@codesourcery.com>
17106
e27d476a
JM
17107 * timezone/tzselect.ksh: Update from tzcode git revision
17108 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17109 * timezone/zdump.c: Likewise.
17110 * timezone/zic.c: Likewise.
17111 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17112 in TZVERSION setting, not $(PKGVERSION).
17113 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17114 REPORT_BUGS_TO settings.
17115
8ca89318
JM
17116 [BZ #14838]
17117 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17118 macro.
17119
47594329
MS
171202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17121
17122 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17123 detection to immediately after _FP_ROUND().
17124 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17125 bits are 0.
17126
640ac3f1
DM
171272012-11-11 David S. Miller <davem@davemloft.net>
17128
17129 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17130 inttypes.h
17131 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17132 __close rather than their public counterparts.
17133
3d2577bb
JM
171342012-11-10 Joseph Myers <joseph@codesourcery.com>
17135
17136 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17137 file.
17138 [UNIX98] (sem_timedwait): Do not expect.
17139 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17140 [XPG4 || UNIX98] (sockatmark): Do not expect.
17141 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17142 (clock_getcpuclockid): Do not expect.
17143 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17144 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17145 Do not expect.
17146 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17147 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17148 [UNIX98] (vwscanf): Likewise.
17149 [UNIX98] (vswscanf): Likewise.
17150
fb1ae1ee
JM
171512012-11-09 Joseph Myers <joseph@codesourcery.com>
17152
9ec6f8bd
JM
17153 * timezone/version.h: Remove file.
17154 * timezone/README: Do not refer to version.h.
17155 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17156 $(objpfx)version.h.
17157 ($(objpfx)zdump.o): Likewise.
c3f81911 17158 ($(objpfx)version.h): New target.
9ec6f8bd 17159
0aa8f8a1
JM
17160 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17161 2012i.
17162 * timezone/README: Don't mention modification to tzselect.ksh.
17163 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17164 work on unmodified tzselect.ksh. Substitute version numbers in
17165 tzselect.ksh.
17166
4e87147f
JM
17167 * Makefile (format-me): Remove.
17168 (INSTALL): Adjust indentation. Use commands directly instead of
17169 using $(format-me).
17170
8b748aed
JM
17171 * aclocal.m4 (ACX_PKGVERSION): New macro.
17172 (ACX_BUGURL): Likewise.
17173 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17174 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17175 (REPORT_BUGS_TO): Likewise.
17176 * configure: Regenerated.
17177 * config.h.in (PKGVERSION): New macro.
17178 (REPORT_BUGS_TO): Likewise.
17179 * config.make.in (PKGVERSION): New variable.
17180 (PKGVERSION_TEXI): Likewise.
17181 (REPORT_BUGS_TO): Likewise.
17182 (REPORT_BUGS_TEXI): Likewise.
17183 * Makefile (format-me): Use -I$(common-objpfx)manual.
17184 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17185 ($(common-objpfx)manual/%): New target.
17186 (manual/%): Remove target.
17187 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17188 (print_version): Use PKGVERSION.
17189 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17190 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17191 and REPORT_BUGS_TO.
17192 ($(objpfx)xtrace): Likewise.
17193 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17194 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17195 (print_version): Use PKGVERSION.
17196 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17197 (do_version): Use PKGVERSION.
17198 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17199 REPORT_BUGS_TO.
17200 (common-ldd-rewrite): Likewise.
17201 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17202 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17203 (print_version): Use PKGVERSION.
17204 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17205 * elf/pldd.c (argp_program_bug_address): Remove variable.
17206 (more_help): New function.
17207 (argp): Use more_help.
17208 (print_version): Use PKGVERSION.
17209 * elf/sln.c (main): Use PKGVERSION.
17210 (usage): Use REPORT_BUGS_TO.
17211 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17212 (top level): Use PKGVERSION.
17213 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17214 (print_version): Use PKGVERSION.
17215 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17216 (print_version): Use PKGVERSION.
17217 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17218 (print_version): Use PKGVERSION.
17219 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17220 (print_version): Use PKGVERSION.
17221 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17222 (print_version): Use PKGVERSION.
17223 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17224 (print_version): Use PKGVERSION.
17225 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17226 and BUGURL.
17227 ($(objpfx)memusage): Likewise.
17228 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17229 (do_version): Use PKGVERSION.
17230 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17231 (print_version): Use PKGVERSION.
17232 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17233 ($PKGVERSION): New variable.
17234 ($REPORT_BUGS_TO): Likewise.
17235 (usage): Use $REPORT_BUGS_TO.
17236 (top level): Use $PKGVERSION.
17237 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17238 ($(objpfx)pkgvers.texi): New rule.
17239 ($(objpfx)stamp-pkgvers): Likewise.
17240 * manual/install.texi: Include pkgvers.texi.
17241 (--with-pkgversion): Document new configure option.
17242 (--with-bugurl): Likewise.
17243 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17244 than necessarily for this particular distribution. Use
17245 REPORT_BUGS_TO for where to report bugs.
17246 * INSTALL: Regenerated.
17247 * manual/libc.texinfo: Include pkgvers.texi.
17248 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17249 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17250 (print_version): Use PKGVERSION.
17251 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17252 (print_version): Use PKGVERSION.
17253 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17254 (print_version): Use PKGVERSION.
17255 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17256 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17257 macro.
17258 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17259 (print_version): Use PKGVERSION.
17260 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17261 (print_version): Use PKGVERSION.
17262 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17263 and PKGVERSION.
17264
92e4b6a9
JM
17265 * timezone/checktab.awk: Update from tzcode 2012i.
17266 * timezone/ialloc.c: Likewise.
17267 * timezone/private.h: Likewise.
17268 * timezone/scheck.c: Likewise.
17269 * timezone/tzfile.h: Likewise.
17270 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17271 (TZVERSION): Hardcode tzcode version number.
17272 * timezone/zdump.c: Update from tzcode 2012i.
17273 * timezone/zic.c: Likewise.
17274 * timezone/version.h: New file.
17275 * timezone/README: Describe version.h. Update upstream location.
17276
9bde902c
JM
17277 [BZ #14824]
17278 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17279 (mktemp): Enable declaration.
17280 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17282 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17283 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17284 Likewise.
17285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17286 Likewise.
17287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17288 Likewise.
17289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17290 Likewise.
17291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17292 Likewise.
17293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17294 Likewise.
17295
fb1ae1ee
JM
17296 [BZ #14821]
17297 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17298 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17299 for copies of such integer values.
17300 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17301 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17302
2c1adbcb
AJ
173032012-11-09 Andreas Jaeger <aj@suse.de>
17304
17305 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17306 definitions and declarations that are provided by
17307 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17308
d0f8457e
AK
173092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17310
3a235abb 17311 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17312 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17313 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17314 definition.
17315
57241e26
MS
173162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17317
17318 * elf/elf.h: Update comment before AArch64 relocations.
17319
60e8270d
DM
173202012-11-07 David S. Miller <davem@davemloft.net>
17321
17322 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17323 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17324 (__start_context): Declare.
17325 (__makecontext_ret): Delete.
17326 (__makecontext): Hook up __start_context instead of
17327 __makecontext_ret.
17328 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17329 (sysdep_routines): Add __start_context when in stdlib.
17330
0fbb0fbc
JM
173312012-11-07 Joseph Myers <joseph@codesourcery.com>
17332
17333 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17334 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17335 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17336 hardcoded "nm".
17337 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17338 (READELF): New variable. Use it instead of hardcoded "readelf".
17339
eb48db7e
L
173402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17341
17342 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17343 * sysdeps/x86/Makefile: Here.
17344 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17345 * sysdeps/x86/tst-xmmymm.sh: This.
17346
05bcf62a
JM
173472012-11-07 Joseph Myers <joseph@codesourcery.com>
17348
c4b6cf53
JM
17349 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17350 expectations.
17351 [UNIX98] (pthread_barrier_t): Do not expect.
17352 [UNIX98] (pthread_barrierattr_t): Likewise.
17353 [UNIX98] (pthread_spinlock_t): Likewise.
17354 [UNIX98] (pthread_barrier_destroy): Likewise.
17355 [UNIX98] (pthread_barrier_init): Likewise.
17356 [UNIX98] (pthread_barrier_wait): Likewise.
17357 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17358 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17359 [UNIX98] (pthread_barrierattr_init): Likewise.
17360 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17361 [UNIX98] (pthread_getcpuclockid): Likewise.
17362 [UNIX98] (pthread_mutex_timedlock): Likewise.
17363 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17364 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17365 [UNIX98] (pthread_sigmask): Likewise.
17366 [UNIX98] (pthread_spin_destroy): Likewise.
17367 [UNIX98] (pthread_spin_init): Likewise.
17368 [UNIX98] (pthread_spin_lock): Likewise.
17369 [UNIX98] (pthread_spin_trylock): Likewise.
17370 [UNIX98] (pthread_spin_unlock): Likewise.
17371 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17372 Do not expect.
17373 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17375 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17376 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17377 [XPG3 || XPG4] (pthread_key_t): Likewise.
17378 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17379 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17380 [XPG3 || XPG4] (pthread_once_t): Likewise.
17381 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17382 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17384 [XPG3 || XPG4] (pthread_t): Likewise.
17385
cbe6e120
JM
17386 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17387 not expect.
17388 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17389
1b126443
JM
17390 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17391 Change function return type to int.
17392
b961a573
JM
17393 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17394 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17395 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17396 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17397 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17398 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17399 [!POSIX] (posix_madvise): Likewise.
17400 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17401 && !UNIX98].
17402 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17403 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17404 (mode_t): Likewise.
17405 (posix_mem_offset): Likewise.
17406 (posix_typed_mem_get_info): Likewise.
17407 (posix_typed_mem_open): Likewise.
17408
9e188909
JM
17409 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17410 Change condition to [XOPEN2K8].
17411
05bcf62a
JM
17412 * conform/conformtest.pl: Preprocess allow-header data with -x c
17413 instead of from stdin.
17414 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17415 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17416 [C99-based standards] (cerfc): Likewise.
17417 [C99-based standards] (cexp2): Likewise.
17418 [C99-based standards] (cexpm1): Likewise.
17419 [C99-based standards] (clog10): Likewise.
17420 [C99-based standards] (clog1p): Likewise.
17421 [C99-based standards] (clog2): Likewise.
17422 [C99-based standards] (clgamma): Likewise.
17423 [C99-based standards] (ctgamma): Likewise.
17424 [C99-based standards] (cerff): Likewise.
17425 [C99-based standards] (cerfcf): Likewise.
17426 [C99-based standards] (cexp2f): Likewise.
17427 [C99-based standards] (cexpm1f): Likewise.
17428 [C99-based standards] (clog10f): Likewise.
17429 [C99-based standards] (clog1pf): Likewise.
17430 [C99-based standards] (clog2f): Likewise.
17431 [C99-based standards] (clgammaf): Likewise.
17432 [C99-based standards] (ctgammaf): Likewise.
17433 [C99-based standards] (cerfl): Likewise.
17434 [C99-based standards] (cerfcl): Likewise.
17435 [C99-based standards] (cexp2l): Likewise.
17436 [C99-based standards] (cexpm1l): Likewise.
17437 [C99-based standards] (clog10l): Likewise.
17438 [C99-based standards] (clog1pl): Likewise.
17439 [C99-based standards] (clog2l): Likewise.
17440 [C99-based standards] (clgammal): Likewise.
17441 [C99-based standards] (ctgammal): Likewise.
17442 * conform/data/inttypes.h-data [C99-based standards]: Include
17443 stdint.h-data. Remove all expectations for stdint.h contents.
17444 [C99-based standards] (PRI*): Do not allow.
17445 [C99-based standards] (SCN*): Likewise.
17446 [C99-based standards] (*_t): Likewise.
17447 [C99-based-standards] (PRId8): Expect macro.
17448 [C99-based-standards] (PRIi8): Likewise.
17449 [C99-based-standards] (PRIo8): Likewise.
17450 [C99-based-standards] (PRIu8): Likewise.
17451 [C99-based-standards] (PRIx8): Likewise.
17452 [C99-based-standards] (PRIX8): Likewise.
17453 [C99-based-standards] (SCNd8): Likewise.
17454 [C99-based-standards] (SCNi8): Likewise.
17455 [C99-based-standards] (SCNo8): Likewise.
17456 [C99-based-standards] (SCNu8): Likewise.
17457 [C99-based-standards] (SCNx8): Likewise.
17458 [C99-based-standards] (PRIdLEAST8): Likewise.
17459 [C99-based-standards] (PRIiLEAST8): Likewise.
17460 [C99-based-standards] (PRIoLEAST8): Likewise.
17461 [C99-based-standards] (PRIuLEAST8): Likewise.
17462 [C99-based-standards] (PRIxLEAST8): Likewise.
17463 [C99-based-standards] (PRIXLEAST8): Likewise.
17464 [C99-based-standards] (SCNdLEAST8): Likewise.
17465 [C99-based-standards] (SCNiLEAST8): Likewise.
17466 [C99-based-standards] (SCNoLEAST8): Likewise.
17467 [C99-based-standards] (SCNuLEAST8): Likewise.
17468 [C99-based-standards] (SCNxLEAST8): Likewise.
17469 [C99-based-standards] (PRIdFAST8): Likewise.
17470 [C99-based-standards] (PRIiFAST8): Likewise.
17471 [C99-based-standards] (PRIoFAST8): Likewise.
17472 [C99-based-standards] (PRIuFAST8): Likewise.
17473 [C99-based-standards] (PRIxFAST8): Likewise.
17474 [C99-based-standards] (PRIXFAST8): Likewise.
17475 [C99-based-standards] (SCNdFAST8): Likewise.
17476 [C99-based-standards] (SCNiFAST8): Likewise.
17477 [C99-based-standards] (SCNoFAST8): Likewise.
17478 [C99-based-standards] (SCNuFAST8): Likewise.
17479 [C99-based-standards] (SCNxFAST8): Likewise.
17480 [C99-based-standards] (PRId16): Likewise.
17481 [C99-based-standards] (PRIi16): Likewise.
17482 [C99-based-standards] (PRIo16): Likewise.
17483 [C99-based-standards] (PRIu16): Likewise.
17484 [C99-based-standards] (PRIx16): Likewise.
17485 [C99-based-standards] (PRIX16): Likewise.
17486 [C99-based-standards] (SCNd16): Likewise.
17487 [C99-based-standards] (SCNi16): Likewise.
17488 [C99-based-standards] (SCNo16): Likewise.
17489 [C99-based-standards] (SCNu16): Likewise.
17490 [C99-based-standards] (SCNx16): Likewise.
17491 [C99-based-standards] (PRIdLEAST16): Likewise.
17492 [C99-based-standards] (PRIiLEAST16): Likewise.
17493 [C99-based-standards] (PRIoLEAST16): Likewise.
17494 [C99-based-standards] (PRIuLEAST16): Likewise.
17495 [C99-based-standards] (PRIxLEAST16): Likewise.
17496 [C99-based-standards] (PRIXLEAST16): Likewise.
17497 [C99-based-standards] (SCNdLEAST16): Likewise.
17498 [C99-based-standards] (SCNiLEAST16): Likewise.
17499 [C99-based-standards] (SCNoLEAST16): Likewise.
17500 [C99-based-standards] (SCNuLEAST16): Likewise.
17501 [C99-based-standards] (SCNxLEAST16): Likewise.
17502 [C99-based-standards] (PRIdFAST16): Likewise.
17503 [C99-based-standards] (PRIiFAST16): Likewise.
17504 [C99-based-standards] (PRIoFAST16): Likewise.
17505 [C99-based-standards] (PRIuFAST16): Likewise.
17506 [C99-based-standards] (PRIxFAST16): Likewise.
17507 [C99-based-standards] (PRIXFAST16): Likewise.
17508 [C99-based-standards] (SCNdFAST16): Likewise.
17509 [C99-based-standards] (SCNiFAST16): Likewise.
17510 [C99-based-standards] (SCNoFAST16): Likewise.
17511 [C99-based-standards] (SCNuFAST16): Likewise.
17512 [C99-based-standards] (SCNxFAST16): Likewise.
17513 [C99-based-standards] (PRId32): Likewise.
17514 [C99-based-standards] (PRIi32): Likewise.
17515 [C99-based-standards] (PRIo32): Likewise.
17516 [C99-based-standards] (PRIu32): Likewise.
17517 [C99-based-standards] (PRIx32): Likewise.
17518 [C99-based-standards] (PRIX32): Likewise.
17519 [C99-based-standards] (SCNd32): Likewise.
17520 [C99-based-standards] (SCNi32): Likewise.
17521 [C99-based-standards] (SCNo32): Likewise.
17522 [C99-based-standards] (SCNu32): Likewise.
17523 [C99-based-standards] (SCNx32): Likewise.
17524 [C99-based-standards] (PRIdLEAST32): Likewise.
17525 [C99-based-standards] (PRIiLEAST32): Likewise.
17526 [C99-based-standards] (PRIoLEAST32): Likewise.
17527 [C99-based-standards] (PRIuLEAST32): Likewise.
17528 [C99-based-standards] (PRIxLEAST32): Likewise.
17529 [C99-based-standards] (PRIXLEAST32): Likewise.
17530 [C99-based-standards] (SCNdLEAST32): Likewise.
17531 [C99-based-standards] (SCNiLEAST32): Likewise.
17532 [C99-based-standards] (SCNoLEAST32): Likewise.
17533 [C99-based-standards] (SCNuLEAST32): Likewise.
17534 [C99-based-standards] (SCNxLEAST32): Likewise.
17535 [C99-based-standards] (PRIdFAST32): Likewise.
17536 [C99-based-standards] (PRIiFAST32): Likewise.
17537 [C99-based-standards] (PRIoFAST32): Likewise.
17538 [C99-based-standards] (PRIuFAST32): Likewise.
17539 [C99-based-standards] (PRIxFAST32): Likewise.
17540 [C99-based-standards] (PRIXFAST32): Likewise.
17541 [C99-based-standards] (SCNdFAST32): Likewise.
17542 [C99-based-standards] (SCNiFAST32): Likewise.
17543 [C99-based-standards] (SCNoFAST32): Likewise.
17544 [C99-based-standards] (SCNuFAST32): Likewise.
17545 [C99-based-standards] (SCNxFAST32): Likewise.
17546 [C99-based-standards] (PRId64): Likewise.
17547 [C99-based-standards] (PRIi64): Likewise.
17548 [C99-based-standards] (PRIo64): Likewise.
17549 [C99-based-standards] (PRIu64): Likewise.
17550 [C99-based-standards] (PRIx64): Likewise.
17551 [C99-based-standards] (PRIX64): Likewise.
17552 [C99-based-standards] (SCNd64): Likewise.
17553 [C99-based-standards] (SCNi64): Likewise.
17554 [C99-based-standards] (SCNo64): Likewise.
17555 [C99-based-standards] (SCNu64): Likewise.
17556 [C99-based-standards] (SCNx64): Likewise.
17557 [C99-based-standards] (PRIdLEAST64): Likewise.
17558 [C99-based-standards] (PRIiLEAST64): Likewise.
17559 [C99-based-standards] (PRIoLEAST64): Likewise.
17560 [C99-based-standards] (PRIuLEAST64): Likewise.
17561 [C99-based-standards] (PRIxLEAST64): Likewise.
17562 [C99-based-standards] (PRIXLEAST64): Likewise.
17563 [C99-based-standards] (SCNdLEAST64): Likewise.
17564 [C99-based-standards] (SCNiLEAST64): Likewise.
17565 [C99-based-standards] (SCNoLEAST64): Likewise.
17566 [C99-based-standards] (SCNuLEAST64): Likewise.
17567 [C99-based-standards] (SCNxLEAST64): Likewise.
17568 [C99-based-standards] (PRIdFAST64): Likewise.
17569 [C99-based-standards] (PRIiFAST64): Likewise.
17570 [C99-based-standards] (PRIoFAST64): Likewise.
17571 [C99-based-standards] (PRIuFAST64): Likewise.
17572 [C99-based-standards] (PRIxFAST64): Likewise.
17573 [C99-based-standards] (PRIXFAST64): Likewise.
17574 [C99-based-standards] (SCNdFAST64): Likewise.
17575 [C99-based-standards] (SCNiFAST64): Likewise.
17576 [C99-based-standards] (SCNoFAST64): Likewise.
17577 [C99-based-standards] (SCNuFAST64): Likewise.
17578 [C99-based-standards] (SCNxFAST64): Likewise.
17579 [C99-based-standards] (PRIdMAX): Likewise.
17580 [C99-based-standards] (PRIiMAX): Likewise.
17581 [C99-based-standards] (PRIoMAX): Likewise.
17582 [C99-based-standards] (PRIuMAX): Likewise.
17583 [C99-based-standards] (PRIxMAX): Likewise.
17584 [C99-based-standards] (PRIXMAX): Likewise.
17585 [C99-based-standards] (SCNdMAX): Likewise.
17586 [C99-based-standards] (SCNiMAX): Likewise.
17587 [C99-based-standards] (SCNoMAX): Likewise.
17588 [C99-based-standards] (SCNuMAX): Likewise.
17589 [C99-based-standards] (SCNxMAX): Likewise.
17590 [C99-based-standards] (PRIdPTR): Likewise.
17591 [C99-based-standards] (PRIiPTR): Likewise.
17592 [C99-based-standards] (PRIoPTR): Likewise.
17593 [C99-based-standards] (PRIuPTR): Likewise.
17594 [C99-based-standards] (PRIxPTR): Likewise.
17595 [C99-based-standards] (PRIXPTR): Likewise.
17596 [C99-based-standards] (SCNdPTR): Likewise.
17597 [C99-based-standards] (SCNiPTR): Likewise.
17598 [C99-based-standards] (SCNoPTR): Likewise.
17599 [C99-based-standards] (SCNuPTR): Likewise.
17600 [C99-based-standards] (SCNxPTR): Likewise.
17601 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17602 allow.
17603 * conform/data/stdint.h-data: Update comments to clarify
17604 requirements.
17605 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17606 type.
17607 [C99-based standards] (INT8_MAX): Likewise.
17608 [C99-based standards] (INT16_MIN): Likewise.
17609 [C99-based standards] (INT16_MAX): Likewise.
17610 [C99-based standards] (INT32_MIN): Likewise.
17611 [C99-based standards] (INT32_MAX): Likewise.
17612 [C99-based standards] (INT64_MIN): Likewise.
17613 [C99-based standards] (INT64_MAX): Likewise.
17614 [C99-based standards] (UINT8_MAX): Likewise.
17615 [C99-based standards] (UINT16_MAX): Likewise.
17616 [C99-based standards] (UINT32_MAX): Likewise.
17617 [C99-based standards] (UINT64_MAX): Likewise.
17618 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17619 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17620 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17621 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17622 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17623 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17624 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17625 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17626 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17627 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17628 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17629 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17630 [C99-based standards] (INT_FAST8_MIN): Likewise.
17631 [C99-based standards] (INT_FAST8_MAX): Likewise.
17632 [C99-based standards] (INT_FAST16_MIN): Likewise.
17633 [C99-based standards] (INT_FAST16_MAX): Likewise.
17634 [C99-based standards] (INT_FAST32_MIN): Likewise.
17635 [C99-based standards] (INT_FAST32_MAX): Likewise.
17636 [C99-based standards] (INT_FAST64_MIN): Likewise.
17637 [C99-based standards] (INT_FAST64_MAX): Likewise.
17638 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17639 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17640 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17641 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17642 [C99-based standards] (INTPTR_MIN): Likewise.
17643 [C99-based standards] (INTPTR_MAX): Likewise.
17644 [C99-based standards] (UINTPTR_MAX): Likewise.
17645 [C99-based standards] (INTMAX_MIN): Likewise.
17646 [C99-based standards] (INTMAX_MAX): Likewise.
17647 [C99-based standards] (UINTMAX_MAX): Likewise.
17648 [C99-based standards] (PTRDIFF_MIN): Likewise.
17649 [C99-based standards] (PTRDIFF_MAX): Likewise.
17650 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17651 [C99-based standards] (SIZE_MAX): Likewise.
17652 [C99-based standards] (WCHAR_MAX): Likewise.
17653 [C99-based standards] (WINT_MAX): Likewise.
17654 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17655 constraint on value.
17656 [C99-based standards] (WCHAR_MIN): Likewise.
17657 [C99-based standards] (WINT_MIN): Likewise.
17658 [C99-based standards] (*_t): Allow.
17659 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17660 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17661 Include math.h-data and complex.h-data. Remove all expectations
17662 of math.h and complex.h contents.
17663 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17664 at end of line.
17665 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17666 (struct tm): Expect tag.
17667 [C99-based-standards] (wcstof): Expect function.
17668 [C99-based-standards] (wcstold): Likewise.
17669 [C99-based-standards] (wcstoll): Likewise.
17670 [C99-based-standards] (wcstoull): Likewise.
17671 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17672 macro-int-constant. Specify type.
17673 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17674 constraint on value.
17675 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17676 Specify type.
17677 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17678 Specify value.
17679 [ISO C standards]: Do not allow headers.
17680 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17681 wcs[abcdefghijklmnopqrstuvwxyz]*.
17682 [ISO C standards] (*_t): Do not allow.
17683 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17684 Expect function.
17685 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17686 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17687 Specify type.
17688 [ISO C standards]: Do not allow headers.
17689 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17690 is[abcdefghijklmnopqrstuvwxyz]*.
17691 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17692 to[abcdefghijklmnopqrstuvwxyz]*.
17693 [ISO C standards] (*_t): Do not allow.
17694 * conform/data/stdalign.h-data: New file.
17695 * conform/data/stdbool.h-data: Likewise.
17696 * conform/data/stdnoreturn.h-data: Likewise.
17697
7514feb8
RM
176982012-11-07 Roland McGrath <roland@hack.frob.com>
17699
17700 [BZ #14815]
17701 * manual/filesys.texi (Directory Entries): Typo fix.
17702 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17703
19b2ecfc
MS
177042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17705
17706 * elf/elf.h (EM_AARCH64): New macro.
17707 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17708 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17709 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17710 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17711 (R_AARCH64_TLSDESC): Likewise.
17712 (NT_ARM_TLS): Likewise.
17713 (NT_ARM_HW_BREAK): Likewise.
17714 (NT_ARM_HW_WATCH): Likewise.
17715
60e235ee
JM
177162012-11-07 Joseph Myers <joseph@codesourcery.com>
17717
17718 [BZ #14811]
17719 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17720 (__ieee754_powl): Saturate nonzero exponents with absolute value
17721 below 0x1p-79 to +/- 0x1p-79.
17722 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17723 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17724 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17725 nonzero exponents with absolute value below 0x1p-32 to +/-
17726 0x1p-32.
17727 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17728 (__ieee754_powl): Saturate nonzero exponents with absolute value
17729 below 0x1p-79 to +/- 0x1p-79.
17730 * math/libm-test.inc (pow_test): Add more tests.
17731
0ab234b7
AK
177322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17733
17734 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17735 _dl_s390_cap_flags with kernel. Increase string length.
17736 (_dl_s390_platforms): Add z196 and zEC12.
17737
45832f74
JM
177382012-11-07 Joseph Myers <joseph@codesourcery.com>
17739
17740 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17741 Change XOPEN21K to XOPEN2K.
17742
19218757
MK
177432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17744
17745 * string/memmove.c: Use memcpy when possible.
17746
c5f45721
AJ
177472012-11-06 Andreas Jaeger <aj@suse.de>
17748
17749 * po/eo.po: Update from translation team.
17750
82477c28
JM
177512012-11-06 Joseph Myers <joseph@codesourcery.com>
17752
17753 [BZ #14793]
17754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17755 exponent and small x and y exponents, scale x or y up. Increase
17756 by 2 the exponent used in scaling up.
17757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17759 * math/libm-test.inc (fma_test): Add more tests.
17760 (fma_test_towardzero): Likewise.
17761 (fma_test_downward): Likewise.
17762 (fma_test_upward): Likewise.
17763
99252c8c
JM
177642012-11-05 Joseph Myers <joseph@codesourcery.com>
17765
acfa885f
JM
17766 [BZ #14805]
17767 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17768 fenv_t *.
17769
99252c8c
JM
17770 [BZ #14801]
17771 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17772 namespace for names of struct fields.
17773 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17774 fenv_t fields.
17775 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17776 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17777
d6d98dea
ST
177782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17779
17780 [BZ #3665]
17781 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17782
e10bb107
TS
177832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17784
17785 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17786 PTR_DEMANGLE.
17787
17788 [BZ #5246]
17789 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17790 PTR_DEMANGLE.
17791
a0c2940d
JM
177922012-11-04 Joseph Myers <joseph@codesourcery.com>
17793
17794 [BZ #14797]
17795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17796 definitely overflow as x * y not x * y + z.
17797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17799 * math/libm-test.inc (fma_test): Add more tests.
17800 (fma_test_towardzero): Likewise.
17801 (fma_test_downward): Likewise.
17802 (fma_test_upward): Likewise.
17803
b830319d
TS
178042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17805
17806 [BZ #157]
17807
17808 * include/stub-tag.h: Remove file.
17809 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17810 '#include' of it.
17811 * manual/maint.texi (Porting): Don't reference it.
17812 * Makerules ($(objpfx)stubs): Likewise.
17813 * dirent/closedir.c: Don't include <stub-tag.h>.
17814 * dirent/dirfd.c: Likewise.
17815 * dirent/fdopendir.c: Likewise.
17816 * dirent/getdents.c: Likewise.
17817 * dirent/getdents64.c: Likewise.
17818 * dirent/opendir.c: Likewise.
17819 * dirent/readdir.c: Likewise.
17820 * dirent/readdir64.c: Likewise.
17821 * dirent/readdir64_r.c: Likewise.
17822 * dirent/readdir_r.c: Likewise.
17823 * dirent/rewinddir.c: Likewise.
17824 * dirent/seekdir.c: Likewise.
17825 * dirent/telldir.c: Likewise.
17826 * gmon/profil.c: Likewise.
17827 * grp/setgroups.c: Likewise.
17828 * inet/if_index.c: Likewise.
17829 * io/access.c: Likewise.
17830 * io/chdir.c: Likewise.
17831 * io/chmod.c: Likewise.
17832 * io/chown.c: Likewise.
17833 * io/close.c: Likewise.
17834 * io/dup.c: Likewise.
17835 * io/dup2.c: Likewise.
17836 * io/dup3.c: Likewise.
17837 * io/euidaccess.c: Likewise.
17838 * io/faccessat.c: Likewise.
17839 * io/fchdir.c: Likewise.
17840 * io/fchmod.c: Likewise.
17841 * io/fchmodat.c: Likewise.
17842 * io/fchown.c: Likewise.
17843 * io/fchownat.c: Likewise.
17844 * io/fcntl.c: Likewise.
17845 * io/flock.c: Likewise.
17846 * io/fstatfs.c: Likewise.
17847 * io/fstatfs64.c: Likewise.
17848 * io/fstatvfs.c: Likewise.
17849 * io/fstatvfs64.c: Likewise.
17850 * io/futimens.c: Likewise.
17851 * io/fxstat.c: Likewise.
17852 * io/fxstat64.c: Likewise.
17853 * io/fxstatat.c: Likewise.
17854 * io/fxstatat64.c: Likewise.
17855 * io/getcwd.c: Likewise.
17856 * io/isatty.c: Likewise.
17857 * io/lchmod.c: Likewise.
17858 * io/lchown.c: Likewise.
17859 * io/link.c: Likewise.
17860 * io/linkat.c: Likewise.
17861 * io/lseek.c: Likewise.
17862 * io/lseek64.c: Likewise.
17863 * io/lxstat64.c: Likewise.
17864 * io/mkdir.c: Likewise.
17865 * io/mkdirat.c: Likewise.
17866 * io/mkfifo.c: Likewise.
17867 * io/mkfifoat.c: Likewise.
17868 * io/open.c: Likewise.
17869 * io/open64.c: Likewise.
17870 * io/openat.c: Likewise.
17871 * io/openat64.c: Likewise.
17872 * io/pipe.c: Likewise.
17873 * io/pipe2.c: Likewise.
17874 * io/poll.c: Likewise.
17875 * io/posix_fadvise.c: Likewise.
17876 * io/posix_fadvise64.c: Likewise.
17877 * io/posix_fallocate.c: Likewise.
17878 * io/posix_fallocate64.c: Likewise.
17879 * io/read.c: Likewise.
17880 * io/readlink.c: Likewise.
17881 * io/readlinkat.c: Likewise.
17882 * io/rmdir.c: Likewise.
17883 * io/sendfile.c: Likewise.
17884 * io/sendfile64.c: Likewise.
17885 * io/statfs.c: Likewise.
17886 * io/statfs64.c: Likewise.
17887 * io/statvfs.c: Likewise.
17888 * io/statvfs64.c: Likewise.
17889 * io/symlink.c: Likewise.
17890 * io/symlinkat.c: Likewise.
17891 * io/ttyname.c: Likewise.
17892 * io/ttyname_r.c: Likewise.
17893 * io/umask.c: Likewise.
17894 * io/unlink.c: Likewise.
17895 * io/unlinkat.c: Likewise.
17896 * io/utime.c: Likewise.
17897 * io/utimensat.c: Likewise.
17898 * io/write.c: Likewise.
17899 * io/xmknod.c: Likewise.
17900 * io/xmknodat.c: Likewise.
17901 * io/xstat.c: Likewise.
17902 * io/xstat64.c: Likewise.
17903 * login/getpt.c: Likewise.
17904 * login/grantpt.c: Likewise.
17905 * login/unlockpt.c: Likewise.
17906 * math/e_acoshl.c: Likewise.
17907 * math/e_acosl.c: Likewise.
17908 * math/e_asinl.c: Likewise.
17909 * math/e_atan2l.c: Likewise.
17910 * math/e_atanhl.c: Likewise.
17911 * math/e_coshl.c: Likewise.
17912 * math/e_expl.c: Likewise.
17913 * math/e_fmodl.c: Likewise.
17914 * math/e_gammal_r.c: Likewise.
17915 * math/e_hypotl.c: Likewise.
17916 * math/e_j0l.c: Likewise.
17917 * math/e_j1l.c: Likewise.
17918 * math/e_jnl.c: Likewise.
17919 * math/e_lgammal_r.c: Likewise.
17920 * math/e_log10l.c: Likewise.
17921 * math/e_log2l.c: Likewise.
17922 * math/e_logl.c: Likewise.
17923 * math/e_powl.c: Likewise.
17924 * math/e_rem_pio2l.c: Likewise.
17925 * math/e_sinhl.c: Likewise.
17926 * math/e_sqrtl.c: Likewise.
17927 * math/fclrexcpt.c: Likewise.
17928 * math/fedisblxcpt.c: Likewise.
17929 * math/feenablxcpt.c: Likewise.
17930 * math/fegetenv.c: Likewise.
17931 * math/fegetexcept.c: Likewise.
17932 * math/fegetround.c: Likewise.
17933 * math/feholdexcpt.c: Likewise.
17934 * math/fesetenv.c: Likewise.
17935 * math/fesetround.c: Likewise.
17936 * math/feupdateenv.c: Likewise.
17937 * math/fgetexcptflg.c: Likewise.
17938 * math/fraiseexcpt.c: Likewise.
17939 * math/fsetexcptflg.c: Likewise.
17940 * math/ftestexcept.c: Likewise.
17941 * math/k_cosl.c: Likewise.
17942 * math/k_rem_pio2l.c: Likewise.
17943 * math/k_sinl.c: Likewise.
17944 * math/k_tanl.c: Likewise.
17945 * math/s_asinhl.c: Likewise.
17946 * math/s_atanl.c: Likewise.
17947 * math/s_cbrtl.c: Likewise.
17948 * math/s_erfl.c: Likewise.
17949 * math/s_expm1l.c: Likewise.
17950 * math/s_log1pl.c: Likewise.
17951 * math/s_tanhl.c: Likewise.
17952 * misc/acct.c: Likewise.
17953 * misc/brk.c: Likewise.
17954 * misc/chflags.c: Likewise.
17955 * misc/chroot.c: Likewise.
17956 * misc/fchflags.c: Likewise.
17957 * misc/fgetxattr.c: Likewise.
17958 * misc/flistxattr.c: Likewise.
17959 * misc/fremovexattr.c: Likewise.
17960 * misc/fsetxattr.c: Likewise.
17961 * misc/fsync.c: Likewise.
17962 * misc/ftruncate.c: Likewise.
17963 * misc/futimes.c: Likewise.
17964 * misc/futimesat.c: Likewise.
17965 * misc/getdomain.c: Likewise.
17966 * misc/getdtsz.c: Likewise.
17967 * misc/gethostid.c: Likewise.
17968 * misc/gethostname.c: Likewise.
17969 * misc/getloadavg.c: Likewise.
17970 * misc/getpagesize.c: Likewise.
17971 * misc/getsysstats.c: Likewise.
17972 * misc/getxattr.c: Likewise.
17973 * misc/gtty.c: Likewise.
17974 * misc/ioctl.c: Likewise.
17975 * misc/lgetxattr.c: Likewise.
17976 * misc/listxattr.c: Likewise.
17977 * misc/llistxattr.c: Likewise.
17978 * misc/lremovexattr.c: Likewise.
17979 * misc/lsetxattr.c: Likewise.
17980 * misc/lutimes.c: Likewise.
17981 * misc/madvise.c: Likewise.
17982 * misc/mincore.c: Likewise.
17983 * misc/mlock.c: Likewise.
17984 * misc/mlockall.c: Likewise.
17985 * misc/mmap.c: Likewise.
17986 * misc/mprotect.c: Likewise.
17987 * misc/msync.c: Likewise.
17988 * misc/munlock.c: Likewise.
17989 * misc/munlockall.c: Likewise.
17990 * misc/munmap.c: Likewise.
17991 * misc/preadv.c: Likewise.
17992 * misc/preadv64.c: Likewise.
17993 * misc/ptrace.c: Likewise.
17994 * misc/pwritev.c: Likewise.
17995 * misc/pwritev64.c: Likewise.
17996 * misc/readv.c: Likewise.
17997 * misc/reboot.c: Likewise.
17998 * misc/remap_file_pages.c: Likewise.
17999 * misc/removexattr.c: Likewise.
18000 * misc/revoke.c: Likewise.
18001 * misc/select.c: Likewise.
18002 * misc/setdomain.c: Likewise.
18003 * misc/setegid.c: Likewise.
18004 * misc/seteuid.c: Likewise.
18005 * misc/sethostid.c: Likewise.
18006 * misc/sethostname.c: Likewise.
18007 * misc/setregid.c: Likewise.
18008 * misc/setreuid.c: Likewise.
18009 * misc/setxattr.c: Likewise.
18010 * misc/sstk.c: Likewise.
18011 * misc/stty.c: Likewise.
18012 * misc/swapoff.c: Likewise.
18013 * misc/swapon.c: Likewise.
18014 * misc/sync.c: Likewise.
18015 * misc/syncfs.c: Likewise.
18016 * misc/syscall.c: Likewise.
18017 * misc/truncate.c: Likewise.
18018 * misc/ualarm.c: Likewise.
18019 * misc/usleep.c: Likewise.
18020 * misc/ustat.c: Likewise.
18021 * misc/utimes.c: Likewise.
18022 * misc/vhangup.c: Likewise.
18023 * misc/writev.c: Likewise.
18024 * posix/_exit.c: Likewise.
18025 * posix/alarm.c: Likewise.
18026 * posix/execve.c: Likewise.
18027 * posix/fexecve.c: Likewise.
18028 * posix/fork.c: Likewise.
18029 * posix/fpathconf.c: Likewise.
18030 * posix/getaddrinfo.c: Likewise.
18031 * posix/getegid.c: Likewise.
18032 * posix/geteuid.c: Likewise.
18033 * posix/getgid.c: Likewise.
18034 * posix/getgroups.c: Likewise.
18035 * posix/getlogin.c: Likewise.
18036 * posix/getlogin_r.c: Likewise.
18037 * posix/getpgid.c: Likewise.
18038 * posix/getpid.c: Likewise.
18039 * posix/getppid.c: Likewise.
18040 * posix/getresgid.c: Likewise.
18041 * posix/getresuid.c: Likewise.
18042 * posix/getsid.c: Likewise.
18043 * posix/getuid.c: Likewise.
18044 * posix/glob64.c: Likewise.
18045 * posix/nanosleep.c: Likewise.
18046 * posix/pathconf.c: Likewise.
18047 * posix/pause.c: Likewise.
18048 * posix/posix_madvise.c: Likewise.
18049 * posix/pread.c: Likewise.
18050 * posix/pread64.c: Likewise.
18051 * posix/pwrite.c: Likewise.
18052 * posix/pwrite64.c: Likewise.
18053 * posix/sched_getaffinity.c: Likewise.
18054 * posix/sched_getp.c: Likewise.
18055 * posix/sched_gets.c: Likewise.
18056 * posix/sched_primax.c: Likewise.
18057 * posix/sched_primin.c: Likewise.
18058 * posix/sched_rr_gi.c: Likewise.
18059 * posix/sched_setaffinity.c: Likewise.
18060 * posix/sched_setp.c: Likewise.
18061 * posix/sched_sets.c: Likewise.
18062 * posix/sched_yield.c: Likewise.
18063 * posix/setgid.c: Likewise.
18064 * posix/setlogin.c: Likewise.
18065 * posix/setpgid.c: Likewise.
18066 * posix/setresgid.c: Likewise.
18067 * posix/setresuid.c: Likewise.
18068 * posix/setsid.c: Likewise.
18069 * posix/setuid.c: Likewise.
18070 * posix/sleep.c: Likewise.
18071 * posix/spawni.c: Likewise.
18072 * posix/sysconf.c: Likewise.
18073 * posix/times.c: Likewise.
18074 * posix/wait.c: Likewise.
18075 * posix/wait3.c: Likewise.
18076 * posix/wait4.c: Likewise.
18077 * posix/waitpid.c: Likewise.
18078 * resolv/gai_sigqueue.c: Likewise.
18079 * resource/getpriority.c: Likewise.
18080 * resource/getrlimit.c: Likewise.
18081 * resource/getrusage.c: Likewise.
18082 * resource/nice.c: Likewise.
18083 * resource/setpriority.c: Likewise.
18084 * resource/setrlimit.c: Likewise.
18085 * resource/ulimit.c: Likewise.
18086 * rt/aio_cancel.c: Likewise.
18087 * rt/aio_fsync.c: Likewise.
18088 * rt/aio_read.c: Likewise.
18089 * rt/aio_sigqueue.c: Likewise.
18090 * rt/aio_suspend.c: Likewise.
18091 * rt/aio_write.c: Likewise.
18092 * rt/clock_getres.c: Likewise.
18093 * rt/clock_gettime.c: Likewise.
18094 * rt/clock_nanosleep.c: Likewise.
18095 * rt/clock_settime.c: Likewise.
18096 * rt/lio_listio.c: Likewise.
18097 * rt/mq_close.c: Likewise.
18098 * rt/mq_getattr.c: Likewise.
18099 * rt/mq_notify.c: Likewise.
18100 * rt/mq_open.c: Likewise.
18101 * rt/mq_receive.c: Likewise.
18102 * rt/mq_send.c: Likewise.
18103 * rt/mq_setattr.c: Likewise.
18104 * rt/mq_timedreceive.c: Likewise.
18105 * rt/mq_timedsend.c: Likewise.
18106 * rt/mq_unlink.c: Likewise.
18107 * rt/shm_open.c: Likewise.
18108 * rt/shm_unlink.c: Likewise.
18109 * rt/timer_create.c: Likewise.
18110 * rt/timer_delete.c: Likewise.
18111 * rt/timer_getoverr.c: Likewise.
18112 * rt/timer_gettime.c: Likewise.
18113 * rt/timer_settime.c: Likewise.
18114 * setjmp/__longjmp.c: Likewise.
18115 * setjmp/setjmp.c: Likewise.
18116 * signal/kill.c: Likewise.
18117 * signal/killpg.c: Likewise.
18118 * signal/raise.c: Likewise.
18119 * signal/sigaction.c: Likewise.
18120 * signal/sigaltstack.c: Likewise.
18121 * signal/sigblock.c: Likewise.
18122 * signal/sigignore.c: Likewise.
18123 * signal/sigintr.c: Likewise.
18124 * signal/signal.c: Likewise.
18125 * signal/sigpause.c: Likewise.
18126 * signal/sigpending.c: Likewise.
18127 * signal/sigqueue.c: Likewise.
18128 * signal/sigreturn.c: Likewise.
18129 * signal/sigset.c: Likewise.
18130 * signal/sigsetmask.c: Likewise.
18131 * signal/sigstack.c: Likewise.
18132 * signal/sigsuspend.c: Likewise.
18133 * signal/sigtimedwait.c: Likewise.
18134 * signal/sigvec.c: Likewise.
18135 * signal/sigwait.c: Likewise.
18136 * signal/sigwaitinfo.c: Likewise.
18137 * signal/sysv_signal.c: Likewise.
18138 * socket/accept.c: Likewise.
18139 * socket/accept4.c: Likewise.
18140 * socket/bind.c: Likewise.
18141 * socket/connect.c: Likewise.
18142 * socket/getpeername.c: Likewise.
18143 * socket/getsockname.c: Likewise.
18144 * socket/getsockopt.c: Likewise.
18145 * socket/isfdtype.c: Likewise.
18146 * socket/listen.c: Likewise.
18147 * socket/recv.c: Likewise.
18148 * socket/recvfrom.c: Likewise.
18149 * socket/recvmsg.c: Likewise.
18150 * socket/send.c: Likewise.
18151 * socket/sendmsg.c: Likewise.
18152 * socket/sendto.c: Likewise.
18153 * socket/setsockopt.c: Likewise.
18154 * socket/shutdown.c: Likewise.
18155 * socket/sockatmark.c: Likewise.
18156 * socket/socket.c: Likewise.
18157 * socket/socketpair.c: Likewise.
18158 * stdio-common/ctermid.c: Likewise.
18159 * stdio-common/cuserid.c: Likewise.
18160 * stdio-common/remove.c: Likewise.
18161 * stdio-common/rename.c: Likewise.
18162 * stdio-common/renameat.c: Likewise.
18163 * stdio-common/tempname.c: Likewise.
18164 * stdlib/getcontext.c: Likewise.
18165 * stdlib/makecontext.c: Likewise.
18166 * stdlib/setcontext.c: Likewise.
18167 * stdlib/swapcontext.c: Likewise.
18168 * stdlib/system.c: Likewise.
18169 * streams/fattach.c: Likewise.
18170 * streams/fdetach.c: Likewise.
18171 * streams/getmsg.c: Likewise.
18172 * streams/getpmsg.c: Likewise.
18173 * streams/putmsg.c: Likewise.
18174 * streams/putpmsg.c: Likewise.
18175 * sysdeps/unix/bsd/getpt.c: Likewise.
18176 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18177 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18178 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18180 Likewise.
18181 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18182 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18183 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18184 * sysvipc/msgctl.c: Likewise.
18185 * sysvipc/msgget.c: Likewise.
18186 * sysvipc/msgrcv.c: Likewise.
18187 * sysvipc/msgsnd.c: Likewise.
18188 * sysvipc/semctl.c: Likewise.
18189 * sysvipc/semget.c: Likewise.
18190 * sysvipc/semop.c: Likewise.
18191 * sysvipc/semtimedop.c: Likewise.
18192 * sysvipc/shmat.c: Likewise.
18193 * sysvipc/shmctl.c: Likewise.
18194 * sysvipc/shmdt.c: Likewise.
18195 * sysvipc/shmget.c: Likewise.
18196 * termios/tcdrain.c: Likewise.
18197 * termios/tcflow.c: Likewise.
18198 * termios/tcflush.c: Likewise.
18199 * termios/tcgetattr.c: Likewise.
18200 * termios/tcgetpgrp.c: Likewise.
18201 * termios/tcsendbrk.c: Likewise.
18202 * termios/tcsetattr.c: Likewise.
18203 * termios/tcsetpgrp.c: Likewise.
18204 * time/adjtime.c: Likewise.
18205 * time/clock.c: Likewise.
18206 * time/getitimer.c: Likewise.
18207 * time/gettimeofday.c: Likewise.
18208 * time/setitimer.c: Likewise.
18209 * time/settimeofday.c: Likewise.
18210 * time/stime.c: Likewise.
18211 * time/time.c: Likewise.
18212
182132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18214
a20492cf
PT
18215 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18216 /usr/old/bin.
18217
72e182e3
PT
18218 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18219 instead of spaces.
18220 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18221
fbeafede
JM
182222012-11-03 Joseph Myers <joseph@codesourcery.com>
18223
5b5b04d6
JM
18224 [BZ #14796]
18225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18226 FE_TONEAREST before applying Dekker multiplication and Knuth
18227 addition. Clear inexact exceptions and check for exact zero
18228 results afterwards.
18229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18230 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18232 * math/libm-test.inc (fma_test): Add more tests.
18233 (fma_test_towardzero): Likewise.
18234 (fma_test_downward): Likewise.
18235 (fma_test_upward): Likewise.
18236 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18237 function.
18238 (libc_fesetround): New macro.
18239 (libc_fesetroundf): Likewise.
18240 (libc_fesetroundl): Likewise.
18241 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18242 function.
18243 (libc_fesetround_387): Likewise.
18244 (libc_fesetroundf): New macro.
18245 (libc_fesetround): Likewise.
18246 (libc_fesetroundl): Likewise.
18247 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18248 function.
18249 (libc_fesetroundf): New macro.
18250 (libc_fesetround): Likewise.
18251 (libc_fesetroundl): Likewise.
18252 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18253 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18254 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18255 libm_hidden_ver.
18256 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18257 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18258 libm_hidden_def.
18259 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18260 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18261 libm_hidden_ver.
18262 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18263 libm_hidden_def.
18264
fbeafede
JM
18265 [BZ #3439]
18266 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18267 integer constant usable in #if and use that to give value to enum
18268 constant.
18269 (FE_DIVBYZERO): Likewise.
18270 (FE_UNDERFLOW): Likewise.
18271 (FE_OVERFLOW): Likewise.
18272 (FE_INVALID): Likewise.
18273 (FE_INVALID_SNAN): Likewise.
18274 (FE_INVALID_ISI): Likewise.
18275 (FE_INVALID_IDI): Likewise.
18276 (FE_INVALID_ZDZ): Likewise.
18277 (FE_INVALID_IMZ): Likewise.
18278 (FE_INVALID_COMPARE): Likewise.
18279 (FE_INVALID_SOFTWARE): Likewise.
18280 (FE_INVALID_SQRT): Likewise.
18281 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18282 (FE_TONEAREST): Likewise.
18283 (FE_TOWARDZERO): Likewise.
18284 (FE_UPWARD): Likewise.
18285 (FE_DOWNWARD): Likewise.
18286 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18287 (FE_DIVBYZERO): Likewise.
18288 (FE_OVERFLOW): Likewise.
18289 (FE_UNDERFLOW): Likewise.
18290 (FE_INEXACT): Likewise.
18291 (FE_TONEAREST): Likewise.
18292 (FE_DOWNWARD): Likewise.
18293 (FE_UPWARD): Likewise.
18294 (FE_TOWARDZERO): Likewise.
18295 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18296 (FE_UNDERFLOW): Likewise.
18297 (FE_OVERFLOW): Likewise.
18298 (FE_DIVBYZERO): Likewise.
18299 (FE_INVALID): Likewise.
18300 (FE_TONEAREST): Likewise.
18301 (FE_TOWARDZERO): Likewise.
18302 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18303 (FE_OVERFLOW): Likewise.
18304 (FE_UNDERFLOW): Likewise.
18305 (FE_DIVBYZERO): Likewise.
18306 (FE_INEXACT): Likewise.
18307 (FE_TONEAREST): Likewise.
18308 (FE_TOWARDZERO): Likewise.
18309 (FE_UPWARD): Likewise.
18310 (FE_DOWNWARD): Likewise.
18311 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18312 (FE_DIVBYZERO): Likewise.
18313 (FE_OVERFLOW): Likewise.
18314 (FE_UNDERFLOW): Likewise.
18315 (FE_INEXACT): Likewise.
18316 (FE_TONEAREST): Likewise.
18317 (FE_DOWNWARD): Likewise.
18318 (FE_UPWARD): Likewise.
18319 (FE_TOWARDZERO): Likewise.
18320
105ca950
CM
183212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18322
18323 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18324
a542b389
AS
183252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18326
18327 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18328 commands. Quote $PWD.
18329 (blacklist_exports): Don't use remove_newlines. Replace "declare
18330 -x" by "export".
18331 (remove_newlines): Remove.
18332
f62c8abc
L
183332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18334
18335 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18336 * stdlib/stdlib.h (atof): Moved to ...
18337 * include/bits/stdlib-float.h: Here. New file.
18338 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18339 * stdlib/bits/stdlib-float.h: New file.
18340 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18341 -mno-sse -mno-mmx.
18342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18343 <xmmintrin.h>.
18344
0155d5b2
JM
183452012-11-02 Joseph Myers <joseph@codesourcery.com>
18346
a68d0680
JM
18347 * conform/conformtest.pl (@headers): Add fenv.h.
18348 * conform/data/fenv.h-data: New file.
18349 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18350 include of <math/fenv.h>.
18351
caf7f573
JM
18352 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18353 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18354 && !UNIX98]. Enables tests for XOPEN2K8.
18355 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18356 POSIX2008]: Likewise.
18357
6c073ad6
JM
18358 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18359 (struct rusage): Do not expect type or its members.
18360
0155d5b2
JM
18361 [BZ #3439]
18362 * math/math.h (FP_NAN): Define macro to integer constant usable in
18363 #if and use that to give value to enum constant.
18364 (FP_INFINITE): Likewise.
18365 (FP_ZERO): Likewise.
18366 (FP_SUBNORMAL): Likewise.
18367 (FP_NORMAL): Likewise.
18368
b5dcacb4
AS
183692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18370
18371 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18372 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18373 arguments.
18374
f7934be8
RM
183752012-11-02 Roland McGrath <roland@hack.frob.com>
18376
18377 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18378 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18379 autoconf-time if not.
18380 * configure.in: Remove AC_PREREQ.
18381
d7d08bde
TMQMF
183822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18383
18384 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18385 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18386 of the internal implementation.
18387
dcdae19a
JM
183882012-11-02 Joseph Myers <joseph@codesourcery.com>
18389
18390 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18391 except include of <misc/sys/syslog.h>.
18392
d6cffd3e
AS
183932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18394
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18396 function returns with a NULL context exit with zero.
18397
b3563932
TMQMF
183982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18399
18400 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18401
b288a93d
L
184022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18403
18404 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18405 (run_program_cmd): This.
18406 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18407 (tst_langinfo): New variable. Use it.
18408
a2421a68
SAS
184092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18410
18411 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18412 floating point opcodes.
18413
6f796e1b
TS
184142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18415
7402596b
TS
18416 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18417 variable.
18418
d0d4f868
TS
18419 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18420
6f796e1b
TS
18421 * sysdeps/mach/hurd/powerpc: Remove directory.
18422 * sysdeps/mach/powerpc: Likewise.
18423
4da224a2
AS
184242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18425
18426 * scripts/check-local-headers.sh: Ignore c++ headers.
18427
341dd673
TS
184282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18429
18430 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18431 __libc_cleanup_region_start argument.
18432
473611b2
JM
184332012-11-01 Joseph Myers <joseph@codesourcery.com>
18434
18435 [BZ #14784]
18436 [BZ #14785]
18437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18438 x * y using scaling, not as x * y + z.
18439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18441 * math/libm-test.inc (fma_test): Add more tests.
18442 (fma_test_towardzero): Likewise.
18443 (fma_test_downward): Likewise.
18444 (fma_test_upward): Likewise.
18445
4078da3d
TS
184462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18447
18448 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18449
903252aa
JM
184502012-10-31 Joseph Myers <joseph@codesourcery.com>
18451
18452 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18453 New variable.
18454
cbc818d0
TS
184552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18456
18457 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18458
5a03cb1e
AS
184592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18460
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18462 Fix sort order.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18464 Likewise.
18465
90aff2ff
TMQMF
184662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18467
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18469 Fix the order of the list for glibc 2.17.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18471 Likewise.
18472
1818fcb7
AS
184732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18474
18475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18476
ef82f4da
JM
184772012-10-31 Joseph Myers <joseph@codesourcery.com>
18478
16a0e2ec
JM
18479 [BZ #14610]
18480 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18481 for low part of x being zero before using __atanl (y).
18482 * math/libm-test.inc (atan2_test): Add another test.
18483
0eb69512
JM
18484 * manual/install.texi (Configuring and compiling): Document
18485 general use of test-wrapper and test-wrapper-env.
18486 * INSTALL: Regenerated.
18487
ef82f4da
JM
18488 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18489 (__fma): Do not extract and scale down low bits on after-rounding
18490 systems when result rounded to normal precision would have normal
18491 exponent.
18492 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18493 (__fmal): Do not extract and scale down low bits on after-rounding
18494 systems when result rounded to normal precision would have normal
18495 exponent.
18496 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18497 (__fmal): Do not extract and scale down low bits on after-rounding
18498 systems when result rounded to normal precision would have normal
18499 exponent.
18500 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18501 macro.
18502 (fma_test): Add more tests.
18503 (fma_test_towardzero): Likewise.
18504 (fma_test_downward): Likewise.
18505 (fma_test_upward): Likewise.
18506
954ef0d9
L
185072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18508
18509 * sysdeps/i386/tininess.h: Renamed to ...
18510 * sysdeps/x86/tininess.h: This.
18511 * sysdeps/x86_64/tininess.h: Removed.
18512
df61ffb2
JM
185132012-10-30 Joseph Myers <joseph@codesourcery.com>
18514
18515 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18516 input. Use $(build-program-cmd).
18517 ($(objpfx)tst-array1-static.out): Likewise.
18518 ($(objpfx)tst-array2.out): Likewise.
18519 ($(objpfx)tst-array3.out): Likewise.
18520 ($(objpfx)tst-array4.out): Likewise.
18521 ($(objpfx)tst-array5.out): Likewise.
18522 ($(objpfx)tst-array5-static.out): Likewise.
18523
01767843
CM
185242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18525
47cc1490
CM
18526 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18527 if defined.
18528
01767843
CM
18529 * nss/nsswitch.h (nss_interface_function): Provide new
18530 macro for use with NSS functions.
18531 * grp/initgroups.c: Use new macro.
18532 * nss/getXXbyYY.c: Likewise.
18533 * nss/getXXbyYY_r.c: Likewise.
18534 * nss/getXXent.c: Likewise.
18535 * nss/getXXent_r.c: Likewise.
18536 * sysdeps/posix/getaddrinfo.c: Likewise.
18537
8321aa97
AJ
185382012-10-30 Andreas Jaeger <aj@suse.de>
18539
18540 * po/ru.po: Update Russion translation from translation project.
18541
2a27fd6d
JM
185422012-10-30 Joseph Myers <joseph@codesourcery.com>
18543
8627a232
JM
18544 [BZ #14152]
18545 [BZ #14783]
18546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18547 result and shift together with sticky bit instead of replicating
18548 round-to-nearest rounding.
18549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18551 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18552 missing underflow exceptions.
18553 (fma_test_towardzero): Add more tests.
18554 (fma_test_downward): Likewise.
18555 (fma_test_upward): Likewise.
18556
2a27fd6d
JM
18557 [BZ #14047]
18558 * sysdeps/generic/tininess.h: New file.
18559 * sysdeps/i386/tininess.h: Likewise.
18560 * sysdeps/sh/tininess.h: Likewise.
18561 * sysdeps/x86_64/tininess.h: Likewise.
18562 * stdlib/tst-strtod-underflow.c: Likewise.
18563 * stdlib/tst-tininess.c: Likewise.
18564 * stdlib/strtod_l.c: Include <tininess.h>.
18565 (round_and_return): Do not set errno for exact underflow cases.
18566 Force an underflow exception when setting errno for underflow.
18567 Determine underflow based on rounding to normal precision if
18568 TININESS_AFTER_ROUNDING.
18569 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18570 ERANGE for exact underflow cases.
18571 * stdlib/Makefile (tests): Add tst-tininess and
18572 tst-strtod-underflow.
18573 ($(objpfx)tst-tininess): Use $(link-libm).
18574 ($(objpfx)tst-strtod-underflow): Likewise.
18575
e7170363
AJ
185762012-10-30 Andreas Jaeger <aj@suse.de>
18577
e5088dc6
AJ
18578 [BZ#14767]
18579 * elf/Makefile (tests): Remove conditional for have-initfini-array
18580 since this is now always required and the variable does not exist
18581 anymore.
18582 (tests-static): Likewise.
18583 (modules-names): Likewise.
18584
e7170363 18585 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
18586
18587 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18588 merged with constructor/destructor.
18589 (init_array): Likewise.
18590 * elf/tst-array2dep.c (fini_array): Likewise.
18591 (init_array): Likewise.
18592
60457d8a
MF
185932012-10-29 Mike Frysinger <vapier@gentoo.org>
18594
18595 * manual/message.texi: Delete @cartouche tags.
18596
8bece752
PT
185972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18598
94ce799f
PT
18599 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18600 EOPNOTSUPP.
18601 * sysdeps/mach/hurd/fsync.c: Likewise.
18602
8bece752
PT
18603 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18604 [_POSIX_REALTIME_SIGNALS]: Change condition to
18605 [_POSIX_REALTIME_SIGNALS > 0].
18606
86ebe6b1
AJ
186072012-10-27 Andreas Jaeger <aj@suse.de>
18608
18609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18610 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18612 [__WORDSIZE != 64]: Likewise.
18613
54399c08
L
186142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18615
18616 * iconvdata/tst-table.sh: Remove ${SHELL}.
18617 * iconvdata/tst-tables.sh: Likewise.
18618
e2211bed
DM
186192012-10-25 David S. Miller <davem@davemloft.net>
18620
18621 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18622 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18623 of strtoull.
18624
f303f97c
DM
18625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18626 ifunc-impl-list.c
18627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18628 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18629 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18630 file.
18631
1e9d84cd
RM
186322012-10-25 Roland McGrath <roland@hack.frob.com>
18633
18634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18635 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18636 __getdirentries.
18637
df381762
JM
186382012-10-25 Joseph Myers <joseph@codesourcery.com>
18639 Jim Blandy <jimb@codesourcery.com>
18640
18641 * scripts/cross-test-ssh.sh: New file.
18642 * manual/install.texi (Configuring and compiling): Document use of
18643 cross-test-ssh.sh.
18644 * INSTALL: Regenerated.
18645
bff64913
PT
186462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18647
18648 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18649 EOPNOTSUPP.
18650
25fe8932
JM
186512012-10-25 Joseph Myers <joseph@codesourcery.com>
18652
18653 * Makeconfig (run-program-prefix): Fix comment.
18654
cc1290d0
JM
186552012-10-24 Joseph Myers <joseph@codesourcery.com>
18656 Jim Blandy <jimb@codesourcery.com>
18657
18658 * Makeconfig (test-wrapper): New variable,
18659 (test-wrapper-env): Likewise.
18660 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18661 (run-built-tests): Define to yes.
18662 (run-program-prefix): Use $(test-wrapper).
18663 (built-program-cmd): Likewise.
18664 * Rules (make-test-out): Use $(test-wrapper-env) and
18665 $(host-built-program-cmd).
18666 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18667 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18668 tst-pathopt.sh.
18669 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18670 $(test-wrapper-env) to tst-rtld-load-self.sh.
18671 ($(objpfx)order2.out): Use $(test-wrapper).
18672 ($(objpfx)tst-initorder.out): Likewise.
18673 ($(objpfx)tst-initorder2.out): Likewise.
18674 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18675 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18676 (test_wrapper_env): New variable. Use it to run ld.so.
18677 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18678 Use it to run ld.so.
18679 (test_wrapper_env): Likewise.
18680 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18681 $(test-wrapper) to run-iconv-test.sh.
18682 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18683 (ICONV): Use $test_wrapper.
18684 * posix/Makefile ($(objpfx)globtest.out): Pass
18685 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18686 globtest.sh, not $(run-program-prefix).
18687 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18688 (test_wrapper): Likewise.
18689 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18690 set together with run_via_rtld_prefix.
18691 (run_program_prefix): Define in terms of test_wrapper and
18692 run_via_rtld_prefix.
18693
6e6249d0
RM
186942012-10-24 Roland McGrath <roland@hack.frob.com>
18695
18696 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18697 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18698 Targets removed.
18699
18700 [BZ #14743]
18701 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18702 Declare __clock_getres, __clock_gettime, __clock_settime,
18703 __clock_nanosleep, and __clock_getcpuclockid.
18704 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18705 Remove librt_hidden_def (clock_gettime).
18706 * sysdeps/unix/clock_gettime.c: Likewise.
18707 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18709 * rt/clock_getres.c: Define __clock_getres as an alias.
18710 * sysdeps/posix/clock_getres.c: Likewise.
18711 * rt/clock_settime.c: Define __clock_settime as an alias.
18712 * sysdeps/unix/clock_settime.c: Likewise.
18713 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18714 * sysdeps/unix/clock_nanosleep.c: Likewise.
18715 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18716 * rt/clock-compat.c: New file.
18717 * rt/Makefile (librt-routines): Add clock-compat and move
18718 $(clock-routines) to ...
18719 (routines): ... here, new variable.
18720 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18721 Don't add get_clockfreq here.
18722 * rt/Versions (libc: GLIBC_2.17): New version set.
18723 Add clock_* symbols here.
18724 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18726 (GLIBC_2.17): Add clock_* symbols.
18727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18731 Likewise.
18732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18733 Likewise.
18734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18738 * NEWS: Mention the move.
18739
18740 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18741 Use __open, __read, __close rather than their public counterparts.
18742 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18743 (__get_clockfreq_via_cpuinfo): Likewise.
18744 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18745 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18746
18747 * config.h.in (HAVE_IFUNC): New #undef.
18748 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18749 was successful.
18750 * configure: Regenerated.
18751
0cae3f4b
MF
187522012-10-24 Mike Frysinger <vapier@gentoo.org>
18753
18754 * configure.in: Move READELF check to start of file.
18755 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18756 libc_cv_asm_gnu_indirect_function in the process.
18757 * configure: Regenerated.
18758
8175a253
MF
187592012-10-24 Mike Frysinger <vapier@gentoo.org>
18760
18761 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18762 send the output to /dev/null.
18763 (libc_cv_cc_with_libunwind): Likewise.
18764 (libc_cv_as_noexecstack): Likewise.
18765 * configure: Regenerate.
18766
0708a7d1
JM
187672012-10-24 Joseph Myers <joseph@codesourcery.com>
18768
10b40d85
JM
18769 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18770
0708a7d1
JM
18771 * posix/globtest.sh (TMPDIR): Do not set.
18772 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18773 (testout): Likewise.
18774
9fddec1a
AJ
187752012-10-24 Andreas Jaeger <aj@suse.de>
18776
3a8db22f
AJ
18777 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18778 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18779 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18780 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18781 posix_fadvise64, posix_fallocate64.
18782
9fddec1a
AJ
18783 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18784 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18785 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18786 Likewise.
18787 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18788 Likewise.
18789 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18790
18791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18792 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18793 <bits/fcntl-linux.h>.
18794 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18795
18796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18797 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18798 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18799 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18800 [__WORDSIZE != 64]: Likewise.
18801
ebfd1bbd
JM
188022012-10-23 Joseph Myers <joseph@codesourcery.com>
18803
03ac099f
JM
18804 * Makeconfig (run-built-tests): New variable.
18805 * Rules [$(cross-compiling) = yes]: Change condition to
18806 [$(run-built-tests) = no].
18807 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18808 to [$(run-built-tests) = yes].
18809 * elf/Makefile [$(cross-compiling) = no]: Likewise
18810 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18811 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18812 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18813 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18814 * io/Makefile [$(cross-compiling) = no]: Likewise.
18815 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18816 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18817 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18818 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18819 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18820 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18821 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18822 * string/Makefile [$(cross-compiling) = no]: Likewise.
18823
ebfd1bbd
JM
18824 * posix/Makefile ($(objpfx)globtest.out): Pass
18825 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18826 $(rtld-installed-name).
18827 * posix/globtest.sh (elf_objpfx): Remove variable.
18828 (rtld_installed_name): Likewise.
18829 (library_path): Likewise.
18830 (run_program_prefix): New variable. Use for running globtest
18831 binary.
18832
166bca24
JB
188332012-10-23 Jim Blandy <jimb@codesourcery.com>
18834 Joseph Myers <joseph@codesourcery.com>
18835
18836 * Makeconfig (host-built-program-cmd): New variable.
18837 * elf/Makefile (tst-stackguard1-ARGS): Use
18838 $(host-built-program-cmd).
18839 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18840 (tst-spawn-ARGS): Likewise.
18841 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18842
88866099
JM
188432012-10-23 Joseph Myers <joseph@codesourcery.com>
18844 Jim Blandy <jimb@codesourcery.com>
18845
18846 * Makeconfig (run-via-rtld-prefix): New variable.
18847 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18848 (built-program-cmd): Likewise.
18849
b4b4c296
AJ
188502012-10-22 Andreas Jaeger <aj@suse.de>
18851
18852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18853 __O_RSYNC if it exists, otherwise to O_SYNC.
18854
6fb54a22
JB
188552012-10-22 Jim Blandy <jimb@codesourcery.com>
18856 Joseph Myers <joseph@codesourcery.com>
18857
18858 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18859 /dev/null.
18860 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18861 from /dev/null
18862 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18863 /dev/null.
18864
481b90b9
AJ
188652012-10-22 Andreas Jaeger <aj@suse.de>
18866
2a0e2669
AJ
18867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18868 Define always.
18869 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18870
76e38f9a
AJ
18871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18872 bits/fcntl-linux.h.
18873
7cd37b43
AJ
18874 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18875 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18876
481b90b9
AJ
18877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18878 to __O_LARGEFILE.
18879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18880 to __O_LARGEFILE.
18881
aba75984
JB
188822012-10-21 Jim Blandy <jimb@codesourcery.com>
18883 Joseph Myers <joseph@codesourcery.com>
18884
18885 * config.make.in (NM): New variable.
18886
88d4247f
AJ
188872012-10-21 Andreas Jaeger <aj@suse.de>
18888
18889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18890 definitions and declarations that are provided by
18891 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18892
f2eed205
L
188932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18894
18895 [BZ #14683]
18896 * elf/Makefile (tests-static): Add tst-leaks1-static.
18897 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18898 ($(objpfx)tst-leaks1-static): New rule.
18899 ($(objpfx)tst-leaks1-static-mem): Likewise.
18900 (tst-leaks1-static-ENV): New macro.
18901 * elf/dl-open.c (dl_open_worker): Check the main application
18902 only if SHARED is defined.
18903 * elf/tst-leaks1-static.c: New file.
18904
335e6931
AJ
189052012-10-20 Andreas Jaeger <aj@suse.de>
18906
18907 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18908 generic values for Linux.
18909 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18910 and declarations that are provided by <bits/fcntl-linux.h> and
18911 include <bits/fcntl-linux.h>.
18912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18914
ac5c94d3
RM
189152012-10-20 Roland McGrath <roland@hack.frob.com>
18916
18917 * io/fcntl.h: Move include of <bits/types.h> to the top and
18918 include it unconditionally.
18919
de54b33a
L
189202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18921
228cfb01
L
18922 * wcsmbs/Makefile (tests-ifunc): New variable.
18923 (tests): Add $(tests-ifunc).
18924 * wcsmbs/test-wcschr-ifunc.c: New file.
18925 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18926 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18927 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18928 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18929 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18930
69f07e5f
L
18931 * string/Makefile (tests-ifunc): New variable.
18932 (tests): Add $(tests-ifunc).
18933 * string/test-memccpy.c (TEST_NAME): New macro.
18934 * string/test-memchr.c (TEST_NAME): Likewise.
18935 * string/test-memcmp.c (TEST_NAME): Likewise.
18936 * string/test-memcpy.c (TEST_NAME): Likewise.
18937 * string/test-memmem.c (TEST_NAME): Likewise.
18938 * string/test-memmove.c (TEST_NAME): Likewise.
18939 * string/test-memset.c (TEST_NAME): Likewise.
18940 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18941 * string/test-stpcpy.c (TEST_NAME): Likewise.
18942 * string/test-stpncpy.c (TEST_NAME): Likewise.
18943 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18944 * string/test-strcasestr.c (TEST_NAME): Likewise.
18945 * string/test-strcat.c (TEST_NAME): Likewise.
18946 * string/test-strchr.c (TEST_NAME): Likewise.
18947 * string/test-strcmp.c(TEST_NAME): Likewise.
18948 * string/test-strcpy.c (TEST_NAME): Likewise.
18949 * string/test-strcspn.c (TEST_NAME): Likewise.
18950 * string/test-strlen.c (TEST_NAME): Likewise.
18951 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18952 * string/test-strncmp.c (TEST_NAME): Likewise.
18953 * string/test-strncpy.c (TEST_NAME): Likewise.
18954 * string/test-strnlen.c (TEST_NAME): Likewise.
18955 * string/test-strpbrk.c (TEST_NAME): Likewise.
18956 * string/test-strrchr.c (TEST_NAME): Likewise.
18957 * string/test-strspn.c (TEST_NAME): Likewise.
18958 * string/test-strstr.c (TEST_NAME): Likewise.
18959 * string/test-bcopy-ifunc.c: New file.
18960 * string/test-bzero-ifunc.c: Likewise.
18961 * string/test-memccpy-ifunc.c: Likewise.
18962 * string/test-memchr-ifunc.c: Likewise.
18963 * string/test-memcmp-ifunc.c: Likewise.
18964 * string/test-memcpy-ifunc.c: Likewise.
18965 * string/test-memmem-ifunc.c: Likewise.
18966 * string/test-memmove-ifunc.c: Likewise.
18967 * string/test-mempcpy-ifunc.c: Likewise.
18968 * string/test-memset-ifunc.c: Likewise.
18969 * string/test-rawmemchr-ifunc.c: Likewise.
18970 * string/test-stpcpy-ifunc.c: Likewise.
18971 * string/test-stpncpy-ifunc.c: Likewise.
18972 * string/test-strcasecmp-ifunc.c: Likewise.
18973 * string/test-strcasestr-ifunc.c: Likewise.
18974 * string/test-strcat-ifunc.c: Likewise.
18975 * string/test-strchr-ifunc.c: Likewise.
18976 * string/test-strchrnul-ifunc.c: Likewise.
18977 * string/test-strcmp-ifunc.c: Likewise.
18978 * string/test-strcpy-ifunc.c: Likewise.
18979 * string/test-strcspn-ifunc.c: Likewise.
18980 * string/test-strlen-ifunc.c: Likewise.
18981 * string/test-strncasecmp-ifunc.c: Likewise.
18982 * string/test-strncat-ifunc.c: Likewise.
18983 * string/test-strncmp-ifunc.c: Likewise.
18984 * string/test-strncpy-ifunc.c: Likewise.
18985 * string/test-strnlen-ifunc.c: Likewise.
18986 * string/test-strpbrk-ifunc.c: Likewise.
18987 * string/test-strrchr-ifunc.c: Likewise.
18988 * string/test-strspn-ifunc.c: Likewise.
18989 * string/test-strstr-ifunc.c: Likewise.
18990
de54b33a
L
18991 * debug/Makefile (tests-ifunc): New variable.
18992 (tests): Add $(tests-ifunc).
18993 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18994 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18995 * debug/test-stpcpy_chk-ifunc.c: New file.
18996 * debug/test-strcpy_chk-ifunc.c: Likewise.
18997
88481c16
SP
189982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 [BZ #13601]
19001 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19002 header is not read in.
19003
135948bd
JM
190042012-10-19 Joseph Myers <joseph@codesourcery.com>
19005
89f1c388
JM
19006 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19007 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19008 directly. Pass built executable to script as
19009 $(built-program-cmd).
19010 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19011 $testprogram without using LD_LIBRARY_PATH and $ldso.
19012
e40a0d21
JM
19013 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19014 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19015 $(rtld-installed-name).
19016 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19017 (rtld_installed_name): Likewise.
19018 (library_path): Likewise.
19019 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19020 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19021 $(run-program-prefix) to tst-tables.sh.
19022 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19023 it to run tst-table-from and tst-table-to.
19024 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19025 Pass it to tst-table.sh.
19026 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19027 $(run-program-prefix) to tst-gettext.sh.
19028 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19029 tst-translit.sh.
19030 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19031 tst-gettext2.sh.
19032 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19033 to run tst-gettext.
19034 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19035 to run tst-gettext2.
19036 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19037 to run tst-translit.
19038 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19039 $(run-program-prefix) to tst-mtrace.sh.
19040 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19041 to run tst-mtrace.
19042 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19043 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19044 $(rtld-installed-name).
19045 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19046 (rtld_installed_name): Likewise.
19047 (run_program_prefix): New variable. Use it to run wordexp-test.
19048
728e272a
JM
19049 * Makeconfig (ARCH): Remove all definitions.
19050 (machine): Likewise.
19051 [ARCH]: Remove conditional code.
19052 [!objdir]: Give error.
19053 [!objdir] (objpfx): Remove.
19054 [!objdir] (common-objpfx): Likewise.
19055 [!objdir] (common-objdir): Likewise.
19056 * configure.in (config_makefile): Remove. Hardcode Makefile in
19057 AC_CONFIG_FILES call.
19058 * configure: Regenerated.
19059
d528cdcf
JM
19060 [BZ #13888]
19061 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19062 or TMPDIR.
19063 (testout): Likewise.
19064
135948bd
JM
19065 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19066 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19067 $(rtld-installed-name).
19068 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19069 (rtld_installed_name): Likwise.
19070 (runit): Remove function.
19071 (run_getconf): New variable, Use it for running getconf binary.
19072
38c78296
L
190732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19074
19075 [BZ #14716]
19076 * string/test-memmem.c (check_result): New function.
19077 (do_one_test): Use it.
19078 (check1): New function.
19079 (test_main): Use it.
19080
d077f65f
MT
190812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19082
19083 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19084
ced52c71
JM
190852012-10-18 Joseph Myers <joseph@codesourcery.com>
19086
19087 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19088 (_G_LSEEK64): Likewise.
19089 (_G_MMAP64): Likewise.
19090 (_G_FSTAT64): Likewise.
19091 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19092 (_G_LSEEK64): Likewise.
19093 (_G_MMAP64): Likewise.
19094 (_G_FSTAT64): Likewise.
19095 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19096 unconditional. Call __mmap64 directly.
19097 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19098 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19099 __lseek64 directly.
19100 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19101 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19102 __mmap64 directly.
19103 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19104 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19105 __lseek64 directly.
19106 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19107 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19108 __lseek64 directly.
19109 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19110 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19111 __lseek64 directly.
19112 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19113 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19114 __fxstat64 directly.
19115 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19116 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19117 unconditional.
19118 (freopen64) [!_G_OPEN64]: Remove conditional code.
19119 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19120 unconditional.
19121 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19122 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19123 unconditional.
19124 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19125 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19126 unconditional.
19127 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19128 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19129 unconditional.
19130 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19131 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19132 unconditional.
19133 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19134 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19135 unconditional.
19136 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19137 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19138 unconditional.
19139 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19140
b741de23
SP
191412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19142
19143 [BZ #12140]
19144 * manual/memory.texi (Malloc Tunable Parameters): Add note
19145 about free list pointers overwriting some perturb bytes.
19146 Wording suggested by Roland McGrath.
19147
f9b9d9c9
JM
191482012-10-17 Joseph Myers <joseph@codesourcery.com>
19149
19150 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19151 (lgamma_test): Likewise.
19152 (tgamma_test): Likewise.
19153
172a631a
FW
191542012-10-16 Florian Weimer <fweimer@redhat.com>
19155
19156 [BZ #14700]
19157 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19158 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19159
e9f37252
MK
191602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19161
19162 * NEWS: Mention BZ #14716.
19163 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19164 when removing AVAILABLE1_USES_J macro.
19165
d394eb74
L
191662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19169 (__bswap_64): __uint64_t for unsigned 64-bit int.
19170
ca38dc17
AS
191712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19172
19173 * include/string.h (memmem): Declare libc hidden alias.
19174 * string/memmem.c (memmem): Define libc hidden alias.
19175 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19176 __read, __close instead of open, read, close.
19177
9a387d1f
L
191782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19179
ac49ecaf
L
19180 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19181 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19182 global and hidden.
19183 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19184 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19185 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19186 Likewise.
19187 (__rawmemchr_sse2): Likewise.
19188 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19189 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19190 (__strchr_sse2): Likewise.
19191 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19192 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19193 (__strcasecmp_sse2): Likewise.
19194 (__strncasecmp_sse2): Likewise.
19195 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19196 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19197 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19198 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19199 (__strrchr_sse2): Likewise.
19200 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19201 ifunc-impl-list.c.
19202 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19203 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19204 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19205 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19206 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19208 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19209 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19210 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19211 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19212 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19213 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19214 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19215 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19216 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19217 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19218 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19219 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19220 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19221 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19222 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19223 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19224 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19225 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19226 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19227 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19228 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19229 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19230 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19231 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19232
b090e8ea
L
19233 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19234 global and hidden.
19235 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19236 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19237 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19238 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19239 Likewise.
19240 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19241 Likewise.
19242 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19243 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19244 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19245 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19246 ifunc-impl-list.c.
19247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19248 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19249 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19250 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19251 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19252 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19253 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19254 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19255 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19256 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19257 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19258 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19259 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19260 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19261 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19262 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19263 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19264 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19265 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19266 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19267 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19268 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19269 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19270 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19271 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19272 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19273 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19274 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19275 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19276 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19277 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19278 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19279 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19280 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19281 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19282 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19283 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19284 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19285 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19286 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19287 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19288
11dd4af6
L
19289 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19290 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19291 * include/ifunc-impl-list.h: New file.
19292 * misc/ifunc-impl-list.c: Likewise.
19293 * misc/Makefile (routines): Add ifunc-impl-list.
19294 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19295 * string/test-string.h: Include <ifunc-impl-list.h>.
19296 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19297 impl_array): New variables.
19298 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19299 are defined.
19300 (test_init): Call __libc_ifunc_impl_list to initialize
19301 func_list if TEST_IFUNC and TEST_NAME are defined.
19302
9a387d1f
L
19303 * string/Makefile (strop-tests): Add bcopy and bzero.
19304 * string/test-bcopy.c: New file.
19305 * string/test-bzero.c: Likewise.
19306 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19307 defined.
19308 * string/test-memset.c: Support bzero test if TEST_BZERO is
19309 defined.
19310 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19311 __libc_memmove.
19312 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19313 __libc_memset.
19314 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19315 of memset.
19316
472371b9
JM
193172012-10-10 Joseph Myers <joseph@codesourcery.com>
19318
1e4a9536
JM
19319 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19320 * configure: Regenerated.
19321
d173d12e
JM
19322 * Makeconfig (+link-static-before-libc): Don't include
19323 $(link-static-libc).
19324
472371b9
JM
19325 * libio/libio.h (_IO_pos_t): Remove.
19326
89a3ad0b
AO
193272012-10-10 Alexandre Oliva <aoliva@redhat.com>
19328
19329 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19330 McGrath.
19331
e7451425
AO
193322012-10-10 Alexandre Oliva <aoliva@redhat.com>
19333
19334 * crypt/crypt-entry.c: Include fips-private.h.
19335 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19336 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19337 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19338 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19339
4ba74a35
AO
193402012-10-10 Alexandre Oliva <aoliva@redhat.com>
19341
19342 * crypt/crypt-private.h: Include stdbool.h.
19343 (_ufc_setup_salt_r): Return bool.
19344 * crypt/crypt-entry.c: Include errno.h.
19345 (__crypt_r): Return NULL with EINVAL for bad salt.
19346 * crypt/crypt_util.c (bad_for_salt): New.
19347 (_ufc_setup_salt_r): Check that salt is long enough and within
19348 the specified alphabet.
19349 * crypt/badsalttest.c: New file.
19350 * crypt/Makefile (tests): Add it.
19351 ($(objpfx)badsalttest): New.
19352
f96f1242
MK
193532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19354
19355 * NEWS: Add entry for BZ #14602.
19356
0e8e0c1c
JM
193572012-10-09 Joseph Myers <joseph@codesourcery.com>
19358
19359 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19360 type-generic.
19361 * math/libm-test.inc: Update comment listing what functions and
19362 macros are tested.
19363 (isgreater_test): New function.
19364 (isgreaterequal_test): Likewise.
19365 (isless_test): Likewise.
19366 (islessequal_test): Likewise.
19367 (islessgreater_test): Likewise.
19368 (isunordered_test): Likewise.
19369 (main): Call the new functions.
19370
273edc5e
RM
193712012-10-09 Roland McGrath <roland@hack.frob.com>
19372
b8493de0
RM
19373 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19374 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19375 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19376 * sysdeps/i386/configure: Regenerated.
19377 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19378 * sysdeps/mach/configure: Regenerated.
19379 * sysdeps/mach/hurd/configure: Regenerated.
19380 * sysdeps/powerpc/configure: Regenerated.
19381 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19382 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19383 * sysdeps/s390/s390-32/configure: Regenerated.
19384 * sysdeps/s390/s390-64/configure: Regenerated.
19385 * sysdeps/sh/configure: Regenerated.
19386 * sysdeps/sparc/configure: Regenerated.
19387 * sysdeps/unix/sysv/linux/configure: Regenerated.
19388 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19389 * sysdeps/x86_64/configure: Regenerated.
19390
273edc5e
RM
19391 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19392 defined. Don't check if MAP is NULL.
19393
c8450f70
JM
193942012-10-09 Joseph Myers <joseph@codesourcery.com>
19395
19396 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19397 (_G_stat64): Likewise.
19398 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19399 (_G_stat64): Likewise.
19400 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19401 instead of struct _G_stat64.
19402 * libio/fileops.c (mmap_remap_check): Likewise.
19403 (decide_maybe_mmap): Likewise.
19404 (_IO_new_file_seekoff): Likewise.
19405 (_IO_file_stat): Likewise.
19406 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19407 _G_off64_t.
19408 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19409 instead of struct _G_stat64.
19410 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19411
57e605ba
MK
194122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19413
19414 [BZ #14602]
19415 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19416 Replace with ...
19417 (CHECK_EOL): New macro.
19418 (two_way_short_needle): Check beginning of haystack for EOL. Use
19419 CHECK_EOL.
19420 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19421 Replace with CHECK_EOL.
19422 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19423 Replace with CHECK_EOL.
19424
ef1bb361
JM
194252012-10-08 Joseph Myers <joseph@codesourcery.com>
19426
19427 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19428 type-generic.
19429 * math/libm-test.inc: Update comment listing what functions and
19430 macros are tested.
19431 (finite_test): New function.
19432 (isinf_test): Likewise.
19433 (isnan_test): Likewise.
19434 (fpclassify_test): Test subnormal input.
19435 (isfinite_test): Likewise.
19436 (isnormal_test): Likewise.
19437 (main): Call the new functions.
19438
55f11534
JN
194392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19440
19441 [BZ #14660]
19442 * Makerules (%.dynsym): Force C locale when running
19443 $(OBJDUMP) --dynamic-syms.
19444
1ab29350
AS
194452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19446
19447 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19448 <stdint.h>.
19449
f1ecb7ef
DM
194502012-10-06 David S. Miller <davem@davemloft.net>
19451
19452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19453 upper 32-bits of the length value in %o2 since we use branch-on-register
19454 tests which consider the entire 64-bit register.
19455
5d41d91a
L
194562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19457
19458 * string/test-strstr.c (check2): Add a test for page boundary.
19459
3baddb72
DM
194602012-10-05 David S. Miller <davem@davemloft.net>
19461
19462 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19463 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19464 file.
19465 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19466 sysdep_routines.
19467 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19468 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19469 and bzero when HWCAP_SPARC_CRYPTO is present.
19470
9cee5585
L
194712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19472
d7e0dab9
L
19473 [BZ #14602]
19474 * string/test-strstr.c (check2): New function.
19475 (test_main): Call check2.
19476
03759f47
L
19477 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19478 and bug-strchr1.
19479 * string/bug-strcasestr1.c (do_test): Moved to ...
19480 * string/test-strcasestr.c (check1): Here. New function.
19481 (do_one_test): Break out result checking code into ...
19482 (check_result): This. New function.
19483 (do_one_test): Call check_result.
19484 (test_main): Call check1.
19485 * string/bug-strchr1.c (do_test): Moved to ...
19486 * string/test-strchr.c (check1): Here. New function.
19487 (do_one_test): Break out result checking code into ...
19488 (check_result): This. New function.
19489 (do_one_test): Call check_result.
19490 (test_main): Call check1.
19491 * string/bug-strstr1.c (main): Moved to ...
046f153e 19492 * string/test-strstr.c (check1): Here. New function.
03759f47
L
19493 (do_one_test): Break out result checking code into ...
19494 (check_result): This. New function.
19495 (do_one_test): Call check_result.
19496 (test_main): Call check1.
19497 * string/bug-strcasestr1.c: Removed.
19498 * string/bug-strchr1.c: Likewise.
19499 * string/bug-strstr1.c: Likewise.
19500
53cea63e
L
19501 * elf/Makefile (dl-routines): Add hwcaps.
19502 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19503 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19504 (_dl_important_hwcaps): Moved to ...
19505 * elf/dl-hwcaps.c: Here. New file.
19506 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19507
9cee5585 19508 [BZ #14557]
bb859b06
L
19509 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19510 if IS_IN_rtld isn't defined.
19511
9cee5585
L
19512 * elf/dl-support.c (_dl_sysinfo_map): New.
19513 Include "get-dynamic-info.h" and "setup-vdso.h".
19514 (_dl_non_dynamic_init): Call setup_vdso.
19515 * elf/dynamic-link.h: Don't include <assert.h>.
19516 (elf_get_dynamic_info): Moved to ...
19517 * elf/get-dynamic-info.h: Here. New file.
19518 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19519 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19520 * elf/setup-vdso.h: Here. New file.
19521 * elf/rtld.c: Include "setup-vdso.h".
19522 (dl_main): Call setup_vdso.
19523
23c31b76
JM
195242012-10-05 Joseph Myers <joseph@codesourcery.com>
19525
28234b07
JM
19526 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19527 creal in comment listing functions tested. List finite, isinf,
19528 isnan, isless, islessequal, isgreater, isgreaterequal,
19529 islessgreater, isunordered, lgamma_r and pow10 as functions and
19530 macros not tested. Mention which functions not tested are aliases
19531 for other functions. Fix typo. Note that signs of NaNs are not
19532 tested.
19533
23c31b76
JM
19534 * scripts/config.guess: Update from config.git.
19535 * scripts/config.sub: Likewise.
19536
9043e228
RM
195372012-10-04 Roland McGrath <roland@hack.frob.com>
19538
19539 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19540 * misc/madvise.c (madvise): Renamed to __madvise.
19541 Make madvise a weak alias.
19542 * include/sys/mman.h: Declare __madvise.
19543 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19544 * sysdeps/unix/syscalls.list
19545 (madvise): Make __madvise the strong name, and madvise a weak alias.
19546 * sysdeps/unix/sysv/linux/syscalls.list
19547 (madvise, mmap): Remove redundant entries.
19548 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19549 * malloc/malloc.c (mtrim): Likewise.
19550 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19551
f57f8055
RM
195522012-10-03 Roland McGrath <roland@hack.frob.com>
19553
19554 * sysdeps/mach/hurd/dl-cache.c: File removed.
19555 * config.h.in (USE_LDCONFIG): New #undef.
19556 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19557 * configure: Regenerated.
19558 * elf/Makefile (dl-routines): Add dl-cache only under
19559 [$(use-ldconfig) = yes].
19560 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19561 cache on [USE_LDCONFIG].
19562 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19563 [USE_LDCONFIG].
19564 * elf/rtld.c (dl_main): Likewise.
19565
5bb0c10a
PT
195662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19567
19568 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19569 _SC_LEVEL4_CACHE_LINESIZE.
19570
010188c6
RM
195712012-10-03 Roland McGrath <roland@hack.frob.com>
19572
19573 * sysdeps/unix/bsd/confstr.h: File removed.
19574
b6c5ec07
AO
195752012-10-02 Alexandre Oliva <aoliva@redhat.com>
19576
19577 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19578 sys/sdt-config.h.
19579
408223d4
RM
195802012-10-02 Roland McGrath <roland@hack.frob.com>
19581
19582 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19583 Make 'mapoff' field ElfW(Off) rather than off_t.
19584
bb9510dc
DL
195852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19586
fc997c6e
DL
19587 * nscd/Makefile: Remove nscd-cflags and all its users.
19588 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19589 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19590
bb9510dc
DL
19591 [BZ #10631]
19592 * malloc.c (malloc_printerr): Clarify error message.
19593
05699367
L
195942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19595
19596 [BZ #14648]
19597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19598 Set bit_FMA_Usable if FMA is supported.
19599 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19600 macro.
19601 (bit_FMA4_Usable): Updated.
19602 (index_FMA_Usable): New macro.
19603 (CPUID_FMA): Likewise
19604 (HAS_FMA): Defined with bit_FMA_Usable.
19605
51367701
RM
196062012-10-01 Roland McGrath <roland@hack.frob.com>
19607
19608 * bits/types.h (__swblk_t): Type removed.
19609 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19610 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19612 (__SWBLK_T_TYPE): Likewise.
19613 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19614 (__SWBLK_T_TYPE): Likewise.
19615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19616 (__SWBLK_T_TYPE): Likewise.
19617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19618 (__SWBLK_T_TYPE): Likewise.
19619
4d57bf63 196202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 19621 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
19622
19623 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19624 (xdr_mapname): Use YPMAXMAP as maxsize.
19625 (xdr_peername): Use YPMAXPEER as maxsize.
19626 (xdr_keydat): Use YPAXRECORD as maxsize.
19627 (xdr_valdat): Use YPMAXRECORD as maxsize.
19628
93c65d43
RM
196292012-10-01 Roland McGrath <roland@hack.frob.com>
19630
497a03d6
RM
19631 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19632
93c65d43
RM
19633 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19634 * csu/init-first.c: ... here.
19635 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19636 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19637 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19638 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19639 * sysdeps/i386/init-first.c: File removed.
19640 * sysdeps/sh/init-first.c: File removed.
19641
bec749fd
JM
196422012-10-01 Joseph Myers <joseph@codesourcery.com>
19643
19644 [BZ #14645]
19645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19646 if x * y might underflow to zero and z is zero.
19647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19649 * math/libm-test.inc (min_subnorm_value): New variable.
19650 (fma_test): Add more tests.
19651 (fma_test_towardzero): Likewise.
19652 (fma_test_downward): Likewise
19653 (fma_test_upward): Likewise.
19654 (initialize): Set min_subnorm_value.
19655
8ec5b013
JM
196562012-09-29 Joseph Myers <joseph@codesourcery.com>
19657
19658 [BZ #14638]
19659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19660 0 + 0.
19661 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19662 mode for addition resulting in exact zero.
19663 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19665 exact 0 + 0.
19666 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19668 * math/libm-test.inc (fma_test): Add more tests.
19669 (fma_test_towardzero): New function.
19670 (fma_test_downward): Likewise.
19671 (fma_test_upward): Likewise.
19672 (main): Call the new functions.
19673
b1fa802e
DM
196742012-09-28 David S. Miller <davem@davemloft.net>
19675
19676 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19677
d3b9fd9e
RM
196782012-09-28 Roland McGrath <roland@hack.frob.com>
19679
ea4d37b3
RM
19680 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19681 instead of SIGALRM.
19682
ac51c949
RM
19683 * sysdeps/gnu/_G_config.h: Moved to ...
19684 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19685 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19686 * sysdeps/generic/_G_config.h: ... here.
19687
28c195f7
RM
19688 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19689
848917f9
RM
19690 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19691
6bacf05b
RM
19692 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19693 Conditionalize target on [libnss_test1.so-version].
19694
91363dbb
RM
19695 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19696
cc87f7d8
RM
19697 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19698 (elfobjdir): Move out of conditionals.
19699
b1c608fe
RM
19700 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19701 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19702 (__nss_lookup_function): Conditionalize label remove_from_tree on
19703 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19704
1d9a6d96
DM
197052012-09-28 David S. Miller <davem@davemloft.net>
19706
19707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19709 file.
19710 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19711 sysdep_routines.
19712 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19714 when HWCAP_SPARC_CRYPTO is present.
19715
72581615
PT
197162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19717
19718 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19719
715a900c
JL
197202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19721
19722 [BZ #6530]
19723 * stdio-common/vfprintf.c (process_string_arg): Revert
19724 2000-07-22 change.
19725
197262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19727
19728 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19729 for testcase.
19730 * stdio-common/tst-sprintf.c: Include <locale.h>
19731 (main): Test sprintf's handling of incomplete multibyte
19732 characters.
19733
9bac1d86
L
197342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19735
19736 * elf/dl-runtime.c (VERSYMIDX): Removed.
19737 * elf/dl-version.c (VERSYMIDX): Likewise.
19738 * elf/do-rel.h (VERSYMIDX): Likewise.
19739 (VALIDX): Likewise.
19740 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19741 * elf/rtld.c (VALIDX): Likewise.
19742 (ADDRIDX): Likewise.
9bac1d86
L
19743 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19744 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19745 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19746 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19747 (VALIDX): Likewise.
19748 (ADDRIDX): Likewise.
9bac1d86 19749
b31606c0
PT
197502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19751
19752 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19753
11541177
JL
197542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19755
19756 [BZ #11438]
19757 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19758 to global scope.
19759 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19760 addresses are in the same scope as 192.0.2/24.
19761 * posix/gai.conf: Document new scope table defaults.
19762
adb26fae
SP
197632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19764
19765 [BZ #5298]
19766 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19767 for ftell. Compute offsets from write pointers instead.
19768 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19769
4573c6b0
SP
197702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19771
19772 [BZ #14543]
19773 * libio/Makefile (tests): New test case tst-fseek.
19774 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19775 combination works in wide mode.
19776 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19777 state when the external buffer state changes.
19778
aa9bbfe6
DM
197792012-09-27 David S. Miller <davem@davemloft.net>
19780
19781 [BZ #14376]
19782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19783 pass reloc->r_addend in as the 'high' argument to
19784 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19785
784421e7
DM
19786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19787
c39bc8b8
PT
197882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19789
19790 * rt/tst-aio2.c: Include <pthread.h>.
19791 * rt/tst-aio3.c: Likewise.
19792
1ccc2399
SE
197932012-09-27 Steve Ellcey <sellcey@mips.com>
19794
19795 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19796
31ed4153
L
197972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19798
25f5f885
L
19799 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19800 contents on [SHARED].
31ed4153 19801
b7bfe116
MP
198022012-09-26 Marek Polacek <polacek@redhat.com>
19803
19804 [BZ #14530]
19805 [BZ #13741]
19806 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19807 for C++ and GCC <4.3 as well as for non GCC compilers.
19808
43c4edba
MT
198092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19810
19811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19812
6a1bf82f
RM
198132012-09-25 Roland McGrath <roland@hack.frob.com>
19814
19815 * Makefile.in (all, install): Declare with .PHONY.
19816 Reported by Michael Hope <michael.hope@linaro.org>.
19817
8ad11b9a
TMQMF
198182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19819
19820 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19821 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19822 system header.
19823 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19824 Likewise.
19825 (sydep_routines): Add the new and the internal functions.
19826 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19827 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19829 (GLIBC_2.17): Add the new function.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19831 (GLIBC_2.17): Likewise.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19833 (GLIBC_2.17): Likewise.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19835 (GLIBC_2.17): Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19837
7e2fca8d
AM
198382012-09-25 Alan Modra <amodra@gmail.com>
19839
19840 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19841 Add release barrier before setting once_control to say
19842 initialisation is done. Add hints on lwarx. Use macro in
19843 place of isync.
19844 (clear_once_control): Add release barrier.
19845
b87c4b24
JM
198462012-09-25 Joseph Myers <joseph@codesourcery.com>
19847
d032e0d2
JM
19848 [BZ #13629]
19849 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19850 specially.
19851 * math/s_clog10.c (__clog10): Likewise.
19852 * math/s_clog10f.c (__clog10f): Likewise.
19853 * math/s_clog10l.c (__clog10l): Likewise.
19854 * math/s_clogf.c (__clogf): Likewise.
19855 * math/s_clogl.c (__clogl): Likewise.
19856 * math/Makefile (libm-calls): Add x2y2m1.
19857 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19858 (__x2y2m1): Likewise.
19859 (__x2y2m1l): Likewise.
19860 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19861 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19862 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19864 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19865 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19866 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19867 * sysdeps/i386/fpu/libm-test-ulps: Update.
19868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19869
b87c4b24
JM
19870 [BZ #14621]
19871 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19872 int as type of variable DEPTH.
19873 (glob): Use size_t instead of int as type of variables NEWCOUNT
19874 and OLD_PATHC.
19875
6d3bf199
LD
198762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19877
22bf5c17
LD
19878 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19879 Add s_sincosf-sse2.
19880 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19881 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19882 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19883 macros for using routine as __sincosf_ia32.
19884 Use macro for function declaration and weak_alias.
19885 * sysdeps/i386/fpu/libm-test-ulps: Update.
19886
19887 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19889
19890 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19891 subnormal argument.
19892 * math/s_cexpf.c (__cexpf): Likewise.
19893 * math/s_csinf.c (__csinf): Likewise.
19894 * math/s_csinhf.c (__csinhf): Likewise.
19895 * math/s_ctanf.c (__ctanf): Likewise.
19896 * math/s_ctanhf.c (__ctanhf): Likewise.
19897 * math/s_ccosh.c (__ccoshf): Likewise.
19898 * math/s_cexp.c (__cexpl): Likewise.
19899 * math/s_csin.c (__csin): Likewise.
19900 * math/s_csinh.c (__csinh): Likewise.
19901 * math/s_ctan.c (__ctan): Likewise.
19902 * math/s_ctanh.c (ctanh): Likewise.
19903 * math/s_ccoshl.c (__ccoshl): Likewise.
19904 * math/s_cexpl.c (__cexpl): Likewise.
19905 * math/s_csinl.c (__csinl): Likewise.
19906 * math/s_csinhl.c (__csinhl): Likewise.
19907 * math/s_ctanl.c (__ctanl): Likewise.
19908 * math/s_ctanhl.c (__ctanhl): Likewise.
19909
203e5603
JM
199102012-09-25 Joseph Myers <joseph@codesourcery.com>
19911
19912 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19913 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19914 (_IO_off_t): Define to __off_t, not _G_off_t.
19915 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19916 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19917 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19918 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19919 type of __dummy and __dummy2 fields.
19920 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19921 (_G_ssize_t): Likewise.
19922 (_G_off_t): Likewise.
19923 (_G_pid_t): Likewise.
19924 (_G_uid_t): Likewise.
19925 (_G_wchar_t): Likewise.
19926 (_G_wint_t): Likewise.
19927 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19928 (_G_ssize_t): Likewise.
19929 (_G_off_t): Likewise.
19930 (_G_pid_t): Likewise.
19931 (_G_uid_t): Likewise.
19932 (_G_wchar_t): Likewise.
19933 (_G_wint_t): Likewise.
19934 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19935 (_G_ssize_t): Likewise.
19936 (_G_off_t): Likewise.
19937 (_G_pid_t): Likewise.
19938 (_G_uid_t): Likewise.
19939 (_G_wchar_t): Likewise.
19940 (_G_wint_t): Likewise.
19941
9fab36eb
SP
199422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19943
19944 * malloc/arena.c: Include malloc-sysdep.h.
19945 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19946 is sufficient to shrink the heap or an unmap is needed.
19947 * sysdeps/generic/malloc-sysdep.h: New file. Define
19948 new function check_may_shrink_heap.
19949 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19950 new function check_may_shrink_heap.
19951
2b4f00d1
SP
199522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19953
19954 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19955 comments.
19956
9a9028b1
DL
199572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19958
57c69bef
DL
19959 * catgets/test-gencat.sh: Add "set -e".
19960 * elf/tst-pathopt.sh: Likewise.
19961 * grp/tst_fgetgrent.sh: Likewise.
19962 * iconvdata/run-iconv-test.sh: Likewise.
19963 * intl/tst-gettext.sh: Likewise.
19964 * intl/tst-gettext2.sh: Likewise.
19965 * intl/tst-gettext4.sh: Likewise.
19966 * intl/tst-gettext6.sh: Likewise.
19967 * intl/tst-translit.sh: Likewise.
19968 * io/ftwtest-sh: Likewise.
19969 * libio/test-freopen.sh: Likewise.
19970 * malloc/tst-mtrace.sh: Likewise.
19971 * posix/globtest.sh: Likewise.
19972 * posix/tst-getconf.sh: Likewise.
19973 * posix/wordexp-tst.sh: Likewise.
19974 * stdio-common/tst-printf.sh: Likewise.
19975 * stdio-common/tst-unbputc.sh: Likewise.
19976 * stdlib/tst-fmtmsg.sh: Likewise.
19977 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19978 * catgets/Makefile: Do not specify -e option when running
19979 testsuite shell scripts.
19980 * elf/Makefile: Likewise.
19981 * grp/Makefile: Likewise.
19982 * iconvdata/Makefile: Likewise.
19983 * intl/Makefile: Likewise.
19984 * io/Makefile: Likewise.
19985 * libio/Makefile: Likewise.
19986 * malloc/Makefile: Likewise.
19987 * posix/Makefile: Likewise.
19988 * stdio-common/Makefile: Likewise.
19989 * stdlib/Makefile: Likewise.
19990 * sysdeps/x86_64/Makefile: Likewise.
19991
9a9028b1
DL
19992 * io/ftwtest-sh: Add copyright header.
19993 * posix/globtest.sh: Likewise.
19994 * posix/tst-getconf.sh: Likewise.
19995 * posix/wordexp-tst.sh: Likewise.
19996 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19997
ced6f16e
L
199982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19999
94b32c39
L
20000 [BZ #13679]
20001 * Makeconfig (+link): Defined as $(+link-static) if
20002 $(build-shared) isn't yes.
20003 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20004 isn't yes.
20005 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20006
189e935b
L
20007 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20008
ced6f16e
L
20009 [BZ #14562]
20010 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20011 new chunk size with MALLOC_ALIGN_MASK.
20012
a9f8e53a
JM
200132012-09-24 Joseph Myers <joseph@codesourcery.com>
20014
20015 [BZ #5044]
20016 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20017 <rounding-mode.h>.
20018 (__printf_fphex): Determine rounding using get_rounding_mode and
20019 round_away.
20020 * stdio-common/tst-printf-round.c (struct hex_test): New
20021 structure.
20022 (hex_tests): New variable.
20023 (test_hex_in_one_mode): New function.
20024 (do_test): Also run tests for hex float output.
20025
43153109
JM
200262012-09-21 Joseph Myers <joseph@codesourcery.com>
20027
20028 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20029 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20030 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20031 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20032 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20033 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20034 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20035 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20036
8a26625d
JM
200372012-09-20 Joseph Myers <joseph@codesourcery.com>
20038
20039 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20040 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20041 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20042 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20043
f3fd569c
DL
200442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20045
20046 [BZ #14579]
20047 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20048 mode only.
20049 * elf/tst-rtld-load-self.sh: New test.
20050 * elf/Makefile: Run it.
20051
63bbedd4
JM
200522012-09-18 Joseph Myers <joseph@codesourcery.com>
20053
20054 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20055 (tst-writev-ENV): Remove.
20056 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20057
626f8b6a
CM
200582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20059
20060 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20061
b7aaa4d6
JM
200622012-09-17 Joseph Myers <joseph@codesourcery.com>
20063
20064 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20065 unconditional.
20066 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20067 Likewise.
20068 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20069 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20070 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20071 Likewise.
20072
65513990
L
200732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20074
20075 [BZ #14587]
20076 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20077 * config.make.in (have-cpp-asm-debuginfo): Removed.
20078 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20079 * configure: Regenerated.
20080
784761be
JM
200812012-09-14 Joseph Myers <joseph@codesourcery.com>
20082
20083 [BZ #5044]
20084 * stdio-common/printf_fp.c: Include <stdbool.h> and
20085 <rounding-mode.h>.
20086 (___printf_fp): Determine rounding using get_rounding_mode and
20087 round_away.
20088 * stdio-common/tst-printf-round.c: New file.
20089 * stdio-common/Makefile (tests): Add tst-printf-round.
20090 (link-libm): New variable.
20091 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20092
9503345f
L
200932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20094
20095 [BZ #14576]
20096 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20097 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20098 Likewise.
20099 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20100 Likewise.
20101
ad35fc00
JM
201022012-09-13 Joseph Myers <joseph@codesourcery.com>
20103
20104 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20105 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20106 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20107 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20108
6c9b0f68
JM
201092012-09-12 Joseph Myers <joseph@codesourcery.com>
20110
20111 [BZ #14518]
20112 * include/rounding-mode.h: New file.
20113 * sysdeps/generic/get-rounding-mode.h: Likewise.
20114 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20115 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20116 (MAX_VALUE): New macro.
20117 (MIN_VALUE): Likewise.
20118 (overflow_value): New function.
20119 (underflow_value): Likewise.
20120 (round_and_return): Use overflow_value and underflow_value to
20121 determine return values in overflow and underflow cases. Use
20122 round_away to determine rounding depending on rounding mode.
20123 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20124 determine return values in overflow and underflow cases.
20125 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20126 (struct test_results): New structure.
20127 (struct test): Use struct test_results to store expected results
20128 for all rounding modes.
20129 (TEST): Include expected results for all rounding modes.
20130 (test_in_one_mode): New function.
20131 (do_test): Use test_in_one_mode to compute and check results.
20132 Check results for all rounding modes.
20133 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20134 $(link-libm).
20135
19fcedd5
AM
201362012-12-09 Allan McRae <allan@archlinux.org>
20137
1e9d84cd 20138 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20139
8bbfd2f1
JM
201402012-09-11 Joseph Myers <joseph@codesourcery.com>
20141
20142 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20143 (_G_int32_t): Likewise.
20144 (_G_uint16_t): Likewise.
20145 (_G_uint32_t): Likewise.
20146 (_G_HAVE_BOOL): Likewise.
20147 (_G_HAVE_ATEXIT): Likewise.
20148 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20149 (_G_HAVE_IO_FILE_OPEN): Likewise.
20150 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20151 (_G_int32_t): Likewise.
20152 (_G_uint16_t): Likewise.
20153 (_G_uint32_t): Likewise.
20154 (_G_HAVE_BOOL): Likewise.
20155 (_G_HAVE_ATEXIT): Likewise.
20156 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20157 (_G_HAVE_IO_FILE_OPEN): Likewise.
20158 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20159 (_G_int32_t): Likewise.
20160 (_G_uint16_t): Likewise.
20161 (_G_uint32_t): Likewise.
20162 (_G_HAVE_BOOL): Likewise.
20163 (_G_HAVE_ATEXIT): Likewise.
20164 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20165 (_G_HAVE_IO_FILE_OPEN): Likewise.
20166
b1dc5912
L
201672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20168
20169 * csu/libc-tls.c: Update copyright years.
20170
0e886ef9
JM
201712012-09-10 Joseph Myers <joseph@codesourcery.com>
20172
28361c5e
JM
20173 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20174 [!_G_USING_THUNKS]: Remove conditional code.
20175 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20176 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20177
0e886ef9
JM
20178 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20179 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20180 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20181 (_G_VTABLE_LABEL_PREFIX): Likewise.
20182 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20183 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20184 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20185 (_G_VTABLE_LABEL_PREFIX): Likewise.
20186 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20187 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20188 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20189 (_G_VTABLE_LABEL_PREFIX): Likewise.
20190 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20191
bcba7aa2
L
201922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20193
20194 * libio/Makefile: Include ../Makeconfig before tests.
20195 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20196 only if $(build-shared) is yes.
20197
06585ee8
L
20198 * iconv/gconv_db.c: Update copyright years.
20199
80ccd52c
LD
202002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20201
20202 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20203 unwind info if defined PIC. Fix special cases description.
20204 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20205
20206 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20207 DP_HI_MASK entry.
20208 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20209
691bc9c1
L
202102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20211
3d9b46b3
L
20212 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20213
de2139a9
L
20214 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20215 is NULL.
20216
5ca78dd0
L
20217 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20218 (LDLIBS-tst-chk4): This.
20219 (LDFLAGS-tst-chk5): Renamed to ...
20220 (LDLIBS-tst-chk5): This.
20221 (LDFLAGS-tst-chk6): Renamed to ...
20222 (LDLIBS-tst-chk6): This.
20223 (LDFLAGS-tst-lfschk4): Renamed to ...
20224 (LDLIBS-tst-lfschk4): This.
20225 (LDFLAGS-tst-lfschk5): Renamed to ...
20226 (LDLIBS-tst-lfschk5): This.
20227 (LDFLAGS-tst-lfschk6): Renamed to ...
20228 (LDLIBS-tst-lfschk6): This.
20229
691bc9c1
L
20230 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20231 on $(common-objpfx)soversions.mk.
20232
65cafb1c
JM
202332012-09-07 Joseph Myers <joseph@codesourcery.com>
20234
20235 [BZ #10014]
20236 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20237 example host name.
20238
c78ab094
SP
202392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20240
20241 * malloc/arena.c (arena_get_retry): New function that gets
20242 another arena for the caller to try its request on.
20243 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20244 current arena cannot fulfill the request.
20245 (__libc_memalign): Likewise.
20246 (__libc_memalign): Likewise.
20247 (__libc_pvalloc): Likewise.
20248 (__libc_calloc): Likewise.
20249
01f49f59
JT
202502012-09-05 John Tobey <john.tobey@gmail.com>
20251
20252 [BZ #13542]
20253 * manual/arith.texi (Operations on Complex): Fix description
20254 of carg branch cut.
20255
4c23fed5
JM
202562012-09-06 Joseph Myers <joseph@codesourcery.com>
20257
1d3c8572
JM
20258 [BZ #10014]
20259 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20260 host name.
20261
4c23fed5
JM
20262 [BZ #10038]
20263 * manual/memory.texi (Memory): Make order of menu items match
20264 order of sections.
20265
04570aaa
L
202662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20267
20268 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20269 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20270 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20271
b80af2f4
L
202722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 * csu/libc-tls.c (static_dtv): Renamed to ...
20275 (_dl_static_dtv): This. Make it global.
20276 (_dl_initial_dtv): Removed.
20277 (__libc_setup_tls): Updated.
20278 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20279 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20280 DL_INITIAL_DTV.
20281
2abe9f15
PM
202822012-09-06 Petr Machata <pmachata@redhat.com>
20283
20284 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20285 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20286 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20287 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20288
0948c3af
L
202892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20290
20291 [BZ #14545]
20292 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20293 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20294 freeing dtv[-1].
20295
a5055ad1
L
202962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20297
20298 [BZ #14544]
20299 * Makeconfig (link-static-before-libc): Replace $(+prector)
20300 with $(+prectorT).
20301 (link-static-after-libc): Replace $(+postctor) with
20302 $(+postctorT).
20303 (link-bounded): Replace $(+prector)/$(+postctor) with
20304 $(+prectorT)/$(+postctorT).
20305 (+prectorT): New macro.
20306 (+postctorT): Likewise.
20307
ed8c2ecd
JM
203082012-09-06 Joseph Myers <joseph@codesourcery.com>
20309
20310 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20311 (round_str): Handle values above the maximum for IBM long double
20312 as inexact.
20313 * stdlib/tst-strtod-round.c (tests): Regenerated.
20314
14c996c8
AK
203152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20316
20317 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20318 assembler flag.
20319 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20320 zarch_nohighgprs around the zarch optimized routines.
20321 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20322 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20323 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20324 for zarch.
20325
430d6ce6
DM
203262012-09-05 David S. Miller <davem@davemloft.net>
20327
20328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20329
ff04dda4
DM
20330 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20331 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20332 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20333 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20334 entries.
20335
24d4e01b
AO
203362012-09-05 Alexandre Oliva <aoliva@redhat.com>
20337
20338 * malloc/arena.c: Fold copyright years.
20339 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20340
61d58174
AO
203412012-09-05 Alexandre Oliva <aoliva@redhat.com>
20342
20343 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20344
20196a5e
AO
203452012-09-05 Alexandre Oliva <aoliva@redhat.com>
20346
20347 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20348
5c447383
AO
203492012-09-05 Alexandre Oliva <aoliva@redhat.com>
20350
20351 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20352 change internal state upon failure.
20353
fad64255
AO
203542012-09-05 Alexandre Oliva <aoliva@redhat.com>
20355
20356 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20357 * malloc/memusage.c (mmap): Likewise.
20358 (mmap64, mremap): Likewise. Adjust name in comment.
20359
1ffb8c90
SP
203602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20361
20362 * libio/fileops.c: Fix typos in comments.
20363 * libio/oldfileops.c: Likewise.
20364 * libio/wfileops.c: Likewise.
20365
6ef9cc37
SP
203662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20367
20368 [BZ #1349]
20369 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20370 (tst-malloc-usable-ENV): Set environment for test case.
20371 * malloc/hooks.c (malloc_check_get_size): New function to get
20372 requested size.
20373 * malloc/malloc.c (musable): Use malloc_check_get_size.
20374 * malloc/tst-malloc-usable.c: New test case.
20375
4d038ae3
AS
203762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20377
20378 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20379
c4e85184
AM
203802012-09-05 Allan McRae <allan@archlinux.org>
20381
b9dafc56 20382 [BZ #13966]
c4e85184
AM
20383 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20384 determine header location.
20385 * configure: Regenerated.
20386
e1343020
AS
203872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20388
20389 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20390 float format.
20391 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20392 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20393 format.
e1343020
AS
20394 (test): Regenerate.
20395
0a9f1987
DM
203962012-09-04 David S. Miller <davem@davemloft.net>
20397
20398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20400 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20401
29237804
FW
204022012-09-04 Florian Weimer <fweimer@redhat.com>
20403
20404 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20405 failures.
20406
edb3cb88
FW
20407 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20408
60160d83
JM
204092012-09-04 Joseph Myers <joseph@codesourcery.com>
20410
20411 [BZ #9914]
20412 * libio/iogetdelim.c: Include <limits.h>.
20413 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20414 + len + 1 would overflow.
20415
bcd6c8dc
AJ
204162012-09-03 Andreas Jaeger <aj@suse.de>
20417
20418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420
4ffffbd2
LD
204212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20422
20423 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20424 Add s_sinf-sse2, s_conf-sse2.
20425
20426 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20427 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20428 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20429 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20430
20431 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20432 for using routine as __sinf_ia32.
20433 Use macro for function declaration and weak_alias.
20434 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20435 for using routine as __cosf_ia32.
20436 Use macro for function declaration and weak_alias.
20437
20438 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20439 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20440
20441 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20442 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20444
20445 * math/libm-test.inc (cos_test): Add more test cases.
20446 (sin_test): Likewise.
20447 (sincos_test): Likewise.
20448
511fa286
AK
204492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20450
20451 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20452 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20453 hidden.
20454 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20455
5f30cfec
L
204562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20457
20458 [BZ #14538]
20459 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20460 first element of the GOT.
20461 (elf_machine_load_address): Return the difference between
20462 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20463
0786794f
AM
204642012-09-01 Allan McRae <allan@archlinux.org>
20465
5f30cfec
L
20466 [BZ #13412]
20467 * configure.in (AWK): Require gawk version 3.0 or later.
20468 * configure: Regenerated.
0786794f 20469
26889eac
JM
204702012-09-01 Joseph Myers <joseph@codesourcery.com>
20471
20472 * sysdeps/unix/sysv/linux/kernel-features.h
20473 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20475 [__NR_clock_getres]: Make code unconditional.
20476 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20477 (clock_getcpuclockid): Remove code left unreachable by removal of
20478 conditionals.
20479 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20480 code unconditional.
20481 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20482 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20483 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20484 Make code unconditional.
20485 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20486 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20487 * sysdeps/unix/sysv/linux/clock_settime.c
20488 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20489 conditional code.
20490 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20491 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20492
d22e28b0
L
204932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20494
20495 [BZ #14476]
20496 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20497 scripts/test-installation.pl.
20498
20499 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20500 and $ld_so_version if it is set.
20501
050af9c4
SP
205022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20503
20504 [BZ #14516]
20505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20506 failure if reading from procfs failed.
20507 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20508
ad845c0b
JM
205092012-08-27 Joseph Myers <joseph@codesourcery.com>
20510
20511 * sysdeps/unix/sysv/linux/kernel-features.h
20512 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20513 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20514 Remove conditional code.
20515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20516 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20517 Remove conditional code.
20518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20519 * sysdeps/unix/sysv/linux/i386/fxstat.c
20520 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20522 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20523 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20525 * sysdeps/unix/sysv/linux/i386/lxstat.c
20526 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20528 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20529 Remove conditional code.
20530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20531 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20532 Remove conditional code.
20533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20534 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20535 <kernel-features.h>.
20536 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20537 Remove.
20538 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20539 Remove conditional code.
20540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20541 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20542 Remove conditional.
20543
5dbf56af
MF
205442012-08-27 Mike Frysinger <vapier@gentoo.org>
20545
20546 [BZ #5400]
20547 * NEWS: Add fixed bug number.
20548
d6e70f43
JM
205492012-08-27 Joseph Myers <joseph@codesourcery.com>
20550
7efb4737
JM
20551 [BZ #14519]
20552 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20553 underflowing exponent in case of negative sign.
20554 * stdlib/tst-strtod-round-data: Add more tests.
20555 * stdlib/tst-strtod-round.c (tests): Regenerated.
20556
af92131a
JM
20557 [BZ #3479]
20558 * stdlib/strtod_l.c (NDIG): Remove.
20559 (HEXNDIG): Likewise.
20560 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20561 smallest representable value.
20562 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20563 lie within an exact representation of 1/2 ulp of the result.
20564 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20565 unconditionally.
20566 (TENS_P9_IDX): Define unconditionally.
20567 (TENS_P9_SIZE): Likewise.
20568 (TENS_P10_IDX): Likewise.
20569 (TENS_P10_SIZE): Likewise.
20570 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20571 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20572 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20573 entries for 10^2^13 and 10^2^14.
20574 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20575 (TENS_P13_IDX): Define.
20576 (TENS_P13_SIZE): Likewise.
20577 (TENS_P14_IDX): Likewise.
20578 (TENS_P14_SIZE): Likewise.
20579 (_fpioconst_pow10): Change array size to
20580 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20581 unconditional.
20582 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20583 1024]: Add entries for 10^2^13 and 10^2^14.
20584 [LAST_POW10 > _LAST_POW10]: Remove #error.
20585 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20586 (_fpioconst_pow10): Change array size to
20587 FPIOCONST_POW10_ARRAY_SIZE.
20588 * stdlib/gen-fpioconst.c: New file.
20589 * stdlib/gen-tst-strtod-round.c: Likewise.
20590 * stdlib/tst-strtod-round-data: Likewise.
20591 * stdlib/tst-strtod-round.c: Likewise.
20592 * stdlib/Makefile (tests): Add tst-strtod-round.
20593
d6e70f43
JM
20594 [BZ #14459]
20595 * stdlib/strtod_l.c: Include <stdint.h>.
20596 (NDEBUG): Do not define.
20597 (round_and_return): Change EXPONENT parameter to type intmax_t.
20598 Rearrange calculations to avoid internal overflow possibilities.
20599 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20600 Rearrange calculations to avoid internal overflow possibilities.
20601 Assert that number fits inside MPNSIZE limbs.
20602 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20603 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20604 calculations and add assertions to avoid internal overflow
20605 possibilities. Add casts to avoid signed/unsigned operations.
20606 * stdlib/tst-strtod-overflow.c: New file.
20607 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20608
1f529f7d
MP
206092012-08-25 Marek Polacek <polacek@redhat.com>
20610
20611 * time/time.h: Fix some typos in comments.
20612
59a629f1
RM
206132012-08-23 Roland McGrath <roland@hack.frob.com>
20614
20615 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20616 * posix/tst-rfc3484-2.c: Likewise.
20617 * posix/tst-rfc3484-3.c: Likewise.
20618
d3bafbc9
SM
206192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20620
20621 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20622 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20623
4efcc022
JM
206242012-08-23 Joseph Myers <joseph@codesourcery.com>
20625
20626 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20627 #include of fxstatat64.c.
20628
3cc3ef96
RM
206292012-08-22 Roland McGrath <roland@hack.frob.com>
20630
f04e2132
RM
20631 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20632 * shadow/getspent_r.c: Likewise.
20633 * shadow/getspnam.c: Likewise.
20634 * shadow/getspnam_r.c: Likewise.
20635 * gshadow/getsgent.c: Likewise.
20636 * gshadow/getsgent_r.c: Likewise.
20637 * gshadow/getsgnam.c: Likewise.
20638 * gshadow/getsgnam_r.c: Likewise.
20639 * inet/getnetbyad.c: Likewise.
20640 * inet/getnetbyad_r.c: Likewise.
20641 * inet/getnetbynm.c: Likewise.
20642 * inet/getnetbynm_r.c: Likewise.
20643 * inet/getnetent.c: Likewise.
20644 * inet/getnetent_r.c: Likewise.
20645 * inet/getproto.c: Likewise.
20646 * inet/getproto_r.c: Likewise.
20647 * inet/getprtent.c: Likewise.
20648 * inet/getprtent_r.c: Likewise.
20649 * inet/getprtname.c: Likewise.
20650 * inet/getprtname_r.c: Likewise.
20651 * inet/getrpcbyname.c: Likewise.
20652 * inet/getrpcbyname_r.c: Likewise.
20653 * inet/getrpcbynumber.c: Likewise.
20654 * inet/getrpcbynumber_r.c: Likewise.
20655 * inet/getrpcent.c: Likewise.
20656 * inet/getrpcent_r.c: Likewise.
20657 * inet/getaliasent.c: Likewise.
20658 * inet/getaliasent_r.c: Likewise.
20659 * inet/getaliasname.c: Likewise.
20660 * inet/getaliasname_r.c: Likewise.
20661 * nscd/getgrgid_r.c: Likewise.
20662 * nscd/getgrnam_r.c: Likewise.
20663 * nscd/gethstbyad_r.c: Likewise.
20664 * nscd/gethstbynm3_r.c: Likewise.
20665 * nscd/getpwnam_r.c: Likewise.
20666 * nscd/getpwuid_r.c: Likewise.
20667 * nscd/getsrvbynm_r.c: Likewise.
20668 * nscd/getsrvbypt_r.c: Likewise.
20669 * nscd/gai.c: Likewise.
20670
c53d909c
RM
20671 * configure.in (build_nscd): New substituted variable, set
20672 by --disable-build-nscd and defaults to $use_nscd.
20673 * configure: Regenerated.
20674 * config.make.in (build-nscd): New substituted variable.
20675 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20676 Change conditional to require [$(build-nscd) = yes] as well.
20677 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20678
3cc3ef96
RM
20679 [BZ# 13696]
20680 * configure.in (use_nscd): New substituted variable, set by
20681 --disable-nscd. If enabled, define USE_NSCD.
20682 * configure: Regenerated.
20683 * config.h.in: Add USE_NSCD.
20684 * config.make.in (use-nscd): New substituted variable.
20685 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20686 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20687 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20688 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20689 (CFLAGS-getgrnam_r.c): Likewise.
20690 (CFLAGS-initgroups.c): Likewise.
20691 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20692 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20693 Variables removed.
20694 * inet/getnetgrent_r.c
20695 (nscd_setnetgrent): New function, broken out of ...
20696 (setnetgrent): ... here. Call it.
20697 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20698 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20699 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20700 * nscd/Makefile (routines, aux): Move definitions after include of
20701 Makeconfig. Conditionalize on [$(use-nscd) != no].
20702 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20703 Conditionalize on [USE_NSCD].
20704 (is_nscd, nscd_init_cb): Likewise.
20705 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20706 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20707 * nss/nss_db/db-init.c: Likewise.
20708 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20709 [USE_NSCD].
20710 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20711 (make_request): Use it.
20712 (cache_valid_p): New function.
20713 (__check_pf): Use it.
20714 * NEWS: Add item for --disable-nscd.
20715
07e51550
DL
207162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20717
20718 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20719 to support sed >= 4.2.1-20-ga9bf076.
20720 * configure: Regenerated.
20721
35a5b08b
RM
207222012-08-22 Roland McGrath <roland@hack.frob.com>
20723
20724 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20725 Conditionalize whole body on [IREL].
20726
8479f23a
JL
207272012-08-22 Jeff Law <law@redhat.com>
20728
20729 [BZ #14505]
20730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20731 if the family is PF_UNSPEC.
20732
48da0b21
MF
207332012-08-22 Mike Frysinger <vapier@gentoo.org>
20734
20735 * Makerules (lib-version): Rename from V.
20736 (install-lib-nosubdir): Change V to lib-version.
20737
15d0da8c
WS
207382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20739
20740 [BZ #14252]
20741 * powerpc32/power6/wcschr.c: New file.
20742 * powerpc32/power6/wcscpy.c: New file.
20743 * powerpc32/power6/wcsrchr.c: New file.
20744 * powerpc64/power6/wcschr.c: New file.
20745 * powerpc64/power6/wcscpy.c: New file.
20746 * powerpc64/power6/wcsrchr.c: New file.
20747
bcca0895
MK
207482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20749
20750 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20751 (two_way_short_needle): Use it.
5a4aaa33
RM
20752 * string/strstr.c (AVAILABLE1_USES_J): Define.
20753 * string/strcasestr.c: Likewise.
99677e57
MK
20754
20755 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20756 array references.
20757 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20758
400726de
MK
20759 [BZ #11607]
20760 * NEWS: Add an entry.
20761 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20762 define their defaults.
20763 (two_way_short_needle): Detect end-of-string on-the-fly.
20764 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20765 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20766 * string/bug-strcasestr1.c: New test.
20767 * string/Makefile: Run it.
20768
20a71f2c
MK
207692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20770
20771 [BZ #11607]
20772 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20773 the first character.
20774
21ad0558
RM
207752012-08-21 Roland McGrath <roland@hack.frob.com>
20776
20777 * csu/elf-init.c (__libc_csu_irel): Function removed.
20778 * csu/libc-start.c (apply_irel): New function.
20779 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20780
0e1d9911
JM
207812012-08-21 Joseph Myers <joseph@codesourcery.com>
20782
20783 * sysdeps/unix/sysv/linux/kernel-features.h
20784 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20785 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20786 <kernel-features.h>.
20787 [__NR_fadvise64_64]: Make code unconditional.
20788 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20789 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20790 !__NR_fadvise64_64)]: Likewise.
20791 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20792 !__NR_fadvise64_64))]: Likewise.
20793 [__NR_fadvise64]: Make code unconditional.
20794 [!__NR_fadvise64]: Remove conditional code.
20795 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20796 <kernel-features.h>.
20797 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20798 unconditional.
20799 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20800 conditional code.
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20802 not include <kernel-features.h>.
20803 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20804 unconditional.
20805 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20806 conditional code.
20807 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20808 include <kernel-features.h>.
20809 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20810 unconditional.
20811 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20812 conditional code.
20813
14a50c9d
WS
208142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20815
20816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20817 slight instruction rearrangements per scrollpipe analysis.
20818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20819
c0f4faf0
RM
208202012-08-20 Roland McGrath <roland@hack.frob.com>
20821
696da859
RM
20822 * manual/syslog.texi (syslog; vsyslog, closelog):
20823 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20824 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20825
c0f4faf0
RM
20826 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20827 DSOCAPS to match condition on defining it.
20828
348363b2
JM
208292012-08-20 Joseph Myers <joseph@codesourcery.com>
20830
a35cbf28
JM
20831 * sysdeps/unix/sysv/linux/kernel-features.h
20832 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20834 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20835 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20837 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20838 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20840 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20841 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20842
445f7ecd
JM
20843 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20844 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20845
348363b2
JM
20846 * sysdeps/unix/sysv/linux/kernel-features.h
20847 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20848 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20849 unconditional.
20850 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20851 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20852 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20853 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20854 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20855 Make code unconditional.
20856 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20857 (__mmap64) [!__NR_mmap2]: Likewise.
20858 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20859 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20860 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20861 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20862 [__NR_mmap2]: Make code unconditional.
20863 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20864 (__mmap64) [!__NR_mmap2]: Likewise.
20865
bc5bc0e5
AK
208662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20867
20868 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20869
88d506de
AJ
208702012-08-18 Andreas Jaeger <aj@suse.de>
20871
20872 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20873
493387d2
MF
208742012-08-18 Mike Frysinger <vapier@gentoo.org>
20875
20876 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20877 * include/unistd.h (__have_sock_cloexec): Likewise.
20878 (__have_pipe2): Likewise.
20879 (__have_dup3): Likewise.
20880
a277af22
MF
208812012-08-18 Mike Frysinger <vapier@gentoo.org>
20882
20883 [BZ #9685]
20884 * include/unistd.h (__have_pipe2): Change define into an extern int.
20885 (__have_dup3): Likewise.
20886 * socket/have_sock_cloexec.c: Include fcntl.h.
20887 (__have_pipe2): New variable.
20888 (__have_dup3): Likewise.
20889
fdab8fd3
MF
208902012-08-17 Mike Frysinger <vapier@gentoo.org>
20891
20892 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20893
31035e80
MP
208942012-08-17 Marek Polacek <polacek@redhat.com>
20895
20896 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20897 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20898
3bd9e993
RM
208992012-08-17 Roland McGrath <roland@hack.frob.com>
20900
c91c505f
RM
20901 * configure.in: Add AC_SUBST for sysheaders.
20902 * configure: Regenerated.
20903 * config.make.in (sysheaders): New substituted variable.
20904
7c6f9d53
RM
20905 * sysdeps/unix/mkfifo.c: Moved ...
20906 * sysdeps/posix/mkfifo.c: ... here.
20907 * sysdeps/unix/mkfifoat.c: Moved ...
20908 * sysdeps/posix/mkfifoat.c: ... here.
20909
20910 * sysdeps/unix/utime.c: Moved ...
20911 * sysdeps/posix/utime.c: ... here.
20912
20913 * sysdeps/unix/time.c: Moved ...
20914 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20915 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20916 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20917
20918 * sysdeps/unix/nice.c: Moved ...
20919 * sysdeps/posix/nice.c: ... here.
20920
20921 * sysdeps/unix/alarm.c: Moved ...
20922 * sysdeps/posix/alarm.c: ... here.
20923
3bd9e993
RM
20924 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20925
d1f09384
JL
209262012-08-17 Jeff Law <law@redhat.com>
20927
20928 * intl/Makefile (codeset_mo): New variable.
20929 ($(codeset_mo)): New target.
20930 (tst-codeset.out): Depend on that. Remove explicit rule.
20931 (tst-gettext3.out, tst-gettext5.out): Likewise.
20932 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20933 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20934 * intl/tst-codeset.sh: Remove.
20935 * intl/tst-gettext3.sh: Likewise.
20936 * intl/tst-gettext5.sh: Likewise.
20937
2ae1ae5c
RM
209382012-08-17 Roland McGrath <roland@hack.frob.com>
20939
c31fdb83
RM
20940 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20941 * sysdeps/unix/syscalls.list: ... here.
20942
a0844057
RM
20943 * sysdeps/posix/getaddrinfo.c
20944 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20945 (gaiconf_init, gaiconf_reload): Use them.
20946 [!_STATBUF_ST_NSEC]
20947 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20948 Define using time_t rather than struct timespec.
20949
750c1f2a
RM
20950 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20951 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20952 Macros removed.
20953 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20954 [!NO_THREADS].
20955 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20956 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20957 Likewise.
20958
2ae1ae5c
RM
20959 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20960 __libc_cleanup_push argument.
20961
e66a42f5
RM
20962 * bits/param.h: New file.
20963 * misc/sys/param.h: New file.
20964 * include/sys/param.h: New file.
20965 * misc/Makefile (headers): Add bits/param.h.
20966 * sysdeps/generic/sys/param.h: File removed.
20967 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20968 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20969 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20970 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20971
b7c08a66
RM
20972 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20973 last change.
20974
b2e1c562
RM
20975 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20976 [_IO_MTSAFE_IO].
20977 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20978 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20979 New macros.
20980
c75ccd4c
RM
20981 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20982 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20983 rather than -D_IO_MTSAFE_IO conditionally.
20984 * stdio-common/Makefile (CPPFLAGS): Likewise.
20985 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20986 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20987 Use $(libio-mtsafe).
20988 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20989 of -D_IO_MTSAFE_IO.
20990 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20991 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20992 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20993 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20994 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20995 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20996 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20997 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20998 (CFLAGS-fread_u_chk.c): Likewise.
20999 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21000 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21001 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21002 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21003 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21004 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21005 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21006 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21007 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21008
21009 * libio/Makefile: Test [$(libc-reentrant) = yes]
21010 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21011
21012 * Makeconfig
21013 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21014 * sysdeps/pthread/configure: File removed.
21015 * sysdeps/pthread/Makeconfig: New file.
21016 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21017 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21018
d9195db8
GB
210192012-08-16 Gary Benson <gbenson@redhat.com>
21020
21021 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21022 unmapping the first object in a namespace.
21023
86466cd9
RM
210242012-08-16 Roland McGrath <roland@hack.frob.com>
21025
21026 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21027 (__internal_setnetgrent): ... this. Add internal_function to
21028 definition. Add libc_hidden_def.
21029 (setnetgrent): Update caller.
21030 (internal_endnetgrent): Renamed to ...
21031 (__internal_endnetgrent): ... this. Add internal_function to
21032 definition. Add libc_hidden_def.
21033 (endnetgrent): Update caller.
21034 (internal_getnetgrent_r): Renamed to ...
21035 (__internal_getnetgrent_r): ... this. Add internal_function to
21036 definition. Add libc_hidden_def.
21037 (__getnetgrent_r): Update caller.
21038 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21039
c3c8283c
JM
210402012-08-16 Joseph Myers <joseph@codesourcery.com>
21041
21042 * stdlib/longlong.h: Update from GCC.
21043
db1ee0a8
RM
210442012-08-16 Roland McGrath <roland@hack.frob.com>
21045
21046 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21047 on _QL, which is set by umul_ppmm but never used.
21048 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21049 variables, which are set by GMP macros but never used.
21050 * stdio-common/_itowa.c (_itowa): Likewise.
21051 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21052 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21053
30f69637
CD
210542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21055
21056 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21057 struct La_sh_regs is not constant.
21058 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21059 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21060 and struct La_sparc64_regs are not constant.
21061
93a78ac4
JM
210622012-08-16 Joseph Myers <joseph@codesourcery.com>
21063
21064 * sysdeps/unix/sysv/linux/kernel-features.h
21065 (__ASSUME_POSIX_TIMERS): Remove.
21066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21067 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21068 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21069 Make code unconditional.
21070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21071 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21072 Make code unconditional.
21073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21074 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21075 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21076 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21077 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21078 Make code unconditional.
21079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21080 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21081 (__libc_missing_posix_timers): Remove.
21082
dd924cd7
RM
210832012-08-15 Roland McGrath <roland@hack.frob.com>
21084
4b4f2771
RM
21085 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21086 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21087
601c888b
RM
21088 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21089
176790a7
RM
21090 * elf/dl-sym.c: Include <stdlib.h>.
21091
329bc018
RM
21092 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21093 constants, which avoids warnings in 32-bit builds.
21094
e04e272d
RM
21095 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21096 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21097
952bf94a
RM
21098 * misc/lseek.c: File moved to ...
21099 * io/lseek.c: ... here.
21100
7c99b50a
RM
21101 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21102
dd924cd7
RM
21103 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21104 shifting LEN more than 31 bits at once.
21105
b3f479a8
LD
211062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21107
21108 [BZ #14195]
8c4ae0d4
RM
21109 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21110 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21111 * string/test-strncasecmp.c (check1): Renamed to...
21112 (bz12205): ...this.
21113 (bz14195): Add new testcase for two empty input strings and N > 0.
21114 (test_main): Call new testcase, adapt for renamed function.
21115
9c55864e
AJ
211162012-08-15 Andreas Jaeger <aj@suse.de>
21117
21118 [BZ #14090]
21119 * crypt/md5test2.c: New test, based on test supplied by Serge
21120 Belyshev <belyshev@depni.sinp.msu.ru>.
21121 * crypt/Makefile (xtests): Add md5test-giant..
21122 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21123
02dcb6c5
PE
211242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21125
21126 [BZ #14090]
21127 * crypt/md5.c (md5_process_block): Don't assume the buffer
21128 length is less than 2**32.
21129 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21130 length is less than 2**64.
21131
a3f95dcc
RM
211322012-08-15 Roland McGrath <roland@hack.frob.com>
21133
be75d758
RM
21134 * string/str-two-way.h: Include <sys/param.h>.
21135 (MAX): Macro removed.
21136
7312ca90
RM
21137 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21138 Move #define and #undef of memmove to just before and after
21139 including <string.h>.
21140
9a0a5486
RM
21141 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21142 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21143 and after including <string.h>. Move declarations of
21144 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21145 to before #include "string/memmove.c".
21146
67cc348d
RM
21147 * include/dirent.h: Declare __getdirentries.
21148
a3f95dcc
RM
21149 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21150 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21151
ca98e171
MF
211522012-08-14 Mike Frysinger <vapier@gentoo.org>
21153
21154 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21155 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21156 * sysdeps/i386/configure: Regenerated.
21157 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21158 STABS_CURRENT_FILE, and STABS_FUN.
21159 (END): Remove call to STABS_FUN_END.
21160 (STABS_CURRENT_FILE1): Delete.
21161 (STABS_CURRENT_FILE): Likewise.
21162 (STABS_FUN): Likewise.
21163 (STABS_FUN_END): Likewise.
21164 (STABS_FUN2): Likewise.
21165 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21166 * sysdeps/x86_64/configure: Regenerated.
21167
5908bf46
RM
211682012-08-14 Roland McGrath <roland@hack.frob.com>
21169
21170 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21171 * elf/dl-lookup.c: Likewise.
5908bf46 21172
f2c05b9e
JM
211732012-08-14 Joseph Myers <joseph@codesourcery.com>
21174
21175 * sysdeps/unix/sysv/linux/kernel-features.h
21176 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21177 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21178 unconditionally.
21179 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21180 unconditionally.
21181 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21182 condition on __ASSUME_CLONE_THREAD_FLAGS.
21183
e11f5155
AJ
211842012-08-14 Andreas Jaeger <aj@suse.de>
21185
21186 * sysdeps/i386/fpu/libm-test-ulps: Update.
21187
51a9ba86
MK
211882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21189
2fdd4f78
AJ
21190 * include/atomic.h (atomic_exchange_and_add): Split into ...
21191 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21192 New atomic macros.
51a9ba86 21193
ba6cba9e
MT
211942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21195
21196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21197
42443a47
JL
211982012-08-13 Jeff Law <law@redhat.com>
21199
21200 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21201 null byte in the output string.
21202
121dce05
JM
212032012-08-10 Joseph Myers <joseph@codesourcery.com>
21204
21205 * sysdeps/unix/sysv/linux/kernel-features.h
21206 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21207 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21208 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21209 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21210 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21211 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21212 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21213
bf51f568
JL
212142012-08-09 Jeff Law <law@redhat.com>
21215
21216 [BZ #13939]
21217 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21218 When avoid_arena is set, don't retry in the that arena. Pick the
21219 next one, whatever it might be.
21220 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21221 (arena_lock): Pass in new parameter to arena_get2.
21222 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21223 arena_get2.
21224 (__libc_malloc): Unify retrying after main arena failure with
21225 __libc_memalign version.
21226 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21227
f85fa270
L
212282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21229
21230 [BZ #14166]
21231 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21232 to __redirect_strstr.
21233 (__strstr_sse42): Use typeof __redirect_strstr.
21234 (__strstr_ia32): Likewise.
21235 (__libc_strstr): New prototype.
21236 (strstr): Renamed to ...
21237 (__libc_strstr): This.
21238 (strstr): New strong alias of __libc_strstr.
21239 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21240 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21241 __redirect_time.
21242 Include <time.h>.
21243 (__libc_time): New prototype.
21244 (time_ifunc): Replace time with __libc_time.
21245 (time): New strong alias and hidden definition of __libc_time.
21246 (__GI_time): Remove strong alias.
21247 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21248 Include <stddef.h>.
21249 (memmove): Redefined to __redirect_memmove.
21250 (__memmove_sse2): Use typeof __redirect_memmove.
21251 (__memmove_ssse3): Likewise.
21252 (__memmove_ssse3_back): Likewise.
21253 (__libc_memmove): New prototype.
21254 (memmove): Renamed to ...
21255 (__libc_memmove): This.
21256 (memmove): New strong alias of __libc_memmove.
21257
33b4a91e
MS
212582012-08-08 Mark Salter <msalter@redhat.com>
21259
21260 * elf/elf.h
21261 (R_MN10300_TLS_GD): Define.
21262 (R_MN10300_TLS_LD): Likewise.
21263 (R_MN10300_TLS_LDO): Likewise.
21264 (R_MN10300_TLS_GOTIE): Likewise.
21265 (R_MN10300_TLS_IE): Likewise.
21266 (R_MN10300_TLS_LE): Likewise.
21267 (R_MN10300_TLS_DTPMOD): Likewise.
21268 (R_MN10300_TLS_DTPOFF): Likewise.
21269 (R_MN10300_TLS_TPOFF): Likewise.
21270 (R_MN10300_SYM_DIFF): Likewise.
21271 (R_MN10300_ALIGN): Likewise.
21272 (R_MN10300_NUM): Update.
21273
b36137f1
JM
212742012-08-08 Joseph Myers <joseph@codesourcery.com>
21275
21276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21277 Remove.
21278
cdd915fd
RM
212792012-08-08 Roland McGrath <roland@hack.frob.com>
21280
a2433aac
RM
21281 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21282
cdd915fd
RM
21283 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21284 sysdeps/unix -> sysdeps/posix move.
21285 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21286
bf9b740a
AM
212872012-08-07 Allan McRae <allan@archlinux.org>
21288
21289 [BZ #14303]
21290 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21291 (SUNOS_CPP): Likewise.
21292 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21293 not found.
21294 (open_input): Call CPP using execvp.
21295
93df14ee
JM
212962012-08-07 Joseph Myers <joseph@codesourcery.com>
21297
21298 * sysdeps/unix/sysv/linux/kernel-features.h
21299 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21300 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21301 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21302 (__ASSUME_WAITID_SYSCALL): Likewise.
21303 * sysdeps/unix/sysv/linux/dl-execstack.c
21304 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21305 code unconditional.
21306 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21307 conditional code.
21308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21309 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21310 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21311 code.
21312 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21313 unconditional.
21314 [__ASSUME_WAITID_SYSCALL]: Likewise.
21315 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21316
d34689de
RM
213172012-08-07 Roland McGrath <roland@hack.frob.com>
21318
a281decc
RM
21319 * sysdeps/unix/closedir.c: Renamed to ...
21320 * sysdeps/posix/closedir.c: ... here.
21321 * sysdeps/unix/dirfd.c: Renamed to ...
21322 * sysdeps/posix/dirfd.c: ... here.
21323 * sysdeps/unix/dirstream.h: Renamed to ...
21324 * sysdeps/posix/dirstream.h: ... here.
21325 * sysdeps/unix/fdopendir.c: Renamed to ...
21326 * sysdeps/posix/fdopendir.c: ... here.
21327 * sysdeps/unix/opendir.c: Renamed to ...
21328 * sysdeps/posix/opendir.c: ... here.
21329 * sysdeps/unix/readdir.c: Renamed to ...
21330 * sysdeps/posix/readdir.c: ... here.
21331 * sysdeps/unix/readdir_r.c: Renamed to ...
21332 * sysdeps/posix/readdir_r.c: ... here.
21333 * sysdeps/unix/rewinddir.c: Renamed to ...
21334 * sysdeps/posix/rewinddir.c: ... here.
21335 * sysdeps/unix/seekdir.c: Renamed to ...
21336 * sysdeps/posix/seekdir.c: ... here.
21337 * sysdeps/unix/telldir.c: Renamed to ...
21338 * sysdeps/posix/telldir.c: ... here.
21339 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21340 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21341 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21342 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21343
22895b47
RM
21344 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21345 * bits/fcntl.h: ... here.
21346
707a53b6
RM
21347 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21348 not 0.
21349 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21350 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21351 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21352 (struct flock): Move l_start, l_len to the beginning.
21353 Use __pid_t for l_pid.
21354 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21355 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21356 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21357 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21358 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21359 [__USE_LARGEFILE64] (struct flock64): New type.
21360 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21361
f0bd3e25
RM
21362 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21363 * bits/dirent.h: ... here.
21364
d34689de
RM
21365 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21366 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21367
6dad2c06
JM
213682012-08-07 Joseph Myers <joseph@codesourcery.com>
21369
21370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21371 Change from 2.6.0 to 2.6.16.
21372 * sysdeps/unix/sysv/linux/configure: Regenerated.
21373 * sysdeps/unix/sysv/linux/kernel-features.h
21374 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21375 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21376 version.
21377 (__ASSUME_UTIMES): Likewise.
21378 (__ASSUME_CLONE_STOPPED): Remove.
21379 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21380 architectures, not kernel version.
21381 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21382 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21383 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21384 (__ASSUME_WAITID_SYSCALL): Likewise.
21385 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21386 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21387 * README: State 2.6.16 as minimum Linux kernel version. Do not
21388 refer to older versions.
21389
03af9520
RM
213902012-08-06 Roland McGrath <roland@hack.frob.com>
21391
8e49df1d
RM
21392 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21393 Define alphasort64 as an alias.
21394 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21395 Define versionsort64 as an alias.
21396 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21397 Define scandir64 as an alias.
21398 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21399 Define scandirat64 as an alias.
21400 * dirent/alphasort64.c (alphasort64):
21401 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21402 * dirent/versionsort64.c: Likewise.
21403 * dirent/scandir64.c: Likewise.
21404 * dirent/scandirat64.c: Likewise.
21405 * sysdeps/wordsize-64/alphasort.c: File removed.
21406 * sysdeps/wordsize-64/alphasort64.c: File removed.
21407 * sysdeps/wordsize-64/scandir.c: File removed.
21408 * sysdeps/wordsize-64/scandir64.c: File removed.
21409 * sysdeps/wordsize-64/scandirat.c: File removed.
21410 * sysdeps/wordsize-64/scandirat64.c: File removed.
21411 * sysdeps/wordsize-64/versionsort.c: File removed.
21412 * sysdeps/wordsize-64/versionsort64.c: File removed.
21413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21414 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21415 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21416 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21417 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21418 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21420 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21421
21422 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21424 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21426 [defined __arch64__ || defined __sparcv9]
21427 (__INO_T_MATCHES_INO64_T): New macro.
21428 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21429 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21430 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21431 * sysdeps/unix/sysv/linux/bits/dirent.h
21432 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21433 (_DIRENT_MATCHES_DIRENT64): New macro.
21434
03af9520
RM
21435 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21436 Define lockf64 as an alias.
21437 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21438 Define fseeko64 as an alias.
21439 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21440 Define ftello64 as an alias.
21441 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21442 Define _IO_fgetpos64 and fgetpos64 as aliases.
21443 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21444 Define _IO_fsetpos64 and fsetpos64 as aliases.
21445 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21446 Conditionalize body on this.
21447 * libio/fseeko64.c: Likewise.
21448 * libio/ftello64.c: Likewise.
21449 * libio/iofgetpos64.c: Likewise.
21450 * libio/iofsetpos64.c: Likewise.
21451 * sysdeps/wordsize-64/lockf.c: File removed.
21452 * sysdeps/wordsize-64/lockf64.c: File removed.
21453 * sysdeps/wordsize-64/fseeko.c: File removed.
21454 * sysdeps/wordsize-64/fseeko64.c: File removed.
21455 * sysdeps/wordsize-64/ftello.c: File removed.
21456 * sysdeps/wordsize-64/ftello64.c: File removed.
21457 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21458 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21459 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21460 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21461 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21462 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21463 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21464 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21465 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21466 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21468 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21469 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21470 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21471
21472 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21474 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21476 [defined __arch64__ || defined __sparcv9]
21477 (__OFF_T_MATCHES_OFF64_T): New macro.
21478 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21479 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21481 (__OFF_T_MATCHES_OFF64_T): New macro.
21482
c5757acd
L
214832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 * stdlib/secure-getenv.c (__secure_getenv): Replace
21486 GLIBC_2_16 with GLIBC_2_17.
21487
3a31811e
L
214882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21489
21490 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21491 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21492
faa2bccb
DM
214932012-08-03 David S. Miller <davem@davemloft.net>
21494
21495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21496
85fe1997
JM
214972012-08-03 Joseph Myers <joseph@codesourcery.com>
21498
21499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21500 Remove.
21501 (__ASSUME_CORRECT_SI_PID): Likewise.
21502 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21503 (__ASSUME_TMPFS_NAME): Likewise.
21504 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21505 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21506 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21507 (HAVE_AUX_SECURE): Make definition unconditional.
21508 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21509 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21510
4f75b7a0
RM
215112012-08-03 Roland McGrath <roland@hack.frob.com>
21512
21513 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21514 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21515 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21516 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21517 __eloop_threshold instead of SYMLOOP_MAX.
21518
21519 * sysdeps/generic/eloop-threshold.h: New file.
21520 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21521 of MAXSYMLINKS.
21522 * elf/chroot_canon.c (chroot_canon): Likewise.
21523
7aab07e4
JM
215242012-08-03 Joseph Myers <joseph@codesourcery.com>
21525
21526 [BZ #13717]
21527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21528 Change to 2.6.0 everywhere.
21529 * sysdeps/unix/sysv/linux/configure: Regenerated.
21530 * sysdeps/unix/sysv/linux/kernel-features.h
21531 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21532 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21533 kernel versions.
21534 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21535 (__ASSUME_FUTEX_REQUEUE): Remove.
21536 (__ASSUME_STATFS64): Define unconditionally.
21537 (__ASSUME_AT_SECURE): Likewise.
21538 (__ASSUME_CORRECT_SI_PID): Likewise.
21539 (__ASSUME_TGKILL): Define without depending on kernel version for
21540 i386.
21541 (__ASSUME_UTIMES): Likewise.
21542 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21543 kernel version.
21544 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21545 (__ASSUME_TMPFS_NAME): Likewise.
21546 * README: Update reference to Linux kernel versions.
21547
b67e9372
MP
215482012-08-02 Marek Polacek <polacek@redhat.com>
21549
1f529f7d 21550 [BZ# 14150]
b67e9372
MP
21551 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21552 libc_cv_asm_type_prefix with %.
21553 * configure: Regenerated.
d2441631
RM
21554 * include/libc-symbols.h: Remove comment about
21555 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
21556 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21557 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21558 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21559 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21560 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21561 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21562 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21563 * elf/tst-unique2mod1.c: Likewise.
21564 * elf/tst-unique1mod2.c: Likewise.
21565 * elf/tst-unique1mod1.c: Likewise.
21566 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21567 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21568 Replace ASM_TYPE_DIRECTIVE with .type.
21569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21570 * sysdeps/i386/sysdep.h: Likewise.
21571 * sysdeps/x86_64/sysdep.h: Likewise.
21572 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
21573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21574 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 21575 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
21576 * sysdeps/powerpc/powerpc32/sysdep.h:
21577 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
21578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21579 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21580 * sysdeps/i386/fpu/e_powf.S: Likewise.
21581 * sysdeps/i386/fpu/e_expl.S: Likewise.
21582 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21584 * sysdeps/i386/fpu/e_pow.S: Likewise.
21585 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21587 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21588 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21589 * sysdeps/i386/fpu/e_log2.S: Likewise.
21590 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21592 * sysdeps/i386/fpu/e_powl.S: Likewise.
21593 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21594 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21595 * sysdeps/i386/fpu/e_logl.S: Likewise.
21596 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21597 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21598 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21599 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21600 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21601 * sysdeps/i386/fpu/e_log.S: Likewise.
21602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21603 * sysdeps/i386/fpu/e_logf.S: Likewise.
21604 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21605 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21606 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21607 * sysdeps/i386/fpu/e_log10.S: Likewise.
21608 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21610 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21611 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21612 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21613 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21614 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21615 * sysdeps/i386/i686/strtok.S: Likewise.
21616 * sysdeps/i386/i386-mcount.S: Likewise.
21617 * sysdeps/i386/strtok.S: Likewise.
21618 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21621 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21622 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21623 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21624 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21625 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21626 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21627 * sysdeps/x86_64/_mcount.S: Likewise.
21628 * sysdeps/x86_64/strtok.S: Likewise.
21629 * sysdeps/sh/_mcount.S: Likewise.
21630
2747bf9a
RM
216312012-08-01 Roland McGrath <roland@hack.frob.com>
21632
21633 * libio/iofopen.c: Include <fcntl.h>.
21634 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21635 (_IO_fopen64, fopen64): Define as aliases.
21636 * libio/iofopen64.c: Include <fcntl.h>.
21637 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21638 Conditionalize body on this.
21639 * sysdeps/wordsize-64/iofopen.c: File removed.
21640 * sysdeps/wordsize-64/iofopen64.c: File removed.
21641
3fb791b8
MP
216422012-08-01 Marek Polacek <polacek@redhat.com>
21643
21644 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21645 Use dlfcn directly instead of a variable.
21646 (binfmt-subdir): Do not define.
21647 (dlfcn): Likewise.
21648
a9f1039f
JM
216492012-08-01 Joseph Myers <joseph@codesourcery.com>
21650
23bddc06
JM
21651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21652 Remove all definitions.
21653 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21654 <kernel-features.h>.
21655 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21656 (miss_F_GETOWN_EX): Remove all definitions.
21657 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21658 macro definition.
21659 [!__ASSUME_FCNTL64]: Remove conditional code.
21660 [__ASSUME_FCNTL64]: Make code unconditional.
21661 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21662 <kernel-features.h>.
21663 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21664 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21665 (lockf64) [__NR_fcntl64]: Make code unconditional.
21666 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21667
a9f1039f
JM
21668 * sysdeps/unix/sysv/linux/kernel-features.h
21669 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21670 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21671 Make code unconditional.
21672 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21673 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21675 [__NR_vfork]: Make code unconditional.
21676 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21677 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21679 [__NR_vfork]: Make code unconditional.
21680 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21681 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21682
09c0ee5f
RM
216832012-08-01 Roland McGrath <roland@hack.frob.com>
21684
48aec5b9
RM
21685 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21686 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21687
cd97c966
RM
21688 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21689 Define mkstemp64 as an alias.
3f55550c
RM
21690 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21691 Define mkstemps64 as an alias.
cd97c966
RM
21692 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21693 Define mkostemp64 as an alias.
b8625cfc
RM
21694 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21695 Define mkostemps64 as an alias.
cd97c966
RM
21696 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21697 Conditionalize body on this.
21698 * misc/mkostemp64.c: Likewise.
b8625cfc 21699 * misc/mkostemps64.c: Likewise.
3f55550c 21700 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21701 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21702 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21703 * sysdeps/wordsize-64/mkostemp.c: File removed.
21704 * sysdeps/wordsize-64/mkstemp.c: File removed.
21705 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21706 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21707 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21708 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21709
09c0ee5f
RM
21710 [BZ #14138]
21711 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21712 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21713 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21714 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21715
21716 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21717 compat_symbol macros from <shlib-compat.h> rather than the underlying
21718 default_symbol_version and symbol_version macros, so that DEFAULT
21719 lines in shlib-versions are respected.
21720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21721
7e66ee51
FW
217222012-08-01 Florian Weimer <fweimer@redhat.com>
21723
21724 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21725 Declare with warn_unused_result.
21726 (setgid, setregid, setegid, setresgid): Likewise.
21727 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21728 Likewise.
21729 * WUR-REPORT: Remove set*id functions.
21730
d2a54255
PT
217312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21732
21733 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21734
7ecdb005
RM
217352012-07-31 Roland McGrath <roland@hack.frob.com>
21736
b4180a5e 21737 [BZ #10191]
789bd351
RM
21738 * include/sys/socket.h (__libc_accept, __libc_accept4):
21739 Add attribute_hidden.
21740 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21741
40ce302d
RM
21742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21743 use of PTR_MANGLE.
21744 * inet/getnetgrent_r.c (setup): Likewise.
21745
7ecdb005
RM
21746 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21747
e2eabb2c
DM
217482012-07-31 David S. Miller <davem@davemloft.net>
21749
21750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21751
d0419dbf
JM
217522012-07-31 Joseph Myers <joseph@codesourcery.com>
21753
21754 [BZ #13629]
21755 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21756 value between 1.0 and 2.0 and smaller part has absolute value less
21757 than 1.0.
21758 * math/s_clog10.c (__clog10): Likewise.
21759 * math/s_clog10f.c (__clog10f): Likewise.
21760 * math/s_clog10l.c (__clog10l): Likewise.
21761 * math/s_clogf.c (__clogf): Likewise.
21762 * math/s_clogl.c (__clogl): Likewise.
21763 * math/libm-test.inc (clog_test): Add more tests.
21764 (clog10_test): Likewise.
21765 * sysdeps/i386/fpu/libm-test-ulps: Update.
21766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21767
2bc13872
FW
217682012-07-31 Florian Weimer <fweimer@redhat.com>
21769
21770 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21771 Exit with zero in case no suitable GID is found, and write a
21772 message to standard error.
21773
bea9b193
RM
217742012-07-30 Roland McGrath <roland@hack.frob.com>
21775
21776 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21777 rather than to 1.
21778 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21779 (MAXPATHLEN): Removed.
21780 (NOGROUP, NODEV): New macros.
21781 (setbit, clrbit, isset, isclr): New macros.
21782 (howmany, roundup, powerof2): New macros.
21783 (DEV_BSIZE): New macro.
21784
21785 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21786 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21787
21788 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21789 definition on [!__NO_LONG_DOUBLE_MATH].
21790
21791 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21792 PTR_MANGLE and PTR_DEMANGLE.
21793
21794 * socket/accept4.c (accept4): Rename to __libc_accept4.
21795 Define accept4 as a weak alias.
21796
21797 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21798 on [_DIRENT_HAVE_D_TYPE].
21799 * io/ftw.c (ftw_dir): Likewise.
21800
21801 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21802
21803 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21804
21805 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21806 Use the BSD numbers rather than the arbitrary ones we had.
21807 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21808 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21809 (SIGXCPU, SIGXFSZ): New macros.
21810 (_NSIG): Now 32.
21811
21812 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21813 initializer on [_LIBC_REENTRANT].
21814
21815 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21816 definitions inside [_POSIX_MAPPED_FILES].
21817
21818 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21819
21820 * dirent/opendir.c: Include <fcntl.h>.
21821
21822 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21823 (__libc_getspecific): Likewise.
21824 (__libc_key_create): Likewise.
21825
21826 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21827 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21828 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21829 (tmpfile64): Define as alias.
21830 * sysdeps/wordsize-64/tmpfile.c: File removed.
21831 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21833 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21834
21835 * stdio-common/vfscanf.c: Include <stdbool.h>.
21836 * nss/makedb.c: Likewise.
21837 * stdio-common/_i18n_number.h: Likewise.
21838 * argp/argp-help.c: Likewise.
21839 * posix/wordexp.c: Likewise.
21840 * sysdeps/posix/spawni.c: Likewise.
21841 * nss/nss_files/files-initgroups.c: Likewise.
21842 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21843 * nss/nss_files/files-initgroups.c: Likewise.
21844 * nss/nss_db/db-netgrp.c: Likewise.
21845 * nss/nss_db/db-initgroups.c: Likewise.
21846 * io/fchmodat.c: Include <sys/stat.h>.
21847
21848 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21849 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21850
21851 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21852 [HAVE_MMAP].
21853
21854 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21855 Add multiple inclusion protection.
21856
e5abc686
DM
218572012-07-27 David S. Miller <davem@davemloft.net>
21858
21859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21860
815e6fa3
GB
218612012-07-27 Gary Benson <gbenson@redhat.com>
21862
21863 [BZ #14298]
21864 * elf/rtld.c: Include <stap-probe.h>.
21865 (dl_main): Added static probes "init_start" and "init_complete".
21866 * elf/dl-load.c: Include <stap-probe.h>.
21867 (lose): Take new parameter "nsid".
21868 Added static probe "map_failed".
21869 (_dl_map_object_from_fd): Pass namespace id to lose.
21870 Added static probe "map_start".
21871 (open_verify): Pass namespace id to lose.
21872 * elf/dl-open.c: Include <stap-probe.h>.
21873 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21874 and "reloc_complete".
21875 * elf/dl-close.c: Include <stap-probe.h>.
21876 (_dl_close_worker): Added static probes "unmap_start" and
21877 "unmap_complete".
21878 * elf/rtld-debugger-interface.txt: New file documenting the above.
21879
9f98c16c
RM
218802012-07-26 Roland McGrath <roland@hack.frob.com>
21881
21882 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21883 rather than a string variable.
21884 * sunrpc/rpc_main.c (h_output): Likewise.
21885 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21886
f3c22df3
PT
218872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21888
21889 * inet/check_native.c: New file.
21890
3129cfc6
JM
218912012-07-26 Joseph Myers <joseph@codesourcery.com>
21892
da865e95
JM
21893 [BZ #13629]
21894 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21895 if larger part has absolute value 1.0.
21896 * math/s_clog10.c (__clog10): Likewise.
21897 * math/s_clog10f.c (__clog10f): Likewise.
21898 * math/s_clog10l.c (__clog10l): Likewise.
21899 * math/s_clogf.c (__clogf): Likewise.
21900 * math/s_clogl.c (__clogl): Likewise.
21901 * math/libm-test.inc (clog_test): Add more tests.
21902 (clog10_test): Likewise.
21903 * sysdeps/i386/fpu/libm-test-ulps: Update.
21904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21905
3129cfc6
JM
21906 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21907 (pltexit): Likewise.
21908 (La_regs): Likewise.
21909 (La_retval): Likewise.
21910 (int_retval): Likewise.
21911 Update #error for removed macros to refer only to definitions in
21912 tst-audit.h.
21913 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21914 macro.
21915 (pltexit): Likewise.
21916 (La_regs): Likewise.
21917 (La_retval): Likewise.
21918 (int_retval): Likewise.
21919 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21920 macro.
21921 (pltexit): Likewise.
21922 (La_regs): Likewise.
21923 (La_retval): Likewise.
21924 (int_retval): Likewise.
21925 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21926 macro.
21927 (pltexit): Likewise.
21928 (La_regs): Likewise.
21929 (La_retval): Likewise.
21930 (int_retval): Likewise.
21931 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21932 macro.
21933 (pltexit): Likewise.
21934 (La_regs): Likewise.
21935 (La_retval): Likewise.
21936 (int_retval): Likewise.
21937 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21938 macro.
21939 (pltexit): Likewise.
21940 (La_regs): Likewise.
21941 (La_retval): Likewise.
21942 (int_retval): Likewise.
21943 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21944 macro.
21945 (pltexit): Likewise.
21946 (La_regs): Likewise.
21947 (La_retval): Likewise.
21948 (int_retval): Likewise.
21949 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21950 macro definitions in tst-audit.h.
21951 * sysdeps/i386/tst-audit.h: New file.
21952 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21953 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21954 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21955 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21956 * sysdeps/sh/tst-audit.h: Likewise.
21957 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21958 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21959 * sysdeps/x86_64/tst-audit.h: Likewise.
21960
bfc07087
AJ
219612012-07-26 Andreas Jaeger <aj@suse.de>
21962
b1b2aaf8
AJ
21963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21964 ptrace.
21965
21966 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21967 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21968 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21969 PTRACE_O_MASK.
21970 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21971 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21972 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21973
bfc07087
AJ
21974 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21975 value.
21976
21977 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21978 _sigsys.
21979 (si_call_addr, si_syscall, si_arch): Define new macro.
21980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21981 _sigsys.
21982 (si_call_addr, si_syscall, si_arch): Define new marcro.
21983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21984 _sigsys.
21985 (si_call_addr, si_syscall, si_arch): Define new macro.
21986 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21987 _sigsys.
21988 (si_call_addr, si_syscall, si_arch): Define new macro.
21989
89b4b02f
JM
219902012-07-25 Joseph Myers <joseph@codesourcery.com>
21991
21992 [BZ #13717]
21993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21994 Change to 2.4.21 where previously 2.4.1.
21995 * sysdeps/unix/sysv/linux/configure: Regenerated.
21996 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21997 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21998 Linux kernel version.
21999 (__ASSUME_STD_AUXV): Remove.
22000 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22001 kernel version.
22002 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22003 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22004 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22005 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22006 (__ASSUME_NETLINK_SUPPORT): Likewise.
22007 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22008 (__no_netlink_support): Remove conditional definition.
22009 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22010 Remove.
22011 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22012 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22013 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22014 (if_nameindex_ioctl): Remove.
22015 (if_nameindex_netlink): Do not handle __no_netlink_support.
22016 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22017 code.
22018 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22019 Remove conditional code.
22020 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22021 code.
22022 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22023 unconditional.
22024 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22025 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22026 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22027 Remove.
22028 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22029 [!__ASSUME_STD_AUXV]: Remove conditional code.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22031 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22032 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22034 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22035 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22036 code.
22037 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22039 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22040 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22041 conditional code.
22042 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22044 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22045 code.
22046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22047 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22048 conditional code.
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22050 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22051 code unconditional.
22052 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22053 conditional code.
22054 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22055 unconditional.
22056 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22057 conditional code.
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22059 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22060 unconditional.
22061 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22062 conditional code.
22063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22064 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22065 code unconditional.
22066 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22067 conditional code.
22068 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22069 unconditional.
22070 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22071 conditional code.
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22073 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22074 code unconditional.
22075 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22076 conditional code.
22077 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22078 unconditional.
22079 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22080 conditional code.
22081
842a39cd
AS
220822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22083
22084 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22085 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22086 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22087 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22088 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22089 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22090 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22091 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22092 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22093 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22094 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22095 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22096 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22097 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22098 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22100 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22101 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22102 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22104 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22105 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22106 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22107
84b3fd84
FW
221082012-07-25 Florian Weimer <fweimer@redhat.com>
22109
22110 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22111 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22112 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22113 Introduce __libc_secure_getenv.
0c7936d5
FW
22114 * stdlib/Versions (2.17): Add secure_getenv
22115 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22116 * stdlib/secure-getenv.c: Rename __secure_getenv to
22117 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22118 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22119 * stdlib/tst-secure-getenv.c: New.
22120 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22121 * manual/startup.texi (Environment Access): Document
22122 secure_getenv.
84b3fd84
FW
22123 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22124 __libc_secure_getenv.
22125 * inet/ruserpass.c (ruserpass): Likewise.
22126 * malloc/mtrace.c (mtrace): Likewise.
22127 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22128 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22129 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22130 * sysdeps/posix/tempname.c: Likewise. Evaluate
22131 HAVE_SECURE_GETENV.
22132 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22133 __secure_getenv to __libc_secure_getenv.
84b3fd84 22134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22136 Likewise.
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22138 Likewise.
22139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22146
56e49b71
JM
221472012-07-25 Joseph Myers <joseph@codesourcery.com>
22148
22149 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22150 (struct La_i86_retval): Likewise.
22151 (struct La_x86_64_regs): Likewise.
22152 (struct La_x86_64_retval): Likewise.
22153 (struct La_x32_regs): Likewise.
22154 (struct La_x32_retval): Likewise.
22155 (struct La_ppc32_regs): Likewise.
22156 (struct La_ppc32_retval): Likewise.
22157 (struct La_ppc64_regs): Likewise.
22158 (struct La_ppc64_retval): Likewise.
22159 (struct La_sh_regs): Likewise.
22160 (struct La_sh_retval): Likewise.
22161 (struct La_s390_32_regs): Likewise.
22162 (struct La_s390_32_retval): Likewise.
22163 (struct La_s390_64_regs): Likewise.
22164 (struct La_s390_64_retval): Likewise.
22165 (struct La_sparc32_regs): Likewise.
22166 (struct La_sparc32_retval): Likewise.
22167 (struct La_sparc64_regs): Likewise.
22168 (struct La_sparc64_retval): Likewise.
22169 (struct audit_ifaces): Remove architecture-specific pltenter and
22170 pltexit members.
22171 * sysdeps/i386/ldsodefs.h: New file.
22172 * sysdeps/powerpc/ldsodefs.h: Likewise.
22173 * sysdeps/s390/ldsodefs.h: Likewise.
22174 * sysdeps/sh/ldsodefs.h: Likewise.
22175 * sysdeps/sparc/ldsodefs.h: Likewise.
22176 * sysdeps/x86_64/ldsodefs.h: Likewise.
22177
354691b7
MP
221782012-07-25 Marek Polacek <polacek@redhat.com>
22179
22180 [BZ #6808]
22181 * math/libm-test.inc (yn_test): Add another test.
22182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22183 to ERANGE when the result is +-Inf.
22184 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22185 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22186 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22187 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22188
bf9e2071
JM
221892012-07-24 Joseph Myers <joseph@codesourcery.com>
22190
22191 * conform/data/time.h-data (NULL): Use macro-constant. Require
22192 equal to 0.
22193 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22194 clock_t.
22195 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22196
57633811
TS
221972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22198
22199 * configure.in <sysdeps resolving>: Correct printing
22200 Implies_before.
22201 * configure: Regenerate.
22202
c23c33b0
TS
222032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22204
22205 * math/w_ilogb.c: Include <limits.h>.
22206 * math/w_ilogbl.c: Likewise.
22207
b5982523
JM
222082012-07-20 Joseph Myers <joseph@codesourcery.com>
22209
22210 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22211 va_copy. Document allowing for unavailable va_copy only as
22212 pre-C99 compatibility.
22213 * manual/string.texi (Copying and Concatenation): Use va_copy
22214 instead of __va_copy in concat example.
22215
ac4ea442
PT
222162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22217
22218 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22219 (__sendto): Use create_address_port. Initialize APORT and deallocate
22220 it if not null.
22221
f98eafbd
PT
22222 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22223 with O_NOLINK passed to __file_name_lookup.
22224
898c7aab
PT
22225 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22226 with O_NOLINK passed to __file_name_lookup.
22227
0ced335a
PT
22228 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22229 negative N or less than NGIDS.
22230
b3404dbd
PT
22231 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22232 type to string_t. Set ERANGE as errno and return it if NAME is not big
22233 enough. Use memcpy instead of strncpy.
22234
0f48659e
JM
222352012-07-20 Joseph Myers <joseph@codesourcery.com>
22236
22237 * elf/Makefile (check-data): Remove.
22238 (localplt.data): New vpath directive.
22239 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22240 instead of $(check-data).
22241 * scripts/data/localplt-generic.data: Move to ...
22242 * sysdeps/generic/localplt.data: ... here.
22243 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22244 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22245 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22247 ... here.
22248 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22250 ... here.
22251 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22253 ... here.
22254 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22256 ... here.
22257 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22259 ... here.
22260 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22262 ... here.
22263
d37cbdaa
AZ
222642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22265
22266 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22267 PPC32 and PPC64 files.
22268 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22269 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22270
46f85fc2
AK
222712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22272
22273 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22274 __makecontext_ret to ...
22275 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22276 ... here and call exit if uc_link is NULL. New file.
22277 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22278 __makecontext_ret.S.
22279 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22280 __makecontext_ret to ...
22281 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22282 ... here and call exit if uc_link is NULL. New file.
22283 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22284 __makecontext_ret.S.
22285
08f43f9b
AK
222862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22287
22288 * elf/elf.h (R_390_IRELATIVE): New definition.
22289 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22290 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22291 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22293 (elf_machine_lazy_rel): Likewise.
22294 * sysdeps/s390/dl-irel.h: New file.
22295 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22296 * sysdeps/s390/s390-64/memset.S: New asm code.
22297 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22298 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22299 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22300 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22301 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22302 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22304 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22305 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22306 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22307 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22308 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22309 * sysdeps/s390/s390-32/memset.S: New asm code.
22310 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22311
3b05db33
MP
223122012-07-17 Marek Polacek <polacek@redhat.com>
22313
22314 [BZ #14349]
22315 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22316 * sysdeps/s390/s390-64/configure.in: Likewise.
22317 * sysdeps/sparc/configure.in: Likewise.
22318 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22319 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22320 * sysdeps/i386/configure.in: Likewise.
22321 * sysdeps/x86_64/configure.in: Likewise.
22322 * sysdeps/sh/configure.in: Likewise.
22323 * sysdeps/s390/s390-32/configure: Regenerated.
22324 * sysdeps/s390/s390-64/configure: Likewise.
22325 * sysdeps/x86_64/configure: Likewise.
22326 * sysdeps/sh/configure: Likewise.
22327 * sysdeps/powerpc/powerpc64/configure: Likewise.
22328 * sysdeps/powerpc/powerpc32/configure: Likewise.
22329 * sysdeps/sparc/configure: Likwise.
22330 * sysdeps/i386/configure: Likewise.
22331
a66877c6
MP
22332 * elf/dl-open.c: Comment fixes.
22333
cfc82fd8
JM
223342012-07-17 Joseph Myers <joseph@codesourcery.com>
22335
bd29910a
JM
22336 * Makefile [CXX] (check-data): Remove.
22337 [CXX] (c++-types.data): New vpath directive.
22338 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22339 vpath. Do not allow for C++ type data being missing.
22340 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22341 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22342 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22343 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22344 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22345 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22346 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22348 ... here.
22349 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22351 ... here.
22352 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22354 ... here.
22355 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22357 ... here.
22358 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22360 ... here.
22361 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22363 ... here.
22364 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22366 ... here.
22367 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22369
cfc82fd8
JM
22370 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22371 definitions to architecture-specific files.
22372 (TLS_IE): Likewise.
22373 (TLS_LD): Likewise.
22374 (TLS_GD): Likewise.
22375 * sysdeps/i386/tls-macros.h: New file.
22376 * sysdeps/powerpc/tls-macros.h: Likewise.
22377 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22378 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22379 * sysdeps/sh/tls-macros.h: Likewise.
22380 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22381 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22382 * sysdeps/x86_64/tls-macros.h: Likewise.
22383
f7db3170
TS
223842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22385
07cbfc23
TS
22386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22387 zero value for regular exit case.
22388
f7db3170
TS
22389 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22390 (__start_context): Preserve zero value for regular exit case.
22391
dc97c227
TS
223922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22393 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22394
22395 * manual/setjmp.texi (setcontext): Clarify normal process
22396 termination when uc_link is the null pointer.
22397 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22398 exit call.
22399
d0cd7d02
AS
224002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22401
22402 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22403 preprocessor. Test for each exception mask separately.
22404
dd318934
AJ
224052012-07-16 Andreas Jaeger <aj@suse.de>
22406
22407 * po/ru.po: Update from translation team.
22408
8048311a
JM
224092012-07-15 Joseph Myers <joseph@codesourcery.com>
22410
22411 * conform/data/string.h-data (NULL): Use macro-constant. Require
22412 equal to 0.
22413 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22414 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22415 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22416 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22418
b637d46e
AJ
224192012-07-13 Andreas Jaeger <aj@suse.de>
22420
22421 * po/fr.po: Update from translation team.
22422
541428fe
MP
224232012-07-12 Marek Polacek <polacek@redhat.com>
22424
22425 [BZ #14173]
22426 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22427 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22428 loop condition.
22429
ec332e94
JM
224302012-07-12 Joseph Myers <joseph@codesourcery.com>
22431
22432 [BZ #13717]
22433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22434 Change to 2.4.1 where previously 2.4.0.
22435 * sysdeps/unix/sysv/linux/configure: Regenerated.
22436 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22437 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22438 version.
22439 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22440 (__ASSUME_AT_CLKTCK): Remove.
22441 (__ASSUME_AT_PAGESIZE): Likewise.
22442 (__ASSUME_AT_XID): Likewise.
22443 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22444 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22445 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22446 unconditionally.
22447 (HAVE_AUX_PAGESIZE): Likewise.
22448 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22449 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22450 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22451
7b6e99be
JB
224522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22453
22454 [BZ #14307]
22455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22456 the temporary buffer used to invoke __gethostbyname2_r,
22457 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22458 host_data / struct gaih_addrtuple.
22459 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22460 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22461 header file nss/nsswitch.h.
22462 * nss/nsswitch.h (global scope): Add definition of implementation
22463 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22464 resolv/nss_dns/dns-host.c).
22465
608404eb
AJ
224662012-07-11 Andreas Jaeger <aj@suse.de>
22467
22468 * po/fr.po: Update from translation team.
22469
71220aca
AJ
22470 * po/sv.po: Update from translation team
22471 * po/fr.po: Another update from translation team.
22472
28cfe843
AZ
224732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22474
22475 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22476 for subnormals or multiply small sinh result by itself.
22477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22479
6b90f981
DM
224802012-07-11 David S. Miller <davem@davemloft.net>
22481
22482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22483
c6825772
AS
224842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22485
22486 [BZ #14347]
22487 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22488 (INTERNAL_MARK): Shift it here.
22489
7b8e0d49
MP
224902012-07-10 Marek Polacek <polacek@redhat.com>
22491
22492 [BZ #14151]
22493 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22494 libc_cv_asm_global_directive with .globl.
22495 * configure: Regenerated.
22496 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22497 with .globl.
22498 * sysdeps/i386/configure: Regenerated.
22499 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22500 with .globl.
22501 * sysdeps/x86_64/configure: Regenerated.
22502 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22503 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22504 * elf/tst-unique2mod2.c: Likewise.
22505 * elf/tst-unique2mod1.c: Likewise.
22506 * elf/tst-unique1mod2.c: Likewise.
22507 * elf/tst-unique1mod1.c: Likewise.
22508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22509 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22511 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22512 * sysdeps/mach/sysdep.h: Likewise.
22513 * sysdeps/i386/sysdep.h: Likewise.
22514 * sysdeps/i386/i386-mcount.S: Likewise.
22515 * sysdeps/x86_64/_mcount.S: Likewise.
22516 * sysdeps/x86_64/sysdep.h: Likewise.
22517 * sysdeps/sh/_mcount.S: Likewise.
22518 * sysdeps/sh/sysdep.h: Likewise.
22519 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22520 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22521 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22522 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22523 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22524 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22525 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22526 * locale/localeinfo.h: Likewise.
22527 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22528 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22529
6c55cda3
RM
225302012-07-09 Roland McGrath <roland@hack.frob.com>
22531
22532 [BZ #14336]
22533 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22534 system".
22535 * manual/message.texi (The Uniforum approach): Likewise.
22536 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22537 (glibc iconv Implementation): Likewise.
22538
638a572e
JM
225392012-07-09 Joseph Myers <joseph@codesourcery.com>
22540
22541 [BZ #14337]
22542 * math/s_clog.c (__clog): Avoid scaling a value down where that
22543 could result in underflow.
22544 * math/s_clog10.c (__clog10): Likewise.
22545 * math/s_clog10f.c (__clog10f): Likewise.
22546 * math/s_clog10l.c (__clog10l): Likewise.
22547 * math/s_clogf.c (__clogf): Likewise.
22548 * math/s_clogl.c (__clogl): Likewise.
22549 * math/libm-test.inc (clog_test): Add more tests.
22550 (clog10_test): Likewise.
22551 * sysdeps/i386/fpu/libm-test-ulps: Update.
22552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22553
261f4859
AS
225542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22555
0abaf3e4
AS
22556 [BZ #14283]
22557 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22558 by 7 not 8 to examine high bit of fractional part.
22559
261f4859
AS
22560 [BZ #14042]
22561 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22562 for call to __mcount_internal.
22563 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22564 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22565 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22566
f17ac40d
JM
225672012-07-06 Joseph Myers <joseph@codesourcery.com>
22568
9ad63c23
JM
22569 [BZ #14154]
22570 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22571 approximation for values within 0x1p-13f of an odd multiple of
22572 pi/4.
22573 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22574 exception. Add more tests.
22575 * sysdeps/i386/fpu/libm-test-ulps: Update.
22576
f17ac40d
JM
22577 [BZ #6778]
22578 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22579 inputs and return -1 for them. Do not check for +Inf in case not
22580 reachable for +Inf.
22581 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22582 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22583 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22584 and return -1 for them. Do not check for +Inf in case not
22585 reachable for +Inf.
22586 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22587 define.
22588 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22589 and return -1 for them. Do not check for +Inf in case not
22590 reachable for +Inf.
22591 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22592 spurious underflow.
22593 * sysdeps/i386/fpu/libm-test-ulps: Update.
22594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22595
fb21f89b
MF
225962012-07-06 Mike Frysinger <vapier@gentoo.org>
22597
22598 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22599
cdfe2c5e
JM
226002012-07-05 Joseph Myers <joseph@codesourcery.com>
22601
22602 [BZ #14157]
22603 [BZ #14331]
22604 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22605 could result in spurious underflow. Scale down values above
22606 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22607 * math/s_csqrtf.c (__csqrtf): Likewise.
22608 * math/s_csqrtl.c (__csqrtl): Likewise.
22609 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22610 spurious underflow.
22611 * sysdeps/i386/fpu/libm-test-ulps: Update.
22612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22613
70d35b67
AS
226142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22615
704bc459
AS
22616 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22617 xopen-msg.sed.
22618 * catgets/xopen-msg.awk: New file.
22619 * catgets/xopen-msg.sed: Removed.
22620
70d35b67
AS
22621 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22622 po2text.sed.
22623 * intl/po2test.awk: New file.
22624 * intl/po2test.sed: Removed.
22625
ca61cf32
JM
226262012-07-04 Joseph Myers <joseph@codesourcery.com>
22627
22628 [BZ #14328]
22629 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22630 or multiply small sinh result by itself.
22631 * math/s_ctanf.c (__ctanf): Likewise.
22632 * math/s_ctanh.c (__ctanh): Likewise.
22633 * math/s_ctanhf.c (__ctanhf): Likewise.
22634 * math/s_ctanhl.c (__ctanhl): Likewise.
22635 * math/s_ctanl.c (__ctanl): Likewise.
22636 * math/libm-test.inc (ctan_test_tonearest): New function.
22637 (ctan_test_towardzero): Likewise.
22638 (ctan_test_downward): Likewise.
22639 (ctan_test_upward): Likewise.
22640 (ctanh_test_tonearest): Likewise.
22641 (ctanh_test_towardzero): Likewise.
22642 (ctanh_test_downward): Likewise.
22643 (ctanh_test_upward): Likewise.
22644 (main): Call these new functions.
22645 * sysdeps/i386/fpu/libm-test-ulps: Update.
22646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647
ca48a46a
MF
226482012-07-03 Mike Frysinger <vapier@gentoo.org>
22649
22650 * .gitignore: Delete /ports entry.
22651
9d63d37d
AJ
226522012-07-03 Andreas Jaeger <aj@suse.de>
22653
22654 * po/bg.po: Update from translation team.
22655 * po/cs.po: Likewise.
22656 * po/de.po: Likewise.
22657 * po/hr.po: Likewise.
22658 * po/nl.pl: Likewise.
22659 * po/pl.po: Likewise.
22660 * po/vi.po: Likewise.
22661
370ca3d2
JM
226622012-07-03 Joseph Myers <joseph@codesourcery.com>
22663
95f5a9a8
JM
22664 * Makeconfig [!+link] (+link-before-libc): New variable.
22665 [!+link] (+link-after-libc): Likewise.
22666 [!+link] (+link-tests): Likewise.
22667 [!+link] (+link): Define in terms of $(+link-before-libc) and
22668 $(+link-after-libc).
22669 [!+link-static] (+link-static-before-libc): New variable.
22670 [!+link-static] (+link-static-after-libc): Likewise.
22671 [!+link-static] (+link-static-tests): Likewise.
22672 [!+link-static] (+link-static): Define in terms of
22673 $(+link-static-before-libc) and $(+link-static-after-libc).
22674 [build-shared] (link-libc-before-gnulib): New variable.
22675 [build-shared] (link-libc-tests): Likewise.
22676 [build-shared] (link-libc): Define in terms of
22677 $(link-libc-before-gnulib).
22678 [!build-shared] (link-libc-tests): New variable.
22679 (link-libc-static-tests): New variable.
22680 [!gnulib] (gnulib-arch): New variable.
22681 [!gnulib] (gnulib-tests): Likewise.
22682 [!gnulib] (static-gnulib-arch): Likewise.
22683 [!gnulib] (static-gnulib-tests): Likewise.
22684 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22685 Define with "=" instead of ":=".
22686 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22687 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22688 * Rules (binaries-all-notests): New variable.
22689 (binaries-all-tests): Likewise.
22690 (binaries-static-notests): Likewise.
22691 (binaries-static-tests): Likewise.
22692 (binaries-all): Define using $(binaries-all-notests) and
22693 $(binaries-all-tests).
22694 (binaries-static): Define using $(binaries-static-notests) and
22695 $(binaries-static-tests).
22696 (binaries-shared-tests): New variable.
22697 (binaries-shared-notests): Likewise.
22698 (binaries-shared): Remove variable.
22699 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22700 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22701 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22702 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22703 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22704 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22705 * elf/Makefile (sln-modules): New variable.
22706 (extra-objs): Add $(sln-modules:=.o).
22707 (ldconfig-modules): Add static-stubs.
22708 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22709 * elf/static-stubs.c: New file.
22710
7a845b2c
JM
22711 [BZ #14283]
22712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22713 by 7 not 8 to examine high bit of fractional part. Use volatile
22714 variables when splitting into final array of floats if
22715 __FLT_EVAL_METHOD__ != 0.
22716 * math/libm-test.inc (cos_test): Add another test.
22717 (sin_test): Likewise.
22718 * sysdeps/i386/fpu/libm-test-ulps: Update.
22719
e2283f38
JM
22720 [BZ #14273]
22721 * math/libm-test.inc (cosh_test): Add more tests.
22722
370ca3d2
JM
22723 * version.h (RELEASE): Set to "development".
22724 (VERSION): Set to "2.16.90".
22725
ee9247c3
CD
227262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22727
22728 * NEWS: Update copyright. Remove last-updated date.
22729 Mention math library bug fixes and timezone data changes.
22730 * README: Mention GNU/Hurd, x32, and HPPA support status.
22731
4648c381
TS
227322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22733
22734 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22735
aac78a43
AJ
227362012-06-27 Andreas Jaeger <aj@suse.de>
22737
22738 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22739
ed3dbfad
AJ
227402012-06-25 Andreas Jaeger <aj@suse.de>
22741
22742 * sysdeps/s390/fpu/libm-test-ulps: Update.
22743
4d0ee855
AS
227442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22745 Thomas Schwinge <thomas@codesourcery.com>
22746
22747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22748 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22750 fanotify_mark.
22751
af1bce34
TS
227522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22753
a9fa33ba
TS
22754 * sysdeps/mach/start.c: Remove file.
22755 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22756 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22757 * sysdeps/sh/init-first.c: Likewise.
22758
58f902b8
TS
22759 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22760 registers for frame unwinding purposes, add CFI directives.
22761 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22762 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22763 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22764 Likewise.
22765
1518f58b
TS
22766 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22767 __fortify_fail returning.
22768 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22769
db9b5059
TS
22770 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22771 sysdeps/sh/____longjmp_chk.S.
22772 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22773 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22774 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22775 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22776
967705fe
TS
22777 * sysdeps/sh/abort-instr.h: New file.
22778 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22779 process in case exit returns.
22780
a9def8c4
TS
22781 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22782 initialize the GOT register before use.
22783
2a649725
TS
22784 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22785 calculation of ARGC > 4.
22786
af1bce34
TS
22787 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22788 meaningful names to some local labels.
22789
d230f50a
KK
227902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22791 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22792
22793 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22794 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22795 (__arch_compare_and_exchange_val_16_acq): Likewise.
22796 (__arch_compare_and_exchange_val_32_acq): Likewise.
22797 (atomic_exchange_and_add): Fix gUSA sequence.
22798 (atomic_add): Likewise.
22799 (atomic_add_negative): Likewise.
22800 (atomic_add_zero): Likewise.
22801 (atomic_bit_test_set): Likewise.
22802
0479b305
AS
228032012-06-22 Andreas Schwab <schwab@redhat.com>
22804
22805 [BZ #13579]
22806 * include/link.h (struct link_map): Add l_free_initfini.
22807 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22808 l_initfini.
22809 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22810 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22811 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22812 set.
22813
0e3933b9
CD
228142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22815
22816 * configure.in: Use AC_LANG_SOURCE.
22817 * configure: Regenerate.
22818
4248b1b1
RM
228192012-06-22 Roland McGrath <roland@hack.frob.com>
22820
22821 * configure.in (libc_cv_localstatedir): New substituted variable.
22822 * configure: Regenerated.
22823 * config.make.in (localstatedir): New variable, substituted from
22824 libc_cv_localstatedir.
22825 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22826 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22827 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22828 * sysdeps/gnu/configure: Regenerated.
22829
006dd861
JL
228302012-06-21 Jeff Law <law@redhat.com>
22831
22832 [BZ #14277]
22833 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22834 free. Simplify list management for _LIBC case.
22835
79662d42
JM
228362012-06-21 Joseph Myers <joseph@codesourcery.com>
22837
b7abb4bf
JM
22838 [BZ #14273]
22839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22840 Clear sign bit of 64-bit integer value before comparing against
22841 overflow value.
22842
79662d42
JM
22843 * sysdeps/mach/configure: Regenerated.
22844
1f150908
L
228452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22846
22847 [BZ #14278]
22848 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22849
28363bbf
JL
228502012-06-21 Jeff Law <law@redhat.com>
22851
22852 [BZ #13882]
22853 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22854 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22855 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22856 * elf/dl-open.c (dl_open_worker): Likewise.
22857
09615db4
CD
228582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22859
22860 * scripts/list-sources.sh: Scan PORTS for translations.
22861 * po/libc.pot: Regenerated.
22862
2174c6dd
AJ
228632012-06-21 Andreas Jaeger <aj@suse.de>
22864
22865 [BZ #12194]
22866 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22867 warning.
22868 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22869 * bits/byteswap-16.h (__bswap_16): Likewise.
22870 * bits/byteswap.h (__bswap_constant_16): Likewise.
22871
3ee947b1
L
228722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 [BZ #14117]
a2f34833
L
22875 * sysdeps/i386/fpu_control.h: Removed.
22876 * sysdeps/x86_64/fpu_control.h: Moved to ...
22877 * sysdeps/x86/fpu_control.h: Here.
22878
3ee947b1
L
22879 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22880 (_FPU_SETCW): Likewise.
22881
ed1825f8
L
228822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22883
25f1282a
L
22884 [BZ #14117]
22885 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22886 * sysdeps/x86/fpu/bits/mathinline.h: This.
22887 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22888
ed1825f8
L
22889 [BZ #14050]
22890 [BZ #14117]
22891 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22892 functions if __x86_64__ is defined.
22893
36d54b74
CLT
228942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22895
22896 * string/endian.h: Add !__ASSEMBLER__ condition for including
22897 conversion interfaces.
22898
10285c21
JM
228992012-06-15 Joseph Myers <joseph@codesourcery.com>
22900
22901 [BZ #14241]
22902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22903 of ABS(x) in calculating zero to negative powers other than odd
22904 integers.
22905 * math/libm-test.inc (pow_test): Add more tests.
22906
06c5abbd
AJ
229072012-06-15 Andreas Jaeger <aj@suse.de>
22908
22909 * manual/contrib.texi (Contributors): Update entry of Liubov
22910 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22911 Machado Filho.
22912
a3aeac40
CH
229132012-06-15 Cyril Hrubis <metan@ucw.cz>
22914
22915 * string/string.h: Add __wur to GNU version of strerror_r.
22916
49bdf4c1
L
229172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22918
22919 [BZ #14229]
22920 * string/Makefile (tests): Add tst-strtok_r.
22921 * string/tst-strtok_r.c: New file.
22922 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22923 RAX_LP/RDX_LP on SAVE_PTR.
22924
834f9b8d
RM
229252012-06-14 Roland McGrath <roland@hack.frob.com>
22926
22927 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22928
75fa1921
JM
229292012-06-14 Joseph Myers <joseph@codesourcery.com>
22930
22931 * libm_test.inc (csqrt_test): Allow more spurious underflow
22932 exceptions.
22933 (j0_test): Likewise.
22934 (j1_test): Likewise.
22935 (y0_test): Likewise.
22936 (y1_test): Likewise.
22937
771766df
CD
229382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22939
22940 * po/Makefile (libc.pot): Use UTF-8 charset.
22941
ceb9e56b
PP
229422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22943
22944 [BZ #14210]
22945 Suppress sign-conversion warning from FD_SET.
22946 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22947 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22948 not unsigned long int.
22949 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22950
ddb28975
L
229512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22952
22953 [BZ #14050]
22954 [BZ #14117]
22955 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22956 __extern_always_inline instead of __extern_inline.
22957 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22958 (__signbit): Likewise.
22959 (__signbitl): Support C++ namespace.
22960 (lrintf): New inline function.
22961 (lrint): Likewise.
22962 (llrintf): Likewise.
22963 (llrint): Likewise.
22964 (fmaxf): Likewise.
22965 (fmax): Likewise.
22966 (fminf): Likewise.
22967 (fmin): Likewise.
22968 (rint): Likewise.
22969 (rintf): Likewise.
22970 (ceil): Likewise.
22971 (ceilf): Likewise.
22972 (floor): Likewise.
22973 (floorf): Likewise.
22974 (nearbyint): Likewise.
22975 (nearbyintf): Likewise.
22976
d7b4fb26
TS
229772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22978
22979 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22980 non-default versions.
22981
eb55f5c2
RM
229822012-06-11 Roland McGrath <roland@hack.frob.com>
22983
22984 [BZ #14218]
22985 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22986
366af02c
TS
229872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22988
99ff6e5c
TS
22989 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22990 (FE_UPWARD, FE_DOWNWARD): Don't define.
22991 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22992 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22993
366af02c
TS
22994 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22995 reading it.
22996 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22997 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22998
793ea851
KK
229992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23000
23001 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23003 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23004 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23005
a728a38f
L
230062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 [BZ #14117]
c08010c7
L
23009 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23010 * sysdeps/i386/fpu/Implies: New file.
23011 * sysdeps/x86_64/fpu/Implies: Likewise.
23012 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23013 * sysdeps/x86/fpu/bits/fenv.h: This.
23014
a728a38f
L
23015 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23016 __SSE_MATH__.
23017
6e230d11
SP
230182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23019
23020 [BZ #14134]
23021 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23022 character 0xffff that matches the last element of the
23023 conversion table.
23024
1b671feb
AZ
230252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23026
23027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23028 fmodl commit.
23029
6043738b
AZ
230302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23031
23032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23033 values higher than 25.6283.
23034
34ae0b32
AZ
230352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23036
23037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23038 subnormal exponent extraction and add some __builtin_expect.
23039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23040 Fix for subnormal mantissa calculation.
23041
1214ec8f
MF
230422012-06-04 Mike Frysinger <vapier@gentoo.org>
23043
23044 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23045 cpu2 is -1 and errno is not ENOSYS.
23046
f3d1f93c
L
230472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23048
23049 [BZ #14117]
0e4a3cd7
L
23050 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23051 * sysdeps/x86/bits/string.h: This.
23052 * sysdeps/x86_64/bits/string.h: Removed.
23053
6704c645
L
23054 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23055 if not compiling for x86-64, but compiling for >= i486.
23056
48495318
L
23057 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23058 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23059
14adcbfc
L
23060 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23061 New macro from Linux kernel 3.4.0.
23062 (FP_XSTATE_MAGIC2): Likewise.
23063 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23064 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23065 (struct _fpx_sw_bytes): New struct.
23066 (struct _xsave_hdr): Likewise.
23067 (struct _ymmh_state): Likewise.
23068 (struct _xstate): Likewise.
23069
68e408ab
L
23070 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23071 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23072 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23073 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23074 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23075 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23076
f3d1f93c
L
23077 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23078 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23079 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23080 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23081 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23082 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23083
d9dc34cd
TMQMF
230842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23085
23086 [BZ #13743]
23087 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23088 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23089 (sysdep_headers): Include sys/platform/ppc.h.
23090 * sysdeps/powerpc/test-gettimebase.c: Test for
23091 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23092 * manual/Makefile (appendices): Include platform.texi.
23093 * manual/contrib.texi (Contributors): Update @node pointers.
23094 * manual/maint.texi (Maintenance): Likewise.
23095 (Platform): New node.
23096 * manual/platform.texi: New file. Document the new features.
23097
4af3879c
SP
230982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23099 Jakub Jelinek <jakub@redhat.com>
23100
23101 [BZ #14188]
23102 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23103 where __builtin_expect is unavailable.
23104
2fd6ff13
DM
231052012-06-03 David S. Miller <davem@davemloft.net>
23106
23107 * stdlib/longlong.h: Updated from GCC.
23108
173f7220
AS
231092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23110
23111 [BZ #14042]
23112 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23113 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23114 __mcount_internal.
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23116 (GLIBC_2.16): Likewise.
23117
f34a1c6f
L
231182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23119
23120 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23121
88a4576f
JM
231222012-06-01 Joseph Myers <joseph@codesourcery.com>
23123
ea32bcdd
JM
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23125 (default-abi): New variable.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23127 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23128 variable.
23129 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23130 Likewise.
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23132 Likewise.
23133 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23134 Likewise.
23135
88a4576f
JM
23136 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23137 definition. Document in comment.
23138
402fe938
DM
231392012-06-01 David S. Miller <davem@davemloft.net>
23140
23141 * stdlib/longlong.h: Updated from GCC.
23142
3553723f
L
231432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23144
23145 [BZ #14117]
3bd872c4
L
23146 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23147 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23148 sys/debugreg.h sys/io.h here.
23149 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23150 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23151 sys/io.h.
23152 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23153 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23154 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23155 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23156 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23157 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23158
3553723f
L
23159 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23160 Define only if __x86_64__ is defined.
23161
4842e4fe
JM
231622012-06-01 Joseph Myers <joseph@codesourcery.com>
23163
c5bfe3d5
JM
23164 [BZ #14048]
23165 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23166 Use int64_t for variable i.
23167 * math/libm-test.inc (fmod_test): Add more tests.
23168
4842e4fe
JM
23169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23170 z computation is not scheduled after fetestexcept.
23171 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23172 Use math_force_eval instead of asm to ensure calculation scheduled
23173 before exception test.
23174 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23175 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23176
efb73488
AJ
231772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23178
23179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23180 computation is not scheduled after fetestexcept.
23181
29bcce7c
L
231822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23183
23184 [BZ #14117]
23185 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23187
73a68f94
AZ
231882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23189
23190 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23191 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23192
67b6df78
L
231932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23194
edf2933a 23195 [BZ #14117]
ebc64a18
L
23196 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23197 <bits/wordsize.h>.
23198 (__WCHAR_MIN): Support __WORDSIZE == 64.
23199 (__WCHAR_MAX): Likewise.
23200
edf2933a
L
23201 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23202 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23203
57c6cf40
L
23204 [BZ #14183]
23205 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23206 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23207
67b6df78 23208 [BZ #14117]
8eb6281e
L
23209 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23210 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23211
aac639f4
L
23212 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23213 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23214
67b6df78
L
23215 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23216 Defined to 1 if __x86_64__ isn't defined.
23217 (_STAT_VER_LINUX_OLD): New.
23218 (st_atime): Remove duplicate.
23219 (st_mtime): Likewise.
23220 (st_ctime): Likewise.
23221
1c2cfe81
DM
232222012-05-31 David S. Miller <davem@davemloft.net>
23223
23224 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23225 entries.
23226
5be8418c
AS
232272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23228
e7725326
AS
23229 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23230 gen-libm-test.pl.
23231
5be8418c
AS
23232 [BZ #14132]
23233 * elf/dl-reloc.c: Include <_itoa.h>.
23234 (_dl_reloc_bad_type): Remove use of INTUSE.
23235 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23236 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23237 * stdio-common/psiginfo.c (psiginfo): Likewise.
23238 * stdio-common/psignal.c (psignal): Likewise.
23239 * string/strsignal.c (strsignal): Likewise.
23240 * include/signal.h (_sys_siglist): Declare hidden proto.
23241 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23242 INTVARDEF with libc_hidden_data_def.
23243 * stdio-common/itoa-udigits.c: Likewise.
23244 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23245 (_itoa_lower_digits_internal): Remove declaration.
23246 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23247 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23248 (_sys_sigabbrev_internal): Remove aliases.
23249 (_sys_siglist): Define hidden alias.
23250
507352f1
MT
232512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23252
23253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23254 bits/sysctl.h.
23255
42bbb1c3
L
232562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23257
23258 [BZ #14117]
6bd784b6
L
23259 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23260 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23261
8bca20f0
L
23262 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23263 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23264 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23265 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23267 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23268
f9e890a9
L
23269 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23270 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23271 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23272
471101a1
L
23273 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23274 with __addr.
23275 (insw): Likewise.
23276 (insl): Likewise.
23277 (outsb): Likewise.
23278 (outsw): Likewise.
23279 (outsl): Likewise.
23280
6451c862
L
23281 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23282 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23283 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23284
a254b8c9
L
23285 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23286 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23287 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23288 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23289 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23290 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23291
b8dfdd92
L
23292 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23293 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23294
578cd270
L
23295 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23296 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23297
de662f5f
L
23298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23301
25653439
L
23302 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23303 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23304 to ...
23305 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23306
6bad24a0
L
23307 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23308 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23309 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23310
42bbb1c3
L
23311 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23312 for x86-64.
23313 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23314
2d10d547
JM
233152012-05-31 Joseph Myers <joseph@codesourcery.com>
23316
23317 * math/math.h (M_El): Use two more decimal places.
23318 (M_LOG2El): Likewise.
23319 (M_LOG10El): Likewise.
23320 (M_LN2l): Likewise.
23321 (M_LN10l): Likewise.
23322 (M_PIl): Likewise.
23323 (M_PI_2l): Likewise.
23324 (M_PI_4l): Likewise.
23325 (M_1_PIl): Likewise.
23326 (M_2_PIl): Likewise.
23327 (M_2_SQRTPIl): Likewise.
23328 (M_SQRT2l): Likewise.
23329 (M_SQRT1_2l): Likewise.
23330
f230c29b
DM
233312012-05-31 David S. Miller <davem@davemloft.net>
23332
23333 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23334 values between float registers.
23335 * sysdeps/sparc/sparc64/memset.S: Likewise.
23336 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23337
fed806c3
MF
233382012-05-31 Mike Frysinger <vapier@gentoo.org>
23339
23340 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23341 -D_FORTIFY_SOURCE=1.
23342 (CPPFLAGS-tst-longjmp_chk.c): Define.
23343 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23344 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23345 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23346 CFLAGS-tst-wchar-h.c.
23347
30917259
MP
233482012-05-31 Marek Polacek <polacek@redhat.com>
23349
23350 [BZ #14132]
23351 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23352 __endmntent_internal): Remove declaration.
23353 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23354 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23355 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23356
1c58d5dc
DM
233572012-05-30 David S. Miller <davem@davemloft.net>
23358
23359 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23360 (___Q_simulate_exceptions): Use real FP ops rather than writing
23361 into the %fsr.
23362 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23363 Likewise.
23364
7dc00e0d
L
233652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23366
23367 [BZ #14117]
0bd53985
L
23368 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23369 * sysdeps/x86/bits/xtitypes.h: This.
23370
3a257e66
L
23371 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23372 * sysdeps/x86/bits/wordsize.h: This.
23373
62f62904
L
23374 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23375 * sysdeps/x86/bits/huge_vall.h: This.
23376
404fe9d9
L
23377 * sysdeps/i386/bits/select.h: Removed.
23378 * sysdeps/x86_64/bits/select.h: Renamed to ...
23379 * sysdeps/x86/bits/select.h: This.
23380
d48d0446
L
23381 * sysdeps/i386/bits/setjmp.h: Removed.
23382 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23383 * sysdeps/x86/bits/setjmp.h: This.
23384
7dc00e0d
L
23385 * sysdeps/i386/bits/mathdef.h: Removed.
23386 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23387 * sysdeps/x86/bits/mathdef.h: This.
23388
03277f8f
AS
233892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23390
23391 [BZ #14132]
23392 * include/sys/socket.h (__connect_internal)
23393 (__libc_sa_len_internal): Remove declaration.
23394 (__connect, __libc_sa_len): Declare hidden_proto.
23395 (SA_LEN): Remove use of INTUSE.
23396 * socket/connect.c: Add libc_hidden_def.
23397 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23398 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23399 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23400 alias.
23401 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23403 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23404 of adding _internal alias.
23405
13764867
L
234062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 [BZ #14117]
6bd97696
L
23409 * sysdeps/i386/bits/link.h: Removed.
23410 * sysdeps/i386/bits/linkmap.h: Likewise.
23411 * sysdeps/x86_64/bits/link.h: Renamed to ...
23412 * sysdeps/x86/bits/link.h: This.
23413 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23414 * sysdeps/x86/bits/linkmap.h: This.
23415
f726f0bb
L
23416 * sysdeps/i386/bits/endian.h: Removed.
23417 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23418 * sysdeps/x86/bits/endian.h: This.
23419
13764867
L
23420 * sysdeps/i386/bits/byteswap.h: Removed.
23421 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23422 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23423 * sysdeps/x86/bits/byteswap.h: This.
23424 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23425 * sysdeps/x86/bits/byteswap-16.h: This.
23426 * sysdeps/i386/Implies: Add x86.
23427 * sysdeps/x86_64/Implies: Likewise.
23428
ae251b0b
DM
234292012-05-30 David S. Miller <davem@davemloft.net>
23430
23431 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23432 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23433 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23434 (FP_TRAPPING_EXCEPTIONS): Define.
23435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23436 (FP_TRAPPING_EXCEPTIONS): Define.
23437 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23438 subnormals only when inexact has been signalled or underflow
23439 exceptions are enabled.
23440 (_FP_PACK_CANONICAL): Likewise.
23441
d5c90867
L
234422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23443
23444 [BZ #14183]
23445 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23446 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23447
63f1549e
RH
234482012-05-30 Richard Henderson <rth@twiddle.net>
23449
8d8f2279
RH
23450 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23451 with #ifndef NOT_IN_libc.
23452
63f1549e
RH
23453 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23454 marked to avoid plt entry.
23455
0ab0291b
L
234562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23457
23458 [BZ #14112]
23459 * Makeconfig (default-abi): New macro.
23460 (abi-includes): Likewise.
23461 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23462 $(abi-$(default-abi)-lib-soname) for soname if defined.
23463 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23464 abi-variants.
23465 * Makefile (installed-stubs): Likewise.
23466 * include/stubs-biarch.h: Removed.
23467 * scripts/lib-names.awk: Only handle one library at a time.
23468 * scripts/soversions.awk: Remove WORDSIZE support.
23469 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23470 entries.
23471 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23472 Removed.
23473 (syscall-list-default-condition): Likewise.
23474 (syscall-list-default-condition): Likewise.
23475 (syscall-list-includes): Likewise.
23476 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23477 syscall-list-* with abi-*. Handle undefined abi-variants.
23478 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23479 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23480 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23481 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23482 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23483 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23484 Removed.
23485 (syscall-list-32-options): Likewise.
23486 (syscall-list-32-condition): Likewise.
23487 (syscall-list-64-options): Likewise.
23488 (syscall-list-64-condition): Likewise.
23489 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23490 macro.
23491 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23492 Renamed to ...
23493 (abi-*): This.
23494 (abi-64-ld-soname): New macro.
23495 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23496 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23497 Renamed to ...
23498 (abi-*): This.
23499 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23500 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23501
4da0431d
JM
235022012-05-30 Joseph Myers <joseph@codesourcery.com>
23503
3a85279c
JM
23504 * sysdeps/unix/sysv/linux/kernel-features.h
23505 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23506 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23507 include <kernel-features.h>.
23508 [!__NR_ftruncate64]: Remove conditional code.
23509 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23510 [__NR_ftruncate64]: Make code unconditional.
23511 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23512 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23513 include <kernel-features.h>.
23514 [!__NR_ftruncate64]: Remove conditional code.
23515 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23516 [__NR_ftruncate64]: Make code unconditional.
23517 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23519 include <kernel-features.h>.
23520 [!__NR_ftruncate64]: Remove conditional code.
23521 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23522 [__NR_ftruncate64]: Make code unconditional.
23523 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23525 include <kernel-features.h>.
23526 [!__NR_ftruncate64]: Remove conditional code.
23527 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23528 [__NR_ftruncate64]: Make code unconditional.
23529 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23530
4da0431d
JM
23531 * configure.in (libc_cv_fpie): Weaken to a compile test using
23532 LIBC_TRY_CC_OPTION.
23533 * configure: Regenerated.
23534
11ef492c
AK
235352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23536
23537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23541 Refreshed.
23542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23548 Refreshed.
23549
d66ef399
DM
235502012-05-27 David S. Miller <davem@davemloft.net>
23551
23552 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23553 (___Q_zero): New.
23554 (__Q_simulate_exceptions): Return void. Change to simulate
23555 exceptions by writing into the %fsr.
23556 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23557 (__Qp_handle_exceptions): Likewise.
23558 (numbers): Delete.
23559 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23560 __Qp_handle_exceptions.
23561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23562 __Qp_handle_exceptions.
23563 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23564 as unused and give dummy FP_RND_NEAREST initializer.
23565 (FP_INHIBIT_RESULTS): Define.
23566 (___Q_simulate_exceptions): Update declaration.
23567 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23568 formatting.
23569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23570 as unused and give dummy FP_RND_NEAREST initializer.
23571 (__Qp_handle_exceptions): Update declaration.
23572 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23573 formatting.
23574
04fb54b5
TS
235752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23576
23577 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23578 the temporary FPU control word.
23579 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23580 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23581 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23582 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23583 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23584 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23585 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23587 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23588 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23590
3f99608f
KK
235912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23592
23593 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23594 fields.
23595
65a4de4e
CLT
235962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23597
23598 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23599 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23600 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23601 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23602 Likewise.
23603 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23604 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23605 Likewise.
23606
15749d40
UD
236072012-05-27 Ulrich Drepper <drepper@gmail.com>
23608
23609 * po/h.po: Update from translation team.
23610
25dbcb27
AS
236112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23612
3d3f8e55
AS
23613 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23614
25dbcb27
AS
23615 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23616 handling of denormals.
23617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23618 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23619 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23620 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23624 Likewise.
23625
7ad47a80 236262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
23627
23628 [BZ #14152]
23629 * math/libm-test.inc (fma_test): Don't always expect underflow
23630 exception.
23631
9c6ea9fa
SP
236322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23633
23634 [BZ #12416]
23635 * elf/tst-execstack.c: Include stackinfo.h.
23636 (do_test): Adjust test case to ensure that pthread_getattr_np
23637 behaviour remains the same after marking stack executable.
23638
a8239222
JM
236392012-05-25 Joseph Myers <joseph@codesourcery.com>
23640
23641 * sysdeps/unix/sysv/linux/kernel-features.h
23642 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23643 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23644 kernel-features.h.
23645 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23646 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23647 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23648 kernel-features.h.
23649 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23650 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23651
918b5606
L
236522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23653
23654 * configure.in: Define the default includes to being none.
23655 * configure: Regenerated.
23656
3a097cc7
RM
236572012-05-25 Roland McGrath <roland@hack.frob.com>
23658
8422c9a5
RM
23659 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23660 * sysdeps/x86_64/setjmp.S: Likewise.
23661 * sysdeps/i386/bsd-setjmp.S: Likewise.
23662 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23663 * sysdeps/i386/setjmp.S: Likewise.
23664 * sysdeps/i386/__longjmp.S: Likewise.
23665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23666 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23667
3a097cc7
RM
23668 * include/stap-probe.h: New file.
23669 * configure.in: Handle --enable-systemtap.
23670 * configure: Regenerated.
23671 * config.h.in (USE_STAP_PROBE): New #undef.
23672 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23673 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23674 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23675
21708942
JM
236762012-05-25 Joseph Myers <joseph@codesourcery.com>
23677
23678 [BZ #13717]
23679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23680 to 2.4.0 where earlier.
23681 * sysdeps/unix/sysv/linux/configure: Regenerated.
23682 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23683 <kernel-features.h>.
23684 [__ASSUME_32BITUIDS]: Make code unconditional.
23685 [!__ASSUME_32BITUIDS]: Remove conditional code.
23686 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23687 <kernel-features.h>.
23688 [__ASSUME_32BITUIDS]: Make code unconditional.
23689 [!__ASSUME_32BITUIDS]: Remove conditional code.
23690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23691 [__ASSUME_32BITUIDS]: Make code unconditional.
23692 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23693 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23694 <kernel-features.h>.
23695 [__ASSUME_32BITUIDS]: Make code unconditional.
23696 [!__ASSUME_32BITUIDS]: Remove conditional code.
23697 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23698 <kernel-features.h>.
23699 [__ASSUME_32BITUIDS]: Make code unconditional.
23700 [!__ASSUME_32BITUIDS]: Remove conditional code.
23701 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23702 <kernel-features.h>.
23703 [__ASSUME_32BITUIDS]: Make code unconditional.
23704 [!__ASSUME_32BITUIDS]: Remove conditional code.
23705 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23706 <kernel-features.h>.
23707 [__ASSUME_32BITUIDS]: Make code unconditional.
23708 [!__ASSUME_32BITUIDS]: Remove conditional code.
23709 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23710 <kernel-features.h>.
23711 [__ASSUME_32BITUIDS]: Make code unconditional.
23712 [!__ASSUME_32BITUIDS]: Remove conditional code.
23713 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23714 <kernel-features.h>.
23715 [__ASSUME_32BITUIDS]: Make code unconditional.
23716 [!__ASSUME_32BITUIDS]: Remove conditional code.
23717 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23718 <kernel-features.h>.
23719 [__ASSUME_32BITUIDS]: Make code unconditional.
23720 [!__ASSUME_32BITUIDS]: Remove conditional code.
23721 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23722 <kernel-features.h>.
23723 [__ASSUME_32BITUIDS]: Make code unconditional.
23724 [!__ASSUME_32BITUIDS]: Remove conditional code.
23725 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23726 <kernel-features.h>.
23727 [__ASSUME_32BITUIDS]: Make code unconditional.
23728 [!__ASSUME_32BITUIDS]: Remove conditional code.
23729 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23730 <kernel-features.h>.
23731 [__ASSUME_32BITUIDS]: Make code unconditional.
23732 [!__ASSUME_32BITUIDS]: Remove conditional code.
23733 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23734 <kernel-features.h>.
23735 [__NR_setresgid] (__setresgid): Do not declare.
23736 [__ASSUME_32BITUIDS]: Make code unconditional.
23737 [!__ASSUME_32BITUIDS]: Remove conditional code.
23738 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23739 <kernel-features.h>.
23740 [__NR_setresuid] (__setresuid): Do not declare.
23741 [__ASSUME_32BITUIDS]: Make code unconditional.
23742 [!__ASSUME_32BITUIDS]: Remove conditional code.
23743 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23744 <kernel-features.h>.
23745 [__ASSUME_32BITUIDS]: Make code unconditional.
23746 [!__ASSUME_32BITUIDS]: Remove conditional code.
23747 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23748 <kernel-features.h>.
23749 [__ASSUME_32BITUIDS]: Make code unconditional.
23750 [!__ASSUME_32BITUIDS]: Remove conditional code.
23751 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23752 <kernel-features.h>.
23753 [__ASSUME_32BITUIDS]: Make code unconditional.
23754 [!__ASSUME_32BITUIDS]: Remove conditional code.
23755 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23756 <kernel-features.h>.
23757 [__ASSUME_32BITUIDS]: Make code unconditional.
23758 [!__ASSUME_32BITUIDS]: Remove conditional code.
23759 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23760 <kernel-features.h>.
23761 [__ASSUME_32BITUIDS]: Make code unconditional.
23762 [!__ASSUME_32BITUIDS]: Remove conditional code.
23763 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23764 <kernel-features.h>.
23765 [__ASSUME_32BITUIDS]: Make code unconditional.
23766 [!__ASSUME_32BITUIDS]: Remove conditional code.
23767 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23768 <kernel-features.h>.
23769 [__ASSUME_32BITUIDS]: Make code unconditional.
23770 [!__ASSUME_32BITUIDS]: Remove conditional code.
23771 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23772 <kernel-features.h>.
23773 [__ASSUME_32BITUIDS]: Make code unconditional.
23774 [!__ASSUME_32BITUIDS]: Remove conditional code.
23775 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23776 <kernel-features.h>.
23777 [__ASSUME_32BITUIDS]: Make code unconditional.
23778 [!__ASSUME_32BITUIDS]: Remove conditional code.
23779 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23780 <kernel-features.h>.
23781 [__ASSUME_32BITUIDS]: Make code unconditional.
23782 [!__ASSUME_32BITUIDS]: Remove conditional code.
23783 * sysdeps/unix/sysv/linux/kernel-features.h
23784 (__ASSUME_SETRESUID_SYSCALL): Remove.
23785 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23786 (__ASSUME_32BITUIDS): Likewise.
23787 (__ASSUME_LDT_WORKS): Likewise.
23788 (__ASSUME_O_DIRECTORY): Likewise.
23789 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23790 architecture but not kernel version.
23791 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23792 (__ASSUME_MMAP2_SYSCALL): Likewise.
23793 (__ASSUME_STAT64_SYSCALL): Likewise.
23794 (__ASSUME_IPC64): Likewise.
23795 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23796 <kernel-features.h>.
23797 [__ASSUME_32BITUIDS]: Make code unconditional.
23798 [!__ASSUME_32BITUIDS]: Remove conditional code.
23799 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23800 <kernel-features.h>.
23801 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23802 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23803 132096]: Remove conditional code.
23804 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23805 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23806 <kernel-features.h>.
23807 [__ASSUME_32BITUIDS]: Make code unconditional.
23808 [!__ASSUME_32BITUIDS]: Remove conditional code.
23809 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23810 <kernel-features.h>.
23811 [__ASSUME_32BITUIDS]: Make code unconditional.
23812 [!__ASSUME_32BITUIDS]: Remove conditional code.
23813 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23814 <kernel-features.h>.
23815 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23816 unconditional.
23817 (__setresgid): Do not declare.
23818 [__ASSUME_32BITUIDS]: Make code unconditional.
23819 [!__ASSUME_32BITUIDS]: Remove conditional code.
23820 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23821 <kernel-features.h>.
23822 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23823 unconditional.
23824 (__setresuid): Do not declare.
23825 [__ASSUME_32BITUIDS]: Make code unconditional.
23826 [!__ASSUME_32BITUIDS]: Remove conditional code.
23827 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23828 <kernel-features.h>.
23829 [__ASSUME_32BITUIDS]: Make code unconditional.
23830 [!__ASSUME_32BITUIDS]: Remove conditional code.
23831 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23832 <kernel-features.h>.
23833 [__ASSUME_32BITUIDS]: Make code unconditional.
23834 [!__ASSUME_32BITUIDS]: Remove conditional code.
23835
a386f1cc
RH
238362012-05-25 Richard Henderson <rth@twiddle.net>
23837
23838 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23839 dl_hwcap to ifunc resolver.
23840 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23841 elf_ifunc_invoke.
23842 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23843 dl_hwcap to ifunc resolver.
23844 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23845
b6550497
JM
238462012-05-24 Joseph Myers <joseph@codesourcery.com>
23847
23848 [BZ #14153]
23849 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23850 for |x| <= 2**-26, not 2**-57.
23851 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23852 exception.
23853
b0bc23a1
JL
238542012-05-24 Jeff Law <law@redhat.com>
23855
23856 * stdio-common/Makefile (tests): Add bug25.
23857 * stdio-common/bug25.c: New test.
23858
347c92e9
L
238592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23860
23861 [BZ #13576]
23862 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23863 multiple of MALLOC_ALIGNMENT in size.
23864 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23865
6bcc8b3f
JM
238662012-05-24 Joseph Myers <joseph@codesourcery.com>
23867
23868 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23869 Require >= 256.
23870 (FILENAME_MAX): Use macro-int-constant.
23871 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23872 (_IOFBF): Use macro-int-constant.
23873 (_IOLBF): Likewise.
23874 (_IONBF): Likewise.
23875 (SEEK_CUR): Likewise.
23876 (SEEK_END): Likewise.
23877 (SEEK_SET): Likewise.
23878 (TMP_MAX): Likewise.
23879 (EOF): Use macro-int-constant. Require < 0.
23880 (NULL): Use macro-constant. Require == 0.
23881 (stdin): Require type to be FILE *.
23882 (stdout): Likewise.
23883 (stderr): Likewise.
23884 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23885 macro-int-constant.
23886 (EXIT_SUCCESS): Likewise.
23887 (NULL): Use macro-constant. Require == 0.
23888 (RAND_MAX): Use macro-int-constant.
23889 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23890 [C99-based standards] (strtof): Require function.
23891 [C99-based standards] (strtold): Likewise.
23892 [C99-based standards] (strtoll): Likewise.
23893 [C99-based standards] (strtoull): Likewise.
23894 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23895 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23896 [ISO || ISO99 || ISO11] (math.h): Likewise.
23897 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23898 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23899 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23900
d18ea0c5
AS
239012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23902
23903 [BZ #14132]
56d25bb8
AS
23904 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23905 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23906 * intl/dgettext.c (DCGETTEXT): Likewise.
23907 * intl/gettext.c (DCGETTEXT): Likewise.
23908 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23909 * posix/regex_internal.h (gettext): Likewise.
23910 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23911 Remove declaration.
23912 * include/argz.h (__argz_count_internal)
23913 (__argz_stringify_internal): Remove declaration.
23914 (__argz_count, __argz_stringify): Declare hidden proto.
23915 * intl/dcgettext.c: Remove use of INTDEF.
23916 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23917 * string/argz-stringify.c: Likewise.
23918 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23919 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23920 Declare hidden proto.
d18ea0c5
AS
23921 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23922 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23923 Declare hidden proto.
23924 * include/stdio.h (__asprintf_internal): Don't declare.
23925 (__asprintf): Don't define as macro. Declare hidden proto.
23926 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23927 (__fsetlocking): Declare hidden proto.
23928 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23929 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23930 hidden proto.
23931 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23932 (_IO_setlinebuf): Remove use of INTUSE.
23933 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23934 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23935 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23936 Remove declaration.
23937 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23938 (_IO_do_flush): Remove use of INTUSE.
23939 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23940 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23941 (_IO_adjust_column, _IO_least_wmarker)
23942 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23943 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23944 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23945 (_IO_default_doallocate, _IO_wdefault_doallocate)
23946 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23947 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23948 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23949 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23950 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23951 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23952 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23953 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23954 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23955 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23956 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23957 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23958 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23959 proto.
23960 (_IO_flush_all_internal, _IO_adjust_column_internal)
23961 (_IO_default_uflow_internal, _IO_default_finish_internal)
23962 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23963 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23964 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23965 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23966 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23967 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23968 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23969 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23970 (_IO_file_close_internal, _IO_file_close_it_internal)
23971 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23972 (_IO_file_init_internal, _IO_file_attach_internal)
23973 (_IO_file_fopen_internal, _IO_file_read_internal)
23974 (_IO_file_sync_internal, _IO_file_seek_internal)
23975 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23976 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23977 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23978 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23979 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23980 (_IO_list_all_internal, _IO_link_in_internal)
23981 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23982 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23983 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23984 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23985 (_IO_do_write_internal, _IO_padn_internal)
23986 (_IO_getline_info_internal, _IO_getline_internal)
23987 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23988 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23989 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23990 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23991 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23992 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23993 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23994 with libc_hidden_ver, remove use of INTUSE.
23995 * libio/genops.c: Likewise.
23996 * libio/freopen.c: Likewise.
23997 * libio/freopen64.c: Likewise.
23998 * libio/iofclose.c: Likewise.
23999 * libio/iofdopen.c: Likewise.
24000 * libio/iofflush.c: Likewise.
24001 * libio/iofflush_u.c: Likewise.
24002 * libio/iofgets.c: Likewise.
24003 * libio/iofgets_u.c: Likewise.
24004 * libio/iofopen.c: Likewise.
24005 * libio/iofopncook.c: Likewise.
24006 * libio/iofread.c: Likewise.
24007 * libio/iofread_u.c: Likewise.
24008 * libio/ioftell.c: Likewise.
24009 * libio/iofwrite.c: Likewise.
24010 * libio/iogetline.c: Likewise.
24011 * libio/iogets.c: Likewise.
24012 * libio/iogetwline.c: Likewise.
24013 * libio/iopadn.c: Likewise.
24014 * libio/iopopen.c: Likewise.
24015 * libio/ioseekoff.c: Likewise.
24016 * libio/ioseekpos.c: Likewise.
24017 * libio/iosetbuffer.c: Likewise.
24018 * libio/iosetvbuf.c: Likewise.
24019 * libio/ioungetc.c: Likewise.
24020 * libio/ioungetwc.c: Likewise.
24021 * libio/iovdprintf.c: Likewise.
24022 * libio/iovsprintf.c: Likewise.
24023 * libio/iovsscanf.c: Likewise.
24024 * libio/memstream.c: Likewise.
24025 * libio/obprintf.c: Likewise.
24026 * libio/oldfileops.c: Likewise.
24027 * libio/oldiofclose.c: Likewise.
24028 * libio/oldiofdopen.c: Likewise.
24029 * libio/oldiofopen.c: Likewise.
24030 * libio/oldiopopen.c: Likewise.
24031 * libio/oldstdfiles.c: Likewise.
24032 * libio/putc.c: Likewise.
24033 * libio/setbuf.c: Likewise.
24034 * libio/setlinebuf.c: Likewise.
24035 * libio/stdfiles.c: Likewise.
24036 * libio/strops.c: Likewise.
24037 * libio/vasprintf.c: Likewise.
24038 * libio/vscanf.c: Likewise.
24039 * libio/vsnprintf.c: Likewise.
24040 * libio/vswprintf.c: Likewise.
24041 * libio/wfiledoalloc.c: Likewise.
24042 * libio/wfileops.c: Likewise.
24043 * libio/wgenops.c: Likewise.
24044 * libio/wmemstream.c: Likewise.
24045 * libio/wstrops.c: Likewise.
24046 * libio/__fpurge.c: Likewise.
24047 * libio/__fsetlocking.c: Likewise.
24048 * assert/assert.c: Likewise.
24049 * debug/fgets_chk.c: Likewise.
24050 * debug/fgets_u_chk.c: Likewise.
24051 * debug/fread_chk.c: Likewise.
24052 * debug/fread_u_chk.c: Likewise.
24053 * debug/gets_chk.c: Likewise.
24054 * debug/obprintf_chk.c: Likewise.
24055 * debug/vasprintf_chk.c: Likewise.
24056 * debug/vdprintf_chk.c: Likewise.
24057 * debug/vsnprintf_chk.c: Likewise.
24058 * debug/vsprintf_chk.c: Likewise.
24059 * malloc/mtrace.c: Likewise.
24060 * misc/error.c: Likewise.
24061 * misc/syslog.c: Likewise.
24062 * stdio-common/asprintf.c: Likewise.
24063 * stdio-common/fxprintf.c: Likewise.
24064 * stdio-common/getw.c: Likewise.
24065 * stdio-common/isoc99_fscanf.c: Likewise.
24066 * stdio-common/isoc99_scanf.c: Likewise.
24067 * stdio-common/isoc99_vfscanf.c: Likewise.
24068 * stdio-common/isoc99_vscanf.c: Likewise.
24069 * stdio-common/isoc99_vsscanf.c: Likewise.
24070 * stdio-common/printf-prs.c: Likewise.
24071 * stdio-common/printf_fp.c: Likewise.
24072 * stdio-common/printf_fphex.c: Likewise.
24073 * stdio-common/printf_size.c: Likewise.
24074 * stdio-common/putw.c: Likewise.
24075 * stdio-common/scanf.c: Likewise.
24076 * stdio-common/sprintf.c: Likewise.
24077 * stdio-common/tmpfile.c: Likewise.
24078 * stdio-common/vfprintf.c: Likewise.
24079 * stdio-common/vfscanf.c: Likewise.
24080 * stdlib/strfmon_l.c: Likewise.
24081 * sunrpc/openchild.c: Likewise.
24082 * sunrpc/xdr_stdio.c: Likewise.
24083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24084 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24085
d6c33fda
RM
240862012-05-24 Roland McGrath <roland@hack.frob.com>
24087
c1487492
RM
24088 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24089
24090 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24091 in the third column, to generate for the shared library an IFUNC
24092 that uses _dl_vdso_vsym.
24093 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24094 * Makeconfig (object-suffixes-noshared): New variable.
24095
24096 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24097 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24098 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24099 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24100
d6c33fda
RM
24101 [BZ #14132]
24102 * include/sys/time.h (__gettimeofday): Remove macro.
24103 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24104 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24105 Remove INTDEF.
24106 (__gettimeofday): Add libc_hidden_def.
24107 (gettimeofday): Add libc_hidden_weak.
24108 * sysdeps/mach/gettimeofday.c: Likewise.
24109 * sysdeps/posix/gettimeofday.c: Likewise.
24110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24111 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24113 (__gettimeofday_internal): Remove strong_alias.
24114 (__gettimeofday): Add libc_hidden_def.
24115 (gettimeofday): Add libc_hidden_weak.
24116 * sysdeps/unix/syscalls.list (gettimeofday):
24117 Remove __gettimeofday_internal alias.
24118
b5a2bbe6
L
241192012-05-24 Daniel Jacobowitz <drow@false.org>
24120 H.J. Lu <hongjiu.lu@intel.com>
24121
24122 [BZ #12495]
24123 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24124 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24125 (largebin_index_32_big): New.
24126 (largebin_index): Use it for 16-byte alignment.
24127 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24128 correction with front_misalign.
24129
cfba4fda
L
241302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24131
7f907421
L
24132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24134 Likewise.
24135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24136 Likewise.
24137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24138 Likewise.
24139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24140 Likewise.
24141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24142 Likewise.
24143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24144 Likewise.
24145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24146 Likewise.
24147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24148 Likewise.
24149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24150 Likewise.
24151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24152 Likewise.
24153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24154 Likewise.
24155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24156 Likewise.
24157
cfba4fda
L
24158 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24159 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24160
80bad0cc
JM
241612012-05-24 Joseph Myers <joseph@codesourcery.com>
24162
7a25eb06
JM
24163 [BZ #10846]
24164 [BZ #14036]
24165 * math/libm-test.inc (exp_test): Add test from bug 14036.
24166 (pow_test): Add test from bug 10846.
24167
795405f9
JM
24168 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24169 and other flags.
24170 (special_function): Do not include flags in test name.
24171 (parse_args): Likewise.
24172 * sysdeps/i386/fpu/libm-test-ulps: Update.
24173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24174 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24175 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24177
80bad0cc
JM
24178 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24179 exceptions.
24180 * math/libm-test.inc ("Philosophy"): Update comment about
24181 exception testing.
24182 (UNDERFLOW_EXCEPTION): New macro.
24183 (UNDERFLOW_EXCEPTION_OK): Likewise.
24184 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24185 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24186 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24187 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24188 (INVALID_EXCEPTION_OK): Update value.
24189 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24190 (OVERFLOW_EXCEPTION_OK): Likewise.
24191 (IGNORE_ZERO_INF_SIGN): Likewise.
24192 (test_exceptions): Handle underflow exceptions.
24193 (acos_test): Update for underflow exception expectations.
24194 (cexp_test): Likewise.
24195 (clog_test): Likewise.
24196 (clog10_test): Likewise.
24197 (csqrt_test): Likewise.
24198 (ctan_test): Likewise.
24199 (ctanh_test): Likewise.
24200 (exp_test): Likewise.
24201 (exp10_test): Likewise.
24202 (exp2_test): Likewise.
24203 (expm1_test): Likewise.
24204 (fma_test): Likewise.
24205 (j0_test): Likewise.
24206 (jn_test): Likewise.
24207 (nexttoward_test): Likewise.
24208 (pow_test): Likewise.
24209 (scalbn_test): Likewise.
24210 (scalbln_test): Likewise.
24211 (tan_test): Likewise.
24212 (y1_test): Likewise.
24213 * sysdeps/i386/fpu/libm-test-ulps: Update.
24214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24215
9e0e3d0b
DM
242162012-05-23 David S. Miller <davem@davemloft.net>
24217
24218 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24219 (__libc_sigaction): Remove unused local variables.
24220
ccd0a08f
L
242212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24224
62bdf9a6
PE
242252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24226
f8591f80
PE
24227 mktime: avoid signed integer overflow
24228 * time/mktime.c (__mktime_internal): Do not mishandle the case
24229 where diff == INT_MIN.
24230
94c7d826
PE
24231 mktime: simplify computation of average
24232 * time/mktime.c (ranged_convert): Use new time_t_avg function
24233 instead of rolling our own (probably-slower) code.
24234
ce73d683
PE
24235 mktime: do not assume signed right shift propagates sign bit
24236 * time/mktime.c (isdst_differ): New static function.
24237 (__mktime_internal): No need to normalize tm_isdst now.
24238 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24239 tm_isdst values.
24240
72a22e59
PE
24241 mktime: merge another wrapv change from gnulib
24242 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24243 from some compilers.
24244
68605433
PE
24245 mktime: remove incorrect attempt at unusual arithmetics
24246 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24247 The code didn't really work on such machines anyway.
24248 (TYPE_MINIMUM): Assume two's complement.
24249 (twos_complement_arithmetic): Verify that long_int and time_t
24250 are two's complement (or unsigned, in the latter case).
24251
03cf7fe3
PE
24252 mktime: check signed shifts on long_int and time_t, too
24253 * time/mktime.c (SHR): Check that shifts work as desired
24254 on the types long_int and time_t too, as SHR is used on
24255 such types.
24256
f04dfbc2
PE
24257 mktime: do not assume 'long' is wide enough
24258 * time/mktime.c (verify): Move decl up.
24259 (long_int): New type.
24260 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24261 to remove assumption in the code that 'long' is wide enough to
24262 store year values. This assumption is not true on x32 and on
24263 some non-glibc platforms.
24264
62bdf9a6
PE
24265 mktime: merge wrapv change from gnulib
24266 * time/mktime.c (WRAPV): New macro.
24267 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24268 (guess_time_tm, __mktime_internal): Do not assume that signed
24269 integer overflow wraps around; modern compilers generate code
24270 where this assumption is no longer valid.
24271
5e292e4f
L
242722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24275 Replace "jmp L(pseudo_end)" with "ret".
24276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24277 Likewise.
24278
8caf8c87
AJ
242792012-05-23 Andreas Jaeger <aj@suse.de>
24280
24281 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24282 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24283
1a09dc56
AJ
242842012-05-23 Andreas Jaeger <aj@suse.de>
24285 Maximilian Attems <max@stro.at>
24286
24287 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24288 New macros.
24289
1c87aba0
L
242902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24291
24292 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24293 code so that pseudo_end is just ret and the stack pointer is
24294 correct also for static library in error case.
24295
40e45bd5
JM
242962012-05-23 Joseph Myers <joseph@codesourcery.com>
24297
c2670533
JM
24298 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24299 move to syscalls.list.
24300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24304
40e45bd5
JM
24305 * manual/install.texi (Running make install): Do not mention Linux
24306 kernel version for which pt_chown is not needed.
24307 (Linux): Do not mention problems with nscd with 2.0 kernels.
24308 * INSTALL: Regenerated.
24309
be08eda5
AJ
243102012-05-23 Andreas Jaeger <aj@suse.de>
24311
24312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24313 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24314 macro.
24315 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24316 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24317 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24318 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24319 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24320 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24322 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24324 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24325 * sysdeps/unix/sysv/linux/bits/in.h
24326 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24327
a6a056bb
RM
243282012-05-22 Roland McGrath <roland@hack.frob.com>
24329
24330 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24331 (PREPARE_VERSION): Just use assert instead, it will be elided
24332 under [NDEBUG] anyway.
24333
c9009328
L
243342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24335
24336 * sysdeps/unix/sysv/linux/Makefile: Include
24337 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24338 (sysdep_routines): Remove sysctl.
c9009328
L
24339 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24340 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24341 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24342 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24343 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24344
73338355
AJ
243452012-05-22 Andreas Jaeger <aj@suse.de>
24346
24347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24348 that pseudo_end is just ret and the stack pointer is correct also
24349 for static library in error case.
24350
d44638b0
PP
243512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24352
24353 [BZ #14122]
24354 * nss/nsswitch.c (defconfig_entries): New variable.
24355 (__nss_database_lookup): Don't leak defconfig entries.
24356 (nss_parse_service_list): Don't leak on error paths.
24357 (free_database_entries): New function.
24358 (free_defconfig): New function.
24359 (free_mem): Move common code to free_database_entries.
24360
31a39bd8
L
243612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24362
da0331a8
L
24363 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24364 Add arch_prctl.
24365 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24366
31a39bd8
L
24367 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24368 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24370 New macro.
24371 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24372 (INTERNAL_SYSCALL_TYPES): Likewise.
24373 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24374 (LOAD_REGS_TYPES_[1-6]): Likewise.
24375 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24376 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24377
45470df3
AZ
243782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24379
24380 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24381 copysignl for GLIBC_2_0.
24382 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24383 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24385 logbl for GLIBC_2_0.
24386 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24387 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24388
98a61bcb
L
243892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24390
a4f6e481
L
24391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24392 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24393
f63d5db6
L
24394 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24395 Use "neg %eax".
24396
98a61bcb
L
24397 * time/mktime.c: Update copyright years.
24398
95770f14
PE
243992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24400
6226efbd
PE
24401 mktime: merge comment-quoting-style change from gnulib
24402 * time/mktime.c: Quote 'like this' in comments.
24403 The GNU coding standards suggest that we no longer quote `like this',
24404 as "`" and "'" are typically rendered asymmetrically nowadays.
24405 The typical gnulib style is to quote 'like this' when quoting
24406 code, and "like this" when quoting English.
24407
b99e4f78
PE
24408 * time/mktime.c (compile-command): Add "-I.".
24409
643e01e6
PE
24410 mktime: merge mktime-internal.h change from gnulib
24411 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24412
2554247d
PE
24413 mktime: merge time_r change from gnulib
24414 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24415
826dd0ab
PE
24416 mktime: merge DEBUG change from gnulib
24417 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24418 case system <time.h> has a #define.
24419
bd83aabe
PE
24420 mktime: merge <sys/types.h> change from gnulib
24421 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24422 since <time.t> is now guaranteed to define time_t.
24423
95770f14
PE
24424 mktime: merge HAVE_CONFIG_H change from gnulib
24425 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24426
5e1a27a9
L
244272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24428
0e44a77e
L
24429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24430 Use "neg %eax".
24431
5e1a27a9
L
24432 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24433 __rlim_t cast.
24434 (struct rusage): Use anonymous union to pad each field to
24435 __syscall_slong_t.
24436
46259bec
DM
244372012-05-21 David S. Miller <davem@davemloft.net>
24438
24439 * Makefules (o-iterator): Remove .s cases.
24440 (compile-command.s): Delete.
24441 (COMPILE.s): Delete.
24442 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24443
59f0c22e
JM
244442012-05-21 Joseph Myers <joseph@codesourcery.com>
24445
24446 * configure.in (libc_cv_predef_stack_protector): Only consider
24447 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24448 * configure: Regenerated.
24449
20c07380
L
244502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24451
bbb3154b
L
24452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24453 New macro. Use R*LP on int and pointer.
24454 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
24455 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24456 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
24457 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24458
20c07380
L
24459 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24460 [__WORDSIZE_TIME64_COMPAT32] instead of
24461 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24462 (struct utmp): Likewise.
24463 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24464 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24465 Renamed to ...
24466 (__WORDSIZE_TIME64_COMPAT32): This.
24467 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24468 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24469 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24470 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24471 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24472 (__WORDSIZE_TIME64_COMPAT32): New macro.
24473
d8d1017e
AJ
244742012-05-21 Andreas Jaeger <aj@suse.de>
24475
24476 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24477 only if [SHARED]. Add prototype for __wcschr_ia32.
24478
6c7fb145
RM
244792012-05-21 Roland McGrath <roland@hack.frob.com>
24480
24481 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24482 of %rbp unmolested in the jmp_buf while mangling the low bits.
24483 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24484 unmolested high bits of %rbp while demangling the low bits.
24485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24486
66274218
AJ
244872012-05-21 Andreas Jaeger <aj@suse.de>
24488
07c58f8f
AJ
24489 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24490 * sunrpc/svc_simple.c: Use it for registerrpc.
24491 * sunrpc/xcrypt.c: Use it for passwd2des.
24492
66274218
AJ
24493 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24494
61f65140
L
244952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24496
24497 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24498 Don't define if [__SYSCALL_WORDSIZE != 32].
24499 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24500 New macro.
24501
5fefb436
AJ
245022012-05-21 Bruno Haible <bruno@clisp.org>
24503 Andreas Jaeger <aj@suse.de>
24504
24505 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24506 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24507 inptr and inend for must_buffer_ch.
24508 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24509 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24510 * stdio-common/Makefile (tests): Remove bug15.
24511 (bug15-ENV): Remove macro.
24512 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24513 anymore.
24514
d8e272ab
AJ
245152012-05-19 Andreas Jaeger <aj@suse.de>
24516 Roland McGrath <roland@hack.frob.com>
24517
24518 * manual/contrib.texi: Completely rewritten. It contains now an
24519 alphabetical list of contributors and their contributions.
24520
4a56a162
RH
245212012-05-21 Richard Henderson <rth@twiddle.net>
24522
24523 * misc/getauxval.c (__getauxval): Use unsigned long int.
24524 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24525 (getauxval): Use unsigned long int.
24526
d024d23c
L
245272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24528
24529 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24530
cbc00a03
RM
245312012-05-21 Roland McGrath <roland@hack.frob.com>
24532
24533 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24534 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24535 __alignof__ (long double).
24536
478143fa
AZ
245372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24538
24539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24540
c7683a6d
RH
245412012-05-20 Richard Henderson <rth@twiddle.net>
24542
24543 * misc/getauxval.c: New file.
24544 * misc/sys/auxv.h: New file.
24545 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24546 (routines): Add getauxval.
24547 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24548 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24549 * elf/dl-sysdep.c (_dl_auxv): Remove.
24550 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24551 * elf/dl-support.c (_dl_auxv): New variable.
24552 (_dl_aux_init): Initialize it.
24553 * manual/startup.texi (Auxiliary Vector): New node.
24554 * sysdeps/generic/bits/hwcap.h: New file.
24555 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24556 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24557 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24558 * sysdeps/sparc/sysdep.h: ... here. Include it.
24559 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24562 Update.
c7683a6d
RH
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24571
a6f1845d
AZ
245722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24573
24574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24575
cbcbe830
DM
245762012-05-19 David S. Miller <davem@davemloft.net>
24577
24578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24579
e0b16cc2
JM
245802012-05-19 Joseph Myers <joseph@codesourcery.com>
24581
24582 [BZ #14123]
24583 * math/s_ccosh.c: Include <float.h>
24584 (__ccosh): Avoid internal overflow calculating sinh and cosh
24585 values before multiplying by sin and cos values.
24586 * math/s_ccoshf.c: Likewise.
24587 * math/s_ccoshl.c: Likewise.
24588 * math/s_csin.c: Likewise.
24589 * math/s_csinf.c: Likewise.
24590 * math/s_csinl.c: Likewise.
24591 * math/s_csinh.c: Likewise.
24592 * math/s_csinhf.c: Likewise.
24593 * math/s_csinhl.c: Likewise.
24594 * math/libm-test.inc (ccos_test): Add more tests.
24595 (ccosh_test): Likewise.
24596 (csin_test): Likewise.
24597 (csinh_test): Likewise.
24598 * sysdeps/i386/fpu/libm-test-ulps: Update.
24599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24600
6ad13e08
L
246012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24602
f66f0ce8
L
24603 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24604 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24605
6ad13e08
L
24606 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24607
b1d072a7
JM
246082012-05-19 Joseph Myers <joseph@codesourcery.com>
24609
24610 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24611 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24612 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24613 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24614 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24615 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24616 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24617 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24618 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24619 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24620 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24621 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24622 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24623 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24624 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24625 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24626 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24627 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24628 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24629 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24630 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24631 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24632 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24633 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24634 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24635 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24636 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24637 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24638 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24639 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24640 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24641
9eae47cb
AJ
246422012-05-18 Andreas Jaeger <aj@suse.de>
24643
24644 * csu/.gitignore: Delete.
24645
bb07f69f
L
246462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24647
24648 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24649 (timex): Use __syscall_slong_t.
24650
e6bdb741
AJ
246512012-05-18 Andreas Jaeger <aj@suse.de>
24652 Carlos O'Donell <carlos_odonell@mentor.com>
24653
24654 * manual/install.texi (Configuring and compiling): Update
24655 description about files modified in the source directory.
d6c33fda 24656 * INSTALL: Regenerated.
e6bdb741 24657
1b74487e
L
246582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24659
24660 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24661 value. Use "or" to set return value to -1.
24662 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24663 negate return value.
24664
a88b64b9
TMQMF
246652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24666
24667 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24668 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24669 failure if the compiler has Graphite support disabled.
24670 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24671 Likewise.
24672 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24673 CFLAGS-memmove.c): Likewise.
24674 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24675 Likewise.
24676
3707636e
L
246772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24678
610b8622
L
24679 * sysdeps/x86_64/x32/_itoa.h: New file.
24680
7cd195df
L
24681 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24682 getdents system call only if kernel and user dirents have the
24683 same d_ino and d_off.
24684
94b07d20
L
24685 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24686 LLONG_MAX != LONG_MAX.
24687 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24688 (_fitoa_word): Likewise.
24689
18298070
L
24690 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24691 years.
24692 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24693 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24694 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24695
553c7ea4
L
24696 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24697 include <bits/wordsize.h>. Check __x86_64__ instead of
24698 __WORDSIZE.
24699 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24700 if __x86_64__ is defined. Use anonymous union on fpstate.
24701
3707636e
L
24702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24703 anonymous union.
24704
b53ef01a
AS
247052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24706
37fb1dc0
AS
24707 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24708 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24710 Refer to _rtld_local_ro instead of _rtld_global_ro.
24711 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24712 Likewise.
24713 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24714 Likewise.
24715 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24716 Likewise.
24717 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24718 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24719 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24720
b53ef01a
AS
24721 * sysdeps/powerpc/powerpc32/dl-machine.c
24722 (__elf_machine_runtime_setup) [PROF]: Don't reference
24723 _dl_prof_resolve.
24724
7a185db2
AJ
247252012-05-18 Andreas Jaeger <aj@suse.de>
24726
24727 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24728 function only available for GCCs before 3.4 since GCC 3.4
24729 introduced a builtin.
24730 (lrint): Likewise.
24731 (llrintf): Likewise.
24732 (llrint): Likewise.
24733 (fmaxf): Likewise.
24734 (fmax): Likewise.
24735 (fminf): Likewise.
24736 (fmin): Likewise.
24737 (rint): Likewise.
24738 (rintf): Likewise.
24739 (nearbyint): Likewise.
24740 (nearbyintf): Likewise.
24741 (ceil): Likewise.
24742 (ceilf): Likewise.
24743 (floor): Likewise.
24744 (floorf): Likewise.
24745
3e5aef87
L
247462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24747
428bd707
L
24748 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24749 on both fields and cast pointer to __syscall_ulong_t.
24750
3e5aef87
L
24751 * bits/types.h (__fsword_t): New type.
24752 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24753 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24755 (__FSWORD_T_TYPE): Likewise.
24756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24757 (__FSWORD_T_TYPE): Likewise.
24758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24759 (__FSWORD_T_TYPE): Likewise.
24760 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24761 (__FSWORD_T_TYPE): Likewise.
24762 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24763 __SWORD_TYPE with __fsword_t.
24764 (statfs64): Likewise.
24765
1ba7c3dc
DM
247662012-05-17 David S. Miller <davem@davemloft.net>
24767
24768 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24769
59910343
AJ
247702012-05-17 Andreas Jaeger <aj@suse.de>
24771
24772 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24773 warning.
24774
2e4c1e9e
L
247752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24776
24777 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24778
de7f5ce7
AJ
247792012-05-17 Andreas Jaeger <aj@suse.de>
24780
24781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24782 when it is used.
24783
286abc3d
CM
247842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24785
24786 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24787
477cc68e
L
247882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24789
24790 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24791 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24792
1a0994f5
CD
247932012-05-17 Andreas Jaeger <aj@suse.de>
24794 Carlos O'Donell <carlos_odonell@mentor.com>
24795
24796 [BZ #14059]
24797 * sysdeps/x86_64/multiarch/init-arch.h
24798 (bit_YMM_Usable): Rename to...
24799 (bit_AVX_Usable): ... this.
24800 (bit_FMA4_Usable): New macro.
24801 (bit_XMM_state): New macro.
24802 (bit_YMM_state): New macro.
24803 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24804 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24805 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24806 (CPUID_OSXSAVE): New macro.
24807 (CPUID_AVX): New macro.
24808 (CPUID_FMA4): New macro.
24809 (index_YMM_Usable): Rename to...
24810 (index_AVX_Usable): ... this.
24811 (HAS_AVX): Use HAS_ARCH_FEATURE.
24812 (HAS_FMA4): Likewise.
24813 (HAS_YMM_USABLE): Remove.
24814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24815 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24816 are present.
24817 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24818 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24819 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24820 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24821 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24822
0af797de
CM
248232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24824
24825 * math/libm-test.c: Support platforms without multiple rounding modes.
24826 * math/bug-nextafter.c: Support platforms without FP exceptions.
24827 * math/bug-nexttoward.c: Likewise.
24828 * math/test-fenv.c: Likewise.
24829 * math/test-misc.c: Likewise.
24830 * stdlib/bug-getcontext.c: Likewise.
24831
e39745ff
AJ
248322012-05-17 Andreas Jaeger <aj@suse.de>
24833
24834 * manual/examples/search.c (critter_cmp): Change signature to
24835 avoid warnings.
24836 * manual/string.texi (Collation Functions): Likewise.
24837
48970aba
L
248382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24839
24840 * bits/types.h: Fold copyright years.
24841 * bits/typesizes.h: Likewise.
24842 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24846 * time/time.h: Likewise.
24847
bedee953
PP
248482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24849
24850 [BZ #208]
24851 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24852 in instead of returning them. Return void.
24853 (__libc_mallinfo): Accumulate over all arenas.
24854 (__malloc_stats): Adjust for change in int_mallinfo interface.
24855
61653dfb
RM
248562012-05-16 Roland McGrath <roland@hack.frob.com>
24857
30b99d79
RM
24858 [BZ #10375]
24859 * configure.in (NM): Add AC_CHECK_TOOL for it.
24860 (libc_extra_cflags): New substituted variable.
24861 Check for -fstack-protector being used implicitly.
24862 * configure: Regenerated.
24863 * config.make.in (config-extra-cflags): New variable,
24864 gets @libc_extra_cflags@.
24865 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24866
61653dfb
RM
24867 [BZ #10375]
24868 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24869 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24870 * configure: Regenerated.
24871 * config.make.in (CPPUNDEFS): New substituted variable.
24872 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24873 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24874 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24875
661768bb
L
248762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24877
24878 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24879 (mq_attr): Use __syscall_slong_t.
24880
d4261567
L
248812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24882
24883 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24884 Check __x86_64__ instead of __WORDSIZE.
24885 (_STAT_VER_LINUX): Likewise.
24886 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24887 __syscall_ulong_t and __syscall_slong_t.
24888 (stat64): Likewise.
24889
cf3ff365
L
248902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24891
24892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24893
76cf3e4d
L
248942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24895
24896 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24897
a637753a
L
248982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24899
24900 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24901 __syscall_ulong_t.
24902
d5e05119
L
24903 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24904 include <bits/wordsize.h>. Check __x86_64__ instead of
24905 __WORDSIZE.
24906 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24907 defined.
24908 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24909
f62ee380
L
24910 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24911 include <bits/wordsize.h>. Check __x86_64__ instead of
24912 __WORDSIZE.
24913 (user_regs_struct): Use "__extension__ unsigned long long"
24914 instead of "unsigned long" if __x86_64__ is defined.
24915 (user): Likewise. Pad after pointer field if __ILP32__ is
24916 defined.
24917
4e124ced
JM
249182012-05-16 Joseph Myers <joseph@codesourcery.com>
24919
6a3951a0
JM
24920 * configure.in (makeinfo): Require version 4.5 or later. Allow
24921 versions 5 to 9.
24922 * configure: Regenerated.
24923 * manual/install.texi (texinfo): Increase version requirement to
24924 4.5 or later.
24925 * INSTALL: Regenerated.
24926
4e124ced
JM
24927 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24928
953ca31a
L
249292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24930
24931 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24932
617aca05
L
24933 * sysdeps/x86_64/x32/ffs.c: New file.
24934
5762f7ae
L
24935 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24936 __syscall_ulong_t.
24937 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24938 defined. Use __syscall_ulong_t.
24939 (shminfo): Use __syscall_ulong_t.
24940 (shm_info): Likewise.
24941
a26b6856
L
24942 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24943 __syscall_ulong_t.
24944
cb2b9ef7
L
24945 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24946 <bits/wordsize.h>.
24947 (msgqnum_t): Use __syscall_ulong_t.
24948 (msglen_t): Likewise.
24949 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24950 __syscall_ulong_t.
24951
34683bb0
L
24952 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24953 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24954
84a68786
L
24955 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24956
48baa5f1
L
24957 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24958 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24959
180be88b
L
24960 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24961 __syscall_slong_t.
24962
5e90c8ad
L
24963 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24964 include <bits/wordsize.h>. Check __x86_64__ instead of
24965 __WORDSIZE.
24966
23dfb58b
L
24967 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24968 "unsigned long long int" if __x86_64__ is defined.
24969 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24970
ce5d54b0
L
24971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24972 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24973 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24974
13dc9eac
L
24975 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24976 <stdint.h>.
24977 (GET_PC): Cast to uintptr_t first.
24978 (GET_FRAME): Likewise.
24979 (GET_STACK): Likewise.
24980
a7895d15
L
24981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24982 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24984 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24986 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24987 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24988 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24989 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24990 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24991 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24992 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24993 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24995 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24996 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24997 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24998 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24999 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25000 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25001 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25003 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25005 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25007 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25010
656416c9
AS
250112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25012
5bd66283
AS
25013 * Makerules (+depfiles): Also collect depfiles from .oS in
25014 $(extra-objs).
25015 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25016 .oS, $(libnldbl-routines)).
25017
656416c9
AS
25018 * Makerules (native-compile-mkdep-flags): Define.
25019 * sunrpc/Makefile (extra-objs): Add $(addprefix
25020 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25021 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25022 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25023 calling $(make-target-directory).
25024
a46f2169
L
250252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25026
25027 * bits/types.h (__snseconds_t): Removed.
25028 * time/time.h (struct timespec): Replace __snseconds_t with
25029 __syscall_slong_t.
25030 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25031 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25032 Likewise.
25033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25034 (__SNSECONDS_T_TYPE): Likewise.
25035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25036 (__SNSECONDS_T_TYPE): Likewise.
25037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25038 (__SNSECONDS_T_TYPE): Likewise.
25039
6af6528b
L
250402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25041
25042 * sysdeps/mach/hurd/bits/typesizes.h
25043 (__SYSCALL_SLONG_TYPE): New macro.
25044 (__SYSCALL_ULONG_TYPE): Likewise.
25045
de986b56
L
250462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25047
25048 * bits/types.h (__syscall_slong_t): New type.
25049 (__syscall_ulong_t): Likewise.
25050
25051 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25052 (__SYSCALL_ULONG_TYPE): Likewise.
25053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25054 (__SYSCALL_SLONG_TYPE): Likewise.
25055 (__SYSCALL_ULONG_TYPE): Likewise.
25056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25057 (__SYSCALL_SLONG_TYPE): Likewise.
25058 (__SYSCALL_ULONG_TYPE): Likewise.
25059 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25060 (__SYSCALL_SLONG_TYPE): Likewise.
25061 (__SYSCALL_ULONG_TYPE): Likewise.
25062
85736dc7
L
250632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25064
25065 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25066 Add sigaltstack-offsets.sym.
25067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25068 <sigaltstack-offsets.h>.
25069 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25070 longjmp_msg pointer.
25071 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25072 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25073 signal stack.
25074 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25075
cc03b296
JM
250762012-05-15 Joseph Myers <joseph@codesourcery.com>
25077
a9538892
JM
25078 * elf/stackguard-macros.h: Remove file.
25079 * sysdeps/generic/stackguard-macros.h: New file.
25080 * sysdeps/i386/stackguard-macros.h: Likewise.
25081 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25082 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25083 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25084 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25085 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25086 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25087 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25088 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25089 <elf/stackguard-macros.h>.
25090
cc03b296
JM
25091 [BZ #14109]
25092 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25093 __aligned__ in attribute.
25094 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25095 (gregset_t): Likewise.
25096
93171016
L
250972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25098
25099 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25100 * sysdeps/x86_64/64/Implies-after: Here. New file.
25101 * sysdeps/x86_64/x32/Implies-after: New file.
25102
d86813a0
L
251032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25104
25105 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25106 and access return value for _dl_profile_fixup. Use R10_LP to
25107 load frame size.
25108
2953ec75
L
251092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25110
25111 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25112
3b550e9e
L
251132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25114
25115 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25116 * sysdeps/x86_64/x32/sysdep.h: New file.
25117
eda41706
L
251182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25119
25120 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25121 * sysdeps/x86_64/setjmp.S: Likewise.
25122
9ea01d93
AZ
251232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25124
25125 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25126 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25127 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25128 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25129 remove unused global constant.
25130
02a91938
CM
251312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25132
25133 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25134 include of <not-cancel.h>.
25135
6540185f
RM
251362012-05-15 Roland McGrath <roland@hack.frob.com>
25137
25138 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25139
509072a0
AJ
251402012-05-15 Jeff Law <law@redhat.com>
25141 Andreas Jaeger <aj@suse.de>
25142
25143 [BZ #13594]
25144 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25145 out from...
25146 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25147 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25148 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25149 code changing __hst_map_handle.map.
25150
ba75122d
RM
251512012-05-15 Roland McGrath <roland@hack.frob.com>
25152
25153 * configure.in (sysnames): Look for Implies-before and Implies-after
25154 files.
25155 * configure: Regenerated.
25156
890d8bd8
L
251572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25158
25159 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25160 8-byte data alignment with LP_SIZE alignment.
25161
f6ee6623
L
251622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25163
25164 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25165 into R10_LP.
25166
ea2626f6
L
251672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25168
25169 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25170
085f715e
L
251712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25172
25173 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25174 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25176 Likewise.
25177 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25178
be8498fc
L
251792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25180
25181 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25182 (stackinfo_sub_sp): Likewise.
25183
70bc83b9
L
251842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25185
25186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25187 RAX_LP.
25188
9bc0b730
L
251892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25190
25191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25192 into R*_LP.
25193
6d2850e7
L
251942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25195
25196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25197 sizes into R*_LP.
25198
3cb84561
L
251992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25200
25201 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25202
54e2ed81
L
252032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25204
25205 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25206 into R11_LP and load __x86_64_shared_cache_size_half into
25207 R8_LP.
25208
8a17f349
L
252092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25210
25211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25212 R8_LP.
25213
777b1eea
AZ
252142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25215
25216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25217 logb for POWER7.
25218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25219 logbf for POWER7.
25220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25221 logbl for POWER7.
25222 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25223 powerpc32/power7/fpu/s_logb.c via #include.
25224 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25225 powerpc32/power7/fpu/s_logbf.c via #include.
25226 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25227 powerpc32/power7/fpu/s_logbl.c via #include.
25228
d20d4ac2
JM
252292012-05-15 Joseph Myers <joseph@codesourcery.com>
25230
25231 * README.libm: Remove file.
25232
6cdef1ab
L
252332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25234
25235 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25236 count for x32. Use R*_LP and omit operand-size suffix.
25237
0b254d8f
L
252382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25239
25240 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25241 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25242 * sysdeps/x86_64/x32/shlib-versions: New file.
25243
ceb809dc
RM
252442012-05-14 Roland McGrath <roland@hack.frob.com>
25245
25246 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25247 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25248 Use _dl_fatal_printf instead.
25249
37f1abd4
JM
252502012-05-14 Joseph Myers <joseph@codesourcery.com>
25251
25252 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25253 set if not set by the user. Do not allow for being unset.
25254 * sysdeps/unix/sysv/linux/configure: Regenerated.
25255
11de3a33
L
252562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25257
25258 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25259 the `q' suffix from lea and replace .quad with ASM_ADDR.
25260
e02f153a
L
252612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25262
25263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25264 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25265 instead of $17.
25266 (PTR_DEMANGLE): Likewise.
25267
520ae0fd
L
252682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25271 (LP_OP): Likewise.
25272 (ASM_ADDR): Likewise.
25273 (RAX_LP): Likewise.
25274 (RBP_LP): Likewise.
25275 (RBX_LP): Likewise.
25276 (RCX_LP): Likewise.
25277 (RDI_LP): Likewise.
25278 (RSI_LP): Likewise.
25279 (RSP_LP): Likewise.
25280 (R8_LP): Likewise.
25281 (R9_LP): Likewise.
25282 (R10_LP): Likewise.
25283 (R10_LP): Likewise.
25284 (R11_LP): Likewise.
25285 (R12_LP): Likewise.
25286 (R13_LP): Likewise.
25287 (R14_LP): Likewise.
25288 (R15_LP): Likewise.
25289
b985be81
L
252902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25291
25292 * sysdeps/x86_64/x32/dl-machine.h: New file.
25293
6a4888ff
AJ
252942012-05-14 Andreas Jaeger <aj@suse.de>
25295
25296 * manual/Makefile (subdir): Remove export of subdir.
25297 (all): Remove target.
25298 (.PHONY): Remove all from list.
25299 (mkinstalldirs): Remove.
25300 (.PHONY): Remove installdirs from list.
25301 ($(inst_infodir)/libc.info): Use make-target-directory.
25302 (installdirs): Remove.
25303 (subdir_%): Remove.
25304 (glibc-targets): Remove.
25305 (lib): Remove.
25306 (stubs): Remove.
25307 ($(objpfx)stubs ../po/manual.pot): Remove.
25308 ($(objpfx)stamp%): Remove.
25309 (make-target-directory): Remove.
25310 (subdir_install): Remove.
25311 (routines): Remove.
25312 (aux): Remove.
25313 (sources): Remove.
25314 (objects): Remove.
25315 (headers): Remove.
25316
25317 [BZ #13750]
25318 * manual/.gitignore: Remove, it's not needed anymore.
25319 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25320 all files in it.
25321 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25322 directory.
25323 (texis): Renamed to $(objpfx)texis.
25324 (texis-path): New, contains path to generated files.
25325 (chapters.%): Use texis-path for complete path, add extra argument
25326 libc-texinfo.sh.
25327 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25328 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25329 (summary,texi, stamp-summary): Use complete path of
25330 files. Generate files in build dir.
25331 (dir-add.texi): Build in build dir.
25332 (libm-err.texi,stamp-libm-err): Likewise.
25333 (version.texi, stamp-version): Likewise.
25334 (.%c.texi): Likewise.
25335 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25336 (mostlyclean): Remove target.
25337 (realclean): Remove target.
25338 (generated): Add new variable with contents from mostlyclean and
25339 realclean, remove entries duplicated in common-mostlyclean, add
25340 stamp-libm-err and stamp-version.
25341 (generated-dirs): Add libc directory.
25342 ($(inst_infodir)/libc.info): Install files from build dir.
25343
25344 * manual/install.texi (Configuring and compiling): Adjust since
25345 the info files are not part of the tar ball anymore.
25346
7ac77294
AJ
253472012-05-14 Andreas Jaeger <aj@suse.de>
25348
25349 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25350 variable.
25351
ffb7875d
JM
253522012-05-14 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #13717]
25355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25356 to 2.2.0 where earlier.
25357 * sysdeps/unix/sysv/linux/configure: Regenerated.
25358 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25359 Remove conditional code.
25360 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25361 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25362 Remove conditional code.
25363 [!__NR_lchown]: Likewise.
25364 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25365 [__NR_lchown]: Likewise.
25366 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25367 comment referencing __ASSUME_LCHOWN_SYSCALL.
25368 * sysdeps/unix/sysv/linux/i386/sigaction.c
25369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25371 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25372 Remove conditional code.
25373 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25374 (__protocol_available): Remove #if 0 code.
25375 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25376 conditional code.
25377 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25378 * sysdeps/unix/sysv/linux/kernel-features.h
25379 (__ASSUME_GETCWD_SYSCALL): Don't define.
25380 (__ASSUME_REALTIME_SIGNALS): Likewise.
25381 (__ASSUME_PREAD_SYSCALL): Likewise.
25382 (__ASSUME_PWRITE_SYSCALL): Likewise.
25383 (__ASSUME_POLL_SYSCALL): Likewise.
25384 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25385 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25386 non-SPARC.
25387 (__ASSUME_SIOCGIFNAME): Don't define.
25388 (__ASSUME_MSG_NOSIGNAL): Likewise.
25389 (__ASSUME_SENDFILE): Define unconditionally.
25390 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25391 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25392 conditional code.
25393 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25394 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25395 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25396 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25397 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25398 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25399 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25404 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25413 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25416 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25419 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25422 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25424 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25425 Remove conditional code.
25426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25427 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25428 Remove conditional code.
25429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25430 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25431 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25432 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25433 Remove conditional code.
25434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25435 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25436 Remove conditional code.
25437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25438 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25439 Remove conditional code.
25440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25441 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25442 Remove conditional code.
25443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25444 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25445 Remove conditional code.
25446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25447 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25448 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25449 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25450 * sysdeps/unix/sysv/linux/sigaction.c
25451 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25452 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25453 * sysdeps/unix/sysv/linux/sigpending.c
25454 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25455 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25456 * sysdeps/unix/sysv/linux/sigprocmask.c
25457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25459 * sysdeps/unix/sysv/linux/sigsuspend.c
25460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25462 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25463 (__libc_missing_rt_sigs): Remove.
25464 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25465 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25466 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25467 Remove conditional code.
25468 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25469 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25470 return 1.
25471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25472 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25474 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25475
1bfb7291
AJ
254762012-05-14 Andreas Jaeger <aj@suse.de>
25477
caae5a81
AJ
25478 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25479 it's not used in glibc.
25480 (__coshm1): Likewise.
25481 (__acosh1p): Likewise.
25482 (__sgn): Likewise.
25483
1bfb7291
AJ
25484 * manual/string.texi (Copying and Concatenation): Add missing
25485 variable in concat example.
25486 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25487
c044d724
L
254882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25489
144c5467 25490 [BZ #14103]
c044d724
L
25491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25492 __builtin_clzl with __builtin_clzll.
25493
2523c62b
L
254942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 [BZ #14104]
25497 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25498 libc_freeres_ptr.
25499
d7bb4c42
LD
255002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25501
25502 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25503 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25504 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25505 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25506
9dc4e1fb
MF
255072012-05-14 Mike Frysinger <vapier@gentoo.org>
25508
25509 * NEWS: Update ia64 info.
25510
c7df0112
AS
255112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25512
25513 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25514 used as bcopy.
25515
dc70356c
TS
255162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25517
25518 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25519 * sysdeps/unix/syscalls.list (dup3): Likewise.
25520 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25521 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25522
9fb1a21f
L
255232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25524
25525 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25526 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25527
4822a2a5
L
255282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25529
25530 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25531 thread pointer.
25532 (TLS_IE): Use mov/add instead of movq/addq to load thread
25533 pointer.
25534 (TLS_GD_PREFIX): New.
25535 (TLS_GD): Use it.
25536
842b81d6
DM
255372012-05-11 David S. Miller <davem@davemloft.net>
25538
25539 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25540 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25541 (_FPU_SETCW): Likewise.
25542
1cf463cd
L
255432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25544
25545 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25546 is 32-byte aligned.
25547
60cc4a18
AS
255482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25549
25550 [BZ #11837]
25551 * iconvdata/gb18030.c: Update tables.
25552 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25553 characters specially.
25554 (BODY for TO_LOOP): Add encoding of missing ranges.
25555
febb44a4
TS
255562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25557
25558 [BZ #13673]
25559 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25560 * sysdeps/mach/hurd/dup3.c: Likewise.
25561 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25562 * sysdeps/powerpc/memmove.c:: Likewise.
25563
0a10fb9e
L
255642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25565
25566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25567 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25568
df8a552f
L
255692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25570
25571 * elf/elf.h (R_X86_64_RELATIVE64): New.
25572 (R_X86_64_NUM): Updated.
25573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25574 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25575 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25576 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25577 tst-quad1pie tst-quad2pie
25578 (modules-names): Add tst-quadmod1 tst-quadmod2.
25579 ($(objpfx)tst-quad1): New dependency.
25580 ($(objpfx)tst-quad2): Likewise.
25581 ($(objpfx)tst-quad1pie): Likewise.
25582 ($(objpfx)tst-quad2pie): Likewise.
25583 * sysdeps/x86_64/tst-quad1.c: New file.
25584 * sysdeps/x86_64/tst-quad1pie.c: New file.
25585 * sysdeps/x86_64/tst-quad2.c: Likewise.
25586 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25587 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25588 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25589 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25590 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25591
f34d6f84
ST
255922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25593
f42d41d1
ST
25594 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25595 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25596 * streams/stropts.h (t_scalar_t): Define type.
25597
3c3571fc
ST
25598 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25599 (_PATH_PRESERVE): Set to "/var/lib".
25600 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25601
61f06bd3
ST
25602 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25603 instead of int.
25604
918d4d71
ST
25605 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25606 if __dir_mkfile succeeded.
25607
f34d6f84
ST
25608 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25609 checking for _hurd_dtablesize. Unlock it right after having
25610 finished _hurd_dtable allocation.
25611
10589b4a
TS
256122012-05-10 Thomas Schwinge <thomas@schwinge.name>
25613
674cdbc7
TS
25614 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25615 * sysdeps/mach/hurd/configure: Regenerated.
25616 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25617 special-casing to...
25618 * sysdeps/gnu/configure.in: ... this new file.
25619 * sysdeps/unix/sysv/linux/configure: Regenerated.
25620 * sysdeps/gnu/configure: New generated file.
25621
8e41b99f
TS
25622 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25623 for Linux: use nsec instead of usec, as well as:
25624 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25625 members of type struct timespec.
25626 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25627 New macros.
25628 (struct stat64): Likewise.
25629 (_STATBUF_ST_NSEC): New macro.
25630 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25631
10589b4a
TS
25632 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25633 __strtoul_internal rather than strtoul.
25634
63643c85
PT
256352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25636
25637 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25638 and reject them.
25639
3faebe6a
ST
256402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25641
25642 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25643 which preserves existing values.
25644 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25645
c6474b07
PT
256462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25647
25648 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25649 TIMEOUT values. Return EINVAL for NFDS values either negative or
25650 greater than FD_SETSIZE.
25651
1043890b
ST
256522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25653
25654 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25655 allocated, call __vm_protect to finish enabling the existing space, and
25656 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25657 allocate the remainder.
25658
37ed8b9b
PT
256592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25660
25661 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25662 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25663
db653660
ST
256642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25665
37ed8b9b
PT
25666 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25667 sysdeps/mach/hurd/readlink.c.
b29d4053 25668
db653660
ST
25669 * posix/tst-sysconf.c (posix_options): Only use
25670 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25671 _POSIX_SYNCHRONIZED_IO when they are defined
25672 * sysdeps/mach/hurd/bits/posix_opt.h:
25673 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25674 (_XOPEN_REALTIME): Undefine macro.
25675 (_XOPEN_REALTIME_THREADS): Undefine macro.
25676 (_XOPEN_SHM): Undefine macro.
25677 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25678 macro to -1.
25679 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25680 macro to -1.
25681 (_POSIX_ASYNC_IO): Undefine macro.
25682 (_POSIX_PRIORITIZED_IO): Undefine macro.
25683 (_POSIX_SPIN_LOCKS): Define macro to -1.
25684
ee16e894
ST
25685 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25686 SA_NODEFER, SA_RESETHAND.
25687 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25688 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25689 F_DUPFD_CLOEXEC.
25690
6103ae3b
TS
256912012-05-10 Thomas Schwinge <thomas@schwinge.name>
25692
25693 * elf/Makefile (pldd-modules): Define unconditionally.
25694
80b4e5f3
TS
256952012-05-10 Thomas Schwinge <thomas@schwinge.name>
25696
25697 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25698
edadcbd6
ST
256992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25700
25701 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25702 Return ENOENT when name is empty.
25703 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25704
80694780
TS
257052012-05-10 Thomas Schwinge <thomas@schwinge.name>
25706
1792c087
TS
25707 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25708
80694780
TS
25709 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25710
6b645f0d
ST
257112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25712
80694780
TS
25713 Fix mlock in all cases except non-readable pages.
25714 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25715 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25716
6b645f0d
ST
25717 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25718 (__mkdir): When path is `/', just fail with EEXIST.
25719 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25720
e468f8a3
TS
257212012-05-10 Thomas Schwinge <thomas@schwinge.name>
25722
25723 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25724 <sys/uio.h> (for writev).
25725 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25726 and <sys/param.h> (for MIN).
25727
a4186cff
PT
257282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25729
25730 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25731 REQUESTED_TIME. Properly set the remaining time and return EINTR
25732 if interrupted.
25733
510bbf14
TS
257342012-05-10 Thomas Schwinge <thomas@schwinge.name>
25735
25736 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25737 Depend on against $(link-rpcuserlibs).
25738
5d5722e8
ST
257392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25740
a4186cff
PT
25741 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25742 (__libc_stack_end): Do not use attribute_relro.
25743 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25744 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25745 to libthread-provided value.
a4186cff
PT
25746 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25747 attribute_relro.
5d5722e8 25748
37233df9
TS
257492012-05-10 Thomas Schwinge <thomas@schwinge.name>
25750
be971a2b
TS
25751 [BZ #3748]
25752 * bits/libc-lock.h (__libc_once_get): New macro.
25753 * sysdeps/mach/bits/libc-lock.h: Likewise.
25754 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25756 instead of using implementation details.
25757
37233df9
TS
25758 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25759 * libio/freopen.c: Likewise.
25760 * libio/freopen64.c: Likewise.
25761 * misc/syslog.c: Likewise.
25762 * nscd/connections.c: Likewise.
25763 * nscd/netgroupcache.c: Likewise.
25764 * sysdeps/posix/getcwd.c: Likewise.
25765
38de94a5
RM
257662012-05-10 Roland McGrath <roland@hack.frob.com>
25767
25768 * math/w_ilogbf.c: Add #include <limits.h>.
25769
67530489
ST
257702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25771
a4186cff 25772 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25773 path instead of returning without unlocking.
25774
67530489
ST
25775 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25776 immediate-write ioctls.
25777 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25778
5aa3a74a
TS
257792012-05-10 Thomas Schwinge <thomas@schwinge.name>
25780
18bad2ae
TS
25781 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25782 __builtin_frame_address instead of making assumptions about the
25783 location of the return address relative to DATA. Force early load of
25784 the return address.
25785 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25786 __builtin_frame_address.
25787
5aa3a74a
TS
25788 dup3 for GNU Hurd.
25789 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25790 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25791 implement dup3 and do some further code clean-ups.
25792 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25793 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25794
ecd0de9a
ST
257952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25796
cd9fa985
ST
25797 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25798
a4186cff
PT
25799 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25800 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25801 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25802 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25803 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25804 d->port.lock.
802ca5a5 25805
a4186cff
PT
25806 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25807 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25808 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25809
bcf55240
TS
258102012-05-10 Thomas Schwinge <thomas@schwinge.name>
25811
6960eb42
TS
25812 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25813 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25814 definitions.
25815
eb43375f
TS
25816 accept4 for GNU Hurd.
25817 * include/sys/socket.h (__libc_accept4): New prototype.
25818 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25819 to implement __libc_accept4.
25820 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25821 __libc_accept4.
25822 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25823
bcf55240
TS
25824 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25825 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25826 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25827 signal-defines.sym.
25828
6178c55b
ST
258292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25830
a4186cff 25831 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25832
6f080c2f
TS
258332012-05-10 Thomas Schwinge <thomas@schwinge.name>
25834
25835 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25836 assertion on O_CLOEXEC flag.
25837 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25838 * hurd/intern-fd.c: Likewise.
25839 * hurd/port2fd.c: Likewise.
25840
bcfe3a54
ST
258412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25842
25843 [BZ #3906]
25844 * bits/in.h (IPV6_PKTINFO): Define new macro.
25845 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25846
89c9aa49
AZ
258472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25848
25849 [BZ #13954]
25850 [BZ #13955]
25851 [BZ #13956]
25852 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25854 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25855 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25857 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25858 * math/libm-test.inc (logb_test) : Additional logb tests.
25859
021db4be
AJ
258602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25861 Andreas Jaeger <aj@suse.de>
25862
25863 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25864 * configure: Regenerated.
25865 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25866 * config.make.in (link-obsolete-rpc): New substituted variable.
25867 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25868 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25869 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25870 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25871 so that libc.a contains the symbols.
25872 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25873 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25874 * sunrpc/auth_none.c: Likewise.
25875 * sunrpc/auth_unix.c: Likewise.
25876 * sunrpc/authdes_prot.c: Likewise.
25877 * sunrpc/authuxprot.c: Likewise.
25878 * sunrpc/clnt_gen.c: Likewise.
25879 * sunrpc/clnt_perr.c: Likewise.
25880 * sunrpc/clnt_raw.c: Likewise.
25881 * sunrpc/clnt_simp.c: Likewise.
25882 * sunrpc/clnt_tcp.c: Likewise.
25883 * sunrpc/clnt_udp.c: Likewise.
25884 * sunrpc/clnt_unix.c: Likewise.
25885 * sunrpc/des_crypt.c: Likewise.
25886 * sunrpc/des_soft.c: Likewise.
25887 * sunrpc/get_myaddr.c: Likewise.
25888 * sunrpc/key_call.c: Likewise.
25889 * sunrpc/key_prot.c: Likewise.
25890 * sunrpc/netname.c: Likewise.
25891 * sunrpc/pm_getmaps.c: Likewise.
25892 * sunrpc/pm_getport.c: Likewise.
25893 * sunrpc/pmap_clnt.c: Likewise.
25894 * sunrpc/pmap_prot.c: Likewise.
25895 * sunrpc/pmap_prot2.c: Likewise.
25896 * sunrpc/pmap_rmt.c: Likewise.
25897 * sunrpc/publickey.c: Likewise.
25898 * sunrpc/rpc_cmsg.c: Likewise.
25899 * sunrpc/rpc_common.c: Likewise.
25900 * sunrpc/rpc_dtable.c: Likewise.
25901 * sunrpc/rpc_prot.c: Likewise.
25902 * sunrpc/rpc_thread.c: Likewise.
25903 * sunrpc/rtime.c: Likewise.
25904 * sunrpc/svc.c: Likewise.
25905 * sunrpc/svc_auth.c: Likewise.
25906 * sunrpc/svc_raw.c: Likewise.
25907 * sunrpc/svc_run.c: Likewise.
25908 * sunrpc/svc_tcp.c: Likewise.
25909 * sunrpc/svc_udp.c: Likewise.
25910 * sunrpc/svc_unix.c: Likewise.
25911 * sunrpc/svcauth_des.c: Likewise.
25912 * sunrpc/xcrypt.c: Likewise.
25913 * sunrpc/xdr.c: Likewise.
25914 * sunrpc/xdr_array.c: Likewise.
25915 * sunrpc/xdr_float.c: Likewise.
25916 * sunrpc/xdr_intXX_t.c: Likewise.
25917 * sunrpc/xdr_mem.c: Likewise.
25918 * sunrpc/xdr_rec.c: Likewise.
25919 * sunrpc/xdr_ref.c: Likewise.
25920 * sunrpc/xdr_sizeof.c: Likewise.
25921 * sunrpc/xdr_stdio.c: Likewise.
25922
b5c086a2
RM
259232012-05-10 Roland McGrath <roland@hack.frob.com>
25924
25925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25926 change. Update copyright years.
25927
6d74dd09
JM
259282012-05-10 Joseph Myers <joseph@codesourcery.com>
25929
25930 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25931
28e72501
MK
259322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25933 Joseph Myers <joseph@codesourcery.com>
25934 Paul Pluzhnikov <ppluzhnikov@google.com>
25935
25936 [BZ #14012]
25937 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25938 requiring rpcgen.
25939 [cross-compiling] (extra-libs): Likewise.
25940 [cross-compiling] (extra-libs-others): Likewise.
25941 [cross-compiling] (librpcsvc-routines): Likewise.
25942 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25943 [cross-compiling] (omit-deps): Likewise.
25944 (sunrpc-CPPFLAGS): New variable.
25945 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25946 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25947 (cross-rpcgen-objs): New variable.
25948 (extra-objs): Append $(cross-rpcgen-objs).
25949 ($(cross-rpcgen-objs)): New rule.
25950 ($(objpfx)cross-rpcgen): Likewise.
25951 (rpcgen-cmd): Define to use $(built-program-file). Expand
25952 comment.
25953 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25954 ($(objpfx)x%.stmp): Likewise.
25955 * sunrpc/proto.h [IS_IN_build] (_): Define.
25956 [IS_IN_build] (_libc_intl_domainname): Likewise.
25957
c8c59454
L
259582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25959
25960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25961 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25962 and R_X86_64_TPOFF64.
25963
6f27cd16
JM
259642012-05-10 Joseph Myers <joseph@codesourcery.com>
25965
25966 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25967 sysdeps/unix/sysv/syscalls.list.
25968 (stime): Likewise.
25969 (utime): Likewise.
25970 * sysdeps/unix/sysv/syscalls.list: Remove file.
25971
02467e1c
PE
259722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25973
25974 [BZ #3440]
25975 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25976 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25977 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25978 (__LC_IDENTIFICATION): Make these macros useful in #if
25979 expressions, as required by C99.
25980
da392631
AS
259812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25982
25983 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25984 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25985 after this.
25986
8115f29b
L
259872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25988
25989 * stdlib/longlong.h: Updated from GCC.
25990
bdd74070
AJ
259912012-05-09 Andreas Jaeger <aj@suse.de>
25992
edfe0dbe
AJ
25993 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25994 default is first entry.
25995 (run_mode): Set type.
25996 (main): Remove informal message about syslog.
25997 (options): Fix typo.
25998
bcfe3a54
ST
25999 [BZ #14053]
26000 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26001 to asm.
bcfe3a54
ST
26002 (lrint): Likewise.
26003 (llrintf): Likewise.
26004 (llrint): Likewise.
26005 (rint): Likewise.
26006 (rintf): Likewise.
26007 (nearbyint): Likewise.
26008 (nearbyintf): Likewise.
bdd74070 26009
91d8d69e
AJ
260102012-05-09 Andreas Jaeger <aj@suse.de>
26011 Pedro Alves <palves@redhat.com>
26012
26013 * nscd/nscd.c (run_mode): Use enum.
26014 (main): Cleanup coding style issue.
26015
bb90b80b
AJ
260162012-05-09 Alexandre Oliva <aoliva@redhat.com>
26017 Andreas Jaeger <aj@suse.de>
26018
bcfe3a54
ST
26019 * nscd/nscd.c (go_background): Replaced with...
26020 (run_mode): ... this.
bb90b80b 26021 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26022 (options): Add -F --foreground.
26023 (main): Implement it.
26024 (parse_opt): Parse it.
bb90b80b 26025
1a4b75a1
AJ
260262012-05-09 Andreas Jaeger <aj@suse.de>
26027
26028 [BZ #14083]
26029 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26030 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26031 -Wconversion warning.
26032 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26033 Likewise.
26034
b1cc2472
JM
260352012-05-09 Joseph Myers <joseph@codesourcery.com>
26036
26037 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26038 == 0.
26039 (LC_ALL): Use macro-int-constant.
26040 (LC_COLLATE): Likewise.
26041 (LC_CTYPE): Likewise.
26042 (LC_MESSAGES): Likewise.
26043 (LC_MONETARY): Likewise.
26044 (LC_NUMERIC): Likewise.
26045 (LC_TIME): Likewise.
26046 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26047 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26049 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26050 Specify type.
26051 [C99-based standards] (float_t): Expect type.
26052 [C99-based standards] (double_t): Expect type.
26053 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26054 type.
26055 [C99-based standards] (HUGE_VALL): Likewise.
26056 [C99-based standards] (INFINITY): Likewise.
26057 [C99-based standards] (NAN): Likewise.
26058 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26059 [C99-based standards] (FP_NAN): Likewise.
26060 [C99-based standards] (FP_NORMAL): Likewise.
26061 [C99-based standards] (FP_SUBNORMAL): Likewise.
26062 [C99-based standards] (FP_ZERO): Likewise.
26063 [C99-based standards] (FP_FAST_FMA): Use
26064 optional-macro-int-constant. Specify type. Require == 1.
26065 [C99-based standards] (FP_FAST_FMAF): Likewise.
26066 [C99-based standards] (FP_FAST_FMAL): Likewise.
26067 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26068 [C99-based standards] (FP_ILOGBNAN): Likewise.
26069 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26070 Specify type.
26071 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26072 [C99-based standards] (math_errhandling): Specify type.
26073 [ISO99 || ISO11] (signgam): Do not allow.
26074 [non-C99-based standards] (copysignf): Do not allow.
26075 [non-C99-based standards] (exp2f): Likewise.
26076 [non-C99-based standards] (log2f): Likewise.
26077 [non-C99-based standards] (modff): Allow.
26078 [non-C99-based standards] (erff): Do not allow.
26079 [non-C99-based standards] (erfcf): Likewise.
26080 [non-C99-based standards] (gammaf): Likewise.
26081 [non-C99-based standards] (hypotf): Likewise.
26082 [non-C99-based standards] (j0f): Likewise.
26083 [non-C99-based standards] (j1f): Likewise.
26084 [non-C99-based standards] (jnf): Likewise.
26085 [non-C99-based standards] (lgammaf): Likewise.
26086 [non-C99-based standards] (tgammaf): Likewise.
26087 [non-C99-based standards] (y0f): Likewise.
26088 [non-C99-based standards] (y1f): Likewise.
26089 [non-C99-based standards] (ynf): Likewise.
26090 [non-C99-based standards] (isnanf): Likewise.
26091 [non-C99-based standards] (acoshf): Likewise.
26092 [non-C99-based standards] (asinhf): Likewise.
26093 [non-C99-based standards] (atanhf): Likewise.
26094 [non-C99-based standards] (cbrtf): Likewise.
26095 [non-C99-based standards] (expm1f): Likewise.
26096 [non-C99-based standards] (ilogbf): Likewise.
26097 [non-C99-based standards] (log1pf): Likewise.
26098 [non-C99-based standards] (logbf): Likewise.
26099 [non-C99-based standards] (nextafterf): Likewise.
26100 [non-C99-based standards] (remainderf): Likewise.
26101 [non-C99-based standards] (rintf): Likewise.
26102 [non-C99-based standards] (scalbf): Likewise.
26103 [non-C99-based standards] (copysignl): Likewise.
26104 [non-C99-based standards] (exp2l): Likewise.
26105 [non-C99-based standards] (log2l): Likewise.
26106 [non-C99-based standards] (modfl): Allow.
26107 [non-C99-based standards] (erfl): Do not allow.
26108 [non-C99-based standards] (erfcl): Likewise.
26109 [non-C99-based standards] (gammal): Likewise.
26110 [non-C99-based standards] (hypotl): Likewise.
26111 [non-C99-based standards] (j0l): Likewise.
26112 [non-C99-based standards] (j1l): Likewise.
26113 [non-C99-based standards] (jnl): Likewise.
26114 [non-C99-based standards] (lgammal): Likewise.
26115 [non-C99-based standards] (tgammal): Likewise.
26116 [non-C99-based standards] (y0l): Likewise.
26117 [non-C99-based standards] (y1l): Likewise.
26118 [non-C99-based standards] (ynl): Likewise.
26119 [non-C99-based standards] (isnanl): Likewise.
26120 [non-C99-based standards] (acoshl): Likewise.
26121 [non-C99-based standards] (asinhl): Likewise.
26122 [non-C99-based standards] (atanhl): Likewise.
26123 [non-C99-based standards] (cbrtl): Likewise.
26124 [non-C99-based standards] (expm1l): Likewise.
26125 [non-C99-based standards] (ilogbl): Likewise.
26126 [non-C99-based standards] (log1pl): Likewise.
26127 [non-C99-based standards] (logbl): Likewise.
26128 [non-C99-based standards] (nextafterl): Likewise.
26129 [non-C99-based standards] (remainderl): Likewise.
26130 [non-C99-based standards] (rintl): Likewise.
26131 [non-C99-based standards] (scalbl): Likewise.
26132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26133 [non-C99-based standards] (FP_*): Do not allow.
26134 [C99-based standards] (FP_*): Change to
26135 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26136 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26137 allow.
26138 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26139 (SIG_ERR): Likewise.
26140 [X/Open-based standards] (SIG_HOLD): Likewise.
26141 (SIG_IGN): Likewise.
26142 (SIGABRT): Use macro-int-constant. Specify type. Require
26143 positive value.
26144 (SIGFPE): Likewise.
26145 (SIGILL): Likewise.
26146 (SIGINT): Likewise.
26147 (SIGSEGV): Likewise.
26148 (SIGTER): Likewise.
26149 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26150 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26151 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26152 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26153 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26154 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26155 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26156 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26157 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26158 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26159 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26160 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26161 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26162 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26163 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26164 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26165 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26166 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26167 [X/Open-based standards] (SIGTRAP): Likewise.
26168 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26169 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26170 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26171 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26172 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26173 allow.
26174
b9f1922d
IW
261752012-05-08 Ian Wienand <ianw@vmware.com>
26176
26177 [BZ #14080]
26178 * time/tzset.c (__tzset_parse_tz): Update default rules for
26179 daylight time changes in the Energy Policy Act of 2005.
26180
1db86e88
AJ
261812012-05-09 Andreas Jaeger <aj@suse.de>
26182
26183 [BZ #13983]
26184 * elf/ldconfig.c (parse_conf): Change string to make clear that
26185 ldconfig only issued a warning if ld.so.conf does not exist.
26186
dee4a4e3
DM
261872012-05-08 David S. Miller <davem@davemloft.net>
26188
ee0db190
DM
26189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26190 movxtod instead of popping the value on the stack.
26191
dee4a4e3
DM
26192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26193
6a43ec98
CD
261942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26195
26196 * config.h.in: Add HAVE_ARM_PCS_VFP.
26197
05c2c961
RMG
261982012-05-08 Roland Mc Grath <roland@hack.frob.com>
26199
bcfe3a54
ST
26200 [BZ #13979]
26201 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26202 checking but the checks are disabled for any reason.
05c2c961 26203
4b30f61a
L
262042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26205
26206 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26207 and ELF64_R_TYPE with ELFW(R_TYPE).
26208
eee2bc67
JM
262092012-05-08 Joseph Myers <joseph@codesourcery.com>
26210
7ea5391a
JM
26211 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26212 (ulimit): Likewise.
26213
eee2bc67
JM
26214 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26215 (settimeofday): Likewise.
26216
abb66a67
MF
262172012-05-08 Mike Frysinger <vapier@gentoo.org>
26218
26219 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26220 a struct th_u2 inside the union, and move tu_block/tu_code into
26221 a new th_u3 union of tu_block/tu_code inside of that. Move
26222 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26223 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26224 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26225 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26226 (th_stuff): Change to th_u1.tu_stuff.
26227 (th_data): Define.
26228 (th_msg): Change to th_u1.th_u2.tu_data.
26229
7f18b530
DM
262302012-05-07 David S. Miller <davem@davemloft.net>
26231
05760585
DM
26232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26233
7f18b530
DM
26234 [BZ #14074]
26235 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26236 (SETUP_PIC_REG): Use it.
26237 (SETUP_PIC_REG_LEAF): Use it.
26238
495fd99f
JM
262392012-05-07 Joseph Myers <joseph@codesourcery.com>
26240
26241 [BZ #13885]
26242 [BZ #13923]
26243 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26244 USE_AS_EXPM1L.
26245 (EXPL_FINITE): Likewise.
26246 (FLDLOG): Likewise.
26247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26248 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26249 e_expl.S.
26250 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26251 USE_AS_EXPM1L.
26252 (EXPL_FINITE): Likewise.
26253 (FLDLOG): Likewise.
26254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26255 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26256 e_expl.S.
26257 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26258 test of -max_value argument for long double.
26259 * sysdeps/i386/fpu/libm-test-ulps: Update.
26260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26261
6693d694
DM
262622012-05-06 David S. Miller <davem@davemloft.net>
26263
26264 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26265 quad soft-float symbols whose references which are compiler
26266 generated.
26267 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26268
6c23e11c
JM
262692012-05-06 Joseph Myers <joseph@codesourcery.com>
26270
d8b82cad
JM
26271 [BZ #13884]
26272 [BZ #13914]
26273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26274 USE_AS_EXP10L.
26275 (EXPL_FINITE): Likewise.
26276 (FLDLOG): Likewise.
26277 (c0): Likewise.
26278 (c1): Likewise.
26279 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26280 Adjust comments for base varying.
26281 (__expl_finite): Change alias to EXPL_FINITE.
26282 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26283 e_expl.S.
26284 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26285 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26287 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26288 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26289 USE_AS_EXP10L.
26290 (EXPL_FINITE): Likewise.
26291 (FLDLOG): Likewise.
26292 (c0): Likewise.
26293 (c1): Likewise.
26294 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26295 Adjust comments for base varying.
26296 (__expl_finite): Change alias to EXPL_FINITE.
26297 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26298 tests for bugs.
26299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26300
6c23e11c
JM
26301 [BZ #14064]
26302 * math/libm-test.inc (check_float_internal): Correct ulp
26303 calculation for subnormal expected results.
26304
29ba805c
AJ
263052012-05-06 Andreas Jaeger <aj@suse.de>
26306
26307 * Makeconfig (+math-flags): New, set to -frounding-math.
26308 (+cflags): Add +math-flags so that all of glibc gets compiled with
26309 it.
26310
26311 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26312
7b17aeda
JM
263132012-05-05 Joseph Myers <joseph@codesourcery.com>
26314
5779f134
JM
26315 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26316 Disable one test.
26317
41498f4d
JM
26318 [BZ #13787]
26319 [BZ #13922]
26320 [BZ #14036]
26321 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26322 (__ieee754_expl): Allow for and saturate large arguments.
26323 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26324 (u_threshold): Likewise.
26325 (__exp): Call __ieee754_exp before checking for overflow and
26326 underflow.
26327 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26328 (u_threshold): Likewise.
26329 (__expf): Call __ieee754_expf before checking for overflow and
26330 underflow.
26331 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26332 (u_threshold): Likewise.
26333 (__expl): Call __ieee754_expl before checking for overflow and
26334 underflow.
26335 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26336 (__ieee754_expl): Allow for and saturate large arguments.
26337 * math/libm-test.inc (exp_test): Add another test. Do not allow
26338 missing overflow exception on overflow.
26339 (expm1_test): Do not allow missing overflow exception on overflow.
26340
6698b8bf
JM
26341 * sysdeps/i386/fpu/e_expl.c: Move to ...
26342 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26343 rather than using inline asm.
26344 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26345 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26346 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26347
7b17aeda
JM
26348 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26349 (nice): Likewise.
26350 (poll): Likewise.
26351 (signal): Likewise.
26352 (time): Likewise.
26353 (times): Likewise.
26354
f7c85819
JM
263552012-05-04 Joseph Myers <joseph@codesourcery.com>
26356
26357 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26358 sysdeps/unix/common/syscalls.list.
26359 (fchmod): Likewise.
26360 (fchown): Likewise.
26361 (ftruncate): Likewise.
26362 (getrusage): Likewise.
26363 (gettimeofday): Likewise.
26364 (setpgid): Likewise.
26365 (setregid): Likewise.
26366 (setreuid): Likewise.
26367 (sigaction): Likewise.
26368 (truncate): Likewise.
26369 (vhangup): Likewise.
26370 * sysdeps/unix/common/syscalls.list: Remove file.
26371 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26372 * sysdeps/unix/sysv/linux/Implies: Likewise.
26373
336270d0
L
263742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26375
26376 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26378 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26379 Moved to ...
26380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26381 Here.
26382 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26383 to ...
26384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26385 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26386 to ...
26387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26388 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26389 to ...
26390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26391 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26392 to ...
26393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26394 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26395 to ...
26396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26397 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26398 to ...
26399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26400 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26401 to ...
26402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26403 Here.
26404 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26405 to ...
26406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26407 Here.
26408 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26409 to ...
26410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26411 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26412 Moved to ...
26413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26414 Here.
26415 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26416 to ...
26417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26418
d128e450
JM
264192012-05-04 Joseph Myers <joseph@codesourcery.com>
26420
fa8ee516
JM
26421 * sysdeps/unix/common/bits/dirent.h: Remove file.
26422 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26423
d128e450
JM
26424 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26425 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26426 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26427 * sysdeps/unix/bsd/isatty.c: Likewise.
26428 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26429 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26430 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26431
ff8faaf0 264322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 26433
62881be4 26434 [BZ #13563]
31dc8730
AZ
26435 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26436 long double comparison inaccuracies.
26437 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26439
6fef930c
AS
264402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26441
26442 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26444
8f203e6c
JM
264452012-05-04 Joseph Myers <joseph@codesourcery.com>
26446
26447 [BZ #14049]
26448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26449 nonzero digits before rounding a hex value.
26450 * stdlib/tst-strtod.c (tests): Add another test.
26451
5197d9c2
AK
264522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26453
26454 * sysdeps/s390/fpu/libm-test-ulps: Update.
26455
f0c1dedf
AJ
264562012-05-03 Andreas Jaeger <aj@suse.de>
26457
26458 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26459 does not get optimized out.
26460 (malloc_opt_barrier): New.
26461
a65ef2ae 264622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 26463 Roland McGrath <roland@hack.frob.com>
a65ef2ae 26464
2b942cb7 26465 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 26466 intermediate file deletion.
2b942cb7 26467 (generated): Add .symlist files.
a65ef2ae 26468
54b71e02
JM
264692012-05-03 Joseph Myers <joseph@codesourcery.com>
26470
26471 [BZ #13775]
26472 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26473 Redirect under this condition.
26474 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26475 [__USE_GNU] (__dprintf_chk): Not under this condition.
26476 [__USE_GNU] (__vdprintf_chk): Likewise.
26477 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26478 under this condition.
26479 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26480 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26481 [__USE_XOPEN2K8] (vdprintf): Likewise.
26482 [__USE_GNU] (__dprintf_chk): Not under this condition.
26483 [__USE_GNU] (__vdprintf_chk): Likewise.
26484 [__USE_GNU] (dprintf): Likewise.
26485 [__USE_GNU] (vdprintf): Likewise.
26486
d3dfcc41
RM
264872012-05-03 Roland McGrath <roland@hack.frob.com>
26488
26489 * elf/Makefile (common-generated): Set this instead of generated for
26490 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26491 $(all-built-dso)-derived lists.
26492
7ac30cc5
AJ
264932012-05-03 Andreas Jaeger <aj@suse.de>
26494
0c51e550
AJ
26495 * sysdeps/i386/fpu/libm-test-ulps: Update.
26496
7ac30cc5
AJ
26497 * FAQ: Removed.
26498 * FAQ.in: Likewise.
26499 * scripts/gen-FAQ.pl: Likewise.
26500 * manual/install.texi (Installation): Point to online location of
26501 FAQ.
26502 * Makefile (files-for-dist): Remove FAQ.
26503 (FAQ): Remove.
26504
d4c2917f
AM
265052012-05-02 Allan McRae <allan@archlinux.org>
26506
26507 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26508 (LDFLAGS-reldepmod5.so): Likewise.
26509 (LDFLAGS-reldep6mod1.so): Likewise.
26510 (LDFLAGS-reldep6mod4.so): Likewise.
26511 (LDFLAGS-reldep8mod3.so): Likewise.
26512 (LDFLAGS-unload4mod1.so): Likewise.
26513 (LDFLAGS-unload4mod2.so): Likewise.
26514 (LDFLAGS-tst-initorder): Likewise.
26515 (LDFLAGS-tst-initordera2.so): Likewise.
26516 (LDFLAGS-tst-initordera3.so): Likewise.
26517 (LDFLAGS-tst-initordera4.so): Likewise.
26518 (LDFLAGS-tst-initorderb2.so): Likewise.
26519 (LDFLAGS-noload): Likewise.
26520 (LDFLAGS-next): Likewise.
26521 (LDFLAGS-order2mod1.so): Likewise.
26522 (LDFLAGS-order2mod2.so): Likewise.
26523 (LDFLAGS-tst-initorder2): Likewise.
26524 (LDFLAGS-tst-initorder2a.so): Likewise.
26525 (LDFLAGS-tst-initorder2b.so): Likewise.
26526 (LDFLAGS-tst-initorder2c.so): Likewise.
26527 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26528
d77f993f
DM
265292012-05-02 David S. Miller <davem@davemloft.net>
26530
26531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26532
171a70b4
PP
265332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26534
26535 [BZ #14055]
26536 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26537
0be196ad
AJ
265382012-05-02 Andreas Jaeger <aj@suse.de>
26539
26540 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26541 since we manipulate rounding mode.
26542 (CPPFLAGS-test-idouble.c): Likewise.
26543 (CPPFLAGS-test-ifloat.c): Likewise.
26544 (CFLAGS-test-ldouble.c): Likewise.
26545 (CFLAGS-test-double.c): Likewise.
26546 (CFLAGS-test-float.c): Likewise.
26547 (CFLAGS-test-misc.c): Likewise.
26548 (CFLAGS-test-test-fenv.c): Likewise.
26549
4f9d04aa
AZ
265502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26551
2b942cb7
RM
26552 [BZ #2550]
26553 [BZ #2570]
26554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26555 comparisons to determine direction to adjust input.
4f9d04aa 26556
82a79e7d
RM
265572012-05-01 Roland McGrath <roland@hack.frob.com>
26558
f5a01ca9
RM
26559 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26560 output to the target.
26561
90fe4186
RM
26562 * scripts/localplt.awk: New file.
26563 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26564 (check-localplt-CFLAGS): Variable removed.
26565 ($(all-built-dso:=.jmprel)): New static pattern rule.
26566 (generated): Add those targets.
26567 (localplt-built-dso): New variable.
26568 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26569
26570 * elf/check-localplt.c: File removed.
26571
82397ed6
RM
26572 * scripts/check-execstack.awk: New file.
26573 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26574 (check-execstack-CFLAGS): Variable removed.
26575 ($(objpfx)check-execstack.h): Target removed.
26576 ($(objpfx)execstack-default): New target.
26577 (generated): Add that instead of check-execstack.h.
26578 ($(all-built-dso:=.phdr)): New static pattern rule.
26579 (generated): Add those targets.
26580 * elf/check-execstack.c: File removed.
26581
82a79e7d
RM
26582 * scripts/check-textrel.awk: New file.
26583 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26584 (check-textrel-CFLAGS): Variable removed.
26585 (all-built-dso): Use := to define.o
26586 ($(all-built-dso:=.dyn)): New static pattern rule.
26587 (generated): Add those targets.
26588 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26589 * config.make.in (READELF): New substituted variable.
26590 * elf/check-textrel.c: File removed.
26591
62fde54f 265922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 26593
615605c9
JM
26594 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26595 allow.
26596 * conform/data/ctype.h-data [C99-based standards] (isblank):
26597 Expect function.
26598 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26599 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26601 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26602 Specify type. Require positive value.
26603 (EILSEQ): Likewise.
26604 (ERANGE): Likewise.
26605 [ISO || POSIX] (EILSEQ): Do not expect.
26606 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26607 Specify type. Require positive value.
26608 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26609 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26610 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26611 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26612 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26613 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26614 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26615 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26616 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26617 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26618 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26619 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26620 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26621 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26622 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26623 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26624 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26625 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26626 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26627 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26628 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26629 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26630 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26631 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26632 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26633 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26634 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26635 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26636 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26637 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26638 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26639 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26640 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26641 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26642 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26643 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26644 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26645 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26646 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26647 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26648 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26649 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26650 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26651 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26652 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26653 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26654 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26655 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26656 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26657 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26658 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26659 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26660 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26661 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26662 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26663 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26664 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26665 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26666 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26667 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26668 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26669 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26670 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26671 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26672 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26674 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26675 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26676 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26677 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26682 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26683 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26684 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26685 Require >= 2.
26686 (FLT_ROUNDS): Expect as macro, not constant.
26687 (FLT_MANT_DIG): Use macro-int-constant.
26688 (DBL_MANT_DIG): Likewise.
26689 (LDBL_MANT_DIG): Likewise.
26690 (FLT_DIG): Likewise.
26691 (DBL_DIG): Likewise.
26692 (LDBL_DIG): Likewise.
26693 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26694 (DBL_MIN_EXP): Likewise.
26695 (LDBL_MIN_EXP): Likewise.
26696 (FLT_MAX_EXP): Use macro-int-constant.
26697 (DBL_MAX_EXP): Likewise.
26698 (LDBL_MAX_EXP): Likewise.
26699 (FLT_MAX_10_EXP): Likewise.
26700 (DBL_MAX_10_EXP): Likewise.
26701 (LDBL_MAX_10_EXP): Likewise.
26702 (FLT_MAX): Use macro-constant.
26703 (DBL_MAX): Likewise.
26704 (LDBL_MAX): Likewise.
26705 (FLT_EPSILON): Use macro-constant. Give upper bound.
26706 (DBL_EPSILON): Likewise.
26707 (LDBL_EPSILON): Likewise.
26708 (FLT_MIN): Likewise.
26709 (DBL_MIN): Likewise.
26710 (LDBL_MIN): Likewise.
26711 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26712 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26713 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26714 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26715 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26716 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26717 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26718 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26719 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26720 [ISO11] (FLT_TRUE_MIN): Likewise.
26721 [ISO11] (LDBL_TRUE_MIN): Likewise.
26722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26723 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26724 (SCHAR_MIN): Use macro-int-constant. Specify type.
26725 (SCHAR_MAX): Likewise.
26726 (UCHAR_MAX): Likewise.
26727 (CHAR_MIN): Likewise.
26728 (CHAR_MAX): Likewise.
26729 (MB_LEN_MAX): Use macro-int-constant.
26730 (SHRT_MIN): Use macro-int-constant. Specify type.
26731 (SHRT_MAX): Likewise.
26732 (USHRT_MAX): Likewise.
26733 (INT_MAX): Likewise.
26734 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26735 bound negative.
26736 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26737 bound with "U".
26738 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26739 bound with "L".
26740 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26741 bound negative. Suffix upper bound with "L".
26742 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26743 bound with "UL".
26744 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26745 Specify type.
26746 [C99-based standards] (LLONG_MAX): Likewise.
26747 [C99-based standards] (ULLONG_MAX): Likewise.
26748 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26749 == 0.
26750 [ISO11] (max_align_t): Require type.
26751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26752
c9140a62
JM
26753 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26754 from $CFLAGS, without defining away __attribute__ calls.
26755 (checknamespace): Use $CFLAGS_namespace.
26756
9af0bf29
JM
26757 * conform/conformtest.pl (@keywords): Only include C99 keywords
26758 for standards based on C99 or C11.
26759
343222a2
JM
26760 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26761 Disable tests.
26762 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26763 UNIX98]: Likewise.
26764
661f8cf0
JM
26765 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26766 usability of symbols in #if.
26767
ee74b9cb
JM
26768 * conform/conformtest.pl: If macro or constant types start
26769 "promoted:", expect the symbol to be of the following type
26770 promoted by the integer promotions.
62fde54f 26771
aafc49b3
JM
26772 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26773 in one place. Also handle "macro-constant".
26774
fefdf574
JM
26775 * conform/conformtest.pl: Only accept expected macro values with
26776 "==". Parse all "macro" lines in one place.
26777 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26778
f2d922fe
JM
26779 * conform/conformtest.pl: Handle braced types on "constant" lines
26780 instead of handling "typed-constant".
26781 * conform/data/signal.h-data: Use "constant" instead of
26782 "typed-constant".
26783
d22956c9
JM
26784 * conform/conformtest.pl: Handle "optional-" at start of lines in
26785 one place rather than duplicating several cases. Handle each
26786 format of "macro" line with initial "optional-".
26787
028e2e38
JM
26788 * conform/conformtest.pl: Only accept expected constant or
26789 optional-constant values with "==". Parse all "constant" lines in
26790 one place. Parse all "optional-constant" lines in one place.
26791 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26792 * conform/data/fmtmsg.h-data: Likewise.
26793 * conform/data/netinet/in.h-data: Likewise.
26794 * conform/data/tar.h-data: Likewise.
26795 * conform/data/limits.h-data: Use "==" form on "constant" and
26796 "optional-constant" lines.
26797
1b8f2850
JM
26798 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26799 Use -std=c99 for XOPEN2K.
26800 (@knownproblems): Remove.
26801 (newtoken): Don't check %isknown.
26802
a05a144b
JM
26803 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26804 Do not expect macro.
26805 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26806 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26807 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26808 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26809 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26810 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26811 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26812 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26813 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26814 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26815 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26816 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26817 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26818 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26819 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26820 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26821 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26822 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26823 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26824 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26825 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26826 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26827 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26828 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26829 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26830 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26831 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26832 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26833 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26834 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26835 [XPG3] (acosh): Likewise.
26836 [XPG3] (asinh): Likewise.
26837 [XPG3] (atanh): Likewise.
26838 [XPG3] (cbrt): Likewise.
26839 [XPG3] (expm1): Likewise.
26840 [XPG3] (ilogb): Likewise.
26841 [XPG3] (log1p): Likewise.
26842 [XPG3] (logb): Likewise.
26843 [XPG3] (nextafter): Likewise.
26844 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26845 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26846 [XPG3] (remainder): Likewise.
26847 [XPG3] (rint): Likewise.
26848 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26849 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26850 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26851 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26852 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26853 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26854 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26855 [UNIX98 || XOPEN2K] (scalb): Expect.
26856 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26857 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26858 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26859 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26860 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26861 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26862 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26863 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26864 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26865 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26866 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26867 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26868 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26869 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26870 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26871 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26872 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26873 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26874 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26875 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26876 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26877 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26878 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26879 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26880 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26881 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26882 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26883 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26884 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26885 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26886 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26887 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26888 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26889 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26890 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26891 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26892 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26893 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26894 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26895 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26896 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26897 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26898 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26899 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26903 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26904 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26905 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26906 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26907 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26908 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26909 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26910 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26911 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26912 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26914 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26915 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26921 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26922 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26923 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26924 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26925 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26926 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26927 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26928 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26929 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26930 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26931 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26932 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26933 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26935 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26936 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26937 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26940 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26941 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26942 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26943 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26949 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26950 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26951 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26993
73c5ebe3
JM
26994 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26995 _XOPEN_SOURCE_EXTENDED for XPG4.
26996
39c33b6c
JM
26997 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26998
62fde54f
JM
26999 * Makeconfig (localtime): Remove variable.
27000 (inst_localtime-file): Likewise.
27001
0741d64c
AS
270022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27003
27004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27005 Update.
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27007 Update.
27008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27009 Update.
27010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27011 Update.
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27013 Update.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27015 Update.
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27017 Update.
27018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27019 Update.
27020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27021 Update.
27022
7cb029ee
JM
270232012-05-01 Joseph Myers <joseph@codesourcery.com>
27024
27025 [BZ #2550]
27026 [BZ #2570]
27027 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27028 comparisons to determine direction to adjust input.
27029 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27030 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27032 Likewise.
27033 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27034 Likewise.
27035 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27036 Likewise.
27037 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27038 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27039 Likewise.
27040 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27041 Likewise.
27042 * math/libm-test.inc (nexttoward_test): Add more tests.
27043
412bd966
AS
270442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27045
27046 [BZ #14040]
27047 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27048 in version GLIBC_2.1, not GLIBC_2.0.
27049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27050 Likewise.
27051
9568c0c2
JM
270522012-04-30 Joseph Myers <joseph@codesourcery.com>
27053
adfbc8ac
JM
27054 [BZ #13942]
27055 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27056 (1 - x) * (1 + x).
27057 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27058 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27059 * math/libm-test.inc (acos_test): Add more tests.
27060 (asin_test): Likewise.
27061 * sysdeps/i386/fpu/libm-test-ulps: Update.
27062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27063
5ba3cc69
JM
27064 [BZ #14034]
27065 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27066 of square root.
27067 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27068 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27069 * math/libm-test.inc (acos_test_tonearest): New function.
27070 (acos_test_towardzero): Likewise.
27071 (acos_test_downward): Likewise.
27072 (acos_test_upward): Likewise.
27073 (asin_test_tonearest): Likewise.
27074 (asin_test_towardzero): Likewise.
27075 (asin_test_downward): Likewise.
27076 (asin_test_upward): Likewise.
27077 (main): Call the new functions.
27078 * sysdeps/i386/fpu/libm-test-ulps: Update.
27079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27080
9568c0c2
JM
27081 [BZ #13884]
27082 [BZ #13924]
27083 * math/e_exp10.c: Include <float.h>.
27084 (__ieee754_exp10): Handle underflow here rather than multiplying
27085 large negative argument by M_LN10.
27086 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27087 of __ieee754_expf.
27088 * math/e_exp10l.c: Include <float.h>.
27089 (__ieee754_exp10l): Handle underflow here rather than multiplying
27090 large negative argument by M_LN10l.
27091 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27092 spurious overflow exception on underflow.
27093
5ac3ea17
MP
270942012-04-29 Marek Polacek <polacek@redhat.com>
27095
27096 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27097 (__fortify_function): New macro.
27098 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27099 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27100 __extern_always_inline.
27101 * libio/bits/stdio2.h: Likewise.
27102 * libio/bits/stdio.h: Likewise.
27103 * string/string.h: Likewise.
27104 * string/bits/string3.h: Likewise.
27105 * include/stdio.h: Likewise.
27106 * stdlib/bits/stdlib.h: Likewise.
27107 * stdlib/stdlib.h: Likewise.
27108 * rt/bits/mqueue2.h: Likewise.
27109 * rt/mqueue.h: Likewise.
27110 * posix/bits/unistd.h: Likewise.
27111 * posix/unistd.h: Likewise.
27112 * io/bits/poll2.h: Likewise.
27113 * io/bits/fcntl2.h: Likewise.
27114 * io/fcntl.h: Likewise.
27115 * io/sys/poll.h: Likewise.
27116 * misc/bits/syslog.h: Likewise.
27117 * misc/bits/syslog-ldbl.h: Likewise.
27118 * misc/sys/syslog.h: Likewise.
27119 * socket/bits/socket2.h: Likewise.
27120 * socket/sys/socket.h: Likewise.
27121 * debug/tst-chk1.c: Likewise.
27122 * wcsmbs/bits/wchar2.h: Likewise.
27123 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27124 * wcsmbs/wchar.h: Likewise.
27125
ecf0ebfb
AJ
271262012-04-29 Andreas Jaeger <aj@suse.de>
27127
27128 * Makerules (tests): Remove enable-check-abi protection.
27129 (check-abi-warn): Remove.
27130 (check-abi-%): Remove check-abi-warn usage.
27131
27132 * configure.in: Remove check-abi configure option.
27133 * configure: Regenerated.
27134 * config.make.in (enable-check-abi): Remove.
27135
6d5c57fa
AS
271362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27137
24c5d07e 27138 [BZ #14033]
ded5180a
AS
27139 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27140 double functions to double *_finite functions.
27141
7e0d315d
AS
27142 [BZ #13941]
27143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27144 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27145 LDBL_MIN_EXP.
27146 * stdio-common/Makefile (tests): Add tst-sprintf3.
27147 * stdio-common/tst-sprintf3.c: New file.
27148
6d5c57fa
AS
27149 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27150 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27151
0749ff8b
JM
271522012-04-28 Joseph Myers <joseph@codesourcery.com>
27153
27154 * conform/conformtest.pl: Remove duplicate typed-constant
27155 handling.
27156
8dbd5d7b
DM
271572012-04-28 David S. Miller <davem@davemloft.net>
27158
27159 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27160 (check-abi-%): Remove AWK script prerequisite and explicit
27161 abilist directory.
27162 (check-abi): Rewrite to just diff the symlist with the abilist.
27163 (config-tls, config-abi-config): Delete, no longer used.
27164 (update-abi-%): Remove AWK script and explicit abilist directory.
27165 (update-abi): Rewrite to simply compare and conditionally copy the
27166 symlist and the sysdep abilist file. Remove update-abi-config
27167 checks.
27168 * abilist/ld.abilist: Remove.
27169 * abilist/libBrokenLocale.abilist: Remove.
27170 * abilist/libanl.abilist: Remove.
27171 * abilist/libcrypt.abilist: Remove.
27172 * abilist/libdl.abilist: Remove.
27173 * abilist/librt.abilist: Remove.
27174 * abilist/libthread_db.abilist: Remove.
27175 * abilist/libutil.abilist: Remove.
27176 * scripts/extract-abilist.awk: Remove.
27177 * scripts/merge-abilist.awk: Remove.
27178 * sysdeps/generic/libcidn.abilist: New file.
27179 * sysdeps/generic/libnss_compat.abilist: New file.
27180 * sysdeps/generic/libnss_db.abilist: New file.
27181 * sysdeps/generic/libnss_dns.abilist: New file.
27182 * sysdeps/generic/libnss_files.abilist: New file.
27183 * sysdeps/generic/libnss_hesiod.abilist: New file.
27184 * sysdeps/generic/libnss_nis.abilist: New file.
27185 * sysdeps/generic/libnss_nisplus.abilist: New file.
27186 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27187 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27188 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27189 file.
27190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27191 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27192 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27193 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27194 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27195 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27196 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27197 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27198 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27199 file.
27200 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27201 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27202 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27203 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27204 file.
27205 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27206 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27208 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27210 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27211 file.
27212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27213 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27214 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27215 file.
27216 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27218 New file.
27219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27220 New file.
27221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27222 New file.
27223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27224 New file.
27225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27226 New file.
27227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27228 New file.
27229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27230 New file.
27231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27232 New file.
27233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27234 New file.
27235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27236 New file.
27237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27238 New file.
27239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27240 New file.
27241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27242 New file.
27243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27244 file.
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27246 New file.
27247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27248 New file.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27250 file.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27252 New file.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27254 New file.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27256 file.
27257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27258 New file.
27259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27260 New file.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27262 New file.
27263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27264 New file.
27265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27266 New file.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27268 New file.
27269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27271 file.
27272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27273 New file.
27274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27275 file.
27276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27277 file.
27278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27279 file.
27280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27281 file.
27282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27283 file.
27284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27285 New file.
27286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27287 file.
27288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27289 file.
27290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27291 New file.
27292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27293 file.
27294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27296 file.
27297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27298 New file.
27299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27300 file.
27301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27302 file.
27303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27304 file.
27305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27306 file.
27307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27308 file.
27309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27310 New file.
27311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27312 file.
27313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27314 file.
27315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27316 New file.
27317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27318 file.
27319 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27320 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27321 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27322 file.
27323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27324 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27325 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27326 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27327 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27328 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27329 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27330 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27331 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27332 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27335 file.
27336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27337 New file.
27338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27339 file.
27340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27341 file.
27342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27343 file.
27344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27345 file.
27346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27347 file.
27348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27349 New file.
27350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27351 New file.
27352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27353 file.
27354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27355 New file.
27356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27357 file.
27358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27360 file.
27361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27362 New file.
27363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27364 file.
27365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27366 file.
27367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27368 file.
27369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27370 file.
27371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27372 file.
27373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27374 New file.
27375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27376 New file.
27377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27378 file.
27379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27380 New file.
27381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27382 file.
27383
41d73a1b
JM
273842012-04-28 Joseph Myers <joseph@codesourcery.com>
27385
27386 * conform/conformtest.pl: Fix typo in handling typed-constant from
27387 allow-header.
27388
28aeeda4
JM
273892012-04-27 Joseph Myers <joseph@codesourcery.com>
27390
adae8f5e
JM
27391 * README: Cut down references to pre-2.6 Linux kernels and
27392 Linuxthreads. Update lists of configurations in libc and ports
27393 and sort alphabetically. Say "or newer" with Linux kernel version
27394 requirements.
27395
28aeeda4
JM
27396 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27397
a462cb63
RA
273982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27399
27400 [BZ #887]
27401 * math/libm-test.inc (logb_test_downward): New test to expose
27402 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27403 rounding mode.
27404
6ad3493e
JM
274052012-04-27 Joseph Myers <joseph@codesourcery.com>
27406
27407 [BZ #14027]
27408 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27409 to be done.
27410 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27411 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27412
2ce4f015
JM
274132012-04-26 Joseph Myers <joseph@codesourcery.com>
27414
5aeb141a
JM
27415 * sysdeps/unix/i386/brk.S: Remove file.
27416 * sysdeps/unix/i386/dl-brk.S: Likewise.
27417 * sysdeps/unix/i386/pipe.S: Likewise.
27418 * sysdeps/unix/i386/sigreturn.S: Likewise.
27419 * sysdeps/unix/i386/syscall.S: Likewise.
27420 * sysdeps/unix/i386/vfork.S: Likewise.
27421 * sysdeps/unix/i386/wait.S: Likewise.
27422
7143acae
JM
27423 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27424 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27425
2ce4f015
JM
27426 * configure.in (arm*-none*): Do not allow without
27427 --enable-hacker-mode.
27428 (netbsd*): Remove case setting base_os.
27429 (386bsd*): Likewise.
27430 (freebsd*): Likewise.
27431 (bsdi*): Likewise.
27432 (osf*): Likewise.
27433 (sunos*): Likewise.
27434 (ultrix*): Likewise.
27435 (newsos*): Likewise.
27436 (dynix*): Likewise.
27437 (*bsd*): Likewise.
27438 (sysv*): Likewise.
27439 (isc*): Likewise.
27440 (esix*): Likewise.
27441 (sco*): Likewise.
27442 (minix*): Likewise.
27443 (irix4*): Likewise.
27444 (irix6*): Likewise.
27445 (solaris[2-9]*): Likewise.
27446 (none): Likewise.
27447 * configure: Regenerated.
27448
0ac229c8
AZ
274492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27450
27451 [BZ #11521]
27452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27453 overflow or cancellation in calculating denominator.
27454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27456 down expression to avoid unexpected rounding in newer GCCs.
27457 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27458
33f244f4
DM
274592012-04-26 David S. Miller <davem@davemloft.net>
27460
27461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27462 long-double compat symbols.
27463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27476
cfa1f3e8
DM
274772012-04-25 David S. Miller <davem@davemloft.net>
27478
27479 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27480 HWCAP_* values only after the memory barriers have been defined.
27481 (atomic_full_barrier): Define.
27482 (atomic_read_barrier): Define.
27483 (atomic_write_barrier): Define.
27484
6e236b92
SP
274852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27486
27487 * shlib-versions: Add libgcc_s version information.
27488 * sysdeps/generic/libgcc_s.h: Remove.
27489 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27490 libgcc_s.h.
27491 * sysdeps/gnu/unwind-resume.c: Likewise.
27492 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27493
aab39a09
DM
274942012-04-25 David S. Miller <davem@davemloft.net>
27495
27496 * sysdeps/unix/sparc/brk.S: Delete.
27497 * sysdeps/unix/sparc/dl-brk.S: Delete.
27498 * sysdeps/unix/sparc/pipe.S: Delete.
27499 * sysdeps/unix/sparc/sysdep.S: Delete.
27500 * sysdeps/unix/sparc/sysdep.h: Delete.
27501 * sysdeps/unix/sparc/vfork.S: Delete.
27502 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27503 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27504 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27505 ret_ERRVAL, r0, r1, MOVE): Define.
27506 (JUMPTARGET): Remove.
27507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27508 sysdeps/unix/sparc/sysdep.h
27509 (ENTRY, END): Remove.
27510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27511
a3cc4f48
JM
275122012-04-25 Joseph Myers <joseph@codesourcery.com>
27513
2ed8cda2
JM
27514 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27515 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27516 -DIS_IN_build.
27517
35d76d59
JM
27518 * timezone/README: Update upstream location and email address for
27519 tzcode and tzdata.
27520 * timezone/zdump.c: Update from tzcode 2012b.
27521 * timezone/zic.c: Likewise.
27522
a3cc4f48
JM
27523 * configure.in (libc_cv_as_needed): Remove test.
27524 * configure: Regenerated.
27525 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27526 conditional definition.
27527 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27528 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27529 * config.make.in (have-as-needed): Remove variable.
27530
ceab42c3
SP
275312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27532 Paul Pluzhnikov <ppluzhnikov@google.com>
27533
27534 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27535 strings correctly.
27536
3ce2865f
CLT
275372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27538
27539 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27540 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27541 * sysdeps/sh/strlen.S: Likewise.
27542
f37e0d68
JM
275432012-04-24 Joseph Myers <joseph@codesourcery.com>
27544
ae186e9a
JM
27545 * sysdeps/unix/fork.S: Remove file.
27546 * sysdeps/unix/i386/fork.S: Likewise.
27547 * sysdeps/unix/sparc/fork.S: Likewise.
27548
b96914af
JM
27549 * sysdeps/unix/system.c: Remove file.
27550 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27551
f37e0d68
JM
27552 * sysdeps/unix/getegid.S: Remove file.
27553 * sysdeps/unix/geteuid.S: Likewise.
27554
87ef29ca
RM
275552012-04-24 Roland McGrath <roland@hack.frob.com>
27556
83bcd236
RM
27557 * scripts/check-localplt.awk: New file.
27558 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27559 of diff.
27560 * scripts/data/localplt-generic.data: Add a comment.
27561
87ef29ca
RM
27562 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27563 NODE when __dir_mkfile failed.
27564 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27565 Reported by Ludovic Courtès <ludo@gnu.org>.
27566
e5a6e567
AJ
275672012-04-24 Andreas Jaeger <aj@suse.de>
27568
27569 * Makerules (common-clean): Also remove gen-as-const-headers
27570 files.
27571
c1820385
JM
275722012-04-24 Joseph Myers <joseph@codesourcery.com>
27573
27574 * Makerules (native-compile): Do not change working directory for
27575 build. Use $(OUTPUT_OPTION) in command.
27576 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27577
94e02fc4
AZ
275782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27579
27580 [BZ #13886]
27581 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27582 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27583 * math/libm-test.inc (floor_test): Add more tests.
27584 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27585
3a533ca3
JM
275862012-04-24 Joseph Myers <joseph@codesourcery.com>
27587
940ab4b3
JM
27588 * sysdeps/unix/getdents.c: Remove file.
27589 * sysdeps/unix/sysv/getdents.c: Likewise.
27590 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27591
90e037bd
JM
27592 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27593 sysdeps/unix/mman/syscalls.list.
27594 (mmap): Likewise.
27595 (mprotect): Likewise.
27596 (msync): Likewise.
27597 (munmap): Likewise.
27598 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27599 * sysdeps/unix/mman/syscalls.list: Remove.
27600 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27601
3a533ca3
JM
27602 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27603 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27604 * configure: Regenerated.
27605 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27606 $(libgcc_s_suffix).
27607 * config.make.in (libgcc_s_suffix): Remove variable.
27608
1ad743de
JM
276092012-04-23 Joseph Myers <joseph@codesourcery.com>
27610
4ad451e2
JM
27611 * sysdeps/unix/sysv/gethostname.c: Move to ...
27612 * sysdeps/posix/gethostname.c: ... here.
27613
5e37ce39
JM
27614 * sysdeps/unix/execve.S: Remove file.
27615
1ad743de
JM
27616 * sysdeps/unix/_exit.S: Remove file.
27617
4e681b5b
AJ
276182012-04-23 Andreas Jaeger <aj@suse.de>
27619
27620 [BZ #13739]
27621 * manual/Makefile: Remove make dist support, there's no
27622 need for a stand-alone documentation tar ball.
27623 (TEXI2DVI): Define always, it's not in Makeconfig.
27624 (dist): Removed.
27625 (tar-it): Removed.
27626 (edition): Removed.
27627 (glibc-doc-$(edition).tar): Removed
27628 (%.Z): Removed.
27629 (%.gz): Removed.
27630 (%.uu): Removed.
27631 (ETAGS): Remove, it's in Makeconfig.
27632 (move-if-change): Remove, it's in Makeconfig.
27633
38686a03 276342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
27635
27636 [BZ #13970]
27637 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27638 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27639 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27640 (strtod_l, strtof_l, strtold_l): Remove __wur.
27641 It is not necessarily an error to ignore strtol's return value.
27642 One can reliably look at the stored endptr to decide whether
27643 the number had valid syntax.
27644
7c0616fa
AJ
276452012-04-21 Andreas Jaeger <aj@suse.de>
27646
803cb6b7 27647 [BZ #13739]
7c0616fa
AJ
27648 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27649
b0fe253f
JM
276502012-04-21 Joseph Myers <joseph@codesourcery.com>
27651
27652 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27653 * sysdeps/unix/sysv/Versions: Remove file.
27654
8280f22d
MT
276552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27656
27657 [BZ #13927]
27658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27659
75ce411f 276602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
27661
27662 [BZ #7064]
27663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27664 version from __vm86.
27665
097d59fa
JM
276662012-04-20 Joseph Myers <joseph@codesourcery.com>
27667
a90f3bcb
JM
27668 * sysdeps/unix/common/lxstat.c: Remove file.
27669 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27670
edc7ea78
JM
27671 * sysdeps/unix/sysv/Makefile: Remove file.
27672
cb78c221
JM
27673 * sysdeps/unix/sysv/direct.h: Remove file.
27674
efa6a45f
JM
27675 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27676 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27677 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27678 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27679 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27680 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27681 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27682
9c9f2d0c
JM
27683 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27684
4541c83b
JM
27685 * sysdeps/unix/xmknod.c: Remove file.
27686 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27687
f5d153a0
JM
27688 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27689
aa746595
JM
27690 * sysdeps/unix/sysv/i386/time.S: Remove file.
27691
cce5905e
JM
27692 * sysdeps/unix/fxstat.c: Remove file.
27693 * sysdeps/unix/xstat.c: Likewise.
27694 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27695
37fa3841
JM
27696 * sysdeps/unix/sysv/sigaction.c: Remove file.
27697
ff1962a3
JM
27698 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27699 (sysdep_headers): Remove variable.
27700 [termio.h not in sysdep_headers] (generated): Likewise.
27701 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27702 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27703 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27704 * sysdeps/unix/sysv/tcflow.c: Likewise.
27705 * sysdeps/unix/sysv/tcflush.c: Likewise.
27706 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27707 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27708 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27709 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27710 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27711
e7740d31
JM
27712 * sysdeps/unix/siglist.c: Remove file.
27713
ee06f18b
JM
27714 * sysdeps/unix/getppid.S: Remove file.
27715
097d59fa
JM
27716 * sysdeps/unix/mkdir.c: Remove file.
27717 * sysdeps/unix/rmdir.c: Likewise.
27718
ff3d51ec
AS
277192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27720
27721 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27722 ERR_MAX value.
27723 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27724 errlist-compat value.
27725
50f81fd7
DM
277262012-04-18 David S. Miller <davem@davemloft.net>
27727
27728 * sysdeps/generic/memcopy.h (reg_char): Delete.
27729 * debug/strcat_chk.c: Use char, not reg_char.
27730 * debug/strcpy_chk.c: Likewise.
27731 * debug/strncat_chk.c: Likewise.
27732 * debug/strncpy_chk.c: Likewise.
27733 * string/memchr.c: Likewise.
27734 * string/memrchr.c: Likewise.
27735 * string/rawmemchr.c: Likewise.
27736 * string/strcat.c: Likewise.
27737 * string/strchr.c: Likewise.
27738 * string/strchrnul.c: Likewise.
27739 * string/strcmp.c: Likewise.
27740 * string/strcpy.c: Likewise.
27741 * string/strncat.c: Likewise.
27742 * string/strncmp.c: Likewise.
27743 * string/strncpy.c: Likewise.
27744
8ff41c46
WS
277452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27746
27747 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27748 __builtin_memcopy is called when src and dest ranges are known to not
27749 overlap.
27750
6b652f46
WS
277512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27752
27753 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27754 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27755 fwd_align_merge macro call.
27756 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27757 bwd_align_merge macro call.
27758 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27759
b282631e
WS
277602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27761
27762 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27763 bwd_align_merge macros.
27764 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27765 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27766 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27767
95aa737c
DM
277682012-04-18 David S. Miller <davem@davemloft.net>
27769
27770 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27771
7a99a614
AJ
277722012-04-18 Andreas Jaeger <aj@suse.de>
27773
27774 [BZ# 6794]
27775 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27776 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27777 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27778
27779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27780 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27781 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27782
27783 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27784 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27785 Adjust for changed ldbl-128 files.
27786
27787 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27788 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27789 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27790
e5270c23
DM
277912012-04-17 David S. Miller <davem@davemloft.net>
27792
27793 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27794
fb5e92c9
AS
277952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27796
27797 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27798 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27799 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27800 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27801 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27802 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27803
76da7265
AZ
278042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27805
27806 [BZ #6794]
27807 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27808 * math/libm-test.inc: Add ilogb errno and exception tests.
27809 * math/w_ilogb.c: New file: ilogb wrapper.
27810 * math/w_ilogbf.c: New file: ilogbf wrapper.
27811 * math/w_ilogbl.c: New file: ilogbl wrapper.
27812 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27813 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27814 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27815 exception being thrown with 0.0 as argument.
27816 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27817 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27818 exception being thrown with 0.0 as argument.
27819 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27820 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27821 exception being thrown with 0.0 as argument.
27822 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27823 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27824 exception being thrown with 0.0 as argument.
27825 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27826 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27827 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27828 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27829 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27830 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27831 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27832 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27833 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27834
0396e69d
PB
278352012-04-17 Petr Baudis <pasky@ucw.cz>
27836
27837 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27838 with altivec.
27839
750b5926
MP
278402012-04-16 Marek Polacek <polacek@redhat.com>
27841
27842 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27843
751728a1
MP
278442012-04-16 Marek Polacek <polacek@redhat.com>
27845
27846 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27847 operands of fdivp instruction.
27848
34a27407
L
278492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27850
27851 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27852 * elf/tst-auditmod3b.c: Likewise.
27853 * elf/tst-auditmod4b.c: Likewise.
27854 * elf/tst-auditmod5b.c: Likewise.
27855 * elf/tst-auditmod6b.c: Likewise.
27856 * elf/tst-auditmod6c.c: Likewise.
27857 * elf/tst-auditmod7b.c: Likewise.
27858 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27859 * sysdeps/x86_64/preconfigure.in: Likewise.
27860 * sysdeps/x86_64/preconfigure: Regenerated.
27861
7e73e17d
L
278622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27863
27864 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27865 __ILP32__.
27866
c7a6ab72
AB
278672012-04-13 Antoine Balestrat <merkil33@gmail.com>
27868
27869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27870 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27871
a9e8e0e0
CL
278722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27873
27874 [BZ #13973]
27875 * locale/iso-639.def: Fix gl language name. Spotted by
27876 Yaron Shahrabani.
27877
ec98af7d
RM
278782012-04-12 Roland McGrath <roland@hack.frob.com>
27879
27880 [BZ #2074]
27881 * libio/libio.h (__io_write_fn): Update comment.
27882
247c3ede
PB
278832012-04-12 Petr Baudis <pasky@ucw.cz>
27884
27885 [BZ #2074]
27886 * stdio.texi (Hook Functions): The user provided writer function
27887 is not allowed to return -1.
27888
55939d6d
DM
278892012-04-11 David S. Miller <davem@davemloft.net>
27890
27891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27892
90020f5a
MF
278932012-04-11 Mike Frysinger <vapier@gentoo.org>
27894
27895 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27896 Add a leading slash to rtkaio.
27897
288f9098
JM
278982012-04-11 Jim Meyering <meyering@redhat.com>
27899
90020f5a
MF
27900 [BZ #11959]
27901 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27902 It is not necessarily an error to ignore fwrite's return
27903 value. One can reliably use ferror to test for errors after
27904 the fact.
288f9098 27905
4be2b570
L
279062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27907
27908 * bits/types.h (__snseconds_t): New type.
27909 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27910
27911 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27913 (__SNSECONDS_T_TYPE): Likewise.
27914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27915 (__SNSECONDS_T_TYPE): Likewise.
27916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27917 (__SNSECONDS_T_TYPE): Likewise.
27918
288f9098 279192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27920
27921 [BZ #2636]
27922 * manual/time.texi (Processor Time): Return type of times is
27923 elapsed real time since an arbitrary point in the past.
27924 (CPU Time): Move CLK_TCK from here...
27925 (Processor Time): ...to here. Correct description.
27926 * manual/conf.texi (Constants for Sysconf): Correct description of
27927 _SC_CLK_TCK.
27928
d7dd4413
DM
279292012-04-10 David S. Miller <davem@davemloft.net>
27930
27931 [BZ #13967]
27932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27933 where the is a gap between DT_REL(A) and DT_JMPREL.
27934
b46068fc
L
279352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27938 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27939 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27940
73d65cc3
SP
279412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27942
27943 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27944 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27945 (dl_main): Handle --inhibit-cache.
27946 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27947 _dl_inhibit_cache.
27948 * elf/dl-load.c (_dl_map_object): Use it.
27949 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27950
bcc8d661
JM
279512012-04-09 Joseph Myers <joseph@codesourcery.com>
27952
8f9a2fae
JM
27953 [BZ #13872]
27954 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27955 (__ieee754_powl): Saturate large exponents rather than testing for
27956 overflow of y*log2(x).
27957 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27958 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27959 exceptions.
27960
bcc8d661
JM
27961 [BZ #11521]
27962 * math/s_ctan.c: Include <float.h>.
27963 (__ctan): Avoid internal overflow or cancellation in calculating
27964 denominator.
27965 * math/s_ctanf.c: Likewise.
27966 * math/s_ctanl.c: Likewise.
27967 * math/s_ctanh.c: Likewise.
27968 * math/s_ctanhf.c: Likewise.
27969 * math/s_ctanhl.c: Likewise.
27970 * math/libm-test.inc (ctan_test): Add more tests.
27971 (ctanh_test): Likewise.
27972 * sysdeps/i386/fpu/libm-test-ulps: Update.
27973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27974
823fbbb4
AJ
279752012-04-09 Andreas Jaeger <aj@suse.de>
27976
03879793
AJ
27977 [BZ #6894]
27978 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27979 is an optional BSD extension.
27980
823fbbb4
AJ
27981 [BZ #10254]
27982 * manual/stdio.texi (Opening Streams): Document additional fopen
27983 parameters.
27984
8de131cb
RM
279852012-04-09 Roland McGrath <roland@hack.frob.com>
27986
27987 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27988 %eax without telling the compiler.
27989
c0ed9d7d
CD
279902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27991
27992 [BZ # 13963]
27993 * manual/install.texi: Use sourceware.org.
27994
c483f6b4
JM
279952012-04-09 Joseph Myers <joseph@codesourcery.com>
27996
d7dd9453
JM
27997 [BZ #13873]
27998 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27999 (__ieee754_pow): Generate overflow and underflow using huge*huge
28000 and tiny*tiny rather than just returning constant infinity or zero
28001 for large exponents.
28002 * math/libm-test.inc (pow_test): Require overflow exceptions for
28003 applicable cases of large exponents.
28004
c483f6b4
JM
28005 [BZ #706]
28006 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28007 (__ieee754_pow): Use iterative multiplication algorithm only for
28008 integer exponents with absolute value below 1024. Check for odd
28009 integer exponents when using algorithm for real exponents.
28010 * math/libm-test.inc (pow_test): Add more tests.
28011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28012
d2de7579
JM
280132012-04-08 Joseph Myers <joseph@codesourcery.com>
28014
28015 [BZ #13705]
28016 * math/libm-test.inc (exp_test): Do not allow overflow exception
28017 on underflow test.
28018
f77f1232
AJ
280192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28020
28021 [BZ #13705]
28022 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28023 instead of __kernel_standard_f.
28024
3884932b
MF
280252012-04-08 Mike Frysinger <vapier@gentoo.org>
28026
28027 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28028 * sysdeps/x86_64/memset_chk.S: Likewise.
28029
54472e9c
AJ
280302012-04-08 Andreas Jaeger <aj@suse.de>
28031
6ab0fbfc
AJ
28032 [BZ #10153]
28033 * manual/startup.texi (Environment Access): Describe return value
28034 for putenv and setenv.
28035
61efba8c
AJ
28036 [BZ #6895]
28037 * manual/filesys.texi (Directory Entries): Add description for
28038 DT_LNK.
28039
95c3f29a
AJ
28040 [BZ #6890]
28041 * manual/filesys.texi (Directory Entries): Clarify that it's file
28042 system not operating system in the description of DT_UNKNOWN.
28043
54472e9c
AJ
28044 [BZ #6578]
28045 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28046
624254b1
SC
280472012-04-08 Stephen Compall <s11@member.fsf.org>
28048
28049 [BZ #6649]
28050 * manual/llio.texi (Opening and Closing Files): Add cross
28051 reference to explain mode argument.
28052
1e4920e0
MF
280532012-04-07 Mike Frysinger <vapier@gentoo.org>
28054
28055 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28056 * sysdeps/x86_64/memset_chk.S: Likewise.
28057
5ed848f3
DM
280582012-04-07 David S. Miller <davem@davemloft.net>
28059
28060 * elf/elf.h (R_SPARC_WDISP10): Define.
28061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28062 R_SPARC_SIZE32.
28063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28064 R_SPARC_SIZE64 and R_SPARC_H34.
28065
96154cd8
CD
280662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28067
28068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28069 conditions and remove no longer applicable assertion.
28070
9904dc47
L
280712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28072
28073 * bits/byteswap.h: Include <features.h>.
28074 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28075 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28076
f8887d0a
L
280772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28078
28079 * bits/byteswap.h (__bswap_16): Removed.
28080 Include <bits/byteswap-16.h> to get __bswap_16.
28081 * sysdeps/i386/bits/byteswap.h: Likewise.
28082 * sysdeps/s390/bits/byteswap.h: Likewise.
28083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28084 * bits/byteswap-16.h: New file.
28085 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28086 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28087 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28088 * string/Makefile (headers): Add bits/byteswap-16.h.
28089
62470f60
PP
280902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28091
28092 [BZ #13895]
28093 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28094 extra indirection.
28095 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28096 * nss/tst-nss-static.c: New.
28097
4dad7bab
RM
280982012-04-06 Robert Millan <rmh@gnu.org>
28099
28100 [BZ #6486]
28101 * manual/llio.texi (File Position Primitive): lseek
28102 refers to WHENCE when it really means OFFSET.
28103
e9142a17
AJ
281042012-04-06 Andreas Jaeger <aj@suse.de>
28105
2c040eff
AJ
28106 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28107 strncmp declarations.
28108
e9142a17
AJ
28109 * abilist/libc.abilist: Add __poll and __ppoll.
28110
ff9f1c5f
DM
281112012-04-05 David S. Miller <davem@davemloft.net>
28112
dcd2ae90
DM
28113 * scripts/check-local-headers.sh: Accept a host triplet in the
28114 path matched by the exclude regexp.
28115
993eb054
DM
28116 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28117 definition.
28118 * sysdeps/powerpc/powerpc32/dl-machine.h
28119 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28120 * sysdeps/s390/s390-32/dl-machine.h
28121 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28122 * sysdeps/sparc/sparc32/dl-machine.h
28123 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28124 * sysdeps/sparc/sparc64/dl-machine.h
28125 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28126
ff9f1c5f
DM
28127 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28128 lazy binding.
48e2e132 28129 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28130 undefined symbol errors.
28131
48e2e132 28132 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28133 DT_NEEDED entries.
28134
e80d6f94
MM
281352012-04-05 Michael Matz <matz@suse.de>
28136
28137 [BZ #13592]
28138 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28139
349fa79f
AJ
281402012-04-05 Andreas Jaeger <aj@suse.de>
28141
28142 [BZ #13908]
28143 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28144 comment.
28145
f402708f
KK
281462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28147
28148 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28149 which ROUND is no valid rounding mode.
28150
2ecccfc9
KK
281512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28152
28153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28154 read again.
28155 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28156
8a53f50f
KK
281572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28158
28159 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28160 an exception using FPU order intentionally.
28161
281622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28163
28164 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28165 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28166 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28167 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28168
d653abb7
SJ
281692012-04-05 Simon Josefsson <simon@josefsson.org>
28170
28171 [BZ #12340]
28172 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28173 EINVAL when BUFLEN is too smal.
28174
c3b1bf7d
TS
281752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28176
28177 [BZ #13553]
28178 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28179 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28180
b1aa60f3
AJ
281812012-04-03 Andreas Jaeger <aj@suse.de>
28182
c3b1bf7d 28183 [BZ #13938]
67f60a26
AJ
28184 * manual/setjmp.texi (System V contexts): Fix sentence.
28185
b1aa60f3
AJ
28186 [BZ #13926]
28187 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28188 New macro for this case.
28189 [!__GNUC__] (__bswap_64): New inline function for this case.
28190 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28191 * bits/byteswap.h: Likewise.
28192 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28193 ull, guard with __GLIBC_HAVE_LONG_LONG.
28194
28195 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28196 __GLIBC_HAVE_LONG_LONG.
28197
28198 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28199 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28200
39c59c35
TMQMF
282012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28202
28203 [BZ #13691]
28204 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28205 inptr and inend, rather than using last_ch.
28206
135ffda8
DM
282072012-04-02 David S. Miller <davem@davemloft.net>
28208
28209 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28210 * stdio-common/printf-parse.h (read_int): Change return type to
28211 'int', return -1 on INT_MAX overflow.
28212 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28213 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28214 overflows INT_MAX. Check for overflow of in-format-string precision
28215 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28216 SIZE_MAX not INT_MAX for integer overflow test.
28217 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28218 skip the construct in the format string but do not record anything.
28219 * stdio-common/bug22.c: Adjust to test both width/prevision
28220 INT_MAX overflow as well as total length INT_MAX overflow. Check
28221 explicitly for proper errno values.
28222
228c019e
TS
282232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28224
302cadd3
TS
28225 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28226 CHAR_MAX.
28227 * string/test-strcmp.c [! WIDE]: Likewise.
28228 * time/tst-mktime2.c: Likewise for INT_MAX.
28229 * string/test-string.h: #include <sys/param.h> for MIN.
28230
228c019e
TS
28231 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28232 * sysdeps/i386/init-first.c (init): Likewise.
28233 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28234 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28235 * sysdeps/sh/init-first.c (init): Likewise.
28236
cfa633f5
UD
282372012-04-01 Ulrich Drepper <drepper@gmail.com>
28238
28239 * po/ru.po: Update from translation team.
d1635ef8 28240 * po/vi.po: Likewise.
cfa633f5 28241
6cd0a5ea
SP
282422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28243
28244 * resolv/nss_dns/dns-host.c: Merge copyright years.
28245
4b43400f
LD
282462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28247
28248 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28249 Optimize memcpy with prefetch if
28250 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28251 src, dst pointers have unequal 16 byte alignments.
28252
48c41d04
SP
282532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28254
28255 [BZ #13928]
28256 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28257 from a CNAME entry and return the minimum ttl for the query.
28258 (gaih_getanswer_slice): Likewise.
28259
b8dc394d
JL
282602012-03-30 Jeff Law <law@redhat.com>
28261
28262 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28263 due to long keys.
28264 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28265 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28266
2f5a5ed0
JL
28267 * resolv/nss_dns/dns-host.c: Update copyright year.
28268
1d39e359
UD
282692012-03-30 Ulrich Drepper <drepper@gmail.com>
28270
c030f70c 28271 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28272 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28273
1d39e359
UD
28274 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28275 comments for sendmmsg.
28276
282772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28278
28279 [BZ #13691]
28280 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28281 with only 1 character between 0x0041 and 0x01b0.
28282 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28283 * wcsmbs/tst-mbsnrtowcs.c: New file.
28284
20fde227
DM
282852012-03-29 David S. Miller <davem@davemloft.net>
28286
28287 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28288 small copies by hand.
28289
984a4237
JL
282902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28291
28292 [BZ #13761]
28293 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28294 _nss_compat_initgroups_dyn): Fall back to malloc/free
28295 for large group memberships.
28296
18c9d62b
DM
282972012-03-28 David S. Miller <davem@davemloft.net>
28298
88d85d4f
DM
28299 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28300 that branches into memcpy.
28301 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28304 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28306 bits.
28307 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28308 implementation too.
28309 * sysdeps/sparc/mempcpy.S: New file.
28310
e5aa83e1
DM
28311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28312 the IFUNC routine in the libc case.
28313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28314
88570753
DM
28315 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28316 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28317 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28318 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28319 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28320 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28321 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28322 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28323
249d7567
DM
28324 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28325 loop to 256 bytes instead of 64 bytes and fix test signedness.
28326
18c9d62b
DM
28327 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28328 * sysdeps/sparc/sparc32/Makefile: rather than here...
28329 * sysdeps/sparc/sparc64/Makefile: and here.
28330
05f3d1f6
UD
283312012-03-28 Ulrich Drepper <drepper@gmail.com>
28332
28333 * malloc/mallocbug.c: Avoid warnings about unused variables.
28334
86ae07a8
JL
283352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28336
28337 [BZ #13760]
28338 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28339 in the right place. Discard and retry query if response is
28340 larger than input buffer size.
28341
41bf21a1
JM
283422012-03-28 Joseph Myers <joseph@codesourcery.com>
28343
d6270972
JM
28344 [BZ #369]
28345 [BZ #2678]
28346 [BZ #3866]
28347 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28348 x for large integer exponent.
28349 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28350 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28351 sign of result as needed afterwards.
28352 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28353 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28354 result for underflowing pow the same as for overflow.
28355 (__kernel_standard_l): Handle powl overflow and underflow here
28356 rather than calling __kernel_standard.
28357 * math/libm-test.inc (pow_test): Add more tests.
28358
414fca03 28359 [BZ #3868]
41bf21a1
JM
28360 [BZ #13879]
28361 [BZ #13910]
28362 [BZ #13911]
28363 [BZ #13912]
28364 [BZ #13913]
28365 [BZ #13915]
28366 [BZ #13916]
28367 [BZ #13917]
28368 [BZ #13918]
28369 [BZ #13919]
28370 [BZ #13920]
28371 [BZ #13921]
28372 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28373 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28374 (__kernel_standard_l): New function.
28375 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28376 __kernel_standard.
28377 * math/w_acosl.c (__acosl): Likewise.
28378 * math/w_asinl.c (__asinl): Likewise.
28379 * math/w_atan2l.c (__atan2l): Likewise.
28380 * math/w_atanhl.c (__atanhl): Likewise.
28381 * math/w_coshl.c (__coshl): Likewise.
28382 * math/w_exp10l.c (__exp10l): Likewise.
28383 * math/w_exp2l.c (__exp2l): Likewise.
28384 * math/w_fmodl.c (__fmodl): Likewise.
28385 * math/w_hypotl.c (__hypotl): Likewise.
28386 * math/w_j0l.c (__j0l, __y0l): Likewise.
28387 * math/w_j1l.c (__j1l, __y1l): Likewise.
28388 * math/w_jnl.c (__jnl, __ynl): Likewise.
28389 * math/w_lgammal.c (__lgammal): Likewise.
28390 * math/w_log10l.c (__log10l): Likewise.
28391 * math/w_log2l.c (__log2l): Likewise.
28392 * math/w_logl.c (__logl): Likewise.
28393 * math/w_powl.c (__powl): Likewise.
28394 * math/w_remainderl.c (__remainderl): Likewise.
28395 * math/w_scalbl.c (sysv_scalbl): Likewise.
28396 * math/w_sinhl.c (__sinhl): Likewise.
28397 * math/w_sqrtl.c (__sqrtl): Likewise.
28398 * math/w_tgammal.c (__tgammal): Likewise.
28399 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28400 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28401 * math/libm-test.inc (acos_test): Add more tests.
28402 (acosh_test): Likewise.
28403 (asin_test): Likewise.
28404 (atanh_test): Likewise.
28405 (exp_test): Likewise.
28406 (exp10_test): Likewise.
28407 (exp2_test): Likewise.
28408 (expm1_test): Likewise.
28409 (lgamma_test): Likewise.
28410 (log_test): Likewise.
28411 (log10_test): Likewise.
28412 (log1p_test): Likewise.
28413 (log2_test): Likewise.
28414 (pow_test): Do not allow some spurious overflow exceptions.
28415 (sqrt_test): Add more tests.
28416 (tgamma_test): Likewise.
28417 (y0_test): Likewise.
28418 (y1_test): Likewise.
28419 (yn_test): Likewise.
28420
dd62fda6
AB
284212012-03-27 Anton Blanchard <anton@samba.org>
28422
28423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28424 MAP_HUGETLB.
28425 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28426 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28428
1e3cdfda
AJ
284292012-03-27 David S. Miller <davem@davemloft.net>
28430
b855ab85
DM
28431 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28432
1e3cdfda
AJ
28433 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28434 have-as-vis3 check.
28435
284362012-03-27 Andreas Jaeger <aj@suse.de>
28437
28438 * sysdeps/x86_64/elf/configure.in: Moved to ...
28439 * sysdeps/x86_64/configure.in: ... here.
28440 * sysdeps/x86_64/elf/start.S: Moved to ...
28441 * sysdeps/x86_64/start.S: ... here.
28442 * sysdeps/x86_64/elf/configure: Delete.
28443
28444 * sysdeps/x86_64/configure.in: Merge contents from
28445 sysdeps/i386/configure.in (without i686 check).
28446
28447 * sysdeps/i386/elf/Versions: Merge into ...
28448 * sysdeps/i386/Versions: ... this.
28449 * sysdeps/i386/elf/Versions: Delete file.
28450 * sysdeps/i386/elf/start.S: Moved to ...
28451 * sysdeps/i386/start.S: ...here.
28452 * sysdeps/i386/elf/configure.in: Merge into...
28453 * sysdeps/i386/configure.in: ...here.
28454 * sysdeps/i386/elf/configure.in: Delete file.
28455 * sysdeps/i386/elf/configure: Delete file.
28456
28457 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28458 * debug/backtracesyms.c: ... here.
28459 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28460 * debug/backtracesymsfd.c: ... here.
28461 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28462 * sysdeps/generic/ifunc-sel.h: ... here.
28463
28464 * sysdeps/unix/i386/start.c: Delete file.
28465 * sysdeps/unix/sparc/start.c: Delete file.
28466 * sysdeps/unix/start.c: Delete file.
28467
28468 * sysdeps/sh/elf/configure.in: Moved to ...
28469 * sysdeps/sh/configure.in: ... here.
28470 * sysdeps/sh/elf/start.S: Moved to ...
28471 * sysdeps/sh/start.S: ... here.
28472 * sysdeps/sh/elf/configure: Delete file.
28473
28474 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28475 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28476 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28477 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28478 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28479 * sysdeps/powerpc/powerpc64/start.S: here.
28480 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28481 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28482 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28483 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28484 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28485
28486 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28487 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28488 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28489 * sysdeps/powerpc/powerpc32/start.S: ... here.
28490 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28491 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28492 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28493
28494 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28495 * sysdeps/powerpc/ifunc-sel.h: ... here.
28496 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28497 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28498
28499 * sysdeps/sparc/elf/configure.in: Moved to ...
28500 * sysdeps/sparc/configure.in: ... here.
28501 * sysdeps/sparc/elf/configure: Delete file.
28502 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28503 * sysdeps/sparc/sparc32/start.S: ... here.
28504 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28505 * sysdeps/sparc/sparc64/start.S: ... here.
28506 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28507 * sysdeps/sparc/sparc32/Makefile: ... this.
28508 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28509 * sysdeps/sparc/sparc64/Makefile: ... this.
28510
28511 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28512 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28513 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28514 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28515 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28516 * sysdeps/s390/s390-32/setjmp.S: ... here.
28517 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28518 * sysdeps/s390/s390-32/configure.in: ... here.
28519 * sysdeps/s390/s390-32/elf/configure: Delete file.
28520 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28521 * sysdeps/s390/s390-32/start.S: ... here.
28522
28523 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28524 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28525 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28526 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28527 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28528 * sysdeps/s390/s390-64/setjmp.S: ... here.
28529 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28530 * sysdeps/s390/s390-64/configure.in: ... here
28531 * sysdeps/s390/s390-64/elf/configure: Delete file.
28532 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28533 * sysdeps/s390/s390-64/start.S: ... here.
28534 * sysdeps/s390/s390-64/elf/configure: Delete.
28535
28536 * configure.in: Remove support for elf directories in sysdeps.
28537
28538 * configure: Regenerated.
28539 * sysdeps/i386/configure: Regenerated.
28540 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28541 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28542 * sysdeps/s390/s390-32/configure: Regenerated.
28543 * sysdeps/s390/s390-64/configure: Regenerated.
28544 * sysdeps/sh/configure: Regenerated.
28545 * sysdeps/sparc/configure: Regenerated.
28546 * sysdeps/x86_64/configure: Regenerated.
28547
a3f61311
AS
285482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28549
c876e002
AS
28550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28551
a3f61311
AS
28552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28553 denormal result into account.
28554
ac4c54f0
RM
285552012-03-25 Roland McGrath <roland@hack.frob.com>
28556
28557 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28558 Reported by Allan McRae <allan@archlinux.org>.
28559
6a9b9c02
JL
285602012-03-23 Jeff Law <law@redhat.com>
28561
28562 * nss/getnssent.c (__nss_getent): Fix typo.
28563
4c42a0c1
DM
285642012-03-23 David S. Miller <davem@davemloft.net>
28565
28566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28567
1532c7ac
L
285682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28569
28570 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28571 to pad to uint64_t for each field.
28572 (dl_tls_index): Replace unsigned long with uint64_t.
28573
3ff42526
PP
285742012-03-23 Daniel Jacobowitz <dmj@google.com>
28575 Paul Pluzhnikov <ppluzhnikov@google.com>
28576
28577 [BZ #6528]
28578 * grp/Makefile (otherlibs): Don't set it.
28579 * inet/Makefile (otherlibs): Likewise.
28580 * login/Makefile (otherlibs): Likewise.
28581 * nscd/Makefile (otherlibs): Likewise.
28582 * posix/Makefile (otherlibs): Likewise.
28583 * pwd/Makefile (otherlibs): Likewise.
28584 * rt/Makefile (otherlibs): Likewise.
28585 * sunrpc/Makefile (otherlibs): Likewise.
28586 * nss/Makefile (otherlibs): Likewise.
28587 Add libnss_files to routines and static-only-routines.
28588 ($(objpfx)getent): Remove rule.
28589 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28590 static-only-routines.
28591
7c69cd14
JM
285922012-03-22 Joseph Myers <joseph@codesourcery.com>
28593
28594 [BZ #13892]
28595 * math/s_cexp.c: Include <float.h>.
28596 (__cexp): Handle exp result overflowing not necessarily
28597 overflowing both real and imaginary parts of result.
28598 * math/s_cexpf.c: Likewise.
28599 * math/s_cexpl.c: Likewise.
28600 * math/libm-test.inc (cexp_test): Add more tests.
28601 * sysdeps/i386/fpu/libm-test-ulps: Update.
28602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28603
81b035fe
L
286042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28605
28606 * include/link.h (ELFW): New macro.
28607 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28608 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28609
1da7940c
L
286102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28611
28612 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28613 with uint64_t.
28614
b749dbb9
L
286152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28616
28617 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28618 declaration.
28619 (struct La_x32_retval): Likewise.
28620
2ff87f3f
L
286212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28622
28623 * sysdeps/x86_64/preconfigure.in: New file.
28624 * sysdeps/x86_64/preconfigure: New generated file.
28625
c0df8e69
JM
286262012-03-22 Joseph Myers <joseph@codesourcery.com>
28627
48e44791
JM
28628 [BZ #13824]
28629 * math/e_exp2l.c: Include <float.h>.
28630 (__ieee754_exp2l): Handle overflow and underflow cases
28631 separately. Only pass fractional part of argument to
28632 __ieee754_expl.
28633 * math/libm-test.inc (exp2_test): Add more tests.
28634
c0df8e69
JM
28635 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28636 negating x to take absolute value.
28637 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28638 Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28641 Likewise.
28642 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28643 computing low part if x was negated.
28644 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28645
c8e43ba7
L
286462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28649 la_x32_gnu_pltexit.
28650 (pltexit): Cast int_retval to ptrdiff_t.
28651 * elf/tst-auditmod3b.c: Likewise.
28652 * elf/tst-auditmod4b.c: Likewise.
28653 * elf/tst-auditmod5b.c: Likewise.
28654 * elf/tst-auditmod6b.c: Likewise.
28655 * elf/tst-auditmod6c.c: Likewise.
28656 * elf/tst-auditmod7b.c: Likewise.
28657
28658 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28659 and x32_gnu_pltexit.
28660
28661 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28662 __ELF_NATIVE_CLASS.
28663 (La_x32_regs): New macro.
28664 (La_x32_retval): Likewise.
28665 (la_x32_gnu_pltenter): New function prototype.
28666 (la_x32_gnu_pltexit): Likewise.
28667
7998fa78
AS
286682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28669
dcb33988
AS
28670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28671 exponent.
28672
233fc563
AS
28673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28674
7998fa78
AS
28675 * configure.in (libc_cv_cc_nofma): Check for option to disable
28676 generation of FMA instructions.
28677 * configure: Regenerate.
28678 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28679 * sysdeps/ieee754/dbl-64/Makefile: New file.
28680 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28681 Remove brandred-fma4.
28682 (CFLAGS-brandred-fma4.c): Remove.
28683 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28684 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28685 define.
28686 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28687 define.
28688
8e95c99a
L
286892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28690
28691 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28692 LLONG_MAX != LONG_MAX.
28693 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28694 (_fitoa_word): Likewise.
28695 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28696 LLONG_MAX != LONG_MAX.
28697 * stdio-common/_itowa.h: Include <_itoa.h>.
28698 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28699 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28700 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28701 only if not defined.
28702 (_ITOA_WORD_TYPE): Likewise.
28703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28704 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28705
6f4db457
DM
287062012-03-21 David S. Miller <davem@davemloft.net>
28707
28708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28709
7785fe5a
L
287102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28711
28712 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28713 of x86_64 when setting libc_cv_slibdir, libdir and
28714 libc_cv_localedir.
28715 * sysdeps/unix/sysv/linux/configure: Regenerated.
28716
4535cd55
JM
287172012-03-21 Joseph Myers <joseph@codesourcery.com>
28718
28719 * manual/lang.texi (Old Varargs): Remove section.
28720 (How Variadic): Update menu.
28721 (va_start): Do not mention varargs.h.
28722
17228132
TS
287232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28724 Joseph Myers <joseph@codesourcery.com>
28725
28726 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28727 link test.
28728 * configure: Regenerated.
28729
8149f976
TS
287302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28731
05f3d1f6
UD
28732 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28733 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28734 conformtest.pl
8149f976 28735
1a4ac776
JM
287362012-03-21 Joseph Myers <joseph@codesourcery.com>
28737
be22ce65
JM
28738 * NOTES: Remove.
28739 * Makefile (files-for-dist): Remove NOTES.
28740 (NOTES): Remove rule.
28741 * README: Don't refer to NOTES.
28742 * manual/creature.texi: Don't include macros.texi.
28743 * manual/intro.texi (creature.texi): Remove comment referring to
28744 NOTES.
28745
40b601fb
JM
28746 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28747 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28748 * configure: Regenerated.
28749 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28750 LIBC_TRY_CC_OPTION.
28751 (libc_cv_as_i686): Likewise.
28752 (libc_cv_cc_avx): Likewise.
28753 (libc_cv_cc_sse2avx): Likewise.
28754 (libc_cv_cc_fma4): Likewise.
28755 (libc_cv_cc_novzeroupper): Likewise.
28756 * sysdeps/i386/configure: Regenerated.
28757
1a4ac776
JM
28758 [BZ #13883]
28759 * sysdeps/i386/fpu/s_cexp.S: Remove.
28760 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28761 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28762 * math/libm-test.inc (cexp_test): Add more tests.
28763 * sysdeps/i386/fpu/libm-test-ulps: Update.
28764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28765
a458e7fe
AM
287662012-03-21 Allan McRae <allan@archlinux.org>
28767
28768 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28769
0cb7efc5
JM
287702012-03-21 Joseph Myers <joseph@codesourcery.com>
28771
28772 [BZ #13871]
28773 * math/w_exp2.c: Do not include <float.h>.
28774 (o_threshold, u_threshold): Remove.
28775 (__exp2): Calculate result before checking finiteness and calling
28776 __kernel_standard.
28777 * math/w_exp2f.c: Likewise.
28778 * math/w_exp2l.c: Likewise.
28779 * math/libm-test.inc (exp2_test): Require overflow exception for
28780 1e6 input.
2460d3aa
JM
28781
28782 [BZ #3866]
28783 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28784 range of signed 64-bit integers before using fistpll. Remove
28785 checks for whether integers fit in mantissa bits.
28786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28787 the range of signed 32-bit integers before using fistpl. Remove
28788 checks for whether integers fit in mantissa bits.
28789 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28790 (__ieee754_powl): Test for y outside the range of signed 64-bit
28791 integers before using fistpll. Reduce 64-bit values to 63-bit
28792 ones as needed.
28793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28794 divide-by-zero is raised for zero to large negative powers.
28795 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28796 (__ieee754_powl): Test for y outside the range of signed 64-bit
28797 integers before using fistpll. Reduce 64-bit values to 63-bit
28798 ones as needed.
28799 * math/libm-test.inc (pow_test): Add more tests.
28800
eb96ffb0
L
288012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28804 <stdio-common/_itoa.h>.
28805 * debug/segfault.c: Likewise.
28806 * elf/dl-cache.c: Likewise.
28807 * elf/dl-minimal.c: Likewise.
28808 * elf/dl-misc.c: Likewise.
28809 * elf/dl-sysdep.c: Likewise.
28810 * elf/dl-version.c: Likewise.
28811 * elf/rtld.c: Likewise.
28812 * hurd/hurdsock.c: Likewise.
28813 * hurd/lookup-retry.c: Likewise.
28814 * malloc/malloc.c: Likewise.
28815 * malloc/mtrace.c: Likewise.
28816 * nscd/nscd_getgr_r.c: Likewise.
28817 * nscd/nscd_getpw_r.c: Likewise.
28818 * nscd/nscd_getserv_r.c: Likewise.
28819 * posix/getopt_init.c: Likewise.
28820 * posix/wordexp.c: Likewise.
28821 * stdio-common/_itoa.c: Likewise.
28822 * stdio-common/printf_fphex.c: Likewise.
28823 * stdio-common/vfprintf.c: Likewise.
28824 * string/_strerror.c: Likewise.
28825 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28826 * sysdeps/i386/i686/hp-timing.h: Likewise.
28827 * sysdeps/mach/_strerror.c: Likewise.
28828 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28829 * sysdeps/mach/hurd/sethostid.c: Likewise.
28830 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28831 * sysdeps/mach/xpg-strerror.c: Likewise.
28832 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28834 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28835 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28836 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28837 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28838 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28839 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28840 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28841 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28842 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28843 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28844 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28845 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28846 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28847 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28848 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28849 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28850 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28851 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28852 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28853
28854 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28855
28856 * stdio-common/_itoa.h: Moved to ...
28857 * sysdeps/generic/_itoa.h: Here.
28858
28859 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28860
28861 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28862 instead of "_itoa.h" and "_itowa.h".
28863 * stdio-common/vfprintf.: Likewise.
28864
d1af992d
L
288652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28868 <bits/wordsize.h>.
28869 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28870 (__signbit): Likwise.
28871 (llrintf): Likwise.
28872 (llrint): Likwise.
28873
114883e0
L
288742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28877 __WORDSIZE != 64.
28878
c135cc1b
JM
288792012-03-20 Joseph Myers <joseph@codesourcery.com>
28880
28881 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28882 OVERFLOW_EXCEPTION_OK.
28883 * math/libm-test.inc ("Philosophy"): Update comment about
28884 exception testing.
28885 (OVERFLOW_EXCEPTION): Define.
28886 (OVERFLOW_EXCEPTION_OK): Likewise.
28887 (INVALID_EXCEPTION_OK): Renumber.
28888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28889 (IGNORE_ZERO_INF_SIGN): Likewise.
28890 (test_exceptions): Handle FE_OVERFLOW.
28891 (exp10_test): Expect overflow exceptions.
28892 (exp2_test): Likewise.
28893 (expm1_test): Likewise.
28894 (nextafter_test): Likewise.
28895 (pow_test): Likewise.
28896 (scalbn_test): Likewise.
28897 (scalbln_test): Likewise.
28898
95443d88
L
288992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 * sysdeps/x86_64/bits/atomic.h
28902 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28903 64bit integer.
28904 (atomic_exchange_acq): Likewise.
28905 (__arch_exchange_and_add_body): Likewise.
28906 (__arch_add_body): Likewise.
28907 (atomic_add_negative): Likewise.
28908 (atomic_add_zero): Likewise.
28909
490df6c4
L
289102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28911
c2722551 28912 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28913 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28914
5e52b189
L
289152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28916
28917 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28918 Check __x86_64__ instead of __WORDSIZE.
28919
a9879d4c
L
289202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28921
28922 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28923
5df98260
DM
289242012-03-19 David S. Miller <davem@davemloft.net>
28925
e1497744
DM
28926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28927
5df98260
DM
28928 * sysdeps/sparc/fpu/fenv_private.h: New file.
28929 * sysdeps/sparc/fpu/math_private.h: Use it.
28930 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28931 Remove.
28932 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28933 (libc_feholdexcept_setroundl): Remove.
28934 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28935 Remove.
28936 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28937 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28938
b4c35121
L
289392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28940
28941 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28942 int64_t instead of long int.
28943 (INSERT_WORDS64): Likwise.
28944
56965fd7
L
289452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28948 _Unwind_GetCFA return to _Unwind_Ptr first.
28949
83d1aec8
JM
289502012-03-19 Joseph Myers <joseph@codesourcery.com>
28951
1897ad44
JM
28952 [BZ #13629]
28953 * math/s_clog.c: Include <float.h>.
28954 (__clog): Scale large or subnormal inputs.
28955 * math/s_clogf.c: Likewise.
28956 * math/s_clogl.c: Likewise.
28957 * math/s_clog10.c: Include <float.h>.
28958 (M_LOG10_2): Define.
28959 (__clog10): Scale large or subnormal inputs.
28960 * math/s_clog10f.c: Likewise.
28961 * math/s_clog10l.c: Likewise.
28962 * math/libm-test.inc (clog_test): Add more tests.
28963 (clog10_test): Likewise.
28964 * sysdeps/i386/fpu/libm-test-ulps: Update.
28965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28966
7726d6a9
JM
28967 [BZ #11451]
28968 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28969 x and y.
28970 * math/libm-test.inc (atan2_test): Add another test.
28971
83d1aec8
JM
28972 * Makerules (common-objdir-compile): Remove.
28973 * sysdeps/unix/Makefile (config-generated): Do not add
28974 $(unix-generated) to variable.
28975 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28976 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28977 Remove rule.
28978 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28979 Likewise.
28980 [generic bits/local_lim.h] (before-compile): Do not append to
28981 variable.
28982 [generic bits/local_lim.h] (common-generated): Likewise.
28983 [generic sys/param.h] (before-compile): Do not append to variable.
28984 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28985 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28986 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28987 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28988 include.
28989 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28990 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28991 [generic sys/param.h] ($(addprefix
28992 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28993 [generic sys/param.h] (common-generated): Do not append to
28994 variable.
28995 [generic sys/param.h] (sysdep_headers): Likewise.
28996 [generic bits/errno.h] (before-compile): Do not append to
28997 variable.
28998 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28999 rule.
29000 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29001 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29002 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29003 [generic bits/errno.h] (common-generated): Do not append to
29004 variable.
29005 [generic bits/ioctls.h] (before-compile): Do not append to
29006 variable.
29007 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29008 rule.
29009 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29010 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29011 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29012 rule.
29013 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29014 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29015 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29016 [generic bits/ioctls.h] (common-generated): Do not append to
29017 variable.
29018 [generic sys/syscall.h] (syscall.h): Remove variable.
29019 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29020 rule.
29021 [generic sys/syscall.h] (before-compile): Do not append to
29022 variable.
29023 [generic sys/syscall.h] (common-generated): Likewise.
29024 * sysdeps/unix/errnos-tmpl.c: Remove file.
29025 * sysdeps/unix/errnos.awk: Likewise.
29026 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29027 * sysdeps/unix/ioctls.awk: Likewise.
29028 * sysdeps/unix/mk-local_lim.c: Likewise.
29029 * sysdeps/unix/snarf-ioctls: Likewise.
29030
4851a949
RH
290312012-03-19 Richard Henderson <rth@twiddle.net>
29032
bd37f2ee
RH
29033 * sysdeps/i386/fpu/fenv_private.h: New file.
29034 * sysdeps/i386/fpu/math_private.h: Use it.
29035 (math_opt_barrier, math_force_eval): Remove.
29036 (libc_feholdexcept_setround_53bit): Remove.
29037 (libc_feupdateenv_53bit): Remove.
29038 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29039 (math_opt_barrier, math_force_eval): Remove.
29040 (libc_feholdexcept): Remove.
29041 (libc_feholdexcept_setround): Remove.
29042 (libc_fetestexcept, libc_fesetenv): Remove.
29043 (libc_feupdateenv_test): Remove.
29044 (libc_feupdateenv, libc_feholdsetround): Remove.
29045 (libc_feresetround): Remove.
29046
d0adc922
RH
29047 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29048 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29049
0fe0f1f8
RH
29050 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29051 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29052 (libc_feupdateenv_testl): New.
29053 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29054 (libc_feupdateenv_testf): New.
29055 (libc_feupdateenv): Use libc_feupdateenv_test.
29056 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29058
eb92c487
RH
29059 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29060 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29061 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29062 (libc_feresetround_noex): New.
29063 (libc_feresetround_noexf): New.
29064 (libc_feresetround_noexl): New.
29065 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29066 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29067 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29068 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29069 SET_RESTORE_ROUND.
29070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29072 (__cos): Likewise.
29073 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29074 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29075 SET_RESTORE_ROUND_NOEX.
29076 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29077 SET_RESTORE_ROUND_NOEXF.
29078 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29079 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29080 (libc_feholdsetroundf): New.
29081 (libc_feresetround, libc_feresetroundf): New.
29082
7d2e8012
RH
29083 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29084 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29085 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29086
b4dabbb4
RH
29087 * sysdeps/generic/math_private.h: Include <fenv.h>.
29088 (default_libc_feholdexcept): New.
29089 (default_libc_feholdexcept_setround): New.
29090 (default_libc_fesetenv, default_libc_feupdateenv): New.
29091 (libc_feholdexcept): Only define if undefined.
29092 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29093 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29094 (libc_feholdexcept_setroundl): Likewise.
29095 (libc_feholdexcept_setround_53bit): Likewise.
29096 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29097 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29098 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29099 (libc_feupdateenv_53bit): Likewise.
29100 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29101 (libc_feholdexcept): Convert from macro to inline function.
29102 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29103 (libc_fesetenv, libc_feupdateenv): Likewise.
29104
4851a949
RH
29105 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29106 not previously defined.
29107 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29108 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29109 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29110 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29111 * sysdeps/ieee754/flt-32/math_private.h: New file.
29112 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29113 math_private.h below SET_FLOAT_WORD.
29114 (__isnan, __isinf_ns, __finite): Remove.
29115 (__isnanf, __isinf_nsf, __finitef): Remove.
29116
e79d442e
AS
291172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29118
29119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29120
90b80344
DM
291212012-03-17 David S. Miller <davem@davemloft.net>
29122
29123 [BZ #6471]
29124 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29125 for 2.16.
29126
edc21804
DM
291272012-03-16 David S. Miller <davem@davemloft.net>
29128
77e927af
DM
29129 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29130 warnings.
29131
374976dd
DM
29132 [BZ #6471]
29133 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29134 properly.
29135 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29136 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29137 sysdep_routines when subdir is sysvipc.
29138 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29139 __getshmlba helper.
29140
edc21804
DM
29141 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29142
473c3ef3
L
291432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29146 [__LP64__].
29147
eb0f39b6
L
291482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29149
29150 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29151 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29152 (__lround): Renamed to ...
29153 (__llround): This. Replace long int with long long int.
29154 Define lround functions as aliases of llround functions.
29155 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29156
6b6cd74b
L
291572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29160 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29161 adresses to uintptr_t. Replace "long int" and "unsigned long
29162 int" with "greg_t" on va_arg.
29163
f1a77b01
L
291642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29167 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29168
29169 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29170 Move e_machine check before EI_CLASS check. Handle x32
29171 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29172 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29173 SKIP_EM_IA_64 and include
29174 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29175
29176 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29177 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29178 (add_system_dir): New macro.
29179
29180 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29181 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29182
11b90b9f
JM
291832012-03-16 Joseph Myers <joseph@codesourcery.com>
29184
c36e1d23
JM
29185 [BZ #2551]
29186 [BZ #2552]
29187 [BZ #2553]
29188 [BZ #2554]
29189 [BZ #2562]
29190 [BZ #2563]
29191 [BZ #2565]
29192 [BZ #2566]
29193 [BZ #2576]
29194 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29195 (y0): Likewise.
29196 * math/w_j0f.c (j0f): Likewise.
29197 (y0f): Likewise.
29198 * math/w_j0l.c (__j0l): Likewise.
29199 (__y0l): Likewise.
29200 * math/w_j1.c (j1): Likewise.
29201 (y1): Likewise.
29202 * math/w_j1f.c (j1f): Likewise.
29203 (y1f): Likewise.
29204 * math/w_j1l.c (__j1l): Likewise.
29205 (__y1l): Likewise.
29206 * math/w_jn.c (jn): Likewise.
29207 (yn): Likewise.
29208 * math/w_jnf.c (jnf): Likewise.
29209 (ynf): Likewise.
29210 * math/w_jnl.c (__jnl): Likewise.
29211 (__ynl): Likewise.
29212 * math/libm-test.inc (j0_test): Add more tests.
29213 (j1_test): Likewise.
29214 (jn_test): Likewise. Add trailing semicolon to existing test.
29215 (y0_test): Likewise.
29216 (y1_test): Likewise.
29217 * sysdeps/i386/fpu/libm-test-ulps: Update.
29218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29219
11b90b9f
JM
29220 [BZ #13851]
29221 [BZ #13854]
29222 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29223 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29224 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29226 (__tanl): Set errno for infinite argument.
29227 * sysdeps/i386/fpu/mptan.c: Remove.
29228 * sysdeps/i386/fpu/s_tan.S: Likewise.
29229 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29230 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29231 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29232 * math/libm-test.inc (tan_test): Add more tests and enable more
29233 tests for double and long double.
29234 * sysdeps/i386/fpu/libm-test-ulps: Update.
29235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29236
6a1bd2a1
JK
292372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29238
29239 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29240 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29241
10a803e0
RM
292422012-03-16 Roland McGrath <roland@hack.frob.com>
29243
29244 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29245 * configure.in: Use it for both main tree and add-ons.
29246 * configure: Regenerated.
29247
f196c7f7
L
292482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29249
29250 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29251
8848d99d
JM
292522012-03-16 Joseph Myers <joseph@codesourcery.com>
29253
96cbe7f4
JM
29254 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29255 in comment.
29256
8848d99d
JM
29257 [BZ #13851]
29258 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29259 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29263 infinite argument.
29264 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29266 != 0 for prec == 2.
29267 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29268 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29269 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29270 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29271 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29272 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29273 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29274 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29275 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29276 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29277 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29278 * math/libm-test.inc (cos_test): Add more tests and enable more
29279 tests for long double.
29280 (sin_test): Likewise.
29281 (sincos_test): Likewise.
29282 * sysdeps/i386/fpu/libm-test-ulps: Update.
29283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29284
dd7f4703
DM
292852012-03-16 David S. Miller <davem@davemloft.net>
29286
29287 * sysdeps/sparc/fpu/math_private.h: New file.
29288
006f1daa
DM
292892012-03-15 David S. Miller <davem@davemloft.net>
29290
c0c83bc8
DM
29291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29292 file.
e6a62e18 29293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29295 file.
e6a62e18
DM
29296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29302 sysdep routines.
29303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29304
88cb87d9
DM
29305 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29306 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29307
006f1daa 29308 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29310 sparc-ifunc.h
006f1daa 29311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29313 Likewise.
29314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29315 Likewise.
006f1daa
DM
29316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29320 Likewise.
006f1daa
DM
29321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29326 Likewise.
29327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29328 Likewise.
006f1daa
DM
29329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29353
11e0098e
AS
293542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29355
29356 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29357 scaling.
29358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29359
e85b09d0
AJ
293602012-03-15 Andreas Jaeger <aj@suse.de>
29361
29362 [BZ #13852]
29363 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29364 ieee754/flt-32 implementation for sin, cos and sincos.
29365 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29366 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29367 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29368 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29369 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29370 ieee754/flt-32 implementation for tan.
29371
29372 * math/libm-test.inc (cos_test): Enable some large input tests for
29373 float as well
29374 (sin_test): Likewise.
29375 (sincos_test): Likewise.
29376 (tan_test): Add tests for large input.
29377
29378 * sysdeps/i386/fpu/libm-test-ulps: Update.
29379
81c64153
AJ
293802012-03-15 Andreas Jaeger <aj@suse.de>
29381
29382 [BZ #13658]
29383 * math/libm-test.inc (cos_test): Add more test cases.
29384 (sin_test): Likewise.
29385 (sincos_test): Likewise.
29386
7bbfa5c6
AJ
293872012-03-15 Andreas Jaeger <aj@suse.de>
29388
29389 [BZ #13837]
29390 * math/libm-test.inc (cos_test): Add a test case for large input
29391 value.
29392 (sin_test): Likewise.
29393 (sincos_test): Likewise.
29394
293952012-03-15 Andreas Jaeger <aj@suse.de>,
29396 Joseph Myers <joseph@codesourcery.com>
29397
29398 [BZ #13658]
0671f479 29399 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
29400 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29401 * sysdeps/i386/fpu/branred.c: Likewise.
29402 * sysdeps/i386/fpu/dosincos.c: Likewise.
29403 * sysdeps/i386/fpu/mpa.c: Likewise.
29404 * sysdeps/i386/fpu/s_cos.S: Likewise.
29405 * sysdeps/i386/fpu/s_sin.S: Likewise.
29406 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29407 * sysdeps/i386/fpu/sincos32.c: Likewise.
29408
29409 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29410 Define.
29411 (libc_feupdateenv_53bit): Define.
29412 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29413 Define.
29414 (libc_feupdateenv_53bit): Define.
29415
29416 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29417 53 bit (without extend i386 double precision).
29418
29419 * math/libm-test.inc (sincos_test): Add tests for large input.
29420 (sin): Likewise.
29421 (cos): Likewise.
29422
29423 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29424
9cad04ea
AS
294252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29426
29427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29428
f7062b9a
DM
294292012-03-15 David S. Miller <davem@davemloft.net>
29430
29431 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29432 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29433 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29434 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
29446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29447 file.
f7062b9a 29448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
29449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29450 file.
f7062b9a 29451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
29452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29453 file.
f7062b9a 29454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
29455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29456 file.
f7062b9a
DM
29457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29459 fmin/fmax sysdep routines.
29460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29461
7bd951ff
DM
294622012-03-14 David S. Miller <davem@davemloft.net>
29463
559398ab
DM
29464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29487 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29493 routines.
29494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29495 file.
559398ab 29496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
29497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29498 file.
559398ab 29499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
29500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29501 file.
559398ab 29502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
29503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29504 file.
559398ab 29505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
29506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29507 file.
559398ab 29508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
29509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29510 file.
29511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29512 file.
29513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29514 file.
29515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29516 file.
29517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29518 New file.
29519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29520 file.
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29522 file.
559398ab 29523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
29524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29525 file.
559398ab 29526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29528 file.
559398ab 29529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
29530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29531 file.
559398ab 29532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29534 VIS3 routines.
559398ab
DM
29535
29536 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29537 New file.
29538
5a1c1e32
DM
29539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29540
eae47a36
DM
29541 * sysdeps/sparc/configure.in: New file.
29542 * sysdeps/sparc/configure: Generate.
29543 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29544 * configure: Regenerate.
29545 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29546 * config.make.in (have-as-vis3): New.
29547 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29548 available use -Av9d instead of -Av9a.
29549 * sysdeps/sparc/sparc64/Makefile: Likewise.
29550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
29551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29552 New file.
29553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29554 file.
29555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29556 New file.
29557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29558 file.
eae47a36
DM
29559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29563 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29564
c0c83bc8
DM
29565 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29566 fzeros/fnegs to load 0x80000000 into a float register instead of
29567 using the stack.
7bd951ff
DM
29568 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29569
bd951ccb
JM
295702012-03-14 Joseph Myers <joseph@codesourcery.com>
29571
29572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29573 bits/syscall.h.
29574 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29575 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29576 ($(inst_includedir)/bits/syscall.h): Remove rule.
29577 ($(objpfx)bits/syscall.d): Include instead of
29578 $(objpfx)syscall-list.d.
29579 (generated): Change syscall-list.h and syscall-list.d to
29580 bits/syscall.h and bits/syscall.d.
29581
bb4e6db2
RM
295822012-03-14 Roland McGrath <roland@hack.frob.com>
29583
29584 [BZ #13846]
29585 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29586
aa4a2ae1
JM
295872012-03-14 Joseph Myers <joseph@codesourcery.com>
29588
e456826d
JM
29589 [BZ #13841]
29590 * math/s_csqrt.c: Include <float.h>.
29591 (__csqrt): Scale large or subnormal inputs.
29592 * math/s_csqrtf.c: Likewise.
29593 * math/s_csqrtl.c: Likewise.
29594 * math/libm-test.inc (csqrt_test): Add more tests.
29595 * sysdeps/i386/fpu/libm-test-ulps: Update.
29596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29597
aa4a2ae1
JM
29598 [BZ #13840]
29599 * math/libm-test.inc (hypot_test): Add more tests.
29600
7c10fd35
DM
296012012-03-13 David S. Miller <davem@davemloft.net>
29602
29603 [BZ #13840]
29604 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29605 double-precision for the calculation instead of scaling.
29606
f453b98b
JM
296072012-03-13 Joseph Myers <joseph@codesourcery.com>
29608
29609 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29610 manipulate bits before adding and subtracting TWO52[sx].
29611 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29612 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29613 Likewise.
29614 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29615
09a3453f
DM
296162012-03-13 David S. Miller <davem@davemloft.net>
29617
8e59da90
DM
29618 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29619 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29621 rtld-global-offsets.h
29622 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29623
2a8ab7f2
DM
29624 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29625 large parameters.
29626
10f62770
DM
29627 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29628
5f0bdb18
DM
29629 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29630 'err' in the ifdef scope in which it is actually used.
29631
09a3453f
DM
29632 * nss/nss_db/db-init.c: Include string.h
29633
b4b2eb5e
DM
296342012-03-12 David S. Miller <davem@davemloft.net>
29635
98bb2f1c
DM
29636 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29637 masking out of the most significant byte of random value used.
29638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29639 Fix coding style in previous change.
29640
b4b2eb5e
DM
29641 * sysdeps/unix/sysv/linux/kernel-features.h
29642 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29643 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29644 expression.
29645 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29646 later.
29647
6e226b09
DM
296482012-03-11 David S. Miller <davem@davemloft.net>
29649
a1bcbd40
DM
29650 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29651 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29652 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29653 for 'resultvar' otherwise things get truncated on 64-bit.
29654
cb9d6174
DM
29655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29656 Fix masking out of the most significant byte of random value used.
29657
6e226b09
DM
29658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29659
058c132d
AS
296602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29661
29662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29663
2d2cd515
DM
296642012-03-09 David S. Miller <davem@davemloft.net>
29665
29666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29667 variables with appropriate CPP guards.
29668 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29669 frame pointer, not the stack pointer. Correct layout comments. Fix test
29670 on resulting framesize and the management of the outregs buffer for pltexit.
29671 Preserve floating point return values across _dl_call_pltexit call.
29672 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29673 framesize and the management of the outregs buffer for pltexit.
29674 Preserve floating point return values across _dl_call_pltexit
29675 call.
29676 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29677 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29678 (print_exit): Fix format string for return register value.
29679
9a07f9d0
JM
296802012-03-10 Joseph Myers <joseph@codesourcery.com>
29681
29682 * sunrpc/Makefile (others): Add rpcgen.
29683 ($(objpfx)rpcgen): Remove special build rule and dependency on
29684 libc.
29685 * sunrpc/rpcgen.c: New file.
29686
547b5e30
PE
296872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29688
c524201a
PE
29689 [BZ #13673]
29690 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29691 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29692 * sysdeps/i386/crti.S: Likewise.
29693 * sysdeps/i386/crtn.S: Likewise.
29694 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29695 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29696 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29697 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29698 * sysdeps/sh/crti.S: Likewise.
29699 * sysdeps/sh/crtn.S: Likewise.
29700 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29701
7b6235f2
PE
29702 [BZ #13673]
29703 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29704 with URL.
29705 * locale/programs/locfile-kw.gperf: Likewise.
29706 * locale/programs/charmap-kw.h: Regenerated.
29707 * locale/programs/locfile-kw.h: Likewise.
29708
547b5e30
PE
29709 [BZ #13673]
29710 * intl/plural.y: Replace FSF snail mail address with URL.
29711 * intl/plural.c: Regenerated.
29712
5f0a5dae
RH
297132012-03-09 Richard Henderson <rth@twiddle.net>
29714
29715 * include/math_private.h: Remove file.
29716 * math/math_private.h: Move file ...
29717 * sysdeps/generic/math_private.h: ... here.
29718
b8c03620
RH
29719 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29720 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29721 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29722
4e234f5d 29723 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29724 and <math_private.h>.
29725 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29726 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29727 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29728 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29729 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29730 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29731 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29733 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29737 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29739 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29740 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29741 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29743 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29744 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29747 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29749 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29751 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29752 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29755 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29757 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29758 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29759 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29762 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29763 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29765 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29766 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29767 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29768 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29769 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29773 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29774 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29775 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29776 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29777 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29778 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29779 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29782 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29783 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29784 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29786 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29795 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29796 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29797 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29804 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29806 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29807 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29812 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29813 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29814 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29815 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29816 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29818 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29819 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29820 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29822 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29823 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29825 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29826 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29827 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29828 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29829 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29830 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29831 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29832 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29833 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29835 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29836 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29837 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29838 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29839 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29842 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29844 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29845 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29846 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29847 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29848 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29852 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29853 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29854 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29855 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29856 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29857 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29858 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29859 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29860 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29861 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29862 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29863 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29864 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29865 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29866 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29867 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29868 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29869 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29870 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29871 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29872 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29873 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29874 * sysdeps/ieee754/k_standard.c: Likewise.
29875 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29876 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29877 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29878 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29879 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29880 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29881 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29882 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29883 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29884 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29885 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29886 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29887 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29888 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29889 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29890 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29891 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29892 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29893 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29894 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29895 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29896 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29897 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29898 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29899 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29900 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29902 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29903 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29904 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29905 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29906 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29907 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29908 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29909 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29910 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29911 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29915 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29916 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29917 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29918 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29919 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29920 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29921 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29923 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29926 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29990 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29997 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30024 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30034 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30035 * sysdeps/ieee754/s_lib_version.c: Likewise.
30036 * sysdeps/ieee754/s_matherr.c: Likewise.
30037 * sysdeps/ieee754/s_signgam.c: Likewise.
30038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30040 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30041 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30042 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30043 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30044 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30045 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30046 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30047 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30048 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30049 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30050 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30051 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30052 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30053 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30054 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30055 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30056 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30059
1991fa03
JM
300602012-03-09 Joseph Myers <joseph@codesourcery.com>
30061
30062 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30063 * sunrpc/rpc_main.c: Likewise.
30064 * sunrpc/rpc_svcout.c: Likewise.
30065
60d6f5a6
DM
300662012-03-09 David S. Miller <davem@davemloft.net>
30067
30068 * include/math_private.h: New file.
30069
4962050e
JM
300702012-03-09 Joseph Myers <joseph@codesourcery.com>
30071
02a6f887
JM
30072 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30073 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30074 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30075 from <bits/socket_type.h>.
30076 (enum __socket_type): Don't define here.
30077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30079 bits/socket_type.h.
30080
c6e013c1
JM
30081 [BZ #13566]
30082 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30083 checking __USE_GNU.
30084
4962050e
JM
30085 * Makerules ($(inst_includedir)/%.h): New rule.
30086 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30087 (install-others): Remove variable setting.
30088 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30089
38842f45
RH
300902012-03-08 Richard Henderson <rth@twiddle.net>
30091
67bb6da6
RH
30092 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30093 from macro to inline function; merge with the
30094 !__LIBC_INTERNAL_MATH_INLINES version.
30095 (__ieee754_sqrtf): Likewise.
30096
15194b4b
RH
30097 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30098 to inline function.
30099 (__rintf, __floor, __floorf): Likewise.
30100
64e21ede
RH
30101 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30102 macro to inline function.
30103 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30104
38842f45
RH
30105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30106 not <math/math_private.h>.
30107
c64bf5fe
DM
301082012-03-08 David S. Miller <davem@davemloft.net>
30109
30110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30111 copyright year.
30112 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30113
82d86f28
TS
301142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30115
30116 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30117 normalization.
30118 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30119 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30120
aea5d727
UD
301212012-03-08 Ulrich Drepper <drepper@gmail.com>
30122
30123 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30124 be defined individually, they must be defined as a block. Define
30125 S for printing a string instead of hidint the different by using a
30126 macro for adding the 'l'.
30127 * stdio-common/tst-fphex-wide.c: Adjust.
30128
70bca0a3
MP
301292012-03-07 Marek Polacek <polacek@redhat.com>
30130
30131 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30132
65b81130
MP
301332012-03-08 Marek Polacek <polacek@redhat.com>
30134
30135 [BZ #13806]
30136 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30137 * stdio-common/tst-fphex.c: Define a few macros to make the
30138 test reusable. Use them.
30139 * stdio-common/tst-fphex-wide.c: New file.
30140
07037eeb
JM
301412012-03-08 Joseph Myers <joseph@codesourcery.com>
30142
a7a93d50
JM
30143 [BZ #6911]
30144 * manual/macros.texi (gnusystems): New macro.
30145 (nongnusystems): Likewise.
30146 (gnulinuxhurdsystems): Likewise.
30147 (gnuhurdsystems): Likewise..
30148 (gnulinuxsystems): Likewise.
30149 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30150 variants of the GNU system, not "GNU system".
30151 * manual/conf.texi: Likewise.
30152 * manual/errno.texi: Likewise. Update example of errno macro
30153 expansion.
30154 * manual/filesys.texi: Likewise.
30155 (getumask): Document as specific to GNU/Hurd.
30156 * manual/install.texi: Likewise. Reword some references to
30157 GNU/Linux.
30158 * manual/intro.texi: Likewise.
30159 * manual/io.texi: Likewise.
30160 (File Name Portability): Detail which constraints are inapplicable
30161 to all GNU systems and which are only inapplicable to GNU/Hurd.
30162 * manual/job.texi: Likewise.
30163 * manual/llio.texi: Likewise.
30164 (O_NOCTTY): Document as present on GNU/Linux.
30165 * manual/maint.texi: Likewise.
30166 * manual/memory.texi: Likewise.
30167 * manual/pattern.texi: Likewise.
30168 * manual/pipe.texi: Likewise.
30169 * manual/process.texi: Likewise.
30170 * manual/resource.texi: Likewise.
30171 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30172 child on GNU/Hurd.
30173 * manual/setjmp.texi: Likewise.
30174 * manual/signal.texi: Likewise.
30175 * manual/startup.texi: Likewise.
30176 * manual/stdio.texi: Likewise.
30177 * manual/terminal.texi: Likewise.
30178 (ONLCR): Document as POSIX.
30179 (OXTABS): Document availability on GNU/Linux as XTABS.
30180 (ONOEOT): Document availability separately from other bits.
30181 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30182 * manual/time.texi: Likewise.
30183 * manual/users.texi: Likewise.
30184 * INSTALL: Regenerated.
30185 * sysdeps/gnu/errlist.c: Regenerated.
30186
07037eeb
JM
30187 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30188 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30189 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30190 puts.
30191 * configure: Regenerated.
30192
d1d3431a
JM
301932012-03-07 Joseph Myers <joseph@codesourcery.com>
30194
af6a1e37
JM
30195 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30196 default includes instead of AC_HEADER_CHECK.
30197 * sysdeps/i386/configure: Regenerated.
30198
d1d3431a
JM
30199 [BZ #10716]
30200 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30201 * math/s_cacoshf.c (__cacoshf): Likewise.
30202 * math/s_cacoshl.c (__cacoshl): Likewise.
30203 * math/s_casinh.c (__casinh): Set signs of result from argument.
30204 * math/s_casinhf.c (__casinhf): Likewise.
30205 * math/s_casinhl.c (__casinhl): Likewise.
30206 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30207 (casinh_test): Add more tests.
30208 * sysdeps/i386/fpu/libm-test-ulps: Update.
30209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30210
482ff4da
UD
302112012-03-07 Ulrich Drepper <drepper@gmail.com>
30212
872fda05
UD
30213 * po/zh_TW.po: Update from translation team.
30214
a4300c7a
UD
30215 * login/Makefile (distribute): Remove variable.
30216 * catgets/Makefile: Likewise.
30217 * mach/Makefile: Likewise.
30218 * malloc/Makefile: Likewise.
30219 * misc/Makefile: Likewise.
30220 * iconv/Makefile: Likewise.
30221 * nscd/Makefile: Likewise.
30222 * hurd/Makefile: Likewise.
30223 * manual/Makefile: Likewise.
30224 * locale/Makefile: Likewise.
30225 * intl/Makefile: Likewise.
30226 * conform/Makefile: Likewise.
30227 * nss/Makefile: Likewise.
30228 * time/Makefile: Likewise.
30229 * soft-fp/Makefile: Likewise.
30230 * dirent/Makefile: Likewise.
30231 * gmon/Makefile: Likewise.
30232 * po/Makefile: Likewise.
30233 * rt/Makefile: Likewise.
30234 * socket/Makefile: Likewise.
30235 * math/Makefile: Likewise.
30236 * signal/Makefile: Likewise.
30237 * debug/Makefile: Likewise.
30238 * elf/Makefile: Likewise.
30239 * timezone/Makefile: Likewise.
30240 * stdlib/Makefile: Likewise.
30241 * iconvdata/Makefile: Likewise.
30242 * sunrpc/Makefile: Likewise.
30243 * io/Makefile: Likewise.
30244 * argp/Makefile: Likewise.
30245 * inet/Makefile: Likewise.
30246 * hesiod/Makefile: Likewise.
30247 * grp/Makefile: Likewise.
30248 * csu/Makefile: Likewise.
30249 * wctype/Makefile: Likewise.
30250 * crypt/Makefile: Likewise.
30251 * libio/Makefile: Likewise.
30252 * string/Makefile: Likewise.
30253 * nis/Makefile: Likewise.
30254 * resolv/Makefile: Likewise.
30255 * stdio-common/Makefile: Likewise.
30256 * wcsmbs/Makefile: Likewise.
30257 * dlfcn/Makefile: Likewise.
30258 * posix/Makefile: Likewise.
30259
3b7c4e74 30260 [BZ #6959]
482ff4da
UD
30261 * timezone/Makefile: Don't install timezone files, just the programs
30262 and scripts.
30263
f72ed77d
UD
302642012-03-06 Ulrich Drepper <drepper@gmail.com>
30265
a000466f
UD
30266 * nss/databases.def: Add missing gshadow entry.
30267
f72ed77d
UD
30268 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30269
a53b7a4e
MP
302702012-03-06 Marek Polacek <polacek@redhat.com>
30271
30272 [BZ #13726]
30273 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30274 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30275 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30276 * stdio-common/tst-long-dbl-fphex.c: New file.
30277
e9258400
DM
302782012-03-06 David S. Miller <davem@davemloft.net>
30279
30280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30281 (set_obp_int): New function.
30282 (get_obp_int): New function.
30283 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30285 Avoid unused variable warnings on 'val' and use builtin_expect.
30286 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30287 __builtin_expect.
e9258400
DM
30288 (INLINE_CLONE_SYSCALL): Likewise.
30289
3bd2c723
DM
302902012-03-05 David S. Miller <davem@davemloft.net>
30291
30292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30293
bbb78d03
AS
302942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30295
884c5db4
AS
30296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30297
bbb78d03
AS
30298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30299 only for |x| >= 40.
30300 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30301
1c9f702a 303022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30303
30304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30305 Replace gettimeofday with __vdso_gettimeofday.
30306
7be16f82
RM
30307 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30308 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30309 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30310
30311 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30312 time with __vdso_time.
30313
ed58a00f
JM
303142012-03-05 Joseph Myers <joseph@codesourcery.com>
30315
30316 * manual/lang.texi (size_t): Note types to which size_t may be
30317 equivalent with the GNU C Library, but do not describe when
30318 differences between them are significant.
30319
30ee4ced
AJ
303202012-03-05 Andreas Jaeger <aj@suse.de>
30321
30322 * sysdeps/i386/fpu/libm-test-ulps: Update.
30323
b7cd39e8
JM
303242012-03-05 Joseph Myers <joseph@codesourcery.com>
30325
30326 [BZ #3976]
30327 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30328 (__ieee754_pow): Save and restore rounding mode and use
30329 round-to-nearest for main computations.
30330 * math/libm-test.inc (pow_test_tonearest): New function.
30331 (pow_test_towardzero): Likewise.
30332 (pow_test_downward): Likewise.
30333 (pow_test_upward): Likewise.
30334 (main): Call the new functions.
30335 * sysdeps/i386/fpu/libm-test-ulps: Update.
30336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
30337
30338 [BZ #3976]
30339 * math/libm-test.inc (cosh_test_tonearest): New function.
30340 (cosh_test_towardzero): Likewise.
30341 (cosh_test_downward): Likewise.
30342 (cosh_test_upward): Likewise.
30343 (sinh_test_tonearest): Likewise.
30344 (sinh_test_towardzero): Likewise.
30345 (sinh_test_downward): Likewise.
30346 (sinh_test_upward): Likewise.
30347 (main): Call the new functions.
30348 * sysdeps/i386/fpu/libm-test-ulps: Update.
30349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30350
6c6a98c9
TV
303512012-03-05 Tom de Vries <tom@codesourcery.com>
30352
30353 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30354 default stack guard is set in last bytes.
30355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30356
21bb2d2e 303572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30358
21bb2d2e 30359 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30360
21bb2d2e
AJ
30361 [BZ #13656]
30362 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30363 possibly allocate from heap instead of stack.
30364 * stdio-common/bug-vfprintf-nargs.c: New file.
30365 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30366
c6922934
AS
303672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30368
30369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30370
bc957d53
MP
303712012-03-03 Marek Polacek <polacek@redhat.com>
30372
30373 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30374 * math/math_private.h: Likewise.
30375 * stdlib/tst-strtod.c: Likewise.
30376 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30377 * sysdeps/x86_64/bits/atomic.h: Likewise.
30378
6358490d
DM
303792012-03-02 David S. Miller <davem@davemloft.net>
30380
30381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30385 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30386 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30387 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30388 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30389
01ae168d
RM
303902012-03-02 Roland McGrath <roland@hack.frob.com>
30391
d9a17c07
RM
30392 [BZ #13792]
30393 * manual/examples/README: New file, says the example source files
30394 can be used under GPL>=2.
30395 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30396 line containing just "*/".
30397 * manual/examples/add.c: Add copyright header (GPL>=2).
30398 * manual/examples/argp-ex1.c: Likewise.
30399 * manual/examples/argp-ex2.c: Likewise.
30400 * manual/examples/argp-ex3.c: Likewise.
30401 * manual/examples/argp-ex4.c: Likewise.
30402 * manual/examples/atexit.c: Likewise.
30403 * manual/examples/db.c: Likewise.
30404 * manual/examples/dir.c: Likewise.
30405 * manual/examples/dir2.c: Likewise.
30406 * manual/examples/execinfo.c: Likewise.
30407 * manual/examples/filecli.c: Likewise.
30408 * manual/examples/filesrv.c: Likewise.
30409 * manual/examples/fmtmsgexpl.c: Likewise.
30410 * manual/examples/genpass.c: Likewise.
30411 * manual/examples/inetcli.c: Likewise.
30412 * manual/examples/inetsrv.c: Likewise.
30413 * manual/examples/isockad.c: Likewise.
30414 * manual/examples/longopt.c: Likewise.
30415 * manual/examples/memopen.c: Likewise.
30416 * manual/examples/memstrm.c: Likewise.
30417 * manual/examples/mkfsock.c: Likewise.
30418 * manual/examples/mkisock.c: Likewise.
30419 * manual/examples/mygetpass.c: Likewise.
30420 * manual/examples/pipe.c: Likewise.
30421 * manual/examples/popen.c: Likewise.
30422 * manual/examples/rprintf.c: Likewise.
30423 * manual/examples/search.c: Likewise.
30424 * manual/examples/select.c: Likewise.
30425 * manual/examples/setjmp.c: Likewise.
30426 * manual/examples/sigh1.c: Likewise.
30427 * manual/examples/sigusr.c: Likewise.
30428 * manual/examples/stpcpy.c: Likewise.
30429 * manual/examples/strdupa.c: Likewise.
30430 * manual/examples/strftim.c: Likewise.
30431 * manual/examples/strncat.c: Likewise.
30432 * manual/examples/subopt.c: Likewise.
30433 * manual/examples/swapcontext.c: Likewise.
30434 * manual/examples/termios.c: Likewise.
30435 * manual/examples/testopt.c: Likewise.
30436 * manual/examples/testpass.c: Likewise.
30437 * manual/examples/timeval_subtract.c: Likewise.
30438
01ae168d
RM
30439 [BZ #13792]
30440 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30441 function to ...
30442 * manual/timeval_subtract.c.texi: ... here, new file.
30443
49efa33d
DM
304442012-03-02 David S. Miller <davem@davemloft.net>
30445
30446 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30447
28afd92d
JM
304482012-03-02 Joseph Myers <joseph@codesourcery.com>
30449
804360ed
JM
30450 [BZ #3976]
30451 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30452 (__sin): Save and restore rounding mode and use round-to-nearest
30453 for all computations.
30454 (__cos): Save and restore rounding mode and use round-to-nearest
30455 for all computations.
30456 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30457 <fenv.h>.
30458 (tan): Save and restore rounding mode and use round-to-nearest for
30459 all computations.
30460 * math/libm-test.inc (cos_test_tonearest): New function.
30461 (cos_test_towardzero): Likewise.
30462 (cos_test_downward): Likewise.
30463 (cos_test_upward): Likewise.
30464 (sin_test_tonearest): Likewise.
30465 (sin_test_towardzero): Likewise.
30466 (sin_test_downward): Likewise.
30467 (sin_test_upward): Likewise.
30468 (tan_test_tonearest): Likewise.
30469 (tan_test_towardzero): Likewise.
30470 (tan_test_downward): Likewise.
30471 (tan_test_upward): Likewise.
30472 (main): Call the new functions.
30473 * sysdeps/i386/fpu/libm-test-ulps: Update.
30474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30475
a6d06d7b
JM
30476 [BZ #10135]
30477 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30478 small n, then large n, before computing and testing k+n.
30479 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30481 Likewise.
30482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30483 Likewise.
30484 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30485 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30491 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30492 * math/libm-test.inc (scalbn_test): Add more tests.
30493 (scalbln_test): Likewise.
30494
07e12bb3
JM
30495 * manual/filesys.texi (mode_t): Describe constraints on size and
30496 signedness, not exact equivalence to a particular type.
30497 (ino_t): Likewise.
30498 (ino64_t): Likewise.
30499 (dev_t): Likewise.
30500 (nlink_t): Likewise.
30501 (blkcnt_t): Likewise.
30502 (blkcnt64_t): Likewise.
30503 * manual/llio.texi (off_t): Likewise.
30504
28afd92d
JM
30505 [BZ #3976]
30506 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30507 (__ieee754_exp): Save and restore rounding mode and use
30508 round-to-nearest for all computations.
30509 * math/libm-test.inc (exp_test_tonearest): New function.
30510 (exp_test_towardzero): Likewise.
30511 (exp_test_downward): Likewise.
30512 (exp_test_upward): Likewise.
30513 (main): Call the new functions.
30514 * sysdeps/i386/fpu/libm-test-ulps: Update.
30515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30516
b1eeb65d
CD
305172012-03-01 Chris Demetriou <cgd@google.com>
30518
30519 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30520 have predictable order.
30521
53362a4b
DM
305222012-03-01 David S. Miller <davem@davemloft.net>
30523
3c969083
DM
30524 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30525
759707de
DM
30526 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30527 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30528 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30529 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30530
dfdb8ff2
DM
30531 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30532 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30533 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30535 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30536 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30537 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30538 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30539 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30540
ead89f96
DM
30541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30542
7f66bd07
DM
30543 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30544 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30546
53362a4b
DM
30547 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30548 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30549 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30550 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30551 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30552 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30553 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30554 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30555 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30556 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30557 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30563 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30564 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30565 * sysdeps/sparc/elf/configure: Regenerated.
30566
7b1902cb
JM
305672012-03-01 Joseph Myers <joseph@codesourcery.com>
30568
bec039bc
JM
30569 * configure.in (AS, LD): Require binutils 2.20 or later.
30570 * configure: Regenerated.
30571 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30572 as required minimum version.
30573 * INSTALL: Regenerated.
30574
7b1902cb
JM
30575 [BZ #2541]
30576 [BZ #4108]
30577 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30578 before squaring exponent.
30579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30580 bottom long double and 27 bits of top long double before squaring
30581 exponent.
30582 * math/libm-test.inc (erfc_test): Add more tests.
30583 * sysdeps/i386/fpu/libm-test-ulps: Update.
30584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30586
f775c276
KT
305872012-03-01 Kai Tietz <ktietz@redhat.com>
30588
30589 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30590 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30591 containing bit-fields.
30592 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30593 * soft-fp/single.h (_FP_UNION_S): Likewise.
30594 * soft-fp/double.h (_FP_UNION_D): Likewise.
30595
5b8a4d4a
JM
305962012-02-29 Joseph Myers <joseph@codesourcery.com>
30597
0bab47b6
JM
30598 [BZ #13786]
30599 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30600 not include ../strcmp.S.
30601 [USE_AS_STRNCASECMP_L]: Likewise.
30602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30603 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30604 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30605 (__strncasecmp_l_ia32): Define as alias to
30606 __strncasecmp_l_nonascii.
30607
0fcad3e2
JM
30608 [BZ #5794]
30609 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30610 * sysdeps/i386/fpu/libm-test-ulps: Update.
30611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30612
5b8a4d4a
JM
30613 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30615
8fdceb2e
JL
306162012-02-29 Jeff Law <law@redhat.com>
30617
30618 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30619 out of bounds read.
30620
1f393a11
MP
306212012-02-29 Marek Polacek <polacek@redhat.com>
30622
30623 [BZ #13706]
30624 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30625 * elf/Makefile: Add rules to run tst-unused-dep.out.
30626
8847f037
DM
306272012-02-28 David S. Miller <davem@davemloft.net>
30628
30629 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30630 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30633 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30634 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30635
169d7f11
JM
306362012-02-29 Joseph Myers <joseph@codesourcery.com>
30637
30638 * math/libm-test.inc (llround_test): Move one test from
30639 lround_test. Use TEST_f_L in moved test.
30640 (lround_test): Move misplaced test to llround_test. Add testcase
30641 from bug 2561.
30642
39adf059
UD
306432012-02-28 Ulrich Drepper <drepper@gmail.com>
30644
30645 * sysdeps/x86_64/fpu/e_expf.S: New file.
30646 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30647
71b5d1c5
SB
306482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30649
30650 [BZ #13637]
30651 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30652 of remain_len that may cause incomplete multi-byte character and
30653 false match.
30654 * posix/bug-regex33.c: New file.
30655 * posix/Makefile (tests): Add bug-regex33.
30656
1f77f049
JM
306572012-02-28 Joseph Myers <joseph@codesourcery.com>
30658
30659 * manual/macros.texi: New file.
30660 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30661 * manual/libc.texinfo: Include macros.texi.
30662 * manual/creatute.texi: Likewise.
30663 * manual/install.texi: Likewise.
30664 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30665 @glibcadj{} in references to the GNU C Library.
30666 * manual/charset.texi: Likewise.
30667 * manual/conf.texi: Likewise.
30668 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30669 when not using those macros.
30670 * manual/creature.texi: Likewise.
30671 * manual/crypt.texi: Likewise.
30672 * manual/errno.texi: Likewise.
30673 * manual/filesys.texi: Likewise.
30674 * manual/header.texi: Likewise.
30675 * manual/install.texi: Likewise.
30676 * manual/intro.texi: Likewise.
30677 * manual/io.texi: Likewise.
30678 * manual/job.texi: Likewise.
30679 * manual/lang.texi: Likewise.
30680 * manual/libc.texiinfo: Likewise.
30681 * manual/llio.texi: Likewise.
30682 * manual/locale.texi: Likewise.
30683 * manual/maint.texi: Likewise.
30684 * manual/math.texi: Likewise.
30685 * manual/memory.texi: Likewise.
30686 * manual/message.texi: Likewise.
30687 * manual/nss.texi: Likewise.
30688 * manual/pattern.texi: Likewise.
30689 * manual/process.texi: Likewise.
30690 * manual/resource.texi: Likewise.
30691 * manual/search.texi: Likewise.
30692 * manual/setjmp.texi: Likewise.
30693 * manual/signal.texi: Likewise.
30694 * manual/socket.texi: Likewise.
30695 * manual/startup.texi: Likewise.
30696 * manual/stdio.texi: Likewise.
30697 * manual/string.texi: Likewise.
30698 * manual/sysinfo.texi: Likewise.
30699 * manual/syslog.texi: Likewise.
30700 * manual/terminal.texi: Likewise.
30701 * manual/time.texi: Likewise.
30702 * manual/users.texi: Likewise.
30703 * INSTALL: Regenerated.
30704 * NOTES: Regenerated.
d40c5d54 30705 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30706
450bf206
AS
307072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30708
30709 * include/dirent.h: Include <dirstream.h> before
30710 <dirent/dirent.h>.
30711
741a235b
DM
307122012-02-28 David S. Miller <davem@davemloft.net>
30713
30714 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30715 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30716 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30717 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30718
d6b5aa58
DM
307192012-02-27 David S. Miller <davem@davemloft.net>
30720
1aff59a3
DM
30721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30723 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30724 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30725
d6b5aa58
DM
30726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30727 frame pointer instead of stack pointer relative arg slot.
30728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30729 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30730 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30731
433f48bf
CD
307322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30733
30734 [BZ #3992]
30735 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30736
d674b76d
DM
307372012-02-27 David S. Miller <davem@davemloft.net>
30738
30739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30743 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30744 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30745 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30746 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30747
0e7727f7
JM
307482012-02-27 Joseph Myers <joseph@codesourcery.com>
30749
30750 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30751 later. Allow versions 5-9.
43be4ca2 30752 * configure: Regenerated.
0e7727f7
JM
30753 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30754 required minimum version and 4.6 as recommended version. Do not
30755 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30756 * INSTALL: Regenerated.
0e7727f7 30757
a78bc654
DM
307582012-02-27 David S. Miller <davem@davemloft.net>
30759
428d5830
DM
30760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30764 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30765 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30766 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30767 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30768
a78bc654
DM
30769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30770 manipulate bits before adding and subtracting TWO112[sx].
30771 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30772
4579f81c
RM
307732012-02-27 Roland McGrath <roland@hack.frob.com>
30774
36c8acb4
RM
30775 [BZ #13775]
30776 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30777 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30778 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30779 being in POSIX, because they are in 1003.1-2008.
30780
84ad622b
RM
30781 * rt/tst-aio.c: Include <fcntl.h>.
30782 * rt/tst-aio7.c: Likewise.
30783 * rt/tst-aio64.c: Likewise.
30784
4579f81c
RM
30785 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30786
abd923db
JM
307872012-02-27 Joseph Myers <joseph@codesourcery.com>
30788
30789 * manual/install.texi (--with-headers): Describe headers as
30790 interface headers, not private headers.
30791 (Specific advice for GNU/Linux systems): Describe use of headers
30792 from "make headers_install", not private headers from older
30793 kernels.
43be4ca2 30794 * INSTALL: Regenerated.
abd923db
JM
30795 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30796 Change to 2.6.19.
30797 * sysdeps/unix/sysv/linux/configure: Regenerated.
30798
6664049b
JM
30799 * manual/llio.texi (fclean): Remove documentation.
30800
bb8b6697
JM
30801 * manual/Makefile (libc-texi-generated): New variable. Include
30802 version.texi.
30803 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30804 $(libc-texi-generated), not duplicated list of files.
30805 (version.texi, stamp-version): New rules.
30806 (realclean): Remove $(libc-texi-generated), not individual files
30807 from that list. Do not remove dir-add.texinfo.
30808 * manual/libc.texinfo: Comment out uses of edition numbers and
30809 references to printed manual. Remove last-updated dates.
30810 (EDITION): Comment out.
30811 (ISBN): Likewise.
30812 (VERSION, UPDATED): Remove.
30813 (version.texi): Include.
30814
12e5c3b9
AS
308152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30816
30817 * sysdeps/posix/spawni.c: Include <signal.h>.
30818 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30819 * sysdeps/pthread/aio_fsync.c: Likewise.
30820
4efeffc1 308212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30822
ba63ba08
UD
30823 * conform/Makefile (tests): Run only when not cross-compiling and
30824 when fast-check is not defined.
30825
d94a4670
UD
30826 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30827 * conform/data/limits.h-data: Fixes for POSIX2008.
30828 * conform/run-conformtest.sh: Run all tests.
30829 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30830 headers.
30831 * include/bits/dlfcn.h: Likewise.
30832 * include/langinfo.h: Likewise.
30833 * include/monetary.h: Likewise.
30834 * include/sys/poll.h: Likewise.
30835
30836 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30837 for __USE_GNU.
30838 * posix/spawn.h: Define __need_sigset_t.
30839 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30840 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30841 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30842 to get sigevent_t only.
30843 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30844 only for __USE_GNU.
30845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30846 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30847 process_vm_writev only for __USE_GNU.
30848 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30849
30850 * conform/Makefile: For now ignore errors from run-conformtest.
30851 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30852 POSIX to avoid namespace pollution. Don't prepend headers.
30853 * conform/data/aio.h-data: Fixes for POSIX testing.
30854 * conform/data/fcntl.h-data: Likewise.
30855 * conform/data/glob.h-data: Likewise.
30856 * conform/data/grp.h-data: Likewise.
30857 * conform/data/pthread.h-data: Likewise.
30858 * conform/data/pwd.h-data: Likewise.
30859 * conform/data/signal.h-data: Likewise.
30860 * conform/data/spawn.h-data: Likewise.
30861 * conform/data/stdio.h-data: Likewise.
30862 * conform/data/stdlib.h-data: Likewise.
30863 * conform/data/stropts.h-data: Likewise.
30864 * conform/data/sys/mman.h-data: Likewise.
30865 * conform/data/sys/stat.h-data: Likewise.
30866 * conform/data/sys/types.h-data: Likewise.
30867 * conform/data/sys/wait.h-data: Likewise.
30868 * conform/data/time.h-data: Likewise.
30869 * conform/data/unistd.h-data: Likewise.
30870 * conform/data/utime.h-data: Likewise.
30871
30872 * io/sys/stat.h: fchmod was always in POSIX.
30873 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30874 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30875 * rt/aio.h: Define __need_timespec before including <time.h>.
30876 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30877 struct. Add forward declaration of pthread_attr_t and use it in
30878 sigevent.
30879 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30881 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30882 always remove CLK_TCK definition.
30883
c20105c3
AS
308842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30885
30886 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30887
7a270350
UD
308882012-02-25 Ulrich Drepper <drepper@gmail.com>
30889
31341567
UD
30890 * conform/run-conformtest.sh: New file.
30891 * conform/Makefile: Run run-conformtest for tests.
30892 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30893 support.
30894
30895 * conform/data/uchar.h-data: New file.
30896 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30897 * conform/data/arpa/inet.h-data: Likewise.
30898 * conform/data/assert.h-data: Likewise.
30899 * conform/data/complex.h-data: Likewise.
30900 * conform/data/cpio.h-data: Likewise.
30901 * conform/data/ctype.h-data: Likewise.
30902 * conform/data/dirent.h-data: Likewise.
30903 * conform/data/dlfcn.h-data: Likewise.
30904 * conform/data/errno.h-data: Likewise.
30905 * conform/data/fcntl.h-data: Likewise.
30906 * conform/data/float.h-data: Likewise.
30907 * conform/data/fmtmsg.h-data: Likewise.
30908 * conform/data/fnmatch.h-data: Likewise.
30909 * conform/data/ftw.h-data: Likewise.
30910 * conform/data/glob.h-data: Likewise.
30911 * conform/data/grp.h-data: Likewise.
30912 * conform/data/iconv.h-data: Likewise.
30913 * conform/data/inttypes.h-data: Likewise.
30914 * conform/data/langinfo.h-data: Likewise.
30915 * conform/data/libgen.h-data: Likewise.
30916 * conform/data/limits.h-data: Likewise.
30917 * conform/data/locale.h-data: Likewise.
30918 * conform/data/math.h-data: Likewise.
30919 * conform/data/monetary.h-data: Likewise.
30920 * conform/data/mqueue.h-data: Likewise.
30921 * conform/data/ndbm.h-data: Likewise.
30922 * conform/data/net/if.h-data: Likewise.
30923 * conform/data/netdb.h-data: Likewise.
30924 * conform/data/netinet/in.h-data: Likewise.
30925 * conform/data/nl_types.h-data: Likewise.
30926 * conform/data/poll.h-data: Likewise.
30927 * conform/data/pthread.h-data: Likewise.
30928 * conform/data/pwd.h-data: Likewise.
30929 * conform/data/regex.h-data: Likewise.
30930 * conform/data/sched.h-data: Likewise.
30931 * conform/data/search.h-data: Likewise.
30932 * conform/data/semaphore.h-data: Likewise.
30933 * conform/data/setjmp.h-data: Likewise.
30934 * conform/data/signal.h-data: Likewise.
30935 * conform/data/spawn.h-data: Likewise.
30936 * conform/data/stdarg.h-data: Likewise.
30937 * conform/data/stdio.h-data: Likewise.
30938 * conform/data/stdlib.h-data: Likewise.
30939 * conform/data/string.h-data: Likewise.
30940 * conform/data/strings.h-data: Likewise.
30941 * conform/data/stropts.h-data: Likewise.
30942 * conform/data/sys/ipc.h-data: Likewise.
30943 * conform/data/sys/mman.h-data: Likewise.
30944 * conform/data/sys/msg.h-data: Likewise.
30945 * conform/data/sys/resource.h-data: Likewise.
30946 * conform/data/sys/select.h-data: Likewise.
30947 * conform/data/sys/sem.h-data: Likewise.
30948 * conform/data/sys/shm.h-data: Likewise.
30949 * conform/data/sys/socket.h-data: Likewise.
30950 * conform/data/sys/stat.h-data: Likewise.
30951 * conform/data/sys/statvfs.h-data: Likewise.
30952 * conform/data/sys/time.h-data: Likewise.
30953 * conform/data/sys/timeb.h-data: Likewise.
30954 * conform/data/sys/times.h-data: Likewise.
30955 * conform/data/sys/types.h-data: Likewise.
30956 * conform/data/sys/uio.h-data: Likewise.
30957 * conform/data/sys/un.h-data: Likewise.
30958 * conform/data/sys/utsname.h-data: Likewise.
30959 * conform/data/sys/wait.h-data: Likewise.
30960 * conform/data/syslog.h-data: Likewise.
30961 * conform/data/tar.h-data: Likewise.
30962 * conform/data/termios.h-data: Likewise.
30963 * conform/data/utime.h-data: Likewise.
30964 * conform/data/utmpx.h-data: Likewise.
30965 * conform/data/varargs.h-data: Likewise.
30966 * conform/data/wchar.h-data: Likewise.
30967 * conform/data/wctype.h-data: Likewise.
30968 * conform/data/wordexp.h-data: Likewise.
30969
30970 * include/stropts.h: New file.
30971 * include/uchar.h: New file.
30972 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30973 * include/assert.h: Likewise.
30974 * include/ctype.h: Likewise.
30975 * include/dirent.h: Likewise.
30976 * include/dlfcn.h: Likewise.
30977 * include/fcntl.h: Likewise.
30978 * include/fnmatch.h: Likewise.
30979 * include/glob.h: Likewise.
30980 * include/grp.h: Likewise.
30981 * include/libio.h: Likewise.
30982 * include/locale.h: Likewise.
30983 * include/math.h: Likewise.
30984 * include/net/if.h: Likewise.
30985 * include/netdb.h: Likewise.
30986 * include/netinet/in.h: Likewise.
30987 * include/pthread.h: Likewise.
30988 * include/pwd.h: Likewise.
30989 * include/regex.h: Likewise.
30990 * include/sched.h: Likewise.
30991 * include/search.h: Likewise.
30992 * include/setjmp.h: Likewise.
30993 * include/signal.h: Likewise.
30994 * include/stdio.h: Likewise.
30995 * include/stdlib.h: Likewise.
30996 * include/string.h: Likewise.
30997 * include/sys/cdefs.h: Likewise.
30998 * include/sys/mman.h: Likewise.
30999 * include/sys/msg.h: Likewise.
31000 * include/sys/resource.h: Likewise.
31001 * include/sys/select.h: Likewise.
31002 * include/sys/socket.h: Likewise.
31003 * include/sys/stat.h: Likewise.
31004 * include/sys/statvfs.h: Likewise.
31005 * include/sys/time.h: Likewise.
31006 * include/sys/times.h: Likewise.
31007 * include/sys/uio.h: Likewise.
31008 * include/sys/utsname.h: Likewise.
31009 * include/sys/wait.h: Likewise.
31010 * include/termios.h: Likewise.
31011 * include/time.h: Likewise.
31012 * include/ulimit.h: Likewise.
31013 * include/unistd.h: Likewise.
31014 * include/utime.h: Likewise.
31015 * include/wchar.h: Likewise.
31016 * include/wctype.h: Likewise.
31017 * include/wordexp.h: Likewise.
31018
31019 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31020
7a270350
UD
31021 * time/time.h: TIME_UTC must be a macro.
31022 Make timespec_get available for ISO C11 only as well.
31023
7724defc
UD
310242012-02-24 Ulrich Drepper <drepper@gmail.com>
31025
31026 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31027 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31028
6b1d1d46
JM
310292012-02-24 Joseph Myers <joseph@codesourcery.com>
31030
31031 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31032
0f8bbd69
JM
310332012-02-24 Joseph Myers <joseph@codesourcery.com>
31034
31035 * manual/texinfo.tex: Update to version 2012-01-19.16.
31036
66ab80bc
JM
310372012-02-24 Joseph Myers <joseph@codesourcery.com>
31038
31039 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31040
74981cc5
RM
310412012-02-24 Roland McGrath <roland@hack.frob.com>
31042
ee968201
RM
31043 [BZ #13738]
31044 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31045 * manual/fdl-1.3.texi: New file.
31046 * manual/fdl-1.1.texi: File removed.
31047
74981cc5
RM
31048 [BZ #13738]
31049 * manual/libc.texinfo (FDL_VERSION): New @set.
31050 Use it for mention of FDL in cover text.
31051 (Documentation License): Use it in @include file name.
31052
7bb764bc
JM
310532012-02-22 Joseph Myers <joseph@codesourcery.com>
31054 Roland McGrath <roland@hack.frob.com>
31055
31056 [BZ #5461]
31057 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31058 not LONG_LONG_MAX and LONG_LONG_MIN.
31059 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31060 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31061 name.
31062 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31063
6cbeae47
JM
310642012-02-22 Joseph Myers <joseph@codesourcery.com>
31065
31066 [BZ #2547]
31067 [BZ #11365]
31068 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31069 manipulate bits before adding and subtracting TWO23[sx].
31070 * math/libm-test.inc (nearbyint_test): Add more tests.
31071
fe45ce09
JM
310722012-02-22 Joseph Myers <joseph@codesourcery.com>
31073
31074 [BZ #2548]
31075 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31076 bits before adding and subtracting TWO23[sx].
31077 * math/libm-test.inc (rint_test): Add more tests.
31078 (rint_test_tonearest): Likewise.
31079 (rint_test_towardzero): Likewise.
31080 (rint_test_downward): Likewise.
31081 (rint_test_upward: Likewise.
31082
ff3b3d82
JM
310832012-02-22 Joseph Myers <joseph@codesourcery.com>
31084
31085 [BZ #10110]
31086 * include/stdc-predef.h: New file. Extracted from features.h.
31087 * include/features.h: Include stdc-predef.h.
31088 * Makefile (headers): Add stdc-predef.h.
31089 * CONFORMANCE (Compiler limitations): Update.
31090
ef0aab35
JM
310912012-02-22 Joseph Myers <joseph@codesourcery.com>
31092
31093 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31094
58639409
DM
310952012-02-21 David S. Miller <davem@davemloft.net>
31096
31097 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31099
c0e70b25
DM
311002012-02-20 David S. Miller <davem@davemloft.net>
31101
31102 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31103 using a normal save/restore sequence, rather than allocating a
31104 dummy stack frame just to store a frame pointer and restore.
31105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31106
fb06851d
JM
311072012-02-21 Joseph Myers <joseph@codesourcery.com>
31108
31109 * manual/install.texi: Fix stray word in line-wrapped comment.
31110
7a8b71c3
DM
311112012-02-20 David S. Miller <davem@davemloft.net>
31112
d510c123
DM
31113 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31114 both binutils and gcc support GOTDATA.
31115
0722d7c2
DM
31116 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31117 "rd %pc" in the PIC register setup sequences.
31118
3d2b3019
DM
31119 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31120 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31121 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31122 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31123 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31125 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31128 (SYSCALL_ERROR_HANDLER): Likewise.
31129 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31130 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31132 (SYSCALL_ERROR_HANDLER): Likewise.
31133
c80098a9
DM
31134 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31135 (HAVE_GCC_GOTDATA): New.
31136 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31137 relocation support in both binutils and gcc.
31138 * sysdeps/sparc/elf/configure: Regenerate.
31139
3a2545a0
DM
31140 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31141 * sysdeps/sparc/sparc32/elf/configure: Delete.
31142 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31143 * sysdeps/sparc/sparc64/elf/configure: Delete.
31144 * sysdeps/sparc/elf/configure.in: New file.
31145 * sysdeps/sparc/elf/configure: Generate.
31146
7a8b71c3
DM
31147 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31148 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31150 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31151 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31152
f1e86fca
JM
311532012-02-21 Joseph Myers <joseph@codesourcery.com>
31154
31155 * manual/install.texi: Do not mention specific glibc version
31156 numbers.
31157 * manual/libc.texinfo (VERSION, UPDATED): Update.
31158 (@copying): Use @copyright{} and range of years.
31159
0e7dfaef
JM
311602012-02-21 Joseph Myers <joseph@codesourcery.com>
31161
31162 [BZ #13695]
31163 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31164 [crti.S not in sysdirs] (generated): Do not append.
31165 [crti.S not in sysdirs] (omit-deps): Likewise.
31166 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31167 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31168 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31169 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31170 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31171 Likewise.
31172 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31173 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31174 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31175 * csu/defs.awk: Remove file.
31176 * sysdeps/generic/initfini.c: Likewise.
31177 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31178 variable.
31179 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31180 Likewise.
31181
599af3ca
JM
311822012-02-20 Joseph Myers <joseph@codesourcery.com>
31183
31184 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31185 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31186 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31189 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31190 <bits/epoll.h>.
31191 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31192 (__EPOLL_PACKED): Define to empty if not defined by
31193 <bits/epoll.h>.
31194 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31196 bits/epoll.h.
31197
0e499750
JM
311982012-02-20 Joseph Myers <joseph@codesourcery.com>
31199
31200 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31201 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31203 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31204 <bits/timerfd.h>.
31205 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31207 bits/timerfd.h.
31208
5ad91f6e
JM
312092012-02-20 Joseph Myers <joseph@codesourcery.com>
31210
31211 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31212 in C locale.
31213 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31214 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31215 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31217
06b99b02
AJ
312182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31219
31220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31221 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31222
7638c0fd
AS
312232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31224
31225 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31226 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31227 defined.
31228 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31229 Likewise.
31230 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31231 entry for 2.16.
31232
92221550
AJ
312332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31234
31235 * math/w_acos.c: Use non-signaling floating-point comparisons.
31236 * math/w_acosf.c: Likewise.
31237 * math/w_acosh.c: Likewise.
31238 * math/w_acoshf.c: Likewise.
31239 * math/w_acoshl.c: Likewise.
31240 * math/w_acosl.c: Likewise.
31241 * math/w_asin.c: Likewise.
31242 * math/w_asinf.c: Likewise.
31243 * math/w_asinl.c: Likewise.
31244 * math/w_atanh.c: Likewise.
31245 * math/w_atanhf.c: Likewise.
31246 * math/w_atanhl.c: Likewise.
31247 * math/w_exp2.c: Likewise.
31248 * math/w_exp2f.c: Likewise.
31249 * math/w_exp2l.c: Likewise.
31250 * math/w_j0.c: Likewise.
31251 * math/w_j0f.c: Likewise.
31252 * math/w_j0l.c: Likewise.
31253 * math/w_j1.c: Likewise.
31254 * math/w_j1f.c: Likewise.
31255 * math/w_j1l.c: Likewise.
31256 * math/w_jn.c: Likewise.
31257 * math/w_jnf.c: Likewise.
31258 * math/w_log.c: Likewise.
31259 * math/w_log10.c: Likewise.
31260 * math/w_log10f.c: Likewise.
31261 * math/w_log10l.c: Likewise.
31262 * math/w_log2.c: Likewise.
31263 * math/w_log2f.c: Likewise.
31264 * math/w_log2l.c: Likewise.
31265 * math/w_logf.c: Likewise.
31266 * math/w_logl.c: Likewise.
31267 * math/w_sqrt.c: Likewise.
31268 * math/w_sqrtf.c: Likewise.
31269 * math/w_sqrtl.c: Likewise.
31270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31271 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31272 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31273 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31274 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31275
ebaf36eb
JM
312762012-02-19 Joseph Myers <joseph@codesourcery.com>
31277
31278 [BZ #9739]
31279 * manual/string.texi (strnlen): Use correct parameter name in
31280 equivalent expression.
31281
71c254a6
JM
312822012-02-19 Joseph Myers <joseph@codesourcery.com>
31283
31284 [BZ #11174]
31285 * manual/users.texi (seteuid): Consistently use neweuid for
31286 argument name.
31287
16d2c631
JM
312882012-02-19 Joseph Myers <joseph@codesourcery.com>
31289
31290 [BZ #13704]
31291 * manual/nss.texi (Services in the NSS configuration): Correct
31292 list of services in example configuration file.
31293
cd837b09
NB
312942012-02-19 Nick Bowler <nbowler@draconx.ca>
31295
31296 [BZ #11322]
31297 * manual/arith.texi: Remove statements about negative zero
31298 behaving identically to zero.
31299
02c4bbad
JM
313002012-02-18 Joseph Myers <joseph@codesourcery.com>
31301
31302 [BZ #5993]
31303 * manual/install.texi: Do not document upgrading from libc5.
31304
366842e7
JM
313052012-02-18 Joseph Myers <joseph@codesourcery.com>
31306
31307 [BZ #4596]
31308 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31309
dd54084d
DM
313102012-02-18 David S. Miller <davem@davemloft.net>
31311
31312 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31313 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31314 %o7 across the call.
31315 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31316 instead.
31317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31318 SETUP_PIC_REG_LEAF.
31319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31320 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31321 * sysdeps/sparc/crtn.S: Likewise.
31322
2bcc53a3
UD
313232012-02-17 Ulrich Drepper <drepper@gmail.com>
31324
31325 * aout/Makefile: Remove.
31326
09c093b5
RK
313272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31328
31329 [BZ #13058]
31330 * manual/examples/argp-ex1.c (main): Format definition in GNU
31331 style.
31332 * manual/examples/argp-ex2.c (main): Likewise.
31333 * manual/examples/argp-ex3.c (main): Likewise.
31334 * manual/examples/argp-ex4.c (main): Likewise.
31335 * manual/examples/longopt.c (main): Use new-style prototype
31336 definition.
31337 * manual/examples/strncat.c (main): Specify return type and use
31338 (void) for arguments.
31339 * manual/examples/subopt.c (main): Use char **argv argument.
31340
2ee633a2
JM
313412012-02-17 Joseph Myers <joseph@codesourcery.com>
31342
31343 [BZ #5077]
31344 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31345 rounding modes.
31346
0520adde
FB
313472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31348
31349 [BZ #6907]
31350 * manual/string.texi (strchr): Change when strchrnul is
31351 recommended.
31352
3f4081cd
DGM
313532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31354
31355 [BZ #174]
31356 * manual/locale.texi (setlocale): Document LOCPATH.
31357
d1b10e78
JM
313582012-02-17 Joseph Myers <joseph@codesourcery.com>
31359
31360 [BZ #10210]
31361 * manual/process.texi (execle): Move @dots{} before last argument.
31362
79c6869c
PB
313632012-02-17 Paul Bolle <pebolle@tiscali.nl>
31364
31365 [BZ #12047]
31366 * manual/charset.texi (Generic Charset Conversion): Fix typo
31367 (LC_TYPE -> LC_CTYPE).
31368
cc6e48bc
NB
313692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31370
31371 [BZ #5805]
31372 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31373 (scalbnf): Likewise.
31374 (scalbnl): Likewise.
31375 (scalbln): Likewise.
31376 (scalblnf): Likewise.
31377 (scalblnl): Likewise.
31378 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31379 (vwarnx): Likewise.
31380 (verr): Likewise.
31381 (verrx): Likewise.
31382 * manual/filesys.texi (telldir): Use braces around return type.
31383 * manual/llio.texi (mmap): Add space after comma.
31384 (mmap64): Likewise.
31385 * manual/math.texi (jn): Use @var{} on parameter names.
31386 (jnf): Likewise.
31387 (jnl): Likewise.
31388 (yn): Likewise.
31389 (ynf): Likewise.
31390 (ynl): Likewise.
31391 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31392 line.
31393 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31394 "...".
31395 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31396 (sched_get_priority_max): Likewise.
31397 * manual/signal.texi (sigvec): Add space after comma.
31398 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31399 names.
31400 (if_indextoname): Likewise.
31401 (if_freenameindex): Likewise.
31402 (sendto): Use ',' instead of '.' in prototype.
31403 * manual/startup.texi (syscall): Use @dots{} instead of literal
31404 "...".
31405 * manual/stdio.texi (__fpending): Separate initial words of
31406 paragraph from @deftypefun line.
31407 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31408 "...".
31409 (vsyslog): Use @var{} on parameter names.
31410 * manual/terminal.texi (stty): Use @var{} on parameter names.
31411 * manual/users.texi (getutmp): Use @var{} on parameter names.
31412 (getutmpx): Likewise.
31413
5b23062f
JM
314142012-02-17 Joseph Myers <joseph@codesourcery.com>
31415
31416 [BZ #6884]
31417 * manual/stdio.texi (fopen): Fix typos in description of
31418 ",ccs=STRING".
31419
8dee4833
AJ
314202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31421
31422 [BZ #4026]
31423 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31424 get clock_id definition.
31425
9078ce93
TS
314262012-02-17 Thomas Schwinge <thomas@schwinge.name>
31427
31428 [BZ #4822]
31429 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31430 (madvise): Cast every argument to void on its own.
31431
3835c55f
JM
314322012-02-17 Joseph Myers <joseph@codesourcery.com>
31433
31434 [BZ #9902]
31435 * manual/startup.texi (Exit Status): Fix typo.
31436
35c47e37
JM
314372012-02-17 Joseph Myers <joseph@codesourcery.com>
31438
31439 [BZ #10140]
31440 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31441 * manual/examples/argp-ex2.c: Likewise.
31442 * manual/examples/argp-ex3.c: Likewise.
31443
e3b69ca7
RH
314442012-02-16 Richard Henderson <rth@redhat.com>
31445
31446 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31447 * sysdeps/s390/s390-32/initfini.c: Remove.
31448 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31449 * sysdeps/s390/s390-64/initfini.c: Remove.
31450
df83af67
KK
314512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31452
31453 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31454 compiler output for sysdeps/generic/initfini.c.
31455 * sysdeps/sh/elf/initfini.c: Remove file.
31456
f63f3380
DM
314572012-02-16 David S. Miller <davem@davemloft.net>
31458
fb59b3a4
DM
31459 [BZ #11494]
31460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31461
f63f3380
DM
31462 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31463 * sysdeps/sparc/crti.S: New file.
31464 * sysdeps/sparc/crtn.S: New file.
31465 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31466 * sysdeps/sparc/sparc64/Makefile: Likewise.
31467
df6a4a4a
MF
314682012-02-15 Mike Frysinger <vapier@gentoo.org>
31469
6dd8f3dc 31470 [BZ #3335]
df6a4a4a
MF
31471 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31472
1cac7236
RM
314732012-02-15 Roland McGrath <roland@hack.frob.com>
31474
d2c736f8
RM
31475 [BZ #4822]
31476 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31477
1cac7236
RM
31478 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31479 (write, read, close): Likewise.
31480 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31481
8e475601
JM
314822012-02-15 Joseph Myers <joseph@codesourcery.com>
31483
31484 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31485 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31486 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31487 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31488 <bits/signalfd.h>.
31489 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31491 bits/signalfd.h.
31492
ed656b40
MP
314932012-02-14 Marek Polacek <polacek@redhat.com>
31494
31495 * sysdeps/x86_64/crti.S: New file.
31496 * sysdeps/x86_64/crtn.S: New file.
31497 * sysdeps/x86_64/elf/initfini.c: Remove file.
31498
2a979d3a
JM
314992012-02-13 Joseph Myers <joseph@codesourcery.com>
31500
31501 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31502 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31503 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31504 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31505 <bits/inotify.h>.
31506 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31508 bits/inotify.h.
31509
2a418ac3
JM
315102012-02-13 Joseph Myers <joseph@codesourcery.com>
31511
31512 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31513 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31514 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31515 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31516 <bits/eventfd.h>.
31517 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31519 bits/eventfd.h.
31520
fb779be7
TS
315212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31522
e19e83c5
RM
31523 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31524 __feraiseexcept instead of feraiseexcept.
7c35ffed 31525
fb779be7
TS
31526 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31527 nanosleep invocations.
31528 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31529 strings, and add error checking for a nanosleep invocations.
31530
59ba27a6
PE
315312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31532
31533 Replace FSF snail mail address with URLs, as per GNU coding standards.
31534 Most of the snail mail addresses were wrong anyway, and omitting
31535 them makes the source code easier to maintain. Almost all of the
31536 changes are to license notices and to locale LC_IDENTIFICATION
31537 addresses, except for this one:
31538 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31539 not its snail mail address.
31540
57b957eb
RH
315412012-02-09 Richard Henderson <rth@twiddle.net>
31542
af850b1c
RH
31543 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31544 of kernel-features.h.
31545
57b957eb
RH
31546 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31547
6b73181a
MP
315482012-02-08 Marek Polacek <polacek@redhat.com>
31549
31550 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31551 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31552 * sysdeps/gnu/_G_config.h: Likewise.
31553 * sysdeps/generic/_G_config.h: Likewise.
31554
26ecc33a
AS
315552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31556
6c6dbc63
AS
31557 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31558 tests.
31559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31560
e216c012
AS
31561 * sysdeps/powerpc/powerpc32/crti.S: New file.
31562 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31563 * sysdeps/powerpc/powerpc64/crti.S: New file.
31564 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31565
26ecc33a
AS
31566 * Makeconfig (have-initfini): Don't set.
31567 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31568 * configure.in (nopic_initfini): Don't substitute.
31569 * config.h.in (HAVE_INITFINI): Don't #undef.
31570 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31571 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31572
3add8e13
JM
315732012-02-08 Joseph Myers <joseph@codesourcery.com>
31574
31575 Support crti.S and crtn.S provided directly by architectures.
31576 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31577 [crti.S in sysdirs] (omit-deps): Likewise.
31578 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31579 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31580 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31581 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31582 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31583 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31584 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31585 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31586 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31587 compiler output for sysdeps/generic/initfini.c.
31588 * sysdeps/i386/elf/Makefile: Remove file.
31589 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31590
a22f12b4
MP
315912012-02-07 Marek Polacek <polacek@redhat.com>
31592
31593 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31594 * sysdeps/gnu/_G_config.h: Likewise.
31595 * sysdeps/mach/hurd/_G_config.h: Likewise.
31596
148cf100
MP
315972012-02-07 Marek Polacek <polacek@redhat.com>
31598
31599 * math/Makefile (tests): Add tst-CMPLX2.
31600 * math/tst-CMPLX2.c: New file.
31601
cfdc0dd7
AS
316022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31603
84ba42c4
AS
31604 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31605
cfdc0dd7
AS
31606 * math/libm-test.inc (jn_test): Add missing L suffix.
31607
622c86f4
MP
316082012-02-06 Marek Polacek <polacek@redhat.com>
31609
31610 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31611 * sysdeps/i386/fpu/e_powf.S: Likewise.
31612 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31613 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31615 * sysdeps/i386/fpu/e_pow.S: Likewise.
31616 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31617 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31618 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31619 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31620 * sysdeps/i386/fpu/e_log2.S: Likewise.
31621 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31623 * sysdeps/i386/fpu/e_powl.S: Likewise.
31624 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31626 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31627 * sysdeps/i386/fpu/e_logl.S: Likewise.
31628 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31629 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31630 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31631 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31632 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31633 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31634 * sysdeps/i386/fpu/e_log.S: Likewise.
31635 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31637 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31638 * sysdeps/i386/fpu/e_logf.S: Likewise.
31639 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31640 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31641 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31642 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31643 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31644 * sysdeps/i386/fpu/e_log10.S: Likewise.
31645 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31646 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31647 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31648 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31649 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31650 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31651 * sysdeps/i386/asm-syntax.h: Likewise.
31652 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31655 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31656 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31657 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31658 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31659 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31660 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31661 * sysdeps/powerpc/sysdep.h: Likewise.
31662 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31663 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31664
d4a54ac6
JM
316652012-02-06 Joseph Myers <joseph@codesourcery.com>
31666
31667 [BZ #411]
31668 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31669
314054ea
JM
316702012-02-06 Joseph Myers <joseph@codesourcery.com>
31671
31672 * sysdeps/i386/sysdep.h: Include <features.h>.
31673 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31674 version.
31675
d8e0ca50
JM
316762012-02-05 Joseph Myers <joseph@codesourcery.com>
31677
31678 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31679 Define.
31680 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31681 LOAD_PIC_REG_STR.
31682
b1da7dd9
JM
316832012-02-03 Joseph Myers <joseph@codesourcery.com>
31684
31685 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31686 (SETUP_PIC_REG): Use GET_PC_THUNK.
31687 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31688 macro.
31689
9a1d9254
JM
316902012-02-03 Joseph Myers <joseph@codesourcery.com>
31691
31692 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31693 for non-PIC compilation.
31694 (SETUP_PIC_REG): Add .p2align directive.
31695 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31696 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31697 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31698 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31699 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31700 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31702 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31703 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31704 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31705 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31706 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31707 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31708 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31709 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31710 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31711 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31712 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31713 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31714 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31715 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31716 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31717 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31718 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31719 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31723 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31724 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31725 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31726 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31727 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31728 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31729 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31731 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31732 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31736
65dc3b75
JM
317372012-02-03 Joseph Myers <joseph@codesourcery.com>
31738
31739 * math/tst-CMPLX.c: Include <stdio.h>.
31740
d55bf177
JM
317412012-01-31 Joseph Myers <joseph@codesourcery.com>
31742
31743 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31744 float.
31745 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31746 * sysdeps/sparc/bits/mathdef.h: Likewise.
31747
69db4f8f
MP
317482012-01-31 Marek Polacek <polacek@redhat.com>
31749
31750 * libio/libio.h: Don't define _PARAMS.
31751 * locale/programs/config.h: Don't define PARAMS.
31752 * stdlib/strtol_l.c: Likewise.
31753 (__strtol_l): Remove PARAMS from the prototype.
31754
41b81892
UD
317552012-01-31 Ulrich Drepper <drepper@gmail.com>
31756
3b49edc0
UD
31757 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31758 names. Just use the correct names. Remove unnecessary wrapper
31759 functions.
31760 * malloc/arena.c: Likewise.
31761 * malloc/hooks.c: Likewise.
31762
41b81892
UD
31763 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31764 ARENA_TEST says not to. Simplify test for creation of a new arena.
31765 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31766
27a25b6e
UD
317672012-01-30 Ulrich Drepper <drepper@gmail.com>
31768
31769 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31770 into tail calls.
31771 (update_get_addr): New function.
31772 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31773 GET_ADDR_MODULE parameter.
31774
c8a89e7d
JM
317752012-01-30 Joseph Myers <joseph@codesourcery.com>
31776
31777 * crypt/cert.c: Remove __STDC__ conditionals.
31778 * crypt/crypt-entry.c: Likewise.
31779 * crypt/crypt_util.c: Likewise.
31780 * libio/filedoalloc.c: Likewise.
31781 * libio/fileops.c: Likewise.
31782 * libio/genops.c: Likewise.
31783 * libio/iofclose.c: Likewise.
31784 * libio/iofdopen.c: Likewise.
31785 * libio/iofopen.c: Likewise.
31786 * libio/iofopen64.c: Likewise.
31787 * libio/iogetdelim.c: Likewise.
31788 * libio/iopopen.c: Likewise.
31789 * libio/obprintf.c: Likewise.
31790 * libio/oldfileops.c: Likewise.
31791 * libio/oldiofclose.c: Likewise.
31792 * libio/oldiofdopen.c: Likewise.
31793 * libio/oldiofopen.c: Likewise.
31794 * libio/oldiopopen.c: Likewise.
31795 * libio/wfiledoalloc.c: Likewise.
31796 * libio/wgenops.c: Likewise.
31797 * locale/programs/xmalloc.c: Likewise.
31798 * misc/syslog.c: Likewise.
31799 * stdio-common/xbug.c: Likewise.
31800 * string/memchr.c: Likewise.
31801 * string/memcmp.c: Likewise.
31802 * string/memrchr.c: Likewise.
31803 * string/rawmemchr.c: Likewise.
31804 * sysdeps/posix/getcwd.c: Likewise.
31805 * time/strftime_l.c: Likewise.
31806
3b100462
JM
318072012-01-30 Joseph Myers <joseph@codesourcery.com>
31808
31809 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31810 * config.make.in (config-cflags-sse2avx): Define.
31811 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31812 Fix typo.
31813
607998af
CM
318142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31815
31816 * scripts/config.guess: Update from upstream config git repository.
31817 * scripts/config.sub: Likewise.
31818
3601428f
CM
318192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31820
3ac8b282
CM
31821 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31822 (EM_NUM): Update.
31823 (R_TILEPRO_*, R_TILEGX_*): New macros.
31824
e034841e
CM
31825 * scripts/firstversions.awk: Fix bug in version range handling.
31826
540d7568
CM
31827 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31828
3601428f
CM
31829 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31830
463de862
CM
31831 * include/sys/epoll.h: New file.
31832 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31833 libc_hidden_def.
31834
73139a76
UD
318352012-01-28 Ulrich Drepper <drepper@gmail.com>
31836
96bc5b45
UD
31837 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31838 Avoid unnecessary __WORDSIZE == 64 test.
31839 (fmaxf): Use VEX format if possible.
31840 (fmax): Likewise.
31841 (fminf): Likewise.
31842 (fmin): Likewise.
31843
56f6f6a2
UD
31844 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31845 * math/math_private.h: Remove libc_fegetround* and
31846 libc_fesetround*.
31847 * sysdeps/i386/configure.in: Check for -msse2avx.
31848 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31849 also if SSE2AVX is defined.
31850 Remove libc_fegetround* and libc_fesetround*.
31851 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31852 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31854 of HAS_YMM_USABLE.
31855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31860
73139a76
UD
31861 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31862
d73f93a4
AZ
318632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31864
31865 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31866 size is not set.
31867 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31868
6ee65ed6
UD
318692012-01-27 Ulrich Drepper <drepper@gmail.com>
31870
31871 [BZ #13618]
31872 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31873 relocation.
31874 * Makeconfig (libm): Define.
31875 * elf/Makefile: Add rules to build and run tst-relsort1.
31876 * elf/tst-relsort1.c: New file.
31877 * elf/tst-relsort1mod1.c: New file.
31878 * elf/tst-relsort1mod2.c: New file.
31879
8db21882
JM
318802012-01-27 Joseph Myers <joseph@codesourcery.com>
31881
31882 * math/s_ldexp.c: Remove __STDC__ conditionals.
31883 * math/s_ldexpf.c: Likewise.
31884 * math/s_ldexpl.c: Likewise.
31885 * math/s_nextafter.c: Likewise.
31886 * math/s_nexttowardf.c: Likewise.
31887 * math/s_significand.c: Likewise.
31888 * math/s_significandf.c: Likewise.
31889 * math/s_significandl.c: Likewise.
31890 * math/w_jnl.c: Likewise.
31891 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31892 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31893 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31894 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31895 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31897 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31898 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31899 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31900 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31901 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31902 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31903 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31904 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31905 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31906 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31907 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31908 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31910 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31911 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31912 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31913 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31914 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31915 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31916 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31917 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31918 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31919 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31920 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31921 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31922 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31925 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31926 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31927 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31928 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31929 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31930 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31931 * sysdeps/ieee754/k_standard.c: Likewise.
31932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31933 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31934 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31935 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31936 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31937 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31938 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31939 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31940 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31941 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31942 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31943 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31944 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31945 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31946 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31948 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31951 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31952 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31953 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31954 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31955 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31956 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31957 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31961 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31962 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31963 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31964 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31965 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31967 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31968 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31969 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31971 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31972 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31973 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31974 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31975 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31976 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31977 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31981 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31982 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31985 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31989 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31991 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31993 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31994 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31996 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31997 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31998 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31999 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32000 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32001 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32006 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32007 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32008 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32009 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32010 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32011 * sysdeps/ieee754/s_matherr.c: Likewise.
32012 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32013 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32015 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32016
965a54a4
JM
320172012-01-26 Joseph Myers <joseph@codesourcery.com>
32018
32019 * crypt/md5.h: Remove __STDC__ conditionals.
32020 * libio/libioP.h: Likewise.
32021 * locale/programs/config.h: Likewise.
32022 * sysdeps/generic/sysdep.h: Likewise.
32023 * sysdeps/i386/asm-syntax.h: Likewise.
32024 * sysdeps/s390/asm-syntax.h: Likewise.
32025 * sysdeps/unix/sysdep.h: Likewise.
32026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32028
7071ad79
JM
320292012-01-26 Joseph Myers <joseph@codesourcery.com>
32030
32031 * libio/libio.h: Remove __STDC__ conditionals.
32032 * malloc/obstack.h: Likewise.
32033 * math/complex.h: Likewise.
32034 * math/math.h: Likewise.
32035 * sysdeps/generic/_G_config.h: Likewise.
32036 * sysdeps/gnu/_G_config.h: Likewise.
32037 * sysdeps/mach/hurd/_G_config.h: Likewise.
32038 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32039 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32040 * sysdeps/sparc/bits/mathdef.h: Likewise.
32041
afc5ed09
UD
320422012-01-26 Ulrich Drepper <drepper@gmail.com>
32043
32044 [BZ #13583]
32045 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32046 Clean up HAS_* macros.
afc5ed09 32047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32048 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32049 possible.
32050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32051 HAS_AVX.
32052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32057
bdb6de1d
JM
320582012-01-25 Joseph Myers <joseph@codesourcery.com>
32059
32060 * elf/tst-unique3.cc (gets): Remove declaration.
32061 * elf/tst-unique3lib.cc (gets): Likewise.
32062 * elf/tst-unique3lib2.cc (gets): Likewise.
32063 * elf/tst-unique4.cc (gets): Likewise.
32064
b15549e6
UD
320652012-01-24 Ulrich Drepper <drepper@gmail.com>
32066
32067 * include/stdio.h: Add C++ protection. Add gets declarations and
32068 definitions.
32069 * debug/tst-chk1.c: Don't declare gets here.
32070 * stdio-common/tst-gets.c: Likewise.
32071
a037381f
JM
320722012-01-24 Joseph Myers <joseph@codesourcery.com>
32073
32074 * posix/glob: Remove directory.
32075
f1d4aa75
JM
320762012-01-24 Joseph Myers <joseph@codesourcery.com>
32077
32078 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32079
81c0c964
PT
320802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32081
32082 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32083 of the non-standard EPFNOSUPPORT.
32084
0ea698ae
ST
320852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32086
32087 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32088 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32089 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32090
d220b117
UD
320912012-01-21 Ulrich Drepper <drepper@gmail.com>
32092
32093 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32094
3e1aa84e
UD
320952012-01-20 Ulrich Drepper <drepper@gmail.com>
32096
32097 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32098 transient errors.
32099 * nscd/grpcache.c (cache_addgr): Likewise.
32100 * nscd/hstcache.c (cache_addhst): Likewise.
32101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32102 * nscd/pwdcache.c (cache_addpw): Likewise.
32103 * nscd/servicescache.c (cache_addserv): Likewise.
32104
400aa020
UD
321052012-01-16 Ulrich Drepper <drepper@gmail.com>
32106
d77e7869
UD
32107 * malloc/malloc.c: Various cleanups.
32108 * malloc/hooks.c: Likewise.
32109
400aa020
UD
32110 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32111 * stdlib/bug-fmtmsg1.c: New file.
32112
32113 * stdlib/fmtmsg.c (init): Add missing unlock.
32114 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32115
e0a309cf
MP
321162012-01-12 Marek Polacek <polacek@redhat.com>
32117
32118 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32119 and _GNU_SOURCE.
32120
929d11c7
WS
321212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32122
32123 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32124 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32125 macro to ensure uniqueness of label name.
32126 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32127 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32128
41d0e869
UD
321292012-01-11 Ulrich Drepper <drepper@gmail.com>
32130
0cc5ed3b
UD
32131 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32132
41d0e869
UD
32133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32134 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32135 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32137
a47a831a
UD
321382012-01-10 Ulrich Drepper <drepper@gmail.com>
32139
daa891c0
UD
32140 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32141
32142 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32143 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32144 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32145
e58ef0f2
UD
32146 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32147
a47a831a 32148 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32149 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32150 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32152
32153 * math/bits/math-finite.h: Add ldexp support.
32154
a0bfc9c7
MP
321552012-01-10 Marek Polacek <polacek@redhat.com>
32156
32157 * locale/programs/localedef.h (show_archive_content): Add noreturn
32158 attribute.
32159
d6e97a1d
UD
321602012-01-09 Ulrich Drepper <drepper@gmail.com>
32161
32162 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32163
d5835c26
UD
321642012-01-08 Ulrich Drepper <drepper@gmail.com>
32165
e5f484c6
UD
32166 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32167
d5835c26
UD
32168 * io/Makefile (headers): Add bits/poll2.h.
32169
d1f741e9
WS
321702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32171
32172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32173 typo #include statement.
32174
ec09c1c4
UD
321752012-01-08 Ulrich Drepper <drepper@gmail.com>
32176
32177 * include/sys/cdefs.h: Define __attribute_alloc_size.
32178 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32179 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32180 * elf/pldd.c: Likewise.
32181 * iconv/iconv_charmap.c: Likewise.
32182 * iconv/iconvconfig.c: Likewise.
32183 * iconv/strtab.c: Likewise.
32184 * locale/programs/locale.c: Likewise.
32185 * locale/programs/localedef.h: Likewise.
32186 * locale/programs/simple-hash.c: Likewise.
32187 * nscd/nscd.h: Likewise.
32188 * nss/makedb.c: Likewise.
32189 * sysdeps/generic/ldconfig.h: Likewise.
32190 * locale/programs/localedef.c: Remove xmalloc prototype.
32191 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32192
20b38e03
PP
321932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32194
32195 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32196 appropriate.
32197
a0da5fe1
UD
321982012-01-08 Ulrich Drepper <drepper@gmail.com>
32199
1d5a644a 32200 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32201 * math/tst-CMPLX.c: New file.
1d5a644a 32202
8784a6db
UD
32203 * math/complex.h (CMPLXL): Fix typo.
32204
d9a216c0
UD
32205 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32206 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32207 GLIBC_2.16.
32208 * debug/tst-chk1.c: Add poll and ppoll tests.
32209 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32210 * include/sys/poll.h: Add hidden proto for ppoll.
32211 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32212 * sysdeps/mach/hurd/ppoll.c: Likewise.
32213 * io/ppoll.c: Likewise.
32214 * debug/poll_chk.c: New file.
32215 * debug/ppoll_chk.c: New file.
32216 * include/bits/poll2.h: New file.
32217 * io/bits/poll2.h: New file.
32218
ac097f5c
UD
32219 [BZ #1350]
32220 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32221
2119dcfa
UD
32222 * configure.in: static is always set to yes. Remove.
32223 * config.make.in: Don't set build-static.
32224 * Makeconfig: Remove use of build-static.
32225 * dlfcn/Makefile: Likewise.
32226 * elf/Makefile: Likewise.
32227 * math/Makefile: Likewise.
32228 * misc/Makefile: Likewise.
32229 * nptl/Makefile: Likewise.
32230 * sysdeps/mach/hurd/Makefile: Likewise.
32231
121766a9
UD
32232 * configure.in: PWD_P is not used anymore.
32233 * config.make.in: Remove PWD_P entry.
32234
51a1d39c 32235 * configure.in: Remove last remnants of RANLIB.
8720d066 32236 No need to check for signed size_t anymore.
215f4bdc
UD
32237 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32238 and IA-64.
3857022a 32239 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32240 * aclocal.m4: Likewise.
32241
d3ed7225
UD
32242 * wcsmbs/mbrtoc16.c: Implement using towc function.
32243 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32244 * wcsmbs/wcsmbsload.c: Likewise.
32245 * iconv/gconv_simple.c: Likewise.
32246 * iconv/gconv_int.h: Likewise.
32247 * iconv/gconv_builtin.h: Likewise.
32248 * iconv/iconv_prog.c: Remove CHAR16 handling.
32249
32250 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32251
32252 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32253
a0da5fe1
UD
32254 * configure.in: Remove --with-elf and --enable-bounded options.
32255 Dont set base_machine for ia64. More non-ELF conditions removed.
32256 Remove testing and setting of leading underscore information.
32257 * config.make.in (build-bounded): Set to no.
32258 * config.h.in: Remove NO_UNDERSCORES entry.
32259 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32260 them.
32261 * csu/start.c: Remove !NO_UNDERSCORE code.
32262 * locale/localeinfo.h: Likewise.
32263 * sysdeps/generic/machine-gmon.h: Likewise.
32264 * sysdeps/generic/sysdep.h: Likewise.
32265 * sysdeps/i386/sysdep.h: Likewise.
32266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32267 * sysdeps/mach/sysdep.h: Likewise.
32268 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32270 * sysdeps/sh/sysdep.h: Likewise.
32271 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32272 * sysdeps/unix/i386/sysdep.S: Likewise.
32273 * sysdeps/unix/sparc/start.c: Likewise.
32274 * sysdeps/unix/sparc/sysdep.S: Likewise.
32275 * sysdeps/unix/sparc/sysdep.h: Likewise.
32276 * sysdeps/unix/start.c: Likewise.
32277 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32278 * sysdeps/x86_64/sysdep.h: Likewise.
32279
df78418a
UD
322802012-01-07 Ulrich Drepper <drepper@gmail.com>
32281
a784e502
UD
32282 [BZ #13553]
32283 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32284 for non-gcc.
32285 * argp/argp-fmtstream.h: Use const instead __const.
32286 * argp/argp.h: Likewise.
32287 * assert/assert.h: Likewise.
32288 * bits/fenv.h: Likewise.
32289 * bits/sched.h: Likewise.
32290 * bits/sigset.h: Likewise.
32291 * bits/sigthread.h: Likewise.
32292 * catgets/nl_types.h: Likewise.
32293 * conform/data/pthread.h-data: Likewise.
32294 * crypt/crypt-private.h: Likewise.
32295 * crypt/crypt.h: Likewise.
32296 * crypt/crypt_util.c: Likewise.
32297 * ctype/ctype.h: Likewise.
32298 * debug/execinfo.h: Likewise.
32299 * debug/mbsnrtowcs_chk.c: Likewise.
32300 * debug/mbsrtowcs_chk.c: Likewise.
32301 * debug/wcsnrtombs_chk.c: Likewise.
32302 * debug/wcsrtombs_chk.c: Likewise.
32303 * debug/wcstombs_chk.c: Likewise.
32304 * dirent/dirent.h: Likewise.
32305 * dlfcn/dlfcn.h: Likewise.
32306 * elf/neededtest4.c: Likewise.
32307 * grp/grp.h: Likewise.
32308 * gshadow/gshadow.h: Likewise.
32309 * iconv/gconv.h: Likewise.
32310 * iconv/gconv_int.h: Likewise.
32311 * iconv/gconv_simple.c: Likewise.
32312 * iconv/iconv.h: Likewise.
32313 * iconv/loop.c: Likewise.
32314 * iconv/skeleton.c: Likewise.
32315 * include/aio.h: Likewise.
32316 * include/aliases.h: Likewise.
32317 * include/argz.h: Likewise.
32318 * include/arpa/inet.h: Likewise.
32319 * include/assert.h: Likewise.
32320 * include/dirent.h: Likewise.
32321 * include/dlfcn.h: Likewise.
32322 * include/execinfo.h: Likewise.
32323 * include/fcntl.h: Likewise.
32324 * include/fenv.h: Likewise.
32325 * include/glob.h: Likewise.
32326 * include/grp.h: Likewise.
32327 * include/libintl.h: Likewise.
32328 * include/mntent.h: Likewise.
32329 * include/netdb.h: Likewise.
32330 * include/pwd.h: Likewise.
32331 * include/rpc/netdb.h: Likewise.
32332 * include/sched.h: Likewise.
32333 * include/search.h: Likewise.
32334 * include/shadow.h: Likewise.
32335 * include/signal.h: Likewise.
32336 * include/stdio.h: Likewise.
32337 * include/stdlib.h: Likewise.
32338 * include/string.h: Likewise.
32339 * include/sys/socket.h: Likewise.
32340 * include/sys/stat.h: Likewise.
32341 * include/sys/statfs.h: Likewise.
32342 * include/sys/statvfs.h: Likewise.
32343 * include/sys/syslog.h: Likewise.
32344 * include/sys/time.h: Likewise.
32345 * include/sys/uio.h: Likewise.
32346 * include/time.h: Likewise.
32347 * include/unistd.h: Likewise.
32348 * include/utmp.h: Likewise.
32349 * include/wchar.h: Likewise.
32350 * include/wctype.h: Likewise.
32351 * inet/aliases.h: Likewise.
32352 * inet/arpa/inet.h: Likewise.
32353 * inet/netinet/ether.h: Likewise.
32354 * inet/netinet/in.h: Likewise.
32355 * intl/libintl.h: Likewise.
32356 * io/bits/fcntl2.h: Likewise.
32357 * io/fcntl.h: Likewise.
32358 * io/ftw.h: Likewise.
32359 * io/sys/poll.h: Likewise.
32360 * io/sys/stat.h: Likewise.
32361 * io/sys/statfs.h: Likewise.
32362 * io/sys/statvfs.h: Likewise.
32363 * io/utime.h: Likewise.
32364 * libio/bits/stdio.h: Likewise.
32365 * libio/bits/stdio2.h: Likewise.
32366 * libio/libio.h: Likewise.
32367 * libio/libioP.h: Likewise.
32368 * libio/stdio.h: Likewise.
32369 * locale/lc-ctype.c: Likewise.
32370 * locale/locale.h: Likewise.
32371 * login/utmp.h: Likewise.
32372 * malloc/arena.c: Likewise.
32373 * malloc/malloc.c: Likewise.
32374 * malloc/malloc.h: Likewise.
32375 * malloc/mcheck.c: Likewise.
32376 * malloc/mtrace.c: Likewise.
32377 * math/bits/mathcalls.h: Likewise.
32378 * math/fenv.h: Likewise.
32379 * math/math_private.h: Likewise.
32380 * misc/bits/error.h: Likewise.
32381 * misc/bits/syslog.h: Likewise.
32382 * misc/err.h: Likewise.
32383 * misc/error.h: Likewise.
32384 * misc/fstab.h: Likewise.
32385 * misc/mntent.h: Likewise.
32386 * misc/regexp.h: Likewise.
32387 * misc/search.h: Likewise.
32388 * misc/sgtty.h: Likewise.
32389 * misc/sys/mman.h: Likewise.
32390 * misc/sys/syslog.h: Likewise.
32391 * misc/sys/uio.h: Likewise.
32392 * misc/sys/xattr.h: Likewise.
32393 * misc/ttyent.h: Likewise.
32394 * nis/rpcsvc/ypclnt.h: Likewise.
32395 * nss/nss.h: Likewise.
32396 * posix/bits/unistd.h: Likewise.
32397 * posix/fnmatch.h: Likewise.
32398 * posix/glob.h: Likewise.
32399 * posix/sched.h: Likewise.
32400 * posix/spawn.h: Likewise.
32401 * posix/sys/wait.h: Likewise.
32402 * posix/unistd.h: Likewise.
32403 * posix/wordexp.h: Likewise.
32404 * pwd/pwd.h: Likewise.
32405 * resolv/netdb.h: Likewise.
32406 * resource/sys/resource.h: Likewise.
32407 * rt/aio.h: Likewise.
32408 * rt/bits/mqueue2.h: Likewise.
32409 * rt/mqueue.h: Likewise.
32410 * shadow/shadow.h: Likewise.
32411 * signal/signal.h: Likewise.
32412 * socket/send.c: Likewise.
32413 * socket/sendto.c: Likewise.
32414 * socket/sys/socket.h: Likewise.
32415 * stdio-common/printf.h: Likewise.
32416 * stdlib/bits/stdlib.h: Likewise.
32417 * stdlib/fmtmsg.h: Likewise.
32418 * stdlib/monetary.h: Likewise.
32419 * stdlib/stdlib.h: Likewise.
32420 * stdlib/ucontext.h: Likewise.
32421 * streams/stropts.h: Likewise.
32422 * string/argz.h: Likewise.
32423 * string/bits/string2.h: Likewise.
32424 * string/string.h: Likewise.
32425 * string/strings.h: Likewise.
32426 * sunrpc/rpc/auth.h: Likewise.
32427 * sunrpc/rpc/auth_des.h: Likewise.
32428 * sunrpc/rpc/clnt.h: Likewise.
32429 * sunrpc/rpc/netdb.h: Likewise.
32430 * sunrpc/rpc/pmap_clnt.h: Likewise.
32431 * sunrpc/rpc/xdr.h: Likewise.
32432 * sysdeps/generic/inttypes.h: Likewise.
32433 * sysdeps/generic/net/if.h: Likewise.
32434 * sysdeps/generic/sys/swap.h: Likewise.
32435 * sysdeps/gnu/net/if.h: Likewise.
32436 * sysdeps/gnu/utmpx.h: Likewise.
32437 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32438 * sysdeps/i386/i486/bits/string.h: Likewise.
32439 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32440 * sysdeps/s390/bits/string.h: Likewise.
32441 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32442 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32443 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32444 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32445 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32446 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32447 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32448 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32449 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32450 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32451 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32452 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32453 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32454 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32455 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32456 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32457 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32460 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32462 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32463 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32464 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32465 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32466 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32467 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32469 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32470 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32471 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32472 * sysvipc/sys/ipc.h: Likewise.
32473 * sysvipc/sys/msg.h: Likewise.
32474 * sysvipc/sys/sem.h: Likewise.
32475 * sysvipc/sys/shm.h: Likewise.
32476 * termios/termios.h: Likewise.
32477 * time/sys/time.h: Likewise.
32478 * time/time.h: Likewise.
32479 * wcsmbs/bits/wchar2.h: Likewise.
32480 * wcsmbs/uchar.h: Likewise.
32481 * wcsmbs/wchar.h: Likewise.
32482 * wctype/wctype.h: Likewise.
32483
0269750c
UD
32484 [BZ #13551]
32485 * Makeconfig: Remove all but ELF support including AIX support.
32486 * Makerules: Likewise.
32487 * config.h.in: Likewise.
32488 * config.make.in: Likewise.
32489 * configure: Likewise.
32490 * configure.in: Likewise.
32491 * csu/Makefile: Likewise.
32492 * csu/version.c: Likewise.
32493 * debug/Makefile: Likewise.
32494 * dlfcn/Makefile: Likewise.
32495 * elf/Makefile: Likewise.
32496 * extra-lib.mk: Likewise.
32497 * iconv/Makefile: Likewise.
32498 * include/libc-symbols.h: Likewise.
32499 * include/shlib-compat.h: Likewise.
32500 * resolv/Makefile: Likewise.
32501 * resolv/res_libc.c: Likewise.
32502 * rt/Makefile: Likewise.
32503 * sysdeps/i386/asm-syntax.h: Likewise.
32504 * sysdeps/i386/sysdep.h: Likewise.
32505 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32506 * sysdeps/mach/sysdep.h: Likewise.
32507 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32508 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32509 * sysdeps/s390/asm-syntax.h: Likewise.
32510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32512 * sysdeps/sh/sysdep.h: Likewise.
32513 * sysdeps/unix/sparc/sysdep.h: Likewise.
32514 * sysdeps/wordsize-32/divdi3.c: Likewise.
32515 * sysdeps/x86_64/sysdep.h: Likewise.
32516
00bbd29b
UD
32517 * argp/Versions: Remove _argp_unlock_xxx.
32518
32519 [BZ #13559]
32520 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32521 * abilist/libBrokenLocale.abilist: Likewise.
32522 * abilist/libanl.abilist: Likewise.
32523 * abilist/libc.abilist: Likewise.
32524 * abilist/libcrypt.abilist: Likewise.
32525 * abilist/libdl.abilist: Likewise.
32526 * abilist/libm.abilist: Likewise.
32527 * abilist/libnsl.abilist: Likewise.
32528 * abilist/libpthread.abilist: Likewise.
32529 * abilist/libresolv.abilist: Likewise.
32530 * abilist/librt.abilist: Likewise.
32531 * abilist/libthread_db.abilist: Likewise.
32532 * abilist/libutil.abilist: Likewise.
32533 * abilist/libnss_db.abilist: New file.
32534
32535 * scripts/abilist.awk: Add support for indirect functions.
32536
a2693a0e
UD
32537 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32538
3f05895f
UD
32539 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32540
ecb6fb48
UD
32541 * shlib-versions: Remove entries for ports architectures.
32542
664f8cb9
UD
32543 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32544 files in ports.
32545 * elf/stackguard-macros.h: Remove support for IA-64.
32546 * elf/tst-auditmod1.c: Likewise.
32547 * sysdeps/generic/ldsodefs.h: Likewise.
32548
7ae81d88
UD
32549 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32550 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32551 configure files.
32552
bdeba135
UD
32553 [BZ #13552]
32554 * configure.in: Remove --enable-omitfp support.
32555 * FAQ.in: Adjust.
32556 * config.make.in: Likewise.
32557 * Makeconfig: Likewise.
32558 * manual/install.texi: Likewise.
32559
d75a0a62
UD
32560 In case anyone cares, the IA-64 architecture could move to ports.
32561 * sysdeps/ia64/*: Removed.
32562 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 32563 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 32564
dcc9756b
UD
32565 [BZ #13555]
32566 * configure.in: Remove entries for unsupported architectures.
32567
d3761ebc 32568 [BZ #13533]
9954432e
UD
32569 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32570 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32571 routines.
32572 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32573 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32574 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32575 fall back to using wcrtomb.
32576 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32577 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32578 renaming.
32579 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32580 * wcsmbs/tst-c16c32-1.c: New file.
32581
32582 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32583 local variable.
32584
c3a87236
UD
32585 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32586
28926a1b
UD
32587 * elf/tst-unique3.cc: Add explicit declaration of gets.
32588 * elf/tst-unique3lib.cc: Likewise.
32589 * elf/tst-unique3lib2.cc: Likewise.
32590 * elf/tst-unique4.cc: Likewise.
32591
df78418a
UD
32592 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32593
8ecd6b2a
JM
325942012-01-06 Joseph Myers <joseph@codesourcery.com>
32595
32596 [BZ #13566]
32597 * assert/assert.h (static_assert): Don't define for C++.
32598 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32599 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32600
9f115170
UD
326012012-01-03 Ulrich Drepper <drepper@gmail.com>
32602
5e0d0300
UD
32603 * iconv/loop.c (single loop): Fix assertion in storing of
32604 remaining bytes.
32605
9f115170
UD
32606 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32607
81fb02b0
UD
326082012-01-01 Ulrich Drepper <drepper@gmail.com>
32609
32610 * posix/getconf.c: Update copyright year.
32611 * nss/getent.c: Likewise.
a316c1f6 32612 * nss/makedb.c: Likewise.
81fb02b0
UD
32613 * iconv/iconvconfig.c: Likewise.
32614 * iconv/iconv_prog.c: Likewise.
32615 * elf/ldconfig.c: Likewise.
a316c1f6
UD
32616 * elf/pldd.c: Likewise.
32617 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
32618 * catgets/gencat.c: Likewise.
32619 * csu/version.c: Likewise.
32620 * elf/ldd.bash.in: Likewise.
32621 * elf/sprof.c (print_version): Likewise.
32622 * locale/programs/locale.c: Likewise.
32623 * locale/programs/localedef.c: Likewise.
a316c1f6 32624 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
32625 * nscd/nscd.c (print_version): Likewise.
32626 * debug/xtrace.sh: Likewise.
32627 * malloc/memusage.sh: Likewise.
32628 * malloc/mtrace.pl: Likewise.
32629 * debug/catchsegv.sh: Likewise.
32630
2ba92745
JJ
326312011-12-30 Jakub Jelinek <jakub@redhat.com>
32632
32633 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32634 pure attribute.
32635
dadebdae
UD
326362011-12-24 Ulrich Drepper <drepper@gmail.com>
32637
d3761ebc 32638 [BZ #13533]
db6af3eb
UD
32639 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32640 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32641 transformations.
32642 * iconv/gconv_int.h: Likewise.
32643 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32644 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32645 from libc for GLIBC_2.16.
32646 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32647 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32648 * wcsmbs/uchar.h: Really define mbstate_t.
32649 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32650 * wcsmbs/c16rtomb.c: New file.
32651 * wcsmbs/mbrtoc16.c: New file.
32652 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32653 for C/POSIX locale.
32654 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32655 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32656
dadebdae
UD
32657 * wcsmbs/wchar.h: Add missing __restrict.
32658
67371b56
UD
326592011-12-23 Ulrich Drepper <drepper@gmail.com>
32660
74033a25
UD
32661 [BZ #13532]
32662 * time/Makefile (routines): Add timespec_get.
32663 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32664 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32665 timespec for ISO C11.
32666 * time/timespec_get.c: New file.
32667 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32668 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32669
380d7e87
UD
32670 [BZ #13531]
32671 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32672 * stdlib/stdlib.h: Declare aligned_alloc.
32673 * Versions.def: Add GLIBC_2.16 for libc.
32674 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32675
4e9e7a35
UD
32676 [BZ 13527]
32677 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32678 ISO C11.
32679
380d7e87 32680 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
32681 code.
32682
03a71829
UD
32683 [BZ #13528]
32684 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32685
839e283e
UD
32686 [BZ #13529]
32687 * assert/assert.h (static_assert): Define.
32688
ce5294e2 32689 * version.h: Update for 2.16 development version.
90fa7312 32690
8d44e150 32691 [BZ #13526]
d7809905
UD
32692 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32693 _ISOC11_SOURCE.
32694
c0da14cd
UD
32695 * version.h (RELEASE): Bump for 2.15 release.
32696 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32697
530a3249
MP
32698 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32699 Patch by Marek Polacek <mpolacek@redhat.com>.
32700
67371b56
UD
32701 * bits/byteswap.h: Protect long long constants with __extension__.
32702 * sysdeps/i386/bits/byteswap.h: Likewise.
32703 * sysdeps/ia64/bits/byteswap.h: Likewise.
32704 * sysdeps/s390/bits/byteswap.h: Likewise.
32705 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32706
15db4de1
LD
327072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32708
32709 [BZ #13540]
bbe315ea
LD
32710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32711 destination buffer.
15db4de1
LD
32712 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32713
2b2596b1
MP
327142011-12-23 Marek Polacek <polacek@redhat.com>
32715
32716 * elf/dl-addr.c (determine_info): Add inline keyword.
32717 * elf/tst-auditmod4b.c (check_avx): Likewise.
32718 * elf/tst-auditmod6b.c (check_avx): Likewise.
32719 * elf/tst-auditmod6c.c (check_avx): Likewise.
32720 * elf/tst-auditmod7b.c (check_avx): Likewise.
32721
70c6c246
UD
327222011-12-23 Ulrich Drepper <drepper@gmail.com>
32723
32724 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32725 !__SSE_MATH__.
32726
c044cf14
LD
327272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32728
15db4de1 32729 [BZ #13540]
c044cf14
LD
32730 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32731 processing for last bytes.
32732
6b13d9d9
BH
327332011-08-06 Bruno Haible <bruno@clisp.org>
32734
d455f537
BH
32735 [BZ #13061]
32736 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32737 U+0385, not to U+1FEE.
32738
6b13d9d9
BH
32739 [BZ #13062]
32740 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32741 entry for U+00A5 U+0301.
32742
db910efd
UD
327432011-12-22 Ulrich Drepper <drepper@gmail.com>
32744
27deeafc
UD
32745 [BZ #13166]
32746 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32747 buffer for the output is too small.
32748
aed9d171
UD
32749 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32750 optimization.
32751
db910efd
UD
32752 [BZ #13185]
32753 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32754 SSE flags if possible.
32755
2bd779ae
LD
327562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32757
e7f9dac3 32758 [BZ #13540]
2bd779ae
LD
32759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32760 processing for last bytes.
32761
154bfc16
JM
327622011-12-22 Joseph Myers <joseph@codesourcery.com>
32763
32764 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32765 (syscall-list-default-options, syscall-list-default-condition)
32766 (syscall-list-includes): Define.
32767 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32768 list of ABIs and options and #if conditions for each ABI. Do not
32769 handle common syscalls between ABIs specially.
32770 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32771 Remove.
32772 (syscall-list-variants, syscall-list-32bit-options)
32773 (syscall-list-32bit-condition, syscall-list-64bit-options)
32774 (syscall-list-64bit-condition): Define.
32775 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32776 (syscall-list-variants, syscall-list-32bit-options)
32777 (syscall-list-32bit-condition, syscall-list-64bit-options)
32778 (syscall-list-64bit-condition): Define.
32779 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32780 Remove.
32781 (syscall-list-variants, syscall-list-32bit-options)
32782 (syscall-list-32bit-condition, syscall-list-64bit-options)
32783 (syscall-list-64bit-condition): Define.
32784 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32785 Remove.
32786 (syscall-list-variants, syscall-list-32bit-options)
32787 (syscall-list-32bit-condition, syscall-list-64bit-options)
32788 (syscall-list-64bit-condition): Define.
32789
21eaf3a5
UD
327902011-12-22 Ulrich Drepper <drepper@gmail.com>
32791
16c6f992
UD
32792 * locale/iso-639.def: Add brx entry.
32793
41043168
UD
32794 [BZ #13328]
32795 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32796 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32797
21eaf3a5
UD
32798 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32799 __feraiseexcept_renamed.
32800
e3a851a2
UD
328012011-12-21 Ulrich Drepper <drepper@gmail.com>
32802
4920765e
UD
32803 [BZ #13538]
32804 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32805 EPOLLET with unsigned values.
32806 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32808
e3a851a2
UD
32809 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32810 to large cancellation.
32811 * math/s_cacoshf.c: Likewise.
32812 * math/s_cacoshl.c: Likewise.
32813
b27e24b8
RK
328142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32815
32816 [BZ #13305]
aebefeee 32817 [BZ #12786]
b27e24b8
RK
32818 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32819 * math/s_cacoshf.c: Likewise.
32820 * math/s_cacoshl.c: Likewise.
32821
ee190f67
UD
328222011-12-21 Ulrich Drepper <drepper@gmail.com>
32823
32824 [BZ #13439]
32825 * iconv/gconv.h: Define __GCONV_SWAP.
32826 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32827 * iconvdata/utf-16.c: Likewise.
32828 * iconvdata/utf-32.c: Likewise.
32829
707f25df
AS
328302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32831
32832 [BZ #13524]
32833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32834 numerator after shifting it by one limb.
32835
d2daaa1e
RÁE
328362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32837
32838 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32839 under [__USE_EXTERN_INLINES].
32840
a4647e72
UD
328412011-12-17 Ulrich Drepper <drepper@gmail.com>
32842
32843 [BZ #13446]
32844 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32845
f0b264f1
AZ
328462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32847
32848 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32849 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32850 optimized code.
32851 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32852 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32853 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32854 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32855 for strncasecmp/strncasecmp_l compilation.
32856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32857 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32858
8ef4f244
MP
328592011-12-08 Marek Polacek <mpolacek@redhat.com>
32860
32861 [BZ #13484]
32862 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32863 of __asm__.
32864
97ac2654
UD
328652011-12-17 Ulrich Drepper <drepper@gmail.com>
32866
32867 [BZ #13506]
32868 * time/tzfile.c (__tzfile_read): Check values from file header.
32869
91d2a845
WS
328702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32871
32872 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32873 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32874 * powerpc/powerpc32/dl-start.S: Likewise.
32875 * powerpc/powerpc32/elf/start.S: Likewise.
32876 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32877 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32878 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32879 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32880 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32881 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32882 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32883 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32884 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32885 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32886 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32887 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32888 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32889 * powerpc/powerpc32/memset.S: Likewise.
32890 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32891 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32892 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32893 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32894 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32895 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32896 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32897 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32898 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32899 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32900 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32901 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32902 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32903
a1267ba1
AZ
329042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32905
32906 * math/libm-test.inc: Added more nearbyint tests.
32907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32908 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32911
ad8ac1bd
RL
329122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32913
32914 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32915 FD_CLOEXEC.
32916
1d3e4b61
UD
329172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32918
32919 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32920 Add wcscpy-ssse3 wcscpy-c.
32921 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32922 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32923 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32924 * sysdeps/x86_64/wcschr.S: New file.
32925 * sysdeps/x86_64/wcsrchr.S: New file.
32926 * string/test-strcmp.c: Remove checking of wcscmp function for
32927 wrong alignments.
32928 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32929 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32930 wcsrchr-sse2 wcsrchr-c.
32931 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32932 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32933 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32934 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32935 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32936 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32937 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32938 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32939 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32940 * wcsmbc/wcschr.c (WCSCHR): New macro.
32941
5b330a2d
UD
329422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32943
32944 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32945 * wcsmbs/test-wcsrchr.c: New file.
32946 * string/test-strrchr.c: Add wcsrchr support.
32947 (WIDE): New macro.
32948 * wcsmbs/test-wcscpy.c: New file.
32949 * string/test-strcpy.c: Add wcscpy support.
32950 (WIDE): New macro.
26428b7c 32951
f039c043
UD
329522011-12-10 Ulrich Drepper <drepper@gmail.com>
32953
32954 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32955 the inner loop.
32956
850fb039
AS
329572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32958
32959 [BZ #13472]
32960 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32961
4efbd5cb
UD
329622011-12-04 Ulrich Drepper <drepper@gmail.com>
32963
52ff5dd0 32964 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32965 Minor optimizations.
52ff5dd0 32966
4efbd5cb
UD
32967 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32968 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32969 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32970
8a426e12
UD
329712011-12-03 Ulrich Drepper <drepper@gmail.com>
32972
aff2453d
UD
32973 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32974 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32975 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32976 for gcc to avoid warnings.
32977 * inet/Makefile (tests): Add tst-checks.
32978 * inet/tst-checks.c: New file.
32979
32980 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32981 warning.
32982
32983 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32984 __wmemcmp_sse2.
32985
32986 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32987 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32988
8a426e12
UD
32989 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32990
9bea3473
UD
329912011-12-02 Ulrich Drepper <drepper@gmail.com>
32992
3a965496
UD
32993 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32994 problem.
32995
9bea3473
UD
32996 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32997
f101631b
UD
329982011-11-29 Joseph Myers <joseph@codesourcery.com>
32999
33000 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33001 conditional on GCC version.
33002 (__arch_compare_and_exchange_val_8_acq)
33003 (__arch_compare_and_exchange_val_16_acq)
33004 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33005 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33006 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33007
a98275aa
UD
330082011-12-02 Joseph Myers <joseph@codesourcery.com>
33009
33010 * sysdeps/sh/backtrace.c: New file.
33011
d4cc29a2
AS
330122011-12-02 Andreas Schwab <schwab@redhat.com>
33013
33014 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33015 parenthesis.
33016
6257af2d
AS
330172011-12-01 Andreas Schwab <schwab@redhat.com>
33018
33019 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33020 falling back to utime.
33021
b5f44c1a
AS
330222011-11-30 Andreas Schwab <schwab@redhat.com>
33023
33024 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33025 expectations for float.
33026
f3a6cc0a
AS
330272011-11-29 Andreas Schwab <schwab@redhat.com>
33028
33029 * locale/weight.h (findidx): Add parameter len.
33030 * locale/weightwc.h (findidx): Likewise.
33031 * posix/fnmatch_loop.c (FCT): Adjust caller.
33032 * posix/regcomp.c (build_equiv_class): Likewise.
33033 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33034 * posix/regexec.c (check_node_accept_bytes): Likewise.
33035 * string/strcoll_l.c (STRCOLL): Likewise.
33036 * string/strxfrm_l.c (STRXFRM): Likewise.
33037
9d65ea3a
UD
330382011-11-17 Ulrich Drepper <drepper@gmail.com>
33039
33040 * Makefile.in: Remove CVSOPT handling.
33041 * configure.in: Remove use of AC_REVISION.
33042 * iconvdata/Makefile (distribute): No need to filter out CVS.
33043 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33044 handling.
33045
5583a086
AS
330462011-11-16 Andreas Schwab <schwab@redhat.com>
33047
33048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33049 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33050 [USE_AS_STRNCASECMP_L]: Likewise.
33051 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33052 NO_TLS_DIRECT_SEG_REFS.
33053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33054 Fix argument offsets for non-PIC.
33055 [USE_AS_STRNCASECMP_L]: Likewise.
33056 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33057 NO_TLS_DIRECT_SEG_REFS.
33058
d62a8200
UD
330592011-11-15 Ulrich Drepper <drepper@gmail.com>
33060
9d65ea3a 33061 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33062 O_CLOEXEC.
33063 * locale/loadlocale.c (_nl_load_locale): Likewise.
33064
09f93bd3
AS
330652011-11-15 Andreas Schwab <schwab@redhat.com>
33066
446514f9
AS
33067 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33068 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33070 (SYSCALL_GETTIME): Set errno on error.
33071
09f93bd3
AS
33072 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33073 count references to noai6ai_cached.
33074
312be3f9
UD
330752011-11-15 Ulrich Drepper <drepper@gmail.com>
33076
33077 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33078
33079 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33080 FD_CLOEXEC for /proc/self/maps.
33081
33082 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33083 FD_CLOEXEC for /proc/meminfo.
33084
33085 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33086 gai.conf.
33087
33088 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33089 FD_CLOEXEC for given file.
33090
33091 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33092
33093 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33094 FD_CLOEXEC for /etc/hosts.
33095 (_gethtent): Likewise.
33096
33097 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33098
33099 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33100 cancellation and set FD_CLOEXEC for /etc/netgroup.
33101
33102 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33103 reading /etc/publickey.
33104
33105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33106 allow cancellation when reading /etc/group.
33107
33108 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33109 cancellation.
33110 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33111
33112 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33113 when using data file.
33114
33115 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33116
33117 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33118 (write_nis_obj): Use "c" and "e" in fopen.
33119
33120 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33121
33122 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33123
33124 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33125
33126 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33127
33128 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33129 locale.alias.
33130
33131 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33132
33133 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33134
33135 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33136
33137 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33138 file parsing and set FD_CLOEXEC.
33139
82af0fa8
UD
331402011-11-14 Ulrich Drepper <drepper@gmail.com>
33141
33142 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33143
a5fb313c
AS
331442011-11-14 Andreas Schwab <schwab@redhat.com>
33145
33146 * malloc/arena.c (arena_get2): Don't call reused_arena when
33147 _int_new_arena failed.
33148
6abf3465
UD
331492011-11-14 Ulrich Drepper <drepper@gmail.com>
33150
33151 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33152 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33153 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33154 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33157 to compile strcasecmp and strncasecmp.
33158 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33159 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33160
33161 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33162
76e3966e
UD
331632011-11-13 Ulrich Drepper <drepper@gmail.com>
33164
33165 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33166 locale-defines.sym to gen-as-const-headers.
33167 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33168 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33170 to compile strcasecmp and strncasecmp.
33171 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33172 strcasecmp_l and strncasecmp_l.
33173 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33174 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33175 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33176 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33177 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33178 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33179 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33180 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33181 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33182 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33183 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33184
ab26144e
UD
331852011-11-12 Ulrich Drepper <drepper@gmail.com>
33186
7edb22ef
UD
33187 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33188 result of SYSDEP_GETTIME_CPU to retval.
33189 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33190 parameter list to macro. Remove trailing semicolon. Adjust users.
33191
9694fc44
UD
33192 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33193 variable.
33194
8ad89ef8
UD
33195 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33196 mantissa words.
33197 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33198
0c822ef9
UD
33199 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33200 from unused variable.
33201
874e0564
UD
33202 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33203 DWARF definitions.
33204 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33205 for assembling.
33206
3a2edc79
UD
33207 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33208 over namespaces.
33209
f3c2577f
UD
33210 * sunrpc/rpc_prot.c (rejected): Fix case value.
33211
294ce126
UD
33212 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33213 unsigned long long int to avoid warnings in shift.
33214
5e2b63c6
UD
33215 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33216 of use of trans.
33217 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33218 variable tmp.
33219
e7f4b08e
UD
33220 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33221 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33222 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33223
ab26144e
UD
33224 * nis/nis_table.c (nis_list): Use variable of correct type for
33225 result of __follow_path call.
33226
8a6d5255
AZ
332272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33228
33229 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33230 of math functions ceil, trunc, floor, round, and sqrt, when
33231 avaliable on the platform.
33232 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33233 name clash.
33234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33235 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33236 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33237
aaddc98c
MP
332382011-10-30 Marek Polacek <mpolacek@redhat.com>
33239
33240 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33242
95b7042b
RM
332432011-11-11 Roland McGrath <roland@hack.frob.com>
33244
33245 * include/unistd.h: Fix __readlink return type.
33246 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33247
57769839
UD
332482011-11-11 Ulrich Drepper <drepper@gmail.com>
33249
33250 * stdlib/ucontext.h: Undo last change for makecontext.
33251
edc5984d
AS
332522011-11-11 Andreas Schwab <schwab@redhat.com>
33253
98591e58
AS
33254 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33255
edc5984d
AS
33256 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33257 * setjmp/setjmp.h: Mark functions as non-leaf.
33258 * setjmp/bits/setjmp2.h: Likewise.
33259 * stdlib/ucontext.h: Likewise.
33260
77cdc054
AS
332612011-11-10 Andreas Schwab <schwab@redhat.com>
33262
33263 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33264 (reused_arena): Don't check arena limit.
33265 (arena_get2): Atomically check arena limit.
33266
fe72eebd
UD
332672011-11-08 Ulrich Drepper <drepper@gmail.com>
33268
5f078c32
UD
33269 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33270 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33271
fe72eebd
UD
33272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33273 instructions.
33274
ae1bc2fa
AS
332752011-11-07 Andreas Schwab <schwab@redhat.com>
33276
7583a88d
AS
33277 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33278 handler when locking.
33279
ae1bc2fa
AS
33280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33281 Fix size of allocated buffer.
33282
10fb0bfa
AS
332832011-11-04 Andreas Schwab <schwab@redhat.com>
33284
998832a4
AS
33285 [BZ #10103]
33286 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33287 declarations for long double functions.
33288 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33289
10fb0bfa
AS
33290 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33291
3d7ba52b
AS
332922011-11-03 Andreas Schwab <schwab@redhat.com>
33293
a9ae54a1
AS
33294 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33295 installed.
33296
3d7ba52b
AS
33297 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33298 is disabled.
33299
bc8db248
ST
333002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33301
33302 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33303
45b96dd6
AS
333042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33305
647776f6
AS
33306 * include/alloca.h (stackinfo_alloca_round): Define.
33307 (extend_alloca): Use it.
33308 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33309 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33310 here.
33311
d91a8b93
AS
33312 * scripts/check-local-headers.sh: Ignore libaudit.h.
33313
45b96dd6
AS
33314 * nscd/Makefile (extra-objs): Make recursively expanded.
33315
432d41ce
UD
333162011-11-01 Ulrich Drepper <drepper@gmail.com>
33317
34372fc6
UD
33318 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33320
fadb59f8
UD
33321 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33322 * posix/tst-rfc3484-2.c: Likewise.
33323 * posix/tst-rfc3484-3.c: Likewise.
33324
78239589
UD
33325 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33326 process_vm_writev.
33327 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33328 process_vm_writev.
33329 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33330 process_vm_writev from libc using GLIBC_2.15 version.
33331
432d41ce
UD
33332 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33333
02f9c6cf
PP
333342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33335
33336 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33337 stack usage.
33338
3a2c0242
UD
333392011-10-31 Ulrich Drepper <drepper@gmail.com>
33340
f4ec4833
UD
33341 [BZ #13367]
33342 * nss/getent.c (initgroups_keys): Show error message in case no group
33343 names are given.
33344
3a2c0242
UD
33345 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33346 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33347 __bump_nl_timestamp.
33348 * nscd/connections (nscd_init): When host database is served open
33349 netlink socket and request notification about configuration changes.
33350 (main_loop_poll): Track netlink file descriptor and bump timestamp
33351 in case data becomes available.
33352 (main_loop_epoll): Likewise.
33353 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33354 (database_pers_head): Add extra_data fileds.
33355 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33356 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33357 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33358 Adjust caller.
33359 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33360 in6ai data, call __free_in6ai.
33361 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33362 Add -DHAVE_NETLINK.
33363 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33364 interface information. Reuse previous data if netlink timestamp
33365 is not changed.
33366 (__bump_nl_timestamp): New function.
33367 (__free_in6ai): New function.
33368
636064eb
UD
333692011-10-30 Ulrich Drepper <drepper@gmail.com>
33370
33371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33372 close_not_cancel_no_status here.
33373 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33374
9beb2334
UD
333752011-10-29 Ulrich Drepper <drepper@gmail.com>
33376
6ef76f3b
UD
33377 [BZ #13276]
33378 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33379 return value.
33380
0ffc4f3e 33381 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33382 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33383 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33384
cb95113e
UD
333852011-07-03 Andreas Jaeger <aj@suse.de>
33386
33387 [BZ #10709]
33388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33389 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33390 * math/libm-test.inc (sin_test): Add test case.
33391
a1b560ff
UD
333922011-10-29 Ulrich Drepper <drepper@gmail.com>
33393
c9aaface
UD
33394 [BZ #13337]
33395 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33396 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33397
d272e7f1
UD
33398 * elf/chroot_canon.c (chroot_canon): Cleanups.
33399
1bc33071
UD
33400 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33401
1760874d
TJ
33402 [BZ #13335]
33403 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33404 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33405
51d91b18
UD
33406 * string/test-strchr.c: Make usable for strchrnul testing.
33407 * string/test-strchrnul.c: New file.
33408 * string/Makefile (strop-tests): Add strchrnul.
33409
a1b560ff 33410 * po/it.po: Update from translation team.
b611fb81 33411 * po/es.po: Likewise.
a1b560ff 33412
a5b81e1f
UD
334132011-10-28 Ulrich Drepper <drepper@gmail.com>
33414
fd52bc6d
UD
33415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33416 the three constants needed as parameters. Drop the others.
33417 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33418 __m128i_strloadu_tolower.
52e4b9eb
UD
33419 Create and initialize variable zero and use it in all the places
33420 where _mm_setzero_si128 was used.
fd52bc6d 33421
a5b81e1f
UD
33422 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33423 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33424 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33425 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33426 anymore.
33427 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33428 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33429 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33430 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33431 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33432 __mpranred, __mptan.
33433 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33434 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33435 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33436 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33437 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33438 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33439 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33440 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33441 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33442
b4343346
AS
334432011-10-28 Andreas Schwab <schwab@redhat.com>
33444
0c92d8a8
AS
33445 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33446 redefine if SHARED.
33447 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33448
b4343346
AS
33449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33450 wide char related routines to wcsmbs subdir.
33451
3871f58f
AS
334522011-10-27 Andreas Schwab <schwab@redhat.com>
33453
33454 [BZ #13344]
33455 * misc/sys/cdefs.h (__THROWNL): Define.
33456 * posix/unistd.h: Use __THREADNL instead of __THREAD
33457 for memory synchronization functions.
33458
94d44d9f
RM
334592011-10-26 Roland McGrath <roland@hack.frob.com>
33460
21b64b15 33461 [BZ #13349]
94d44d9f
RM
33462 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33463 doesn't exist.
33464 * manual/stdio.texi (Obstack Streams): Node removed.
33465
f6ce9294
AS
334662011-10-26 Andreas Schwab <schwab@redhat.com>
33467
80479147
AS
33468 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33469 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33470 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33471
f6ce9294
AS
33472 * math/math_private.h (math_force_eval): Allow non-addressable
33473 arguments.
33474 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33475
618280a1
UD
334762011-10-25 Ulrich Drepper <drepper@gmail.com>
33477
e0016b11
UD
33478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33479 file is not needed.
33480
33481 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33488 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33489 Add AVX variants.
33490 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33491 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33492 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33493 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33494 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33495 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33496 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33497 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33498 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33499 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33500 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33501 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33504 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33505 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33506 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33507 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33508 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33509
33510 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33511 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33512
618280a1
UD
33513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33514 place. Use VEX encoding when compiling for AVX.
33515
37822576
AS
335162011-10-25 Andreas Schwab <schwab@redhat.com>
33517
1f1e1947
AS
33518 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33519 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33520
37822576
AS
33521 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33522
31ea014d
UD
335232011-10-25 Ulrich Drepper <drepper@gmail.com>
33524
d7826aa1 33525 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 33526 useless if() expression.
d7826aa1
UD
33527 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33536 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33537 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33538 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33539 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33540 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33541 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33542 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33545 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33546
31ea014d
UD
33547 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33548
16437fec
AS
335492011-10-25 Andreas Schwab <schwab@redhat.com>
33550
33551 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33552 condition.
33553 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33554
31d3cc00
UD
335552011-10-25 Ulrich Drepper <drepper@gmail.com>
33556
33557 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33558 .text section. Avoid duplicate constants.
33559 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33569 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33571 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33574 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33576 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33582 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33583 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33584 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33585 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33586 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33587 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33588 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33590 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33591 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33592 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33593 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33594 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33595 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33597 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33598 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33600 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33601 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33602 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33603 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33604
58985aa9
UD
336052011-10-24 Ulrich Drepper <drepper@gmail.com>
33606
202c9deb
UD
33607 * sysdeps/x86_64/dla.h: Move to ...
33608 * sysdeps/x86_64/fpu/dla.h: ...here.
33609 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33610 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 33611
af968f62
UD
33612 * config.make.in: Add have-mfma4 entry.
33613 * configure.in: Substitute libc_cv_cc_fma4.
33614 * math/Makefile (dbl-only-routines): Add sincostab.
33615 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33616 Use __sincostab not sincos.
33617 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33618 name is a macro.
33619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33623 using __copysign.
33624 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33625 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33626 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33627 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33628 and __inv.
33629 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33630 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33631 __copysign.
33632 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33633 define aliases when function name is a macro.
33634 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33635 sysdeps/ieee754/dbl-64/sincos.tbl.
33636 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33637 fma4-enabled routines.
33638 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33639 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33640 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33641 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33642 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33643 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33645 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33648 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33649 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33650 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33651 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33652 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33653 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33654 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33655 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33656 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33657 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33658 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33659 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33661 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33664 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33665 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33666 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33667 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33668
58985aa9
UD
33669 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33670 rename.
33671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33679
a201fbcf
AS
336802011-10-24 Andreas Schwab <schwab@redhat.com>
33681
33682 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33683
fc2ee42a
LD
336842011-10-23 Ulrich Drepper <drepper@gmail.com>
33685
bb3129bd
UD
33686 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33687
0275fff8
UD
33688 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33689 prediction.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33691
2fa2ae85
UD
33692 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33693 Remove unused variable magic_bits.
33694 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33695
fc2ee42a
LD
33696 * string/strnlen.c: Define and use STRNLEN macro.
33697 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33698 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33700 * wcsmbs/wcslen.c: Define and use WCSLEN.
33701 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33702 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33703 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33704 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33705 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33706 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33707 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33708
ce7dd29f
LD
337092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33710
33711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33712 strnlen-sse2-no-bsf.
33713 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33715 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33716 Add strnlen support.
33717 (USE_AS_STRNLEN): New macro.
33718 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33719 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33720 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33721 * sysdeps/x86_64/wcslen.S: New file.
33722
979c70a3
MZ
337232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33724
33725 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33726 XMM-moves are used for copying on small sizes.
33727
2d09f82f
LD
337282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33729
33730 * wcsmbs/Makefile (strop-tests): Add wcschr.
33731 * wcsmbs/test-wcschr.c: New file.
33732 * string/test-strchr.c: Update.
33733 Add wcschr support.
33734 (WIDE): New macro.
33735
619fccca
LD
337362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33737
2d09f82f 33738 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33739 * wcsmbs/test-wcslen.c: New file.
33740 * string/test-strlen.c: Update.
33741 Add wcslen support.
33742 (WIDE): New macro.
33743
09f699ea
UD
337442011-10-23 Ulrich Drepper <drepper@gmail.com>
33745
33746 * po/it.po: Update from translation team.
33747
95584d3b
LD
337482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33749
33750 * sysdeps/x86_64/wcscmp.S: Update.
33751 Fix wrong comparison semantics.
33752 wcscmp shall use signed comparison not unsigned.
33753 Don't use substraction to avoid overflow bug.
33754 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33755 * wcsmbc/wcscmp.c: Likewise.
33756 * string/test-strcmp.c: Likewise.
33757 Add new tests to check cases with negative values.
33758
c8b3296b
UD
337592011-10-23 Ulrich Drepper <drepper@gmail.com>
33760
33761 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33762 * sysdeps/x86_64/dla.h: ...here. New file.
33763 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33772
246ad57a
AS
337732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33774
33775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33776 __ynl_finite aliases.
33777
a1a87169
UD
337782011-10-22 Ulrich Drepper <drepper@gmail.com>
33779
0d355eb7
UD
33780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33781
a1a87169
UD
33782 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33783 define DLA_FMA.
33784 [DLA_FMA] (EMULV): Use DLA_FMA.
33785 [DLA_FMA] (MUL12): Use EMULV.
33786 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33787 that are not needed.
33788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33795
ee2aafe0
AS
337962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33797
33798 * math/s_nan.c: Undef __nan.
33799 * math/s_nanf.c: Undef __nanf.
33800 * math/s_nanl.c: Undef __nanl.
33801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33802 "math_private.h".
33803
bc62c2fb
UD
338042011-10-22 Ulrich Drepper <drepper@gmail.com>
33805
77425c63
UD
33806 * math/s_catan.c: Add branch predictions.
33807 * math/s_catanf.c: Likewise.
33808 * math/s_catanh.c: Likewise.
33809 * math/s_catanhf.c: Likewise.
33810 * math/s_catanhl.c: Likewise.
33811 * math/s_catanl.c: Likewise.
33812 * math/s_cexp.c: Likewise.
33813 * math/s_cexpf.c: Likewise.
33814 * math/s_cexpl.c: Likewise.
33815 * math/s_clog.c: Likewise.
33816 * math/s_clog10.c: Likewise.
33817 * math/s_clog10f.c: Likewise.
33818 * math/s_clog10l.c: Likewise.
33819 * math/s_clogf.c: Likewise.
33820 * math/s_clogl.c: Likewise.
33821 * math/s_csqrt.c: Likewise.
33822 * math/s_csqrtf.c: Likewise.
33823 * math/s_csqrtl.c: Likewise.
33824 * math/s_ctanf.c: Likewise.
33825 * math/s_ctanh.c: Likewise.
33826 * math/s_ctanhf.c: Likewise.
33827 * math/s_ctanhl.c: Likewise.
33828 * math/s_ctanl.c: Likewise.
33829
bc62c2fb
UD
33830 * math/math_private.h: Define __nan, __nanf, __nanl.
33831 * math/s_cacosh.c: Include <math_private.h>.
33832 * math/s_cacoshl.c: Likewise.
33833 * math/s_casinh.c: Likewise.
33834 * math/s_casinhf.c: Likewise.
33835 * math/s_casinhl.c: Likewise.
33836 * math/s_ccos.c: Rely entire on ccosh.
33837 * math/s_ccosf.c: Rely entire on ccoshf.
33838 * math/s_ccosl.c: Rely entirely on ccoshl.
33839 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33840 Remove tests for FE_INVALID.
33841 * math/s_ccoshf.c: Likewise.
33842 * math/s_ccoshl.c: Likewise.
33843 * math/s_csin.c: Likewise.
33844 * math/s_csinf.c: Likewise.
33845 * math/s_csinh.c Likewise.
33846 * math/s_csinhf.c: Likewise.
33847 * math/s_csinhl.c: Likewise.
33848 * math/s_csinl.c: Likewise.
33849 * math/s_ctan.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33851 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33852 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33853
8ec250a4
UD
338542011-10-21 Ulrich Drepper <drepper@gmail.com>
33855
c196fed8
UD
33856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33857 compilation problems.
33858
8ec250a4
UD
33859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33860 __builtin_expect.
33861
8d4f46c6
UD
338622011-10-20 Ulrich Drepper <drepper@gmail.com>
33863
ed72b654
UD
33864 * sysdeps/i386/configure.in: Test for -mfma4 option.
33865 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33866 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33867 COMMON_CPUID_INDEX_80000001.
33868 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33869 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33870 use it if FMA3 is not supported.
33871 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33872
8d4f46c6
UD
33873 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33874 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33875
d45c60c2
AS
338762011-10-20 Andreas Schwab <schwab@redhat.com>
33877
33878 [BZ #12892]
33879 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33880 it would create a cycle with a link time dependency.
33881
d9a4d2ab
UD
338822011-10-19 Ulrich Drepper <drepper@gmail.com>
33883
855d1560
UD
33884 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33885 instruction.
33886 * string/Makefile (strop-tests): Add rawmemchr.
33887 * string/test-rawmemchr.c: New file.
33888
d9a4d2ab
UD
33889 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33891 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33892 when compiling str{,n}casecmp and when AVX is available. Hook up
33893 new optimized code in initializers.
33894
8f3b1ffe
AS
338952011-10-19 Andreas Schwab <schwab@redhat.com>
33896
33897 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33898 __feraiseexcept instead of feraiseexcept.
33899
d38f1dba
UD
339002011-10-18 Ulrich Drepper <drepper@gmail.com>
33901
d9a8d0ab
UD
33902 * math/math_private.h: Define defaults for libc_fetestexcept and
33903 libc_feupdateenv.
33904 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33905 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33906 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33907 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33908 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33909 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33910 libc_fetestexcept and libc_feupdateenv.
33911
4855e3dd
UD
33912 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33913 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33914 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33915 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33916 libc_feholdexcept_setround.
33917
581d30e3
UD
33918 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33919 Add s_nearbyint-c and s_nearbyintf-c.
33920 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33921 nearbyintf inlines.
33922 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33923 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33924 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33925 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33926
d38f1dba
UD
33927 * math/math_private.h: Define defaults for libc_fegetround,
33928 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33929 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33930 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33931 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33932 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33933 standard functions.
33934 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33935 Remove comments and hacks for old compiler versions.
33936 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33937 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33938 libc_feholdexceptl.
33939
caa6c9d8
AS
339402011-10-18 Andreas Schwab <schwab@redhat.com>
33941
33942 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33943 (__feraiseexcept_renamed): Add __NTH.
33944 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33945 namespace violations.
33946
97c066e6
UD
339472011-10-17 Ulrich Drepper <drepper@gmail.com>
33948
99ce7b04
UD
33949 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33950
1004d182
UD
33951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33952
228a984d
UD
33953 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33954 recently added interfaces.
33955 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33956
c8553a6a
UD
33957 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33958 about macro parameter expansion.
33959
ed22dcf6
UD
33960 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33961 __NO_MATH_INLINES is defined. Cleanups.
33962
33963 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33964 and __floorf is target has SSE4.1.
33965 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33966 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33967 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33968 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33969
b171c137
UD
33970 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33971 name.
33972 (floorf): Likewise.
33973
97c066e6
UD
33974 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33975
629f62ef
AS
339762011-10-17 Andreas Schwab <schwab@redhat.com>
33977
49a43d80
AS
33978 * misc/sys/cdefs.h: Fix last change.
33979
629f62ef
AS
33980 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33981 database lookup.
33982
e453f6cd
UD
339832011-10-16 Ulrich Drepper <drepper@gmail.com>
33984
aa78043a
UD
33985 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33986
ad0f5cad
UD
33987 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33993 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33994 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33995 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33996 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33997 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33998 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33999 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34000 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34001 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34002 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34003 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34004 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34005 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34006 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34007 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34008 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34009
34010 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34011 ceil, ceilf, floor, floorf.
34012
34013 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34014 Perform IRELATIVE relocations last.
34015
e453f6cd
UD
34016 * elf/do-rel.h: Add another parameter nrelative, replacing the
34017 local variable with the same name. Change name of the function
34018 to end in Rel or Rela (uppercase).
34019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34020 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34021 elf_dynamic_do_##reloc function.
34022
fd5bdc09
UD
340232011-10-15 Ulrich Drepper <drepper@gmail.com>
34024
79b195b5
UD
34025 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34026 is sufficient, at least on modern CPUs.
34027
d4a28569
UD
34028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34029
b61099b5
UD
34030 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34031 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34032
bcf01e6d
UD
34033 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34034 __expl_finite.
34035 * math/bits/math-finite.h: Add entries for exp.
34036 * math/e_expl.c: Add __*_finite alias.
34037 * sysdeps/i386/fpu/e_exp.S: Likewise.
34038 * sysdeps/i386/fpu/e_expf.S: Likewise.
34039 * sysdeps/i386/fpu/e_expl.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34041 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34044 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34045 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34046 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34047
ba1a0d59
UD
34048 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34049 is sufficient, at least on modern CPUs.
34050
fd5bdc09
UD
34051 * ctype/ctype-info.c (__ctype_init): Define.
34052 * include/ctype.h (__ctype_init): Declare.
34053 (__ctype_b_loc): The variable is always initialized.
34054 (__ctype_toupper_loc): Likewise.
34055 (__ctype_tolower_loc): Likewise.
34056 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34057 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34058
7872cfb0
AS
340592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34060
b468825a
AS
34061 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34062
7872cfb0
AS
34063 * configure.in: Also look in $cxxmachine/include for C++ system
34064 headers.
34065
be13f7bf
LD
340662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34067
34068 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34069 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34070 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34071 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34072 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34073 (USE_AS_WMEMCMP): New macro.
34074 Fixing indents.
34075 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34076 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34077 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34078 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34080 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34081 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34082 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34083 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34084 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34085 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34086 (USE_AS_WMEMCMP): New macro.
34087 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34088 * sysdeps/string/test-memcmp.c: Update.
34089 Fix simple_wmemcmp.
34090 Add new tests.
34091 * wcsmbs/wmemcmp.c: Update.
34092 (WMEMCMP): New macro.
34093 Fix overflow bug.
34094
556a2007
AJ
340952011-10-12 Andreas Jaeger <aj@suse.de>
34096
34097 [BZ #13268]
34098 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34099
538faaa7
UD
341002011-10-15 Ulrich Drepper <drepper@gmail.com>
34101
ab6737ff
UD
34102 * libio/iofwide.c (do_length): Avoid warning.
34103
538faaa7
UD
34104 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34105
396a21b1
UD
341062011-10-14 Ulrich Drepper <drepper@gmail.com>
34107
cdf2901f
UD
34108 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34109
38ad40ce
UD
34110 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34111 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34112 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34113 * sysdeps/i386/i686/fpu/e_log.S: New file.
34114 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34115 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34116
396a21b1
UD
34117 * ctype/ctype.h: Add support for inlined isXXX functions when
34118 compiling C++ code.
34119
6b1f68c9
AS
341202011-10-14 Andreas Schwab <schwab@redhat.com>
34121
349290c0
AS
34122 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34123
6b1f68c9
AS
34124 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34125
f2282d42
RM
341262011-10-13 Roland McGrath <roland@hack.frob.com>
34127
34128 [BZ #13291]
34129 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34130
5298ffa8
AS
341312011-10-13 Andreas Schwab <schwab@redhat.com>
34132
714fad23
AS
34133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34134 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34135 feraiseexcept.
34136
81dcc7fb
AS
34137 * sysdeps/x86_64/memrchr.S: Check for zero size.
34138
5298ffa8
AS
34139 * string/stratcliff.c: Add memrchr tests.
34140
951fbcec
LD
341412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34142
34143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34144 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34145 rawmemchr-sse2 rawmemchr-sse2-bsf.
34146 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34147 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34148 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34149 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34150 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34151 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34152 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34153 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34154 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34155 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34156 * string/memrchr.c (MEMRCHR): New macro.
34157
0ac5ae23
UD
341582011-10-12 Ulrich Drepper <drepper@gmail.com>
34159
34160 Add integration with gcc's -ffinite-math-only and optimize wrapper
34161 functions in libm.
34162 * Versions.def: Define GLIBC_2.15 version for libm.
34163 * math/Makefile (headers): Add bits/math-finite.h.
34164 * math/bits/math-finite.h: New file.
34165 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34166 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34167 * math/e_acoshl.c: Add __*_finite alias.
34168 * math/e_acosl.c: Likewise.
34169 * math/e_asinl.c: Likewise.
34170 * math/e_atan2l.c: Likewise.
34171 * math/e_atanhl.c: Likewise.
34172 * math/e_coshl.c: Likewise.
34173 * math/e_exp10.c: Likewise.
34174 * math/e_exp10f.c: Likewise.
34175 * math/e_exp10l.c: Likewise.
34176 * math/e_exp2l.c: Likewise.
34177 * math/e_fmodl.c: Likewise.
34178 * math/e_gammal_r.c: Likewise.
34179 * math/e_hypotl.c: Likewise.
34180 * math/e_j0l.c: Likewise.
34181 * math/e_j1l.c: Likewise.
34182 * math/e_jnl.c: Likewise.
34183 * math/e_lgammal_r.c: Likewise.
34184 * math/e_log10l.c: Likewise.
34185 * math/e_log2l.c: Likewise.
34186 * math/e_logl.c: Likewise.
34187 * math/e_powl.c: Likewise.
34188 * math/e_sinhl.c: Likewise.
34189 * math/e_sqrtl.c: Likewise.
34190 * math/e_scalb.c: Completely rewritten and optimized.
34191 * math/e_scalbf.c: Likewise.
34192 * math/e_scalbl.c: Likewise.
34193 * math/w_acos.c: Likewise.
34194 * math/w_acosf.c: Likewise.
34195 * math/w_acosl.c: Likewise.
34196 * math/w_acosh.c: Likewise.
34197 * math/w_acoshf.c: Likewise.
34198 * math/w_acoshl.c: Likewise.
34199 * math/w_asin.c: Likewise.
34200 * math/w_asinf.c: Likewise.
34201 * math/w_asinl.c: Likewise.
34202 * math/w_atan2.c: Likewise.
34203 * math/w_atan2f.c: Likewise.
34204 * math/w_atan2l.c: Likewise.
34205 * math/w_atanh.c: Likewise.
34206 * math/w_atanhf.c: Likewise.
34207 * math/w_atanhl.c: Likewise.
34208 * math/w_exp10.c: Likewise.
34209 * math/w_exp10f.c: Likewise.
34210 * math/w_exp10l.c: Likewise.
34211 * math/w_fmod.c: Likewise.
34212 * math/w_fmodf.c: Likewise.
34213 * math/w_fmodl.c: Likewise.
34214 * math/w_j0.c: Likewise.
34215 * math/w_j0f.c: Likewise.
34216 * math/w_j0l.c: Likewise.
34217 * math/w_j1.c: Likewise.
34218 * math/w_j1f.c: Likewise.
34219 * math/w_j1l.c: Likewise.
34220 * math/w_jn.c: Likewise.
34221 * math/w_jnf.c: Likewise.
34222 * math/w_log.c: Likewise.
34223 * math/w_logf.c: Likewise.
34224 * math/w_logl.c: Likewise.
34225 * math/w_log10.c: Likewise.
34226 * math/w_log10f.c: Likewise.
34227 * math/w_log10l.c: Likewise.
34228 * math/w_log2.c: Likewise.
34229 * math/w_log2f.c: Likewise.
34230 * math/w_log2l.c: Likewise.
34231 * math/w_pow.c: Likewise.
34232 * math/w_powf.c: Likewise.
34233 * math/w_powl.c: Likewise.
34234 * math/w_remainder.c: Likewise.
34235 * math/w_remainderf.c: Likewise.
34236 * math/w_remainderl.c: Likewise.
34237 * math/w_scalb.c: Likewise.
34238 * math/w_scalbf.c: Likewise.
34239 * math/w_scalbl.c: Likewise.
34240 * math/w_sqrt.c: Likewise.
34241 * math/w_sqrtf.c: Likewise.
34242 * math/w_sqrtl.c: Likewise.
34243 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34244 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34245 used.
34246 * math/math_private.h: Declare __kernel_standard_f.
34247 * math/w_cosh.c: Remove cruft and optimize a bit.
34248 * math/w_coshf.c: Likewise.
34249 * math/w_coshl.c: Likewise.
34250 * math/w_exp2.c: Likewise.
34251 * math/w_exp2f.c: Likewise.
34252 * math/w_exp2l.c: Likewise.
34253 * math/w_hypot.c: Likewise.
34254 * math/w_hypotf.c: Likewise.
34255 * math/w_hypotl.c: Likewise.
34256 * math/w_lgamma.c: Likewise.
34257 * math/w_lgamma_r.c: Likewise.
34258 * math/w_lgammaf.c: Likewise.
34259 * math/w_lgammaf_r.c: Likewise.
34260 * math/w_lgammal.c: Likewise.
34261 * math/w_lgammal_r.c: Likewise.
34262 * math/w_sinh.c: Likewise.
34263 * math/w_sinhf.c: Likewise.
34264 * math/w_sinhl.c: Likewise.
34265 * math/w_tgamma.c: Likewise.
34266 * math/w_tgammaf.c: Likewise.
34267 * math/w_tgammal.c: Likewise.
34268 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34270 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34271 Minor optimizations. Pretty printing. Remove cruft.
34272 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34273 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34274 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34275 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34276 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34277 * sysdeps/i386/fpu/e_asin.S: Likewise.
34278 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34279 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34280 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34281 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34282 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34283 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34284 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34285 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34286 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34287 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34288 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34289 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34290 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34291 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34292 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34293 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34294 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34295 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34296 * sysdeps/i386/fpu/e_log.S: Likewise.
34297 * sysdeps/i386/fpu/e_log10.S: Likewise.
34298 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34300 * sysdeps/i386/fpu/e_log2.S: Likewise.
34301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34302 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34303 * sysdeps/i386/fpu/e_logf.S: Likewise.
34304 * sysdeps/i386/fpu/e_logl.S: Likewise.
34305 * sysdeps/i386/fpu/e_pow.S: Likewise.
34306 * sysdeps/i386/fpu/e_powf.S: Likewise.
34307 * sysdeps/i386/fpu/e_powl.S: Likewise.
34308 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34309 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34310 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34311 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34312 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34313 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34314 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34315 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34316 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34325 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34326 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34327 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34328 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34330 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34337 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34338 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34339 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34340 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34341 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34342 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34343 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34344 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34345 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34346 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34347 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34348 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34349 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34350 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34351 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34352 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34353 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34354 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34355 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34357 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34358 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34359 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34360 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34361 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34362 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34363 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34364 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34365 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34366 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34367 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34368 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34369 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34370 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34371 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34372 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34373 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34374 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34376 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34377 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34378 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34381 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34382 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34383 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34386 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34387 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34388 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34391 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34396 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34400 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34401 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34402 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34403 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34405 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34408 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34409 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34410 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34411 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34412 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34413 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34414 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34415 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34416 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34417 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34418 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34419 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34420 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34422 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34424 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34425 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34426 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34427 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34428 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34429 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34430 (__isnanf): Likewise.
34431 (__isinf_ns): Likewise.
34432 (__isinf_nsf): Likewise.
34433 (__finite): Likewise.
34434 (__finitef): Likewise.
34435 (__ieee754_sqrt): Define as macro.
34436 (__ieee754_sqrtf): Define as macro.
34437 (__ieee754_sqrtl): Define as macro.
34438 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34439 inlined copy.
34440 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34441 __FINITE_MATH_ONLY__ consistent.
34442 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34443
12cc2fcd
AS
344442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34445
a843a204
AS
34446 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34447 of rawmemchr.
34448
12cc2fcd
AS
34449 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34450
c853acd5
UD
344512011-10-09 Ulrich Drepper <drepper@gmail.com>
34452
34453 * po/ja.po: Update from translation team.
34454
c658d255
RM
344552011-10-08 Roland McGrath <roland@hack.frob.com>
34456
110946e4
RM
34457 * locale/programs/locarchive.c (prepare_address_space): New function.
34458 (create_archive, enlarge_archive, open_archive): Use it.
34459
50604220
RM
34460 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34461 inside [SHARED], where it is used.
34462
c658d255
RM
34463 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34464
34465 * nss/getent.c (netgroup_keys): Remove unused variable.
34466 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34467
6a621eb7
UD
344682011-10-08 Ulrich Drepper <drepper@gmail.com>
34469
7edb55ce
UD
34470 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34471 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34473 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34474 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34475 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34476 * math/Makefile (libm-calls): Add s_isinf_ns.
34477 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34478 * math/multc3.c: Likewise.
34479 * math/s_casin.c: Likewise.
34480 * math/s_casinf.c: Likewise.
34481 * math/s_casinl.c: Likewise.
34482 * math/s_ccos.c: Likewise.
34483 * math/s_ccosf.c: Likewise.
34484 * math/s_ccosl.c: Likewise.
34485 * math/s_ctan.c: Likewise.
34486 * math/s_ctanf.c: Likewise.
34487 * math/s_ctanh.c: Likewise.
34488 * math/s_ctanhf.c: Likewise.
34489 * math/s_ctanhl.c: Likewise.
34490 * math/s_ctanl.c: Likewise.
34491 * math/w_fmod.c: Likewise.
34492 * math/w_fmodf.c: Likewise.
34493 * math/w_fmodl.c: Likewise.
34494 * math/w_remainder.c: Likewise.
34495 * math/w_remainderf.c: Likewise.
34496 * math/w_remainderl.c: Likewise.
34497 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34498 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34501 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34502 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34503 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34504 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34505
187da0ae
UD
34506 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34507 of the number.
34508 * stdio-common/printf_fphex.c: Likewise.
34509 * stdio-common/printf_size.c: Likewise.
34510
9277c064
UD
34511 * math/e_exp10.c: Include math_private.h using <...> not "...".
34512 * math/e_exp10f.c: Likewise.
34513 * math/e_exp10l.c: Likewise.
34514 * math/e_exp2l.c: Likewise.
34515 * math/e_j0l.c: Likewise.
34516 * math/e_j1l.c: Likewise.
34517 * math/e_jnl.c: Likewise.
34518 * math/e_lgammal_r.c: Likewise.
34519 * math/e_rem_pio2l.c: Likewise.
34520 * math/e_scalb.c: Likewise.
34521 * math/e_scalbf.c: Likewise.
34522 * math/e_scalbl.c: Likewise.
34523 * math/k_cosl.c: Likewise.
34524 * math/k_sinl.c: Likewise.
34525 * math/k_tanl.c: Likewise.
34526 * math/s_cacoshf.c: Likewise.
34527 * math/s_catan.c: Likewise.
34528 * math/s_catanf.c: Likewise.
34529 * math/s_catanh.c: Likewise.
34530 * math/s_catanhf.c: Likewise.
34531 * math/s_catanhl.c: Likewise.
34532 * math/s_catanl.c: Likewise.
34533 * math/s_ccosh.c: Likewise.
34534 * math/s_ccoshf.c: Likewise.
34535 * math/s_ccoshl.c: Likewise.
34536 * math/s_cexp.c: Likewise.
34537 * math/s_cexpf.c: Likewise.
34538 * math/s_cexpl.c: Likewise.
34539 * math/s_clog.c: Likewise.
34540 * math/s_clog10.c: Likewise.
34541 * math/s_clog10f.c: Likewise.
34542 * math/s_clog10l.c: Likewise.
34543 * math/s_clogf.c: Likewise.
34544 * math/s_clogl.c: Likewise.
34545 * math/s_csin.c: Likewise.
34546 * math/s_csinf.c: Likewise.
34547 * math/s_csinh.c: Likewise.
34548 * math/s_csinhf.c: Likewise.
34549 * math/s_csinhl.c: Likewise.
34550 * math/s_csinl.c: Likewise.
34551 * math/s_csqrt.c: Likewise.
34552 * math/s_csqrtf.c: Likewise.
34553 * math/s_csqrtl.c: Likewise.
34554 * math/s_ctan.c: Likewise.
34555 * math/s_ctanf.c: Likewise.
34556 * math/s_ctanh.c: Likewise.
34557 * math/s_ctanhf.c: Likewise.
34558 * math/s_ctanhl.c: Likewise.
34559 * math/s_ctanl.c: Likewise.
34560 * math/s_ldexp.c: Likewise.
34561 * math/s_ldexpf.c: Likewise.
34562 * math/s_ldexpl.c: Likewise.
34563 * math/s_significand.c: Likewise.
34564 * math/s_significandf.c: Likewise.
34565 * math/s_significandl.c: Likewise.
34566 * math/w_acos.c: Likewise.
34567 * math/w_acosf.c: Likewise.
34568 * math/w_acosh.c: Likewise.
34569 * math/w_acoshf.c: Likewise.
34570 * math/w_acoshl.c: Likewise.
34571 * math/w_acosl.c: Likewise.
34572 * math/w_asin.c: Likewise.
34573 * math/w_asinf.c: Likewise.
34574 * math/w_asinl.c: Likewise.
34575 * math/w_atan2.c: Likewise.
34576 * math/w_atan2f.c: Likewise.
34577 * math/w_atan2l.c: Likewise.
34578 * math/w_atanh.c: Likewise.
34579 * math/w_atanhf.c: Likewise.
34580 * math/w_atanhl.c: Likewise.
34581 * math/w_cosh.c: Likewise.
34582 * math/w_coshf.c: Likewise.
34583 * math/w_coshl.c: Likewise.
34584 * math/w_dremf.c: Likewise.
34585 * math/w_exp10.c: Likewise.
34586 * math/w_exp10f.c: Likewise.
34587 * math/w_exp10l.c: Likewise.
34588 * math/w_exp2.c: Likewise.
34589 * math/w_exp2f.c: Likewise.
34590 * math/w_fmod.c: Likewise.
34591 * math/w_fmodf.c: Likewise.
34592 * math/w_fmodl.c: Likewise.
34593 * math/w_hypot.c: Likewise.
34594 * math/w_hypotf.c: Likewise.
34595 * math/w_hypotl.c: Likewise.
34596 * math/w_j0.c: Likewise.
34597 * math/w_j0f.c: Likewise.
34598 * math/w_j0l.c: Likewise.
34599 * math/w_j1.c: Likewise.
34600 * math/w_j1f.c: Likewise.
34601 * math/w_j1l.c: Likewise.
34602 * math/w_jn.c: Likewise.
34603 * math/w_jnf.c: Likewise.
34604 * math/w_jnl.c: Likewise.
34605 * math/w_lgamma.c: Likewise.
34606 * math/w_lgamma_r.c: Likewise.
34607 * math/w_lgammaf.c: Likewise.
34608 * math/w_lgammaf_r.c: Likewise.
34609 * math/w_lgammal.c: Likewise.
34610 * math/w_lgammal_r.c: Likewise.
34611 * math/w_log.c: Likewise.
34612 * math/w_log10.c: Likewise.
34613 * math/w_log10f.c: Likewise.
34614 * math/w_log10l.c: Likewise.
34615 * math/w_log2.c: Likewise.
34616 * math/w_log2f.c: Likewise.
34617 * math/w_log2l.c: Likewise.
34618 * math/w_logf.c: Likewise.
34619 * math/w_logl.c: Likewise.
34620 * math/w_pow.c: Likewise.
34621 * math/w_powf.c: Likewise.
34622 * math/w_powl.c: Likewise.
34623 * math/w_remainder.c: Likewise.
34624 * math/w_remainderf.c: Likewise.
34625 * math/w_remainderl.c: Likewise.
34626 * math/w_scalb.c: Likewise.
34627 * math/w_scalbf.c: Likewise.
34628 * math/w_scalbl.c: Likewise.
34629 * math/w_sinh.c: Likewise.
34630 * math/w_sinhf.c: Likewise.
34631 * math/w_sinhl.c: Likewise.
34632 * math/w_sqrt.c: Likewise.
34633 * math/w_sqrtf.c: Likewise.
34634 * math/w_sqrtl.c: Likewise.
34635 * math/w_tgamma.c: Likewise.
34636 * math/w_tgammaf.c: Likewise.
34637 * math/w_tgammal.c: Likewise.
34638
6a621eb7
UD
34639 * po/ja.po: Update from translation team.
34640
bf582445
AJ
346412011-09-29 Andreas Jaeger <aj@suse.de>
34642
f9efbf3a
AJ
34643 [BZ #13179]
34644 * sunrpc/netname.c (netname2host): Fix logic.
34645
bf582445
AJ
34646 [BZ #6779]
34647 [BZ #6783]
34648 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34649 correctly.
34650 * math/w_remainder.c (__remainder): Likewise.
34651 * math/w_remainderf.c (__remainderf): Likewise.
34652 * math/libm-test.inc (remainder_test): Add test cases.
34653
48693bea
AK
346542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34655
34656 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34657 sdiv_qrnnd.
34658
42622229
LD
346592011-10-07 Ulrich Drepper <drepper@gmail.com>
34660
34661 * string/test-memcmp.c: Avoid unncessary #defines.
34662 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34663
093ecf92
LD
346642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34665
34666 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34667 Use new sse2 version for core i3 - i7 as it's faster
34668 than sse42 version.
34669 (bit_Prefer_PMINUB_for_stringop): New.
34670 * sysdeps/x86_64/rawmemchr.S: Update.
34671 Replace with faster SSE2 version.
34672 * sysdeps/x86_64/memrchr.S: New file.
34673 * sysdeps/x86_64/memchr.S: Update.
34674 Replace with faster SSE2 version.
34675
fde56e5c
MP
346762011-09-12 Marek Polacek <mpolacek@redhat.com>
34677
34678 * elf/dl-load.c (lose): Add cast to avoid warning.
34679
21fd49a9
UD
346802011-10-07 Ulrich Drepper <drepper@gmail.com>
34681
5a06e643
UD
34682 * po/ca.po: Update from translation team.
34683
684ae515
UD
34684 * inet/getnetgrent_r.c: Hook up nscd.
34685 * nscd/Makefile (routines): Add nscd_netgroup.
34686 (nscd-modules): Add netgroupcache.
34687 (CFLAGS-netgroupcache.c): Define.
34688 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34689 (cache_search): Add const to second parameter.
34690 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34691 INNETGR.
34692 (dbs): Add netgrdb entry.
34693 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34694 (verify_persistent_db): Handle netgrdb.
34695 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34696 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34697 GETFDNETGR.
34698 (netgroup_response_header): Define.
34699 (innetgroup_response_header): Define.
34700 (datahead): Add netgroup_response_header and innetgroup_response_header
34701 elements.
34702 * nscd/nscd.conf: Add entries for netgroup cache.
34703 * nscd/nscd.h (dbtype): Add netgrdb.
34704 (_PATH_NSCD_NETGROUP_DB): Define.
34705 (netgroup_iov_disabled): Declare.
34706 (xmalloc, xcalloc, xrealloc): Move declarations here.
34707 (cache_search): Adjust prototype.
34708 Add netgroup-related prototypes.
34709 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34710 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34711 (__nscd_innetgr): Declare.
34712 * nscd/selinux.c (perms): Use access_vector_t as element type and
34713 add netgroup-related initializers.
34714 * nscd/netgroupcache.c: New file.
34715 * nscd/nscd_netgroup.c: New file.
34716 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34717 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34718 For four parameters use innetgr.
34719 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34720 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34721 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34722 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34723
21fd49a9
UD
34724 * nscd/connections.c (register_traced_file): Don't register file
34725 for disabled databases.
34726
054c0457
UD
347272011-10-06 Ulrich Drepper <drepper@gmail.com>
34728
32b63198
UD
34729 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34730
054c0457
UD
34731 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34732 from tree and freeing node.
34733
64031225
JO
347342011-09-25 Jiri Olsa <jolsa@redhat.com>
34735
34736 * nss/nsswitch.c (__nss_database_lookup): Handle
34737 nss_parse_service_list out of memory case.
34738
0490345c
JO
347392011-09-15 Jiri Olsa <jolsa@redhat.com>
34740
34741 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34742 out of memory case.
34743
3a62d00d
AS
347442011-10-04 Andreas Schwab <schwab@redhat.com>
34745
34746 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34747 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34748 pass it down.
34749 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34750 elf_machine_rela, elf_machine_lazy_rel.
34751 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34752 (ELF_DYNAMIC_DO_REL): Likewise.
34753 (ELF_DYNAMIC_DO_RELA): Likewise.
34754 (ELF_DYNAMIC_RELOCATE): Likewise.
34755 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34756 to ELF_DYNAMIC_DO_REL.
34757 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34758 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34759 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34760 elf_machine_rela.
34761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34762 skip_ifunc, don't call ifunc function if non-zero.
34763 (elf_machine_rela): Likewise.
34764 (elf_machine_lazy_rel): Likewise.
34765 (elf_machine_lazy_rela): Likewise.
34766 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34767 (elf_machine_lazy_rel): Likewise.
34768 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34769 Likewise.
34770 (elf_machine_lazy_rel): Likewise.
34771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34772 Likewise.
34773 (elf_machine_lazy_rel): Likewise.
34774 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34775 (elf_machine_lazy_rel): Likewise.
34776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34777 (elf_machine_lazy_rel): Likewise.
34778 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34779 (elf_machine_lazy_rel): Likewise.
34780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34781 (elf_machine_lazy_rel): Likewise.
34782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34783 (elf_machine_lazy_rel): Likewise.
34784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34785 (elf_machine_lazy_rel): Likewise.
34786
68577918
UD
347872011-09-28 Ulrich Drepper <drepper@gmail.com>
34788
34789 * nss/nss_files/files-init.c (_nss_files_init): Use static
34790 initialization for all the *_traced_file variables.
34791
68822d74
AS
347922011-09-28 Andreas Schwab <schwab@redhat.com>
34793
34794 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34795
2056100b
RM
347962011-09-27 Roland McGrath <roland@hack.frob.com>
34797
34798 [BZ #13226]
34799 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34800
32c76b63
AS
348012011-09-27 Andreas Schwab <schwab@redhat.com>
34802
34803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34804 Reread the line before reparsing it.
34805
bf972c9d
AS
348062011-09-26 Andreas Schwab <schwab@redhat.com>
34807
34808 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34809
e057a1b5
JM
348102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34811 Maxim Kuvyrkov <maxim@codesourcery.com>
34812 Joseph Myers <joseph@codesourcery.com>
34813
34814 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34815 if needed for __stack_chk_guard.
34816
bc7e1c36
RM
348172011-09-19 Roland McGrath <roland@hack.frob.com>
34818
ecb1482f
RM
34819 * sysdeps/posix/spawni.c (script_execute): Always define it.
34820 It will be optimized away if unused.
34821 (maybe_script_execute): New function.
34822 (__spawni): Call it.
34823
bc7e1c36
RM
34824 * Makerules: Don't include tls.make.
34825 (config-tls): Always set to thread.
34826 * tls.make.c: File removed.
34827
1c3b002b
MF
348282011-09-19 Mike Frysinger <vapier@gentoo.org>
34829
34830 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34831 * config.make.in (CPPFLAGS-config): New substituted variable.
34832
2840865d
UD
348332011-09-15 Ulrich Drepper <drepper@gmail.com>
34834
88738eb6
UD
34835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34836
cbf645a6 34837 [BZ #13192]
2840865d
UD
34838 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34839 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34840
b402e91a
RM
348412011-09-15 Roland McGrath <roland@hack.frob.com>
34842
34843 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34844 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34846 (CALL_FAIL): Likewise.
34847 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34848 (CALL_FAIL): Macro removed.
34849 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34850
4c1a1f71
UD
348512011-09-15 Ulrich Drepper <drepper@gmail.com>
34852
34853 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34854 for __FINITE_MATH_ONLY__ == 1.
34855
edc121be
AS
348562011-09-15 Andreas Schwab <schwab@redhat.com>
34857
34858 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34859 __ieee754_sqrt instead of sqrt.
34860 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34861 __ieee754_sqrtf instead of sqrtf.
34862 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34863 __floorf instead of floorf.
34864 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34865 __floorf, __truncf instead of floorf, truncf.
34866
cd205654
UD
348672011-09-14 Ulrich Drepper <drepper@gmail.com>
34868
ee4d0315
UD
34869 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34870
cd205654
UD
34871 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34872 __extern_always_inline.
34873 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34874 32-bit.
34875
48b67d71
AS
348762011-09-14 Andreas Schwab <schwab@redhat.com>
34877
34878 * elf/rtld.c (dl_main): Also relocate in dependency order when
34879 doing symbol dependency testing.
34880
1ae12c75
AS
348812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34882
34883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34884 Always define `refsym'.
34885
995a80df
AS
348862011-09-13 Andreas Schwab <schwab@redhat.com>
34887
e529793b
AS
34888 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34889 (__FD_ELT): Renamed from __FDELT.
34890 * misc/bits/select2.h (__FD_ELT): Likewise.
34891 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34892 __FD_MASK instead of __FDELT, __FDMASK.
34893 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34894 Likewise.
34895 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34896 Likewise.
34897
52d4fef8
AS
34898 * elf/Makefile (gen-ldd): Fix pattern.
34899
995a80df
AS
34900 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34901 (init_tls): Likewise.
34902
8682f8b0
UD
349032011-09-12 Ulrich Drepper <drepper@gmail.com>
34904
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34906
de82006d
AS
349072011-09-12 Andreas Schwab <schwab@redhat.com>
34908
a7c8e6a1
AS
34909 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34910 `struct cmsghdr *' instead of `void *'.
34911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34912 Likewise.
34913
0f31fe77
AS
349142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34915
34916 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34917 if non-absolute.
34918 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34919 ldd_rewrite_script.
0f31fe77 34920
32b4c839
UD
349212011-09-11 Ulrich Drepper <drepper@gmail.com>
34922
83cd1420
UD
34923 * configure.in: Remove --with-tls option.
34924 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34925 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34926 out in case it is missing.
34927 * sysdeps/ia64/elf/configure.in: Likewise.
34928 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34929 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34930 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34931 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34932 * sysdeps/sh/elf/configure.in: Likewise.
34933 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34934 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34935 * sysdeps/x86_64/elf/configure.in: Likewise.
34936 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34937 * sysdeps/mach/hurd/tls.h: Likewise.
34938
633f745d
UD
34939 [BZ #13067]
34940 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34941
f318beb8
UD
34942 [BZ #13090]
34943 * configure.in: Fix use of AC_INIT.
34944
32b4c839
UD
34945 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34946
3ce1f295
UD
349472011-09-10 Ulrich Drepper <drepper@gmail.com>
34948
bb016596
UD
34949 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34950 __set_errno.
8e58439c
UD
34951 * malloc/hooks.c: Likewise.
34952
aebae053 34953 [BZ #11929]
02d46fc4
UD
34954 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34955 variables statically.
34956 (narenas): Initialize.
34957 (list_lock): Initialize.
bb016596
UD
34958 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34959 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34960 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34961 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34962 Add initializers to main_arena and mp_.
34963 (malloc_state): Remove pagesize member. Change all users to use
34964 GLRO(dl_pagesize).
34965
34966 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34967 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34968 is always initialized.
34969
22a89187
UD
34970 * malloc/malloc.c: Removed unused configurations and dead code.
34971 * malloc/arena.c: Likewise.
34972 * malloc/hooks.c: Likewise.
02d46fc4 34973 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34974
d063d164
UD
34975 * include/tls.h: Removed. USE___THREAD must always be defined.
34976 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34977 * elf/dl-libc.c: Likewise.
34978 * elf/dl-tsd.c: Likewise.
34979 * include/errno.h: Likewise.
34980 * include/netdb.h: Likewise.
34981 * include/resolv.h: Likewise.
34982 * inet/herrno-loc.c: Likewise.
34983 * inet/herrno.c: Likewise.
34984 * malloc/arena.c: Likewise.
34985 * malloc/hooks.c: Likewise.
34986 * malloc/malloc.c: Likewise.
34987 * resolv/res-state.c: Likewise.
34988 * resolv/res_libc.c: Likewise.
34989 * sysdeps/i386/dl-machine.h: Likewise.
34990 * sysdeps/ia64/dl-machine.h: Likewise.
34991 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34992 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34993 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34994 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34995 * sysdeps/sh/dl-machine.h: Likewise.
34996 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34997 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34998 * sysdeps/unix/i386/sysdep.S: Likewise.
34999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35000 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35002 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35005 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35009 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35010 * sysdeps/x86_64/dl-machine.h: Likewise.
35011 * tls.make.c: Likewise.
35012
3ce1f295
UD
35013 * configure.in: Remove --with-__thread option. Make tests for
35014 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35015 tls_model attribute fail if no support is available. Remove
35016 USE_IN_LIBIO.
35017 * Makeconfig: Adjust for dropped configure option. All features are
35018 now mandatory.
35019 * Makerules: Likewise.
35020 * Versions.def: Likewise.
35021 * argp/argp-fmtstream.c: Likewise.
35022 * argp/argp-fmtstream.h: Likewise.
35023 * argp/argp-help.c: Likewise.
35024 * assert/assert.c: Likewise.
35025 * config.h.in: Likewise.
35026 * config.make.in: Likewise.
35027 * configure: Likewise.
35028 * configure.in: Likewise.
35029 * csu/Versions: Likewise.
35030 * csu/init.c: Likewise.
35031 * elf/tst-audit2.c: Likewise.
35032 * elf/tst-tls10.c: Likewise.
35033 * elf/tst-tls10.h: Likewise.
35034 * elf/tst-tls11.c: Likewise.
35035 * elf/tst-tls12.c: Likewise.
35036 * elf/tst-tls14.c: Likewise.
35037 * elf/tst-tlsmod11.c: Likewise.
35038 * elf/tst-tlsmod12.c: Likewise.
35039 * elf/tst-tlsmod13.c: Likewise.
35040 * elf/tst-tlsmod13a.c: Likewise.
35041 * elf/tst-tlsmod14a.c: Likewise.
35042 * elf/tst-tlsmod15b.c: Likewise.
35043 * elf/tst-tlsmod16a.c: Likewise.
35044 * elf/tst-tlsmod16b.c: Likewise.
35045 * elf/tst-tlsmod7.c: Likewise.
35046 * elf/tst-tlsmod8.c: Likewise.
35047 * elf/tst-tlsmod9.c: Likewise.
35048 * gmon/gmon.c: Likewise.
35049 * grp/fgetgrent_r.c: Likewise.
35050 * grp/putgrent.c: Likewise.
35051 * hurd/fopenport.c: Likewise.
35052 * include/libc-symbols.h: Likewise.
35053 * include/tls.h: Likewise.
35054 * intl/gettextP.h: Likewise.
35055 * intl/loadinfo.h: Likewise.
35056 * locale/global-locale.c: Likewise.
35057 * locale/localeinfo.h: Likewise.
35058 * mach/devstream.c: Likewise.
35059 * malloc/arena.c: Likewise.
35060 * malloc/set-freeres.c: Likewise.
35061 * misc/err.c: Likewise.
35062 * misc/getttyent.c: Likewise.
35063 * misc/mntent_r.c: Likewise.
35064 * posix/getopt.c: Likewise.
35065 * posix/wordexp.c: Likewise.
35066 * pwd/fgetpwent_r.c: Likewise.
35067 * resolv/Versions: Likewise.
35068 * resolv/res_hconf.c: Likewise.
35069 * shadow/fgetspent_r.c: Likewise.
35070 * shadow/putspent.c: Likewise.
35071 * stdio-common/printf_fphex.c: Likewise.
35072 * stdio-common/tmpfile.c: Likewise.
35073 * stdlib/abort.c: Likewise.
35074 * stdlib/fmtmsg.c: Likewise.
35075 * sunrpc/auth_unix.c: Likewise.
35076 * sunrpc/clnt_perr.c: Likewise.
35077 * sunrpc/clnt_tcp.c: Likewise.
35078 * sunrpc/clnt_udp.c: Likewise.
35079 * sunrpc/clnt_unix.c: Likewise.
35080 * sunrpc/openchild.c: Likewise.
35081 * sunrpc/svc_simple.c: Likewise.
35082 * sunrpc/svc_tcp.c: Likewise.
35083 * sunrpc/svc_udp.c: Likewise.
35084 * sunrpc/svc_unix.c: Likewise.
35085 * sunrpc/xdr.c: Likewise.
35086 * sunrpc/xdr_array.c: Likewise.
35087 * sunrpc/xdr_rec.c: Likewise.
35088 * sunrpc/xdr_ref.c: Likewise.
35089 * sunrpc/xdr_stdio.c: Likewise.
35090
1248c1c4
PB
350912011-09-09 Ulrich Drepper <drepper@gmail.com>
35092
35093 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35094
350952011-07-03 Andreas Jaeger <aj@suse.de>
35096
35097 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35098 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35099 regenerate with gen-libm-tests.pl.
35100
351012010-05-12 Petr Baudis <pasky@suse.cz>
35102
35103 [BZ #11589]
35104 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35105 around j0() zero points by switching to j1().
35106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35110
f22e1074
UD
351112011-09-09 Ulrich Drepper <drepper@gmail.com>
35112
f19009c1
UD
35113 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35114 instead of 0.
35115 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35116 instead of 0.
f19009c1
UD
35117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35118 Patch in part by Pavel Roskin <proski@gnu.org>.
35119
3f8cc204
UD
35120 [BZ #13138]
35121 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35122 realloc.
35123 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35124 Free memory block if necessary.
35125
f22e1074
UD
35126 [BZ #12847]
35127 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35128 be NULL. Don't lock in this case.
35129
0a2349f9
RM
351302011-09-09 Roland McGrath <roland@hack.frob.com>
35131
35132 * elf/elf.h (ELFOSABI_GNU): New macro.
35133 (ELFOSABI_LINUX): Define to that.
35134
f3cdd467
DZ
351352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35136
35137 * string/strncat.c (strncat): Undef the symbol in case it has been
35138 defined in bits/string.h.
35139
74718d13
UD
351402011-09-09 Ulrich Drepper <drepper@gmail.com>
35141
633e9e0f
UD
35142 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35143
0a2349f9 35144 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35145 link map.
35146
f9924780
AJ
351472011-08-17 Andreas Jaeger <aj@suse.de>
35148
35149 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35150
7f5517aa
PP
351512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35152 Ian Lance Taylor <iant@google.com>
35153
35154 * math/libm-test.inc (lround_test): New testcase.
35155 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35156
762011fe
UD
351572011-09-08 Ulrich Drepper <drepper@gmail.com>
35158
92963737
UD
35159 * Makefile: Remove support for automatic cvs check-ins.
35160 * Makerules: Likewise.
35161 * config.make.in: Likewise.
35162 * configure.in: Likewise.
35163 * intl/Makefile: Likewise.
35164 * locale/Makefile: Likewise.
35165 * po/Makefile: Likewise.
35166 * posix/Makefile: Likewise.
35167 * sysdeps/gnu/Makefile: Likewise.
35168 * sysdeps/mach/hurd/Makefile: Likewise.
35169 * sysdeps/sparc/sparc32/Makefile: Likewise.
35170
b0727fd8
JS
35171 [BZ #13118]
35172 * posix/Makefile (bug-regex32-ENV): Define.
35173 Patch by John Stanley <jpsinthemix@verizon.net>.
35174
a0f33f99
UD
35175 * misc/Makefile (headers): Add bits/select2.h.
35176 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35177 * misc/bits/select2.h: New file.
35178 * include/bits/select2.h: New file.
35179 * debug/Makefile (routines): Add fdelt_chk.
35180 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35181 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35182 FD_ISSET.
35183 * debug/fdelt_chk.c: New file.
35184
762011fe
UD
35185 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35186 * wcsmbs/test-wmemcmp.c: Likewise.
35187 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35188 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35189
351902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35191
35192 * string/Makefile (strop-tests): Add memcmp.
35193 * string/test-wmemcmp.c: New file.
35194 * string/test-memcmp.c: Add wmemcmp support.
35195
7f513ec8
RM
351962011-09-08 Roland McGrath <roland@hack.frob.com>
35197
0442afb4
RM
35198 [BZ #13153]
35199 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35200 2011-07-19 change.
35201
7f513ec8
RM
35202 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35203 garbage value in a __mach_port_mod_refs call in the cases of the
35204 task-self and thread-self ports.
35205
a12b2239
ST
352062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35207
35208 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35209
610f9ab4
AS
352102011-09-08 Andreas Schwab <schwab@redhat.com>
35211
7f513ec8 35212 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35213
48882a1a
LD
352142011-09-07 Ulrich Drepper <drepper@gmail.com>
35215
b49865be
UD
35216 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35217
fdc86bc9
UD
35218 * elf/dl-libc.c (dlerror_run): Pass back error code from
35219 dl_catch_error.
35220
c966526a
UD
35221 [BZ #13123]
35222 * elf/dl-load.c (lose): Free l_origin if it is valid.
35223
48882a1a
LD
35224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35225 names.
35226 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35227 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35230 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35231 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35232
77a2a8b4
AZ
352332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35234
35235 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35236 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35238 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35239 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35240 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35241 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35242 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35243 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35244 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35245
24f579d8
AM
352462011-08-15 Alan Modra <amodra@gmail.com>
35247
35248 [BZ #13092]
35249 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35250 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35251 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35252 ppc_mcount to static-only-routines.
35253 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35254 __mcount_internal.
35255 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35256 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35257
3d4837df
UD
352582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35259
35260 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35261 for finite and infinity parameters.
35262
22700377
WS
352632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35264
35265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35266 and add nop instructions for throughput optimization.
35267 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35268
5025581e
WS
352692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35270
35271 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35272 aligned copy for power7 with vector-scalar instructions.
35273 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35274
08a300c9
L
352752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35276
35277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35278 AVX check.
35279
59178ef9
AS
352802011-09-07 Andreas Schwab <schwab@redhat.com>
35281
35282 [BZ #13144]
35283 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35284 last change.
35285
e38ba7ab
UD
352862011-09-07 Ulrich Drepper <drepper@gmail.com>
35287
35288 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35289 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35290 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35291 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35292 clock_gettime.
35293
d53a73ac
UD
352942011-09-06 Ulrich Drepper <drepper@gmail.com>
35295
fc8bffcc
UD
35296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35297 Forgot to demangle the pointer.
35298
ceaa0c5d
UD
35299 * sysdeps/i386/sysdep.h: Define atom_text_section.
35300 * sysdeps/x86_64/sysdep.h: Likewise.
35301 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35302 section with atom_text_section.
35303 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35304 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35305 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35307 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35308
a77d3c17
UD
35309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35310 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35311 already be defined. Change to take two parameters and don't assign
35312 result to variable. Adjust all users.
35313 Define INTERNAL_GETTIME if not already defined.
35314 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35315 call.
35316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35317 HAVE_CLOCK_GETTIME_VSYSCALL.
35318 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35319
d53a73ac
UD
35320 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35321 gettimeofday vsyscall, just use time.
35322
a8f84144
AS
353232011-09-06 Andreas Schwab <schwab@redhat.com>
35324
35325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35326 <errno.h>.
35327
ef606249
UD
353282011-09-06 Ulrich Drepper <drepper@gmail.com>
35329
35330 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35331 syscall on x86-64.
35332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35333 syscall.
35334 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35336 syscall if possible.
35337
6585cb60
UD
353382011-09-05 Ulrich Drepper <drepper@gmail.com>
35339
35340 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35341 e_ident. Don't pass to find_mapsXX.
35342 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35343
a5f524e4
LD
353442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35345
35346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35347 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35348 * sysdeps/x86_64/multiarch/strchr.S: Update.
35349 Check bit_slow_BSF bit.
35350 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35351 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35352 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35353
554881ef
UD
353542011-09-05 Ulrich Drepper <drepper@gmail.com>
35355
d96de963
UD
35356 [BZ #13134]
35357 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35358 before glibc 2.15.
35359 (tryshell): Define.
35360 (__spawni): Change last parameter to be flag. Test
35361 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35362 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35363 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35364 * posix/spawni.c: Likewise.
35365 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35366 * posix/spawnp.c: Likewise. Change normal version to use
35367 SPAWN_XFLAGS_USE_PATH.
35368 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35369 SPAWN_XFLAGS_TRY_SHELL.
35370
d48e5868
UD
35371 [BZ #13150]
35372 * posix/glob.h: Remove gcc 1.x support.
35373
554881ef
UD
35374 [BZ #13068]
35375 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35376
693fb948
LD
353772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35378
35379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35380 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35381 strrchr-sse2-bsf
35382 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35383 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35384 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35385 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35386 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35387 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35388
1b48c537
UD
353892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35390
49d42c37
UD
35391 * sysdeps/x86_64/wcscmp.S: New file.
35392
1b48c537
UD
35393 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35394 wcscmp-c wcscmp-sse2
35395 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35396 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35397 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35398 * wcsmbs/wcscmp.c: Allow renaming.
35399
15c95c5d
DM
354002011-09-05 David S. Miller <davem@davemloft.net>
35401
35402 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35403 stack slot, rather than the struct return pointer slot.
35404 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35405 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35407 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35408
2f0ad8f3
UD
354092011-09-05 Ulrich Drepper <drepper@gmail.com>
35410
d88ae418
UD
35411 * po/ja.po: Update from translation team.
35412
2f0ad8f3
UD
35413 [BZ #13144]
35414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35415 kernel in 64-bit binaries.
35416
5f4318d1
DM
354172011-09-01 David S. Miller <davem@davemloft.net>
35418
35419 * elf/elf.h (HWCAP_SPARC_*): Move to..
35420 * sysdeps/sparc/sysdep.h: this new file and add new values.
35421 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35422 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35423 _DL_HWCAP_COUNT to 24.
35424 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35425 entries.
35426 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35427 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35428 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35430 instead of magic constants.
35431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35432
3ba57516
DM
354332011-08-31 David S. Miller <davem@davemloft.net>
35434
35435 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35437 Reimplement to do errno handling inline.
35438 (SYSCALL_ERROR_HANDLER): New macro.
35439 (__SYSCALL_STRING): Do not do errno handling in asm.
35440 (__CLONE_SYSCALL_STRING): Delete.
35441 (__INTERNAL_SYSCALL_STRING): Delete.
35442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35443 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35444 (PSEUDO): Reimplement to do errno handling inline.
35445 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35446 (SYSCALL_ERROR_HANDLER): New macro.
35447 (__SYSCALL_STRING): Do not do errno handling in asm.
35448 (__CLONE_SYSCALL_STRING): Delete.
35449 (__INTERNAL_SYSCALL_STRING): Delete.
35450 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35451 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35452 i386.
35453 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35454 (inline_syscall*): Add 'err' argument.
35455 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35456 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35457 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35458 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35459
35460 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35461 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35462
2bc17433
AS
354632011-08-30 Andreas Schwab <schwab@redhat.com>
35464
35465 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35466
fbeb5f4d
JO
354672011-08-29 Jiri Olsa <jolsa@redhat.com>
35468
35469 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35470 directive.
35471
ad69cc26
DM
354722011-08-24 David S. Miller <davem@davemloft.net>
35473
35474 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35475
39dd69df
AS
354762011-08-24 Andreas Schwab <schwab@redhat.com>
35477
35478 * elf/Makefile: Add rules to build and run unload8 test.
35479 * elf/unload8.c: New file.
35480 * elf/unload8mod1.c: New file.
35481 * elf/unload8mod1x.c: New file.
35482 * elf/unload8mod2.c: New file.
35483 * elf/unload8mod3.c: New file.
35484
35485 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35486 it wasn't used.
35487
2c0b250a
DM
354882011-08-23 David S. Miller <davem@davemloft.net>
35489
35490 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35491 subtract stack bias.
35492 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35493 %sp not %fp in calculations.
35494 (_JMPBUF_UNWINDS_ADJ): Likewise.
35495
22044b48
DM
35496 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35497 (aio_suspend): Call it to force an exception region around the
35498 AIO_MISC_WAIT() invocation.
35499
2cae4995
AS
355002011-08-23 Andreas Schwab <schwab@redhat.com>
35501
35502 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35503 backslash.
35504
873a772e
AJ
355052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35506
35507 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35508 protection macro.
35509 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35510 and <dl-machine.h>.
35511 (Elf64_FuncDesc): Remove.
35512
25ad0df1
DM
355132011-08-22 David S. Miller <davem@davemloft.net>
35514
35515 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35516 sigaltstack check, add missing cfi directives.
35517 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35518 missing cfi directives, and sigaltstack handling.
35519
e888bcbe
AS
355202011-08-16 Andreas Schwab <schwab@redhat.com>
35521
35522 [BZ #11724]
35523 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35524 object is seen twice.
35525 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35526
35527 * elf/Makefile (distribute): Add tst-initorder2.c.
35528 (tests): Add tst-initorder2.
35529 (modules-names): Add tst-initorder2a tst-initorder2b
35530 tst-initorder2c tst-initorder2d. Add rules to build them.
35531 ($(objpfx)tst-initorder2.out): New rule.
35532 * elf/tst-initorder2.c: New file.
35533 * elf/tst-initorder2.exp: New file.
35534
87162f46
AS
355352011-08-22 Andreas Schwab <schwab@redhat.com>
35536
70538b7f
AS
35537 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35538
f55ffe58
AS
35539 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35540 dependencies back to end of function.
35541
87162f46
AS
35542 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35543 $(elfobjdir)/ld.so.
35544
91b392a4
UD
355452011-08-21 Ulrich Drepper <drepper@gmail.com>
35546
35547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35548 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35550 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35551 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35552 of __vdso_gettimeofday.
35553 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35554 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35555 attribute_hidden.
35556 (_libc_vdso_platform_setup): Remove initialization of
35557 __vdso_gettimeofday and __vdso_time.
35558
5c43483f
UD
355592011-08-20 Ulrich Drepper <drepper@gmail.com>
35560
775a77e7
UD
35561 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35562 and fgetc_unlocked.
35563 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35564 getc_unlocked.
89f447ed 35565
49c74ba9
UD
35566 * elf/dl-open.c (add_to_global): Report additions to the global scope
35567 for LD_DEBUG=scopes.
35568 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 35569 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 35570
5c43483f
UD
35571 [BZ #13114]
35572 * stdio-common/Makefile (tests): Add bug24.
35573 * stdio-common/bug24.c: New file.
35574
a101b025
AJ
355752011-08-19 Andreas Jaeger <aj@suse.de>
35576
35577 [BZ #13114]
35578 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35579 non-existant file when using close-on-exec mode.
35580
c88f1766
UD
355812011-08-20 Ulrich Drepper <drepper@gmail.com>
35582
0276a718
UD
35583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35584 the very first instruction.
35585
c88f1766
UD
35586 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35587 the CFI state in the end.
35588 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35589 inclusion of dl-trampoline.h.
35590 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35591
51ccffa0
AS
355922011-08-19 Andreas Schwab <schwab@redhat.com>
35593
94d7165f
AS
35594 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35595 expectations for long double.
35596
51ccffa0
AS
35597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35598 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35599
fd708658 356002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
35601
35602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35603 artificual limit depends upon the system page size.
35604
44f0a71e
UD
356052011-08-17 Ulrich Drepper <drepper@gmail.com>
35606
35607 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35608 * resolv/Makefile: Define CFLAGS-libresolv.
35609
8de79a24
AS
356102011-08-17 Andreas Schwab <schwab@redhat.com>
35611
35612 * nss/makedb.c (compute_tables): Make variables used in nested
35613 function static.
35614
27724598
UD
356152011-08-17 Ulrich Drepper <drepper@gmail.com>
35616
c5305d88
UD
35617 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35618 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35619 if buffer was too small.
35620
27724598
UD
35621 * elf/pldd.c (main): Attach to all threads in the process.
35622 Rewrite /proc handling to use *at functions.
35623
076fe015
UD
356242011-08-16 Ulrich Drepper <drepper@gmail.com>
35625
174baab3
UD
35626 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35627 specifies first scope to show.
35628 (dl_open_worker): Update callers. Move printing scope of new
35629 object to before the relocation.
44f0a71e 35630 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
35631 * sysdeps/generic/ldsodefs.h: Update declaration.
35632
076fe015
UD
35633 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35634 string for the scope number.
35635
a60df2c3
UD
356362011-08-14 Ulrich Drepper <drepper@gmail.com>
35637
35638 * nscd/servicescache.c (cache_addserv): Make sure written is always
35639 initialized.
35640
5e4287d1
RM
356412011-08-14 Roland McGrath <roland@hack.frob.com>
35642
85ae0589
RM
35643 * sysdeps/i386/i486/bits/atomic.h
35644 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35645 statement expression, so as to suppress "set but not used" warning.
35646 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35647
69f63097
RM
35648 * string/strncat.c (STRNCAT): Use prototype definition.
35649
675456ef
RM
35650 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35651 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35652 -Iprograms here.
35653 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35654 (localedef-modules): Add localedef.
35655 (locale-modules): Add locale.
35656
5e4287d1
RM
35657 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35658 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35659 to avoid a warning.
35660
9c96ff23
DM
356612011-08-14 David S. Miller <davem@davemloft.net>
35662
35663 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35664 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35665
f9ddf089
UD
356662011-08-13 Ulrich Drepper <drepper@gmail.com>
35667
44f0a71e 35668 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
35669 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35670 * elf/rtld.c (dl_main): Set l_name of vDSO.
35671 Call _dl_show_scope when DL_DEBUG_SCOPES.
35672 (process_dl_debug): Recognize scopes flag and also set it for all.
35673 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35674 Declare _dl_show_scope.
35675
1dc27704
UD
35676 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35677 (do_dlopen): Pass caller_dlopen to dl_open.
35678 (__libc_dlopen_mode): Initialize caller_dlopen.
35679
f9ddf089
UD
35680 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35681 of libc. Make tolower call locale-independent. Optimize a bit by
35682 using isdigit instead of isalnum.
35683 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35684
9ac533d3
UD
356852011-08-12 Ulrich Drepper <drepper@gmail.com>
35686
35687 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35688 was a dependency or dynamically loaded.
35689
89edf2e9
UD
356902011-08-11 Ulrich Drepper <drepper@gmail.com>
35691
8e999d29
UD
35692 * intl/l10nflist.c: Allow architecture-specific pop function.
35693 * sysdeps/x86_64/l10nflist.c: New file.
35694
89edf2e9
UD
35695 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35696 classification.
35697
14d96785
AS
356982011-08-10 Andreas Schwab <schwab@redhat.com>
35699
35700 * include/dirent.h: Add libc_hidden_proto for scandirat and
35701 scandirat64. Don't declare __scandirat64.
35702 * dirent/scandirat.c: Add libc_hidden_def.
35703 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35704 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35705
6761ac04
DM
357062011-08-10 David S. Miller <davem@davemloft.net>
35707
35708 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35709 enum.
35710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35713
c55fbd1e
UD
357142011-08-09 Ulrich Drepper <drepper@gmail.com>
35715
35716 * Versions.def [libc]: Add GLIBC_2.15.
35717 * dirent/Makefile (routines): Add scandirat and scandirat64.
35718 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35719 GLIBC_2.15.
35720 * dirent/dirent.h: Declare scandirat and scandirat64.
35721 * dirent/scandirat.c: New file.
35722 * dirent/scandirat64.c: New file.
35723 * sysdeps/wordsize-64/scandirat.c: New file.
35724 * sysdeps/wordsize-64/scandirat64.c: New file.
35725 * dirent/opendir.c: Define opendirat.
35726 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35727 using scandirat.
35728 * dirent/scandir64.c: Adjust for scandir.c change.
35729 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35730 __scandirat64, and __scandir_cancel_handler.
35731 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35732 additional parameter and use openat instead of open (outside of ld.so).
35733 Add new __opendir as wrapper around __opendirat.
35734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35735 here without requiring old scandirat implementation.
35736
879165f2
UD
357372011-08-08 Ulrich Drepper <drepper@gmail.com>
35738
35739 * dirent/scandir.c (cancel_handler): Renamed to
35740 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35741 defined. Adjust users.
35742 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35744
cb7e923b
UD
357452011-08-04 Ulrich Drepper <drepper@gmail.com>
35746
16292edd
UD
35747 * string/test-string.h (IMPL): Use __STRING to expand name and then
35748 stringify it.
35749
cb7e923b
UD
35750 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35751 of cleanups.
35752
cff82933
LD
357532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35754
35755 * string/Makefile: Update.
35756 (strop-tests): Append strncat.
35757 * string/test-wcscmp.c: New file.
35758 New comprehensive test for wcscmp.
35759 * string/test-strcmp.c: Update.
35760 (WIDE): New define.
35761
9be9bfcc
AS
357622011-07-22 Andreas Schwab <schwab@redhat.com>
35763
35764 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35765 line.
35766
2e96f1c7
AS
357672011-07-26 Andreas Schwab <schwab@redhat.com>
35768
35769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35770 encoding to ACE if AI_IDN.
35771
85188888
JJ
357722011-08-01 Jakub Jelinek <jakub@redhat.com>
35773
35774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35775 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35776
5fa16e9b
LD
357772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35778
35779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35780 Fix overflow bug in strncat.
35781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35782
35783 * string/test-strncat.c: Update.
35784 Add new tests for checking overflow bugs.
35785
357862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35787
35788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35789 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35790 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35791 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35792 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35793 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35794 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35795 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35796 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35797
35798 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35799 (USE_AS_STRCAT): Define.
35800 Add strcat and strncat support.
35801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35802
8c1a459f
AS
358032011-07-25 Andreas Schwab <schwab@redhat.com>
35804
35805 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35806 __n bigger than INT_MAX+1.
35807 (__strncmp_g): Likewise.
35808
bba33c28
UD
358092011-07-23 Ulrich Drepper <drepper@gmail.com>
35810
798be72d
UD
35811 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35812 * libio/stido.h: Likewise.
35813
8accd4dc
UD
35814 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35815 (AF_NFC): Define.
35816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35817 (AF_NFC): Define.
35818
cbff0d96
UD
35819 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35824
9191c04a
UD
35825 [BZ #13021]
35826 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35827 installed.
35828
bba33c28
UD
35829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35830 typo.
35831 (_dl_x86_64_save_sse): Likewise.
35832
90f139dd
UD
358332011-07-22 Ulrich Drepper <drepper@gmail.com>
35834
1aae088a
UD
35835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35836 OSXSAVE.
35837 (_dl_x86_64_save_sse): Likewise.
35838
8e2045f5
UD
35839 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35840
90f139dd
UD
35841 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35842
1d002f25
AS
358432011-07-21 Andreas Schwab <schwab@redhat.com>
35844
35845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35846 change.
35847 (_dl_x86_64_save_sse): Use correct AVX check.
35848
21137f89
UD
358492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35850
35851 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35852 bug in strncpy/strncat.
35853 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35854
a65c0b7a
UD
358552011-07-21 Ulrich Drepper <drepper@gmail.com>
35856
35857 * string/tester.c (test_strcat): Add tests for different alignments
35858 of source and destination.
35859 (test_strncat): Likewise.
35860
6986b98a
UD
358612011-07-20 Ulrich Drepper <drepper@gmail.com>
35862
90bb2039
UD
35863 [BZ #12852]
35864 * posix/glob.c (glob): Check passed in values before using them in
35865 expressions to avoid some overflows.
35866 (glob_in_dir): Likewise.
35867
5644ef54
UD
35868 [BZ #13007]
35869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35870 check for AVX enablement so that we don't crash with old kernels and
35871 new hardware.
35872 * elf/tst-audit4.c: Add same checks here.
35873 * elf/tst-audit6.c: Likewise.
35874
35875 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35876
bfc9dc9b
AS
358772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35878
35879 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35880
702e64bb
UD
358812011-07-20 Ulrich Drepper <drepper@gmail.com>
35882
35883 * po/cs.po: Update from translation team.
35884 * po/bg.po: Likewise.
35885
295e904f
MP
358862011-07-12 Marek Polacek <mpolacek@redhat.com>
35887
35888 * misc/sys/cdefs.h: Add support for const attribute.
35889 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35890 to gnu_dev_{major,minor,makedev} functions.
35891
3ff94596
MP
358922011-07-20 Marek Polacek <mpolacek@redhat.com>
35893
35894 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35895
28b59fca
AS
358962011-07-20 Andreas Schwab <schwab@redhat.com>
35897
35898 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35899 strlen results.
35900
19df733e
AK
359012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35902
35903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35904 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35905 register in order to avoid conflicts with the soft frame pointer
35906 being held in r11 when necessary.
35907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35908 (INTERNAL_VSYSCALL_NCS): Likewise.
35909
c8835729
MP
359102011-07-14 Marek Polacek <mpolacek@redhat.com>
35911
35912 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35913 * elf/dl-fini.c (_dl_fini): Adjust caller.
35914 * elf/dl-close.c (_dl_close_worker): Likewise.
35915 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35916
b902330c
MP
359172011-07-15 Marek Polacek <mpolacek@redhat.com>
35918
8991e135
MP
35919 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35920 "aux_cache->nlibs < 0".
35921
b902330c
MP
35922 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35923 in the reload-count case.
35924
99710781
LD
359252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35926
35927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35928 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35929 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35930 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35931 * sysdeps/x86_64/multiarch/strcat.S: New file.
35932 * sysdeps/x86_64/multiarch/strncat.S: New file.
35933 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35935 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35936 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35938 (USE_AS_STRCAT): Define.
35939 Add strcat and strncat support.
35940 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35942 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35943 * string/strncat.c: Update.
35944 (USE_AS_STRNCAT): Define.
35945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35946 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35947 and i7.
35948 * sysdeps/x86_64/multiarch/init-arch.h
35949 (bit_Prefer_PMINUB_for_stringop): New.
35950 (index_Prefer_PMINUB_for_stringop): Likewise.
35951 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35952 bit_Prefer_PMINUB_for_stringop.
35953
7dc6bd90
UD
359542011-07-19 Ulrich Drepper <drepper@gmail.com>
35955
35956 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35957 buffer64.
35958 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35959 of casting of buffer.
35960 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35961 buffer32 and buffer64.
35962 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35963 writes instead of casting of buffer.
35964 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35965 buffer32.
35966 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35967 casting of buffer.
35968
e0e72284
AS
359692011-07-19 Andreas Schwab <schwab@redhat.com>
35970
35971 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35972
feb1eb0b
UD
359732011-07-19 Ulrich Drepper <drepper@gmail.com>
35974
35975 * nscd/nscd.c (termination_handler): Don't do anything for a database
35976 if it has not yet been initialized.
35977
298711ff
UD
359782011-07-18 Ulrich Drepper <drepper@gmail.com>
35979
35980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35981
359822011-07-15 Marek Polacek <mpolacek@redhat.com>
35983
35984 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35985
f9d68389
UD
359862011-07-18 Ulrich Drepper <drepper@gmail.com>
35987
35988 * po/nl.po: Update from translation team.
35989 * po/sv.po: Likewise.
35990
db290cf5
RM
359912011-07-16 Roland McGrath <roland@hack.frob.com>
35992
35993 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35994 now disallowed by GCC.
5c550700 35995
fd5e21c7
RM
35996 * configure.in (use-default-link): Default to yes if a test -shared
35997 link meets our qualifications.
35998 * configure: Regenerated.
35999
5c550700
RM
36000 * config.make.in (output-format): New variable.
36001 * configure.in: Check for ld --print-output-format support.
36002 * configure: Regenerated.
36003 * Makerules ($(common-objpfx)format.lds)
36004 [$(output-format) != unknown]: Just use $(output-format),
36005 instead of the linker-script munging.
36006
9fa2c032
RM
360072011-07-14 Roland McGrath <roland@hack.frob.com>
36008
a6928d51
RM
36009 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36010 of $(common-objpfx)shlib.lds.
36011 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36012
661607b3
RM
36013 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36014 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36015
9fa2c032
RM
36016 * configure.in (-z relro check): Adjust test code to add a large
36017 writable data section after it.
36018 * configure: Regenerated.
36019
defe9061
RM
360202011-07-11 Roland McGrath <roland@hack.frob.com>
36021
36022 * configure.in (-z relro check): Fix test code to make the variable
36023 truly const.
36024 * configure: Regenerated.
36025
319b9ad4
UD
360262011-07-11 Ulrich Drepper <drepper@gmail.com>
36027
36028 * nscd/nscd.h (struct traced_file): Define.
36029 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36030 elements. Add traced_files.
36031 (inotify_fd): Declare.
36032 (register_traced_file): Declare.
36033 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36034 (inotify_fd): Export.
36035 (resolv_conf_descr): Remove.
36036 (nscd_init): Move inotify descriptor creation to main.
36037 Don't register files for notification here.
36038 (register_traced_file): New function.
36039 (invalidate_cache): Don't use reset_res to determine whether to call
36040 res_init, go through the list of registered files.
36041 (main_loop_poll): The inotify descriptors are now stored in the
36042 structures for the traced files.
36043 (main_loop_epoll): Likewise
36044 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36045 to __nss_disable_nscd.
36046 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36047 for a database anymore. Check the records for all the registered
36048 files instead.
36049 * nss/Makefile (libnss_files-routines): Add files-init.
36050 (libnss_db-routines): Add db-init.
36051 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36052 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36053 * nss/nss_db/db-init.c: New file.
36054 * nss/nss_files/files-init.c: New file.
36055 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36056 __nss_lookup_function.
36057 (__nss_lookup_function): Call nss_load_library.
36058 (nss_load_all_libraries): New function.
36059 (__nss_disable_nscd): Take parameter with callback function for files
36060 to register. Set is_nscd. Load all the DSOs for the NSS modules
36061 used for the cached services.
36062 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36063 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36064 options for features to all the files in nscd.
36065
36066 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36067
23bee3e8
RM
360682011-07-10 Roland McGrath <roland@hack.frob.com>
36069
36070 * csu/elf-init.c (__libc_csu_init): Comment typo.
36071
46a5b7f0
UD
360722011-07-09 Ulrich Drepper <drepper@gmail.com>
36073
36074 * po/pl.po: Update from translation team.
36075 * po/ja.po: Likewise.
36076 * po/ru.po: Likewise.
36077 * po/ko.po: Likewise.
36078 * po/fr.po: Likewise.
36079
d30cf5bb
RM
360802011-07-09 Roland McGrath <roland@hack.frob.com>
36081
113ddea4
RM
36082 * configure.in (.ctors/.dtors header and trailer check):
36083 Use an empirical test on a built program.
36084 * configure: Regenerated.
36085
574920b4
RM
36086 * configure.in (-z relro check): Use an empirical test on a built DSO.
36087 Detect, but do not require, on ia64.
36088 * configure: Regenerated.
36089
d30cf5bb
RM
36090 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36091 Update tests that use readelf to use $READELF instead.
36092 * configure: Regenerated.
36093
8538fdb3
UD
360942011-07-08 Ulrich Drepper <drepper@gmail.com>
36095
36096 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36097 if the result is not used.
36098
04d08991
AJ
360992011-07-05 Andreas Jaeger <aj@suse.de>
36100
36101 [BZ#9696]
36102 * stdlib/tst-strtod.c: Add testcase.
36103
de283087
AD
361042011-07-07 Ulrich Drepper <drepper@gmail.com>
36105
4e5f31c8 36106 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36107 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36108 The latter has a higher limit. Take additional parameter to pass to
36109 the new function.
36110 (__pathconf): Pass file to __statfs_link_max.
36111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36112 __statfs_link_max.
36113 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36114 __statfs_link_max.
36115
de283087
AD
36116 [BZ #12868]
36117 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36119 Handle Lustre.
36120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36121 (__statfs_filesize_max): Likewise.
36122 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36123
c75fa153
AJ
361242011-07-05 Andreas Jaeger <aj@suse.de>
36125
36126 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36127
1a544854
UD
361282011-07-06 Marek Polacek <mpolacek@redhat.com>
36129
36130 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36131 `status' variable.
36132 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36133 Likewise.
36134
6f0eec67
UD
361352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36136
36137 * Makefile (strop-tests): Add strncat.
36138 * string/test-strncat.c: New file.
36139
aae30307
UD
361402011-06-30 Marek Polacek <mpolacek@redhat.com>
36141
36142 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36143
c0cfb5eb
UD
361442011-06-21 Andreas Jaeger <aj@suse.de>
36145
36146 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36147 Copy rule from iconvdata/Makefile.
36148
01636b21
UD
361492011-07-06 Ulrich Drepper <drepper@gmail.com>
36150
36151 [BZ #12922]
36152 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36153 but no long options are defined, just return 'W'.
36154
9895c8bc
UD
361552011-06-22 Marek Polacek <mpolacek@redhat.com>
36156
36157 [BZ #9696]
36158 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36159
5d4cf042
UD
361602011-07-06 Ulrich Drepper <drepper@gmail.com>
36161
36162 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36163 netgroups to read.
960e5535 36164 (innetgr): Likewise.
5d4cf042 36165
751eb97e
RM
361662011-07-05 Roland McGrath <roland@hack.frob.com>
36167
36168 * config.make.in (install_root): Default to $(DESTDIR).
36169
f15f1e45
UD
361702011-07-05 Ulrich Drepper <drepper@gmail.com>
36171
36172 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36173
4e34ac6a
RM
361742011-07-02 Roland McGrath <roland@hack.frob.com>
36175
5e9b6af4
RM
36176 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36177
84f9ea0f
RM
36178 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36179 containing directory rather than embedding absolute directory names.
36180
ea5ee9f7
RM
36181 * scripts/check-local-headers.sh: Rewritten using awk.
36182 Match by word, not by line. Print error messages for matches.
36183 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36184
1b74661a
RM
36185 * Makerules [shlib-lds-flags empty]:
36186 ($(common-objpfx)libc_pic.opts): New target.
36187 ($(common-objpfx)libc_pic.os.clean): New target.
36188 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36189
36190 * config.make.in (OBJCOPY): New variable.
36191 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36192 * configure: Regenerated.
36193
f781ef40
RM
36194 * config.make.in (use-default-link): New variable.
36195 * configure.in (use_default_link): Grok --with-default-link to set it.
36196 * configure: Regenerated.
36197 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36198 (shlib-lds, shlib-lds-flags): Define to empty.
36199
2d4fa81e
RM
36200 * Makerules (shlib-lds): New variable.
36201 (shlib-lds-flags): New variable.
36202 (build-shlib, build-moduile, build-module-asneeded): Use it.
36203 ($(common-objpfx)libc.so): Use $(shlib-lds).
36204 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36205 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36206
31fffa6b
RM
36207 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36208 DT_FLAGS/DT_FLAGS_1 with zero flags.
36209
4e34ac6a
RM
36210 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36211 linker script munging.
36212
fcfc776b
UD
362132011-07-02 Ulrich Drepper <drepper@gmail.com>
36214
36215 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36216 as 128-bit value.
36217 * crypt/sha512.c (sha512_process_block): Perform total addition using
36218 128-bit if possible.
36219 (__sha512_finish_ctx): Likewise.
36220 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36221 as 64-bit value.
36222 * crypt/sha256.c (SWAP64): Define.
36223 (sha256_process_block): Perform total addition using 64-bit if
36224 possible.
36225 (__sha256_finish_ctx): Likewise.
36226
99231d9a
UD
362272011-07-01 Ulrich Drepper <drepper@gmail.com>
36228
36229 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36231 * nscd/hstcache.c (cache_addhst): Likewise.
36232 * nscd/grpcache.c (cache_addgr): Likewise.
36233 * nscd/aicache.c (addhstaiX): Likewise
36234 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36235
445b4a53
TK
362362011-07-01 Thorsten Kukuk <kukuk@suse.de>
36237
36238 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36240 * nscd/hstcache.c (cache_addhst): Likewise.
36241 * nscd/grpcache.c (cache_addgr): Likewise.
36242 * nscd/aicache.c (addhstaiX): Likewise
36243
6d4d8e8e
AS
362442011-07-01 Andreas Schwab <schwab@redhat.com>
36245
36246 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36247 domain only when needed.
36248
89f654c5
AS
362492011-06-30 Andreas Schwab <schwab@redhat.com>
36250
36251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36252 is always restored.
36253
cf3b23ff
UD
362542011-06-29 Ulrich Drepper <drepper@gmail.com>
36255
36256 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36257 are re-adding the entry.
36258 * nscd/servicescache.c (cache_addserv): Likewise.
36259
751626f9
AJ
362602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36261
36262 * sysdeps/generic/dl-irel.h: fix protection against multiple
36263 inclusions.
36264 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36265
9113ea1f
UD
362662011-06-28 Ulrich Drepper <drepper@gmail.com>
36267
5c0b8d90
UD
36268 [BZ #12935]
36269 * malloc/memusage.sh: Fix quoting in message.
36270 * debug/xtrace.sh: Likewise.
36271
9113ea1f
UD
36272 * configure.in: Remove support for --experimental-malloc option, make
36273 it the default.
36274 * config.make.in: Likewise.
36275 * malloc/Makefile: Likewise.
36276
a4172181
AS
362772011-06-27 Andreas Schwab <schwab@redhat.com>
36278
36279 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36280 two-byte characters.
36281
78a7eee7
RM
362822011-06-27 Roland McGrath <roland@hack.frob.com>
36283
62bede13
RM
36284 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36285 AC_CACHE_CHECK invocation.
36286 * configure: Regenerated.
36287
78a7eee7
RM
36288 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36289
5ce33a62
UD
362902011-06-27 Ulrich Drepper <drepper@gmail.com>
36291
034807a9
UD
36292 [BZ #12350]
36293 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36294 bit from old_res_options.
36295
4902da17
UD
36296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36297
5ce33a62
UD
36298 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36299 value type for setfct.
36300
c2344f56
L
363012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36302
36303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36304 __gettimeofday instead of gettimeofday.
36305
68468076
UD
363062011-06-26 Ulrich Drepper <drepper@gmail.com>
36307
36308 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36309
acb0d739
L
363102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36311
36312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36313
36314 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36315 info.
36316
8912479f
L
363172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36318
36319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36320 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36321 strcpy-sse2-unaligned strncpy-sse2-unaligned
36322 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36323 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36324 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36325 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36326 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36329 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36330 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36331 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36332 (STRCPY): Support SSE2 and SSSE3 versions.
36333
d5495a11
UD
363342011-06-24 Ulrich Drepper <drepper@gmail.com>
36335
36336 [BZ #12874]
36337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36338 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36339 kernels which artificially limit size of requests.
36340
0b1cbaae
L
363412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36342
36343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36344 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36345 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36346 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36347 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36348 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36349 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36350 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36351 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36353 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36354 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36355 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36356 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36357 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36359 Enable unaligned load optimization for Intel Core i3, i5 and i7
36360 processors.
36361 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36362 Define.
36363 (index_Fast_Unaligned_Load): Define.
36364 (HAS_FAST_UNALIGNED_LOAD): Define.
36365
07f494a0
MP
363662011-06-23 Marek Polacek <mpolacek@redhat.com>
36367
36368 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36369
fa3fc0fe
UD
363702011-06-22 Ulrich Drepper <drepper@gmail.com>
36371
36372 [BZ #12907]
36373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36374 until it is clear that the information is realy needed.
36375 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36376
e12df166
AS
363772011-06-22 Andreas Schwab <schwab@redhat.com>
36378
36379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36380
852eb34d
UD
363812011-06-22 Ulrich Drepper <drepper@gmail.com>
36382
84e2a551
UD
36383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36384 /sys/devices/system/cpu/online if it is usable.
36385
852eb34d
UD
36386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36387 reading the information from the /proc filesystem to once a second.
36388
6e502e19
UD
363892011-06-21 Andreas Jaeger <aj@suse.de>
36390
36391 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36392 NULL after inclusion of kernel headers.
36393
75d39ff2
UD
363942011-06-21 Ulrich Drepper <drepper@gmail.com>
36395
51f9aa6a
UD
36396 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36397 calls to internal_setent.
36398
c0244a9d
UD
36399 [BZ #12885]
36400 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36401 addresses using gethostbyname4_r ignore IPv4 addresses.
36402
c5e3c2ae
UD
36403 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36404 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36405
75d39ff2
UD
36406 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36407
42675c6f
DM
364082011-06-20 David S. Miller <davem@davemloft.net>
36409
36410 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36411 inclusions.
36412 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36413
36414 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36415 (elf_irel): Use it.
36416 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36417 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36418 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36419 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36420 * sysdeps/x86_64/dl-irel.h: Likewise.
36421
36422 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36423 * elf/dl-sym.c: Likewise.
36424
57912a71
UD
364252011-06-15 Ulrich Drepper <drepper@gmail.com>
36426
36427 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36428 need to dereference resplen2.
36429
ee22793d
AS
364302011-06-14 Andreas Schwab <schwab@redhat.com>
36431
36432 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36433
a9e836b0
UD
364342011-06-15 Ulrich Drepper <drepper@gmail.com>
36435
77fb9117
UD
36436 * Makeconfig: Define vardbdir and inst_vardbdir.
36437 * nss/Makefile: Add rules to install db-Makefile.
36438
40c1b22c
UD
36439 * nss/nss_db/db-XXX.c: Cleanup.
36440
9f2da732
UD
36441 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36442 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36443 GLIBC_PRIVATE.
36444 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36445 * nss/makedb.c: Implement -g option to specify that value strings
36446 are generated and should not be added to table iterated over for
36447 get*ent calls.
36448 * nss/nss_db/db-initgroups.c: New file.
36449
82e9a1f7
UD
36450 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36451 interface.
36452
c41af17e
UD
36453 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36454 (internal_getgrouplist): Adjust to name change.
36455 Update use_initgroups_entry if this is not the first call.
36456 * nss/databases.def: Add initgroups entry.
36457
a9e836b0
UD
36458 * nss/makedb.c (compute_tables): Check result of multiple hash table
36459 sizes to minimize maximum chain length.
36460
2666d441
UD
364612011-06-14 Ulrich Drepper <drepper@gmail.com>
36462
36463 * Versions.def: Add entry for libnss_db.
36464 * shlib-versions: Likewise.
36465 * nss/Makefile: Add rules to build libnss_db.
36466 * nss/Versions: Add libnss_db information. Organize libnss_files
36467 entries better.
36468 * nss/db-Makefile: Add gshadow support. Change rules for the new
36469 makedb progra. Some minor improvements to generate smaller files.
36470 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36471 here from...
36472 * nss/makedb.c: ...here.
36473 Improve database format to be smaller and require less memory at
36474 runtime.
36475 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36476 db anymore.
36477 * nss/nss_db/db-netgrp.c: Likewise.
36478 * nss/nss_db/db-open.c: Likewise.
36479 * nss/nss_files/flies-XXX.x: Adjust comments.
36480 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36481 * nss/nss_files/files-grp.c: Likewise.
36482 * nss/nss_files/files-hosts.c: Likewise.
36483 * nss/nss_files/files-network.c: Likewise.
36484 * nss/nss_files/files-proto.c: Likewise.
36485 * nss/nss_files/files-pwd.c: Likewise.
36486 * nss/nss_files/files-rpc.c: Likewise.
36487 * nss/nss_files/files-service.c: Likewise.
36488 * nss/nss_files/files-sgrp.c: Likewise.
36489 * nss/nss_files/files-spwd.c: Likewise.
36490 * nss/nss_db/db-alias.c: Removed.
36491 * nss/nss_db/dummy-db.h: Removed.
36492
9ee76b5a
UD
364932011-06-02 Ulrich Drepper <drepper@gmail.com>
36494
36495 * nss/makedb.c: Rewritten to not use database library.
36496 * nss/Makefile: Update to build new makedb program.
36497
c71ca1f8
AJ
364982011-06-14 Andreas Jaeger <aj@suse.de>
36499
36500 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36501 memset declaration.
36502
3154bfb8
UD
365032011-06-10 Andreas Schwab <schwab@redhat.com>
36504
36505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36506 tmpbuf.
36507
b350afab
RM
365082011-06-10 Roland McGrath <roland@hack.frob.com>
36509
decd4e50
RM
36510 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36511 * elf/Makefile ($(objpfx)ld.so): Likewise.
36512
5615eaf2
RM
36513 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36514 Don't list ld.so twice in dependencies.
36515
36516 * posix/bug-regex31.c: Include <stdlib.h>.
36517
36518 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36519
36520 * nis/nss_compat/compat-spwd.c
36521 (getspent_next_nss_netgr): Remove unused variable.
36522 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36523
36524 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36525 nonmembers" output to use the right array.
36526
36527 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36528
36529 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36530
36531 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36532 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36533 * catgets/gencat.c (read_input_file): Likewise.
36534 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36535
36536 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36537 variable definition inside #if's controlling its use.
36538
36539 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36540
36541 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36542
36543 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36544
36545 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36546 unreachable code.
36547
36548 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36549
b68e08db
RM
36550 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36551 * configure: Regenerated.
36552
b350afab
RM
36553 * Makerules: Revert last change.
36554 * elf/Makefile: Likewise.
36555
28368601
RM
365562011-06-09 Roland McGrath <roland@hack.frob.com>
36557
36558 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36559 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36560 (reloc-link): Likewise.
36561
11988f8f
UD
365622011-06-09 Ulrich Drepper <drepper@gmail.com>
36563
36564 * elf/Makefile: Add rules to build pldd.
36565 * elf/pldd.c: New file.
36566 * elf/pldd-xx.c: New file.
36567
e80fab37
UD
365682011-06-07 Ulrich Drepper <drepper@gmail.com>
36569
36570 * version.h: Update for 2.15 development version.
36571
9b849836
DM
365722011-06-07 David S. Miller <davem@davemloft.net>
36573
36574 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36575 ifuncs.
36576 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36577 elf_machine_lazy_rel): Likewise.
36578 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36580 elf_machine_lazy_rel): Likewise.
36581 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36582 dl_hwcap via passed in argument.
36583 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36584 Likewise.
36585
5a31b283
AK
365862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36587
36588 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36589
069e52f8
RM
365902011-06-06 Roland McGrath <roland@hack.frob.com>
36591
36592 [BZ #12849]
36593 * manual/fdl-1.1.texi: New file, verbatim from:
36594 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36595 * manual/lgpl-2.1.texi: New file, verbatim from:
36596 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36597 * manual/Makefile (licenses): New variable, list those new file names.
36598 (texis): Use it.
36599 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36600
36601 * manual/fdl.texi: File removed.
36602 * manual/lesser.texi: File removed.
36603 * manual/libc.texinfo (Copying, Documentation License):
36604 Use new @include file names, put @appendix directive before @include.
36605
f16846a5
JJ
366062011-06-04 Jakub Jelinek <jakub@redhat.com>
36607
36608 [BZ #12841]
36609 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36610 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36611 (mq_open): Add __NTH.
36612
3d29045b
L
366132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36614
36615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36616 Assume Intel Core i3/i5/i7 processor if AVX is available.
36617
8c297311
UD
366182011-05-31 Ulrich Drepper <drepper@gmail.com>
36619
36620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36621 typo.
36622
c8fc0c91
UD
366232011-05-31 Andreas Schwab <schwab@redhat.com>
36624
36625 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36626 memory. Use alloca_account. Fix memory leak when retrying.
36627
5b27a807
UD
366282011-05-31 Ulrich Drepper <drepper@gmail.com>
36629
356f8bc6
UD
36630 * version.h (RELEASE): Bump for 2.14 release.
36631 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36632
5b27a807
UD
36633 * config.make.in (RANLIB): Remove entry.
36634
01f16ab0
UD
366352011-05-30 Ulrich Drepper <drepper@gmail.com>
36636
41fce8bd
UD
36637 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36638 (libc.pot): Work around missing support for .ksh extension in xgettext.
36639
4769ae77
UD
36640 [BZ #12684]
36641 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36642 if both request failed.
36643 (send_dg): In case of server errors clear resplen or *resplen2.
36644
6b1e7d19
UD
36645 [BZ #12454]
36646 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36647 when there are multiple maps.
36648 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36649 (_dl_fini): Remove test here.
36650
01f16ab0
UD
36651 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36652
b1ebd700
UD
366532011-05-29 Ulrich Drepper <drepper@gmail.com>
36654
7ae22829
UD
36655 [BZ #12350]
36656 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36657 bit from old_res_options.
36658 (gaih_inet): Likewise.
36659
553149f6 36660 [BZ #11099]
18a84741 36661 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
36662 as signed.
36663
652ffab1
UD
36664 * resolv/res_init.c (res_setoptions): Make the code more compact.
36665
16985fd0
UD
36666 [BZ #11558]
36667 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36668 set RES_USEVC.
36669
0464f746
UD
36670 [BZ #11634]
36671 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36672
7d17596c
UD
36673 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36674
cf6bbbd7
UD
36675 [BZ #11781]
36676 * malloc/malloc.h: Declare malloc hook variables as volatile.
36677
13f1ab36
UD
36678 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36679 in last patch.
36680
b1ebd700
UD
36681 [BZ #11799]
36682 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 36683 raise in the comment.
80e2212d
UD
36684 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36685 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36686 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 36687
ce67228d
UD
366882011-05-28 Ulrich Drepper <drepper@gmail.com>
36689
8887a920
UD
36690 [BZ #12811]
36691 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36692 grow the buffers more if it already has to be sufficient.
36693 (build_wcs_upper_buffer): Likewise.
36694 * posix/regexec.c (check_matching): Likewise.
36695 (clean_state_log_if_needed): Likewise.
36696 (extend_buffers): Don't enlarge buffers beyond size of the input
36697 buffer.
36698 Patches mostly by Emil Wojak <emil@wojak.eu>.
36699 * posix/bug-regex32.c: New file.
36700 * posix/Makefile (tests): Add bug-regex32.
36701
4f031072
UD
36702 * locale/findlocale.c (_nl_find_locale): Return right away if
36703 _nl_explode_name failed.
36704 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36705
d0478f0c
UD
36706 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36707
de81b246
UD
36708 * debug/xtrace.sh: Unify messages.
36709 * malloc/memusage.sh: Likewise.
36710
c738465a
UD
36711 [BZ #12813]
36712 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36713 time symbol from vDSO. Substitute with vsyscall if not available.
36714 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36715 __vdso_time.
36716
f1f929d7
UD
36717 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36718 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36719 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36720 Add sendmmsg and internal_sendmmsg.
36721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36722 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36723 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36724
ce67228d
UD
36725 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36726 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36728
e57420c6
UD
367292011-05-27 Ulrich Drepper <drepper@gmail.com>
36730
a8509ca5
UD
36731 [BZ #12813]
36732 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36733 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36734 available.
36735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36736 __vdso_getcpu.
36737
e57420c6
UD
36738 [BZ #12814]
36739 * iconvdata/Makefile (tests): Add bug-iconv9.
36740 * iconvdata/bug-iconv9.c: New file.
36741
4d07db15
AS
367422011-05-27 Andreas Schwab <schwab@redhat.com>
36743
36744 [BZ #12814]
36745 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36746
ea486f69
JJ
367472011-05-25 Jakub Jelinek <jakub@redhat.com>
36748
36749 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36750 (struct user_regs_struct): Change intcs field back to cs.
36751
6f038433
UD
367522011-05-25 Ulrich Drepper <drepper@gmail.com>
36753
36754 * po/ja.po: Update from translation team.
36755
67f86a25
UD
367562011-05-23 Ulrich Drepper <drepper@gmail.com>
36757
36758 [BZ #12795]
36759 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36761
def7fbd6
AS
367622011-05-20 Andreas Schwab <schwab@redhat.com>
36763
36764 * stdlib/longlong.h: Update from GCC.
36765
f50ef8f1
AS
367662011-05-23 Andreas Schwab <schwab@redhat.com>
36767
36768 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36769 parameter name.
36770 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36771 Add parameter name.
36772 (__sysconf): Pass it down.
36773
de7ce8f1
UD
367742011-05-22 Ulrich Drepper <drepper@gmail.com>
36775
f2962a71
UD
36776 [BZ #12671]
36777 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36778 some situations.
36779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36780 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36781 add in in __libc_use_alloca calls. Adjust callers.
36782 (glob): Use malloc in some situations.
36783
de7ce8f1
UD
36784 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36785 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36786 pltexit.
36787
aec84f53
UD
367882011-05-21 Ulrich Drepper <drepper@gmail.com>
36789
05bb4a68
UD
36790 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36791 and CLOCK_BOOTTIME_ALARM.
36792
7ea72f99
UD
36793 [BZ #12782]
36794 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36795 is returned.
36796
7e4afad5
UD
36797 * string/_strerror.c (__strerror_r): Print negative errors as signed
36798 numbers.
36799
8e211fec
UD
36800 [BZ #12777]
36801 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36802 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36803 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36804
f7d82dc9
UD
36805 * configure.in: Fix typo in redirection and correct removal of test
36806 files in two cases.
36807
cc9e536d
UD
36808 [BZ #12788]
36809 * locale/setlocale.c (new_composite_name): Fix test to check for
36810 identical name of all categories.
36811
aec84f53
UD
36812 [BZ #12792]
36813 * libio/filedoalloc.c (local_isatty): New function.
36814 (_IO_file_doallocate): Use local_isatty.
36815 * stdio-common/perror.c (perror): In case a new stream is used
36816 forward the stream error.
36817 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36818 error flag.
36819
78e64fdc
RT
368202011-05-20 Ulrich Drepper <drepper@gmail.com>
36821
34a9094f
UD
36822 [BZ #11869]
36823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36824 alloca.
36825 * include/alloca.h (extend_alloca_account): Define.
36826
78e64fdc
RT
36827 [BZ #11857]
36828 * posix/regex.h: Fix comments with documentation of user-accessible
36829 fields after compilation and describe correct free'ing of pattern
36830 after re_compile_pattern.
36831 Patch by Reuben Thomas <rrt@sc3d.org>.
36832
457bddfc
RA
368332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36834
36835 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36836 and -mno-altivec to prevent the compiler from using Altivec and/or
36837 VSX instructions when the corresponding registers are not available.
36838
a4527b51
AS
368392011-05-19 Andreas Schwab <schwab@redhat.com>
36840
36841 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36842
ed690b2f
UD
368432011-05-19 Ulrich Drepper <drepper@gmail.com>
36844
36845 * libio/freopen.c (freopen): Use __dup2, not dup2.
36846 * libio/freopen64.c (freopen64): Likewise.
36847
8db73634
L
368482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36849
36850 [BZ #12775]
36851 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36852 * math/Makefile (tests): Add test-powl.
36853 (CFLAGS-test-powl.c): Define.
36854 * math/test-powl.c: New file.
36855
0a197a9d
L
368562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36859
ee30c380
UD
368602011-05-17 Ulrich Drepper <drepper@gmail.com>
36861
36862 [BZ #11837]
36863 * iconvdata/gb18030.c: Update to GB18020-2005.
36864
6ce75379
UD
368652011-05-16 Ulrich Drepper <drepper@gmail.com>
36866
a4b89fd8
AR
36867 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36868 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36869 Patch by Aharon Robbins <arnold@skeeve.com>.
36870
ea389b12
UD
36871 [BZ #11892]
36872 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36873 on the stack.
36874
68a3f91f
UD
36875 [BZ #11895]
36876 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36877 through underflows.
36878
15cc7dd1
UD
36879 [BZ #12766]
36880 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36881 point to strings before performing equality test for error_one_per_line
36882 mode.
36883
f3799213
UD
36884 [BZ #11697]
36885 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36886
d79a9c94
UD
36887 [BZ #11820]
36888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36889 (struct user_fpregs_struct): Avoid __uint*_t types.
36890
56e5eb46
UD
36891 [BZ #6420]
36892 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36893 symbol info. Use it instead of calling _dl_addr locally.
36894 (lock_and_info): New function.
36895 (tr_freehook): Call lock_and_info and pass symbol info as additional
36896 parameter to tr_where.
36897 (tr_mallochook): Likewise.
36898 (tr_reallochook): Likewise.
36899 (tr_memalignhook): Likewise.
36900
6ce75379
UD
36901 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36902 used and couldn't be at all thread-safe.
36903
f8a3b5bf
UD
369042011-05-15 Ulrich Drepper <drepper@gmail.com>
36905
94b7cc37
UD
36906 * libio/freopen.c (freopen): Don't close old file descriptor
36907 before the new one is opened. Instead dup the new file descriptor
36908 to the old one after the new stream is created.
36909 * libio/freopen64.c (freopen64): Likewise.
36910 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36911 * libio/fileops.c (_IO_new_file_close_it): Handle new
36912 _IO_FLAGS2_NOCLOSE flag.
36913 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36914 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36915 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36916 _IO_FLAGS2_NOCLOSE flag.
36917 * include/unistd.h: Add hidden_proto for dup3.
36918 Define __have_dup3.
36919 * io/dup3.c: Define hidden symbol.
36920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36921
bd25564e
UD
36922 [BZ #7101]
36923 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36924 when an incomplete long option is used.
36925 * posix/tst-getopt_long1.c: New file.
36926 * posix/Makefile (tests): Add tst-getopt_long1.
36927
c84cfef4
UD
36928 [BZ #10138]
36929 * scripts/config.guess: Update from autoconf-2.68.
36930 * scripts/config.sub: Likewise.
36931
3b85df27
UD
36932 [BZ #10157]
36933 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36934 tests into ...
36935 (has_cpuclock): ...this. New function.
36936 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36937 macro here based on has_cpuclock code.
36938
15a856b1
UD
36939 [BZ #10149]
36940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36941 First byte (not low byte) is now always NUL.
36942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36943
05f399e6
UD
36944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36945 Use non-cancelable interfaces.
36946
10a52685 36947 [BZ #9809]
94ecc67d
UD
36948 * locale/iso-639.def: Add entry for Sorani.
36949
f8a3b5bf
UD
36950 [BZ #11901]
36951 * include/stdlib.h: Move include protection to the right place.
36952 Define abort_msg_s. Declare __abort_msg with it.
36953 * stdlib/abort.c (__abort_msg): Adjust type.
36954 * assert/assert.c (__assert_fail_base): New function. Majority
36955 of code from __assert_fail. Allocate memory for __abort_msg with
36956 mmap.
36957 (__assert_fail): Now call __assert_fail_base.
36958 * assert/assert-perr.c: Remove bulk of implementation. Use
36959 __assert_fail_base.
36960 * include/assert.hL Declare __assert_fail_base.
36961 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36962 mmap.
36963 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36964
1af4e298
UD
369652011-05-14 Ulrich Drepper <drepper@gmail.com>
36966
f8a3b5bf 36967 [BZ #11952]
d26dfc60
MG
36968 [BZ #12453]
36969 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36970 until all modules are registered in the DTV.
36971 * elf/Makefile: Add rules to build and run tst-tls19.
36972 * elf/tst-tls19.c: New file.
36973 * elf/tst-tls19mod1.c: New file.
36974 * elf/tst-tls19mod2.c: New file.
36975 * elf/tst-tls19mod3.c: New file.
36976 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36977
2fc54d6f
UD
36978 [BZ #12083]
36979 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36980 correctly.
36981
98d76b46
UD
36982 [BZ #12601]
36983 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36984 two-byte sequence errors.
36985 * iconvdata/Makefile (tests): Add bug-iconv8.
36986 * iconvdata/bug-iconv8.c: New file.
36987
da3c19ef
UD
36988 [BZ #12626]
36989 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36990 buf2 definition.
36991
ca408c15
UD
36992 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36993
d6f67f7d
UD
36994 [BZ #12432]
36995 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36996 (dummy_getcfa): New function.
36997 (init): Get _Unwind_GetCFA address, use dummy if not found.
36998 (backtrace_helper): In recursion check, also check whether CFA changes.
36999 (__backtrace): Completely initialize arg.
37000
1af4e298 37001 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37002 storing incomplete byte sequence in state object. Avoid testing for
37003 guaranteed too small input if we know there is enough data available.
1af4e298 37004
da62f81b
AS
370052011-05-11 Andreas Schwab <schwab@redhat.com>
37006
37007 * Makeconfig (+link-pie): Indent.
37008 * Rules (binaries-pie): Define if $(have-fpie) and
37009 $(build-shared).
37010 (binaries-shared): Also filter out $(binaries-pie).
37011 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37012 * nscd/Makefile (others-pie): Add nscd.
37013 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37014 ($(objpfx)nscd): Remove command override.
37015 * login/Makefile (others-pie): Add pt_chown.
37016 ($(objpfx)pt_chown): Remove command override.
37017 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37018 remove command overrides.
37019
fcabc0f8
UD
370202011-05-13 Ulrich Drepper <drepper@gmail.com>
37021
20030ae6
UD
37022 * libio/tst_putwc.c: Fix error messages.
37023
fcabc0f8
UD
37024 [BZ #12724]
37025 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37026 currently writing and seek to current position when not.
37027 * libio/Makefile (tests): Add bug-fclose1.
37028 * libio/bug-fclose1.c: New file.
37029
320a5dc0
PB
370302011-05-12 Ulrich Drepper <drepper@gmail.com>
37031
37032 [BZ #12511]
37033 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37034 don't set DF_1_NODELETE here.
37035 (do_lookup_x): When entering new entry test for copy relocation
37036 and if necessary set DF_1_NODELETE flag.
37037 * elf/tst-unique4.cc: New file.
37038 * elf/tst-unique4.h: New file.
37039 * elf/tst-unique4lib.cc: New file.
37040 * elf/Makefile: Add rules to build and run tst-unique4.
37041 Patch by Piotr Bury <pbury@goahead.com>.
37042
22836f52
UD
370432011-05-11 Ulrich Drepper <drepper@gmail.com>
37044
f574184a
UD
37045 [BZ #12052]
37046 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37047
e1fb097f
UD
37048 [BZ #12625]
37049 * misc/mntent_r.c (addmntent): Flush the stream after the output
37050
22836f52
UD
37051 [BZ #12393]
37052 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37053 (is_trusted_path_normalize): Skip initial colon. Append slash
37054 to empty buffer. Duplicate is_trusted_path code but allow
37055 constructed patch to be prefix.
37056 (is_dst): Allow $ORIGIN followed by /.
37057 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37058 Correct testing of result of is_trusted_path_normalize
37059 (decompose_rpath): Fix warning.
37060
7b3b0b2a
UD
370612011-05-10 Ulrich Drepper <drepper@gmail.com>
37062
37063 [BZ #11257]
37064 * grp/initgroups.c (internal_getgrouplist): When we found the service
37065 list through the initgroups entry in nsswitch.conf do not always
37066 continue on a successful lookup. Don't always use the
eac80ce2 37067 __nss_group_database value if it is set.
7b3b0b2a
UD
37068 * nss/nsswitch.conf (initgroups): Change action for successful db
37069 lookup to continue for compatibility.
37070
2a81eaa5
UD
370712011-05-09 Ulrich Drepper <drepper@gmail.com>
37072
be97a69e
UD
37073 [BZ #11532]
37074 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37075 and CP774 modules.
37076 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37077 and CP774 modules.
37078 * iconvdata/tst-tables.sh: Likewise.
37079 * iconvdata/cp770.c: New file.
37080 * iconvdata/cp771.c: New file.
37081 * iconvdata/cp772.c: New file.
37082 * iconvdata/cp773.c: New file.
37083 * iconvdata/cp774.c: New file.
37084 * iconvdata/testdata/CP770: New file.
37085 * iconvdata/testdata/CP770..UTF8: New file.
37086 * iconvdata/testdata/CP771: New file.
37087 * iconvdata/testdata/CP771..UTF8: New file.
37088 * iconvdata/testdata/CP772: New file.
37089 * iconvdata/testdata/CP772..UTF8: New file.
37090 * iconvdata/testdata/CP773: New file.
37091 * iconvdata/testdata/CP773..UTF8: New file.
37092 * iconvdata/testdata/CP774: New file.
37093 * iconvdata/testdata/CP774..UTF8: New file.
37094
37095 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37096 END CHARMAP line.
37097 * iconvdata/gen-8bit-gap.sh: Likewise.
37098 * iconvdata/gen-8bit.sh: Likewise.
37099
c1e9e399
UD
37100 * locale/iso-639.def: Add ary entry.
37101
24c55fb3 37102 [BZ #11258]
96b4b1b0
UD
37103 * locale/C-translit.h.in: Add U20A1 transliteration.
37104
bdc2f971
KB
37105 [BZ #12178]
37106 * locale/iso-639.def: Add wae entry.
37107 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37108
2952b117
UD
37109 [BZ #12545]
37110 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37111 for n.
37112
2a81eaa5
UD
37113 [BZ #12711]
37114 * locale/C-translit.h.in: Add entry for U20B9.
37115 Patch by pravin.d.s@gmail.com.
37116
28377d1b
UD
371172011-05-08 Ulrich Drepper <drepper@gmail.com>
37118
7fb90fb8
UD
37119 [BZ #12713]
37120 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37121 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37122 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37123 in rtld. Use *stat64.
7fb90fb8 37124 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37125 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37126 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37127 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37128 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37129 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37130 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37131 __fstatat64 macros.
7fb90fb8
UD
37132 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37133 * dirent/rewinddir.c: Add libc_hidden_def.
37134 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37135 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37136
28377d1b
UD
37137 * include/dirent.h (__alloc_dir): Add flags parameter.
37138 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37139 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37140 __alloc_dir.
37141 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37142 from fdopendir if O_CLOEXEC is already set.
37143
66bdbaa4
AM
371442011-03-15 Alan Modra <amodra@gmail.com>
37145
37146 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37147 l_tls_firstbyte_offset non-zero. Save padding offset in
37148 l_tls_firstbyte_offset for later use.
37149 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37150 freeing static tls block.
37151
95721191
JN
371522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37153
37154 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37155 where #ifdef was intended. The intent is to prevent ARG_MAX from
37156 being defined by the kernel headers.
37157
f87dfb1f
UD
371582011-05-07 Ulrich Drepper <drepper@gmail.com>
37159
37160 [BZ #12734]
37161 * resolv/resolv.h: Define RES_NOTLDQUERY.
37162 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37163 no-tld-query and set RES_NOTLDQUERY.
37164 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37165 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37166 modern BIND to search name as TLD unless forbidden.
37167
47c3cd7a
UD
371682011-05-07 Petr Baudis <pasky@suse.cz>
37169 Ulrich Drepper <drepper@gmail.com>
37170
37171 [BZ #12393]
37172 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37173 (is_trusted_path): ...to here.
c1e9ea35 37174 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37175 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37176 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37177
8a35c912
PP
371782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37179
37180 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37181 __BEGIN/__END_DECLS.
37182
acd41f47
UD
371832011-05-06 Ulrich Drepper <drepper@gmail.com>
37184
37185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37186 NSS_STATUS_NOTFOUND if no record was found.
37187
597df647
AS
371882011-05-05 Andreas Schwab <schwab@redhat.com>
37189
37190 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37191 (headers-not-in-tirpc): Remove rpc/netdb.h
37192 * resolv/netdb.h: Revert last change.
37193
b9af1301
PP
371942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37195
37196 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37197 circular dependency between libgcc.a and libc.a.
37198
4e34d5f5
AS
371992011-05-05 Andreas Schwab <schwab@redhat.com>
37200
37201 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37202 * nis/Makefile: Don't install rpcsvc/*.
37203 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37204 instead of <rpc/types.h>.
37205 (MAXHOSTNAMELEN): Define.
37206
00ee369c
AS
372072011-05-03 Andreas Schwab <schwab@redhat.com>
37208
37209 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37210
0b592a30
MB
372112011-04-28 Maciej Babinski <mbabinski@google.com>
37212
37213 [BZ #12714]
37214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37215 gethostbyname4_r when IPv6 results are possible.
37216
6e04cbbe
UD
372172011-05-02 Ulrich Drepper <drepper@gmail.com>
37218
37219 [BZ #12723]
37220 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37221 _PC_PIPE_BUF handling.
37222
e4ecafe0
BH
372232011-04-30 Bruno Haible <bruno@clisp.org>
37224
37225 [BZ #12717]
37226 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37227 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37228 to 'int'.
37229 * inet/getnameinfo.c (getnameinfo): Likewise.
37230
125ee683
UD
372312011-04-29 Ulrich Drepper <drepper@gmail.com>
37232
37233 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37234 to groups setting in database lookup.
37235 * nss/nsswitch.conf: Add initgroups entry.
37236
b722481a
EB
372372011-04-22 Ulrich Drepper <drepper@gmail.com>
37238
37239 [BZ #12685]
37240 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37241 mode string.
37242 Patch by Eric Blake <eblake@redhat.com>.
37243
4df46dbd
L
372442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37245
37246 * sunrpc/Makefile (need-export-routines): Add svc_run.
37247 (routines): Remove svc_run.
37248 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37249 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37250 * sunrpc/svc_run.c (svc_run): Likewise.
37251 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37252
e84142d2
UD
372532011-04-21 Ulrich Drepper <drepper@gmail.com>
37254
37255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37256 problem in reallocation in last patch.
37257
877175d8
UD
372582011-04-20 Ulrich Drepper <drepper@gmail.com>
37259
37260 * sunrpc/Makefile: Move inclusion of Rules.
37261
ab8eed78
UD
372622011-04-19 Ulrich Drepper <drepper@gmail.com>
37263
37264 * nss/nss_files/files-initgroups.c: New file.
37265 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37266 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37267 _nss_files_initgroups_dyn.
37268
e3d8f584
RS
372692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37270
37271 * elf/elf.h (R_ARM_IRELATIVE): Define.
37272
af190f45
UD
372732011-04-19 Ulrich Drepper <drepper@gmail.com>
37274
37275 * po/ru.po: Update from translation team.
37276
53cf59ef
UD
372772011-04-17 Ulrich Drepper <drepper@gmail.com>
37278
37279 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37280 dependencies.
37281
4c559bcd
MF
372822011-02-06 Mike Frysinger <vapier@gentoo.org>
37283
37284 [BZ #12653]
37285 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37286 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37289 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37290
4420675c
AS
372912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37292
37293 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37294 differing bytes.
37295 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37298
75ea32ab
UD
372992011-04-17 Ulrich Drepper <drepper@gmail.com>
37300
37301 [BZ #12420]
37302 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37303 storing it.
37304 * stdlib/bug-getcontext.c: New file.
37305 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37306
27390476
AK
373072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37308
37309 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37310 instructions into .machine "z9-109".
37311 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37312 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37313
10442705
AK
373142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37315
37316 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37317 between environment variables and auxiliary vector.
37318
7b57bfe5
UD
373192011-04-16 Ulrich Drepper <drepper@gmail.com>
37320
37321 * Makefile: Add rules to build linkobj/libc.so.
37322 * include/libc-symbols.h: Define libc_hidden_nolink.
37323 * include/rpc/auth.h: Mark functions which are to be hidden.
37324 * include/rpc/auth_des.h: Likewise.
37325 * include/rpc/auth_unix.h: Likewise.
37326 * include/rpc/clnt.h: Likewise.
37327 * include/rpc/des_crypt.h: Likewise.
37328 * include/rpc/key_prot.h: Likewise.
37329 * include/rpc/pmap_clnt.h: Likewise.
37330 * include/rpc/pmap_prot.h: Likewise.
37331 * include/rpc/pmap_rmt.h: Likewise.
37332 * include/rpc/rpc_msg.h: Likewise.
37333 * include/rpc/svc.h: Likewise.
37334 * include/rpc/svc_auth.h: Likewise.
37335 * include/rpc/xdr.h: Likewise.
37336 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37337 * nss/Makefile: Likewise.
37338 * sunrpc/Makefile: Don't install headers. Build library with normal
37339 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37340 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37341 for the compat linking library. Remove use of INTDEF/INTUSE.
37342 * sunrpc/auth_none.c: Likewise.
37343 * sunrpc/auth_unix.c: Likewise.
37344 * sunrpc/authdes_prot.c: Likewise.
37345 * sunrpc/authuxprot.c: Likewise.
37346 * sunrpc/clnt_gen.c: Likewise.
37347 * sunrpc/clnt_perr.c: Likewise.
37348 * sunrpc/clnt_raw.c: Likewise.
37349 * sunrpc/clnt_simp.c: Likewise.
37350 * sunrpc/clnt_tcp.c: Likewise.
37351 * sunrpc/clnt_udp.c: Likewise.
37352 * sunrpc/clnt_unix.c: Likewise.
37353 * sunrpc/des_crypt.c: Likewise.
37354 * sunrpc/des_soft.c: Likewise.
37355 * sunrpc/get_myaddr.c: Likewise.
37356 * sunrpc/key_call.c: Likewise.
37357 * sunrpc/key_prot.c: Likewise.
37358 * sunrpc/netname.c: Likewise.
37359 * sunrpc/pm_getmaps.c: Likewise.
37360 * sunrpc/pm_getport.c: Likewise.
37361 * sunrpc/pmap_clnt.c: Likewise.
37362 * sunrpc/pmap_prot.c: Likewise.
37363 * sunrpc/pmap_prot2.c: Likewise.
37364 * sunrpc/pmap_rmt.c: Likewise.
37365 * sunrpc/publickey.c: Likewise.
37366 * sunrpc/rpc_cmsg.c: Likewise.
37367 * sunrpc/rpc_common.c: Likewise.
37368 * sunrpc/rpc_dtable.c: Likewise.
37369 * sunrpc/rpc_prot.c: Likewise.
37370 * sunrpc/rpc_thread.c: Likewise.
37371 * sunrpc/rtime.c: Likewise.
37372 * sunrpc/svc.c: Likewise.
37373 * sunrpc/svc_auth.c: Likewise.
37374 * sunrpc/svc_authux.c: Likewise.
37375 * sunrpc/svc_raw.c: Likewise.
37376 * sunrpc/svc_run.c: Likewise.
37377 * sunrpc/svc_simple.c: Likewise.
37378 * sunrpc/svc_tcp.c: Likewise.
37379 * sunrpc/svc_udp.c: Likewise.
37380 * sunrpc/svc_unix.c: Likewise.
37381 * sunrpc/svcauth_des.c: Likewise.
37382 * sunrpc/xcrypt.c: Likewise.
37383 * sunrpc/xdr.c: Likewise.
37384 * sunrpc/xdr_array.c: Likewise.
37385 * sunrpc/xdr_float.c: Likewise.
37386 * sunrpc/xdr_intXX_t.c: Likewise.
37387 * sunrpc/xdr_mem.c: Likewise.
37388 * sunrpc/xdr_rec.c: Likewise.
37389 * sunrpc/xdr_ref.c: Likewise.
37390 * sunrpc/xdr_sizeof.c: Likewise.
37391 * sunrpc/xdr_stdio.c: Likewise.
37392
e6c61494
UD
373932011-04-10 Ulrich Drepper <drepper@gmail.com>
37394
37395 [BZ #12650]
37396 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37397 * sysdeps/ia64/dl-tls.h: Likewise.
37398 * sysdeps/powerpc/dl-tls.h: Likewise.
37399 * sysdeps/s390/dl-tls.h: Likewise.
37400 * sysdeps/sh/dl-tls.h: Likewise.
37401 * sysdeps/sparc/dl-tls.h: Likewise.
37402 * sysdeps/x86_64/dl-tls.h: Likewise.
37403 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37404
34fe483e
AS
374052011-03-14 Andreas Schwab <schwab@redhat.com>
37406
37407 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37408 rpath element also skip the following colon.
37409 (expand_dynamic_string_token): Add is_path parameter and pass
37410 down to DL_DST_REQUIRED and _dl_dst_substitute.
37411 (decompose_rpath): Call expand_dynamic_string_token with
37412 non-zero is_path. Ignore empty rpaths.
37413 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37414 with zero is_path.
37415
f12a32e6
AS
374162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37417
37418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37419 Make cancelable.
37420
38a7d692
UD
374212011-04-09 Ulrich Drepper <drepper@gmail.com>
37422
37423 [BZ #12655]
37424 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37425 Patch by Filipe David Manana <fdmanana@apache.org>.
37426
e451d22b
AS
374272011-04-07 Andreas Schwab <schwab@redhat.com>
37428
37429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37430 Maintain aligned stack.
37431 (CHECK_RSP): Remove unused macro.
37432
dedc7c7b
UD
374332011-04-03 Ulrich Drepper <drepper@gmail.com>
37434
37435 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37437
94521213
UD
374382011-04-02 Ulrich Drepper <drepper@gmail.com>
37439
37440 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37441
8cb700c0 37442 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 37443
0354e355
L
374442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37445
37446 [BZ #12518]
37447 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37448 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37449 * sysdeps/x86_64/memmove.c: New file.
37450 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37451 (memcpy): Renamed to ...
37452 (__new_memcpy): This.
37453 (memcpy): Provide GLIBC_2_14 memcpy.
37454 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37455 (memcpy): Provide GLIBC_2_2_5 memcpy.
37456
8593482f
UD
374572011-04-01 Ulrich Drepper <drepper@gmail.com>
37458
37459 [BZ #12631]
37460 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37461
81a5726b
AS
374622011-03-30 Andreas Schwab <schwab@redhat.com>
37463
37464 * misc/syncfs.c: New file.
37465 * misc/Makefile (routines): Add syncfs.
37466 * posix/unistd.h: Declare syncfs.
37467 * sysdeps/unix/syscalls.list: Add syncfs.
37468
00e5419f
AS
374692011-04-01 Andreas Schwab <schwab@redhat.com>
37470
37471 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37472 open_by_handle_at.
37473 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37474 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37478 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37480
748876bf
UD
374812011-04-01 Ulrich Drepper <drepper@gmail.com>
37482
658e451d
UD
37483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37490
748876bf
UD
37491 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37492 sync_file_range.c with -fexceptions.
37493 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37494 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37495 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37496 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37497 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37498 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
37500 sync_file_range as cancellation point
37501 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37502 now a wrapper around __call_sync_file_range with cancellation handling.
37503 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37504 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37505 function name to __call_sync_file_range.
37506 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37507 Add call_sync_file_range.
748876bf 37508
6e63d5e1
AS
375092011-04-01 Andreas Schwab <schwab@redhat.com>
37510
37511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 37512 bits/timex.h.
6e63d5e1 37513
46998f74
UD
375142011-04-01 Ulrich Drepper <drepper@gmail.com>
37515
4c1423ed
UD
37516 * iconv/iconv.h: Fix typo in comment.
37517 * io/fcntl.h: Likewise.
37518 * libio/stdio.h: Likewise.
37519 * posix/spawn.h: Likewise.
37520 * posix/unistd.h: Likewise.
37521 * stdlib/stdlib.h: Likewise.
37522 * time/time.h: Likewise.
37523 * wcsmbs/wchar.h: Likewise.
37524
158648c0
UD
37525 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37526 open_by_handle): Add.
37527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37528 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37529 Augment a few comments.
37530 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37535 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37536 open_by_handle.
37537
46998f74
UD
37538 * io/fcntl.h (AT_EMPTY_PATH): Define.
37539
83fe108b
UD
375402011-03-30 Ulrich Drepper <drepper@gmail.com>
37541
37542 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37543 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37544 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37545 to...
37546 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
37547 * Versions.def: Add GLIBC_2.14.
37548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37549 Export.
83fe108b 37550
bb242059
UD
375512011-03-22 Ulrich Drepper <drepper@gmail.com>
37552
37553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37554 round counter.
37555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37556
c97a1282
L
375572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37558
37559 [BZ #12597]
37560 * string/test-strncmp.c (do_page_test): New function.
37561 (check2): Likewise.
37562 (test_main): Call check2.
37563 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37564
2a115601
UD
375652011-03-20 Ulrich Drepper <drepper@gmail.com>
37566
37567 [BZ #12587]
37568 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37569 Handle cache information in CPU leaf 4.
37570 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37571
8126d904
UD
375722011-03-18 Ulrich Drepper <drepper@gmail.com>
37573
042c49c6 37574 [BZ #12583]
8126d904
UD
37575 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37576 character representation.
37577 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37578
ccfe366e
RA
375792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37580
37581 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37582 END(__isnan) to END(__isnanf) to match function entry point/label
37583 EALIGN(__isnanf,...).
37584
c6e13027
JJ
375852011-03-10 Jakub Jelinek <jakub@redhat.com>
37586
37587 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37588
33f85a3f
UD
375892011-03-10 Ulrich Drepper <drepper@gmail.com>
37590
028478fa
UD
37591 [BZ #12510]
37592 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37593 copy from the symbol referenced in the relocation to initialize the
37594 used variable.
37595 Patch by Piotr Bury <pbury@goahead.com>.
37596 * elf/Makefile: Add rules to build and tst-unique3.
37597 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37598 * elf/tst-unique3.cc: New file.
37599 * elf/tst-unique3.h: New file.
37600 * elf/tst-unique3lib.cc: New file.
37601 * elf/tst-unique3lib2.cc: New file.
37602
33f85a3f
UD
37603 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37604
03592fc7
MF
376052011-03-10 Mike Frysinger <vapier@gentoo.org>
37606
37607 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37608 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37609 to _start.
03592fc7 37610
6a5ee102
UD
376112011-03-06 Ulrich Drepper <drepper@gmail.com>
37612
37613 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37614 to-be-loaded object along a path to loader is ld.so.
37615
7e4ba49c
HJ
376162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37617 Ulrich Drepper <drepper@gmail.com>
37618
37619 * sysdeps/x86_64/memset.S: After aligning destination, code
37620 branches to different locations depending on the value of
37621 misalignment, when multiarch is enabled. Fix this.
37622
376232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37624
37625 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37626 Set _x86_64_preferred_memory_instruction for AMD processsors.
37627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37628 Set bit_Prefer_SSE_for_memop for AMD processors.
37629
13a804de
UD
376302011-03-04 Ulrich Drepper <drepper@gmail.com>
37631
37632 * libio/fmemopen.c (fmemopen): Optimize a bit.
37633
9d25c392
AS
376342011-03-03 Andreas Schwab <schwab@redhat.com>
37635
37636 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37637
a5543c6a
RM
376382011-03-03 Roland McGrath <roland@redhat.com>
37639
37640 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37641
012d35f7
DM
376422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37643
7e4ba49c 37644 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
37645 __bzero_ultra1 instead of __memset_ultra1.
37646
4bff6e01
AS
376472011-02-23 Andreas Schwab <schwab@redhat.com>
37648 Ulrich Drepper <drepper@gmail.com>
37649
37650 [BZ #12509]
37651 * include/link.h (struct link_map): Add l_orig_initfini.
37652 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37653 returning unsuccessfully.
37654 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37655 close of a file loaded at startup, restore the original l_initfini
37656 list.
37657 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37658 list, store the pointer.
37659 * elf/Makefile ($(objpfx)noload-mem): New rule.
37660 (noload-ENV): Define.
37661 (tests): Add $(objpfx)noload-mem.
37662 * elf/noload.c: Include <memcheck.h>.
37663 (main): Call mtrace. Close all opened handles.
37664
f2092faf
AS
376652011-02-17 Andreas Schwab <schwab@redhat.com>
37666
37667 [BZ #12454]
37668 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37669 dependencies are missing.
37670
6c8a2e88
ST
376712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37672
f2092faf 37673 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
37674 Hurd needs munmap.
37675 * sysdeps/mach/hurd/ifreq.h: New file.
37676
84a42118
PB
376772011-01-27 Petr Baudis <pasky@suse.cz>
37678 Ulrich Drepper <drepper@gmail.com>
37679
071f805e 37680 [BZ 12445]#
84a42118
PB
37681 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37682 to extend_alloca().
37683 * stdio-common/bug23.c: New file.
37684 * stdio-common/Makefile (tests): Add bug23.
37685
e23fe25b
AS
376862010-09-28 Andreas Schwab <schwab@redhat.com>
37687 Ulrich Drepper <drepper@gmail.com>
37688
37689 [BZ #12489]
37690 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37691 before performing relro protection. At old place add assertion
37692 to make sure nothing changed.
37693
d3f02e10
NS
376942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37695 Glauber de Oliveira Costa <glommer@gmail.com>
37696
37697 * elf/elf.h: Add new ARM TLS relocs.
37698
d55fd7a5
RA
376992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37700
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37702 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37703 cast from r3.
37704 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37705 'tests' variable.
37706 * sysdeps/wordsize-64/tst-writev.c: New file.
37707
2206397e
RA
377082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37709
37710 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37711 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37712 insns in _dl_start to prevent a TOC reference before relocs are
37713 resolved.
37714
e9433893
UD
377152011-02-15 Ulrich Drepper <drepper@gmail.com>
37716
37717 [BZ #12469]
37718 * Makeconfig: Remove RANLIB definition.
37719 * Makerules: Don't use RANLIB.
37720 * aclocal.m4: Remove ranlib test.
37721 * configure.in: No need to check for ranlib.
37722 * elf/rtld-Rules: Don't use RANLIB.
37723
f75286c6
ST
377242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37725
8e31c82d
ST
37726 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37727 protection macro.
37728 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37729 inclusion protection macro.
37730
f75286c6
ST
37731 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37732 SIGRTMIN and SIGRTMAX and print information in that case only when
37733 SIGRTMIN is defined.
37734
c1d0e639
JJ
377352011-02-11 Jakub Jelinek <jakub@redhat.com>
37736
37737 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37738 arginfo fn returning -1.
37739
37740 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37741 and thousands string is zero terminated.
37742
edf9294e
AS
377432011-02-03 Andreas Schwab <schwab@redhat.com>
37744
37745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37746 sysdeps/unix/sysv/linux/bits/socket.h.
37747
2b7e92df
ST
377482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37749
edf9294e
AS
37750 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37751 (__CPU_COUNT): Remove old macros.
37752 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37753 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37754 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37755 (__sched_cpualloc, __sched_cpufree): Add declarations.
37756
a4c7ea7b
UD
377572011-02-05 Ulrich Drepper <drepper@gmail.com>
37758
37759 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37760 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37761 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37762 (readdhstai): Return value of addhstaiX call.
37763 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37764 (addgrbyX): Return value returned by cache_addgr.
37765 (readdgrbyname): Return value returned by addgrbyX.
37766 (readdgrbygid): Likewise.
37767 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37768 (addpwbyX): Return value returned by cache_addpw.
37769 (readdpwbyname): Return value returned by addhstbyX.
37770 (readdpwbyuid): Likewise.
37771 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37772 (addservbyX): Return value returned by cache_addserv.
37773 (readdservbyname): Return value returned by addservbyX:
37774 (readdservbyport): Likewise.
37775 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37776 (addhstbyX): Return value returned by cache_addhst.
37777 (readdhstbyname): Return value returned by addhstbyX.
37778 (readdhstbyaddr): Likewise.
37779 (readdhstbynamev6): Likewise.
37780 (readdhstbyaddrv6): Likewise.
37781 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37782 (readdinitgroups): Return value returned by addinitgroupsX.
37783 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37784 (prune_cache): Keep track of timeout value of re-added entries.
37785 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37786 * nscd/nscd.h: Adjust prototypes of readd* functions.
37787
a0bf67cc
RM
377882011-02-04 Roland McGrath <roland@redhat.com>
37789
37790 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37791 (nis_stats): Likewise.
37792 * nis/nis_modify.c (nis_modify): Likewise.
37793 * nis/nis_remove.c (nis_remove): Likewise.
37794 * nis/nis_add.c (nis_add): Likewise.
37795
37796 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37797
37798 * posix/fnmatch_loop.c: Add some consts.
37799
37800 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37801
435b95eb
L
378022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37803
37804 [BZ #12460]
37805 * config.make.in (config-cflags-novzeroupper): Define.
37806 * configure.in: Substitute libc_cv_cc_novzeroupper.
37807 * elf/Makefile (AVX-CFLAGS): Define.
37808 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37809 (CFLAGS-tst-auditmod4a.c): Likewise.
37810 (CFLAGS-tst-auditmod4b.c): Likewise.
37811 (CFLAGS-tst-auditmod6b.c): Likewise.
37812 (CFLAGS-tst-auditmod6c.c): Likewise.
37813 (CFLAGS-tst-auditmod7b.c): Likewise.
37814 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37815
8517b15e
UD
378162011-02-02 Ulrich Drepper <drepper@gmail.com>
37817
37818 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37819 function to the callback.
37820 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37821
10a656fe
AS
378222011-02-02 Andreas Schwab <schwab@redhat.com>
37823
37824 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37825 of errno.
37826
968dad0a
UD
378272011-01-19 Ulrich Drepper <drepper@gmail.com>
37828
9f94d2ea 37829 [BZ #11724]
968dad0a
UD
37830 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37831 of constructors.
37832 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37833 of destructors.
37834 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37835
37836 [BZ #11724]
37837 * elf/Makefile: Add rules to build and run new test.
37838 * elf/tst-initorder.c: New file.
37839 * elf/tst-initorder.exp: New file.
37840 * elf/tst-initordera1.c: New file.
37841 * elf/tst-initordera2.c: New file.
37842 * elf/tst-initordera3.c: New file.
37843 * elf/tst-initordera4.c: New file.
37844 * elf/tst-initorderb1.c: New file.
37845 * elf/tst-initorderb2.c: New file.
37846 * elf/tst-order-a1.c: New file.
37847 * elf/tst-order-a2.c: New file.
37848 * elf/tst-order-a3.c: New file.
37849 * elf/tst-order-a4.c: New file.
37850 * elf/tst-order-b1.c: New file.
37851 * elf/tst-order-b2.c: New file.
37852 * elf/tst-order-main.c: New file.
37853 New test case by George Gensure <werkt0@gmail.com>.
37854
86e92359
UD
378552010-10-01 Andreas Schwab <schwab@redhat.com>
37856
37857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37858 decoding ACE if AI_CANONIDN.
37859
5d5732b0
UD
378602011-01-18 Ulrich Drepper <drepper@gmail.com>
37861
37862 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37863
a77e8cbc
UD
378642011-01-17 Ulrich Drepper <drepper@gmail.com>
37865
6392473f
UD
37866 * version.h (RELEASE): Bump for 2.13 release.
37867 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37868
620a0529
UD
37869 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37870
18ba70a5
UD
37871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37872 MADV_NOHUGEPAGE.
32465c3e
UD
37873 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37874 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37876 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37879
c0dafcf1
UD
37880 * posix/getconf.c: Update copyright year.
37881 * catgets/gencat.c: Likewise.
37882 * csu/version.c: Likewise.
37883 * debug/catchsegv.sh: Likewise.
37884 * debug/xtrace.sh: Likewise.
37885 * elf/ldconfig.c: Likewise.
37886 * elf/ldd.bash.in: Likewise.
37887 * elf/sprof.c (print_version): Likewise.
37888 * iconv/iconv_prog.c: Likewise.
37889 * iconv/iconvconfig.c: Likewise.
37890 * locale/programs/locale.c: Likewise.
37891 * locale/programs/localedef.c: Likewise.
37892 * malloc/memusage.sh: Likewise.
37893 * malloc/mtrace.pl: Likewise.
37894 * nscd/nscd.c (print_version): Likewise.
37895 * nss/getent.c: Likewise.
37896
a77e8cbc
UD
37897 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37898 PF_CAIF, and PF_ALG.
37899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37900
77e8bddf
AS
379012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37902
1f20b93a
AS
37903 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37904 (modules-names): Use them.
37905 (ifunc-test-modules, ifunc-pie-tests): Define.
37906 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37907 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37908 (test-extras): Likewise.
37909 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37910 $(compile-command.c).
37911 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37912 (all-built-dso): Define.
37913 (check-textrel.out, check-execstack.out): Depend on it.
37914
77e8bddf
AS
37915 * configure.in: Don't override --enable-multi-arch.
37916
bc425b33
UD
379172011-01-15 Ulrich Drepper <drepper@gmail.com>
37918
37919 [BZ #6812]
37920 * nscd/hstcache.c (tryagain): Define.
37921 (cache_addhst): Return tryagain not notfound for temporary errors.
37922 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37923 failed.
37924
794c3ad3
UD
379252011-01-14 Ulrich Drepper <drepper@gmail.com>
37926
70181fdd
UD
37927 [BZ #10563]
37928 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37929 to make the syscall.
37930 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37931
794c3ad3
UD
37932 [BZ #12378]
37933 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37934 and fall back to matching as normal character if the string ends before
37935 the matching ']' is found. This is what POSIX requires.
37936 * posix/testfnm.c: Adjust test result.
37937 * posix/globtest.sh: Adjust test result. Add new test.
37938 * posix/tst-fnmatch.input: Likewise.
37939 * posix/tst-fnmatch2.c: Add new test.
37940
68dc9497
AS
379412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37942
37943 * elf/Makefile (check-execstack): Revert last change. Depend on
37944 check-execstack.h.
37945 (check-execstack.h): New target.
37946 (generated): Add check-execstack.h.
37947 * elf/check-execstack.c: Include "check-execstack.h".
37948 (main): Revert last change.
37949 (handle_file): Return zero if GNU_STACK is absent and
37950 DEFAULT_STACK_PERMS doesn't include PF_X.
37951
451f001b
UD
379522011-01-13 Ulrich Drepper <drepper@gmail.com>
37953
cfa28e56
UD
37954 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37955 in child fails because the descriptor is already closed.
8cf8ce17
UD
37956 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37957 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37958 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37959
1086d70d
UD
37960 [BZ #12397]
37961 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37962 syscall.
37963
451f001b
UD
37964 [BZ #10484]
37965 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37966 temporary buffer used to handle multi lookups locally.
a85b5cb4 37967 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37968
08769175
UD
379692011-01-12 Ulrich Drepper <drepper@gmail.com>
37970
37971 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37972 loader is ld.so.
37973
5e49c52e
UD
379742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37975
37976 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37977 alignment for SSE2.
37978
60522a5f
UD
379792011-01-12 Ulrich Drepper <drepper@gmail.com>
37980
37981 [BZ #12394]
37982 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37983 characters. When rounding increased number of integer digits recompute
37984 number of groups.
37985 * stdio-common/tst-grouping.c: New file.
37986 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37987
f257bbd7
UD
379882011-01-09 Ulrich Drepper <drepper@gmail.com>
37989
37990 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37991 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37992
37993 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37994 void.
37995 * bits/select.h: Likewise.
37996
fa9c15cb
UD
379972011-01-08 Ulrich Drepper <drepper@gmail.com>
37998
37999 * po/ja.po: Update from translation team.
38000
16c2895f
DM
380012011-01-04 David S. Miller <davem@sunset.davemloft.net>
38002
38003 [BZ #11155]
38004 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38005 implementation just like for lxstat, fxstatat, et al.
38006
2543fef2
JM
380072010-12-27 Jim Meyering <meyering@redhat.com>
38008
38009 [BZ #12348]
38010 * posix/regexec.c (build_trtable): Return failure indication upon
38011 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38012
98727dbe
UD
380132010-12-25 Ulrich Drepper <drepper@gmail.com>
38014
5bd6dc5c
UD
38015 [BZ #12201]
38016 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38017 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38018 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38019 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38020
97983464
UD
38021 [BZ #12207]
38022 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38023
98727dbe
UD
38024 [BZ #12204]
38025 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38026 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38027
4a531bb0
L
380282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38029
38030 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38031 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38032 script has SORT_BY_INIT_PRIORITY.
38033 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38034 NO_CTORS_DTORS_SECTIONS is defined.
38035 * elf/soinit.c: Likewise.
38036 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38037 NO_CTORS_DTORS_SECTIONS is defined.
38038 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38039 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38040 * sysdeps/sh/init-first.c: Likewise.
38041 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38042
07eb4b71
UD
380432010-12-24 Ulrich Drepper <drepper@gmail.com>
38044
38045 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38046 always use the slow path.
38047
30950a5f
RA
380482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38049
38050 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38051 similar rule which adds the sysdep directories to the header search in
38052 order to pick up the correct platform stackinfo.h.
38053 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38054 perform test if it is, otherwise return successfully without testing.
38055 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38056 DEFAULT_STACK_PERMS define in stackinfo.h.
38057 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38058 defined in stackinfo.h.
38059 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38060 DEFAULT_STACK_PERMS defined in stackinfo.h.
38061 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38062 * sysdeps/ia64/stackinfo.h: Likewise.
38063 * sysdeps/s390/stackinfo.h: Likewise.
38064 * sysdeps/sh/stackinfo.h: Likewise.
38065 * sysdeps/sparc/stackinfo.h: Likewise.
38066 * sysdeps/x86_64/stackinfo.h: Likewise.
38067 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38068 PF_X for powerpc64. Retain PF_X for powerpc32.
38069
db753e2c
UD
380702010-12-19 Ulrich Drepper <drepper@gmail.com>
38071
14b697f7
UD
38072 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38073 accurately.
db753e2c
UD
38074 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38075 GETDENTS_64BIT_ALIGNED.
38076
28300719
UD
380772010-12-14 Ulrich Drepper <dreper@gmail.com>
38078
14b697f7 38079 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38080
4f197237
AS
380812010-12-10 Andreas Schwab <schwab@redhat.com>
38082
dbb0472f
AS
38083 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38084 _GNU_SOURCE.
38085
4f197237
AS
38086 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38087 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38088 Remove __restrict.
38089 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38090 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38091
fb88ac72
UD
380922010-12-09 Ulrich Drepper <drepper@gmail.com>
38093
38094 [BZ #11655]
38095 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38096 are initialized.
38097
42acbb92
JJ
380982010-12-09 Jakub Jelinek <jakub@redhat.com>
38099
38100 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38101
c038d98d
UD
381022010-12-03 Ulrich Drepper <drepper@gmail.com>
38103
38104 * po/it.po: Update from translation team.
38105
3a4a2499
L
381062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38107
38108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38109 unused codes.
38110
1e24cf6e
UD
381112010-11-30 Ulrich Drepper <drepper@gmail.com>
38112
38113 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38114
a7690819
AS
381152010-11-24 Andreas Schwab <schwab@redhat.com>
38116
38117 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38118 specially.
38119 (gaih_getanswer_slice): Likewise.
38120
3bf8d1b1
JJ
381212010-10-20 Jakub Jelinek <jakub@redhat.com>
38122
38123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38124
6db52fbb
PB
381252010-05-31 Petr Baudis <pasky@suse.cz>
38126
38127 [BZ #11149]
38128 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38129 silently even in the chroot mode.
38130
eaca7569
UD
381312010-11-22 Ulrich Drepper <drepper@gmail.com>
38132
38133 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38134 last patch a bit. Pretty printing
38135
3056dcdb
UD
381362010-05-31 Petr Baudis <pasky@suse.cz>
38137
38138 [BZ #10085]
38139 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38140 initialization of skip_initgroups_dyn.
38141
cf7c9078
UD
381422010-11-19 Ulrich Drepper <drepper@gmail.com>
38143
38144 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38145 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38146
a1fb5e3e
UD
381472010-11-16 Ulrich Drepper <drepper@gmail.com>
38148
38149 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38150
3540d66b
AS
381512010-11-11 Andreas Schwab <schwab@redhat.com>
38152
38153 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38154 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38155 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38156 ($(objpfx)tst-fnmatch-mem): New rule.
38157 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38158 * posix/tst-fnmatch.c (main): Call mtrace.
38159
13b69574
L
381602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38161
38162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38163 Support Intel processor model 6 and model 0x2c.
38164
da93d214
LM
381652010-11-10 Luis Machado <luisgpm@br.ibm.com>
38166
38167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38168 signed comparison.
38169
8ca52c6e
L
381702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38171
38172 [BZ #12205]
38173 * string/test-strncasecmp.c (check_result): New function.
38174 (do_one_test): Use it.
38175 (check1): New function.
38176 (test_main): Use it.
38177 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38178 Support strcasecmp and strncasecmp.
38179
69da074d
UD
381802010-11-08 Ulrich Drepper <drepper@gmail.com>
38181
38182 [BZ #12194]
38183 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38185
ff02d528
L
381862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38187
38188 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38189 IFUNC support.
38190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38191 memset-x86-64.
38192 * sysdeps/x86_64/multiarch/bzero.S: New file.
38193 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38194 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38195 * sysdeps/x86_64/multiarch/memset.S: New file.
38196 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38198 Set bit_Prefer_SSE_for_memop for Intel processors.
38199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38200 Define.
38201 (index_Prefer_SSE_for_memop): Define.
38202 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38203
344d0b54
LM
382042010-11-04 Luis Machado <luisgpm@br.ibm.com>
38205
38206 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38207 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38208
c0dde15b
UD
382092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38210
38211 [BZ #12191]
38212 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38213 (__x86_64_raw_data_cache_size_half): Likewise.
38214 (__x86_64_raw_shared_cache_size): Likewise.
38215 (__x86_64_raw_shared_cache_size_half): Likewise.
38216
38217 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38218 (__x86_64_raw_data_cache_size_half): Likewise.
38219 (__x86_64_raw_shared_cache_size): Likewise.
38220 (__x86_64_raw_shared_cache_size_half): Likewise.
38221 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38222 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38223 and __x86_64_raw_shared_cache_size_half. Round
38224 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38225 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38226 to multiple of 256 bytes.
38227
0e516e0e
MS
382282010-11-03 Ulrich Drepper <drepper@gmail.com>
38229
38230 [BZ #12167]
38231 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38232 of inacessible symlinks. Verify result of symlink before returning it.
38233 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38234 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38235
0e012e87
ER
382362010-10-28 Erich Ritz <erichritz@gmail.com>
38237
38238 * math/math.h (isinf): Fix typo in comment.
38239
de0ff7bc
UD
382402010-11-01 Ulrich Drepper <drepper@gmail.com>
38241
38242 * po/da.po: Update from translation team.
38243
fa41c84d
UD
382442010-10-26 Ulrich Drepper <drepper@gmail.com>
38245
38246 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38247 is added to the list.
38248
f0967738
AK
382492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38250 Ulrich Drepper <drepper@gmail.com>
38251
38252 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38253 the global list here. Move code to...
38254 (_dl_add_to_namespace_list): ...here. New function.
38255 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38256 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38257 * elf/dl-load.c (lose): Don't remove the element from the list.
38258 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38259 (_dl_map_object): Likewise.
38260
382612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38262
38263 [BZ #12159]
38264 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38265 into all bytes of SSE register.
38266 Patch by Richard Li <richardpku@gmail.com>.
38267
f0967738 382682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38269
38270 [BZ #12140]
38271 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38272 perturbing.
38273
d0b9e94f
MB
382742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38275
38276 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38277 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38278 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38279 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38281 submachine.
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38283
8e9f92e9
AS
382842010-10-22 Andreas Schwab <schwab@redhat.com>
38285
38286 * include/dlfcn.h (__RTLD_SECURE): Define.
38287 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38288 mode & __RTLD_SECURE instead.
38289 (open_path): Rename preloaded parameter to secure.
38290 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38291 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38292 * elf/dl-deps.c (openaux): Likewise.
38293 * elf/rtld.c (struct map_args): Remove is_preloaded.
38294 (map_doit): Don't use it.
38295 (dl_main): Likewise.
38296 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38297 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38298
bc96fbda
AS
382992010-09-09 Andreas Schwab <schwab@redhat.com>
38300
38301 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38302 (sysd-rules-targets): Remove duplicates.
38303 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38304 rtld-%.$o dependency.
38305
22cd1c9b
AS
383062010-10-18 Andreas Schwab <schwab@redhat.com>
38307
38308 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38309 _dl_map_object do it.
38310
18edac48
UD
383112010-10-19 Ulrich Drepper <drepper@gmail.com>
38312
38313 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38314 fast fma builtins, define the macros in the C99 standard.
38315 (FP_FAST_FMAF): Likewise.
38316 (FP_FAST_FMAL): Likewise.
38317 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38318
38319 * bits/mathdef.h: Update copyright year.
38320 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38321
d2050124
MM
383222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38323
38324 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38325 builtins, define the macros in the C99 standard.
38326 (FP_FAST_FMAF): Likewise.
38327 (FP_FAST_FMAL): Likewise.
38328 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38329 multiply/add.
38330 (FP_FAST_FMAF): Likewise.
38331
475facd1
JJ
383322010-10-15 Jakub Jelinek <jakub@redhat.com>
38333
38334 [BZ #3268]
38335 * math/libm-test.inc (fma_test): Some new testcases.
38336 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38337 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38338 y and infinite z. Do multiplication by C already in long double.
38339 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38341 y and infinite z. Do bitwise or of inexact bit into u.d.
38342 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38343 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38344 * sysdeps/i386/fpu/s_fma.S: Removed.
38345 * sysdeps/i386/fpu/s_fmal.S: Removed.
38346
7c08a05c
JJ
383472010-10-16 Jakub Jelinek <jakub@redhat.com>
38348
38349 [BZ #3268]
38350 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38352 computation is not scheduled after fetestexcept. Fix value
38353 of minimum denormal long double.
38354
f3f7372d
JJ
383552010-10-14 Jakub Jelinek <jakub@redhat.com>
38356
38357 [BZ #3268]
38358 * math/libm-test.inc (fma_test): Add some more tests.
38359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38360 correctly.
38361
14d43591
AS
383622010-10-15 Andreas Schwab <schwab@redhat.com>
38363
38364 * scripts/data/localplt-s390-linux-gnu.data: New file.
38365 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38366
5e908464
JJ
383672010-10-13 Jakub Jelinek <jakub@redhat.com>
38368
38369 [BZ #3268]
38370 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38371 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38372 instead of dbl-64.
38373 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38374 inlines.
38375 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38377 if one of x and y is very large and the other is subnormal.
38378 * sysdeps/s390/fpu/s_fmaf.c: New file.
38379 * sysdeps/s390/fpu/s_fma.c: New file.
38380 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38381 * sysdeps/powerpc/fpu/s_fma.S: New file.
38382 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38383 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38384 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38385
383862010-10-12 Jakub Jelinek <jakub@redhat.com>
38387
38388 [BZ #3268]
38389 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38390 fma tests.
38391 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38392 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38393 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38394 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38395 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38396 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38397 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38398
b833d51f
UD
383992010-10-12 Ulrich Drepper <drepper@redhat.com>
38400
38401 [BZ #12078]
38402 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38403 * posix/bug-regex31.input: Add test case.
38404
1751705d
UD
384052010-10-11 Ulrich Drepper <drepper@gmail.com>
38406
e9b9cbf5
UD
38407 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38408 * posix/bug-regex31.input: New file.
38409
38410 [BZ #12078]
38411 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38412 (parse_sub_exp): Fix last change, use postorder.
38413
ef06edbe
UD
38414 * posix/bug-regex31.c: New file.
38415 * posix/Makefile: Add rules to build and run bug-regex31.
38416
a129c80d
UD
38417 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38418
38419 [BZ #12078]
38420 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38421
b76b818e
UD
38422 [BZ #12108]
38423 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38424 to have entries in sys_siglist.
38425
1751705d
UD
38426 [BZ #12093]
38427 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38428 be NULL.
38429
9ff8d36f
JJ
384302010-10-07 Jakub Jelinek <jakub@redhat.com>
38431
38432 [BZ #3268]
38433 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38434 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38435 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38436 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38437 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38438 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38439 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38440 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38441 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38442 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38443 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38444 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38445 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38446 * math/ftestexcept.c (fetestexcept): Likewise.
38447 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38448 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38449 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38450 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38451 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38452 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38454
af325969
UD
384552010-10-11 Ulrich Drepper <drepper@gmail.com>
38456
c579b202 38457 [BZ #12107]
af325969
UD
38458 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38459 newline.
38460
67a67b95
UD
384612010-10-06 Ulrich Drepper <drepper@gmail.com>
38462
38463 * string/bug-strstr1.c: New file.
38464 * string/Makefile: Add rules to build and run bug-strstr1.
38465
5fb308bc
EB
384662010-10-05 Eric Blake <eblake@redhat.com>
38467
38468 [BZ #12092]
38469 * string/str-two-way.h (two_way_long_needle): Always clear memory
38470 when skipping input due to the shift table.
38471
45db99c7
UD
384722010-10-03 Ulrich Drepper <drepper@gmail.com>
38473
3b111893
UD
38474 [BZ #12005]
38475 * malloc/mcheck.c: Handle large requests.
38476
45db99c7
UD
38477 [BZ #12077]
38478 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38479 for strncmp and strncasecmp.
38480 * string/stratcliff.c: Add tests for strcmp and strncmp.
38481 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38482
cf7a1eb8
NI
384832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38484
38485 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38486 __set_fpscr.
38487
6484ba5e
AJ
384882010-09-30 Andreas Jaeger <aj@suse.de>
38489
38490 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38491 (CGROUP_SUPER_MAGIC): Define.
38492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38493 Handle btrfs and cgroup file systems.
38494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38495 Likewise.
38496
91c42559
LM
384972010-09-27 Luis Machado <luisgpm@br.ibm.com>
38498
38499 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38500 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38501
87a97932
AK
385022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38503
38504 [BZ #12067]
38505 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38506 trying to locate the ELF header.
38507
c21cc9bc
AS
385082010-09-27 Andreas Schwab <schwab@redhat.com>
38509
38510 [BZ #11611]
38511 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38512 Mask out sign-bit copies when constructing f_fsid.
38513
315970f6
PB
385142010-09-24 Petr Baudis <pasky@suse.cz>
38515
38516 * debug/stack_chk_fail_local.c: Add missing licence exception.
38517 * debug/warning-nop.c: Likewise.
38518
1ac7a2c7
JM
385192010-09-15 Joseph Myers <joseph@codesourcery.com>
38520
38521 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38522 implementing getdents64 using getdents syscall, set d_type if
38523 __ASSUME_GETDENTS32_D_TYPE.
38524
56801c50
AS
385252010-09-16 Andreas Schwab <schwab@redhat.com>
38526
38527 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38528 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38529
dda51327
UD
385302010-09-21 Ulrich Drepper <drepper@redhat.com>
38531
38532 [BZ #12037]
38533 * posix/unistd.h: Undo change of feature selection for ftruncate from
38534 2010-01-11.
38535
8ffcee4a
UD
385362010-09-20 Ulrich Drepper <drepper@redhat.com>
38537
a545ecd9 38538 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
38539 detection.
38540
e24f0a8b
AS
385412010-09-20 Andreas Schwab <schwab@redhat.com>
38542
38543 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38544 fanotify_mark.
38545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38546
7291c56f
AS
385472010-09-14 Andreas Schwab <schwab@redhat.com>
38548
38549 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38550 variables after CHECK_SP call.
38551 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38552
bc5fb037
AS
385532010-09-13 Andreas Schwab <schwab@redhat.com>
38554 Ulrich Drepper <drepper@redhat.com>
38555
38556 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38557 re-relocationg ld.so.
38558 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38559 _dl_init_paths call.
38560 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38561 here anymore.
38562
e66e7419
UD
385632010-09-14 Ulrich Drepper <drepper@redhat.com>
38564
38565 * resolv/res_init.c (__res_vinit): Count the default server we added.
38566
c044aa75
CLT
385672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38568 Ulrich Drepper <drepper@redhat.com>
38569
38570 [BZ #11968]
38571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38572 (____longjmp_chk): Use %ebx for saving value across system call.
38573 Add unwind info.
38574
32cf4069
AS
385752010-09-06 Andreas Schwab <schwab@redhat.com>
38576
38577 * manual/Makefile: Don't mix pattern rules with normal rules.
38578
817328ee
AS
385792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38580
38581 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38582 operation.
38583 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38584 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38585 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38586 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38588 Likewise.
38589
29fddf61
UD
385902010-09-04 Ulrich Drepper <drepper@redhat.com>
38591
38592 [BZ #11979]
38593 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38594 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38595
0959ffc9
UD
385962010-09-02 Ulrich Drepper <drepper@redhat.com>
38597
38598 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38599 * sysdeps/x86_64/addmul_1.S: Likewise.
38600 * sysdeps/x86_64/lshift.S: Likewise.
38601 * sysdeps/x86_64/mul_1.S: Likewise.
38602 * sysdeps/x86_64/rshift.S: Likewise.
38603 * sysdeps/x86_64/sub_n.S: Likewise.
38604 * sysdeps/x86_64/submul_1.S: Likewise.
38605
ece29840
ST
386062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38607
0959ffc9
UD
38608 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38609 Define __sched_param instead of SCHED_* and sched_param when
ece29840 38610 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 38611 * bits/sched.h [__need_schedparam]
ece29840 38612 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
38613 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38614 (__defined_schedparam): Define to 1.
ece29840
ST
38615 (__sched_param): New structure, identical to sched_param.
38616 (__need_schedparam): Undefine.
38617
e53a31fe
MF
386182010-08-31 Mike Frysinger <vapier@gentoo.org>
38619
fdc0c10d
MF
38620 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38621 (epoll_create1): Declare.
38622
e53a31fe
MF
38623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38624
a726d796
AS
386252010-08-31 Andreas Schwab <schwab@redhat.com>
38626
38627 [BZ #7066]
38628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38629 shifting retval into place.
38630
2f3e3dc7
UD
386312010-09-01 Ulrich Drepper <drepper@redhat.com>
38632
f2933da9
UD
38633 * nis/rpcsvc/nis.h: Update copyright notice.
38634 * nis/rpcsvc/nis.x: Likewise.
38635 * nis/rpcsvc/nis_callback.h: Likewise.
38636 * nis/rpcsvc/nis_callback.x: Likewise.
38637 * nis/rpcsvc/nis_object.x: Likewise.
38638 * nis/rpcsvc/nis_tags.h: Likewise.
38639 * nis/rpcsvc/yp.h: Likewise.
38640 * nis/rpcsvc/yp.x: Likewise.
38641 * nis/rpcsvc/ypupd.h: Likewise.
38642 * nis/yp_xdr.c: Likewise.
38643 * nis/ypupdate_xdr.c: Likewise.
38644
2f3e3dc7
UD
38645 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38646 mainly the body of pmap_getport. Add parameters to specify timeouts.
38647 (pmap_getport): Use __libc_rpc_getport.
38648 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38649 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38650 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38651
f3dcc2f9
AS
386522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38653
38654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38655 fanotify_mark.
38656
6d34eb5b
RM
386572010-08-27 Roland McGrath <roland@redhat.com>
38658
38659 * sysdeps/i386/i686/multiarch/Makefile
38660 (CFLAGS-varshift.c): New variable.
38661
9ea3de11
UD
386622010-08-27 Ulrich Drepper <drepper@redhat.com>
38663
c96d23fc
UD
38664 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38665 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38666
9ea3de11
UD
38667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38668
38669 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38670
623aac7f
L
386712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38672
38673 * sysdeps/x86_64/strlen.S: Unroll the loop.
38674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38675 strlen-sse2 strlen-sse2-bsf.
38676 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38677 __strlen_no_bsf if bit_Slow_BSF is set.
38678 (__strlen_sse42): Removed.
38679 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38680 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38681
8b2b7715
RM
386822010-08-25 Roland McGrath <roland@redhat.com>
38683
38684 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38685 * sysdeps/x86_64/multiarch/varshift.c: New file.
38686 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38687 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38688 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38689 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38690
e73015f2
L
386912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38692
38693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38694 strlen-sse2 strlen-sse2-bsf.
38695 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38696 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38697 (__strlen_sse2): Removed.
38698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38701 bit_Slow_BSF for Atom.
38702 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38703 (index_Slow_BSF): Define.
38704 (HAS_SLOW_BSF): Define.
38705
df24a73e
UD
387062010-08-25 Ulrich Drepper <drepper@redhat.com>
38707
38708 [BZ #10851]
38709 * resolv/res_init.c (__res_vinit): When no server address at all
38710 is given default to loopback.
38711
f2ac4868
RM
387122010-08-24 Roland McGrath <roland@redhat.com>
38713
09055553
RM
38714 * configure.in: Remove config-name.h generation.
38715 * configure: Regenerated.
38716 * config-name.in: File removed.
38717 * scripts/config-uname.sh: New file.
38718 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38719 ($(objdir)config-name.h): New target.
38720
f2ac4868
RM
38721 * sunrpc/rpc_parse.h: Avoid nested comment.
38722
73f27d5e
RH
387232010-08-24 Richard Henderson <rth@redhat.com>
38724 Ulrich Drepper <drepper@redhat.com>
38725 H.J. Lu <hongjiu.lu@intel.com>
38726
38727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38729 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38730 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38731 _mm_alignr_epi8 with _mm_loadu_si128.
38732 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38733 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38734 (__m128i_shift_right): Removed.
38735 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38736 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38737 * sysdeps/x86_64/multiarch/varshift.h: New file.
38738 * sysdeps/x86_64/multiarch/varshift.S: New file.
38739
84b9230c
MF
387402010-08-21 Mike Frysinger <vapier@gentoo.org>
38741
38742 * configure.in: Move assembler checks to before sysdep dir checking.
38743
9bbd0ddc
PB
387442010-08-20 Petr Baudis <pasky@suse.cz>
38745
38746 * LICENSES: Sync the sunrpc license.
38747
9da4bb31
UD
387482010-08-19 Ulrich Drepper <drepper@redhat.com>
38749
a7ab6ec8
UD
38750 * sunrpc/auth_des.c: Update copyright notice once again.
38751 * sunrpc/auth_none.c: Likewise.
38752 * sunrpc/auth_unix.c: Likewise.
38753 * sunrpc/authdes_prot.c: Likewise.
38754 * sunrpc/authuxprot.c: Likewise.
38755 * sunrpc/bindrsvprt.c: Likewise.
38756 * sunrpc/clnt_gen.c: Likewise.
38757 * sunrpc/clnt_perr.c: Likewise.
38758 * sunrpc/clnt_raw.c: Likewise.
38759 * sunrpc/clnt_simp.c: Likewise.
38760 * sunrpc/clnt_tcp.c: Likewise.
38761 * sunrpc/clnt_udp.c: Likewise.
38762 * sunrpc/clnt_unix.c: Likewise.
38763 * sunrpc/des_crypt.c: Likewise.
38764 * sunrpc/des_soft.c: Likewise.
38765 * sunrpc/get_myaddr.c: Likewise.
38766 * sunrpc/getrpcport.c: Likewise.
38767 * sunrpc/key_call.c: Likewise.
38768 * sunrpc/key_prot.c: Likewise.
38769 * sunrpc/openchild.c: Likewise.
38770 * sunrpc/pm_getmaps.c: Likewise.
38771 * sunrpc/pm_getport.c: Likewise.
38772 * sunrpc/pmap_clnt.c: Likewise.
38773 * sunrpc/pmap_prot.c: Likewise.
38774 * sunrpc/pmap_prot2.c: Likewise.
38775 * sunrpc/pmap_rmt.c: Likewise.
38776 * sunrpc/rpc/auth.h: Likewise.
38777 * sunrpc/rpc/auth_unix.h: Likewise.
38778 * sunrpc/rpc/clnt.h: Likewise.
38779 * sunrpc/rpc/des_crypt.h: Likewise.
38780 * sunrpc/rpc/key_prot.h: Likewise.
38781 * sunrpc/rpc/netdb.h: Likewise.
38782 * sunrpc/rpc/pmap_clnt.h: Likewise.
38783 * sunrpc/rpc/pmap_prot.h: Likewise.
38784 * sunrpc/rpc/pmap_rmt.h: Likewise.
38785 * sunrpc/rpc/rpc.h: Likewise.
38786 * sunrpc/rpc/rpc_des.h: Likewise.
38787 * sunrpc/rpc/rpc_msg.h: Likewise.
38788 * sunrpc/rpc/svc.h: Likewise.
38789 * sunrpc/rpc/svc_auth.h: Likewise.
38790 * sunrpc/rpc/types.h: Likewise.
38791 * sunrpc/rpc/xdr.h: Likewise.
38792 * sunrpc/rpc_clntout.c: Likewise.
38793 * sunrpc/rpc_cmsg.c: Likewise.
38794 * sunrpc/rpc_common.c: Likewise.
38795 * sunrpc/rpc_cout.c: Likewise.
38796 * sunrpc/rpc_dtable.c: Likewise.
38797 * sunrpc/rpc_hout.c: Likewise.
38798 * sunrpc/rpc_main.c: Likewise.
38799 * sunrpc/rpc_parse.c: Likewise.
38800 * sunrpc/rpc_parse.h: Likewise.
38801 * sunrpc/rpc_prot.c: Likewise.
38802 * sunrpc/rpc_sample.c: Likewise.
38803 * sunrpc/rpc_scan.c: Likewise.
38804 * sunrpc/rpc_scan.h: Likewise.
38805 * sunrpc/rpc_svcout.c: Likewise.
38806 * sunrpc/rpc_tblout.c: Likewise.
38807 * sunrpc/rpc_util.c: Likewise.
38808 * sunrpc/rpc_util.h: Likewise.
38809 * sunrpc/rpcinfo.c: Likewise.
38810 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38811 * sunrpc/rpcsvc/key_prot.x: Likewise.
38812 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38813 * sunrpc/rpcsvc/mount.x: Likewise.
38814 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38815 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38816 * sunrpc/rpcsvc/rex.x: Likewise.
38817 * sunrpc/rpcsvc/rstat.x: Likewise.
38818 * sunrpc/rpcsvc/rusers.x: Likewise.
38819 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38820 * sunrpc/rpcsvc/spray.x: Likewise.
38821 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38822 * sunrpc/rtime.c: Likewise.
38823 * sunrpc/svc.c: Likewise.
38824 * sunrpc/svc_auth.c: Likewise.
38825 * sunrpc/svc_authux.c: Likewise.
38826 * sunrpc/svc_raw.c: Likewise.
38827 * sunrpc/svc_run.c: Likewise.
38828 * sunrpc/svc_simple.c: Likewise.
38829 * sunrpc/svc_tcp.c: Likewise.
38830 * sunrpc/svc_udp.c: Likewise.
38831 * sunrpc/svc_unix.c: Likewise.
38832 * sunrpc/svcauth_des.c: Likewise.
38833 * sunrpc/xcrypt.c: Likewise.
38834 * sunrpc/xdr.c: Likewise.
38835 * sunrpc/xdr_array.c: Likewise.
38836 * sunrpc/xdr_float.c: Likewise.
38837 * sunrpc/xdr_mem.c: Likewise.
38838 * sunrpc/xdr_rec.c: Likewise.
38839 * sunrpc/xdr_ref.c: Likewise.
38840 * sunrpc/xdr_sizeof.c: Likewise.
38841 * sunrpc/xdr_stdio.c: Likewise.
38842
9da4bb31
UD
38843 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38844 handling.
38845
bdaa77bc
AS
388462010-08-19 Andreas Schwab <schwab@redhat.com>
38847
38848 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38849
fe2f79db
LM
388502010-08-19 Luis Machado <luisgpm@br.ibm.com>
38851
38852 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38853 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38854 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38855 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38856 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38857 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38858 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38859 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38861 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38862 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38863 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38864 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38865 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38866
b9b42ee0
AB
388672010-07-26 Anton Blanchard <anton@samba.org>
38868
38869 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38870 * malloc/arena.c (heap_trim): Likewise.
38871
1c06ba31
UD
388722010-08-16 Ulrich Drepper <drepper@redhat.com>
38873
38874 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38875 here. Not...
38876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38877 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38878
f8392f40
L
388792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38880
38881 * sysdeps/i386/elf/Makefile: New file.
38882
3162f12e
AS
388832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38884
38885 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38886 from fanotify_init.
38887 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38889
28c90b2c
UD
388902010-08-15 Ulrich Drepper <drepper@redhat.com>
38891
38892 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38893 of strncasecmp_l.
1feccb6c 38894 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38895
ca6bb004
UD
388962010-08-14 Ulrich Drepper <drepper@redhat.com>
38897
e9f82e0d
UD
38898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38899 strncase_l-nonascii.
38900 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38901 Add strncase_l-ssse3.
38902 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38903 * sysdeps/x86_64/strcmp.S: Likewise.
38904 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38905 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38906 * sysdeps/x86_64/strncase.S: New file.
38907 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38908 * sysdeps/x86_64/strncase_l.S: New file.
38909 * string/Makefile (strop-tests): Add strncasecmp.
38910 * string/test-strncasecmp.c: New file.
38911
38912 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38913 warning.
38914
ca6bb004
UD
38915 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38916 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38917
052fa7b3
AS
389182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38919
38920 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38921
962dba78
UD
389222010-08-12 Ulrich Drepper <drepper@redhat.com>
38923
38924 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38925 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38926 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38927
bebff237
AM
389282010-05-01 Alan Modra <amodra@gmail.com>
38929
38930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38931 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38932 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38933 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38934 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38935 tidying. Don't tail-call __sigjmp_save for static lib.
38936 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38937 save location.
38938 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38939 (CALL_MCOUNT): Add eh info, and nop after bl.
38940 (TAIL_CALL_SYSCALL_ERROR): New macro.
38941 (PSEUDO_RET): Use it.
38942 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38943 Correct save location of integer regs and cr.
38944 (_dl_profile_resolve): Correct cr save location. Delete nops
38945 after bl when SHARED. Reduce cfi size a little by better
38946 placement of cfi directives.
38947 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38948 make a stack frame. Instead use parm save area as a temp.
38949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38950 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38952 Don't make a stack frame for parent, use parm save area.
38953 Increase child stack frame to 112 bytes. Don't save unused reg,
38954 and adjust reg usage. Set up cfi on error recovery and
38955 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38957 (__makecontext): Add dummy nop after jump to exit.
38958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38959 Use correct parm save area and cr save, reduce stack frame.
38960 Correct cfi for possible PSEUDO_RET frame setup.
38961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38962 Branch to local label emitted by PSEUDO_RET rather than
38963 __syscall_error.
38964
02637374
AS
389652010-08-12 Andreas Schwab <schwab@redhat.com>
38966
38967 [BZ #11904]
38968 * locale/programs/locale.c (print_assignment): New function.
38969 (show_locale_vars): Use it.
38970
c3e2f19b
UD
389712010-08-11 Ulrich Drepper <drepper@redhat.com>
38972
3cdaa6ad
UD
38973 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38974 field.
38975 (struct statfs64): Likewise.
38976 (_STATFS_F_FLAGS): Define.
38977 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38979 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38980 (ST_VALID): Define locally.
38981 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38982 __statvfs_getflags, use the provided value.
38983 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38984 __ASSUME_STATFS_F_FLAGS.
38985
754f7da3
UD
38986 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38987
10b3bedc
UD
38988 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38989 Add sys/fanotify.h.
38990 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38991 fanotify_mask for GLIBC_2.13.
38992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38993 fanotify_init and fanotify_mark.
38994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38995 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38996
c08fb0d7
UD
38997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38998 Add prlimit.
38999 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39000 prlimit64 for GLIBC_2.13.
39001 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39002 prlimit64.
39003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39004 syscall.
39005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39006 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39007 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39009 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39010 add prlimit alias.
39011 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39012
15bac72b
UD
39013 [BZ #11903]
39014 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39015 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39016
c3e2f19b
UD
39017 * nss/Makefile: Add rules to build and run tst-nss-test1.
39018 * shlib-versions: Add entry for libnss_test1.
39019 * nss/nss_test1.c: New file.
39020 * nss/tst-nss-test1.c: New file.
39021
39022 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39023 (__nss_configure_lookup): Set appropriate entry in
39024 __nss_configure_lookup to true.
39025 * nss/nsswitch.h: Define enum with indeces of databases in
39026 databases and __nss_database_custom arrays. Declare
39027 __nss_database_custom.
39028 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39029 to avoid using nscd when custom rules are installed.
39030 * nss/getXXbyYY_r.c: Likewise.
39031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39032
39033 * nss/nss_files/files-parse.c: Whitespace fixes.
39034
f15ce4d8
UD
390352010-08-09 Ulrich Drepper <drepper@redhat.com>
39036
39037 [BZ #11883]
39038 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39039 * posix/fnmatch_loop.c: Likewise.
39040
d22e4cc9
AK
390412010-07-17 Andi Kleen <ak@linux.intel.com>
39042
39043 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39044 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39045 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39046 * Versions.def [GLIBC_2.13]: Add.
39047
805bc17d
UD
390482010-08-06 Ulrich Drepper <drepper@redhat.com>
39049
39050 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39051 Also fail if tpwd after pwuid call is NULL.
39052
5a42321d
ST
390532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39054
39055 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39056 when converting to ms.
39057
fd3ebeda
ST
390582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39059
39060 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39061 EOPNOTSUPP errors with ENOTTY.
39062 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39063 EOPNOTSUPP errors with ENOTTY.
39064
73507d3a
UD
390652010-07-31 Ulrich Drepper <drepper@redhat.com>
39066
39067 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39068 Add strcasecmp_l-ssse3.
39069 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39070 strcasecmp.
39071 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39072 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39073 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39074
fe36dd02
UD
390752010-07-30 Ulrich Drepper <drepper@redhat.com>
39076
66f6765a
UD
39077 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39078
42e08a54
UD
39079 * string/Makefile (strop-tests): Add strcasecmp.
39080 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39081 strcasecmp_l-nonascii.
39082 (gen-as-const-headers): Add locale-defines.sym.
39083 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39084 * sysdeps/x86_64/strcasecmp.S: New file.
39085 * sysdeps/x86_64/strcasecmp_l.S: New file.
39086 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39087 * sysdeps/x86_64/locale-defines.sym: New file.
39088 * string/test-strcasecmp.c: New file.
39089
fe36dd02
UD
39090 * string/test-strcasestr.c: Test both ends of the range of characters.
39091 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39092
48cbc0d6
RM
390932010-07-29 Roland McGrath <roland@redhat.com>
39094
76e6d6bc 39095 [BZ #11856]
48cbc0d6
RM
39096 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39097
880113d9
UD
390982010-07-27 Ulrich Drepper <drepper@redhat.com>
39099
39100 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39101 for ld.so.
39102
deb9cabb
AS
391032010-07-27 Andreas Schwab <schwab@redhat.com>
39104
39105 * manual/memory.texi (Malloc Tunable Parameters): Document
39106 M_PERTURB.
39107
1c7570ff
RM
391082010-07-26 Roland McGrath <roland@redhat.com>
39109
39110 [BZ #11840]
39111 * configure.in (-fgnu89-inline check): Set and substitute
39112 gnu89_inline, not libc_cv_gnu89_inline.
39113 * configure: Regenerated.
39114 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39115
24fb0f88
UD
391162010-07-26 Ulrich Drepper <drepper@redhat.com>
39117
39118 * string/test-strnlen.c: New file.
39119 * string/Makefile (strop-tests): Add strnlen.
39120 * string/tester.c (test_strnlen): Add a few more test cases.
39121 * string/tst-strlen.c: Better error reporting.
39122
39123 * sysdeps/x86_64/strnlen.S: New file.
39124
8e96b93a
UD
391252010-07-24 Ulrich Drepper <drepper@redhat.com>
39126
39127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39128 lower-latency instructions.
39129
dbc676d4
UD
391302010-07-23 Ulrich Drepper <drepper@redhat.com>
39131
39132 * string/test-strcasestr.c: New file.
39133 * string/test-strstr.c: New file.
39134 * string/Makefile (strop-tests): Add strstr and strcasestr.
39135 * string/str-two-way.h: Don't undefine MAX.
39136 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39137
f6a31e0e
AS
391382010-07-21 Andreas Schwab <schwab@redhat.com>
39139
39140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39141 strcasestr-nonascii.
39142 (CFLAGS-strcasestr-nonascii.c): Define.
39143 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39145 Remove unused attribute.
39146
5dbc3b6c
RM
391472010-07-20 Roland McGrath <roland@redhat.com>
39148
39149 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39150 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39151 ld.so.cache was broken. With it, there is no way to disable dsocaps
39152 like LD_HWCAP_MASK can disable hwcaps.
39153
23d101d8
EPM
391542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39155
39156 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39157
cc9f2e47
UD
391582010-07-16 Ulrich Drepper <drepper@redhat.com>
39159
39160 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39161 call in strcasestr.
39162 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39163 __strcasestr_sse42_nonascii.
39164 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39165 strcasestr-nonascii.c.
39166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39167
77c1b069
LM
391682010-06-15 Luis Machado <luisgpm@br.ibm.com>
39169
39170 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39171 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39174
440566c3
UD
391752010-07-09 Ulrich Drepper <drepper@redhat.com>
39176
39177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39178 fcntl.
39179
5be9d05d
AS
391802010-07-06 Andreas Schwab <schwab@redhat.com>
39181
c30b7ee2 39182 [BZ #11577]
5be9d05d
AS
39183 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39184 dl_signal_cerror.
39185
8a492a67
UD
391862010-07-06 Ulrich Drepper <drepper@redhat.com>
39187
39188 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39189 _PC_PIPE_BUF using F_GETPIPE_SZ.
39190
713df3d5
RM
391912010-07-05 Roland McGrath <roland@redhat.com>
39192
39193 * manual/arith.texi (Rounding Functions): Fix rint description
39194 implicit in round description.
39195
702e8f14
UD
391962010-07-02 Ulrich Drepper <drepper@redhat.com>
39197
39198 * elf/Makefile: Fix linking for a few tests to make recent linker
39199 happy.
39200
52ed8be9
AS
392012010-06-30 Andreas Schwab <schwab@redhat.com>
39202
39203 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39204 $(common-objpfx)libc_nonshared.a.
39205
f47c9a11
LM
392062010-06-21 Luis Machado <luisgpm@br.ibm.com>
39207
39208 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39209 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39210 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39211 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39212 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39213 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39214 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39215 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39230 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39231 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39232 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39233 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39234 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39235 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39236 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39237 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39238 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39239 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39240 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39241 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39256
6fb8cbcb
L
392572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39258
39259 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39260 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39261 * string/memmove.c (memmove): Renamed to ...
39262 (MEMMOVE): ...this. Default to memmove.
39263 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39264 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39265 (END_CHK): Define.
39266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39267 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39268 mempcpy-ssse3-back memmove-ssse3-back.
39269 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39272 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39273 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39274 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39275 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39276 * sysdeps/x86_64/multiarch/memmove.c: New file.
39277 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39278 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39279 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39280 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39282 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39283 Define.
39284 (index_Fast_Copy_Backward): Define.
39285 (HAS_ARCH_FEATURE): Define.
39286 (HAS_FAST_REP_STRING): Define.
39287 (HAS_FAST_COPY_BACKWARD): Define.
39288
4e733bac 392892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39290
39291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39292 Restore proper fallback handling.
39293
63c4ed22
UD
392942010-06-19 Ulrich Drepper <drepper@redhat.com>
39295
ac2b484c
UD
39296 [BZ #11701]
39297 * posix/group_member.c (__group_member): Correct checking loop.
39298
63c4ed22
UD
39299 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39300 OOM in getpwuid_r correctly. Return error number when the caller
39301 should return, otherwise -1.
39302 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39303 call returning > 0 value.
39304 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39305
765ade4b
AS
393062010-06-07 Andreas Schwab <schwab@redhat.com>
39307
39308 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39309 libc_nonshared.a from targets in modules-names.
39310
80da2e09
KS
393112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39312
39313 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39314 requires it.
39315
158db122
LM
393162010-06-10 Luis Machado <luisgpm@br.ibm.com>
39317
39318 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39319 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39320 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39321 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39322
caa78cf8
AS
393232010-06-02 Andreas Schwab <schwab@redhat.com>
39324
39325 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39326
b2ef2c01
UD
393272010-06-14 Ulrich Drepper <drepper@redhat.com>
39328
39329 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39330 and F_GETPIPE_SZ.
39331 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39332 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39335 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39336 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39337
fbd643b6
RM
393382010-06-14 Roland McGrath <roland@redhat.com>
39339
39340 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39341
f32f2869
JJ
393422010-06-07 Jakub Jelinek <jakub@redhat.com>
39343
39344 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39345 __REDIRECT followed by __THROW.
39346 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39347 * posix/getopt.h (getopt): Likewise.
39348
2a50c078
EPM
393492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39350
39351 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39352 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39353 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39354 in AT_FLAGS.
39355 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39356 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39357
eb5ad2eb
LM
393582010-05-28 Luis Machado <luisgpm@br.ibm.com>
39359
39360 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39361
3c88fe1e
L
393622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39363
39364 [BZ #11640]
39365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39366 Properly check family and model.
39367
d2f73151
TY
393682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39369
39370 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39371
ebd2e13d
LM
393722010-05-24 Luis Machado <luisgpm@br.ibm.com>
39373
39374 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39375
b32b8b45
UD
393762010-05-21 Ulrich Drepper <drepper@redhat.com>
39377
39378 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39379 symbol reference.
39380
9acbe24d
AS
393812010-05-19 Andreas Schwab <schwab@redhat.com>
39382
39383 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39384 symbol reference.
39385
f0ccf6ea
AS
393862010-05-21 Andreas Schwab <schwab@redhat.com>
39387
3d04ff3a
AS
39388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39389 and internal_recvmmsg.
39390 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39391 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39392 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39393 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39394
f0ccf6ea
AS
39395 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39396 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39397 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39398
5b08ac57
AS
393992010-05-20 Andreas Schwab <schwab@redhat.com>
39400
39401 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39402
4828935d
LM
394032010-05-17 Luis Machado <luisgpm@br.ibm.com>
39404
39405 POWER7 optimizations.
39406 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39407 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39408
373d545e
UD
394092010-05-19 Ulrich Drepper <drepper@redhat.com>
39410
39411 * version.h: Update for 2.13 development version.
39412
21a2b1ae
AS
394132010-05-12 Andrew Stubbs <ams@codesourcery.com>
39414
39415 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39416 exceptions. Return 0.
39417
3f7dcb2b
RM
394182010-05-07 Roland McGrath <roland@redhat.com>
39419
39420 * elf/ldconfig.c (main): Add a const.
39421
5f24d53a 394222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 39423
a160f8d8
UD
39424 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39425 (args_options): Add no-idn option.
39426 (ahosts_keys_int): Add idn_flags to ai_flags.
39427 (parse_option): Handle 'i' option to clear idn_flags.
39428
5f24d53a
UD
39429 * malloc/malloc.c (_int_free): Possible race in the most recently
39430 added check. Only act on the data if no current modification
39431 happened.
265bb1ce
UD
39432
39433See ChangeLog.17 for earlier changes.