1 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3 * include/features.h: Update comment documenting feature test
5 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8 (_SVID_SOURCE): Likewise.
9 (_DEFAULT_SOURCE): Update description of default features.
10 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14 * manual/math.texi (Mathematical Constants): Likewise.
15 * manual/signal.texi (Interrupted Primitives): Likewise.
16 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19 Don't refer to _SVID_SOURCE in warning text.
21 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26 * sysdeps/mips/dl-lookup.c: Remove.
27 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32 * math/auto-libm-test-in: Add testcase for expl.
33 * math/auto-libm-test-out: Regenerate.
34 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35 calculation of unsafe.
36 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
40 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41 * sysdeps/unix/sysv/linux/aarch64: Move directory from
42 ports/sysdeps/unix/sysv/linux/aarch64.
43 * README: Update listing for aarch64*-*-linux-gnu.
45 2014-02-11 Will Newton <will.newton@linaro.org>
47 * manual/probes.texi (Mathematical Function Probes): Use
48 "triggered" instead of "hit".
50 2014-02-11 Will Newton <will.newton@linaro.org>
52 * manual/probes.texi (Internal Probes): Add documentation
53 of setjmp, longjmp and longjmp_target probes.
55 2014-02-11 Will Newton <will.newton@linaro.org>
57 * include/stap-probe.h: Add comment about probe argument
60 2014-02-11 Will Newton <will.newton@linaro.org>
62 * malloc/mtrace.c (attribute_hidden): Remove unused macro
63 definition. (tr_where, tr_freehook, tr_mallochook,
64 tr_reallochook, tr_memalignhook): Use ANSI protoype.
66 2014-02-11 David S. Miller <davem@davemloft.net>
68 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
71 2014-02-10 Joseph Myers <joseph@codesourcery.com>
73 * sysdeps/mips: Move directory from ports/sysdeps/mips.
74 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
75 * sysdeps/unix/sysv/linux/mips: Move directory from
76 ports/sysdeps/unix/sysv/linux/mips.
77 * README: Update listing for mips-*-linux-gnu and
80 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
82 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
83 * sysdeps/unix/sysv/linux/m68k: Move directory from
84 ports/sysdeps/unix/sysv/linux/m68k.
85 * README: Update listing for m68k-*-linux-gnu.
87 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
89 * sysdeps/tile: Move directory from ports/sysdeps/tile.
90 * sysdeps/unix/sysv/linux/generic: Move directory from
91 ports/sysdeps/unix/sysv/linux/generic.
92 * sysdeps/unix/sysv/linux/tile: Move directory from
93 ports/sysdeps/unix/sysv/linux/tile.
94 * README: Update listing for tile*-*-linux-gnu.
96 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
98 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
99 * benchtests/bench-memmem.c (simple_memmem): Likewise.
100 * catgets/open_catalog.c (__open_catalog): Likewise.
101 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
102 * debug/confstr_chk.c: Likewise.
103 * debug/fread_chk.c (__fread_chk): Likewise.
104 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
105 * debug/getgroups_chk.c: Likewise.
106 * debug/mbsnrtowcs_chk.c: Likewise.
107 * debug/mbsrtowcs_chk.c: Likewise.
108 * debug/mbstowcs_chk.c: Likewise.
109 * debug/memcpy_chk.c: Likewise.
110 * debug/memmove_chk.c: Likewise.
111 * debug/mempcpy_chk.c: Likewise.
112 * debug/memset_chk.c: Likewise.
113 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
114 * debug/strcat_chk.c (__strcat_chk): Likewise.
115 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
116 * debug/strncat_chk.c (__strncat_chk): Likewise.
117 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
118 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
119 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
120 * debug/wcpncpy_chk.c: Likewise.
121 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
122 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
123 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
124 * debug/wcsncpy_chk.c: Likewise.
125 * debug/wcsnrtombs_chk.c: Likewise.
126 * debug/wcsrtombs_chk.c: Likewise.
127 * debug/wcstombs_chk.c: Likewise.
128 * debug/wmemcpy_chk.c: Likewise.
129 * debug/wmemmove_chk.c: Likewise.
130 * debug/wmempcpy_chk.c: Likewise.
131 * debug/wmemset_chk.c: Likewise.
132 * dirent/scandirat.c (SCANDIRAT): Likewise.
133 * dlfcn/dladdr1.c (dladdr1): Likewise.
134 * dlfcn/dladdr.c (dladdr): Likewise.
135 * dlfcn/dlclose.c (dlclose_doit): Likewise.
136 * dlfcn/dlerror.c (__dlerror): Likewise.
137 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
138 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
139 * dlfcn/dlopen.c (dlopen_doit): Likewise.
140 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
141 * dlfcn/dlsym.c (dlsym_doit): Likewise.
142 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
143 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
144 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
146 * elf/dl-conflict.c: Likewise.
147 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
148 * elf/dl-dst.h: Likewise.
149 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
150 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
151 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
152 * elf/dl-init.c (call_init, _dl_init): Likewise.
153 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
154 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
155 _dl_map_object_from_fd, open_verify, open_path,
156 _dl_map_object): Likewise.
157 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
159 * elf/dl-minimal.c (__libc_memalign): Likewise.
160 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
161 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
162 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
163 * elf/dl-sym.c (do_sym): Likewise.
164 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
165 _dl_tls_get_addr_soft): Likewise.
166 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
167 * elf/dl-writev.h (_dl_writev): Likewise.
168 * elf/ldconfig.c (search_dir): Likewise.
169 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
171 * elf/setup-vdso.h (setup_vdso): Likewise.
172 * grp/compat-initgroups.c (compat_call): Likewise.
173 * grp/fgetgrent.c (fgetgrent): Likewise.
174 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
175 * grp/putgrent.c (putgrent): Likewise.
176 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
178 * hurd/hurdinit.c: Likewise.
179 * iconvdata/8bit-gap.c (struct): Likewise.
180 * iconvdata/ansi_x3.110.c : Likewise.
181 * iconvdata/big5.c : Likewise.
182 * iconvdata/big5hkscs.c : Likewise.
183 * iconvdata/cp1255.c: Likewise.
184 * iconvdata/cp1258.c : Likewise.
185 * iconvdata/cp932.c : Likewise.
186 * iconvdata/euc-cn.c: Likewise.
187 * iconvdata/euc-jisx0213.c : Likewise.
188 * iconvdata/euc-jp.c: Likewise.
189 * iconvdata/euc-jp-ms.c : Likewise.
190 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
191 * iconvdata/gb18030.c : Likewise.
192 * iconvdata/gbbig5.c (const): Likewise.
193 * iconvdata/gbgbk.c: Likewise.
194 * iconvdata/gbk.c : Likewise.
195 * iconvdata/ibm1364.c : Likewise.
196 * iconvdata/ibm930.c : Likewise.
197 * iconvdata/ibm932.c: Likewise.
198 * iconvdata/ibm933.c : Likewise.
199 * iconvdata/ibm935.c : Likewise.
200 * iconvdata/ibm937.c : Likewise.
201 * iconvdata/ibm939.c : Likewise.
202 * iconvdata/ibm943.c: Likewise.
203 * iconvdata/iso_11548-1.c: Likewise.
204 * iconvdata/iso-2022-cn.c : Likewise.
205 * iconvdata/iso-2022-cn-ext.c : Likewise.
206 * iconvdata/iso-2022-jp-3.c: Likewise.
207 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
208 * iconvdata/iso-2022-kr.c : Likewise.
209 * iconvdata/iso646.c (gconv_end): Likewise.
210 * iconvdata/iso_6937-2.c : Likewise.
211 * iconvdata/iso_6937.c : Likewise.
212 * iconvdata/iso8859-1.c: Likewise.
213 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
214 * iconvdata/shift_jisx0213.c : Likewise.
215 * iconvdata/sjis.c : Likewise.
216 * iconvdata/t.61.c : Likewise.
217 * iconvdata/tcvn5712-1.c : Likewise.
218 * iconvdata/tscii.c: Likewise.
219 * iconvdata/uhc.c : Likewise.
220 * iconvdata/unicode.c (gconv_end): Likewise.
221 * iconvdata/utf-16.c (gconv_end): Likewise.
222 * iconvdata/utf-32.c (gconv_end): Likewise.
223 * iconvdata/utf-7.c (base64): Likewise.
224 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
225 * iconv/gconv_close.c (__gconv_close): Likewise.
226 * iconv/gconv_open.c (__gconv_open): Likewise.
227 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
228 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
229 internal_ucs4le_loop_single, ucs4le_internal_loop,
230 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
231 * iconv/iconv.c (iconv): Likewise.
232 * iconv/iconv_close.c: Likewise.
233 * iconv/loop.c (SINGLE): Likewise.
234 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
235 * include/atomic.h: Likewise.
236 * inet/inet6_option.c (option_alloc): Likewise.
237 * intl/bindtextdom.c (set_binding_values): Likewise.
238 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
239 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
240 * intl/localealias.c (read_alias_file): Likewise.
241 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
242 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
243 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
244 * libio/fmemopen.c (fmemopen): Likewise.
245 * libio/iofgets.c (_IO_fgets): Likewise.
246 * libio/iofgets_u.c (fgets_unlocked): Likewise.
247 * libio/iofgetws.c (fgetws): Likewise.
248 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
249 * libio/iogetdelim.c (_IO_getdelim): Likewise.
250 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
251 adjust_wide_data, _IO_wfile_seekoff): Likewise.
252 * locale/findlocale.c (_nl_find_locale): Likewise.
253 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
254 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
256 * locale/setlocale.c (setlocale): Likewise.
257 * login/programs/pt_chown.c (main): Likewise.
258 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
259 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
260 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
261 mmap, mmap64, mremap, munmap): Likewise.
262 * math/e_exp2l.c: Likewise.
263 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
264 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
265 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
266 * math/s_catan.c (__catan): Likewise.
267 * math/s_catanf.c (__catanf): Likewise.
268 * math/s_catanh.c (__catanh): Likewise.
269 * math/s_catanhf.c (__catanhf): Likewise.
270 * math/s_catanhl.c (__catanhl): Likewise.
271 * math/s_catanl.c (__catanl): Likewise.
272 * math/s_ccosh.c (__ccosh): Likewise.
273 * math/s_ccoshf.c (__ccoshf): Likewise.
274 * math/s_ccoshl.c (__ccoshl): Likewise.
275 * math/s_cexp.c (__cexp): Likewise.
276 * math/s_cexpf.c (__cexpf): Likewise.
277 * math/s_cexpl.c (__cexpl): Likewise.
278 * math/s_clog10.c (__clog10): Likewise.
279 * math/s_clog10f.c (__clog10f): Likewise.
280 * math/s_clog10l.c (__clog10l): Likewise.
281 * math/s_clog.c (__clog): Likewise.
282 * math/s_clogf.c (__clogf): Likewise.
283 * math/s_clogl.c (__clogl): Likewise.
284 * math/s_csin.c (__csin): Likewise.
285 * math/s_csinf.c (__csinf): Likewise.
286 * math/s_csinh.c (__csinh): Likewise.
287 * math/s_csinhf.c (__csinhf): Likewise.
288 * math/s_csinhl.c (__csinhl): Likewise.
289 * math/s_csinl.c (__csinl): Likewise.
290 * math/s_csqrt.c (__csqrt): Likewise.
291 * math/s_csqrtf.c (__csqrtf): Likewise.
292 * math/s_csqrtl.c (__csqrtl): Likewise.
293 * math/s_ctan.c (__ctan): Likewise.
294 * math/s_ctanf.c (__ctanf): Likewise.
295 * math/s_ctanh.c (__ctanh): Likewise.
296 * math/s_ctanhf.c (__ctanhf): Likewise.
297 * math/s_ctanhl.c (__ctanhl): Likewise.
298 * math/s_ctanl.c (__ctanl): Likewise.
299 * math/w_pow.c: Likewise.
300 * math/w_powf.c: Likewise.
301 * math/w_powl.c: Likewise.
302 * math/w_scalb.c (sysv_scalb): Likewise.
303 * math/w_scalbf.c (sysv_scalbf): Likewise.
304 * math/w_scalbl.c (sysv_scalbl): Likewise.
305 * misc/error.c (error_tail): Likewise.
306 * misc/pselect.c (__pselect): Likewise.
307 * nis/nis_callback.c (__nis_create_callback): Likewise.
308 * nis/nis_call.c (__nisfind_server): Likewise.
309 * nis/nis_creategroup.c (nis_creategroup): Likewise.
310 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
311 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
312 * nis/nis_getservlist.c (nis_getservlist): Likewise.
313 * nis/nis_lookup.c (nis_lookup): Likewise.
314 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
315 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
316 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
317 * nis/nis_xdr.c (xdr_endpoint): Likewise.
318 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
319 internal_getgrgid_r): Likewise.
320 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
322 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
323 internal_getpwuid_r): Likewise.
324 * nis/nss_compat/compat-spwd.c (getspent_next_file,
325 internal_getspnam_r): Likewise.
326 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
327 _nss_nis_getaliasbyname_r): Likewise.
328 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
329 _nss_nis_getntohost_r): Likewise.
330 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
331 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
333 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
334 internal_nis_gethostent_r, internal_gethostbyname2_r,
335 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
336 _nss_nis_gethostbyname4_r): Likewise.
337 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
338 initgroups_netid): Likewise.
339 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
340 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
341 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
342 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
343 _nss_nis_getprotobynumber_r): Likewise.
344 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
345 _nss_nis_getsecretkey): Likewise.
346 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
347 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
349 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
350 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
351 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
352 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
353 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
354 _nss_nis_getspnam_r): Likewise.
355 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
357 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
358 _nss_nisplus_getntohost_r): Likewise.
359 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
360 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
361 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
362 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
363 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
365 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
366 _nss_nisplus_getnetbyaddr_r): Likewise.
367 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
368 _nss_nisplus_getprotobynumber_r): Likewise.
369 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
370 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
371 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
373 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
374 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
375 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
376 _nss_nisplus_getspnam_r): Likewise.
377 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
378 * nscd/aicache.c (addhstaiX): Likewise.
379 * nscd/cache.c (cache_search, prune_cache): Likewise.
380 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
381 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
382 * nscd/grpcache.c (addgrbyX): Likewise.
383 * nscd/hstcache.c (addhstbyX): Likewise.
384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
385 * nscd/mem.c (gc, mempool_alloc): Likewise.
386 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
388 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
390 * nscd/nscd_getai.c (__nscd_getai): Likewise.
391 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
392 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
394 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
396 * nscd/nscd_helper.c (__readvall, open_socket,
397 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
398 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
399 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
400 * nscd/pwdcache.c (addpwbyX): Likewise.
401 * nscd/selinux.c (preserve_capabilities): Likewise.
402 * nscd/servicescache.c (addservbyX): Likewise.
403 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
404 * posix/fnmatch.c (fnmatch): Likewise.
405 * posix/getopt.c (_getopt_internal_r): Likewise.
406 * posix/glob.c (glob, glob_in_dir): Likewise.
407 * posix/wordexp.c (exec_comm_child): Likewise.
408 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
409 gaih_getanswer_slice): Likewise.
410 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
411 * resolv/res_init.c: Likewise.
412 * resolv/res_mkquery.c (res_nmkquery): Likewise.
413 * resolv/res_query.c (__libc_res_nquery): Likewise.
414 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
416 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
417 * stdio-common/perror.c (perror): Likewise.
418 * stdio-common/printf_fp.c (___printf_fp): Likewise.
419 * stdio-common/tmpnam.c (tmpnam): Likewise.
420 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
421 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
422 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
423 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
424 * stdlib/putenv.c (putenv): Likewise.
425 * stdlib/setenv.c (__add_to_environ): Likewise.
426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
427 * stdlib/strtol_l.c (INTERNAL): Likewise.
428 * string/memmem.c (memmem): Likewise.
429 * string/strerror.c (strerror): Likewise.
430 * string/strnlen.c (__strnlen): Likewise.
431 * string/test-memmem.c (simple_memmem): Likewise.
432 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
433 * sunrpc/pm_getport.c (__get_socket): Likewise.
434 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
435 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
436 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
437 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
439 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
441 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
442 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
443 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
444 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
445 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
446 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
447 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
448 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
449 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
450 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
454 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
456 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
459 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
467 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
468 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
469 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
470 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
476 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
478 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
479 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
481 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
483 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
487 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
489 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
490 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
491 * sysdeps/posix/opendir.c (__opendirat): Likewise.
492 * sysdeps/posix/sleep.c: Likewise.
493 * sysdeps/posix/tempname.c: Likewise.
494 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
495 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
498 elf_machine_rela): Likewise.
499 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
501 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
502 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
504 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
505 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
506 elf_machine_rela, elf_machine_lazy_rel): Likewise.
507 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
508 elf_machine_rela, elf_machine_lazy_rel): Likewise.
509 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
510 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
511 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
512 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
513 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
515 elf_machine_lazy_rel): Likewise.
516 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
518 elf_machine_lazy_rel): Likewise.
519 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
520 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
521 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
522 * sysdeps/unix/grantpt.c (grantpt): Likewise.
523 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
524 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
525 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
528 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
529 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
530 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
531 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
532 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
533 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
534 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
535 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
536 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
537 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
538 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
540 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
541 (__posix_fallocate64_l64): Likewise.
542 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
543 (posix_fallocate): Likewise.
544 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
545 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
546 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
547 getifaddrs_internal): Likewise.
548 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
549 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
550 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
551 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
552 * sysdeps/unix/sysv/linux/posix_fallocate64.c
553 (__posix_fallocate64_l64): Likewise.
554 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
556 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
557 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
559 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
560 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
561 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
564 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
565 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
566 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
568 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
569 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
570 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
572 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
573 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
574 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
576 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
577 (posix_fallocate): Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
579 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
580 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
581 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
582 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
584 * time/asctime.c (asctime_internal): Likewise.
585 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
586 * time/tzset.c (__tzset_parse_tz): Likewise.
587 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
588 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
589 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
590 * wcsmbs/wcsmbsload.h: Likewise.
592 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
595 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
597 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
599 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
600 arena_get2): Remove THREAD_STATS conditionals.
601 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
602 __malloc_stats, int): Likewise.
604 2014-02-08 Mike Frysinger <vapier@gentoo.org>
606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
607 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
609 2014-02-08 Mike Frysinger <vapier@gentoo.org>
611 * manual/setjmp.texi: Fix typos/grammar errors.
613 2014-02-08 Mike Frysinger <vapier@gentoo.org>
615 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
616 Only return early when n is <= 0. Delete unused return statement.
618 2014-02-08 Mike Frysinger <vapier@gentoo.org>
620 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
621 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
622 * debug/tst-longjmp_chk3.c: New file.
624 2014-02-08 Mike Frysinger <vapier@gentoo.org>
626 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
627 (test_main): Replace code with set_fortify_handler call.
628 * debug/test-strcpy_chk.c: Likewise.
629 * debug/tst-chk1.c: Likewise.
630 * debug/tst-longjmp_chk.c: Likewise.
631 * test-skeleton.c: Include fcntl.h & paths.h
632 (set_fortify_handler): Define.
634 2014-02-08 Mike Frysinger <vapier@gentoo.org>
636 * debug/tst-longjmp_chk.c: Add header comment and include
638 (do_test): Mark static.
639 (TEST_FUNCTION): Define.
641 2014-02-08 Mike Frysinger <vapier@gentoo.org>
643 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
644 (IP_PMTUDISC_INTERFACE): Likewise.
645 (IP_MULTICAST_IF): Likewise.
646 (IP_MULTICAST_TTL): Likewise.
647 (IP_MULTICAST_LOOP): Likewise.
648 (IP_ADD_MEMBERSHIP): Likewise.
649 (IP_DROP_MEMBERSHIP): Likewise.
650 (IP_UNBLOCK_SOURCE): Likewise.
651 (IP_BLOCK_SOURCE): Likewise.
652 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
653 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
654 (IP_MSFILTER): Likewise.
655 (MCAST_JOIN_GROUP): Likewise.
656 (MCAST_BLOCK_SOURCE): Likewise.
657 (MCAST_UNBLOCK_SOURCE): Likewise.
658 (MCAST_LEAVE_GROUP): Likewise.
659 (MCAST_JOIN_SOURCE_GROUP): Likewise.
660 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
661 (MCAST_MSFILTER): Likewise.
662 (IP_MULTICAST_ALL): Likewise.
663 (IP_UNICAST_IF): Likewise.
665 2014-02-08 Mike Frysinger <vapier@gentoo.org>
667 * timezone/Makefile: Delete $(have-ksh) check.
668 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
669 * timezone/tzselect.ksh: Add +x mode bits.
671 2014-02-08 Mike Frysinger <vapier@gentoo.org>
673 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
674 (ANON_INODE_FS_MAGIC): Likewise.
675 (BDEVFS_MAGIC): Likewise.
676 (BINFMTFS_MAGIC): Likewise.
677 (BTRFS_TEST_MAGIC): Likewise.
678 (CRAMFS_MAGIC_WEND): Likewise.
679 (DEBUGFS_MAGIC): Likewise.
680 (ECRYPTFS_SUPER_MAGIC): Likewise.
681 (EXT3_SUPER_MAGIC): Likewise.
682 (EXT4_SUPER_MAGIC): Likewise.
683 (FUTEXFS_SUPER_MAGIC): Likewise.
684 (HOSTFS_SUPER_MAGIC): Likewise.
685 (HUGETLBFS_MAGIC): Likewise.
686 (MINIX3_SUPER_MAGIC): Likewise.
687 (MTD_INODE_FS_MAGIC): Likewise.
688 (NILFS_SUPER_MAGIC): Likewise.
689 (OPENPROM_SUPER_MAGIC): Likewise.
690 (PIPEFS_MAGIC): Likewise.
691 (PSTOREFS_MAGIC): Likewise.
692 (QNX6_SUPER_MAGIC): Likewise.
693 (RAMFS_MAGIC): Likewise.
694 (REISERFS_SUPER_MAGIC_STRING): Likewise.
695 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
696 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
697 (SECURITYFS_MAGIC): Likewise.
698 (SELINUX_MAGIC): Likewise.
699 (SMACK_MAGIC): Likewise.
700 (SOCKFS_MAGIC): Likewise.
701 (SQUASHFS_MAGIC): Likewise.
702 (STACK_END_MAGIC): Likewise.
703 (TMPFS_MAGIC): Likewise.
704 (USBDEVICE_SUPER_MAGIC): Likewise.
705 (V9FS_MAGIC): Likewise.
706 (XENFS_SUPER_MAGIC): Likewise.
707 (CRAMFS_MAGIC): Fix typo in comment.
708 (EXT2_SUPER_MAGIC): Update comment.
709 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
711 2014-02-08 Joseph Myers <joseph@codesourcery.com>
713 * sysdeps/arm: Move directory from ports/sysdeps/arm.
714 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
715 * sysdeps/unix/sysv/linux/arm: Move directory from
716 ports/sysdeps/unix/sysv/linux/arm.
717 * README: Update listing for arm-*-linux-gnueabi.
719 * README: Remove mention of am33.
721 2014-02-07 Roland McGrath <roland@hack.frob.com>
723 * bits/sigset.h (__sigemptyset): Use a statement expression rather
724 than the comma operator, to avoid "rhs of comma has no effect"
726 (__sigfillset, __sigandset, __sigorset): Likewise.
727 * include/signal.h (__sigemptyset): Likewise.
728 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
730 2014-02-07 Allan McRae <allan@archlinux.org>
732 * version.h (RELEASE): Set to "development".
733 (VERSION): Set to "2.19.90"
734 * NEWS: Add 2.20 section.
736 2014-02-06 Carlos O'Donell <carlos@redhat.com>
739 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
741 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
743 * manual/contrib.texi: Update entry for Carlos O'Donell,
744 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
746 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
748 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
750 * sysdeps/unix/sysv/linux/kernel-features.h
751 [__LINUX_KERNEL_VERSION >= 0x020621]
752 (__ASSUME_PROC_PID_TASK_COMM): Define.
754 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
756 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
757 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
758 Leonard and Allan McRae.
760 2014-02-04 David S. Miller <davem@davemloft.net>
762 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
765 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
794 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796 * nptl/shlib-versions: Change powerpc*le start to 2.17.
797 * shlib-versions: Likewise.
799 2014-02-04 Roland McGrath <roland@hack.frob.com>
800 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
803 (abilist-pattern): New variable, set to %-le.abilist.
805 * Makerules (abilist-pattern): New variable.
806 (vpath): Use $(abilist-pattern) in place of %.abilist.
807 (check-abi-% pattern rule): Likewise.
808 (check-abi, update-abi): Likewise.
810 2014-02-04 Eric Wong <normalperson@yhbt.net>
812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
814 2014-02-04 Eric Wong <normalperson@yhbt.net>
816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
818 2014-02-03 Carlos O'Donell <carlos@redhat.com>
820 * manual/startup.texi: Add next, previous, and top entries for
821 the `Program Arguments' and `Environment Variables' nodes.
823 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
825 * manual/macros.texi: Add comments before MTASC-safety macros.
827 * manual/users.texi: Document MTASC-safety properties.
829 * manual/threads.texi (pthread_key_create, pthread_key_delete,
830 pthread_getspecific, pthread_setspecific): Format with
831 @deftypefun, and add @safety note.
832 * manual/signal.texi: Move comments that analyze the above
833 functions to their home place.
835 2014-02-03 Allan McRae <allan@archlinux.org>
837 * po/sl.po: Update Slovenian translation from translation project.
839 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
841 * manual/time.texi (timegm): Add missing blank after @c.
842 Reported by Joseph Myers <joseph@codesourcery.com>.
844 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
846 * manual/check-safety.sh: New.
847 * manual/Makefile ($(objpfx)stamp-summary): Run it.
849 * manual/terminal.texi: Document MTASC-safety properties.
851 * manual/filesys.texi: Document MTASC-safety properties.
853 * manual/errno.texi: Document MTASC-safety properties.
855 * manual/intro.texi: Document safety identifiers and
858 * manual/string.texi (wcstok): Fix prototype.
859 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
861 * manual/time.texi: Document MTASC-safety properties.
863 * manual/string.texi: Document MTASC-safety properties.
865 * manual/threads.texi: Document MTASC-safety properties.
867 * manual/stdio.texi: Document MTASC-safety properties.
869 * manual/syslog.texi: Document MTASC-safety properties.
871 * manual/sysinfo.texi: Document MTASC-safety properties.
873 * manual/startup.texi: Document MTASC-safety properties.
875 * manual/socket.texi: Document MTASC-safety properties.
877 * manual/signal.texi: Document MTASC-safety properties.
879 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
881 * manual/setjmp.texi: Document MTASC-safety properties.
883 * manual/search.texi: Document MTASC-safety properties.
885 * manual/resource.texi: Document MTASC-safety properties.
887 * manual/process.texi: Document MTASC-safety properties.
889 * manual/platform.texi: Document MTASC-safety properties.
891 * manual/pipe.texi: Document MTASC-safety properties.
893 * manual/pattern.texi: Document MTASC-safety properties.
895 * manual/message.texi: Document MTASC-safety properties.
898 * manual/memory.texi: Document MTASC-safety properties.
900 * manual/math.texi: Document MTASC-safety properties.
902 * manual/locale.texi: Document MTASC-safety properties.
904 * manual/llio.texi: Document MTASC-safety properties.
906 * manual/libdl.texi: New.
908 * manual/lang.texi: Document MTASC-safety properties.
910 * manual/job.texi: Document MTASC-safety properties.
912 * manual/getopt.texi: Document MTASC-safety properties.
914 * manual/ctype.texi: Document MTASC-safety properties.
916 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
919 * csu/libc-tls.c (static_map): Remove variable.
920 (__libc_setup_tls): Use main executable's link map for TLS data.
921 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
922 casing for LM_ID_BASE and GL(dl_nns).
923 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
924 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
925 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
926 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
927 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
929 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
932 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
934 * manual/debug.texi: Document MTASC-safety properties.
936 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
939 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
940 of __x86_64__ when disabling x87 inline functions.
942 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
944 * manual/charset.texi: Document MTASC-safety properties.
946 * manual/crypt.texi: Document MTASC-safety properties.
948 * manual/conf.texi: Document MTASC-safety properties.
950 * manual/arith.texi: Document MTASC-safety properties.
952 * manual/argp.texi: Document MTASC-safety properties.
954 * manual/macros.texi: Introduce macros to document multi
955 thread, asynchronous signal and asynchronous cancellation
957 * manual/intro.texi: Introduce the properties themselves.
959 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
961 * sysdeps/sh/sh4/Makefile: New file.
963 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
965 * math/gen-libm-test.pl ($srcdir): New variable.
966 ($auto_input): Use it.
968 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
971 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
972 access beyond array bounds when parsing netgroups file.
974 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
975 the old buffer before realloc.
977 2014-01-27 Allan McRae <allan@archlinux.org>
979 * po/fr.po: Update French translation from translation project.
981 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
983 * sysdeps/sh/libm-test-ulps: Regenerate.
985 2014-01-24 David S. Miller <davem@davemloft.net>
987 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
989 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
991 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
992 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
994 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
998 string pointers after reallocation.
1000 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1002 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1003 __SH4A__ instead of __SH_FPU_ANY__.
1005 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1007 * sysdeps/sh/fpu_control.h: New file.
1008 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1009 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1010 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1011 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1012 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1013 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1014 * sysdeps/sh/sys/ucontext.h: Remove.
1015 * sysdeps/sh/sys: Remove directory.
1017 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1019 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1020 s390/sys/ucontext.h.
1021 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1022 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1024 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1027 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1029 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1032 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1033 Adjust the vDSO correctly for internal calls.
1034 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1036 2014-01-20 Allan McRae <allan@archlinux.org>
1038 * po/ca.po: Update Catalan translation from translation project.
1040 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1042 * sysdeps/s390/sotruss-lib.c: New file.
1044 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1048 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1049 local calls issues by not having a PLT stub required for IFUNC calls.
1050 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1052 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1054 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1055 * math/test-fpucw-static.c: Likewise.
1057 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1060 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1062 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1065 implementation for powerpc.
1067 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1070 * sysdeps/posix/system.c (__libc_system): Do not enable
1071 asynchronous cancellation.
1073 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1076 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1077 handling only for numbers special also in the IEEE case.
1079 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1081 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1083 2014-01-11 Allan McRae <allan@archlinux.org>
1085 * po/bg.po: Update Bulgarian translation from translation project.
1087 * po/de.po: Update German translation from translation project.
1089 2014-01-10 Roland McGrath <roland@hack.frob.com>
1091 * sysdeps/generic/gcc-compat.h: New file.
1093 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1095 * benchtests/asin-inputs: Correct slow inputs.
1096 * benchtests/acos-inputs: Likewise.
1098 2014-01-10 Allan McRae <allan@archlinux.org>
1100 * po:sv.po: Update Swedish translation from translation project.
1102 * po/vi.po: Update Vietnamese translation from translation project.
1104 * po/eo.po: Update Esperanto translation from translation project.
1106 * po/cs.po: Update Czech translation from translation project.
1108 * po/nl.po: Update Dutch translation from translation project.
1110 * po/pl.po: Update Polish translation from translation project.
1112 * po/ru.po: Update Russian translation from translation project.
1114 * po/uk.po: Update Ukrainian translation from translation project.
1116 2014-01-08 Brooks Moses <bmoses@google.com>
1118 * elf/dl-load.c: Fix comment typo.
1120 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1122 * po/header.pot: Rename to...
1123 * po/pot.header: ... this.
1124 * po/Makefile: Use pot.header.
1126 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1127 Maxim Kuvyrkov <maxim@kugelworks.com>
1130 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1131 SRC and DEST against LEN.
1133 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1138 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1140 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1144 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1147 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1148 for large positive arguments.
1150 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1152 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1154 * math/auto-libm-test-in: Mark various tests with
1155 xfail-rounding:ldbl-128ibm.
1156 * math/auto-libm-test-out: Regenerated.
1159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1160 Increase overflow threshold.
1162 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1165 * stdio-common/vfprintf.c: Check for integer overflow.
1167 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1169 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1170 the first argument and return value of __tls_get_addr_internal.
1172 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1174 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1175 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1177 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1179 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1180 * sysdeps/s390/rtld-global-offsets.sym: New file.
1181 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1183 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1187 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1188 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1194 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1195 halfs of GPRs for high_gprs contexts.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1197 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1199 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1201 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1203 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1204 for high GPRs (uc_high_gprs) and for future extensions
1206 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1207 for future extensions (__reserved).
1208 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1210 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1211 SC_HIGHGPRS offset definition.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1213 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1215 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1217 * Versions.def: Add GLIBC_2.19 for libpthread.
1218 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1219 siglongjmp for libpthread with GLIBC_2.19 symver.
1220 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1221 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1222 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1223 * sysdeps/s390/__longjmp.c: New file.
1224 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1225 * sysdeps/s390/longjmp.c: New file.
1226 * sysdeps/s390/setjmp.S: New file.
1227 * sysdeps/s390/sigjmp.S: New file.
1228 * sysdeps/s390/v1-longjmp.c: New file.
1229 * sysdeps/s390/v1-setjmp.h: New file.
1230 * sysdeps/s390/v1-sigjmp.c: New file.
1231 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1232 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1234 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1235 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1236 versioned symbols for ____longjmp_chk.
1237 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1247 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1248 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1249 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1250 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1251 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1252 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1253 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1254 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1255 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1256 * sysdeps/s390/rtld-__longjmp.c: New file.
1257 * sysdeps/s390/rtld-setjmp.S: New file.
1259 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1263 Return -__logl (x) for small positive arguments without evaluating
1266 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1268 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1270 (__ptrace_peeksiginfo_args): ... this.
1271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1273 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1275 2014-01-06 Allan McRae <allan@archlinux.org>
1277 * inet/netinet/in.h: Fix typo in comment.
1279 2014-01-05 Andreas Jaeger <aj@suse.de>
1281 * sysdeps/i386/fpu/libm-test-ulps: Update.
1283 2014-01-05 Allan McRae <allan@archlinux.org>
1285 * po/libc.pot: Regenerated.
1287 * malloc/memusagestat.c: Fix gettext call formatting.
1289 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1291 * nscd/nscd.c: Improve usage() output.
1293 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1295 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1296 * sysdeps/unix/sysv/linux/configure: Regenerated.
1297 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1298 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1300 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1303 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1304 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1306 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1308 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1309 extra tokens at end of #undef directive.
1310 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1314 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1318 * math/auto-libm-test-in: Mark various tests with
1319 xfail-rounding:ldbl-128ibm.
1320 * math/auto-libm-test-out: Regenerated.
1322 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1325 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1326 numbers with subnormal high part when calculating exponent.
1329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1335 (__ieee754_acoshl): Use __log1pl not __log1p.
1337 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1339 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1340 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1341 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1342 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1343 Convert to GNU style.
1344 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1345 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1346 memalign_check, __malloc_set_state): Likewise.
1347 * malloc/mallocbug.c (main): Likewise.
1348 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1349 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1350 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1351 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1352 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1353 * malloc/malloc.h: Likewise.
1354 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1355 memalignhook, reallochook, mabort): Likewise.
1356 * malloc/mcheck.h: Likewise.
1357 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1358 mmap64, mremap, munmap, dest): Likewise.
1359 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1360 * malloc/morecore.c (__default_morecore): Likewise.
1361 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1362 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1363 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1364 print_and_abort): Likewise.
1365 * malloc/obstack.h: Likewise.
1366 * malloc/set-freeres.c (__libc_freeres): Likewise.
1367 * malloc/tst-mallocstate.c (main): Likewise.
1368 * malloc/tst-mtrace.c (main): Likewise.
1369 * malloc/tst-realloc.c (do_test): Likewise.
1371 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1374 * nscd/netgroupcache.c (do_notfound): New function.
1375 (addgetnetgrentX): Use it.
1378 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1379 NSS_STATUS_NOTFOUND.
1381 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1383 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1386 2014-01-01 Allan McRae <allan@archlinux.org>
1388 * scripts/update-copyrights: Update configure input file suffix.
1390 * NEWS: Update copyright year.
1391 * catgets/gencat.c: Likewise.
1392 * csu/version.c: Likewise.
1393 * debug/catchsegv.sh: Likewise.
1394 * debug/pcprofiledump.c: Likewise.
1395 * debug/xtrace.sh: Likewise.
1396 * elf/ldconfig.c: Likewise.
1397 * elf/ldd.bash.in: Likewise.
1398 * elf/pldd.c: Likewise.
1399 * elf/sotruss.ksh: Likewise.
1400 * elf/sprof.c: Likewise.
1401 * iconv/iconv_prog.c: Likewise.
1402 * iconv/iconvconfig.c: Likewise.
1403 * locale/programs/locale.c: Likewise.
1404 * locale/programs/localedef.c: Likewise.
1405 * login/programs/pt_chown.c: Likewise.
1406 * malloc/memusage.sh: Likewise.
1407 * malloc/memusagestat.c: Likewise.
1408 * malloc/mtrace.pl: Likewise.
1409 * manual/libc.texinfo: Likewise.
1410 * nscd/nscd.c: Likewise.
1411 * nss/getent.c: Likewise.
1412 * nss/makedb.c: Likewise.
1413 * posix/getconf.c: Likewise.
1414 * scripts/test-installation.pl: Likewise.
1416 * All files with FSF copyright notices: Update copyright dates
1417 using scripts/update-copyrights.
1418 * intl/plural.c: Regenerated.
1419 * locale/programs/charmap-kw.h: Likewise.
1420 * locale/programs/locfile-kw.h: Likewise.
1422 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1424 * sysdeps/unix/sysv/linux/configure: Regenerated.
1425 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1426 the linux/fanotify.h header.
1427 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1428 HAVE_LINUX_FANOTIFY_H is defined.
1430 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1432 * benchtests/cos-inputs: New inputs.
1433 * benchtests/sin-inputs: Likewise.
1435 * benchtests/atan-inputs: New inputs. Fix name of multiple
1436 precision fallback inputs.
1438 * benchtests/atanh-inputs: New inputs.
1439 * benchtests/tanh-inputs: Likewise.
1441 * benchtests/acosh-inputs: New inputs.
1442 * benchtests/asinh-inputs: Likewise.
1444 * benchtests/cosh-inputs: New inputs.
1445 * benchtests/sinh-inputs: Likewise.
1447 * benchtests/acos-inputs: Add more inputs.
1448 * benchtests/asin-inputs: Likewise.
1450 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1453 * manual/arith.texi: Fix spelling.
1454 * manual/charset.texi: Likewise.
1455 * manual/errno.texi: Likewise.
1456 * manual/filesys.texi: Likewise.
1457 * manual/lang.texi: Likewise.
1458 * manual/llio.texi: Likewise.
1459 * manual/locale.texi: Likewise.
1460 * manual/message.texi: Likewise.
1461 * manual/resource.texi: Likewise.
1462 * manual/search.texi: Likewise.
1463 * manual/setjmp.texi: Likewise.
1464 * manual/stdio.texi: Likewise.
1465 * manual/string.texi: Likewise.
1466 * manual/sysinfo.texi: Likewise.
1467 * manual/time.texi: Likewise.
1469 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1471 * po/sl.po: New file.
1473 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1475 * .gitignore: Add core/.gdbinit/.gdb_history.
1477 2013-12-27 Allan McRae <allan@archlinux.org>
1480 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1481 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1483 2013-12-24 Brooks Moses <bmoses@google.com>
1485 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1486 all compilers that claim C++98 compliance, not just GCC.
1487 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1490 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1492 * NEWS: Restore accidentally deleted bug-fix entries.
1494 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1495 Ondřej Bílka <neleai@seznam.cz>
1498 * malloc/malloc.c (_int_free): Perform sanity check only if we
1501 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1504 * manual/stdio.texi (String Input Conversions): Clarify that character
1505 classes are not supported.
1507 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1511 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1515 Calculate results for small negative arguments directly rather
1516 than using reflection formula with special underflow handling.
1518 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1519 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1520 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1521 (fchflags): Likewise.
1523 (setlogin): Likewise.
1524 (sigaltstack): Likewise.
1527 (sigsetmask): Likewise.
1529 (waitpid): Likewise.
1530 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1531 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1533 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1534 * sysdeps/unix/bsd/Makefile: ... here.
1535 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1536 * sysdeps/unix/bsd/Versions: ... here.
1537 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1538 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1539 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1540 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1541 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1542 * sysdeps/unix/bsd/sigblock.c: ... here.
1543 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1544 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1545 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1546 * sysdeps/unix/bsd/sigvec.c: ... here.
1547 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1548 * sysdeps/unix/bsd/tcdrain.c: ... here.
1549 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1550 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1551 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1552 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1553 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1554 * sysdeps/unix/bsd/wait.c: ... here.
1555 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1556 * sysdeps/unix/bsd/wait3.c: ... here.
1557 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1558 * sysdeps/unix/bsd/waitpid.c: ... here.
1560 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1564 round-to-nearest for [!USE_AS_EXPM1L].
1565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1566 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1567 more tests of exp and exp10. Expect some exp10 tests to miss
1568 exceptions or fail in directed rounding modes.
1569 * math/auto-libm-test-out: Regenerated.
1570 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1571 (exp10_test_tonearest): New function.
1572 (exp10_towardzero_test_data): New array.
1573 (exp10_test_towardzero): New function.
1574 (exp10_downward_test_data): New array.
1575 (exp10_test_downward): New function.
1576 (exp10_upward_test_data): New array.
1577 (exp10_test_upward): New function.
1578 (main): Call the new functions.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1582 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1584 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1585 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1586 * math/auto-libm-test-out: Regenerated.
1587 * math/libm-test.inc (acosh_test_data): Add more tests.
1588 (atanh_test_data): Likewise.
1589 (ceil_test_data): Likewise.
1590 (copysign_test_data): Likewise.
1591 * sysdeps/i386/fpu/libm-test-ulps: Update.
1592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594 * timezone/checktab.awk: Update from tzcode 2013i.
1595 * timezone/private.h: Likewise.
1596 * timezone/scheck.c: Likewise.
1597 * timezone/tzfile.h: Likewise.
1598 * timezone/tzselect.ksh: Likewise.
1599 * timezone/zdump.c: Likewise.
1600 * timezone/zic.c: Likewise.
1602 * math/auto-libm-test-in: Add tests of cpow.
1603 * math/auto-libm-test-out: Regenerated.
1604 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1605 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1607 (func_calc_desc): Add mpc_cc_c union field.
1608 (test_functions): Add cpow.
1609 (special_fill_2pi): New function.
1610 (special_real_inputs): Add 2pi.
1611 (calc_generic_results): Handle mpc_cc_c.
1612 * sysdeps/i386/fpu/libm-test-ulps: Update.
1613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1615 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1616 csqrt, ctan and ctanh.
1617 * math/auto-libm-test-out: Regenerated.
1618 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1619 (TEST_COND_x86): Likewise.
1620 (ccos_test_data): Use AUTO_TESTS_c_c.
1621 (ccosh_test_data): Likewise.
1622 (cexp_test_data): Likewise.
1623 (clog_test_data): Likewise.
1624 (csqrt_test_data): Likewise.
1625 (ctan_test_data): Likewise.
1626 (ctan_tonearest_test_data): Likewise.
1627 (ctan_towardzero_test_data): Likewise.
1628 (ctan_downward_test_data): Likewise.
1629 (ctan_upward_test_data): Likewise.
1630 (ctanh_test_data): Likewise.
1631 (ctanh_tonearest_test_data): Likewise.
1632 (ctanh_towardzero_test_data): Likewise.
1633 (ctanh_downward_test_data): Likewise.
1634 (ctanh_upward_test_data): Likewise.
1635 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1637 (func_calc_desc): Add mpc_c_c union field.
1638 (FUNC_mpc_c_c): New macro.
1639 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1640 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1642 (special_fill_min_subnorm_p120): New function.
1643 (special_real_inputs): Add min_subnorm_p120.
1644 (calc_generic_results): Handle mpc_c_c.
1645 * sysdeps/i386/fpu/libm-test-ulps: Update.
1646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1648 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1650 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1651 do_sin_slow): New functions.
1652 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1653 cslow2, csloww1, csloww2): Use the new functions.
1655 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1656 Use M to change sign of result instead of X. Assume X is
1658 (csloww1): Likewise.
1662 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1669 (sloww1): Don't adjust sign of DX.
1670 (csloww1): Likewise.
1671 (sloww2): Use X directly and don't adjust sign of DX.
1672 (csloww2): Likewise.
1674 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1676 * math/auto-libm-test-in: Add tests of cabs and carg.
1677 * math/auto-libm-test-out: Regenerated.
1678 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1679 (carg_test_data): Likewise.
1680 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1682 (func_calc_desc): Add mpc_c_f union field.
1683 (test_functions): Add cabs and carg.
1684 (calc_generic_results): Handle mpc_c_f.
1686 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1687 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1688 as a macro and a compat symbol.
1689 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1690 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1691 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1692 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1693 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1694 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1696 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1698 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1700 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1702 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1706 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1707 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1710 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1714 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1716 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1717 trailing whitespace removed.
1718 * scripts/config.guess: Update to version 2013-11-29.
1719 * scripts/config.sub: Update to version 2013-10-01.
1721 * math/auto-libm-test-in: Add tests of sincos.
1722 * math/auto-libm-test-out: Regenerated.
1723 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1726 (func_calc_desc): Add mpfr_f_11 union field.
1727 (test_functions): Add sincos.
1728 (calc_generic_results): Handle mpfr_f_11.
1729 * sysdeps/i386/fpu/libm-test-ulps: Update.
1730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1732 2013-12-19 Andreas Schwab <schwab@suse.de>
1734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1736 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1737 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1738 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1740 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1742 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1743 * sysdeps/i386/fpu/libm-test-ulps: Update.
1744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1748 round-to-nearest mode when using frndint.
1749 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1750 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1751 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1753 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1755 * math/auto-libm-test-out: Regenerated.
1756 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1757 (TEST_COND_x86): Likewise.
1758 (expm1_tonearest_test_data): New array.
1759 (expm1_test_tonearest): New function.
1760 (expm1_towardzero_test_data): New array.
1761 (expm1_test_towardzero): New function.
1762 (expm1_downward_test_data): New array.
1763 (expm1_test_downward): New function.
1764 (expm1_upward_test_data): New array.
1765 (expm1_test_upward): New function.
1766 (main): Run the new test functions.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770 * include/features.h: Update comment documenting feature test
1771 macros. Mention _DEFAULT_SOURCE in comment.
1772 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1773 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1774 _BSD_SOURCE and _SVID_SOURCE.
1775 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1776 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1777 !_SVID_SOURCE]: Likewise.
1778 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1779 (__USE_POSIX_IMPLICITLY): Define.
1780 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1781 (_POSIX_SOURCE): Undefine and redefine.
1782 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1783 (_POSIX_C_SOURCE): Likewise.
1784 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1785 (Feature Test Macros): Update documentation of default features.
1787 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1789 * benchtests/Makefile: Add bench-strtok.
1790 * benchtests/bench-strtok.c: New file: strtok benchtest.
1792 2013-12-19 Allan McRae <allan@archlinux.org>
1794 * manual/install.texi: Suppress menu for plain text output.
1795 * INSTALL: Regenerated.
1797 2013-12-18 Brooks Moses <bmoses@google.com>
1800 * misc/getauxval.c: Include errno.h.
1801 (__getauxval): Set errno to ENOENT if the requested type is not
1803 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1804 don't declare with __attribute_const__.
1805 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1806 * manual/startup.texi: Document that getauxval sets errno.
1808 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1810 * math/auto-libm-test-in: Add tests of jn and yn.
1811 * math/auto-libm-test-out: Regenerated.
1812 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1813 (yn_test_data): Likewise.
1814 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1816 (func_calc_desc): Add mpfr_if_f union field.
1817 (FUNC_mpfr_if_f): New macro.
1818 (test_functions): Add jn and yn.
1819 (calc_generic_results): Assert type of second input for
1820 mpfr_ff_f. Handle mpfr_if_f.
1821 (output_for_one_input_case): Disable all checking for arguments
1822 fitting floating-point types in case of an integer argument.
1823 * sysdeps/i386/fpu/libm-test-ulps: Update.
1824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1827 Don't expect fegetround reference in libm.so.
1829 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1831 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1832 $(config-cflags-nofma).
1834 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1836 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1837 * math/auto-libm-test-out: Regenerated.
1840 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1841 to determine exponent and adjust argument to have exponent of -1.
1842 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1844 * math/auto-libm-test-out: Regenerated.
1845 * sysdeps/i386/fpu/libm-test-ulps: Update.
1846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1848 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1850 * manual/probes.texi: Remove cases when per-thread arenas are
1853 2013-12-18 Andreas Schwab <schwab@suse.de>
1855 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1856 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1857 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1858 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1859 * sysdeps/i386/i686/multiarch/Makefile: Update.
1860 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1862 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1864 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1865 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1867 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1870 Support TZ transition times < 00:00:00.
1871 This is needed for version-3 tz-format files; it supports time
1872 stamps past 2037 for America/Godthab (the only entry in the tz
1873 database for which this change is relevant).
1874 * manual/time.texi (TZ Variable): Document transition times
1875 from -167:59:59 through -00:00:01.
1876 * time/tzset.c (tz_rule): Time of day is now signed.
1877 (__tzset_parse_tz): Parse negative time of day.
1879 Document TZ transition times >= 25:00:00.
1880 * manual/time.texi (TZ Variable): Document transition times from
1881 25:00:00 through 167:59:59. These are already supported, and this
1882 support will help with version-3 tz-format files.
1884 * manual/time.texi (TZ Variable): Modernize North America example
1885 to reflect current (i.e., 2007-and-later) daylight saving rules.
1887 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1889 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1891 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1892 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1895 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1896 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1897 * sysdeps/unix/bsd/clock.c: Likewise.
1898 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1899 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1900 * sysdeps/unix/bsd/init-posix.c: Likewise.
1901 * sysdeps/unix/bsd/poll.c: Likewise.
1902 * sysdeps/unix/bsd/ptsname.c: Likewise.
1903 * sysdeps/unix/bsd/seekdir.c: Likewise.
1904 * sysdeps/unix/bsd/setegid.c: Likewise.
1905 * sysdeps/unix/bsd/seteuid.c: Likewise.
1906 * sysdeps/unix/bsd/setgid.c: Likewise.
1907 * sysdeps/unix/bsd/setrgid.c: Likewise.
1908 * sysdeps/unix/bsd/setruid.c: Likewise.
1909 * sysdeps/unix/bsd/setsid.c: Likewise.
1910 * sysdeps/unix/bsd/setuid.c: Likewise.
1911 * sysdeps/unix/bsd/sigaction.c: Likewise.
1912 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1913 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1914 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1915 * sysdeps/unix/bsd/telldir.c: Likewise.
1916 * sysdeps/unix/bsd/times.c: Likewise.
1917 * sysdeps/unix/bsd/usleep.c: Likewise.
1919 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1920 ($(objpfx)libbsd-compat.a): Remove rule.
1922 * include/features.h (__FAVOR_BSD): Do not define.
1923 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1924 features conflicting with POSIX.
1925 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1926 (_BSD_SOURCE): Remove description of not being a subset of other
1927 feature test macros.
1928 * manual/job.texi (getpgrp): Do not document BSD version.
1929 (getpgid): Do not document by reference to BSD getpgrp.
1930 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1931 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1932 * signal/signal.h [__FAVOR_BSD]: Likewise.
1933 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1934 instead of making contents conditional on [__FAVOR_BSD].
1935 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1937 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1941 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1944 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1945 values below 2**-450, not 2**-500.
1946 * math/auto-libm-test-in: Don't allow spurious underflow from
1948 * math/auto-libm-test-out: Regenerated.
1952 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1953 values of ha and hb and sort them after adjusting subnormal
1955 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1957 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1958 values of ea and eb and sort them after adjusting subnormal
1960 * math/auto-libm-test-in: Do not expect some hypot tests of
1961 subnormals to fail. Add more hypot tests.
1962 * math/auto-libm-test-out: Regenerated.
1964 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1967 * sysdeps/sh/s_fma.c: New file.
1968 * sysdeps/sh/s_fmaf.c: New file.
1969 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1971 * sysdeps/sh/Implies: Add sh/soft-fp.
1973 2013-12-16 Roland McGrath <roland@hack.frob.com>
1975 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1976 level of indirection to members `objname', `errstring', `malloced'.
1977 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1978 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1979 it as the __longjmp argument (just pass 1 instead).
1980 (_dl_catch_error): Initialize C with argument pointers and address of
1981 volatile local ERRCODE rather than copying values out of C at return.
1983 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1985 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1986 * math/auto-libm-test-out: Regenerated.
1987 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1988 (hypot_test_data): Likewise.
1989 (pow_test_data): Likewise.
1990 (pow_tonearest_test_data): Likewise.
1991 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1993 (func_calc_desc): Add mpfr_ff_f union field.
1994 (FUNC_mpfr_ff_f): New macro.
1995 (test_functions): Add atan2, hypot and pow.
1996 (special_fill_min): New function.
1997 (special_fill_minus_min): Likewise.
1998 (special_fill_min_subnorm): Likewise.
1999 (special_fill_minus_min_subnorm): Likewise.
2000 (special_real_inputs): Add min, -min, min_subnorm and
2002 (calc_generic_results): Handle mpfr_ff_f.
2003 * sysdeps/i386/fpu/libm-test-ulps: Update.
2004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2006 2013-12-16 Will Newton <will.newton@linaro.org>
2008 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2009 (Aligned Memory Blocks): Add documentation for aligned_alloc
2010 and suggest it as an alternative to posix_memalign.
2011 (Hooks for Malloc): Document __memalign_hook is also called
2012 for aligned_alloc. (Summary of Malloc): Add summary for
2013 aligned alloc. Document __memalign_hook is also called
2016 2013-12-16 Will Newton <will.newton@linaro.org>
2018 * manual/memory.texi (Malloc Examples): Clarify default
2019 alignment documentation. Suggest posix_memalign rather
2020 than memalign or valloc.
2021 (Aligned Memory Blocks): Remove suggestion to use memalign
2022 or valloc. Remove obsolete comment about BSD.
2023 Document memalign errno values and mark the function obsolete.
2024 Document posix_memalign returned error codes. Mark valloc
2025 as obsolete. (Hooks for Malloc): __memalign_hook is also
2026 called for posix_memalign and valloc.
2027 (Summary of Malloc): Add posix_memalign to function summary.
2028 __memalign_hook is also called for posix_memalign and valloc.
2030 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2032 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2036 (sloww): Use mynumber union. Expand ternary operator into
2038 (cslow): use mynumber union.
2040 2013-12-16 Allan McRae <allan@archlinux.org>
2042 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2043 * configure: Regenerated.
2045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2048 * configure.ac: Added --enable-maintainer-mode. Check for
2049 autoconf when enabled.
2050 * configure: Regenerated.
2052 * nscd/nscd.service: New file.
2053 * nscd/nscd.tmpfiles: New file.
2055 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2058 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2059 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2060 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2061 (strstr): Add __strstr_sse2_unaligned ifunc.
2062 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2063 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2064 (strcasestr): Remove __strcasestr_sse42 ifunc.
2065 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2069 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2071 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2072 * sysdeps/sh/bits/fenv.h: ... here.
2073 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2075 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2077 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2079 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2082 hypotf multiarch implementations.
2083 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2086 multiarch hypot for PPC64.
2087 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2088 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2090 multiarch hypotf for PPC64.
2092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2095 modff multiarch implementations.
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2099 multiarch modf for PPC64.
2100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2103 multiarch modff for PPC64.
2105 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2108 and logl multiarch implementations.
2109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2112 multiarch logb for PPC64.
2113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2116 multiarch logb for PPC64.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2120 multiarch logb for PPC64.
2122 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2125 isinff multiarch implementation.
2126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2130 multiarch isinf for PPC64.
2131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2134 multiarch isinff for PPC64.
2136 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2139 finitef multiarch implementation.
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2144 multiarch finite for PPC64.
2145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2148 multiarch finitef for PPC64.
2150 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2153 lrint multiarch implementation.
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2158 multiarch llrint for PPC64.
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2160 multiarch lrint for PPC64.
2162 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2165 copysignf multiarch implementation.
2166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2171 multiarch copysign for PPC64.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2173 multiarch copysignf for PPC64.
2175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2178 multiarch implementation.
2179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2187 multiarch llround for PPC64.
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2189 multiarch trunc for PPC64.
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2191 multiarch truncf for PPC64.
2193 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2196 multiarch implementation.
2197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2205 multiarch llround for PPC64.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2207 multiarch round for PPC64.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2209 multiarch roundf for PPC64.
2211 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2214 multiarch implementation.
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2223 multiarch llround for PPC64.
2224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2225 multiarch floor for PPC64.
2226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2227 multiarch floorf for PPC64.
2229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2232 multiarch implementation.
2233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2241 multiarch llround for PPC64.
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2243 multiarch ceil for PPC64.
2244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2245 multiarch ceilf for PPC64.
2247 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2250 multiarch implementation.
2251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2258 multiarch llround for PPC64.
2259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2260 multiarch lround for PPC64.
2262 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2265 multiarch implementation.
2266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2273 multiarch isnan for PPC64.
2274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2275 multiarch isnanf for PPC64.
2277 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2280 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2281 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2282 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2283 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2286 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2288 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2289 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2293 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2296 multiarch implementations.
2297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2298 (__libc_ifunc_impl_list): Likewise.
2299 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2300 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2301 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2302 multiarch stpcpy for PPC64.
2304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2307 multiarch implementations.
2308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2309 (__libc_ifunc_impl_list): Likewise.
2310 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2311 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2312 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2313 multiarch strcpy for PPC64.
2315 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2318 redefine function name.
2319 (_wordcopy_fwd_dest_aligned): Likewise.
2320 (_wordcopy_bwd_aligned): Likewise.
2321 (_wordcopy_bwd_dest_aligned): Likewise.
2322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2323 multiarch implementations.
2324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2325 (__libc_ifunc_impl_list): Likewise.
2326 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2327 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2328 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2329 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2330 multiarch wcscpy for PPC64.
2332 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2335 multiarch implementations.
2336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2337 (__libc_ifunc_impl_list): Likewise.
2338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2339 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2340 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2341 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2342 multiarch wcscpy for PPC64.
2344 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2347 multiarch implementations.
2348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2349 (__libc_ifunc_impl_list): Likewise.
2350 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2351 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2352 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2353 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2354 multiarch wcsrchr for PPC64.
2356 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2359 multiarch implementations.
2360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2361 (__libc_ifunc_impl_list): Likewise.
2362 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2363 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2364 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2365 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2366 multiarch wcschr for PPC64.
2368 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2371 multiarch implementations.
2372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2373 (__libc_ifunc_impl_list): Likewise.
2374 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2375 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2376 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2377 multiarch strchrnul for PPC64.
2379 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2384 (__libc_ifunc_impl_list): Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2386 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2387 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2388 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2391 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2396 (__libc_ifunc_impl_list): Likewise.
2397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2400 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2403 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2406 multiarch implementations.
2407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2408 (__libc_ifunc_impl_list): Likewise.
2409 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2410 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2411 strncasecmp for PPC64.
2412 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2413 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2414 multiarch strncasecmp_l for PPC64.
2416 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2419 multiarch implementations.
2420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2421 (__libc_ifunc_impl_list): Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2424 multiarch strcasecmp for PPC64.
2425 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2427 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2428 multiarch strcasecmp_l for PPC64.
2430 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2435 (__libc_ifunc_impl_list): Likewise.
2436 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2437 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2438 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2446 (__libc_ifunc_impl_list): Likewise.
2447 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2448 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2449 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2452 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2457 (__libc_ifunc_impl_list): Likewise.
2458 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2459 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2460 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2461 rawmemrchr for PPC64.
2463 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2468 (__libc_ifunc_impl_list): Likewise.
2469 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2470 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2471 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2474 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2479 (__libc_ifunc_impl_list): Likewise.
2480 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2481 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2482 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2485 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2490 (__libc_ifunc_impl_list): Likewise.
2491 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2492 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2493 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2496 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2499 avoid cretion of __bzero symbol.
2500 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2502 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2504 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2507 multiarch implementations.
2508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2509 (__libc_ifunc_impl_list): Likewise.
2510 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2511 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2512 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2513 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2515 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2516 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2517 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2518 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2519 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2521 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2523 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2525 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2529 (__libc_ifunc_impl_list): Likewise.
2530 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2531 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2532 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2533 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2536 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2539 multiarch for POWER/PPC64.
2540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2541 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2542 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2543 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2544 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2545 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2546 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2547 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2548 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2551 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2553 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2554 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2555 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2556 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2557 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2558 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2559 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2560 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2561 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2562 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2563 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2564 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2565 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2566 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2567 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2576 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2580 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2582 * benchtests/Makefile (bench): Add exp2 and log2.
2583 (LDLIBS-bench-exp2): Add -lm.
2584 (LDLIBS-bench-log2): Likewise.
2585 * benchtests/exp2-inputs: New inputs file.
2586 * benchtests/log2-inputs: New inputs file.
2587 * benchtests/log-inputs: Add new inputs.
2588 * benchtests/tan-inputs: Likewise.
2590 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2592 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2594 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2595 csloww1, csloww2): ... from here.
2597 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2598 instead of structures.
2599 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2600 (POLYNOMIAL): Likewise.
2601 (TAYLOR_SLOW): Likewise.
2609 (bsloww1): Likewise.
2610 (bsloww2): Likewise.
2613 (csloww1): Likewise.
2614 (csloww2): Likewise.
2616 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2618 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2619 (__malloc_assert, __libc_realloc, __libc_calloc,
2620 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2622 * malloc/hooks.c (realloc_check): Likewise.
2624 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2626 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2627 * malloc/arena.c: Remove PER_THREAD conditional.
2628 [!PER_THREAD]: Remove code.
2629 (ptmalloc_unlock_all2): Likewise.
2630 (ptmalloc_init): Likewise.
2631 (_int_new_arena): Likewise.
2632 (arena_get2): Likewise.
2633 * malloc/hooks.c (__malloc_get_state): Likewise.
2634 (__malloc_set_state): Likewise.
2635 * malloc/malloc.c: Likewise.
2636 (struct malloc_state): Likewise.
2637 (struct malloc_par): Likewise.
2638 (__libc_realloc): Likewise.
2639 (__libc_mallopt): Likewise.
2641 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2643 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2645 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2647 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2648 macro to a function. Check for zero perturb_byte.
2649 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2651 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2653 * malloc/malloc.c: (force_reg): Remove.
2654 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2655 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2656 force_reg by atomic_forced_read.
2657 * malloc/arena.c (ptmalloc_init): Likewise.
2658 * malloc/hooks.c (top_check): Likewise.
2660 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2664 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2668 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2670 * math/auto-libm-test-in: Add tests of lgamma.
2671 * math/auto-libm-test-out: Regenerated.
2672 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2673 (M_LOG_2_SQRT_PIl): Likewise.
2674 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2677 (func_calc_desc): Add mpfr_f_f1 union field.
2686 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2687 (test_functions): Add lgamma.
2688 (calc_generic_results): Handle mpfr_f_f1.
2689 * sysdeps/i386/fpu/libm-test-ulps: Update.
2690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2695 __mpn_add_n for PowerPC64/POWER7.
2696 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2697 __mpn_sub_n for PowerPC64/POWER7.
2699 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2702 __mpn_addmul_1 for PowerPC64.
2703 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2704 __mpn_submul_1 for PowerPC64.
2705 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2707 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2710 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2713 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2719 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2722 add multiarch folders.
2723 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2724 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2725 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2726 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2727 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2728 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2729 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2730 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2731 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2732 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2733 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2741 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2744 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2750 multiarch __ieee754_hypot for PowerPC32.
2751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2756 multiarch __ieee754_hypotf for PowerPC32.
2758 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2761 long_double_symbol only if __logbl is defined.
2762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2763 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2765 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2767 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2768 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2769 path for implementation.
2770 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2773 logb, and logbl multiarch implementations for PowerPC32.
2774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2779 multiarch logb for PowerPC32.
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2785 multiarch logbf for PowerPC32.
2786 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2790 multiarch logbl implementation for PowerPC32.
2792 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2795 and modff multiarch implementations.
2796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2801 multiarch modf for PowerPC32.
2802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2807 multiarch modff for PowerPC32.
2809 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2812 and lrintf multiarch implementations.
2813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2818 multiarch lrint for PowerPC32.
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2820 file: multiarch lrintf for PowerPC32.
2822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2825 and lroundf multiarch implementations.
2826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2833 multiarch lround for PowerPC32.
2834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2835 file: multiarch lroundf for PowerPC32.
2837 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2840 copysign and copysignf multiarch implementations.
2841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2846 file: multiarch copysign for PowerPC32.
2847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2848 file: multiarch copysignf for PowerPC32.
2850 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2853 and truncf multiarch implementations.
2854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2859 multiarch trunc for PowerPC32.
2860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2865 multiarch truncf for PowerPC32.
2867 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2870 and roundf multiarch implementations.
2871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2876 multiarch round for PowerPC32.
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2882 multiarch roundf for PowerPC32.
2884 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2887 and floorf multiarch implementations.
2888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2893 multiarch floor for PowerPC32.
2894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2899 multiarch floorf for PowerPC32.
2901 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2904 and ceilf multiarch implementations.
2905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2910 multiarch ceil for PowerPC32.
2911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2916 multiarch ceilf for PowerPC32.
2918 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2920 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2922 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2925 and finitef multiarch implementations.
2926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2931 multiarch finite for PowerPC32.
2932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2935 file: multiarch finitef for PowerPC32.
2937 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2940 and isinff multiarch implementations.
2941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2946 multiarch isinf for PowerPC32.
2947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2950 multiarch isinff for PowerPC32.
2952 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2954 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2955 alias when __isnan is defined.
2956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2957 and isnanf multiarch implementations.
2958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2967 multiarch isnan for PowerPC32.
2968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2973 multiarch isnanf for PowerPC32.
2975 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2978 and sqrtf multiarch implementations.
2979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2984 multiarch sqrt for PowerPC32.
2985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2990 multiarch sqrtf for PowerPC32.
2992 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2995 and llroundf multiarch implementations.
2996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3003 file: multiarch llround for PowerPC32.
3004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3005 file: multiarch llroundf for PowerPC32.
3007 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3010 multiarch PowerPC32 fpu implementations.
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3016 multiarch llrint for PowerPC32.
3017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3024 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3028 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3032 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3036 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3037 multiarch wordcopy for PPC32.
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3041 (__libc_ifunc_impl_list): Likewise.
3042 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3043 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3045 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3047 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3049 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3059 multiarch wcscpy for PPC32.
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3063 (__libc_ifunc_impl_list): Likewise.
3064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3065 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3066 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3067 sysdeps/powerpc/power6/wcscpy.c.
3069 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3071 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3079 multiarch wcsrchr for PPC32.
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3083 (__libc_ifunc_impl_list): Likewise.
3084 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3085 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3086 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3087 sysdeps/powerpc/power6/wcsrchr.c.
3089 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3097 multiarch wcschr for PPc32.
3098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3101 (__libc_ifunc_impl_list): Likewise.
3102 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3103 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3104 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3105 sysdeps/powerpc/power6/wcschr.c.
3107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3113 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3114 file: multiarch strchr for PPC32.
3115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3118 (__libc_ifunc_impl_list): Likewise.
3120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3124 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3128 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3129 multiarch strchrnul for PPC32.
3130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3133 (__libc_ifunc_impl_list): Likewise.
3135 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3140 multiarch strncasecmp for PPC32.
3141 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3143 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3144 multiarch strncasecmp_l for PPC32.
3145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3146 strncasecmp multiarch objects.
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3148 (__libc_ifunc_impl_list): Likewise.
3150 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3154 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3155 multiarch strncasecmp for PPC32.
3156 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3158 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3159 multiarch strcasecmp_l for PPC32.
3160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3163 (__libc_ifunc_impl_list): Likewise.
3165 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3171 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3172 multiarch strncmp for PPC32.
3173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3176 (__libc_ifunc_impl_list): Likewise.
3178 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3181 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3183 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3184 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3188 (__libc_ifunc_impl_list): Likewise.
3190 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3194 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3196 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3200 (__libc_ifunc_impl_list): Likewise.
3202 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3206 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3208 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3209 multiarch rawmemchr for PPC32.
3210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3213 (__libc_ifunc_impl_list): Likewise.
3215 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3217 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3219 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3221 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3222 file: memrchr multiarch for PPC32.
3223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3226 (__libc_ifunc_impl_list): Likewise.
3228 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3231 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3234 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3235 multiarch memchr for PPC32.
3236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3239 (__libc_ifunc_impl_list): Likewise.
3241 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3243 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3244 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3246 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3248 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3249 file: multiarch mempcpy for PPC32.
3250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3253 (__libc_ifunc_impl_list): Likewise.
3255 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3257 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3258 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3259 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3260 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3261 multiarch bzero for PPC32.
3262 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3264 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3266 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3267 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3268 file: multiarch memset for PPC32.
3269 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3271 memset multiarch objects.
3272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3273 (__libc_ifunc_impl_list): Likewise.
3275 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3286 (__libc_ifunc_impl_list): Likewise.
3288 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3291 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3299 multiarch memcpy for PPC32.
3300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3303 (__libc_ifunc_impl_list): Likewise.
3305 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3308 support multiarch for POWER/PPC32.
3309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3311 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3313 Implies file to make multiarch folder appers before the fpu and
3314 default folder for power4 configuration.
3316 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3318 * scripts/bench.pl: Append volatile keyword to type.
3320 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3322 * sysdeps/sh/sotruss-lib.c: New file.
3323 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3325 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3329 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3332 * math/w_tgamma.c: Include <errno.h>.
3333 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3334 * math/w_tgammaf.c: Include <errno.h>.
3335 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3336 * math/w_tgammal.c: Include <errno.h>.
3337 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3338 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3339 underflow. Add more tgamma tests.
3340 * math/auto-libm-test-out: Regenerated.
3341 * sysdeps/i386/fpu/libm-test-ulps: Update.
3342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3344 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3345 sin, sinh, tan, tanh, tgamma, y0 and y1.
3346 * math/auto-libm-test-out: Regenerated.
3347 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3348 (TEST_COND_x86): Likewise.
3349 (M_E2l): Remove macro.
3351 (M_2_SQRT_PIl): Likewise.
3352 (M_SQRT_PIl): Likewise.
3353 (M_1_DIV_El): Likewise.
3354 (log_test_data): Use AUTO_TESTS_f_f.
3355 (log10_test_data): Likewise.
3356 (log1p_test_data): Likewise.
3357 (log2_test_data): Likewise.
3358 (sin_test_data): Likewise.
3359 (sin_tonearest_test_data): Likewise.
3360 (sin_towardzero_test_data): Likewise.
3361 (sin_downward_test_data): Likewise.
3362 (sin_upward_test_data): Likewise.
3363 (sinh_test_data): Likewise.
3364 (sinh_tonearest_test_data): Likewise.
3365 (sinh_towardzero_test_data): Likewise.
3366 (sinh_downward_test_data): Likewise.
3367 (sinh_upward_test_data): Likewise.
3368 (tan_test_data): Likewise.
3369 (tan_tonearest_test_data): Likewise.
3370 (tan_towardzero_test_data): Likewise.
3371 (tan_downward_test_data): Likewise.
3372 (tan_upward_test_data): Likewise.
3373 (tanh_test_data): Likewise.
3374 (tgamma_test_data): Likewise.
3375 (y0_test_data): Likewise.
3376 (y1_test_data): Likewise.
3377 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3378 (special_real_inputs): Add pi/4.
3379 * sysdeps/i386/fpu/libm-test-ulps: Update.
3380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3382 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3385 "longjmp_target" static probes.
3386 (__longjmp): Rename to __longjmp_symbol.
3387 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3388 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3389 on which longjmp to generate.
3390 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3393 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3394 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3395 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3396 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3397 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3398 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3400 __longjmp_symbol based on which __longjmp to generate.
3401 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3403 (setjmp): Rename to setjmp_symbol.
3404 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3405 (_setjmp): Rename to _setjmp_symbol.
3406 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3407 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3408 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3409 which setjmp to generate.
3410 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3411 "longjmp_target" static probes.
3413 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3415 * benchtests/README: Add note about output arguments.
3416 * benchtests/bench-sincos.c: Remove file.
3417 * benchtests/sincos-inputs: New file.
3418 * scripts/bench.pl: Identify output arguments and define
3419 static variables for them.
3421 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3424 * Makefile (INSTALL): Add install-plain.texi as the primary
3426 * manual/install-plain.texi: New file.
3427 * manual/install.texi: Include node directive only for
3428 non-plaintext output.
3430 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3432 * stdlib/longlong.h: Update from GCC.
3436 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3437 * math/w_j0f.c (y0f): Likewise.
3438 * math/w_j0l.c (__y0l): Likewise.
3439 * math/w_j1.c (y1): Likewise.
3440 * math/w_j1f.c (y1f): Likewise.
3441 * math/w_j1l.c (__y1l): Likewise
3442 * math/w_jn.c (yn): Likewise.
3443 * math/w_jnf.c (ynf): Likewise.
3444 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3445 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3446 value for Bessel function domain errors outside _SVID_ mode.
3447 Adjust sign of return value for yn (negative integer, 0).
3448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3449 by zero in return for negative x and set sign appropriately for
3451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3452 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3453 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3454 expectations in error cases.
3455 (y1_test_data): Likewise.
3456 (yn_test_data): Likewise.
3457 * sysdeps/i386/fpu/libm-test-ulps: Update.
3458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3460 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3462 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3463 "64" to "64-v1". Add "64-v2".
3464 (abi-64-options): Rename to ...
3465 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3466 (abi-64-condition): Rename to ...
3467 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3468 (abi-64-ld-soname): Rename to ...
3469 (abi-64-v1-ld-soname): ... this.
3470 (abi-64-v2-options): Define.
3471 (abi-64-v2-condition): Likewise.
3472 (abi-64-v2-ld-soname): Likewise.
3473 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3474 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3479 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3480 Alan Modra <amodra@gmail.com>
3482 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3483 New versions for use with the ELFv2 ABI.
3484 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3485 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3487 (struct La_ppc64v2_retval): Likewise.
3488 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3489 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3490 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3491 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3492 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3494 Do not save or restore CR.
3495 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3496 (_dl_profile_resolve): Do no save or restore CR. Support extended
3497 return values for ELFv2 ABI. Fix location of FPR return registers.
3498 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3499 updated values for _CALL_ELF == 2.
3500 (La_regs, La_retval, int_retval): Likewise.
3502 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3504 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3505 (FRAME_MIN_SIZE_PARM): Likewise.
3506 (FRAME_BACKCHAIN): Likewise.
3507 (FRAME_CR_SAVE): Likewise.
3508 (FRAME_LR_SAVE): Likewise.
3509 (FRAME_TOC_SAVE): Likewise.
3510 (FRAME_PARM_SAVE): Likewise.
3511 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3512 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3513 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3514 (call_mcount_parm_offset): New macro.
3515 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3516 (PROF): Use symbolic stack frame offsets.
3517 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3518 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3519 Redefine in terms of FRAME_MIN_SIZE.
3520 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3521 (_dl_profile_resolve): Likewise. Update comment.
3522 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3523 symbols stack frame offsets.
3524 (__sigsetjmp): Likewise.
3525 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3526 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3527 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3528 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3531 (FRAME_BACKCHAIN): Remove.
3532 (FRAME_CR_SAVE): Likewise.
3533 (FRAME_LR_SAVE): Likewise.
3534 (FRAME_COMPILER_DW): Likewise.
3535 (FRAME_LINKER_DW): Likewise.
3536 (FRAME_TOC_SAVE): Likewise.
3537 (FRAME_PARM_SAVE): Likewise.
3538 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3539 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3540 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3542 (CHECK_SP): Use symbolic stack frame offsets.
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3544 zone" instead of caller's parameter save area for temp storage.
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3546 Likewise. Also, use symbolic stack frame offsets.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3548 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3549 our own stack frame instead of the caller's.
3550 (__socket): Use symbolic stack frame offsets.
3552 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3553 Alan Modra <amodra@gmail.com>
3555 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3557 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3558 PPC64_LOCAL_ENTRY_OFFSET): Define.
3559 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3561 (elf_machine_fixup_plt): Call it.
3562 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3564 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3565 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3566 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3567 r2 before calling target.
3569 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3570 Alan Modra <amodra@gmail.com>
3572 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3573 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3574 versions of macros to support ELFv2 ABI.
3575 (LOCALENTRY): New macro.
3576 (ENTRY, EALIGN): Use it.
3577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3578 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3579 fall through into ENTRY entry point.
3580 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3581 Only define if _CALL_ELF != 2.
3583 (elf_machine_matches_host): Verify ABI version matches.
3584 (RTLD_START): Use LOCALENTRY.
3585 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3586 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3587 (PLT_ENTRY_WORDS): New macro.
3588 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3589 (elf_machine_runtime_setup): Support ELFv2 ABI.
3590 (elf_machine_fixup_plt): Likewise.
3591 (elf_machine_plt_conflict): Likewise.
3592 (resolve_ifunc): Likewise.
3593 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3597 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3599 (makecontext): Support ELFv2 ABI.
3600 * elf/elf.h (EF_PPC64_ABI): Define.
3602 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3604 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3605 New assembler macro.
3606 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3607 [ASSEMBLER] (ENTRY): ... but instead here ...
3608 [ASSEMBLER] (EALIGN): ... and here.
3609 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3610 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3611 [!ASSEMBLER] (ENTRY_2): Use it.
3612 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3613 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3615 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3616 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3618 Use PPC64_LOAD_FUNCPTR.
3620 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3622 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3624 2013-12-04 Alan Modra <amodra@gmail.com>
3626 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3627 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3628 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3629 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3631 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3632 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3633 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3634 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3635 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3636 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3638 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3641 (__makecontext): Fix incorrect CFI when backtracing out of
3642 context created via makecontext.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3644 (__setcontext): Fix incorrect CFI during switch to new context.
3645 (__novec_setcontext): Likewise.
3647 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3650 * time/strptime_l.c (__strptime_internal): Allow modifiers
3652 * time/tst-strptime.c (day_tests): Add testcase.
3655 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3657 * scripts/bench.pl: Skip over blank lines.
3659 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3662 * manual/time.texi (Calendar Time): Clarify what timezone functions
3665 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3669 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3671 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3673 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3674 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3675 * debug/memset_chk.c (__memset_chk): Likewise.
3676 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3677 * debug/strncpy_chk.c: Likewise.
3679 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3683 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3684 (__ieee754_exp): For possibly underflowing results, check size of
3685 result and force underflow exception if required.
3686 * math/auto-libm-test-in: Add more tests of exp.
3687 * math/auto-libm-test-out: Regenerated.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3693 * math/w_exp2f.c (__exp2f): Likewise.
3694 * math/w_exp2l.c (__exp2l): Likewise.
3695 * math/auto-libm-test-in: Do not allow missing errno on exp2
3697 * math/auto-libm-test-out: Regenerated.
3699 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3702 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3703 handle filename validation.
3704 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3707 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3710 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3711 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3712 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3714 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3715 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3716 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3718 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3719 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3720 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3721 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3722 Add more erfc tests.
3723 * math/auto-libm-test-out: Regenerated.
3724 * sysdeps/i386/fpu/libm-test-ulps: Update.
3725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3727 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3728 exp2, expm1, j0 and j1.
3729 * math/auto-libm-test-out: Regenerated.
3730 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3731 (erfc_test_data): Likewise.
3732 (exp_test_data): Likewise.
3733 (exp_tonearest_test_data): Likewise.
3734 (exp_towardzero_test_data): Likewise.
3735 (exp_downward_test_data): Likewise.
3736 (exp_upward_test_data): Likewise.
3737 (exp10_test_data): Likewise.
3738 (exp2_test_data): Likewise.
3739 (expm1_test_data): Likewise.
3740 (j0_test_data): Likewise.
3741 (j1_test_data): Likewise.
3742 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3743 (input_flag_type): Add flag_xfail_rounding.
3744 (input_flags): Add xfail-rounding.
3745 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3746 (output_for_one_input_case): Handle flag_xfail_rounding.
3747 * sysdeps/i386/fpu/libm-test-ulps: Update.
3748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3750 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3753 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3756 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3759 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3760 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3761 (STAP_PROBE0): New macro.
3762 (STAP_PROBE1): Likewise.
3763 (STAP_PROBE2): Likewise.
3764 (STAP_PROBE3): Likewise.
3765 (STAP_PROBE4): Likewise.
3767 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3769 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3771 2013-12-02 Steve Ellcey <sellcey@mips.com>
3773 * benchtests/Makefile (bench): Add sqrt.
3774 (LDLIBS-bench-sqrt): New.
3775 * benchtests/sqrt-input: New.
3777 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3779 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3780 (GAIH_EAI): Likewise.
3781 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3782 (gaih_inet): Likewise.
3783 (getaddrinfo): Don't use GAIH_EAI.
3785 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3786 (struct gaih): Remove definition.
3788 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3790 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3791 Use HERRNOP directly.
3793 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3797 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3799 * math/gen-auto-libm-tests.c (test_functions): Add more
3800 single-argument functions.
3801 (special_fill_pi_2): New function.
3802 (special_fill_minus_pi_2): Likewise.
3803 (special_fill_pi_6): Likewise.
3804 (special_fill_minus_pi_6): Likewise.
3805 (special_fill_pi_3): Likewise.
3806 (special_fill_2pi_3): Likewise.
3807 (special_fill_e): Likewise.
3808 (special_fill_1_e): Likewise.
3809 (special_fill_e_minus_1): Likewise.
3810 (special_real_inputs): Add more special inputs.
3811 (output_for_one_input_case): Do not require ERANGE on underflow to
3812 zero if round-to-nearest result does not underflow to zero, unless
3813 exact results required.
3814 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3815 atan, atanh, cbrt, cos and cosh.
3816 * math/auto-libm-test-out: Regenerated.
3817 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3818 (acos_tonearest_test_data): Likewise.
3819 (acos_towardzero_test_data): Likewise.
3820 (acos_downward_test_data): Likewise.
3821 (acos_upward_test_data): Likewise.
3822 (acosh_test_data): Likewise.
3823 (asin_test_data): Likewise.
3824 (asin_tonearest_test_data): Likewise.
3825 (asin_towardzero_test_data): Likewise.
3826 (asin_upward_test_data): Likewise.
3827 (asinh_test_data): Likewise.
3828 (atan_test_data): Likewise.
3829 (atanh_test_data): Likewise.
3830 (cbrt_test_data): Likewise.
3831 (cos_test_data): Likewise.
3832 (cos_tonearest_test_data): Likewise.
3833 (cos_towardzero_test_data): Likewise.
3834 (cos_downward_test_data): Likewise.
3835 (cos_upward_test_data): Likewise.
3836 (cosh_test_data): Likewise.
3837 (cosh_tonearest_test_data): Likewise.
3838 (cosh_towardzero_test_data): Likewise.
3839 (cosh_downward_test_data): Likewise.
3840 (cosh_upward_test_data): Likewise.
3841 * sysdeps/i386/fpu/libm-test-ulps: Update.
3842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3844 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3847 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3848 * math/w_exp10f.c (__exp10f): Likewise.
3849 * math/w_exp10l.c (__exp10l): Likewise.
3850 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3851 errno settings in existing tests.
3854 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3855 precision control set to double precision.
3856 * sysdeps/i386/fpu/w_sqrt.c: New file.
3857 * math/auto-libm-test-in: Add more tests.
3858 * math/auto-libm-test-out: Update.
3860 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3861 (sqrt_test_tonearest): New function.
3862 (sqrt_towardzero_test_data): New variable.
3863 (sqrt_test_towardzero): New function.
3864 (sqrt_downward_test_data): New variable.
3865 (sqrt_test_downward): New function.
3866 (sqrt_upward_test_data): New variable.
3867 (sqrt_test_upward): New function.
3868 (main): Call the new functions.
3870 * math/gen-auto-libm-tests.c: New file.
3871 * math/auto-libm-test-in: Likewise.
3872 * math/auto-libm-test-out: New generated file.
3873 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3875 (%beautify): Add generated representations of zero.
3876 (top level): Set $auto_input and call parse_auto_input.
3877 (beautify): Remove trailing "f" from hex float constants.
3878 (parse_args): Handle XFAIL_TEST.
3879 (convert_condition): New function.
3880 (or_value): Likewise.
3881 (or_cond_value): Likewise.
3882 (generate_testfile): Handle AUTO_TESTS_* lines.
3883 (parse_auto_input): New function.
3884 * math/libm-test.inc (XFAIL_TEST): New macro.
3885 (ERRNO_UNCHANGED): Update value.
3886 (ERRNO_EDOM): Likewise.
3887 (ERRNO_ERANGE): Likewise.
3888 (IGNORE_RESULT): Likewise.
3889 (TEST_COND_flt_32): New macro.
3890 (TEST_COND_dbl_64): Likewise.
3891 (TEST_COND_ldbl_96_intel): Likewise.
3892 (TEST_COND_ldbl_96_m68k): Likewise.
3893 (TEST_COND_ldbl_128): Likewise.
3894 (TEST_COND_ldbl_128ibm): Likewise.
3895 (TEST_COND_long32): Likewise.
3896 (TEST_COND_long64): Likewise.
3897 (TEST_COND_before_rounding): Likewise.
3898 (TEST_COND_after_rounding): Likewise.
3899 (enable_test): Handle XFAIL_TEST flag.
3900 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3901 with finite results.
3902 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3905 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3906 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3909 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3910 __tls_get_addr_internal instead of __tls_get_offset in order to
3911 avoid GOT pointer dependency. Make rtld export
3912 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3913 __tls_get_addr since we are a __tls_get_offset platform.
3914 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3915 GOT pointer being set up before.
3916 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3918 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3920 * manual/math.texi (Errors in Math Functions): Document accuracy
3924 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3925 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3928 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3930 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3941 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3942 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3943 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3944 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3945 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3947 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3949 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3951 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3952 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3953 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3954 atomic-feupdateenv and flt-rounds.
3955 * sysdeps/powerpc/nofpu/Versions (libc): Add
3956 __atomic_feholdexcept, __atomic_feclearexcept,
3957 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3958 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3959 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3960 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3961 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3966 * manual/arith.texi (FP Exceptions): Document that exceptions may
3967 not be raised when matherr is used.
3968 (Math Error Reporting): Document overflow in directed rounding
3969 modes. Document that errno may not be set when finite values are
3970 returned on overflow. Document intent to set errno on underflow
3971 only for underflow to zero.
3974 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3975 round-to-nearest then adjust result for other rounding modes.
3976 * include/fenv.h (fegetround): Use libm_hidden_proto.
3977 * math/fegetround.c (fegetround): Use libm_hidden_def.
3978 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3979 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3980 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3981 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3983 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3984 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3985 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3986 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3988 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3991 * nss/Versions (libnss_files): Add
3992 _nss_files_gethostbyname3_r.
3993 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3995 (HOST_DB_LOOKUP): Remove macro.
3996 (_nss_files_gethostbyname_r): Implement function without the
3997 HOST_DB_LOOKUP macro.
3998 (_nss_files_gethostbyname2_r): Likewise.
4000 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4002 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4004 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4006 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4007 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4010 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4012 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4013 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4014 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4015 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4016 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4017 __fe_nomask_env_priv and attribute_hidden.
4018 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4019 (libc_feupdateenv_test_ppc): Likewise.
4020 (libc_feresetround_ppc): Likewise.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4022 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4023 compat_symbol macro.
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4025 (__fe_nomask_env): Likewise.
4026 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4028 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4030 * string/Makefile: Remove ifunc tests.
4031 * string/test-string.h: Define TEST_IFUNC.
4032 * string/test-bcopy-ifunc.c: Remove.
4033 * string/test-bzero-ifunc.c: Likewise.
4034 * string/test-memccpy-ifunc.c: Likewise.
4035 * string/test-memchr-ifunc.c: Likewise.
4036 * string/test-memcmp-ifunc.c: Likewise.
4037 * string/test-memcpy-ifunc.c: Likewise.
4038 * string/test-memmem-ifunc.c: Likewise.
4039 * string/test-memmove-ifunc.c: Likewise.
4040 * string/test-mempcpy-ifunc.c: Likewise.
4041 * string/test-memrchr-ifunc.c: Likewise.
4042 * string/test-memset-ifunc.c: Likewise.
4043 * string/test-rawmemchr-ifunc.c: Likewise.
4044 * string/test-stpcpy-ifunc.c: Likewise.
4045 * string/test-stpncpy-ifunc.c: Likewise.
4046 * string/test-strcasecmp-ifunc.c: Likewise.
4047 * string/test-strcasestr-ifunc.c: Likewise.
4048 * string/test-strcat-ifunc.c: Likewise.
4049 * string/test-strchr-ifunc.c: Likewise.
4050 * string/test-strchrnul-ifunc.c: Likewise.
4051 * string/test-strcmp-ifunc.c: Likewise.
4052 * string/test-strcpy-ifunc.c: Likewise.
4053 * string/test-strcspn-ifunc.c: Likewise.
4054 * string/test-strlen-ifunc.c: Likewise.
4055 * string/test-strncasecmp-ifunc.c: Likewise.
4056 * string/test-strncat-ifunc.c: Likewise.
4057 * string/test-strncmp-ifunc.c: Likewise.
4058 * string/test-strncpy-ifunc.c: Likewise.
4059 * string/test-strnlen-ifunc.c: Likewise.
4060 * string/test-strpbrk-ifunc.c: Likewise.
4061 * string/test-strrchr-ifunc.c: Likewise.
4062 * string/test-strspn-ifunc.c: Likewise.
4063 * string/test-strstr-ifunc.c: Likewise.
4065 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4067 * benchtests/Makefile: Remove ifunc tests.
4068 * benchtests/bench-string.h: Define TEST_IFUNC.
4069 * benchtests/bench-bcopy-ifunc.c: Remove.
4070 * benchtests/bench-bzero-ifunc.c: Likewise.
4071 * benchtests/bench-memccpy-ifunc.c: Likewise.
4072 * benchtests/bench-memchr-ifunc.c: Likewise.
4073 * benchtests/bench-memcmp-ifunc.c: Likewise.
4074 * benchtests/bench-memcpy-ifunc.c: Likewise.
4075 * benchtests/bench-memmem-ifunc.c: Likewise.
4076 * benchtests/bench-memmove-ifunc.c: Likewise.
4077 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4078 * benchtests/bench-memrchr-ifunc.c: Likewise.
4079 * benchtests/bench-memset-ifunc.c: Likewise.
4080 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4081 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4082 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4083 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4084 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4085 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4086 * benchtests/bench-strcat-ifunc.c: Likewise.
4087 * benchtests/bench-strchr-ifunc.c: Likewise.
4088 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4089 * benchtests/bench-strcmp-ifunc.c: Likewise.
4090 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4091 * benchtests/bench-strcpy-ifunc.c: Likewise.
4092 * benchtests/bench-strcspn-ifunc.c: Likewise.
4093 * benchtests/bench-strlen-ifunc.c: Likewise.
4094 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4095 * benchtests/bench-strncat-ifunc.c: Likewise.
4096 * benchtests/bench-strncmp-ifunc.c: Likewise.
4097 * benchtests/bench-strncpy-ifunc.c: Likewise.
4098 * benchtests/bench-strnlen-ifunc.c: Likewise.
4099 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4100 * benchtests/bench-strrchr-ifunc.c: Likewise.
4101 * benchtests/bench-strsep-ifunc.c: Likewise.
4102 * benchtests/bench-strspn-ifunc.c: Likewise.
4103 * benchtests/bench-strstr-ifunc.c: Likewise.
4105 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4107 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4109 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4111 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4112 * rt/aio.h: Likewise.
4113 * sysdeps/gnu/bits/utmp.h: Likewise.
4114 * sysdeps/gnu/bits/utmpx.h: Likewise.
4115 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4116 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4117 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4118 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4119 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4120 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4121 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4122 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4123 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4124 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4125 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4126 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4130 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4131 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4132 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4133 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4134 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4135 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4136 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4137 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4138 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4139 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4141 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4142 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4143 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4144 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4148 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4151 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4152 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4153 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4154 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4155 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4156 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4158 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4161 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4162 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4164 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4166 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4167 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4170 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4173 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4174 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4175 (__fesetround): Remove define.
4176 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4177 rounding and exceptions handling.
4178 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4180 (__fe_nomask_env): Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4182 __fegetround instead of fegetround.
4183 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4186 2013-11-21 Roland McGrath <roland@hack.frob.com>
4188 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4191 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4193 2013-11-21 Meador Inge <meadori@codesourcery.com>
4196 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4197 (encrypt_r): Likewise.
4198 * malloc/obstack.h (obstack_free): Likewise.
4199 * posix/unistd.h (encrypt): Likewise.
4201 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4203 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4204 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4205 DL_CALL_DT_FINI() that call the functions directly.
4206 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4207 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4208 * elf/dl-fini.c: Likewise.
4210 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4212 * malloc/hooks.c (memalign_check): Add alignment rounding.
4213 * malloc/malloc.c (_mid_memalign): New function.
4214 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4215 Implement by calling _mid_memalign.
4216 * manual/probes.texi (Memory Allocation Probes): Remove
4217 memory_valloc_retry and memory_pvalloc_retry.
4219 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4221 * locale/programs/locarchive.c (open_archive): Add const
4222 qualifier to ARCHIVEFNAME and copy default fname to
4226 * libio/tst-widetext.input: Rename Oriya to Odia.
4227 * locale/iso-639.def: Likewise.
4229 * manual/probes.texi (Mathematical Function Probes): Add
4230 documentation for sin, cos, asin and acos probes.
4231 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4232 (__sin32): Add slowasin probe.
4233 (__cos32): Add slowacos probe.
4234 (__mpsin): Add slowsin probe.
4235 (__mpcos): Add slowcos probe.
4237 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4240 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4241 thread-local __sim_exceptions_thread and global
4242 __sim_exceptions_global.
4243 (__sim_disabled_exceptions): Change to thread-local
4244 __sim_disabled_exceptions_thread and global
4245 __sim_disabled_exceptions_global.
4246 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4247 and global __sim_round_mode_global.
4248 (__simulate_exceptions): Use thread-local floating-point state and
4249 set global state from it as needed.
4250 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4251 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4252 __sim_round_mode_thread.
4253 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4254 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4255 and global __sim_exceptions_global.
4256 (__sim_disabled_exceptions): Change to thread-local
4257 __sim_disabled_exceptions_thread and global
4258 __sim_disabled_exceptions_global.
4259 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4260 and global __sim_round_mode_global.
4261 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4262 (SIM_SET_GLOBAL): Likewise.
4263 * sysdeps/powerpc/soft-fp/sfp-machine.h
4264 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4265 __sim_round_mode_thread.
4266 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4267 __sim_disabled_exceptions_thread.
4268 (__sim_exceptions): Change to __sim_exceptions_thread.
4269 (__sim_disabled_exceptions): Change to
4270 __sim_disabled_exceptions_thread.
4271 (__sim_round_mode): Change to __sim_round_mode_thread.
4272 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4273 thread-local floating-point state and set global state from it as
4275 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4276 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4277 (__sim_disabled_exceptions): Remove extern declaration.
4278 (feenableexcept): Use thread-local floating-point state and set
4279 global state from it as needed.
4280 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4282 (__sim_disabled_exceptions): Likewise.
4283 (__sim_round_mode): Likewise.
4284 (__fegetenv): Use thread-local floating-point state.
4285 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4286 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4287 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4288 floating-point state and set global state from it as needed.
4289 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4290 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4291 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4293 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4294 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4296 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4297 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4298 Use __sim_round_mode_thread.
4299 * math/test-fenv-tls.c: New file.
4300 * math/Makefile (tests): Add test-fenv-tls.
4301 ($(objpfx)test-fenv-tls): Depend on
4302 $(common-objpfx)nptl/libpthread.so.
4304 2013-11-19 Andreas Schwab <schwab@suse.de>
4306 * locale/programs/locale.c (show_info): Decode wordarray elements.
4307 * locale/categories.def (LC_MONETARY): Add element for
4308 _NL_MONETARY_CRNCYSTR.
4309 * locale/C-monetary.c (conversion_rate): New variable.
4310 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4313 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4315 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4316 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4318 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4320 * elf/Makefile (tst-auxv): New test.
4321 * elf/tst-auxv.c: New
4322 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4324 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4326 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4327 (hidden_proto): Caller changed.
4328 (hidden_tls_proto): New macro.
4329 (libc_hidden_tls_proto): Likewise.
4330 (rtld_hidden_tls_proto): Likewise.
4331 (libm_hidden_tls_proto): Likewise.
4332 (libresolv_hidden_tls_proto): Likewise.
4333 (librt_hidden_tls_proto): Likewise.
4334 (libdl_hidden_tls_proto): Likewise.
4335 (libnss_files_hidden_tls_proto): Likewise.
4336 (libnsl_hidden_tls_proto): Likewise.
4337 (libnss_nisplus_hidden_tls_proto): Likewise.
4338 (libutil_hidden_tls_proto): Likewise.
4340 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4343 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4344 (decompose_rpath): Defer expansion to fillin_rpath.
4345 (_dl_init_paths): Pass linkmap to fillin_rpath.
4347 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4349 * benchtests/Makefile: Add strsep.
4350 * benchtests/bench-strsep.c: New file: strsep benchtest.
4351 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4353 2013-11-18 Andreas Schwab <schwab@suse.de>
4355 * locale/programs/locale.c (show_info) [case byte]: Check for
4356 '\377' instead of '\177'.
4357 * locale/C-monetary.c (not_available): Always use "\377".
4358 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4359 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4360 detect unavailable sign_posn locale elements.
4361 * locale/localeconv.c (__localeconv): For grouping and
4362 mon_grouping handle "\177" and "\377" like no grouping.
4363 (INT_ELEM): New macro. Use it to set all numeric members.
4364 * locale/programs/ld-monetary.c (monetary_read)
4365 <tok_mon_grouping>: Normalize single -1 to the empty string.
4366 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4369 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4372 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4373 when we match (nil).
4374 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4376 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4378 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4379 (NO_TEST_INLINE): Update value.
4380 (ERRNO_UNCHANGED): Likewise.
4381 (ERRNO_EDOM): Likewise.
4382 (ERRNO_ERANGE): Likewise.
4383 (IGNORE_RESULT): Likewise.
4384 (check_float_internal): Check signs of NaN results if
4386 (check_complex): Pass TEST_NAN_SIGN flag through to second
4387 check_float_internal call.
4388 (copysign_test_data): Add tests with quiet NaNs as second
4389 argument. Use TEST_NAN_SIGN.
4390 (fabs_test_data): Add test of negative quiet NaN argument. Use
4392 (signbit_test_data): Add tests of quiet NaN argument.
4393 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4395 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4397 (parse_args): Handle function results specified as IGNORE.
4398 * math/libm-test.inc (IGNORE_RESULT): New macro.
4399 (check_float_internal): Do not check numerical result if flag
4401 (check_complex): Pass through IGNORE_RESULT to second
4402 check_float_internal call.
4403 (check_int): Do not check numerical result if flag IGNORE_RESULT
4405 (check_long): Likewise.
4406 (check_bool): Likewise.
4407 (check_longlong): Likewise.
4408 (lrint_test_data): Add tests of infinite and NaN arguments.
4409 (lrint_tonearest_test_data): Likewise.
4410 (lrint_towardzero_test_data): Likewise.
4411 (lrint_downward_test_data): Likewise.
4412 (lrint_upward_test_data): Likewise.
4413 (llrint_test_data): Likewise.
4414 (llrint_tonearest_test_data): Likewise.
4415 (llrint_towardzero_test_data): Likewise.
4416 (llrint_downward_test_data): Likewise.
4417 (llrint_upward_test_data): Likewise.
4418 (lround_test_data): Likewise.
4419 (llround_test_data): Likewise.
4421 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4422 (ERRNO_UNCHANGED): Update value.
4423 (ERRNO_EDOM): Likewise.
4424 (ERRNO_ERANGE): Likewise.
4425 (NO_TEST_INLINE_FLOAT): New macro.
4426 (NO_TEST_INLINE_DOUBLE): Likewise.
4427 (enable_test): New function.
4428 (RUN_TEST_f_f): Check enable_test before running test.
4429 (RUN_TEST_2_f): Likewise.
4430 (RUN_TEST_fff_f): Likewise.
4431 (RUN_TEST_c_f): Likewise.
4432 (RUN_TEST_f_f1): Likewise.
4433 (RUN_TEST_fF_f1): Likewise.
4434 (RUN_TEST_fI_f1): Likewise.
4435 (RUN_TEST_ffI_f1): Likewise.
4436 (RUN_TEST_c_c): Likewise.
4437 (RUN_TEST_cc_c): Likewise.
4438 (RUN_TEST_f_i): Likewise.
4439 (RUN_TEST_f_i_tg): Likewise.
4440 (RUN_TEST_ff_i_tg): Likewise.
4441 (RUN_TEST_f_b): Likewise.
4442 (RUN_TEST_f_b_tg): Likewise.
4443 (RUN_TEST_f_l): Likewise.
4444 (RUN_TEST_f_L): Likewise.
4445 (RUN_TEST_fFF_11): Likewise.
4446 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4448 (cosh_test_data): Likewise.
4449 (exp_test_data): Likewise.
4450 (expm1_test_data): Likewise.
4451 (hypot_test_data): Likewise.
4452 (pow_test_data): Likewise.
4453 (sinh_test_data): Likewise.
4454 (tanh_test_data): Likewise.
4455 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4458 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4459 tests with quiet NaN input and output.
4460 (acosh_test_data): Likewise.
4461 (asin_test_data): Likewise.
4462 (asinh_test_data): Likewise.
4463 (atan_test_data): Likewise.
4464 (atanh_test_data): Likewise.
4465 (atan2_test_data): Likewise.
4466 (cbrt_test_data): Likewise.
4467 (cos_test_data): Likewise.
4468 (cosh_test_data): Likewise.
4469 (erf_test_data): Likewise.
4470 (erfc_test_data): Likewise.
4471 (exp_test_data): Likewise.
4472 (exp10_test_data): Likewise.
4473 (exp2_test_data): Likewise.
4474 (expm1_test_data): Likewise.
4475 (hypot_test_data): Likewise.
4476 (j0_test_data): Likewise.
4477 (j1_test_data): Likewise.
4478 (jn_test_data): Likewise.
4479 (lgamma_test_data): Likewise.
4480 (log_test_data): Likewise.
4481 (log10_test_data): Likewise.
4482 (log1p_test_data): Likewise.
4483 (log2_test_data): Likewise.
4484 (pow_test_data): Likewise.
4485 (scalb_test_data): Likewise.
4486 (sin_test_data): Likewise.
4487 (sincos_test_data): Likewise.
4488 (sinh_test_data): Likewise.
4489 (tan_test_data): Likewise.
4490 (tanh_test_data): Likewise.
4491 (tgamma_test_data): Likewise.
4492 (y0_test_data): Likewise.
4493 (y1_test_data): Likewise.
4494 (yn_test_data): Likewise.
4497 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4498 argument being NaN and avoid computations with second argument in
4500 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4501 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4502 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4504 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4506 * locale/iso-639.def: Add Chitwani Tharu (the).
4508 2013-11-14 Andreas Schwab <schwab@suse.de>
4510 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4511 word instead of empty string.
4513 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4516 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4518 (__fe_nomask_env): Likewise.
4520 2013-11-13 Steve Ellcey <sellcey@mips.com>
4522 * benchtests/bench-timing.h: Include time.h.
4524 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4527 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4529 * sysdeps/unix/sysv/linux/configure: Regenerated.
4531 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4534 * stdlib/strtod_l.c (round_and_return): Do not consider
4535 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4536 exponent one less than half the least subnormal exponent.
4537 * stdlib/test-strtod-round-data: Add more tests.
4538 * stdlib/tst-strtod-round.c (tests): Regenerated.
4540 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4543 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4544 (__fe_mask_env): Likewise.
4545 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4546 libm_hidden_proto and add function prototype.
4547 (__fe_mask_env): Add function prototype.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4549 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4551 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4553 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4555 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4557 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4558 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4560 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4562 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4563 of htab_find_slot().
4565 2013-11-11 David S. Miller <davem@davemloft.net>
4568 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4569 symbol in the non-vis3 case in static builds.
4570 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4571 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4572 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4573 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4575 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4578 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4581 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4583 * benchtests/Makefile: Add bench-strtod.
4584 * benchtests/bench-strtod.c: New file: strtod benchtest
4586 2013-11-11 Andreas Schwab <schwab@suse.de>
4589 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4590 terminating NUL in key length.
4592 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4595 Add artificial ODP entry for vDSO symbol for PPC64.
4596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4597 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4599 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4602 * nss/getent.c (services_keys): Recognize services starting with digit.
4604 2013-11-06 David S. Miller <davem@davemloft.net>
4607 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4608 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4610 2013-11-06 Will Newton <will.newton@linaro.org>
4612 * manual/memory.texi (Malloc Examples): Remove register
4613 keyword from examples.
4615 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4617 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4619 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4622 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4623 depending on [__GCC_IEC_559 > 0].
4624 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4625 depending on [__GCC_IEC_559_COMPLEX > 0].
4627 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4629 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4632 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4634 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4636 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4639 * malloc/malloc (malloc_info): Do not handle first bin as
4642 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4644 * locale/iso-639.def: Add Central Nahuatl (nhn).
4646 2013-11-01 Bruno Haible <bruno@clisp.org>
4649 * manual/math.texi (BSD Random): Specify range upper bound as
4652 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4654 * locale/iso-639.def: Add Meadow Mari (mhr).
4656 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4658 [BZ #14752], [BZ #15763]
4659 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4661 * rt/tst_shm.c: Add test for escaping directory.
4663 2013-10-31 Andreas Schwab <schwab@suse.de>
4666 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4667 followed by 'x' as part of digit sequence.
4668 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4670 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4673 * configure.ac: allow GNU Make 4.0 and greater.
4674 * configure: Regenerated.
4676 2013-10-30 Will Newton <will.newton@linaro.org>
4679 * malloc/hooks.c (memalign_check): Limit alignment to the
4680 maximum representable power of two.
4681 * malloc/malloc.c (__libc_memalign): Likewise.
4682 * malloc/tst-memalign.c (do_test): Add test for very
4683 large alignment values.
4684 * malloc/tst-posix_memalign.c (do_test): Likewise.
4686 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4689 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4690 (munmap_chunk): Likewise.
4691 (mremap_chunk): Likewise.
4693 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4696 * stdlib/div.c (div): Remove obsolete code.
4697 * stdlib/ldiv.c (ldiv): Likewise.
4698 * stdlib/lldiv.c (lldiv): Likewise.
4700 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4703 * nss/nss_files/files-XXX.c (get_contents_ret): New
4705 (get_contents): New function.
4706 (internal_getent): Use it. Expand size of LINEBUFLEN.
4708 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4710 * configure.in: Moved to ...
4711 * configure.ac: ... here. Change reference to configure.in
4713 * sysdeps/arm/preconfigure.ac: ... here.
4714 configure.in to configure.ac.
4715 * sysdeps/gnu/configure.in: Moved to ...
4716 * sysdeps/gnu/configure.ac: ... here.
4717 * sysdeps/i386/configure.in: Moved to ...
4718 * sysdeps/i386/configure.ac: ... here.
4719 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4720 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4721 * sysdeps/mach/configure.in: Moved to ...
4722 * sysdeps/mach/configure.ac: ... here.
4723 * sysdeps/mach/hurd/configure.in: Moved to ...
4724 * sysdeps/mach/hurd/configure.ac: ... here.
4725 * sysdeps/powerpc/configure.in: Moved to ...
4726 * sysdeps/powerpc/configure.ac: ... here.
4727 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4728 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4729 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4730 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4731 * sysdeps/s390/s390-32/configure.in: Moved to ...
4732 * sysdeps/s390/s390-32/configure.ac: ... here.
4733 * sysdeps/s390/s390-64/configure.in: Moved to ...
4734 * sysdeps/s390/s390-64/configure.ac: ... here.
4735 * sysdeps/sh/configure.in: Moved to ...
4736 * sysdeps/sh/configure.ac: ... here.
4737 * sysdeps/sparc/configure.in: Moved to ...
4738 * sysdeps/sparc/configure.ac: ... here.
4739 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4740 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4741 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4742 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4743 * sysdeps/x86_64/configure.in: Moved to ...
4744 * sysdeps/x86_64/configure.ac: ... here.
4745 * sysdeps/x86_64/preconfigure.in: Moved to ...
4746 * sysdeps/x86_64/preconfigure.ac: ... here.
4747 * aclocal.m4: Change reference to configure.in to configure.ac.
4748 * config.h.in: Likewise.
4749 * manual/install.texi: Likewise.
4750 * manual/maint.texi: Likewise.
4751 * Makefile: Likewise.
4752 * malloc/Makefile: Likewise.
4753 * nscd/Makefile: Likewise.
4754 * Makeconfig: Change reference to configure.in and
4755 preconfigure.in to configure.ac and preconfigure.ac
4757 * INSTALL: Regenerated.
4758 * configure: Likewise.
4759 * sysdeps/gnu/configure: Likewise.
4760 * sysdeps/i386/configure: Likewise.
4761 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4762 * sysdeps/mach/configure: Likewise.
4763 * sysdeps/mach/hurd/configure: Likewise.
4764 * sysdeps/powerpc/configure: Likewise.
4765 * sysdeps/powerpc/powerpc32/configure: Likewise.
4766 * sysdeps/powerpc/powerpc64/configure: Likewise.
4767 * sysdeps/s390/s390-32/configure: Likewise.
4768 * sysdeps/s390/s390-64/configure: Likewise.
4769 * sysdeps/sh/configure: Likewise.
4770 * sysdeps/sparc/configure: Likewise.
4771 * sysdeps/unix/sysv/linux/configure: Likewise.
4772 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4773 * sysdeps/x86_64/configure: Likewise.
4774 * sysdeps/x86_64/preconfigure: Likewise.
4776 2013-10-29 Andreas Schwab <schwab@suse.de>
4778 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4780 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4782 * benchtests/pow-inputs: Add new inputs.
4784 * benchtests/exp-inputs: Add new inputs.
4786 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4787 conditional check for return value.
4788 (__cos32): Likewise.
4790 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4792 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4793 to provide a boost for large inputs with word alignment.
4794 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4795 implementation based on optimized PPC64 strcpy.
4796 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4797 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4798 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4799 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4801 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4804 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4806 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4809 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4810 * time/tst-strptime.c (day_tests): Add testcase.
4812 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4815 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4817 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4820 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4821 MAP_FAILED on error.
4823 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4826 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4827 heap for large requests.
4829 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4832 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4833 result if the result has no associated interface.
4834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4835 interface for all 127.X.Y.Z addresses.
4837 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4839 * locale/iso-639.def: Add Ligurian (lij)
4841 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4844 * sunrpc/rpc_main.c: Document rpcgen -5.
4846 2013-10-19 Michael Stahl <mstahl@redhat.com>
4848 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4850 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4853 * posix/glob.c: Match only directories when trailing slash is present.
4854 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4855 (main): Add testcase.
4857 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4860 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4862 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4864 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4865 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4866 AUTH_DES and cindex for FIPS 140-2.
4867 (DES Encryption): Add cindex FIPS 46-3.
4869 * locale/locarchive.h (struct locarhandle): Add fname.
4870 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4871 if an optional argument was specified to --list-archive,
4873 * locale/programs/locarchive.c (show_archive_content): Take new
4874 argument fname and pass it via ah.fname to open_archive.
4875 * locale/programs/localedef.h: Update decl.
4876 (open_archive): If AH->fname is non-null, open that file
4877 rather than the default file name, and don't ignore ENOENT.
4878 (create_archive): Set AH.fname to NULL.
4879 (delete_locales_from_archive): Likewise.
4880 (add_locales_to_archive): Likewise.
4881 * locale/programs/locfile.c (write_all_categories): Likewise.
4883 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4884 Aldy Hernandez <aldyh@redhat.com>
4886 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4887 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4888 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4889 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4890 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4891 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4892 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4893 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4894 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4895 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4896 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4897 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4898 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4899 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4900 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4902 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4904 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4906 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4908 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4909 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4911 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4912 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4913 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4914 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4916 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4918 * sysdeps/powerpc/preconfigure: Likewise.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4921 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4922 Replace contents of file by #include of <fenv_libc.h>.
4923 * sysdeps/powerpc/soft-fp/sfp-machine.h
4924 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4926 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4928 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4931 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4933 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4934 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4935 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4939 Allow copysignl PLT reference to be missing.
4941 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4942 Joseph Myers <joseph@codesourcery.com
4945 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4947 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4949 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4951 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4952 * elf/tst-tls1.c: Likewise.
4953 * elf/tst-tls10.h: Likewise.
4954 * elf/tst-tls14.c: Likewise.
4955 * elf/tst-tls2.c: Likewise.
4956 * elf/tst-tls3.c: Likewise.
4957 * elf/tst-tls4.c: Likewise.
4958 * elf/tst-tls5.c: Likewise.
4959 * elf/tst-tls6.c: Likewise.
4960 * elf/tst-tls7.c: Likewise.
4961 * elf/tst-tls8.c: Likewise.
4962 * elf/tst-tls9.c: Likewise.
4963 * elf/tst-tlsmod1.c: Likewise.
4964 * elf/tst-tlsmod13.c: Likewise.
4965 * elf/tst-tlsmod13a.c: Likewise.
4966 * elf/tst-tlsmod14a.c: Likewise.
4967 * elf/tst-tlsmod16a.c: Likewise.
4968 * elf/tst-tlsmod16b.c: Likewise.
4969 * elf/tst-tlsmod2.c: Likewise.
4970 * elf/tst-tlsmod3.c: Likewise.
4971 * elf/tst-tlsmod4.c: Likewise.
4972 * elf/tst-tlsmod5.c: Likewise.
4973 * elf/tst-tlsmod6.c: Likewise.
4975 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4978 * malloc/malloc.c: remove checks for statistics.
4980 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4983 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4984 * inet/tst-network.c: Add testcase.
4986 2013-10-17 Andreas Schwab <schwab@suse.de>
4989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4990 to determine canonical name.
4992 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4994 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4995 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5018 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5019 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5022 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5024 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5035 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5037 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5038 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5039 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5041 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5042 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5044 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5045 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5049 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5051 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5053 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5056 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5057 make result into a quiet NaN.
5059 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5061 * soft-fp/adddf3.c: Fix horizontal whitespace.
5062 * soft-fp/addsf3.c: Likewise.
5063 * soft-fp/addtf3.c: Likewise.
5064 * soft-fp/divdf3.c: Likewise.
5065 * soft-fp/divsf3.c: Likewise.
5066 * soft-fp/divtf3.c: Likewise.
5067 * soft-fp/double.h: Likewise.
5068 * soft-fp/eqdf2.c: Likewise.
5069 * soft-fp/eqsf2.c: Likewise.
5070 * soft-fp/eqtf2.c: Likewise.
5071 * soft-fp/extenddftf2.c: Likewise.
5072 * soft-fp/extended.h: Likewise.
5073 * soft-fp/extendsfdf2.c: Likewise.
5074 * soft-fp/extendsftf2.c: Likewise.
5075 * soft-fp/extendxftf2.c: Likewise.
5076 * soft-fp/fixdfdi.c: Likewise.
5077 * soft-fp/fixdfsi.c: Likewise.
5078 * soft-fp/fixdfti.c: Likewise.
5079 * soft-fp/fixsfdi.c: Likewise.
5080 * soft-fp/fixsfsi.c: Likewise.
5081 * soft-fp/fixsfti.c: Likewise.
5082 * soft-fp/fixtfdi.c: Likewise.
5083 * soft-fp/fixtfsi.c: Likewise.
5084 * soft-fp/fixtfti.c: Likewise.
5085 * soft-fp/fixunsdfdi.c: Likewise.
5086 * soft-fp/fixunsdfsi.c: Likewise.
5087 * soft-fp/fixunsdfti.c: Likewise.
5088 * soft-fp/fixunssfdi.c: Likewise.
5089 * soft-fp/fixunssfsi.c: Likewise.
5090 * soft-fp/fixunssfti.c: Likewise.
5091 * soft-fp/fixunstfdi.c: Likewise.
5092 * soft-fp/fixunstfsi.c: Likewise.
5093 * soft-fp/fixunstfti.c: Likewise.
5094 * soft-fp/floatdidf.c: Likewise.
5095 * soft-fp/floatdisf.c: Likewise.
5096 * soft-fp/floatditf.c: Likewise.
5097 * soft-fp/floatsidf.c: Likewise.
5098 * soft-fp/floatsisf.c: Likewise.
5099 * soft-fp/floatsitf.c: Likewise.
5100 * soft-fp/floattidf.c: Likewise.
5101 * soft-fp/floattisf.c: Likewise.
5102 * soft-fp/floattitf.c: Likewise.
5103 * soft-fp/floatundidf.c: Likewise.
5104 * soft-fp/floatundisf.c: Likewise.
5105 * soft-fp/floatunditf.c: Likewise.
5106 * soft-fp/floatunsidf.c: Likewise.
5107 * soft-fp/floatunsisf.c: Likewise.
5108 * soft-fp/floatunsitf.c: Likewise.
5109 * soft-fp/floatuntidf.c: Likewise.
5110 * soft-fp/floatuntisf.c: Likewise.
5111 * soft-fp/floatuntitf.c: Likewise.
5112 * soft-fp/fmadf4.c: Likewise.
5113 * soft-fp/fmasf4.c: Likewise.
5114 * soft-fp/fmatf4.c: Likewise.
5115 * soft-fp/gedf2.c: Likewise.
5116 * soft-fp/gesf2.c: Likewise.
5117 * soft-fp/getf2.c: Likewise.
5118 * soft-fp/ledf2.c: Likewise.
5119 * soft-fp/lesf2.c: Likewise.
5120 * soft-fp/letf2.c: Likewise.
5121 * soft-fp/muldf3.c: Likewise.
5122 * soft-fp/mulsf3.c: Likewise.
5123 * soft-fp/multf3.c: Likewise.
5124 * soft-fp/negdf2.c: Likewise.
5125 * soft-fp/negsf2.c: Likewise.
5126 * soft-fp/negtf2.c: Likewise.
5127 * soft-fp/op-1.h: Likewise.
5128 * soft-fp/op-2.h: Likewise.
5129 * soft-fp/op-4.h: Likewise.
5130 * soft-fp/op-8.h: Likewise.
5131 * soft-fp/op-common.h: Likewise.
5132 * soft-fp/quad.h: Likewise.
5133 * soft-fp/single.h: Likewise.
5134 * soft-fp/soft-fp.h: Likewise.
5135 * soft-fp/sqrtdf2.c: Likewise.
5136 * soft-fp/sqrtsf2.c: Likewise.
5137 * soft-fp/sqrttf2.c: Likewise.
5138 * soft-fp/subdf3.c: Likewise.
5139 * soft-fp/subsf3.c: Likewise.
5140 * soft-fp/subtf3.c: Likewise.
5141 * soft-fp/truncdfsf2.c: Likewise.
5142 * soft-fp/trunctfdf2.c: Likewise.
5143 * soft-fp/trunctfsf2.c: Likewise.
5144 * soft-fp/trunctfxf2.c: Likewise.
5145 * soft-fp/unorddf2.c: Likewise.
5146 * soft-fp/unordsf2.c: Likewise.
5147 * soft-fp/unordtf2.c: Likewise.
5149 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5151 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5152 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5154 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5156 * elf/dl-libc.c: Clear initfini list after freeing.
5158 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5160 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5161 * soft-fp/addsf3.c: Likewise.
5162 * soft-fp/addtf3.c: Likewise.
5163 * soft-fp/divdf3.c: Likewise.
5164 * soft-fp/divsf3.c: Likewise.
5165 * soft-fp/divtf3.c: Likewise.
5166 * soft-fp/double.h: Likewise.
5167 * soft-fp/eqdf2.c: Likewise.
5168 * soft-fp/eqsf2.c: Likewise.
5169 * soft-fp/eqtf2.c: Likewise.
5170 * soft-fp/extenddftf2.c: Likewise.
5171 * soft-fp/extended.h: Likewise.
5172 * soft-fp/extendsfdf2.c: Likewise.
5173 * soft-fp/extendsftf2.c: Likewise.
5174 * soft-fp/extendxftf2.c: Likewise.
5175 * soft-fp/fixdfdi.c: Likewise.
5176 * soft-fp/fixdfsi.c: Likewise.
5177 * soft-fp/fixdfti.c: Likewise.
5178 * soft-fp/fixsfdi.c: Likewise.
5179 * soft-fp/fixsfsi.c: Likewise.
5180 * soft-fp/fixsfti.c: Likewise.
5181 * soft-fp/fixtfdi.c: Likewise.
5182 * soft-fp/fixtfsi.c: Likewise.
5183 * soft-fp/fixtfti.c: Likewise.
5184 * soft-fp/fixunsdfdi.c: Likewise.
5185 * soft-fp/fixunsdfsi.c: Likewise.
5186 * soft-fp/fixunsdfti.c: Likewise.
5187 * soft-fp/fixunssfdi.c: Likewise.
5188 * soft-fp/fixunssfsi.c: Likewise.
5189 * soft-fp/fixunssfti.c: Likewise.
5190 * soft-fp/fixunstfdi.c: Likewise.
5191 * soft-fp/fixunstfsi.c: Likewise.
5192 * soft-fp/fixunstfti.c: Likewise.
5193 * soft-fp/floatdidf.c: Likewise.
5194 * soft-fp/floatdisf.c: Likewise.
5195 * soft-fp/floatditf.c: Likewise.
5196 * soft-fp/floatsidf.c: Likewise.
5197 * soft-fp/floatsisf.c: Likewise.
5198 * soft-fp/floatsitf.c: Likewise.
5199 * soft-fp/floattidf.c: Likewise.
5200 * soft-fp/floattisf.c: Likewise.
5201 * soft-fp/floattitf.c: Likewise.
5202 * soft-fp/floatundidf.c: Likewise.
5203 * soft-fp/floatundisf.c: Likewise.
5204 * soft-fp/floatunsidf.c: Likewise.
5205 * soft-fp/floatunsisf.c: Likewise.
5206 * soft-fp/floatuntidf.c: Likewise.
5207 * soft-fp/floatuntisf.c: Likewise.
5208 * soft-fp/floatuntitf.c: Likewise.
5209 * soft-fp/fmadf4.c: Likewise.
5210 * soft-fp/fmasf4.c: Likewise.
5211 * soft-fp/fmatf4.c: Likewise.
5212 * soft-fp/gedf2.c: Likewise.
5213 * soft-fp/gesf2.c: Likewise.
5214 * soft-fp/getf2.c: Likewise.
5215 * soft-fp/ledf2.c: Likewise.
5216 * soft-fp/lesf2.c: Likewise.
5217 * soft-fp/letf2.c: Likewise.
5218 * soft-fp/muldf3.c: Likewise.
5219 * soft-fp/mulsf3.c: Likewise.
5220 * soft-fp/multf3.c: Likewise.
5221 * soft-fp/negdf2.c: Likewise.
5222 * soft-fp/negsf2.c: Likewise.
5223 * soft-fp/negtf2.c: Likewise.
5224 * soft-fp/op-1.h: Likewise.
5225 * soft-fp/op-2.h: Likewise.
5226 * soft-fp/op-4.h: Likewise.
5227 * soft-fp/op-8.h: Likewise.
5228 * soft-fp/op-common.h: Likewise.
5229 * soft-fp/quad.h: Likewise.
5230 * soft-fp/single.h: Likewise.
5231 * soft-fp/soft-fp.h: Likewise.
5232 * soft-fp/sqrtdf2.c: Likewise.
5233 * soft-fp/sqrtsf2.c: Likewise.
5234 * soft-fp/sqrttf2.c: Likewise.
5235 * soft-fp/subdf3.c: Likewise.
5236 * soft-fp/subsf3.c: Likewise.
5237 * soft-fp/subtf3.c: Likewise.
5238 * soft-fp/truncdfsf2.c: Likewise.
5239 * soft-fp/trunctfdf2.c: Likewise.
5240 * soft-fp/trunctfsf2.c: Likewise.
5241 * soft-fp/trunctfxf2.c: Likewise.
5242 * soft-fp/unorddf2.c: Likewise.
5243 * soft-fp/unordsf2.c: Likewise.
5244 * soft-fp/unordtf2.c: Likewise.
5246 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5249 * misc/error.c (error_tail): Fix possible buffer overflow.
5251 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5254 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5257 2013-10-14 P. J. McDermott <pj@pehjota.net>
5260 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5261 testing pipefail option.
5263 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5265 * soft-fp/double.h: Indent preprocessor directives inside #if.
5266 * soft-fp/extended.h: Likewise.
5267 * soft-fp/op-2.h: Likewise.
5268 * soft-fp/op-4.h: Likewise.
5269 * soft-fp/op-common.h: Likewise.
5270 * soft-fp/quad.h: Likewise.
5271 * soft-fp/single.h: Likewise.
5272 * soft-fp/soft-fp.h: Likewise.
5274 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5276 * iconv/iconv_prog.c: Fix typos.
5277 * stdio-common/psiginfo-data.h: Likewise.
5279 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5282 * locale/setlocale.c: Fix typo.
5284 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5287 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5288 signaling NaN arguments.
5289 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5290 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5293 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5295 * soft-fp/gesf2.c (__gesf2): Likewise.
5296 * soft-fp/getf2.c (__getf2): Likewise.
5297 * soft-fp/ledf2.c (__ledf2): Likewise.
5298 * soft-fp/lesf2.c (__lesf2): Likewise.
5299 * soft-fp/letf2.c (__letf2): Likewise.
5301 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5302 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5303 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5304 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5305 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5306 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5307 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5308 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5309 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5310 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5311 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5312 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5313 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5314 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5315 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5316 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5317 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5318 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5319 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5320 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5321 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5322 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5323 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5324 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5325 * soft-fp/floattidf.c (__floattidf): Likewise.
5326 * soft-fp/floattisf.c (__floattisf): Likewise.
5327 * soft-fp/floattitf.c (__floattitf): Likewise.
5328 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5329 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5330 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5331 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5332 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5333 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5334 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5335 * soft-fp/gesf2.c (__gesf2): Likewise.
5336 * soft-fp/getf2.c (__getf2): Likewise.
5337 * soft-fp/ledf2.c (__ledf2): Likewise.
5338 * soft-fp/lesf2.c (__lesf2): Likewise.
5339 * soft-fp/letf2.c (__letf2): Likewise.
5341 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5342 Undefine and redefine.
5343 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5344 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5345 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5346 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5347 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5348 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5349 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5350 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5351 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5352 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5353 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5354 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5355 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5356 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5357 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5360 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5361 without decrementing exponent if mantissa >= that for the
5363 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5364 denominator, not >. Decrement exponent in < case instead of
5365 incrementing in >= case.
5366 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5367 without decrementing exponent if mantissa >= that for the
5370 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5371 computing saturated result for unsigned overflow.
5373 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5374 Jeff Law <law@redhat.com>
5376 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5377 (atan2Mp): Add systemtap probe marker.
5378 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5379 (__ieee754_log): Add systemtap probe marker.
5380 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5381 (atanMp): Add systemtap probe marker.
5382 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5383 (tanMp): Add systemtap probe marker.
5384 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5385 (__slowexp): Add systemtap probe marker.
5386 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5387 (__slowpow): Add systemtap probe marker.
5388 * manual/probes.texi: Document probes.
5390 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5393 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5395 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5397 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5398 written to buffer but not flushed.
5399 * libio/iofwrite_u.c: Likewise.
5400 * libio/iopadn.c: Return bytes returned even if EOF was
5402 * libio/iowpadn.c: Likewise.
5403 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5404 if _IO_padn does not write the whole buffer.
5405 [!COMPILE_WPRINTF] (PAD): Likewise.
5407 2013-10-10 David S. Miller <davem@davemloft.net>
5409 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5412 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5414 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5415 instead of FSF address.
5416 * soft-fp/fixdfti.c: Likewise.
5417 * soft-fp/fixsfti.c: Likewise.
5418 * soft-fp/fixtfti.c: Likewise.
5419 * soft-fp/fixunsdfti.c: Likewise.
5420 * soft-fp/fixunssfti.c: Likewise.
5421 * soft-fp/fixunstfti.c: Likewise.
5422 * soft-fp/floattidf.c: Likewise.
5423 * soft-fp/floattisf.c: Likewise.
5424 * soft-fp/floattitf.c: Likewise.
5425 * soft-fp/floatuntidf.c: Likewise.
5426 * soft-fp/floatuntisf.c: Likewise.
5427 * soft-fp/floatuntitf.c: Likewise.
5428 * soft-fp/trunctfxf2.c: Likewise.
5430 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5431 * soft-fp/fixdfti.c: Likewise.
5432 * soft-fp/fixsfti.c: Likewise.
5433 * soft-fp/fixtfti.c: Likewise.
5434 * soft-fp/fixunsdfti.c: Likewise.
5435 * soft-fp/fixunssfti.c: Likewise.
5436 * soft-fp/fixunstfti.c: Likewise.
5437 * soft-fp/floattidf.c: Likewise.
5438 * soft-fp/floattisf.c: Likewise.
5439 * soft-fp/floattitf.c: Likewise.
5440 * soft-fp/floatuntidf.c: Likewise.
5441 * soft-fp/floatuntisf.c: Likewise.
5442 * soft-fp/floatuntitf.c: Likewise.
5443 * soft-fp/trunctfxf2.c: Likewise.
5445 2013-10-10 David S. Miller <davem@davemloft.net>
5447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5449 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5451 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5452 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5453 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5454 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5455 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5456 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5457 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5460 for NaNs before doing comparisons on argument.
5461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5464 2013-10-10 Will Newton <will.newton@linaro.org>
5466 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5467 passed to _int_memalign does not overflow.
5469 2013-10-10 Torvald Riegel <triegel@redhat.com>
5471 * scripts/bench.pl: Add include-sources directive.
5472 * benchtests/README: Update documentation.
5474 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5476 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5477 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5478 instead of FP_INIT_ROUNDMODE.
5479 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5480 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5483 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5484 copy class of input value.
5485 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5486 not handle exceptions.
5487 * soft-fp/negsf2.c (__negsf2): Likewise.
5488 * soft-fp/negtf2.c (__negtf2): Likewise.
5489 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5491 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5493 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5494 semicolon. From Linux kernel.
5496 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5498 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5500 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5503 * manual/socket.texi: Added statement about buffer
5504 for gethostbyname2_r.
5506 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5508 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5509 Use .p2align directive instead, throughout.
5510 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5511 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5512 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5514 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5515 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5516 * sysdeps/x86_64/strchr.S: Likewise.
5517 * sysdeps/x86_64/strrchr.S: Likewise.
5519 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5521 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5523 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5525 * sysdeps/generic/math_private.h (__mpsin1): Remove
5527 (__mpcos1): Likewise.
5528 (__mpsin): New argument __range_reduce.
5529 (__mpcos): Likewise.
5530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5531 (slow): Use __mpsin and __mpcos.
5538 (bsloww1): Likewise.
5539 (bsloww2): Likewise.
5542 (csloww1): Likewise.
5543 (csloww2): Likewise.
5544 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5545 range_reduce. Merge in __mpsin1.
5546 (__mpcos): Likewise.
5548 (__mpcos1): Likewise.
5550 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5552 * locale/loadlocale.c (_nl_intern_locale_data): Use
5554 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5555 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5556 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5557 obstack data is appropriately aligned.
5558 (obstack_int32_grow_fast): Likewise.
5559 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5560 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5561 (add_locale_uint32_array): Likewise.
5563 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5565 * benchtests/Makefile: Remove ARGLIST and RET variables.
5566 ($(objpfx)bench-%.c): Pass only function name to the script.
5567 * benchtests/README: Update documentation.
5568 * benchtests/acos-inputs: Add new directives.
5569 * benchtests/acosh-inputs: Likewise.
5570 * benchtests/asin-inputs: Likewise.
5571 * benchtests/asinh-inputs: Likewise.
5572 * benchtests/atan-inputs: Likewise.
5573 * benchtests/atanh-inputs: Likewise.
5574 * benchtests/cos-inputs: Likewise.
5575 * benchtests/cosh-inputs: Likewise.
5576 * benchtests/exp-inputs: Likewise.
5577 * benchtests/log-inputs: Likewise.
5578 * benchtests/pow-inputs: Likewise.
5579 * benchtests/rint-inputs: Likewise.
5580 * benchtests/sin-inputs: Likewise.
5581 * benchtests/sinh-inputs: Likewise.
5582 * benchtests/tan-inputs: Likewise.
5583 * benchtests/tanh-inputs: Likewise.
5584 * scripts/bench.pl: Add support for new directives.
5586 2013-10-07 Alan Modra <amodra@gmail.com>
5588 * README: Fix careless merge.
5590 2013-10-05 Alan Modra <amodra@gmail.com>
5592 * NEWS: Mention powerpc64le support and bugs fixed.
5593 * README: Both big-endian and little-endian powerpc64 supported.
5595 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5597 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5598 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5599 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5600 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5602 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5604 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5607 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5609 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5610 Move -mhard-float appending from
5611 ports/sysdeps/powerpc/powerpc32/Makefile.
5612 [$(with-fp) = yes] (ASFLAGS): Likewise.
5613 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5614 * sysdeps/powerpc/nofpu: Move directory from
5615 ports/sysdeps/powerpc/nofpu.
5616 * sysdeps/powerpc/soft-fp: Move directory from
5617 ports/sysdeps/powerpc/soft-fp.
5618 * sysdeps/powerpc/powerpc32/405: Move directory from
5619 ports/sysdeps/powerpc/powerpc32/405.
5620 * sysdeps/powerpc/powerpc32/440: Move directory from
5621 ports/sysdeps/powerpc/powerpc32/440.
5622 * sysdeps/powerpc/powerpc32/464: Move directory from
5623 ports/sysdeps/powerpc/powerpc32/464.
5624 * sysdeps/powerpc/powerpc32/476: Move directory from
5625 ports/sysdeps/powerpc/powerpc32/476.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5627 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5629 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5631 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5633 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5635 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5636 * README: Update for powerpc-*-linux-gnu software floating point
5639 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5640 case to powerpc/powerpc32*.
5641 * sysdeps/unix/sysv/linux/configure: Regenerated.
5643 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5644 (_FPU_MASK_OM): Define as 0x04.
5645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5653 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5656 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5659 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5660 and setcontext_e500.
5662 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5664 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5666 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5668 * manual/threads.texi (Default Thread Attributes): Fix typo.
5670 2013-10-04 Will Newton <will.newton@linaro.org>
5672 * malloc/Makefile: Add tst-memalign.
5673 * malloc/tst-memalign.c: New file.
5675 * malloc/tst-posix_memalign.c: Add comments.
5676 (do_test): Add comments and call free on all potentially
5677 allocated pointers. Add space after cast.
5679 * malloc/tst-pvalloc.c: Add comments.
5680 (do_test): Add comments and call free on all potentially
5681 allocated pointers. Remove duplicate check for NULL pointer.
5682 Add space after cast.
5684 * malloc/tst-valloc.c: Add comments.
5685 (do_test): Add comments and call free on all potentially
5686 allocated pointers. Remove duplicate check for NULL pointer.
5687 Add space after cast.
5689 2013-10-04 Alan Modra <amodra@gmail.com>
5691 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5692 Use stdint types in rather than __attribute__((mode())).
5693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5695 2013-10-04 Alan Modra <amodra@gmail.com>
5697 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5698 Correct handling of unaligned relocs for little-endian.
5699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5701 2013-10-04 Alan Modra <amodra@gmail.com>
5703 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5704 * configure: Regenerate.
5705 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5706 * shlib-versions: Likewise.
5708 2013-10-04 Alan Modra <amodra@gmail.com>
5710 * string/tester.c (test_memrchr): Increment reported test cycle.
5712 2013-10-04 Alan Modra <amodra@gmail.com>
5714 * string/test-memcpy.c (do_one_test): When reporting errors, print
5715 string address and don't overrun end of string.
5717 2013-10-04 Alan Modra <amodra@gmail.com>
5719 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5720 insrdi. Make better use of reg selection to speed exit slightly.
5721 Schedule entry path a little better. Remove useless "are we done"
5722 checks on entry to main loop. Handle wrapping around zero address.
5723 Correct main loop count. Handle single left-over word from main
5724 loop inline rather than by using loop_small. Remove extra word
5725 case in loop_small caused by wrong loop count. Add little-endian
5727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5730 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5731 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5732 support. Avoid rlwimi.
5733 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5735 2013-10-04 Alan Modra <amodra@gmail.com>
5737 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5739 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5740 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5741 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5742 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5743 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5744 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5746 2013-10-04 Alan Modra <amodra@gmail.com>
5748 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5749 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5751 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5752 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5753 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5754 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5755 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5756 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5757 use of regs. Use power7 mtocrf. Tidy function tails.
5759 2013-10-04 Alan Modra <amodra@gmail.com>
5761 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5762 Formatting. Consistently use rXXX register defines or rN defines.
5763 Use early exit labels that avoid restoring unused non-volatile regs.
5764 Make cr field use more consistent with rWORDn compares. Rename
5765 regs used as shift registers for unaligned loop, using rN defines
5766 for short lifetime/multiple use regs.
5767 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5768 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5769 addi 1,1,64 to pop stack frame. Simplify return value code.
5770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5772 2013-10-04 Alan Modra <amodra@gmail.com>
5774 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5775 support. Correct typos, formatting. Optimize tail. Use insrdi
5777 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5778 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5779 little-endian support. Correct typos.
5780 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5782 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5783 in loop and entry code to keep "and." results.
5784 (strchr): Add little-endian support. Comment. Move cntlzd
5786 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5788 2013-10-04 Alan Modra <amodra@gmail.com>
5790 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5791 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5792 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5793 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5795 2013-10-04 Alan Modra <amodra@gmail.com>
5797 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5798 (rTMP): Define as r11.
5799 (strcmp): Add little-endian support. Optimise tail.
5800 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5801 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5802 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5803 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5804 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5805 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5806 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5808 2013-10-04 Alan Modra <amodra@gmail.com>
5810 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5811 little-endian support. Remove unnecessary "are we done" tests.
5812 Handle "s" wrapping around zero and extremely large "size".
5813 Correct main loop count. Handle single left-over word from main
5814 loop inline rather than by using small_loop. Correct comments.
5815 Delete "zero" tail, use "end_max" instead.
5816 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5818 2013-10-04 Alan Modra <amodra@gmail.com>
5820 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5821 support. Don't branch over align.
5822 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5823 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5824 support. Rearrange tmp reg use to suit. Comment.
5825 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5827 2013-10-04 Alan Modra <amodra@gmail.com>
5829 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5831 2013-10-04 Alan Modra <amodra@gmail.com>
5833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5834 conditional form of branch and link when obtaining pc.
5835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5837 2013-10-04 Alan Modra <amodra@gmail.com>
5839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5844 2013-10-04 Alan Modra <amodra@gmail.com>
5846 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5847 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5848 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5849 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5850 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5851 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5852 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5853 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5854 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5855 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5857 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5858 Alistair Popple <alistair@ozlabs.au.ibm.com>
5859 Alan Modra <amodra@gmail.com>
5862 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5863 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5864 _dl_hwcap access for little-endian.
5865 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5866 destroy vmx regs when saving unaligned.
5867 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5868 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5869 destroy vmx regs when saving unaligned.
5871 2013-10-04 Alan Modra <amodra@gmail.com>
5873 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5874 Don't use a union to pack hi/low value.
5876 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5878 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5880 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5882 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5883 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5884 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5886 2013-10-04 Alan Modra <amodra@gmail.com>
5888 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5889 constants to usual value for .cst8 section, and remove redundant
5891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5892 constant for 0x1p52. Load little-endian words of double from
5893 correct stack offsets.
5895 2013-10-04 Alan Modra <amodra@gmail.com>
5897 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5898 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5899 words of double from correct stack offsets.
5900 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5901 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5902 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5907 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5908 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5912 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5913 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5914 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5915 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5916 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5918 2013-10-04 Alan Modra <amodra@gmail.com>
5920 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5921 64-bit int/double union.
5922 (_FPU_SETCW): Likewise.
5923 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5924 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5926 2013-10-04 Alan Modra <amodra@gmail.com>
5928 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5929 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5931 2013-10-04 Alan Modra <amodra@gmail.com>
5933 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5934 use vector int constants.
5935 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5937 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5939 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5940 array with long long.
5941 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5942 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5943 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5944 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5945 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5946 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5947 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5948 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5949 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5950 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5951 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5952 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5953 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5955 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5957 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5958 (__signbit): Likewise. Correct for little-endian.
5959 (__signbitl): Call __signbit.
5960 (lrint): Correct for little-endian.
5961 (lrintf): Call lrint.
5963 2013-10-04 Alan Modra <amodra@gmail.com>
5965 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5966 union 32-bit int array member with 64-bit int array.
5967 (t515, tm256): Double rather than long double.
5968 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5970 2013-10-04 Alan Modra <amodra@gmail.com>
5972 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5974 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5976 version of math_ldbl.h.
5978 2013-10-04 Alan Modra <amodra@gmail.com>
5980 [BZ #15734], [BZ #15735]
5981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5982 all uses of ieee875 long double macros and unions. Simplify test
5983 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5984 ldbl_extract_mantissa value for ix,iy exponents. Properly
5985 normalize after ldbl_extract_mantissa, and don't add hidden bit
5986 already handled. Don't treat low word of ieee854 mantissa like
5987 low word of IBM long double and mask off bit when testing for
5989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5990 all uses of ieee875 long double macros and unions. Simplify tests
5991 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5992 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5993 two1022, instead use their values. Recognise that tests for large
5994 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5995 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5996 Rewrite all uses of ieee875 long double macros and unions. Simplify
5997 test for 0.0L and nan. Correct negation.
5998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5999 ieee875 long double macros and unions. Correct output for large
6000 magnitude x. Correct absolute value calculation.
6001 (__erfcl): Likewise.
6002 * math/libm-test.inc: Add tests for errors discovered in IBM long
6003 double versions of fmodl, remainderl, erfl and erfcl.
6005 2013-10-04 Alan Modra <amodra@gmail.com>
6007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6008 all uses of ieee854 long double macros and unions. Simplify tests
6009 for long doubles that are fully specified by the high double.
6010 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6012 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6013 Remove dead code too.
6014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6015 (__ieee754_ynl): Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6017 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6019 Remove dead code too.
6020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6030 Comment on variable precision.
6031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6034 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6038 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6040 2013-10-04 Alan Modra <amodra@gmail.com>
6042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6043 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6044 all uses of ieee854 long double macros and unions.
6045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6047 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6058 Simplify sign and nan test too.
6059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6062 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6064 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6065 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6068 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6069 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6074 2013-10-04 Alan Modra <amodra@gmail.com>
6076 * stdio-common/printf_size.c (__printf_size): Don't use
6077 union ieee854_long_double in fpnum union.
6078 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6079 signbit macro to retrieve sign from long double.
6080 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6081 retrieve sign from long double.
6082 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6083 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6084 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6085 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6086 * math/test-misc.c (main): Don't use union ieee854_long_double.
6088 2013-10-04 Alan Modra <amodra@gmail.com>
6091 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6092 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6093 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6094 calculation. Remove unnecessary test for denormal exponent.
6095 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6096 Correct handling of denormals. Avoid undefined shift behaviour.
6097 Correct normalisation of low mantissa when low double is denormal.
6098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6099 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6100 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6101 Correct normalisation of low mantissa. Test for overflow of high
6102 mantissa and normalise.
6103 (ldbl_nearbyint): Use more readable constant for two52.
6104 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6105 (__mpn_construct_long_double): Fix test for overflow of high
6106 mantissa and correct normalisation. Avoid undefined shift.
6108 2013-10-04 Alan Modra <amodra@gmail.com>
6110 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6111 (union ibm_extended_long_double): Define as an array of ieee754_double.
6112 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6113 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6114 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6115 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6124 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6126 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6127 page size instead of calling getpagesize.
6129 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6130 (LOCFILE_ALIGN_MASK): Likewise.
6131 (LOCFILE_ALIGN_UP): Likewise.
6132 (LOCFILE_ALIGNED_P): Likewise.
6133 * locale/programs/ld-collate.c (collate_output): Use the new
6134 macros instead of __alignof__ (int32_t).
6135 * locale/weight.h (findidx): Likewise.
6137 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6140 * manual/string.texi: Fix strncat and wcsncat.
6142 2013-10-03 Brooks Moses <bmoses@google.com>
6145 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6146 * Makerules: ...here, and adjust associated comments.
6148 2013-10-02 Will Newton <will.newton@linaro.org>
6150 * malloc/Makefile: Add tst-pvalloc.
6151 * malloc/tst-pvalloc.c: New file.
6153 2013-10-02 Will Newton <will.newton@linaro.org>
6155 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6156 improve test coverage.
6158 2013-10-02 Will Newton <will.newton@linaro.org>
6160 * malloc/Makefile: Add tst-posix_memalign.
6161 * malloc/tst-posix_memalign.c: New file.
6163 2013-10-01 Eric Blake <eblake@redhat.com>
6165 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6166 Use __THROWNL rather than __THROW on static functions.
6168 2013-09-30 Petr Machata <pmachata@redhat.com>
6170 * elf/elf.h (R_AARCH64_ABS16): New macro.
6171 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6172 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6173 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6174 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6175 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6176 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6177 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6178 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6179 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6180 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6181 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6182 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6183 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6184 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6185 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6186 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6187 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6188 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6189 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6190 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6191 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6192 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6193 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6194 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6195 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6196 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6197 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6198 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6199 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6200 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6201 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6202 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6203 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6204 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6205 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6206 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6207 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6208 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6209 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6210 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6211 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6212 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6213 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6214 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6215 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6216 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6217 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6218 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6219 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6220 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6221 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6222 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6223 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6224 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6225 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6226 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6227 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6228 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6229 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6230 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6231 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6232 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6233 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6234 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6235 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6236 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6237 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6238 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6239 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6240 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6241 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6242 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6243 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6244 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6245 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6246 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6247 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6248 (R_AARCH64_TLSDESC_LDR): Likewise.
6249 (R_AARCH64_TLSDESC_ADD): Likewise.
6250 (R_AARCH64_TLSDESC_CALL): Likewise.
6252 2013-09-30 Andreas Schwab <schwab@suse.de>
6255 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6256 the nss database lookup.
6257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6260 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6262 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6264 2013-09-28 P. J. McDermott <pj@pehjota.net>
6266 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6267 ${Bash-specific parameter/pattern/string} parameter expansion.
6268 * sysdeps/unix/make-syscalls.sh: Likewise.
6270 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6272 * sysdeps/sh/stackguard-macros.h: New file.
6274 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6278 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6279 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6280 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6281 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6283 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6286 Fix thread ID register.
6288 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6290 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6291 [POSIX || UNIX98]: Require rather than permitting all symbols from
6293 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6294 element of struct sched_param.
6295 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6296 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6297 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6298 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6301 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6303 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6304 argument calculation.
6306 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6308 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6310 [POSIX] (pthread_attr_t): Do not require type.
6311 [POSIX] (pthread_cond_t): Likewise.
6312 [POSIX] (pthread_condattr_t): Likewise.
6313 [POSIX] (pthread_key_t): Likewise.
6314 [POSIX] (pthread_mutex_t): Likewise.
6315 [POSIX] (pthread_mutexattr_t): Likewise.
6316 [POSIX] (pthread_once_t): Likewise.
6317 [POSIX] (pthread_t): Likewise.
6318 [POSIX-based standards] (pthread_atfork): Expect function.
6320 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6321 Richard Sandiford <richard@codesourcery.com>
6323 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6324 (swap_endianness_p): New extern variable.
6325 (set_big_endian): New inline function.
6326 (maybe_swap_uint32): Likewise.
6327 (maybe_swap_uint32_array): Likewise.
6328 (maybe_swap_uint32_obstack): Likewise.
6329 * locale/programs/locfile.c: Include <stdbool.h>.
6330 (swap_endianness_p): New variable.
6331 (add_locale_uint32): Call maybe_swap_uint32.
6332 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6333 (write_locale_data): Call maybe_swap_uint32_array.
6334 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6336 (obstack_int32_grow_fast): Likewise.
6337 (output_weightwc): Call maybe_swap_uint32_obstack.
6338 (collate_output): Likewise.
6339 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6340 (OPT_LITTLE_ENDIAN): Likewise.
6341 (options): Add --little-endian and --big-endian options.
6342 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6343 * locale/programs/locarchive.c: Include "locfile.h".
6347 (create_archive): Use the new macros to access fields of
6348 structures directly mapped from or written to locale archives.
6349 (oldlocrecentcmp): Likewise.
6350 (enlarge_archive): Likewise.
6351 (insert_name): Likewise.
6352 (add_alias): Likewise.
6353 (add_locale): Likewise.
6354 (delete_locales_from_archive): Likewise.
6355 (show_archive_content): Likewise.
6356 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6359 2013-09-24 Roland McGrath <roland@hack.frob.com>
6361 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6362 http://www.gnu.org/doc/freemanuals.texi.
6363 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6365 2013-09-24 Will Newton <will.newton@linaro.org>
6367 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6370 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6372 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6375 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6377 * manual/threads.texi (POSIX Threads): Fix a typo.
6379 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6382 * string/tst-strcoll-overflow.c: New test case.
6383 * string/Makefile (xtests): Add tst-strcoll-overflow.
6384 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6385 cache if string sizes may cause integer overflow.
6388 * string/strcoll_l.c (coll_seq): New members rule, idx,
6389 save_idx and back_us.
6390 (get_next_seq_nocache): New function.
6391 (do_compare_nocache): New function.
6392 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6395 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6398 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6399 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6400 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6403 * elf/Makefile (tests): Add tst-ptrguard1.
6404 (tests-static): Add tst-ptrguard1-static.
6405 (tst-ptrguard1-ARGS): Define.
6406 (tst-ptrguard1-static-ARGS): Define.
6407 * elf/tst-ptrguard1.c: New file.
6408 * elf/tst-ptrguard1-static.c: New file.
6409 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6410 * sysdeps/i386/stackguard-macros.h: Likewise.
6411 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6412 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6413 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6414 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6415 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6416 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6418 2013-09-23 Hector Marco <hecmargi@upv.es>
6419 Ismael Ripoll <iripoll@disca.upv.es>
6420 Carlos O'Donell <carlos@redhat.com>
6423 * sysdeps/generic/stackguard-macros.h: Define
6424 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6425 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6426 Define __pointer_chk_guard_local.
6427 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6428 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6430 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6433 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6435 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6437 * include/string.h (__ffs): Declare as hidden.
6438 * string/ffs.c (__ffs): Define as hidden.
6439 * sysdeps/i386/ffs.c (__ffs): Likewise.
6440 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6441 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6442 * sysdeps/s390/ffs.c (__ffs): Likewise.
6443 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6445 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6447 * NEWS: Mention malloc probes.
6449 * malloc/arena.c (new_heap): New memory_heap_new probe.
6450 (grow_heap): New memory_heap_more probe.
6451 (shrink_heap): New memory_heap_less probe.
6452 (heap_trim): New memory_heap_free probe.
6453 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6454 (systrim): New memory_sbrk_less probe.
6455 * manual/probes.texi: Document them.
6457 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6458 * manual/probes.texi: Document it.
6460 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6461 (__libc_realloc): Add memory_realloc_retry probe.
6462 (__libc_memalign): Add memory_memalign_retry probe.
6463 (__libc_valloc): Add memory_valloc_retry probe.
6464 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6465 (__libc_calloc): Add memory_calloc_retry probe.
6466 * manual/probes.texi: Document them.
6468 * malloc/arena.c (get_free_list): Add probe
6469 memory_arena_reuse_free_list.
6470 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6471 and memory_arena_reuse.
6472 (arena_get2) [!PER_THREAD]: Likewise.
6473 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6474 memory_arena_reuse_realloc.
6475 * manual/probes.texi: Document them.
6477 * malloc/malloc.c (__libc_free): Add
6478 memory_mallopt_free_dyn_thresholds probe.
6479 (__libc_mallopt): Add multiple memory_mallopt probes.
6480 * manual/probes.texi: Document them.
6482 * malloc/malloc.c: Include stap-probe.h.
6483 (__libc_mallopt): Add memory_mallopt probe.
6484 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6485 * manual/probes.texi: New.
6486 * manual/Makefile (chapters): Add probes.
6487 * manual/threads.texi: Set next node.
6489 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6492 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6493 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6494 Add `Chinese' to `nan' entry name.
6496 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6498 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6499 (POLYNOMIAL): Likewise.
6500 (TAYLOR_SINCOS): Likewise.
6501 (TAYLOR_SLOW): Likewise.
6502 (__sin): Use TAYLOR_SINCOS.
6504 (slow): Use TAYLOR_SLOW.
6509 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6511 * stdlib/strtod_l.c: Fix buffer overrun.
6513 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6515 * benchtests/Makefile (bench): Add sincos.
6516 * benchtests/bench-sincos.c: New file.
6518 * math/libm-test.inc (cos_test_data): New test inputs.
6519 (sin_test_data): Likewise.
6521 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6529 (bsloww1): Likewise.
6530 (bsloww2): Likewise.
6532 (csloww1): Likewise.
6533 (csloww2): Likewise.
6535 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6540 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6544 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6546 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6547 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6548 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6549 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6550 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6551 * elf/cache.c (print_entry): Handle the new cache flags.
6553 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6554 Aldy Hernandez <aldyh@redhat.com>
6556 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6557 Change condition to [_SOFT_FLOAT].
6558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6570 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6573 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6576 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6578 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6579 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6580 (__longjmp): Use LOAD_GP to load saved GPRs.
6581 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6582 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6583 (__sigsetjmp): Use SAVE_GP to save GPRs.
6585 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6586 Do not append -msoft-float.
6587 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6589 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6593 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6596 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6597 (_FPU_GETCW): Use initial "__" on variable and field names but not
6598 on macro parameter name.
6599 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6600 parentheses around reference to macro parameter.
6602 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6604 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6606 (ctype_startup): Use uint32_t in cast and sizeof for
6609 2013-09-11 Jia Liu <proljc@gmail.com>
6611 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6613 [__FreeBSD__]: Likewise.
6615 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6618 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6619 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6620 (strchr): Remove __strchr_sse42 ifunc selection.
6621 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6622 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6624 2013-09-11 Will Newton <will.newton@linaro.org>
6626 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6627 parameter to RES. Remove hardcoded 1000 value.
6628 * benchtests/bench-skeleton.c (main): Pass RES parameter
6629 to TIMING_INIT and multiply result by 1000.
6631 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6635 2013-09-11 Andreas Schwab <schwab@suse.de>
6637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6639 (O_TMPFILE) [__USE_GNU]: Define.
6640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6643 2013-09-11 Will Newton <will.newton@linaro.org>
6646 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6649 2013-09-11 Will Newton <will.newton@linaro.org>
6652 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6655 2013-09-11 Will Newton <will.newton@linaro.org>
6658 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6661 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6663 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6664 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6669 2013-09-10 Allan McRae <allan@archlinux.org>
6672 * manual/arith.texi (Parsing of Floats): Clarify
6676 * manual/install.texi (Running make install): Mention
6678 * INSTALL: Regenerated.
6680 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6682 * csu/init-first.c (_init): Remove the !SHARED condition around
6683 FPU control word initialization.
6684 * elf/dl-support.c (_dl_fpu_control): New variable.
6685 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6686 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6687 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6688 * math/test-fpucw-static.c: New file.
6689 * math/test-fpucw-ieee.c: New file.
6690 * math/test-fpucw-ieee-static.c: New file.
6691 * math/Makefile (tests): Add `test-fpucw-ieee' and
6693 (tests-static): New variable.
6694 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6696 [($(build-shared),yes)]
6697 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6699 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6702 2013-09-09 Allan McRae <allan@archlinux.org>
6705 * manual/string.texi (Collation Functions): Fix typo in
6707 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6710 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6713 * libio/memstream.c (open_memstream): Fix memory leak.
6714 * libio/wmemstream.c (open_wmemstream): Likewise.
6717 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6719 2013-09-09 Will Newton <will.newton@linaro.org>
6721 * malloc/Makefile: Add tst-realloc to tests.
6722 * malloc/tst-realloc.c: New file.
6724 2013-09-09 Allan McRae <allan@archlinux.org>
6727 * COPYING: Update from GNU website to fix FSF address.
6728 * COPYING.LIB: Likewise.
6730 2013-09-06 David S. Miller <davem@davemloft.net>
6732 * po/zh_TW.po: Update Chinese (traditional) translation from
6733 translation project.
6735 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6736 Joseph Myers <joseph@codesourcery.com>
6738 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6740 (obstack_chunk_alloc): New macro.
6741 (obstack_chunk_free): Likewise.
6742 (record_offset): New function.
6743 (init_locale_data): Likewise.
6744 (align_locale_data): Likewise.
6745 (add_locale_empty): Likewise.
6746 (add_locale_raw_data): Likewise.
6747 (add_locale_raw_obstack): Likewise.
6748 (add_locale_string): Likewise.
6749 (add_locale_wstring): Likewise.
6750 (add_locale_uint32): Likewise.
6751 (add_locale_uint32_array): Likewise.
6752 (add_locale_char): Likewise.
6753 (start_locale_structure): Likewise.
6754 (end_locale_structure): Likewise.
6755 (start_locale_prelude): Likewise.
6756 (end_locale_prelude): Likewise.
6757 (write_locale_data): Take locale_file structure rather than an
6759 * locale/programs/locfile.h: Include "obstack.h".
6760 (struct locale_file): Change to store locale file contents instead
6762 (init_locale_data): New prototype.
6763 (align_locale_data): Likewise.
6764 (add_locale_empty): Likewise.
6765 (add_locale_raw_data): Likewise.
6766 (add_locale_raw_obstack): Likewise.
6767 (add_locale_string): Likewise.
6768 (add_locale_wstring): Likewise.
6769 (add_locale_uint32): Likewise.
6770 (add_locale_uint32_array): Likewise.
6771 (add_locale_char): Likewise.
6772 (start_locale_structure): Likewise.
6773 (end_locale_structure): Likewise.
6774 (start_locale_prelude): Likewise.
6775 (end_locale_prelude): Likewise.
6776 (write_locale_data): Update prototype.
6777 * locale/programs/3level.h (struct TABLE): Remove result field.
6778 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6779 Use new locale_file interface.
6780 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6781 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6782 * locale/programs/ld-address.c (address_output): Use new
6783 locale_file interface.
6784 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6786 (collate_finish): Don't call collseq_table_finalize.
6787 (collate_output): Use new locale_file interface.
6788 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6790 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6791 (TABLE): Move defines earlier in file.
6792 (ELEMENT): Likewise.
6793 (DEFAULT): Likewise.
6794 (wctrans_table_add): Move macro and inline function earlier in
6796 (struct wctype_table): Move type earlier in file.
6797 (add_locale_wctype_table): New static prototype.
6798 (struct locale_ctype_t): Use logical types instead of struct iovec
6799 pointers for members.
6800 (ctype_output): Use new locale_file interface.
6801 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6802 new locale_file interface.
6803 (allocate_arrays): Update for use of new locale_file interface.
6804 * locale/programs/ld-identification.c (identification_output): Use
6805 new locale_file interface.
6806 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6807 * locale/programs/ld-messages.c (messages_output): Likewise.
6808 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6809 * locale/programs/ld-name.c (name_output): Likewise.
6810 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6811 * locale/programs/ld-paper.c (paper_output): Likewise.
6812 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6813 * locale/programs/ld-time.c (time_output): Likewise.
6815 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817 * benchtests/Makefile: Add memrchr benchmark.
6818 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6819 benchmark as memrchr.
6820 * benchtests/bench-memrchr-ifunc.c: New file.
6821 * benchtests/bench-memrchr.c: New file.
6823 2013-09-06 Will Newton <will.newton@linaro.org>
6825 * benchtests/Makefile (string-bench): Add memcpy.
6827 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6828 Cong Wang <amwang@redhat.com>
6831 * sysdeps/unix/sysv/linux/bits/in.h
6832 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6833 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6834 before __USE_KERNEL_IPV6_DEFS uses.
6835 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6837 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6838 sockaddr_in6, or ipv6_mreq.
6840 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6842 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6843 memory access for final bytes in some large inputs.
6844 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6846 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848 * string/test-memrchr.c: New file.
6849 * string/test-memrchr-ifunc.c: New file.
6850 * string/Makefile: Add new memrchr testcase.
6852 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6854 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6855 fanotify_init returns EPERM.
6857 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6859 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6861 (top level): Treat second token from macro or constant entries for
6862 allowed headers as allowed.
6863 * include/complex.h: Condition internal declarations on
6865 * include/fenv.h: Condition include of <stdbool.h> and internal
6866 declarations on [!_ISOMAC].
6868 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6871 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6873 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6875 * configure.in (--enable-versioning): Remove configure option.
6876 (libc_cv_asm_symver_directive): Remove configure test.
6877 (libc_cv_ld_version_script_option): Likewise.
6878 (VERSIONING): Remove variable and AC_SUBST.
6879 (DO_VERSIONING): Remove AC_DEFINE.
6880 * configure: Regenerated.
6881 * config.h.in (DO_VERSIONING): Remove macro.
6882 * Makerules [$(versioning) = yes]: Change conditionals to
6883 [$(build-shared) = yes].
6884 * config.make.in (versioning): Remove variable.
6885 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6886 [$(build-shared) = yes].
6887 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6888 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6889 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6890 [$(build-shared) = yes].
6891 * extra-lib.mk [$(versioning) = yes]: Likewise.
6892 * hurd/Makefile [$(versioning) = yes]: Likewise.
6893 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6895 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6897 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6898 [SHARED && !NO_HIDDEN].
6899 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6901 [SHARED && DO_VERSIONING]: Likewise..
6902 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6903 [$(build-shared) = yes].
6904 * manual/install.texi (--disable-versioning): Remove
6906 * INSTALL: Regenerated.
6907 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6909 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6910 [$(build-shared) = yes].
6911 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6912 * sysdeps/i386/i686/multiarch/strstr-c.c
6913 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6914 [SHARED && !NO_HIDDEN].
6915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6916 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6917 * sysdeps/powerpc/powerpc32/dl-machine.c
6918 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6919 * sysdeps/powerpc/powerpc32/sysdep.h
6920 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6921 to [SHARED && PIC && !NO_HIDDEN].
6922 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6923 conditional to [SHARED].
6925 2013-09-04 Will Newton <will.newton@linaro.org>
6927 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6928 * benchtests/bench-string.h: Include bench-timing.h instead
6929 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6930 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6931 call to HP_TIMING_DIFF_INIT.
6932 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6933 instead of hp-timing.h macros.
6934 * benchtests/bench-memchr.c: Likewise.
6935 * benchtests/bench-memcmp.c: Likewise.
6936 * benchtests/bench-memcpy.c: Likewise.
6937 * benchtests/bench-memmem.c: Likewise.
6938 * benchtests/bench-memmove.c: Likewise.
6939 * benchtests/bench-memset.c: Likewise.
6940 * benchtests/bench-rawmemchr.c: Likewise.
6941 * benchtests/bench-strcasecmp.c: Likewise.
6942 * benchtests/bench-strcasestr.c: Likewise.
6943 * benchtests/bench-strcat.c: Likewise.
6944 * benchtests/bench-strchr.c: Likewise.
6945 * benchtests/bench-strcmp.c: Likewise.
6946 * benchtests/bench-strcpy.c: Likewise.
6947 * benchtests/bench-strcpy_chk.c: Likewise.
6948 * benchtests/bench-strlen.c: Likewise.
6949 * benchtests/bench-strncasecmp.c: Likewise.
6950 * benchtests/bench-strncat.c: Likewise.
6951 * benchtests/bench-strncmp.c: Likewise.
6952 * benchtests/bench-strncpy.c: Likewise.
6953 * benchtests/bench-strnlen.c: Likewise.
6954 * benchtests/bench-strpbrk.c: Likewise.
6955 * benchtests/bench-strrchr.c: Likewise.
6956 * benchtests/bench-strspn.c: Likewise.
6957 * benchtests/bench-strstr.c: Likewise.
6959 2013-09-04 Will Newton <will.newton@linaro.org>
6961 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6963 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6966 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6967 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6968 * math/libm-test.inc (lgamma_test_data): Add more tests.
6969 * sysdeps/i386/fpu/libm-test-ulps: Update.
6970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6972 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6974 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6978 Add strcmp-sse2-unaligned
6979 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6981 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6983 * Versions.def (libc): Add GLIBC_2.19.
6985 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6987 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6988 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6990 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6994 intermediate calculations in recurrence.
6995 (__ieee754_ynf): Likewise.
6996 * math/libm-test.inc (jn_test_data): Do not allow spurious
6997 underflow exception. Add more tests.
6998 (yn_test_data): Add more tests.
6999 * sysdeps/i386/fpu/libm-test-ulps: Update.
7000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7002 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7004 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7006 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7008 * csu/init-first.c: Fix then/than typos.
7009 * locale/programs/ld-collate.c: Likewise.
7010 * locale/programs/linereader.h: Likewise.
7011 * manual/charset.texi: Likewise.
7012 * manual/filesys.texi: Likewise.
7013 * manual/stdio.texi: Likewise.
7014 * manual/string.texi: Likewise.
7015 * stdlib/fmtmsg.c: Likewise.
7016 * sysdeps/i386/stpncpy.S: Likewise.
7017 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7018 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7019 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7020 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7022 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7024 * elf/dl-open.c: Fix typos.
7025 * iconvdata/gbbig5.c: Likewise.
7026 * iconvdata/iso-2022-jp.c: Likewise.
7027 * iconv/gconv_int.h: Likewise.
7028 * iconv/loop.c: Likewise.
7029 * nis/rpcsvc/nis.h: Likewise.
7030 * resolv/ns_name.c: Likewise.
7031 * stdio-common/vfscanf.c: Likewise.
7032 * streams/stropts.h: Likewise.
7033 * sunrpc/rpc_thread.c: Likewise.
7034 * sysdeps/i386/strpbrk.S: Likewise.
7035 * sysdeps/ieee754/k_standard.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7038 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7039 * sysdeps/mach/hurd/profil.c: Likewise.
7040 * sysdeps/s390/dl-procinfo.h: Likewise.
7041 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7042 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7043 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7044 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7047 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7049 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7052 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7054 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7056 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7057 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7058 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7059 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7060 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7061 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7062 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7063 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7065 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7066 Roland McGrath <roland@hack.frob.com>
7068 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7069 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7071 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7073 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7074 __executable_start symbol instead of _start.
7076 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7078 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7079 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7081 * sysdeps/gnu/ldsodefs.h: ... this new file.
7083 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7084 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7085 instead of ELFOSABI_LINUX.
7087 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7088 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7089 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7090 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7092 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7093 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7096 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7097 (ibm_extended_long_double): Add ieee_nan member.
7098 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7099 (do_test): New function.
7101 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7103 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7104 functions, renamed from truncdfsf_test, trunctfsf_test,
7106 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7108 (do_test): Run all these.
7110 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7112 * argp/argp-help.c: Fix typos.
7113 * argp/argp-parse.c: Likewise.
7114 * debug/backtracesyms.c: Likewise.
7115 * elf/elf.h: Likewise.
7116 * malloc/malloc.c: Likewise.
7117 * nis/nis_print.c: Likewise.
7118 * resolv/res_comp.c: Likewise.
7119 * stdlib/stdlib.h: Likewise.
7120 * sunrpc/clnt_tcp.c: Likewise.
7121 * sunrpc/clnt_udp.c: Likewise.
7122 * sunrpc/clnt_unix.c: Likewise.
7123 * sysdeps/unix/bsd/ptsname.c: Likewise.
7124 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7125 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7132 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7134 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7136 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7139 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7142 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7143 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7144 ($(objpfx)bug-dl-leaf): New rule.
7145 ($(objpfx)bug-dl-leaf.so): Likewise.
7146 ($(objpfx)bug-dl-leaf.out): Likewise.
7147 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7148 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7149 * dlfcn/bug-dl-leaf.c: New test.
7150 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7151 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7152 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7153 (dlclose): Likewise.
7154 (dlmopen): Likewise.
7156 2013-08-27 Roland McGrath <roland@hack.frob.com>
7158 * include/netdb.h [!_ISOMAC]:
7159 Don't include <tls.h>.
7160 (h_errno, __libc_h_errno): Move declaration and macros out of
7163 * include/resolv.h [_RESOLV_H_]:
7164 Don't include <tls.h>.
7165 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7166 * resolv/res_libc.c: Don't include <tls.h>.
7167 (_res): Use __attribute__ ((nocommon)) in place of
7168 __attribute__ ((section (".bss"))).
7170 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7171 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7173 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7175 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7176 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7178 * resolv/res_mkquery.c: Include <sys/time.h>.
7180 * inet/ifreq.c: Moved to ...
7181 * sysdeps/unix/ifreq.c: ... here.
7182 * inet/ifreq.c: New file, true stub version.
7184 * socket/sa_len.c: New file.
7185 * socket/Makefile (aux): Add it.
7186 * sysdeps/unix/sysv/linux/Makefile
7187 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7188 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7189 and #include <socket/sa_len.c>.
7190 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7191 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7193 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7194 * bits/socket.h: ... here.
7196 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7197 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7198 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7200 2013-08-27 Andreas Schwab <schwab@suse.de>
7203 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7204 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7205 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7206 * string/test-strcasecmp.c (test_main): Run tests in several
7208 * string/test-strncasecmp.c (test_main): Likewise.
7210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7211 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7212 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7214 (__strncasecmp_ssse3) [PIC]: Likewise.
7216 2013-08-26 Roland McGrath <roland@hack.frob.com>
7218 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7220 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7221 instead of explicitly declaring xdecrypt.
7222 * nis/nss_nis/nis-publickey.c: Likewise.
7224 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7227 * nscd/aicache.c: Include res_hconf.h.
7228 (addhstaiX): Initialize res_hconf.
7230 2013-08-26 Andreas Schwab <schwab@suse.de>
7232 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7233 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7235 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7237 * nscd/aicache.c (addhstaiX): Fix indentation.
7239 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7241 * configure.ac: Quote $build_pt_chown test.
7242 * configure: Regenerated.
7244 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7247 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7248 * math/s_cexpf.c (__cexpf): Likewise.
7249 * math/s_cexpl.c (__cexpl): Likewise.
7250 * math/libm-test.inc (cexp_test_data): Correct expected return
7251 value for NaN + i0. Add another test.
7253 2013-08-22 David S. Miller <davem@davemloft.net>
7255 * po/ca.po: Update Catalan translation from translation project.
7256 * po/uk.po: Add Ukrainian translations from translation project.
7258 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7261 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7262 is infinite, not alongside NaN test.
7263 * math/s_fdimf.c (__fdimf): Likewise.
7264 * math/s_fdiml.c (__fdiml): Likewise.
7265 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7268 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7270 * argp/argp-help.c: Fix typos.
7271 * crypt/speeds.c: Likewise.
7272 * csu/check_fds.c: Likewise.
7273 * elf/dl-load.c: Likewise.
7274 * elf/dl-open.c: Likewise.
7275 * elf/reldep3.c: Likewise.
7276 * elf/reldep.c: Likewise.
7277 * elf/sprof.c: Likewise.
7278 * iconv/iconv_charmap.c: Likewise.
7279 * iconv/skeleton.c: Likewise.
7280 * iconv/strtab.c: Likewise.
7281 * io/lockf64.c: Likewise.
7282 * libio/libioP.h: Likewise.
7283 * resolv/gai_notify.c: Likewise.
7284 * resolv/ns_name.c: Likewise.
7285 * resolv/ns_samedomain.c: Likewise.
7286 * resolv/res_send.c: Likewise.
7287 * stdlib/random.c: Likewise.
7288 * sunrpc/rpc/xdr.h: Likewise.
7289 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7290 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7297 * sysdeps/mach/hurd/check_fds.c: Likewise.
7298 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7299 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7300 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7302 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7303 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7304 * sysdeps/pthread/aio_notify.c: Likewise.
7305 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7306 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7307 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7309 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7311 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7313 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7314 version if bit_Slow_SSE4_2 is set.
7315 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7318 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7321 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7322 trampoline stack frame information.
7323 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7325 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7326 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7327 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7328 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7329 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7330 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7332 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7333 interrupting a syscall and set with option SA_SIGINFO.
7335 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7338 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7339 argument is infinite.
7340 * math/s_cprojf.c (__cprojf): Likewise.
7341 * math/s_cprojl.c (__cprojl): Likewise.
7342 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7343 * math/libm-test.inc (cproj_test_data): Add more tests.
7345 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7347 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7348 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7349 size. Use __ffs to determine corresponding shift.
7351 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7352 Roland McGrath <roland@hack.frob.com>
7354 * Makefile (INSTALL): Remove trailing blank lines from output of
7357 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7359 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7360 Align 32 bit compat elf_greg to 8 bytes.
7362 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7364 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7366 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7368 * string/strcoll_l.c (coll_seq): New structure.
7369 (get_next_seq_cached): New function.
7370 (get_next_seq): New function.
7371 (do_compare): New function.
7372 (STRCOLL): Use GNU style definition. Simplify implementation
7373 by using get_next_seq, get_next_seq_cached and do_compare.
7375 2013-08-16 Florian Weimer <fweimer@redhat.com>
7379 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7381 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7383 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7384 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7385 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7387 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7388 GETDENTS_64BIT_ALIGNED.
7389 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7390 * manual/filesys.texi (Reading/Closing Directory): Document
7391 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7393 * manual/conf.texi (Limits for Files): Add portability note to
7395 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7397 2013-08-13 Andreas Schwab <schwab@suse.de>
7400 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7402 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7403 LDBL_MAX_EXP >= 16384]: Add tests for it.
7405 2013-08-12 David S. Miller <davem@davemloft.net>
7407 * version.h (RELEASE): Set to "development".
7408 (VERSION): Set to "2.18.90".
7409 * NEWS: Add 2.19 section.
7411 2013-08-03 David S. Miller <davem@davemloft.net>
7413 * po/ko.po: Update Korean translation from translation project.
7415 2013-08-01 David S. Miller <davem@davemloft.net>
7417 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7418 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7421 2013-07-30 David S. Miller <davem@davemloft.net>
7423 * po/fr.po: Update French translation from translation project.
7425 2013-07-28 David S. Miller <davem@davemloft.net>
7427 * po/cs.po: Update Czech translation from translation project.
7429 * po/sv.po: Update Swedish translation from translation project.
7431 2013-07-27 David S. Miller <davem@davemloft.net>
7433 * po/eo.po: Update Esperanto translation from translation project.
7435 * po/vi.po: Update Vietnamese translation from translation project.
7437 * po/de.po: Update German translation from translation project.
7439 2013-07-26 David S. Miller <davem@davemloft.net>
7441 * po/bg.po: Update Bulgarian translation from translation project.
7443 * po/nl.po: Update Dutch translation from translation project.
7444 * po/pl.po: Update Polish translation from translation project.
7445 * po/ru.po: Update Russian translation from translation project.
7447 2013-07-24 David S. Miller <davem@davemloft.net>
7449 * po/libc.pot: Update.
7451 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7453 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7455 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7456 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7459 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7461 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7463 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7464 Andreas Schwab <schwab@suse.de>
7465 Roland McGrath <roland@hack.frob.com>
7466 Joseph Myers <joseph@codesourcery.com>
7467 Carlos O'Donell <carlos@redhat.com>
7470 * config.h.in: Define HAVE_PT_CHOWN.
7471 * config.make.in (build-pt-chown): New variable.
7472 * configure.in (--enable-pt_chown): New configure option.
7473 * configure: Regenerate.
7474 * login/Makefile: Include Makeconfig. Build pt_chown only if
7475 build-pt-chown is enabled.
7476 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7477 pt_chown to fix pty ownership.
7478 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7480 * manual/install.texi (Configuring and compiling): Mention
7481 --enable-pt_chown. Add @findex for grantpt.
7482 * INSTALL: Regenerate.
7484 2013-07-20 David S. Miller <davem@davemloft.net>
7486 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7487 difference between 32-bit and 64-bit.
7489 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7492 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7493 Avoid system header dependency with -ffreestanding.
7494 ($(objpfx)bits/syscall%d): Likewise.
7496 2013-07-13 David S. Miller <davem@davemloft.net>
7498 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7499 underflows from atanl/atan2l due to bug 15319.
7500 (casinh_test_data): Likewise.
7502 2013-07-07 David S. Miller <davem@davemloft.net>
7504 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7506 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7508 * sysdeps/i386/fpu/libm-test-ulps: Update.
7509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7511 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7513 * configure.in (--enable-lock-elision): Fix message text.
7514 * INSTALL: Regenerate.
7515 * configure: Regenerate.
7517 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7521 2013-07-03 Andreas Jaeger <aj@suse.de>
7523 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7525 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7526 (ptrace_peeksiginfo_args): Add.
7527 (__ptrace_peeksiginfo_flags): Add.
7528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7532 2013-07-03 Allan McRae <allan@archlinux.org>
7534 * sysdeps/i386/fpu/libm-test-ulps: Update.
7536 2013-07-02 David S. Miller <davem@davemloft.net>
7538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7540 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7544 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7549 2013-07-02 Andi Kleen <ak@linux.intel.com>
7551 * config.h.in (ENABLE_LOCK_ELISION): Add.
7552 * configure.in (--enable-lock-elision): Add option.
7553 * manual/install.texi: Document --enable lock elision.
7554 * configure: Regenerate
7555 * INSTALL: Regenerate.
7557 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7559 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7560 SSE4.2 strcasecmp for libc.a.
7561 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7563 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7566 * soft-fp/op-common.h (_FP_FMA): New macro.
7567 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7568 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7569 (_FP_MUL_MEAT_1_imm): ... here.
7570 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7571 (_FP_MUL_MEAT_1_wide): ... here.
7572 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7573 (_FP_MUL_MEAT_1_hard): ... here.
7574 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7575 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7576 (_FP_MUL_MEAT_2_wide): ... here.
7577 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7578 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7579 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7580 (_FP_MUL_MEAT_2_gmp): ... here.
7581 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7582 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7583 (_FP_MUL_MEAT_4_wide): ... here.
7584 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7585 (_FP_MUL_MEAT_4_gmp): ... here.
7586 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7587 (_FP_WFRACBITS_DW_S): Likewise.
7588 (_FP_WFRACXBITS_DW_S): Likewise.
7589 (_FP_HIGHBIT_DW_S): Likewise.
7590 (FP_FMA_S): Likewise.
7591 (_FP_FRAC_HIGH_DW_S): Likewise.
7592 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7593 (_FP_WFRACBITS_DW_D): Likewise.
7594 (_FP_WFRACXBITS_DW_D): Likewise.
7595 (_FP_HIGHBIT_DW_D): Likewise.
7596 (FP_FMA_D): Likewise.
7597 (_FP_FRAC_HIGH_DW_D): Likewise.
7598 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7599 (_FP_WFRACBITS_DW_E): Likewise.
7600 (_FP_WFRACXBITS_DW_E): Likewise.
7601 (_FP_HIGHBIT_DW_E): Likewise.
7602 (FP_FMA_E): Likewise.
7603 (_FP_FRAC_HIGH_DW_E): Likewise.
7604 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7605 (_FP_WFRACBITS_DW_Q): Likewise.
7606 (_FP_WFRACXBITS_DW_Q): Likewise.
7607 (_FP_HIGHBIT_DW_Q): Likewise.
7608 (FP_FMA_Q): Likewise.
7609 (_FP_FRAC_HIGH_DW_Q): Likewise.
7610 * soft-fp/fmasf4.c: New file.
7611 * soft-fp/fmadf4.c: Likewise.
7612 * soft-fp/fmatf4.c: Likewise.
7614 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7617 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7621 (index_Slow_SSE4_2): Likewise.
7622 (index_Prefer_PMINUB_for_stringop): Likewise.
7623 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7624 bit_Slow_SSE4_2 is set.
7625 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7626 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7628 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7630 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7631 rtld_global._dl_hwcap2.
7632 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7634 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7635 POWER8 feature descriptions defined in _dl_hwcap2.
7636 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7637 string handling for POWER8 feature bits.
7638 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7639 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7640 _dl_powerpc_cap_flags.
7641 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7642 * sysdeps/powerpc/rtld-global-offsets.sym
7643 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7644 _dl_hwcap2 in the rtld_global_ro structure.
7646 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7648 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7649 hardware capabilities in support of AT_HWCAP2.
7650 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7651 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7653 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7654 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7655 explicitly the unknown a_type display mechanism is used.
7656 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7657 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7659 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7660 to macro prototype for AT_HWCAP2 support.
7661 * sysdeps/i386/dl-procinfo.h: Likewise.
7662 * sysdeps/s390/dl-procinfo.h: Likewise.
7663 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7664 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7665 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7666 return -1 for unknown a_type display fallback.
7667 * sysdeps/sparc/dl-procinfo.h: Likewise.
7668 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7669 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7671 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7673 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7674 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7676 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7679 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7680 mprotect making __stack_prot writable.
7682 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7683 Joseph Myers <joseph@codesourcery.com>
7685 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7686 as being properly aligned.
7688 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7690 * dlfcn/modstatic5.c: New file.
7691 * dlfcn/tststatic5.c: New file.
7692 * dlfcn/Makefile (tests): Add tststatic5.
7693 (tests-static): Likewise.
7694 (modules-names): Add modstatic5.
7695 (tststatic5-ENV): New variable.
7696 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7699 * elf/dl-support.c (_dl_main_map): New variable.
7700 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7701 (_dl_nns, _dl_load_adds): Set to 1.
7702 (_dl_initial_searchlist): Refer to _dl_main_map.
7703 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7704 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7705 call to _dl_get_origin.
7706 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7708 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7709 * dlfcn/modstatic3.c: New file.
7710 * dlfcn/tststatic3.c: New file.
7711 * dlfcn/tststatic4.c: New file.
7712 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7713 (tests-static): Likewise.
7714 (modules-names): Add modstatic3.
7715 (tststatic3-ENV, tststatic4-ENV): New variables.
7716 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7717 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7719 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7721 * configure.in (CC): Require GCC version 4.4 or later.
7722 * configure: Regenerated.
7723 * manual/install.texi (Tools for Compilation): Update GCC version
7725 * INSTALL: Regenerated.
7727 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7730 * string/test-memcmp.c (check2): New.
7731 (main): Call check2.
7733 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7735 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7738 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7740 (dl_open_worker) [!SHARED]: ... here.
7742 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7744 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7746 2013-06-25 Richard Henderson <rth@redhat.com>
7748 * locale/programs/locarchive.c: Include <libc-internal.h>
7750 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7752 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7753 trailing whitespace removed.
7755 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7758 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7759 * locale/programs/locarchive.c: Include libc-mmap.h.
7760 (prepare_address_space): Take two new outputs (the mmap base and len).
7761 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7763 (create_archive): Declare new mmap base and len values for
7764 prepare_address_space, and store the result in ah.
7765 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7766 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7767 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7768 Declare new mmap base and len values for
7769 prepare_address_space, and store the result in new_ah.
7770 (open_archive): Declare new mmap base and len values for
7771 prepare_address_space, and store the result in ah.
7772 (close_archive): If ah->mmap_base is not NULL, use that and
7773 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7774 * sysdeps/generic/libc-mmap.h: New file.
7776 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7778 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7779 (ALIGN_UP): Likewise.
7780 (PTR_ALIGN_DOWN): Likewise.
7781 (PTR_ALIGN_UP): Likewise.
7783 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7785 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7786 entry mapped to PPC_PLATFORM_POWER8.
7787 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7789 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7790 (_dl_string_platform): Add case for exporting platform position for
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7793 search path to sysdeps/powerpc/powerpc32/power8 directory.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7795 search path to sysdeps/powerpc/powerpc64/power8 directory.
7796 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7798 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7801 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7803 * INSTALL: Regenerate.
7805 * nscd/connections.c (nscd_init): Fix comment.
7807 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7809 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7812 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7813 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7815 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7817 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7819 (DL_DST_REQ_STATIC): Remove macro.
7821 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7824 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7825 with a shift of 0 bits.
7827 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7829 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7832 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7835 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7837 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7840 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7841 accepts -fno-tree-loop-distribute-patterns.
7842 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7843 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7845 * string/memset.c (memset): Likewise.
7846 * string/test-memmove.c (simple_memmove): Disable loop transformation
7848 * string/test-memset.c (simple_memset): Likewise.
7849 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7850 * benchtests/bench-memset.c (simple_memset): Likewise.
7851 * configure: Regenerated.
7853 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7855 * math/test-misc.c (main): Ignore fesetround failure when failures
7856 of subsequent rounding tests would be ignored.
7859 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7860 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7861 * math/fegetenv.c (__fegetenv): Return 0.
7862 * math/fegetexcept.c (fegetexcept): Return 0.
7863 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7865 * math/feholdexcpt.c (feholdexcept): Return 0.
7866 * math/fesetenv.c (__fesetenv): Return 0.
7867 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7868 argument FE_TONEAREST.
7869 * math/feupdateenv.c (__feupdateenv): Return 0.
7870 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7872 2013-06-18 Roland McGrath <roland@hack.frob.com>
7874 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7875 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7876 ($(objpfx)rtld-%.os rules): Use them.
7878 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7880 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7883 2013-06-17 Roland McGrath <roland@hack.frob.com>
7885 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7886 length of target pattern, then descending length of dependency pattern.
7887 * configure.in (AWK): Require gawk 3.1.2 or newer.
7888 * manual/install.texi (Tools for Compilation): Say that we do.
7889 * configure: Regenerated.
7891 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7892 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7893 * scripts/sysd-rules.awk: ... this new script.
7894 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7895 than a glob-style pattern.
7897 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7899 * math/test-misc.c (main): Do not treat incorrectly rounded
7900 conversions as failure unless ROUNDING_TESTS passes.
7902 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7905 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7906 restore exception state around main square root computation, then
7907 check for inexactness explicitly.
7909 * math/libm-test.inc (fma_test_data): Add another test.
7911 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7913 * manual/threads.texi (Non-POSIX Extensions): New document
7914 node. Document pthread_getattr_default_np and
7915 pthread_setattr_default_np.
7917 * Versions.def (libpthread): Add GLIBC_2.18.
7918 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7927 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7938 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7941 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7943 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7944 H.J. Lu <hjl.tools@gmail.com>
7947 * sysdeps/x86_64/rtld-memset.c: Remove file.
7948 * sysdeps/x86_64/rtld-memset.S: New file.
7950 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7952 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7953 (test_in_one_mode): Take arguments for whether the rounding mode
7954 is supported for each floating-point type.
7955 (do_test): Pass new arguments to test_in_one_mode using
7958 2013-06-13 Roland McGrath <roland@hack.frob.com>
7960 * posix/tst-waitid.c (do_test): Distinguish different instances of
7961 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7962 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7963 before entering the kernel for waitpid.
7965 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7967 * NEWS: Fix note on clock function precision. Text by Roland
7970 2013-06-13 Roland McGrath <roland@hack.frob.com>
7972 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7973 it into place only when and if the sanity check passes.
7975 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7977 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7978 output for whether conversion result is exact. Take argument
7979 indicating whether type is IBM long double.
7980 (round_for_all): Change need_exact field to ibm_ld.
7981 * stdlib/tst-strtod-round.c (struct exactness): New type.
7982 (struct test): Change bool ld_ok field to struct exactness exact.
7983 (TEST): Update all definitions for change to field.
7984 (tests): Regenerate array contents.
7985 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7986 field value. Check for IBM long double here.
7987 (do_test): Update calls to test_in_one_mode.
7989 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7992 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7993 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7995 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7998 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7999 generated by the compiler on loop optimizations.
8000 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8001 general definitions.
8003 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8005 * math/bug-nextafter.c: Include <math-tests.h>.
8006 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8008 * math/bug-nexttoward.c: Include <math-tests.h>.
8009 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8011 * math/test-misc.c: Include <math-tests.h>.
8012 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8015 2013-06-12 Andreas Jaeger <aj@suse.de>
8017 * po/ia.po: Update Interlingua translation from translation
8020 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8022 * include/fenv.h: Include stdbool.h.
8023 (struct rm_ctx): New structure.
8024 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8026 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8027 (SET_RESTORE_ROUNDF): Likewise.
8028 (SET_RESTORE_ROUNDL): Likewise.
8029 (SET_RESTORE_ROUND_NOEX): Likewise.
8030 (SET_RESTORE_ROUND_NOEXF): Likewise.
8031 (SET_RESTORE_ROUND_NOEXL): Likewise.
8032 (SET_RESTORE_ROUND_53BIT): Likewise.
8033 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8034 (libc_feresetround_noexf_ctx): Likewise.
8035 (libc_feresetround_noexl_ctx): Likewise.
8036 (libc_feholdsetround_53bit_ctx): Likewise.
8037 (libc_feresetround_53bit_ctx): Likewise.
8038 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8039 (libc_feholdexcept_setround_sse_ctx): New function.
8040 (libc_fesetenv_sse_ctx): Likewise.
8041 (libc_feupdateenv_sse_ctx): Likewise.
8042 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8043 (libc_feholdexcept_setround_387_ctx): Likewise.
8044 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8045 (libc_feholdsetround_387_prec_ctx): Likewise.
8046 (libc_feholdsetround_387_ctx): Likewise.
8047 (libc_feholdsetround_387_53bit_ctx): Likewise.
8048 (libc_feholdsetround_sse_ctx): Likewise.
8049 (libc_feresetround_sse_ctx): Likewise.
8050 (libc_feresetround_387_ctx): Likewise.
8051 (libc_feupdateenv_387_ctx): Likewise.
8052 (libc_feholdexcept_setroundf_ctx): Define macro.
8053 (libc_fesetenvf_ctx): Likewise.
8054 (libc_feupdateenvf_ctx): Likewise.
8055 (libc_feholdsetroundf_ctx): Likewise.
8056 (libc_feresetroundf_ctx): Likewise.
8057 (libc_feholdexcept_setround_ctx): Likewise.
8058 (libc_fesetenv_ctx): Likewise.
8059 (libc_feupdateenv_ctx): Likewise.
8060 (libc_feholdsetround_ctx): Likewise.
8061 (libc_feresetround_ctx): Likewise.
8062 (libc_feholdexcept_setroundl_ctx): Likewise.
8063 (libc_feupdateenvl_ctx): Likewise.
8064 (libc_feholdsetroundl_ctx): Likewise.
8065 (libc_feresetroundl_ctx): Likewise.
8066 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8067 (libc_feresetround_53bit_ctx): Likewise.
8069 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8071 * locale/iso-639.def: Convert to UTF-8.
8073 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8076 (EXCEPTION_TESTS_double): Likewise.
8077 (EXCEPTION_TESTS_long_double): Likewise.
8078 (EXCEPTION_TESTS): Likewise.
8079 * math/libm-test.inc (test_exceptions): Only test exceptions if
8080 EXCEPTION_TESTS (FLOAT).
8082 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8084 * benchtests/Makefile (string-bench): Add strcpy_chk and
8086 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8087 * benchtests/bench-stpcpy_chk.c: New file.
8088 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8089 * benchtests/bench-strcpy_chk.c: New file.
8090 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8092 (do_test): Likewise.
8094 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8096 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8097 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8098 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8099 with tabs where appropriate.
8100 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8102 [PPC_PLATFORM_PPC440]: Likewise.
8103 [PPC_PLATFORM_PPC464]: Likewise.
8104 [PPC_PLATFORM_PPC476]: Likewise.
8105 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8106 ppc464, and ppc476 platform strings merging from ports/
8109 2013-06-11 Andreas Schwab <schwab@suse.de>
8112 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8113 (from_ucs4_idx): Regenerate.
8114 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8115 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8116 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8117 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8118 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8119 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8120 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8121 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8122 from FROM_LOOP and TO_LOOP specific macros.
8123 (BODY): Handle combining characters.
8124 * iconvdata/BIG5HKSCS.irreversible: Update.
8125 * iconvdata/BIG5HKSCS.precomposed: New file.
8126 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8128 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8130 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8132 * include/sys/time.h: Fix indentation and add copyright header.
8134 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8135 (do_test): Likewise.
8136 * string/test-memchr.c (do_one_test): Likewise.
8137 (do_test): Likewise.
8138 * string/test-memcmp.c (do_one_test): Likewise.
8139 (do_test): Likewise.
8140 * string/test-memcpy.c (do_one_test): Likewise.
8141 (do_test): Likewise.
8142 * string/test-memmem.c (do_one_test): Likewise.
8143 (do_test): Likewise.
8144 (do_random_tests): Likewise.
8145 * string/test-memmove.c (do_one_test): Likewise.
8146 (do_test): Likewise.
8147 * string/test-memset.c (do_one_test): Likewise.
8148 (do_test): Likewise.
8149 * string/test-rawmemchr.c (do_one_test): Likewise.
8150 (do_test): Likewise.
8151 * string/test-strcasecmp.c (do_one_test): Likewise.
8152 (do_test): Likewise.
8153 * string/test-strcasestr.c (do_one_test): Likewise.
8154 (do_test): Likewise.
8155 * string/test-strcat.c (do_one_test): Likewise.
8156 (do_test): Likewise.
8157 * string/test-strchr.c (do_one_test): Likewise.
8158 (do_test): Likewise.
8159 * string/test-strcmp.c (do_one_test): Likewise.
8160 (do_test): Likewise.
8161 * string/test-strcpy.c (do_one_test): Likewise.
8162 (do_test): Likewise.
8163 * string/test-string.h: Likewise.
8164 (test_init): Likewise.
8165 * string/test-strlen.c (do_one_test): Likewise.
8166 (do_test): Likewise.
8167 * string/test-strncasecmp.c (do_one_test): Likewise.
8168 (do_test): Likewise.
8169 * string/test-strncat.c (do_one_test): Likewise.
8170 (do_test): Likewise.
8171 * string/test-strncmp.c (do_one_test): Likewise.
8172 (do_test_limit): Likewise.
8173 (do_test): Likewise.
8174 * string/test-strncpy.c (do_one_test): Likewise.
8175 (do_test): Likewise.
8176 * string/test-strnlen.c (do_one_test): Likewise.
8177 (do_test): Likewise.
8178 * string/test-strpbrk.c (do_one_test): Likewise.
8179 (do_test): Likewise.
8180 * string/test-strrchr.c (do_one_test): Likewise.
8181 (do_test): Likewise.
8182 * string/test-strspn.c (do_one_test): Likewise.
8183 (do_test): Likewise.
8184 * string/test-strstr.c (do_one_test): Likewise.
8185 (do_test): Likewise.
8187 * benchtests/Makefile (string-bench): Add string benchmarks.
8188 * benchtests/bench-bcopy-ifunc.c: New file.
8189 * benchtests/bench-bcopy.c: New file.
8190 * benchtests/bench-bzero-ifunc.c: New file.
8191 * benchtests/bench-bzero.c: New file.
8192 * benchtests/bench-memccpy-ifunc.c: New file.
8193 * benchtests/bench-memccpy.c: New file.
8194 * benchtests/bench-memchr-ifunc.c: New file.
8195 * benchtests/bench-memchr.c: New file.
8196 * benchtests/bench-memcmp-ifunc.c: New file.
8197 * benchtests/bench-memcmp.c: New file.
8198 * benchtests/bench-memmem-ifunc.c: New file.
8199 * benchtests/bench-memmem.c: New file.
8200 * benchtests/bench-memmove-ifunc.c: New file.
8201 * benchtests/bench-memmove.c: New file.
8202 * benchtests/bench-mempcpy-ifunc.c: New file.
8203 * benchtests/bench-mempcpy.c: New file.
8204 * benchtests/bench-memset-ifunc.c: New file.
8205 * benchtests/bench-memset.c: New file.
8206 * benchtests/bench-rawmemchr-ifunc.c: New file.
8207 * benchtests/bench-rawmemchr.c: New file.
8208 * benchtests/bench-stpcpy-ifunc.c: New file.
8209 * benchtests/bench-stpcpy.c: New file.
8210 * benchtests/bench-stpncpy-ifunc.c: New file.
8211 * benchtests/bench-stpncpy.c: New file.
8212 * benchtests/bench-strcasecmp-ifunc.c: New file.
8213 * benchtests/bench-strcasecmp.c: New file.
8214 * benchtests/bench-strcasestr-ifunc.c: New file.
8215 * benchtests/bench-strcasestr.c: New file.
8216 * benchtests/bench-strcat-ifunc.c: New file.
8217 * benchtests/bench-strcat.c: New file.
8218 * benchtests/bench-strchr-ifunc.c: New file.
8219 * benchtests/bench-strchr.c: New file.
8220 * benchtests/bench-strchrnul-ifunc.c: New file.
8221 * benchtests/bench-strchrnul.c: New file.
8222 * benchtests/bench-strcmp-ifunc.c: New file.
8223 * benchtests/bench-strcmp.c: New file.
8224 * benchtests/bench-strcpy-ifunc.c: New file.
8225 * benchtests/bench-strcpy.c: New file.
8226 * benchtests/bench-strcspn-ifunc.c: New file.
8227 * benchtests/bench-strcspn.c: New file.
8228 * benchtests/bench-strlen-ifunc.c: New file.
8229 * benchtests/bench-strlen.c: New file.
8230 * benchtests/bench-strncasecmp-ifunc.c: New file.
8231 * benchtests/bench-strncasecmp.c: New file.
8232 * benchtests/bench-strncat-ifunc.c: New file.
8233 * benchtests/bench-strncat.c: New file.
8234 * benchtests/bench-strncmp-ifunc.c: New file.
8235 * benchtests/bench-strncmp.c: New file.
8236 * benchtests/bench-strncpy-ifunc.c: New file.
8237 * benchtests/bench-strncpy.c: New file.
8238 * benchtests/bench-strnlen-ifunc.c: New file.
8239 * benchtests/bench-strnlen.c: New file.
8240 * benchtests/bench-strpbrk-ifunc.c: New file.
8241 * benchtests/bench-strpbrk.c: New file.
8242 * benchtests/bench-strrchr-ifunc.c: New file.
8243 * benchtests/bench-strrchr.c: New file.
8244 * benchtests/bench-strspn-ifunc.c: New file.
8245 * benchtests/bench-strspn.c: New file.
8246 * benchtests/bench-strstr-ifunc.c: New file.
8247 * benchtests/bench-strstr.c: New file.
8249 * benchtests/Makefile: Disable parallel execution of targets.
8250 (string-bench): Add memcpy.
8251 (benchset): New variable to store a list of benchmark sets.
8252 (bench-func): Renamed from bench.
8253 (bench-set): New target.
8254 (bench): Depend on bench-func and bench-set.
8255 * benchtests/README: Add section on benchmark sets.
8256 * benchtests/bench-memcpy-ifunc.c: New file.
8257 * benchtests/bench-memcpy.c: New file.
8258 * benchtests/bench-string.h: New file.
8260 2013-06-11 Andreas Schwab <schwab@suse.de>
8263 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8264 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8265 values in the triple.
8266 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8267 terminator in the group key.
8269 2013-06-11 Andreas Jaeger <aj@suse.de>
8271 * po/zh_TW.po: Update Chinese (traditional) translation from
8272 translation project.
8274 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8276 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8277 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8278 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8279 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8280 (clock_getcpuclockid): Likewise.
8281 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8282 Add weak_alias and libc_hidden_def.
8283 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8284 * rt/clock_gettime.c (clock_gettime): Rename to
8285 __clock_gettime. Add weak_alias and libc_hidden_def.
8286 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8287 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8288 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8289 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8290 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8292 * rt/clock_settime.c (clock_settime): Rename to
8293 __clock_settime. Add weak_alias and libc_hidden_def.
8294 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8296 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8298 * mach/err_boot.sub: Remove trailing whitespace.
8299 * mach/err_ipc.sub: Likewise.
8300 * mach/err_mach.sub: Likewise.
8302 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8303 (ROUNDING_TESTS_double): Likewise.
8304 (ROUNDING_TESTS_long_double): Likewise.
8305 (ROUNDING_TESTS): Likewise.
8306 * math/libm-test.inc: Include <math-tests.h>.
8307 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8308 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8309 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8310 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8312 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8314 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8317 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8319 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8320 otherwise empty TRANS lines.
8321 * sysdeps/gnu/errlist.c: Regenerated.
8323 * catgets/gencat.c (error_print): Use (void) in function
8325 * crypt/crypt_util.c (__init_des): Likewise.
8326 * crypt/speeds.c (Stop): Likewise.
8328 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8329 * inet/ruserpass.c (token): Likewise.
8330 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8331 * intl/localealias.c (extend_alias_table): Likewise.
8332 * intl/plural-exp.c (init_germanic_plural): Likewise.
8333 * libio/fcloseall.c (__fcloseall): Likewise.
8334 * libio/genops.c (_IO_flush_all): Likewise.
8335 (_IO_flush_all_linebuffered): Likewise.
8336 (_IO_cleanup): Likewise.
8337 (_IO_iter_begin): Likewise.
8338 (_IO_iter_end): Likewise.
8339 (_IO_list_lock): Likewise.
8340 (_IO_list_unlock): Likewise.
8341 (_IO_list_resetlock): Likewise.
8342 * libio/getchar.c (getchar): Likewise.
8343 * libio/getchar_u.c (getchar_unlocked): Likewise.
8344 * libio/getwchar.c (getwchar): Likewise.
8345 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8346 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8347 * login/getpt.c (__getpt): Likewise.
8348 * login/tst-utmp.c (main): Likewise.
8349 * malloc/hooks.c (__malloc_check_init): Likewise.
8350 * malloc/malloc.c (__malloc_stats): Likewise.
8351 * malloc/mtrace.c (tr_break): Likewise.
8353 (muntrace): Likewise.
8354 * misc/fstab.c (endfsent): Likewise.
8355 * misc/getclktck.c (__getclktck): Likewise.
8356 * misc/getdtsz.c (__getdtablesize): Likewise.
8357 * misc/gethostid.c (gethostid): Likewise.
8358 * misc/getpagesize.c (__getpagesize): Likewise.
8359 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8360 (__get_nprocs): Likewise.
8361 (__get_phys_pages): Likewise.
8362 (__get_avphys_pages): Likewise.
8363 * misc/getttyent.c (getttyent): Likewise.
8364 (setttyent): Likewise.
8365 (endttyent): Likewise.
8366 * misc/getusershell.c (getusershell): Likewise.
8367 (endusershell): Likewise.
8368 (setusershell): Likewise.
8369 (initshells): Likewise.
8370 * misc/hsearch.c (__hdestroy): Likewise.
8371 * misc/sync.c (sync): Likewise.
8372 * misc/syslog.c (closelog_internal): Likewise.
8373 (closelog): Likewise.
8374 * misc/ttyslot.c (ttyslot): Likewise.
8375 * misc/vhangup.c (vhangup): Likewise.
8376 * posix/fork.c (__fork): Likewise.
8377 * posix/getegid.c (__getegid): Likewise.
8378 * posix/geteuid.c (__geteuid): Likewise.
8379 * posix/getgid.c (__getgid): Likewise.
8380 * posix/getpid.c (__getpid): Likewise.
8381 * posix/getppid.c (__getppid): Likewise.
8382 * posix/getuid.c (__getuid): Likewise.
8383 * posix/pause.c (pause): Likewise.
8384 * posix/setpgrp.c (setpgrp): Likewise.
8385 * posix/setsid.c (__setsid): Likewise.
8386 * posix/test-vfork.c (noop): Likewise.
8387 * resolv/gethnamaddr.c (_endhtent): Likewise.
8388 (_gethtent): Likewise.
8389 (ht_endhostent): Likewise.
8390 (gethostent): Likewise.
8391 (dns_service): Likewise.
8392 * stdlib/drand48.c (drand48): Likewise.
8393 * stdlib/lrand48.c (lrand48): Likewise.
8394 * stdlib/mrand48.c (mrand48): Likewise.
8395 * stdlib/rand.c (rand): Likewise.
8396 * stdlib/random.c (__random): Likewise.
8397 * stdlib/setenv.c (clearenv): Likewise.
8398 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8399 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8400 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8401 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8402 (__get_nprocs): Likewise.
8403 (__get_phys_pages): Likewise.
8404 (__get_avphys_pages): Likewise.
8405 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8406 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8407 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8408 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8409 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8410 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8411 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8412 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8413 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8414 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8415 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8416 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8417 * sysdeps/posix/clock.c (clock): Likewise.
8418 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8419 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8420 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8421 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8422 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8423 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8424 (__get_nprocs_conf): Likewise.
8425 (__get_phys_pages): Likewise.
8426 (__get_avphys_pages): Likewise.
8427 * time/clock.c (clock): Likewise.
8428 * time/tzset.c (__tzname_max): Likewise.
8430 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8432 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8433 (__bswap_32): Do not use "register".
8434 * crypt/crypt.c (_ufc_doit_r): Likewise.
8435 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8436 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8437 * gmon/gmon.c (__monstartup): Likewise.
8438 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8439 * hurd/hurdmalloc.c (more_memory): Likewise.
8442 (realloc): Likewise.
8443 (malloc_fork_prepare): Likewise.
8444 (malloc_fork_parent): Likewise.
8445 (malloc_fork_child): Likewise.
8446 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8447 (_svcauth_des): Likewise.
8448 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8449 * inet/inet_net.c (inet_network): Likewise.
8450 * inet/inet_netof.c (inet_netof): Likewise.
8451 * inet/rcmd.c (__validuser2_sa): Likewise.
8452 * io/fts.c (fts_open): Likewise.
8453 (fts_load): Likewise.
8454 (fts_close): Likewise.
8455 (fts_read): Likewise.
8456 (fts_children): Likewise.
8457 (fts_build): Likewise.
8458 (fts_stat): Likewise.
8459 (fts_sort): Likewise.
8460 (fts_alloc): Likewise.
8461 (fts_lfree): Likewise.
8462 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8463 (_IO_file_xsgetn): Likewise.
8464 (_IO_file_xsgetn_mmap): Likewise.
8465 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8466 (_IO_cookie_write): Likewise.
8467 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8468 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8469 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8470 * malloc/obstack.c (_obstack_begin): Likewise.
8471 (_obstack_begin_1): Likewise.
8472 (_obstack_newchunk): Likewise.
8473 (_obstack_allocated_p): Likewise.
8474 (obstack_free): Likewise.
8475 (_obstack_memory_used): Likewise.
8476 * misc/getttyent.c (getttynam): Likewise.
8477 (getttyent): Likewise.
8480 * misc/getusershell.c (initshells): Likewise.
8481 * misc/syslog.c (__vsyslog_chk): Likewise.
8482 * misc/ttyslot.c (ttyslot): Likewise.
8483 * nis/nis_hash.c (__nis_hash): Likewise.
8484 * posix/fnmatch_loop.c (FCT): Likewise.
8485 * posix/getconf.c (print_all): Likewise.
8487 * posix/getopt.c (exchange): Likewise.
8488 * posix/glob.c (globfree): Likewise.
8489 (prefix_array): Likewise.
8490 (__glob_pattern_type): Likewise.
8491 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8492 (NS_GET32): Likewise.
8493 (NS_PUT16): Likewise.
8494 (NS_PUT32): Likewise.
8495 * resolv/gethnamaddr.c (getanswer): Likewise.
8496 (gethostbyname2): Likewise.
8497 (gethostbyaddr): Likewise.
8498 (_gethtent): Likewise.
8499 (_gethtbyname2): Likewise.
8500 (_gethtbyaddr): Likewise.
8501 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8502 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8503 * resolv/res_init.c (__res_vinit): Likewise.
8504 (net_mask): Likewise.
8505 * resolv/res_mkquery.c (outchar): Likewise.
8507 * stdio-common/printf_fp.c (outchar): Likewise.
8509 * stdio-common/printf_fphex.c (outchar): Likewise.
8511 * stdio-common/printf_size.c (outchar): Likewise.
8513 * stdio-common/test_rdwr.c (main): Likewise.
8514 * stdio-common/tfformat.c (matches): Likewise.
8515 * stdio-common/vfprintf.c (outchar): Likewise.
8516 (printf_unknown): Likewise.
8517 (buffered_vfprintf): Likewise.
8518 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8519 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8520 (ReadFile): Likewise.
8521 * stdlib/qsort.c (SWAP): Likewise.
8522 (_quicksort): Likewise.
8523 * stdlib/setenv.c (__add_to_environ): Likewise.
8524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8525 * stdlib/strtol_l.c (__strtol_l): Likewise.
8526 * stdlib/tst-strtod.c (main): Likewise.
8527 * stdlib/tst-strtol.c (main): Likewise.
8528 * stdlib/tst-strtoll.c (main): Likewise.
8529 * string/bits/string2.h (__strcmp_cc): Likewise.
8530 (__strcmp_cg): Likewise.
8531 (__strcspn_c1): Likewise.
8532 (__strcspn_c2): Likewise.
8533 (__strcspn_c3): Likewise.
8534 (__strspn_c1): Likewise.
8535 (__strspn_c2): Likewise.
8536 (__strspn_c3): Likewise.
8537 (__strsep_1c): Likewise.
8538 (__strsep_2c): Likewise.
8539 (__strsep_3c): Likewise.
8540 * string/memccpy.c (__memccpy): Likewise.
8541 * string/stpcpy.c (__stpcpy): Likewise.
8542 * string/strcmp.c (strcmp): Likewise.
8543 * string/strrchr.c (strrchr): Likewise.
8544 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8546 * sysdeps/mach/hurd/getcwd.c
8547 (_hurd_canonicalize_directory_name_internal): Likewise.
8548 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8549 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8550 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8551 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8552 Likewise, in both definitions.
8553 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8555 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8556 64] (__bswap_64): Likewise.
8557 * time/test_time.c (main): Likewise.
8558 * time/tzfile.c (__tzfile_read): Likewise.
8559 (__tzfile_compute): Likewise.
8560 * time/tzset.c (__tzset_parse_tz): Likewise.
8561 (tzset_internal): Likewise.
8562 (compute_change): Likewise.
8563 * wcsmbs/wcscat.c (__wcscat): Likewise.
8564 * wcsmbs/wcschr.c (wcschr): Likewise.
8565 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8566 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8567 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8568 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8569 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8570 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8571 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8572 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8573 * wcsmbs/wmemset.c (wmemset): Likewise.
8575 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8577 * scripts/config.guess: Update to version 2013-05-16.
8578 * scripts/config.sub: Update to version 2013-04-24.
8579 * scripts/install-sh: Update to version 2011-11-20.07.
8580 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8581 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8583 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8585 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8586 * elf/sln.c: Likewise.
8587 * hurd/hurd/ioctl.h: Likewise.
8588 * hurd/hurdmalloc.c: Likewise.
8589 * hurd/xattr.c: Likewise.
8590 * include/shlib-compat.h: Likewise.
8591 * inet/ruserpass.c: Likewise.
8592 * libio/iofgets_u.c: Likewise.
8593 * libio/iofgetws_u.c: Likewise.
8594 * locale/programs/ld-identification.c: Likewise.
8595 * locale/programs/ld-time.c: Likewise.
8596 * mach/msg-destroy.c: Likewise.
8597 * nss/nss_files/files-netgrp.c: Likewise.
8598 * resolv/res_data.c: Likewise.
8599 * soft-fp/op-1.h: Likewise.
8600 * soft-fp/op-2.h: Likewise.
8601 * soft-fp/op-4.h: Likewise.
8602 * soft-fp/op-common.h: Likewise.
8603 * stdio-common/printf_fphex.c: Likewise.
8604 * stdlib/strtod_l.c: Likewise.
8605 * sunrpc/rpc/clnt.h: Likewise.
8606 * sysdeps/generic/framestate.c: Likewise.
8607 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8608 * sysdeps/i386/bsd-setjmp.S: Likewise.
8609 * sysdeps/i386/__longjmp.S: Likewise.
8610 * sysdeps/i386/setjmp.S: Likewise.
8611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8612 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8629 * sysdeps/ieee754/support.c: Likewise.
8630 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8631 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8632 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8633 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8634 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8635 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8636 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8637 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8638 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8639 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8640 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8641 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8642 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8643 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8644 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8645 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8646 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8649 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8651 * posix/transbug.c: Remove executable mode.
8653 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8655 * crypt/speeds.c: Remove trailing whitespace.
8656 * dlfcn/default.c: Likewise.
8657 * elf/ifuncdep2.c: Likewise.
8658 * elf/ifuncmain1.c: Likewise.
8659 * elf/ifuncmain1vis.c: Likewise.
8660 * elf/testobj.h: Likewise.
8661 * elf/tst-stackguard1.c: Likewise.
8662 * gmon/sys/gmon.h: Likewise.
8663 * hurd/hurdmsg.c: Likewise.
8664 * hurd/new-fd.c: Likewise.
8665 * hurd/ports-get.c: Likewise.
8666 * iconvdata/ibm1008_420.c: Likewise.
8667 * inet/tst-getni1.c: Likewise.
8668 * inet/tst-getni2.c: Likewise.
8669 * libio/ioungetc.c: Likewise.
8670 * libio/wfiledoalloc.c: Likewise.
8671 * manual/libm-err-tab.pl: Likewise.
8672 * math/w_dremf.c: Likewise.
8673 * misc/ftruncate.c: Likewise.
8674 * posix/bug-glob2.c: Likewise.
8675 * posix/tst-pcre.c: Likewise.
8676 * posix/wait4.c: Likewise.
8677 * resolv/README: Likewise.
8678 * resolv/res_debug.h: Likewise.
8679 * resolv/tst-inet_ntop.c: Likewise.
8680 * setjmp/bug269-setjmp.c: Likewise.
8681 * soft-fp/extended.h: Likewise.
8682 * soft-fp/op-1.h: Likewise.
8683 * soft-fp/op-2.h: Likewise.
8684 * soft-fp/op-4.h: Likewise.
8685 * soft-fp/op-8.h: Likewise.
8686 * soft-fp/testit.c: Likewise.
8687 * stdio-common/bug16.c: Likewise.
8688 * stdlib/random.c: Likewise.
8689 * sunrpc/rpcsvc/rquota.x: Likewise.
8690 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8691 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8693 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8697 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8698 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8699 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8719 * sysdeps/ieee754/s_lib_version.c: Likewise.
8720 * sysdeps/mach/hurd/check_fds.c: Likewise.
8721 * sysdeps/mach/hurd/getsockname.c: Likewise.
8722 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8723 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8724 * sysdeps/powerpc/bits/link.h: Likewise.
8725 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8726 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8727 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8728 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8729 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8730 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8731 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8732 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8733 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8734 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8735 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8736 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8737 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8738 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8739 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8740 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8741 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8742 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8744 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8745 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8746 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8747 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8748 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8749 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8750 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8751 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8752 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8753 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8754 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8755 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8756 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8757 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8758 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8759 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8760 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8761 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8762 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8763 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8764 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8765 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8766 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8767 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8769 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8771 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8772 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8773 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8774 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8777 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8778 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8779 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8780 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8781 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8782 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8783 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8785 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8786 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8787 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8788 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8789 * sysdeps/powerpc/sysdep.h: Likewise.
8790 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8791 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8792 * sysdeps/sh/dl-trampoline.S: Likewise.
8793 * sysdeps/sh/memset.S: Likewise.
8794 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8795 * sysdeps/sh/strlen.S: Likewise.
8796 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8797 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8798 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8799 * sysdeps/sparc/sparc32/rem.S: Likewise.
8800 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8801 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8802 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8803 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8804 * sysdeps/sparc/sparc32/urem.S: Likewise.
8805 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8806 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8807 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8808 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8810 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8811 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8812 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8813 * sysdeps/unix/bsd/times.c: Likewise.
8814 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8815 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8819 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8820 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8821 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8822 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8823 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8824 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8825 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8827 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8828 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8829 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8830 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8831 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8832 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8833 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8834 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8835 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8836 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8837 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8838 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8839 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8840 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8842 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8843 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8844 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8845 * sysdeps/x86_64/strcspn.S: Likewise.
8847 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8849 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8850 generated file. Regenerate properly from gen-translit.pl.
8851 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8852 locale/C-translit.h.
8854 2013-06-05 Andreas Schwab <schwab@suse.de>
8857 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8858 week as 6 instead of -1.
8859 * time/tst-strptime.c (day_tests): Add test case.
8861 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8863 * sysdeps/generic/math_private.h
8864 (libc_feholdexcept_setround_53bit): Replace with
8865 libc_feholdsetround_53bit.
8866 (libc_feupdateenv_53bit): Replace with
8867 libc_feresetround_53bit.
8868 (SET_RESTORE_ROUND_53BIT): Adjust.
8870 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8872 * string/test-strchrnul.c: Add copyright header.
8874 * posix/tst-getaddrinfo4.c: Increase test timeout.
8876 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8879 * math/libm-test.inc (MAX_EXP): Remove
8881 (ulp): Use MIN_EXP - MANT_DIG.
8882 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8884 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8886 * po/be.po: Revert last change.
8887 * po/zh_CN.po: Likewise.
8888 * po/header.pot: Likewise.
8890 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8892 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8893 link-libc-deps to empty as target-specific variable.
8894 * Makerules (link-libc-args): New variable.
8895 (libc-for-link): Likewise.
8896 (link-libc-deps): Likewise.
8897 (lib%.so): Depend on $(link-libc-deps). Link with
8899 (build-module): Link with $(link-libc-args).
8900 (build-module-asneeded): Likewise.
8901 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8903 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8904 target-specific variable.
8905 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8906 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8907 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8909 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8911 ($(objpfx)libpcprofile.so): Likewise.
8912 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8914 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8915 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8916 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8918 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8919 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8920 * login/Makefile ($(objpfx)libutil.so): Likewise.
8921 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8922 * math/Makefile ($(objpfx)libm.so): Likewise.
8923 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8924 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8925 variable instead of depending directly on libc.
8926 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8927 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8929 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8931 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8932 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8933 ($(objpfx)libanl.so): Likewise.
8934 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8936 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8938 * sysdeps/i386/fpu/Makefile: Remove file.
8939 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8940 ($(objpfx)libm.so): Remove dependency on ld.so.
8942 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8945 * nis/yp_xdr.c (XDRMAXNAME): Define.
8946 (XDRMAXRECORD): Define.
8947 (xdr_domainname): Use XDRMAXNAME.
8948 (xdr_mapname): Likewise.
8949 (xdr_peername): Likewise.
8950 (xdr_keydat): Use XDRMAXRECORD.
8951 (xdr_valdat): Likewise.
8953 2013-05-30 Jeff Law <law@redhat.com>
8956 * manual/errno.texi (ESTALE): Update to account for more than
8957 just NFS file systems.
8958 * sysdeps/gnu/errlist.c: Regenerated.
8960 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8963 * elf/Makefile (tests): Add tst-null-argv.
8964 (modules-names): Add tst-null-argv-lib.
8965 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8966 (tst-null-argv-ENV): Set environment for tst-null-argv.
8967 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8968 (RTLD_PROGNAME): New macro.
8969 * elf/tst-null-argv.c: New test case.
8970 * elf/tst-null-argv-lib.c: Library for test case.
8971 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8972 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8973 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8974 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8975 * elf/dl-init.c (call_init): Likewise.
8976 (_dl_init): Likewise.
8977 * elf/dl-load.c (print_search_path): Likewise.
8978 (_dl_map_object): Likewise.
8979 * elf/dl-lookup.c (do_lookup_x): Likewise.
8980 (add_dependency): Likewise.
8981 (_dl_lookup_symbol_x): Likewise.
8982 (_dl_debug_bindings): Likewise.
8983 * elf/dl-open.c (_dl_show_scope): Likewise.
8984 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8985 * elf/dl-version.c (match_symbol): Likewise.
8986 (_dl_check_map_versions): Likewise.
8987 * elf/rtld.c (dl_main): Likewise.
8988 (print_unresolved): Use RTLD_PROGNAME.
8989 (print_missing_version): Likewise.
8990 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8991 (elf_machine_rela): Likewise.
8992 * sysdeps/powerpc/powerpc32/dl-machine.c
8993 (__process_machine_rela): Likewise.
8994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9000 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9003 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9007 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9009 * po/be.po: Add descriptive title.
9010 * po/zh_CN.po: Likewise.
9011 * po/header.pot: Likewise.
9013 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9015 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9017 (enlarge_archive): Likewise.
9019 2013-05-28 Ben North <ben@redfrontdoor.org>
9021 * manual/arith.texi (frexp): It is the magnitude of the return
9022 value which lies in [0.5, 1), not the return value itself.
9024 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9028 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9030 * stdio-common/bug26.c (main): Correct fscanf template.
9032 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9033 declare _dl_skip_args.
9035 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9038 * manual/platform.texi: Add missing @end deftypefun.
9040 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9043 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9044 bit of mantissa of 2^16382.
9045 * math/libm-test.inc (hypot_test_data): Add more tests.
9047 * math/libm-test.inc: Add drem and pow10 to list of tested
9049 (pow10_test): New function.
9050 (drem_test): Likewise.
9051 (drem_test_tonearest): Likewise.
9052 (drem_test_towardzero): Likewise.
9053 (drem_test_downward): Likewise.
9054 (drem_test_upward): Likewise.
9055 (main): Call the new functions.
9057 * math/libm-test.inc (finite_test_data): Remove.
9058 (finite_test): Run tests from isfinite_test_data.
9059 (gamma_test_data): Remove.
9060 (gamma_test): Run tests from lgamma_test_data.
9061 * sysdeps/i386/fpu/libm-test-ulps: Update.
9062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9064 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9066 * manual/platform.texi: Add PowerPC PPR function set documentation.
9067 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9070 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9072 * math/libm-test.inc (MAX_EXP): Define.
9074 (ulp): New function.
9075 (check_float_internal): Use ULPDIFF.
9076 (cpow_test): Disable failing test.
9077 (check_ulp): Test ulp() implemetnation.
9078 (main): Call check_ulp before starting tests.
9080 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9082 * math/gen-libm-test.pl (generate_testfile): Do not handle
9083 START_DATA and END_DATA.
9084 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9086 (acos_tonearest_test_data): Likewise.
9087 (acos_towardzero_test_data): Likewise.
9088 (acos_downward_test_data): Likewise.
9089 (acos_upward_test_data): Likewise.
9090 (acosh_test_data): Likewise.
9091 (asin_test_data): Likewise.
9092 (asin_tonearest_test_data): Likewise.
9093 (asin_towardzero_test_data): Likewise.
9094 (asin_downward_test_data): Likewise.
9095 (asin_upward_test_data): Likewise.
9096 (asinh_test_data): Likewise.
9097 (atan_test_data): Likewise.
9098 (atanh_test_data): Likewise.
9099 (atan2_test_data): Likewise.
9100 (cabs_test_data): Likewise.
9101 (cacos_test_data): Likewise.
9102 (cacosh_test_data): Likewise.
9103 (carg_test_data): Likewise.
9104 (casin_test_data): Likewise.
9105 (casinh_test_data): Likewise.
9106 (catan_test_data): Likewise.
9107 (catanh_test_data): Likewise.
9108 (cbrt_test_data): Likewise.
9109 (ccos_test_data): Likewise.
9110 (ccosh_test_data): Likewise.
9111 (ceil_test_data): Likewise.
9112 (cexp_test_data): Likewise.
9113 (cimag_test_data): Likewise.
9114 (clog_test_data): Likewise.
9115 (clog10_test_data): Likewise.
9116 (conj_test_data): Likewise.
9117 (copysign_test_data): Likewise.
9118 (cos_test_data): Likewise.
9119 (cos_tonearest_test_data): Likewise.
9120 (cos_towardzero_test_data): Likewise.
9121 (cos_downward_test_data): Likewise.
9122 (cos_upward_test_data): Likewise.
9123 (cosh_test_data): Likewise.
9124 (cosh_tonearest_test_data): Likewise.
9125 (cosh_towardzero_test_data): Likewise.
9126 (cosh_downward_test_data): Likewise.
9127 (cosh_upward_test_data): Likewise.
9128 (cpow_test_data): Likewise.
9129 (cproj_test_data): Likewise.
9130 (creal_test_data): Likewise.
9131 (csin_test_data): Likewise.
9132 (csinh_test_data): Likewise.
9133 (csqrt_test_data): Likewise.
9134 (ctan_test_data): Likewise.
9135 (ctan_tonearest_test_data): Likewise.
9136 (ctan_towardzero_test_data): Likewise.
9137 (ctan_downward_test_data): Likewise.
9138 (ctan_upward_test_data): Likewise.
9139 (ctanh_test_data): Likewise.
9140 (ctanh_tonearest_test_data): Likewise.
9141 (ctanh_towardzero_test_data): Likewise.
9142 (ctanh_downward_test_data): Likewise.
9143 (ctanh_upward_test_data): Likewise.
9144 (erf_test_data): Likewise.
9145 (erfc_test_data): Likewise.
9146 (exp_test_data): Likewise.
9147 (exp_tonearest_test_data): Likewise.
9148 (exp_towardzero_test_data): Likewise.
9149 (exp_downward_test_data): Likewise.
9150 (exp_upward_test_data): Likewise.
9151 (exp10_test_data): Likewise.
9152 (exp2_test_data): Likewise.
9153 (expm1_test_data): Likewise.
9154 (fabs_test_data): Likewise.
9155 (fdim_test_data): Likewise.
9156 (finite_test_data): Likewise.
9157 (floor_test_data): Likewise.
9158 (fma_test_data): Likewise.
9159 (fma_towardzero_test_data): Likewise.
9160 (fma_downward_test_data): Likewise.
9161 (fma_upward_test_data): Likewise.
9162 (fmax_test_data): Likewise.
9163 (fmin_test_data): Likewise.
9164 (fmod_test_data): Likewise.
9165 (fpclassify_test_data): Likewise.
9166 (frexp_test_data): Likewise.
9167 (gamma_test_data): Likewise.
9168 (hypot_test_data): Likewise.
9169 (ilogb_test_data): Likewise.
9170 (isfinite_test_data): Likewise.
9171 (isgreater_test_data): Likewise.
9172 (isgreaterequal_test_data): Likewise.
9173 (isinf_test_data): Likewise.
9174 (isless_test_data): Likewise.
9175 (islessequal_test_data): Likewise.
9176 (islessgreater_test_data): Likewise.
9177 (isnan_test_data): Likewise.
9178 (isnormal_test_data): Likewise.
9179 (issignaling_test_data): Likewise.
9180 (isunordered_test_data): Likewise.
9181 (j0_test_data): Likewise.
9182 (j1_test_data): Likewise.
9183 (jn_test_data): Likewise.
9184 (ldexp_test_data): Likewise.
9185 (lgamma_test_data): Likewise.
9186 (lrint_test_data): Likewise.
9187 (lrint_tonearest_test_data): Likewise.
9188 (lrint_towardzero_test_data): Likewise.
9189 (lrint_downward_test_data): Likewise.
9190 (lrint_upward_test_data): Likewise.
9191 (llrint_test_data): Likewise.
9192 (llrint_tonearest_test_data): Likewise.
9193 (llrint_towardzero_test_data): Likewise.
9194 (llrint_downward_test_data): Likewise.
9195 (llrint_upward_test_data): Likewise.
9196 (log_test_data): Likewise.
9197 (log10_test_data): Likewise.
9198 (log1p_test_data): Likewise.
9199 (log2_test_data): Likewise.
9200 (logb_test_data): Likewise.
9201 (logb_downward_test_data): Likewise.
9202 (lround_test_data): Likewise.
9203 (llround_test_data): Likewise.
9204 (modf_test_data): Likewise.
9205 (nearbyint_test_data): Likewise.
9206 (nextafter_test_data): Likewise.
9207 (nexttoward_test_data): Likewise.
9208 (pow_test_data): Likewise.
9209 (pow_tonearest_test_data): Likewise.
9210 (pow_towardzero_test_data): Likewise.
9211 (pow_downward_test_data): Likewise.
9212 (pow_upward_test_data): Likewise.
9213 (remainder_test_data): Likewise.
9214 (remainder_tonearest_test_data): Likewise.
9215 (remainder_towardzero_test_data): Likewise.
9216 (remainder_downward_test_data): Likewise.
9217 (remainder_upward_test_data): Likewise.
9218 (remquo_test_data): Likewise.
9219 (rint_test_data): Likewise.
9220 (rint_tonearest_test_data): Likewise.
9221 (rint_towardzero_test_data): Likewise.
9222 (rint_downward_test_data): Likewise.
9223 (rint_upward_test_data): Likewise.
9224 (round_test_data): Likewise.
9225 (scalb_test_data): Likewise.
9226 (scalbn_test_data): Likewise.
9227 (scalbln_test_data): Likewise.
9228 (signbit_test_data): Likewise.
9229 (sin_test_data): Likewise.
9230 (sin_tonearest_test_data): Likewise.
9231 (sin_towardzero_test_data): Likewise.
9232 (sin_downward_test_data): Likewise.
9233 (sin_upward_test_data): Likewise.
9234 (sincos_test_data): Likewise.
9235 (sinh_test_data): Likewise.
9236 (sinh_tonearest_test_data): Likewise.
9237 (sinh_towardzero_test_data): Likewise.
9238 (sinh_downward_test_data): Likewise.
9239 (sinh_upward_test_data): Likewise.
9240 (sqrt_test_data): Likewise.
9241 (tan_test_data): Likewise.
9242 (tan_tonearest_test_data): Likewise.
9243 (tan_towardzero_test_data): Likewise.
9244 (tan_downward_test_data): Likewise.
9245 (tan_upward_test_data): Likewise.
9246 (tanh_test_data): Likewise.
9247 (tgamma_test_data): Likewise.
9248 (trunc_test_data): Likewise.
9249 (y0_test_data): Likewise.
9250 (y1_test_data): Likewise.
9251 (yn_test_data): Likewise.
9252 (significand_test_data): Likewise.
9254 * math/gen-libm-test.pl (@functions): Remove variable.
9255 (generate_testfile): Don't handle START and END lines.
9256 * math/libm-test.inc (START): New macro.
9258 (END_COMPLEX): Likewise.
9259 (acos_test): Use END macro without arguments.
9260 (acos_test_tonearest): Likewise.
9261 (acos_test_towardzero): Likewise.
9262 (acos_test_downward): Likewise.
9263 (acos_test_upward): Likewise.
9264 (acosh_test): Likewise.
9265 (asin_test): Likewise.
9266 (asin_test_tonearest): Likewise.
9267 (asin_test_towardzero): Likewise.
9268 (asin_test_downward): Likewise.
9269 (asin_test_upward): Likewise.
9270 (asinh_test): Likewise.
9271 (atan_test): Likewise.
9272 (atanh_test): Likewise.
9273 (atan2_test): Likewise.
9274 (cabs_test): Likewise.
9275 (cacos_test): Use END_COMPLEX macro without arguments.
9276 (cacosh_test): Likewise.
9277 (carg_test): Use END macro without arguments.
9278 (casin_test): Use END_COMPLEX macro without arguments.
9279 (casinh_test): Likewise.
9280 (catan_test): Likewise.
9281 (catanh_test): Likewise.
9282 (cbrt_test): Use END macro without arguments.
9283 (ccos_test): Use END_COMPLEX macro without arguments.
9284 (ccosh_test): Likewise.
9285 (ceil_test): Use END macro without arguments.
9286 (cexp_test): Use END_COMPLEX macro without arguments.
9287 (cimag_test): Use END macro without arguments.
9288 (clog_test): Use END_COMPLEX macro without arguments.
9289 (clog10_test): Likewise.
9290 (conj_test): Likewise.
9291 (copysign_test): Use END macro without arguments.
9292 (cos_test): Likewise.
9293 (cos_test_tonearest): Likewise.
9294 (cos_test_towardzero): Likewise.
9295 (cos_test_downward): Likewise.
9296 (cos_test_upward): Likewise.
9297 (cosh_test): Likewise.
9298 (cosh_test_tonearest): Likewise.
9299 (cosh_test_towardzero): Likewise.
9300 (cosh_test_downward): Likewise.
9301 (cosh_test_upward): Likewise.
9302 (cpow_test): Use END_COMPLEX macro without arguments.
9303 (cproj_test): Likewise.
9304 (creal_test): Use END macro without arguments.
9305 (csin_test): Use END_COMPLEX macro without arguments.
9306 (csinh_test): Likewise.
9307 (csqrt_test): Likewise.
9308 (ctan_test): Likewise.
9309 (ctan_test_tonearest): Likewise.
9310 (ctan_test_towardzero): Likewise.
9311 (ctan_test_downward): Likewise.
9312 (ctan_test_upward): Likewise.
9313 (ctanh_test): Likewise.
9314 (ctanh_test_tonearest): Likewise.
9315 (ctanh_test_towardzero): Likewise.
9316 (ctanh_test_downward): Likewise.
9317 (ctanh_test_upward): Likewise.
9318 (erf_test): Use END macro without arguments.
9319 (erfc_test): Likewise.
9320 (exp_test): Likewise.
9321 (exp_test_tonearest): Likewise.
9322 (exp_test_towardzero): Likewise.
9323 (exp_test_downward): Likewise.
9324 (exp_test_upward): Likewise.
9325 (exp10_test): Likewise.
9326 (exp2_test): Likewise.
9327 (expm1_test): Likewise.
9328 (fabs_test): Likewise.
9329 (fdim_test): Likewise.
9330 (finite_test): Likewise.
9331 (floor_test): Likewise.
9332 (fma_test): Likewise.
9333 (fma_test_towardzero): Likewise.
9334 (fma_test_downward): Likewise.
9335 (fma_test_upward): Likewise.
9336 (fmax_test): Likewise.
9337 (fmin_test): Likewise.
9338 (fmod_test): Likewise.
9339 (fpclassify_test): Likewise.
9340 (frexp_test): Likewise.
9341 (gamma_test): Likewise.
9342 (hypot_test): Likewise.
9343 (ilogb_test): Likewise.
9344 (isfinite_test): Likewise.
9345 (isgreater_test): Likewise.
9346 (isgreaterequal_test): Likewise.
9347 (isinf_test): Likewise.
9348 (isless_test): Likewise.
9349 (islessequal_test): Likewise.
9350 (islessgreater_test): Likewise.
9351 (isnan_test): Likewise.
9352 (isnormal_test): Likewise.
9353 (issignaling_test): Likewise.
9354 (isunordered_test): Likewise.
9355 (j0_test): Likewise.
9356 (j1_test): Likewise.
9357 (jn_test): Likewise.
9358 (ldexp_test): Likewise.
9359 (lgamma_test): Likewise.
9360 (lrint_test): Likewise.
9361 (lrint_test_tonearest): Likewise.
9362 (lrint_test_towardzero): Likewise.
9363 (lrint_test_downward): Likewise.
9364 (lrint_test_upward): Likewise.
9365 (llrint_test): Likewise.
9366 (llrint_test_tonearest): Likewise.
9367 (llrint_test_towardzero): Likewise.
9368 (llrint_test_downward): Likewise.
9369 (llrint_test_upward): Likewise.
9370 (log_test): Likewise.
9371 (log10_test): Likewise.
9372 (log1p_test): Likewise.
9373 (log2_test): Likewise.
9374 (logb_test): Likewise.
9375 (logb_test_downward): Likewise.
9376 (lround_test): Likewise.
9377 (llround_test): Likewise.
9378 (modf_test): Likewise.
9379 (nearbyint_test): Likewise.
9380 (nextafter_test): Likewise.
9381 (nexttoward_test): Likewise.
9382 (pow_test): Likewise.
9383 (pow_test_tonearest): Likewise.
9384 (pow_test_towardzero): Likewise.
9385 (pow_test_downward): Likewise.
9386 (pow_test_upward): Likewise.
9387 (remainder_test): Likewise.
9388 (remainder_test_tonearest): Likewise.
9389 (remainder_test_towardzero): Likewise.
9390 (remainder_test_downward): Likewise.
9391 (remainder_test_upward): Likewise.
9392 (remquo_test): Likewise.
9393 (rint_test): Likewise.
9394 (rint_test_tonearest): Likewise.
9395 (rint_test_towardzero): Likewise.
9396 (rint_test_downward): Likewise.
9397 (rint_test_upward): Likewise.
9398 (round_test): Likewise.
9399 (scalb_test): Likewise.
9400 (scalbn_test): Likewise.
9401 (scalbln_test): Likewise.
9402 (signbit_test): Likewise.
9403 (sin_test): Likewise.
9404 (sin_test_tonearest): Likewise.
9405 (sin_test_towardzero): Likewise.
9406 (sin_test_downward): Likewise.
9407 (sin_test_upward): Likewise.
9408 (sincos_test): Likewise.
9409 (sinh_test): Likewise.
9410 (sinh_test_tonearest): Likewise.
9411 (sinh_test_towardzero): Likewise.
9412 (sinh_test_downward): Likewise.
9413 (sinh_test_upward): Likewise.
9414 (sqrt_test): Likewise.
9415 (tan_test): Likewise.
9416 (tan_test_tonearest): Likewise.
9417 (tan_test_towardzero): Likewise.
9418 (tan_test_downward): Likewise.
9419 (tan_test_upward): Likewise.
9420 (tanh_test): Likewise.
9421 (tgamma_test): Likewise.
9422 (trunc_test): Likewise.
9423 (y0_test): Likewise.
9424 (y1_test): Likewise.
9425 (yn_test): Likewise.
9426 (significand_test): Likewise.
9428 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9431 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9433 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9436 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9437 __ppc_mdoio and __ppc_mdoom.
9438 * manual/platform.texi: Document new functions __ppc_yield,
9439 __ppc_mdoio and __ppc_mdoom.
9441 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9443 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9444 (main): Mention "tls" pseudo-hwcap is legacy.
9445 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9447 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9449 * math/gen-libm-test.pl (parse_args): Output only string of
9450 arguments as text for test name, not full call or descriptions of
9451 tests for extra outputs.
9452 (generate_testfile): Do not pass function name to parse_args.
9453 Generate this_func variable from START.
9454 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9456 (struct test_ff_f_data): Likewise.
9457 (test_ff_f_data_nexttoward): Likewise.
9458 (struct test_fi_f_data): Likewise.
9459 (struct test_fl_f_data): Likewise.
9460 (struct test_if_f_data): Likewise.
9461 (struct test_fff_f_data): Likewise.
9462 (struct test_c_f_data): Likewise.
9463 (struct test_f_f1_data): Likewise. Remove field extra_name.
9464 (struct test_fF_f1_data): Likewise.
9465 (struct test_ffI_f1_data): Likewise.
9466 (struct test_c_c_data): Rename test_name field to arg_str.
9467 (struct test_cc_c_data): Likewise.
9468 (struct test_f_i_data): Likewise.
9469 (struct test_ff_i_data): Likewise.
9470 (struct test_f_l_data): Likewise.
9471 (struct test_f_L_data): Likewise.
9472 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9474 (COMMON_TEST_SETUP): New macro.
9475 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9476 (COMMON_TEST_CLEANUP): Likewise.
9477 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9478 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9480 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9481 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9483 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9484 (RUN_TEST_fff_f): Take argument string. Call new setup and
9486 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9487 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9489 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9490 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9492 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9493 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9495 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9496 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9498 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9499 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9501 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9502 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9504 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9505 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9507 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9508 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9510 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9511 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9513 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9514 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9516 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9517 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9519 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9520 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9522 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9523 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9525 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9526 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9528 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9529 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9531 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9533 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9535 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9536 to _sifields.sigfault.
9537 (si_addr_lsb): Define new macro.
9538 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9539 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9540 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9542 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9545 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9547 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9549 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9552 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9554 * math/gen-libm-test.pl (parse_args): Do not include expected
9555 result in test name.
9556 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9558 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9559 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9560 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9563 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9565 * benchtests/Makefile: Sort function entries.
9567 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9568 tanh, asinh, acosh, atanh.
9569 * benchtests/acos-inputs: New file.
9570 * benchtests/acosh-inputs: New file.
9571 * benchtests/asin-inputs: New file.
9572 * benchtests/asinh-inputs: New file.
9573 * benchtests/atanh-inputs: New file.
9574 * benchtests/cosh-inputs: New file.
9575 * benchtests/log-inputs: New file.
9576 * benchtests/sinh-inputs: New file.
9577 * benchtests/tanh-inputs: New file.
9579 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9582 * posix/tst-getaddrinfo4.c: New test.
9583 * posix/Makefile (tests): Add it.
9585 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9588 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9589 when no services were used.
9590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9591 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9593 2013-05-21 Andreas Schwab <schwab@suse.de>
9596 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9597 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9599 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9600 redundant variable declarations and reallocation of buffer when
9601 parsing as IPv6 address. Always set NSS status when called from
9602 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9603 buffer too small. Correct computation of needed size.
9604 * nss/Makefile (tests): Add test-digits-dots.
9605 * nss/test-digits-dots.c: New test.
9607 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9609 * benchtests/Makefile: Remove instructions for adding
9611 * benchtests/README: New file to explain how to execute and
9612 enhance the benchmark tests.
9614 2013-05-21 Andreas Schwab <schwab@suse.de>
9617 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9618 * setjmp/tst-sigsetjmp.c: New test.
9620 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9622 * sysdeps/x86_64/memset.S (memset): New implementation.
9623 (__bzero): Likewise.
9624 (__memset_tail): New function.
9626 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9628 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9629 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9630 __memcpy_sse2_unaligned ifunc selection.
9631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9632 Add memcpy-sse2-unaligned.S.
9633 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9634 Add: __memcpy_sse2_unaligned.
9636 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9639 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9640 math_force_eval before restoring floating-point envrionment.
9641 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9644 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9646 (__nearbyintl): Use math_force_eval before restoring
9647 floating-point environment.
9648 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9650 * math/gen-libm-test.pl (special_functions): Remove.
9651 (parse_args): Don't handle TEST_extra. Handle functions with no
9653 * math/libm-test.inc (struct test_sincos_data): Replace with
9654 struct test_fFF_11_data.
9655 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9656 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9657 (sincos_test_data): Change element type to struct
9658 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9659 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9660 RUN_TEST_LOOP_sincos.
9661 * math/README.libm-test: Don't mention special handling of
9662 individual functions.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9665 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9667 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9670 * math/gen-libm-test.pl (get_variable): Remove function.
9671 (parse_args): Don't show pointer parameters to call in test
9672 names. Use "extra output N" in test names for extra outputs
9673 rather than naming variables.
9675 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9678 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9679 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9680 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9682 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9684 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9687 * math/gen-libm-test.pl (@tests): Remove variable.
9689 (new_test): Remove function.
9690 (show_exceptions): New function.
9691 (special_functions): Use show_exceptions instead of new_test.
9692 (parse_args): Likewise.
9693 (generate_testfile): Pass only function name in generated call to
9694 print_max_error or print_complex_max_error.
9695 (get_ulps): Do not handle complex tests specially.
9696 (output_test): Rename to ...
9697 (get_all_ulps_for_test): ... this. Return a string rather than
9698 printing to a file. Require ulps to be present.
9699 (output_ulps): Generate arrays rather than #defines.
9700 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9701 (struct ulp_data): New type.
9702 (BUILD_COMPLEX_ULP): Remove macro.
9703 (compare_ulp_data): New function.
9704 (find_ulps): Likewise.
9705 (find_test_ulps): Likewise.
9706 (find_function_ulps): Likewise.
9707 (find_complex_function_ulps): Likewise.
9708 (print_max_error): Determine allowed ulps using
9710 (print_complex_max_error): Determine allowed ulps using
9711 find_complex_function_ulps.
9712 (check_float_internal): Determine max ulps using find_test_ulps.
9713 (check_float): Do not take max_ulp parameter. Update call to
9714 check_float_internal.
9715 (check_complex): Likewise.
9716 (check_int): Do not take max_ulp parameter.
9717 (check_long): Likewise.
9718 (check_bool): Likewise.
9719 (check_longlong): Likewise.
9720 (struct test_f_f_data): Remove max_ulp field.
9721 (struct test_ff_f_data): Likewise.
9722 (struct test_ff_f_data_nexttoward): Likewise.
9723 (struct test_fi_f_data): Likewise.
9724 (struct test_fl_f_data): Likewise.
9725 (struct test_if_f_data): Likewise.
9726 (struct test_fff_f_data): Likewise.
9727 (struct test_c_f_data): Likewise.
9728 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9729 (struct test_fF_f1_data): Likewise.
9730 (struct test_ffI_f1_data): Likewise.
9731 (struct test_c_c_data): Remove max_ulp field.
9732 (struct test_cc_c_data): Likewise.
9733 (struct test_f_i_data): Likewise.
9734 (struct test_ff_i_data): Likewise.
9735 (struct test_f_l_data): Likewise.
9736 (struct test_f_L_data): Likewise.
9737 (struct test_sincos_data): Likewise.
9738 (RUN_TEST_f_f): Do not handle ulps.
9739 (RUN_TEST_LOOP_f_f): Likewise.
9740 (RUN_TEST_2_f): Likewise.
9741 (RUN_TEST_LOOP_2_f): Likewise.
9742 (RUN_TEST_fff_f): Likewise.
9743 (RUN_TEST_LOOP_fff_f): Likewise.
9744 (RUN_TEST_c_f): Likewise.
9745 (RUN_TEST_LOOP_c_f): Likewise.
9746 (RUN_TEST_f_f1): Likewise.
9747 (RUN_TEST_LOOP_f_f1): Likewise.
9748 (RUN_TEST_fF_f1): Likewise.
9749 (RUN_TEST_LOOP_fF_f1): Likewise.
9750 (RUN_TEST_fI_f1): Likewise.
9751 (RUN_TEST_LOOP_fI_f1): Likewise.
9752 (RUN_TEST_ffI_f1): Likewise.
9753 (RUN_TEST_LOOP_ffI_f1): Likewise.
9754 (RUN_TEST_c_c): Likewise.
9755 (RUN_TEST_LOOP_c_c): Likewise.
9756 (RUN_TEST_cc_c): Likewise.
9757 (RUN_TEST_LOOP_cc_c): Likewise.
9758 (RUN_TEST_f_i): Likewise.
9759 (RUN_TEST_LOOP_f_i): Likewise.
9760 (RUN_TEST_f_i_tg): Likewise.
9761 (RUN_TEST_LOOP_f_i_tg): Likewise.
9762 (RUN_TEST_ff_i_tg): Likewise.
9763 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9764 (RUN_TEST_f_b): Likewise.
9765 (RUN_TEST_LOOP_f_b): Likewise.
9766 (RUN_TEST_f_b_tg): Likewise.
9767 (RUN_TEST_LOOP_f_b_tg): Likewise.
9768 (RUN_TEST_f_l): Likewise.
9769 (RUN_TEST_LOOP_f_l): Likewise.
9770 (RUN_TEST_f_L): Likewise.
9771 (RUN_TEST_LOOP_f_L): Likewise.
9772 (RUN_TEST_sincos): Likewise.
9773 (RUN_TEST_LOOP_sincos): Likewise.
9775 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9779 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9780 main case of finite arguments, set rounding mode to FE_TONEAREST
9781 and discard exceptions.
9782 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9784 (remainder_tonearest_test_data): New variable.
9785 (remainder_test_tonearest): New function.
9786 (remainder_towardzero_test_data): New variable.
9787 (remainder_test_towardzero): New function.
9788 (remainder_downward_test_data): New variable.
9789 (remainder_test_downward): New function.
9790 (remainder_upward_test_data): New variable.
9791 (remainder_test_upward): New function.
9792 (main): Call the new test functions.
9794 * math/libm-test.inc (struct test_f_f1_data): Remove field
9796 (struct test_fF_f1_data): Likewise.
9797 (struct test_ffI_f1_data): Likewise.
9798 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9799 based on value of EXTRA_EXPECTED.
9800 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9801 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9802 EXTRA_VAR based on value of EXTRA_EXPECTED.
9803 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9804 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9805 EXTRA_VAR based on value of EXTRA_EXPECTED.
9806 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9807 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9808 EXTRA_VAR based on value of EXTRA_EXPECTED.
9809 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9810 * math/gen-libm-test.pl (parse_args): Don't output initializers
9811 for extra output values.
9813 * math/libm-test.inc (check_int): Expect result to be exactly
9814 equal to expected value and do not handle ulps.
9815 (check_long): Likewise.
9816 (check_longlong): Likewise.
9818 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9820 (cimag_test_data): Likewise.
9821 (conj_test_data): Likewise.
9822 (copysign_test_data): Likewise.
9823 (cproj_test_data): Likewise.
9824 (creal_test_data): Likewise.
9825 (fabs_test_data): Likewise.
9826 (fdim_test_data): Likewise.
9827 (finite_test_data): Likewise.
9828 (floor_test_data): Likewise.
9829 (fmax_test_data): Likewise.
9830 (fmin_test_data): Likewise.
9831 (fmod_test_data): Likewise.
9832 (fpclassify_test_data): Likewise.
9833 (frexp_test_data): Likewise.
9834 (ilogb_test_data): Likewise.
9835 (isfinite_test_data): Likewise.
9836 (isgreater_test_data): Likewise.
9837 (isgreaterequal_test_data): Likewise.
9838 (isinf_test_data): Likewise.
9839 (isless_test_data): Likewise.
9840 (islessequal_test_data): Likewise.
9841 (islessgreater_test_data): Likewise.
9842 (isnan_test_data): Likewise.
9843 (isnormal_test_data): Likewise.
9844 (issignaling_test_data): Likewise.
9845 (isunordered_test_data): Likewise.
9846 (ldexp_test_data): Likewise.
9847 (lrint_test_data): Likewise.
9848 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9849 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9850 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9851 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9852 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9853 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9855 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9856 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9857 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9858 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9860 (lrint_downward_test_data): Test for "inexact" exceptions.
9861 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9862 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9863 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9865 (lrint_upward_test_data): Test for "inexact" exceptions.
9866 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9868 (llrint_test_data): Test for "inexact" exceptions.
9869 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9870 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9871 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9872 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9873 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9874 (llrint_downward_test_data): Test for "inexact" exceptions.
9875 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9876 (llrint_upward_test_data): Test for "inexact" exceptions.
9877 (logb_test_data): Likewise.
9878 (logb_downward_test_data): Likewise.
9879 (nextafter_test_data): Likewise.
9880 (nexttoward_test_data): Likewise.
9881 (remainder_test_data): Likewise.
9882 (remquo_test_data): Likewise.
9883 (scalbn_test_data): Likewise.
9884 (scalbln_test_data): Likewise.
9885 (signbit_test_data): Likewise.
9886 (sqrt_test_data): Likewise.
9887 (significand_test_data): Likewise.
9889 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9892 * benchtests/bench-modf.c (struct args): Mark arg0 as
9894 * scripts/bench.pl: Mark members of struct args as volatile.
9896 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9899 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9900 negative infinity on POWER6 or lower.
9901 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9903 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9906 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9907 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9908 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9909 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9910 (_FP_SETQNAN): New macro.
9911 (_FP_SETQNAN_SEMIRAW): Likewise.
9912 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9913 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9914 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9915 (FP_EXTEND): Use _FP_FRAC_SNANP.
9916 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9917 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9919 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9921 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9924 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9926 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9927 with DIVIDE_BY_ZERO_EXCEPTION.
9928 (gamma_test_data): Likewise.
9929 (lgamma_test_data): Likewise.
9930 (log_test_data): Likewise.
9931 (log10_test_data): Likewise.
9932 (log2_test_data): Likewise.
9933 (tgamma_test_data): Likewise.
9935 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9936 (acos_test_tonearest): Likewise.
9937 (acos_test_towardzero): Likewise.
9938 (acos_test_downward): Likewise.
9939 (acos_test_upward): Likewise.
9940 (acosh_test): Likewise.
9941 (asin_test): Likewise.
9942 (asin_test_tonearest): Likewise.
9943 (asin_test_towardzero): Likewise.
9944 (asin_test_downward): Likewise.
9945 (asin_test_upward): Likewise.
9946 (asinh_test): Likewise.
9947 (atan_test): Likewise.
9948 (atanh_test): Likewise.
9949 (atan2_test): Likewise.
9950 (cabs_test): Likewise.
9951 (cacos_test): Likewise.
9952 (cacosh_test): Likewise.
9953 (casin_test): Likewise.
9954 (casinh_test): Likewise.
9955 (catan_test): Likewise.
9956 (catanh_test): Likewise.
9957 (cbrt_test): Likewise.
9958 (ccos_test): Likewise.
9959 (ccosh_test): Likewise.
9960 (cexp_test): Likewise.
9961 (clog_test): Likewise.
9962 (clog10_test): Likewise.
9963 (cos_test): Likewise.
9964 (cos_test_tonearest): Likewise.
9965 (cos_test_towardzero): Likewise.
9966 (cos_test_downward): Likewise.
9967 (cos_test_upward): Likewise.
9968 (cosh_test): Likewise.
9969 (cosh_test_tonearest): Likewise.
9970 (cosh_test_towardzero): Likewise.
9971 (cosh_test_downward): Likewise.
9972 (cosh_test_upward): Likewise.
9973 (cpow_test): Likewise.
9974 (csin_test): Likewise.
9975 (csinh_test): Likewise.
9976 (csqrt_test): Likewise.
9977 (ctan_test): Likewise.
9978 (ctan_test_tonearest): Likewise.
9979 (ctan_test_towardzero): Likewise.
9980 (ctan_test_downward): Likewise.
9981 (ctan_test_upward): Likewise.
9982 (ctanh_test): Likewise.
9983 (ctanh_test_tonearest): Likewise.
9984 (ctanh_test_towardzero): Likewise.
9985 (ctanh_test_downward): Likewise.
9986 (ctanh_test_upward): Likewise.
9987 (erf_test): Likewise.
9988 (erfc_test): Likewise.
9989 (exp_test): Likewise.
9990 (exp_test_tonearest): Likewise.
9991 (exp_test_towardzero): Likewise.
9992 (exp_test_downward): Likewise.
9993 (exp_test_upward): Likewise.
9994 (exp10_test): Likewise.
9995 (exp2_test): Likewise.
9996 (expm1_test): Likewise.
9997 (fmod_test): Likewise.
9998 (gamma_test): Likewise.
9999 (hypot_test): Likewise.
10000 (j0_test): Likewise.
10001 (j1_test): Likewise.
10002 (jn_test): Likewise.
10003 (lgamma_test): Likewise.
10004 (log_test): Likewise.
10005 (log10_test): Likewise.
10006 (log1p_test): Likewise.
10007 (log2_test): Likewise.
10008 (logb_test_downward): Likewise.
10009 (pow_test): Likewise.
10010 (pow_test_tonearest): Likewise.
10011 (pow_test_towardzero): Likewise.
10012 (pow_test_downward): Likewise.
10013 (pow_test_upward): Likewise.
10014 (remainder_test): Likewise.
10015 (remquo_test): Likewise.
10016 (sin_test): Likewise.
10017 (sin_test_tonearest): Likewise.
10018 (sin_test_towardzero): Likewise.
10019 (sin_test_downward): Likewise.
10020 (sin_test_upward): Likewise.
10021 (sincos_test): Likewise.
10022 (sinh_test): Likewise.
10023 (sinh_test_tonearest): Likewise.
10024 (sinh_test_towardzero): Likewise.
10025 (sinh_test_downward): Likewise.
10026 (sinh_test_upward): Likewise.
10027 (sqrt_test): Likewise.
10028 (tan_test): Likewise.
10029 (tan_test_tonearest): Likewise.
10030 (tan_test_towardzero): Likewise.
10031 (tan_test_downward): Likewise.
10032 (tan_test_upward): Likewise.
10033 (tanh_test): Likewise.
10034 (tgamma_test): Likewise.
10035 (y0_test): Likewise.
10036 (y1_test): Likewise.
10037 (yn_test): Likewise.
10039 * math/gen-libm-test.pl (adjust_arg): Remove function.
10040 (special_function): Remove argument $in_func. Only handle
10041 generating output for tables of tests, not inside functions.
10042 (parse_args): Likewise.
10043 (generate_testfile): Remove variable $in_func. Update call to
10045 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10046 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10047 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10048 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10049 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10050 (MAX_VALUE_INIT): Rename macro to max_value.
10051 (MIN_VALUE_INIT): Rename macro to min_value.
10052 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10053 (plus_zero): Remove variable.
10054 (minus_zero): Likewise.
10055 (plus_infty): Likewise.
10056 (minus_infty): Likewise.
10057 (qnan_value): Likewise.
10058 (max_value): Likewise.
10059 (min_value): Likewise.
10060 (min_subnorm_value): Likewise.
10062 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10064 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10065 uint64_t or uint32_t usage.
10066 * crypt/sha256-block.c: Likewise.
10067 * crypt/sha256-crypt.c: Likewise.
10068 * crypt/sha256.c: Likewise.
10069 * crypt/sha512-block.c: Likewise.
10070 * crypt/sha512-crypt.c: Likewise.
10071 * crypt/sha512.c: Likewise.
10072 * debug/backtrace-tst.c: Likewise.
10073 * debug/pcprofiledump.c: Likewise.
10074 * elf/cache.c: Likewise.
10075 * elf/dl-cache.c: Likewise.
10076 * elf/dl-misc.c: Likewise.
10077 * elf/dl-profile.c: Likewise.
10078 * elf/dl-support.c: Likewise.
10079 * elf/ldconfig.c: Likewise.
10080 * elf/sprof.c: Likewise.
10081 * iconv/dummy-repertoire.c: Likewise.
10082 * iconv/iconv_charmap.c: Likewise.
10083 * iconv/skeleton.c: Likewise.
10084 * iconvdata/8bit-generic.c: Likewise.
10085 * iconvdata/cp737.h: Likewise.
10086 * iconvdata/cp775.h: Likewise.
10087 * iconvdata/ibm1008.h: Likewise.
10088 * iconvdata/ibm1025.h: Likewise.
10089 * iconvdata/ibm1046.h: Likewise.
10090 * iconvdata/ibm1097.h: Likewise.
10091 * iconvdata/ibm1112.h: Likewise.
10092 * iconvdata/ibm1122.h: Likewise.
10093 * iconvdata/ibm1123.h: Likewise.
10094 * iconvdata/ibm1124.h: Likewise.
10095 * iconvdata/ibm1129.h: Likewise.
10096 * iconvdata/ibm1130.h: Likewise.
10097 * iconvdata/ibm1132.h: Likewise.
10098 * iconvdata/ibm1133.h: Likewise.
10099 * iconvdata/ibm1137.h: Likewise.
10100 * iconvdata/ibm1140.h: Likewise.
10101 * iconvdata/ibm1141.h: Likewise.
10102 * iconvdata/ibm1142.h: Likewise.
10103 * iconvdata/ibm1143.h: Likewise.
10104 * iconvdata/ibm1144.h: Likewise.
10105 * iconvdata/ibm1145.h: Likewise.
10106 * iconvdata/ibm1146.h: Likewise.
10107 * iconvdata/ibm1147.h: Likewise.
10108 * iconvdata/ibm1148.h: Likewise.
10109 * iconvdata/ibm1149.h: Likewise.
10110 * iconvdata/ibm1153.h: Likewise.
10111 * iconvdata/ibm1154.h: Likewise.
10112 * iconvdata/ibm1155.h: Likewise.
10113 * iconvdata/ibm1156.h: Likewise.
10114 * iconvdata/ibm1157.h: Likewise.
10115 * iconvdata/ibm1158.h: Likewise.
10116 * iconvdata/ibm1160.h: Likewise.
10117 * iconvdata/ibm1161.h: Likewise.
10118 * iconvdata/ibm1162.h: Likewise.
10119 * iconvdata/ibm1163.h: Likewise.
10120 * iconvdata/ibm1164.h: Likewise.
10121 * iconvdata/ibm1166.h: Likewise.
10122 * iconvdata/ibm1167.h: Likewise.
10123 * iconvdata/ibm12712.h: Likewise.
10124 * iconvdata/ibm1390.h: Likewise.
10125 * iconvdata/ibm1399.h: Likewise.
10126 * iconvdata/ibm16804.h: Likewise.
10127 * iconvdata/ibm4517.h: Likewise.
10128 * iconvdata/ibm4899.h: Likewise.
10129 * iconvdata/ibm4909.h: Likewise.
10130 * iconvdata/ibm4971.h: Likewise.
10131 * iconvdata/ibm5347.h: Likewise.
10132 * iconvdata/ibm803.h: Likewise.
10133 * iconvdata/ibm856.h: Likewise.
10134 * iconvdata/ibm901.h: Likewise.
10135 * iconvdata/ibm902.h: Likewise.
10136 * iconvdata/ibm9030.h: Likewise.
10137 * iconvdata/ibm9066.h: Likewise.
10138 * iconvdata/ibm921.h: Likewise.
10139 * iconvdata/ibm922.h: Likewise.
10140 * iconvdata/ibm9448.h: Likewise.
10141 * iconvdata/isiri-3342.h: Likewise.
10142 * iconvdata/jis0201.h: Likewise.
10143 * include/link.h: Likewise.
10144 * include/netdb.h: Likewise.
10145 * inet/check_native.c: Likewise.
10146 * inet/check_pf.c: Likewise.
10147 * inet/getipv4sourcefilter.c: Likewise.
10148 * inet/getnameinfo.c: Likewise.
10149 * inet/getsourcefilter.c: Likewise.
10150 * inet/htonl.c: Likewise.
10151 * inet/setipv4sourcefilter.c: Likewise.
10152 * inet/setsourcefilter.c: Likewise.
10153 * inet/test-inet6_opt.c: Likewise.
10154 * inet/tst-network.c: Likewise.
10155 * locale/C-collate.c: Likewise.
10156 * locale/C-ctype.c: Likewise.
10157 * locale/C-time.c: Likewise.
10158 * locale/C-translit.h: Likewise.
10159 * locale/loadarchive.c: Likewise.
10160 * locale/programs/3level.h: Likewise.
10161 * locale/programs/charmap.c: Likewise.
10162 * locale/programs/charmap.h: Likewise.
10163 * locale/programs/ld-address.c: Likewise.
10164 * locale/programs/ld-collate.c: Likewise.
10165 * locale/programs/ld-ctype.c: Likewise.
10166 * locale/programs/ld-identification.c: Likewise.
10167 * locale/programs/ld-measurement.c: Likewise.
10168 * locale/programs/ld-messages.c: Likewise.
10169 * locale/programs/ld-monetary.c: Likewise.
10170 * locale/programs/ld-name.c: Likewise.
10171 * locale/programs/ld-numeric.c: Likewise.
10172 * locale/programs/ld-paper.c: Likewise.
10173 * locale/programs/ld-telephone.c: Likewise.
10174 * locale/programs/ld-time.c: Likewise.
10175 * locale/programs/linereader.c: Likewise.
10176 * locale/programs/locale.c: Likewise.
10177 * locale/programs/locarchive.c: Likewise.
10178 * locale/programs/locfile.h: Likewise.
10179 * locale/programs/repertoire.c: Likewise.
10180 * locale/programs/simple-hash.c: Likewise.
10181 * locale/programs/simple-hash.h: Likewise.
10182 * malloc/memusage.c: Likewise.
10183 * malloc/memusagestat.c: Likewise.
10184 * nis/nis_defaults.c: Likewise.
10185 * nis/nis_hash.c: Likewise.
10186 * nis/nis_print.c: Likewise.
10187 * nis/nis_xdr.c: Likewise.
10188 * nscd/connections.c: Likewise.
10189 * nscd/hstcache.c: Likewise.
10190 * nscd/nscd_gethst_r.c: Likewise.
10191 * nscd/nscd_getserv_r.c: Likewise.
10192 * nscd/nscd_helper.c: Likewise.
10193 * nscd/servicescache.c: Likewise.
10194 * nss/makedb.c: Likewise.
10195 * nss/nss_db/db-XXX.c: Likewise.
10196 * nss/nss_db/db-initgroups.c: Likewise.
10197 * nss/nss_db/db-netgrp.c: Likewise.
10198 * nss/nss_files/files-network.c: Likewise.
10199 * nss/nss_files/files-parse.c: Likewise.
10200 * posix/bug-regex5.c: Likewise.
10201 * posix/fnmatch_loop.c: Likewise.
10202 * posix/regcomp.c: Likewise.
10203 * posix/regexec.c: Likewise.
10204 * posix/tst-rfc3484-2.c: Likewise.
10205 * posix/tst-rfc3484-3.c: Likewise.
10206 * posix/tst-rfc3484.c: Likewise.
10207 * resolv/nss_dns/dns-canon.c: Likewise.
10208 * resolv/nss_dns/dns-network.c: Likewise.
10209 * resolv/res_init.c: Likewise.
10210 * resolv/res_mkquery.c: Likewise.
10211 * resolv/tst-aton.c: Likewise.
10212 * stdlib/cxa_atexit.c: Likewise.
10213 * stdlib/cxa_finalize.c: Likewise.
10214 * stdlib/gen-fpioconst.c: Likewise.
10215 * stdlib/strtol_l.c: Likewise.
10216 * string/tst-endian.c: Likewise.
10217 * sunrpc/auth_des.c: Likewise.
10218 * sunrpc/clnt_udp.c: Likewise.
10219 * sunrpc/rtime.c: Likewise.
10220 * sunrpc/svcauth_des.c: Likewise.
10221 * sunrpc/xdr.c: Likewise.
10222 * sunrpc/xdr_intXX_t.c: Likewise.
10223 * sunrpc/xdr_rec.c: Likewise.
10224 * sysdeps/generic/ldconfig.h: Likewise.
10225 * sysdeps/generic/ldsodefs.h: Likewise.
10226 * sysdeps/generic/memusage.h: Likewise.
10227 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10230 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10237 * sysdeps/posix/getaddrinfo.c: Likewise.
10238 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10239 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10240 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10241 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10242 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10243 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10244 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10245 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10246 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10247 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10248 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10249 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10250 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10251 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10252 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10253 * sysdeps/x86_64/dl-tls.h: Likewise.
10254 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10255 * time/alt_digit.c: Likewise.
10256 * time/era.c: Likewise.
10257 * wcsmbs/tst-c16c32-1.c: Likewise.
10259 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10261 * math/libm-test.inc (struct test_sincos_data): New type.
10262 (RUN_TEST_LOOP_sincos): New macro.
10263 (sincos_test_data): New variable.
10264 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10266 2013-05-16 Richard Henderson <rth@redhat.com>
10268 * math/atest-exp2.c (LIMB64): New macro.
10269 (CONSTSZ): New macro.
10270 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10272 (print_mpn_fp): ... to function scope.
10273 (read_mpn_hex): Remove.
10274 (get_log2): Remove.
10275 (exp2_mpn): Use mp_log2.
10276 (main): Use mp_exp1.
10278 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10280 * math/libm-test.inc: Remove comment about not testing "inexact"
10282 (INEXACT_EXCEPTION): New macro.
10283 (NO_INEXACT_EXCEPTION): Likewise.
10284 (INVALID_EXCEPTION_OK): Update value.
10285 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10286 (OVERFLOW_EXCEPTION_OK): Likewise.
10287 (UNDERFLOW_EXCEPTION_OK): Likewise.
10288 (IGNORE_ZERO_INF_SIGN): Likewise.
10289 (ERRNO_UNCHANGED): Likewise.
10290 (ERRNO_EDOM): Likewise.
10291 (ERRNO_ERANGE): Likewise.
10292 (test_exceptions): Handle testing "inexact" exceptions.
10293 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10294 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10295 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10296 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10298 (rint_towardzero_test_data): Likewise.
10299 (rint_downward_test_data): Likewise.
10300 (rint_upward_test_data): Likewise.
10302 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10303 with OVERFLOW_EXCEPTION.
10304 (exp10_test_data): Likewise.
10305 (exp2_test_data): Likewise.
10306 (expm1_test_data): Likewise.
10307 (lgamma_test_data): Likewise.
10308 (pow_test_data): Likewise.
10309 (tgamma_test_data): Likewise.
10310 (yn_test_data): Remove duplicate test of overflow.
10312 * math/libm-test.inc (struct test_cc_c_data): New type.
10313 (RUN_TEST_LOOP_cc_c): New macro.
10314 (cpow_test_data): New variable.
10315 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10317 * math/libm-test.inc (struct test_f_L_data): New type.
10318 (RUN_TEST_LOOP_f_L): New macro.
10319 (llrint_test_data): New variable.
10320 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10321 (llrint_tonearest_test_data): New variable.
10322 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10323 (llrint_towardzero_test_data): New variable.
10324 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10325 (llrint_downward_test_data): New variable.
10326 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10327 (llrint_upward_test_data): New variable.
10328 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10329 (llround_test_data): New variable.
10330 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10332 2013-05-13 Peter Collingbourne <pcc@google.com>
10334 * math/atest-exp2.c (get_log2): Remove const attribute.
10336 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10338 * math/libm-test.inc (struct test_f_l_data): New type.
10339 (RUN_TEST_LOOP_f_l): New macro.
10340 (lrint_test_data): New variable.
10341 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10342 (lrint_tonearest_test_data): New variable.
10343 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10344 (lrint_towardzero_test_data): New variable.
10345 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10346 (lrint_downward_test_data): New variable.
10347 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10348 (lrint_upward_test_data): New variable.
10349 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10350 (lround_test_data): New variable.
10351 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10353 2013-05-15 Peter Collingbourne <pcc@google.com>
10355 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10356 (EXTRACT_WORDS64) Use where appropriate.
10357 (INSERT_WORDS64) Likewise.
10359 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10360 constraints with x constraints.
10361 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10363 * malloc/obstack.c (_obstack_compat): Add initializer.
10365 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10367 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10368 si_trapno and add si_addr_lsb to _sifields.sigfault.
10369 (si_trapno): Remove macro.
10370 (si_addr_lsb): Define new macro.
10371 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10373 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10375 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10376 instead of TEST_f_l.
10377 (llrint_test_tonearest): Likewise.
10378 (llrint_test_towardzero): Likewise.
10379 (llrint_test_downward): Likewise.
10380 (llrint_test_upward): Likewise.
10381 (llround_test): Likewise.
10383 * math/libm-test.inc (struct test_f_i_data): Add comment.
10384 (RUN_TEST_LOOP_f_b): New macro.
10385 (RUN_TEST_LOOP_f_b_tg): Likewise.
10386 (finite_test_data): New variable.
10387 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10388 (isfinite_test_data): New variable.
10389 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10390 (isinf_test_data): New variable.
10391 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10392 (isnan_test_data): New variable.
10393 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10394 (isnormal_test_data): New variable.
10395 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10396 (issignaling_test_data): New variable.
10397 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10398 (signbit_test_data): New variable.
10399 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10401 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10402 with INVALID_EXCEPTION.
10403 (acosh_test_data): Likewise.
10404 (asin_test_data): Likewise.
10405 (atanh_test_data): Likewise.
10406 (fmod_test_data): Likewise.
10407 (log_test_data): Likewise.
10408 (log10_test_data): Likewise.
10409 (log2_test_data): Likewise.
10410 (pow_test_data): Likewise.
10411 (sqrt_test_data): Likewise.
10412 (y0_test_data): Likewise.
10413 (y1_test_data): Likewise.
10414 (yn_test_data): Likewise.
10416 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10419 * math/libm-test.inc (struct test_ff_i_data): New type.
10420 (RUN_TEST_LOOP_ff_i_tg): New macro.
10421 (isgreater_test_data): New variable.
10422 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10423 (isgreaterequal_test_data): New variable.
10424 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10425 (isless_test_data): New variable.
10426 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10427 (islessequal_test_data): New variable.
10428 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10429 (islessgreater_test_data): New variable.
10430 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10431 (isunordered_test_data): New variable.
10432 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10434 2013-05-14 David S. Miller <davem@davemloft.net>
10436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10438 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10440 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10442 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10444 (struct test_f_i_data): Change type of max_ulp to int.
10446 * math/libm-test.inc (test_ffI_f1_data): New type.
10447 (RUN_TEST_LOOP_ffI_f1): New macro.
10448 (remquo_test_data): New variable.
10449 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10451 * setjmp/tst-setjmp-fp.c: New file.
10452 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10453 (link-libm): New variable.
10454 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10456 * math/libm-test.inc (struct test_f_i_data): New type.
10457 (RUN_TEST_LOOP_f_i): New macro.
10458 (RUN_TEST_LOOP_f_i_tg): Likewise.
10459 (fpclassify_test_data): New variable.
10460 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10461 (ilogb_test_data): New variable.
10462 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10464 * math/libm-test.inc (scalbln_test): Correct function name in END
10467 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10468 (RUN_TEST_LOOP_fI_f1): New macro.
10469 (frexp_test_data): New variable.
10470 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10472 * math/libm-test.inc (struct test_fF_f1_data): New type.
10473 (RUN_TEST_LOOP_fF_f1): New macro.
10474 (modf_test_data): New variable.
10475 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10477 * math/libm-test.inc (struct test_f_f1_data): New type.
10478 (RUN_TEST_LOOP_f_f1): New macro.
10479 (gamma_test_data): New variable.
10480 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10481 (lgamma_test_data): New variable.
10482 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10484 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10486 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10487 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10488 (main): Comment "tls" pseudo-hwcap.
10490 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10492 * math/libm-test.inc (struct test_fl_f_data): New type.
10493 (RUN_TEST_LOOP_fl_f): New variable.
10494 (scalbln_test_data): New variable.
10495 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10497 * math/libm-test.inc (struct test_fi_f_data): New type.
10498 (RUN_TEST_LOOP_fi_f): New macro.
10499 (ldexp_test_data): New variable.
10500 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10501 (scalbn_test_data): New variable.
10502 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10504 * math/libm-test.inc (struct test_c_f_data): New type.
10505 (RUN_TEST_LOOP_c_f): New macro.
10506 (cabs_test_data): New variable.
10507 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10508 (carg_test_data): New variable.
10509 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10510 (cimag_test_data): New variable.
10511 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10512 (creal_test_data): New variable.
10513 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10515 * math/libm-test.inc (struct test_if_f_data): New type.
10516 (RUN_TEST_LOOP_if_f): New macro.
10517 (jn_test_data): New variable.
10518 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10519 (yn_test_data): New variable.
10520 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10522 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10524 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10527 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10529 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10531 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10532 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10533 (bench-deps): Add bench-timing.h.
10534 * benchtests-bench-skeleton.c: Include bench-timing.h.
10535 (main): Use TIMING_* macros instead of clock_gettime.
10536 * benchtests/bench-timing.h: New file.
10539 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10540 Renamed from _LIB_VERSION.
10541 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10543 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10545 * math/libm-test.inc (struct test_fff_f_data): New type.
10546 (RUN_TEST_LOOP_fff_f): New macro.
10547 (fma_test_data): New variable.
10548 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10549 (fma_towardzero_test_data): New variable.
10550 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10551 (fma_downward_test_data): New variable.
10552 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10553 (fma_upward_test_data): New variable.
10554 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10556 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10557 (struct test_c_c_data): New type.
10558 (RUN_TEST_LOOP_c_c): New macro.
10559 (cacos_test_data): New variable.
10560 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10561 (cacosh_test_data): New variable.
10562 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10563 (casin_test_data): New variable.
10564 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10565 (casinh_test_data): New variable.
10566 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10567 (catan_test_data): New variable.
10568 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10569 (catanh_test_data): New variable.
10570 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10571 (ccos_test_data): New variable.
10572 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10573 (ccosh_test_data): New variable.
10574 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10575 (cexp_test_data): New variable.
10576 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10577 (clog_test_data): New variable.
10578 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10579 (clog10_test_data): New variable.
10580 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10581 (conj_test_data): New variable.
10582 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10583 (cproj_test_data): New variable.
10584 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10585 (csin_test_data): New variable.
10586 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10587 (csinh_test_data): New variable.
10588 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10589 (csqrt_test_data): New variable.
10590 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10591 (ctan_test_data): New variable.
10592 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10593 (ctan_tonearest_test_data): New variable.
10594 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10595 (ctan_towardzero_test_data): New variable.
10596 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10597 (ctan_downward_test_data): New variable.
10598 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10599 (ctan_upward_test_data): New variable.
10600 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10601 (ctanh_test_data): New variable.
10602 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10603 (ctanh_tonearest_test_data): New variable.
10604 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10605 (ctanh_towardzero_test_data): New variable.
10606 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10607 (ctanh_downward_test_data): New variable.
10608 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10609 (ctanh_upward_test_data): New variable.
10610 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10611 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10614 * math/libm-test.inc (struct test_ff_f_data): New type.
10615 (struct test_ff_f_data_nexttoward): Likewise.
10616 (RUN_TEST_LOOP_2_f): New macro.
10617 (RUN_TEST_LOOP_ff_f): Likewise.
10618 (atan2_test_data): New variable.
10619 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10620 (copysign_test_data): New variable.
10621 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10622 (fdim_test_data): New variable.
10623 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10624 (fmax_test_data): New variable.
10625 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10626 (fmin_test_data): New variable.
10627 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10628 (fmod_test_data): New variable.
10629 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10630 (hypot_test_data): New variable.
10631 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10632 (nextafter_test_data): New variable.
10633 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10634 (nexttoward_test_data): New variable.
10635 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10636 (pow_test_data): New variable.
10637 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10638 (pow_tonearest_test_data): New variable.
10639 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10640 (pow_towardzero_test_data): New variable.
10641 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10642 (pow_downward_test_data): New variable.
10643 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10644 (pow_upward_test_data): New variable.
10645 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10646 (remainder_test_data): New variable.
10647 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10648 (scalb_test_data): New variable.
10649 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10650 * sysdeps/i386/fpu/libm-test-ulps: Update.
10652 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10654 * math/libm-test.inc (fma_test): Use max_value instead of local
10656 (nextafter_test): Likewise.
10658 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10659 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10660 (acos_downward_test_data): New variable.
10661 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10662 (acos_upward_test_data): New variable.
10663 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10664 (acosh_test_data): New variable.
10665 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10666 (asin_test_data): New variable.
10667 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10668 (asin_tonearest_test_data): New variable.
10669 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10670 (asin_towardzero_test_data): New variable.
10671 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10672 (asin_downward_test_data): New variable.
10673 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10674 (asin_upward_test_data): New variable.
10675 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10676 (asinh_test_data): New variable.
10677 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10678 (atan_test_data): New variable.
10679 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10680 (atanh_test_data): New variable.
10681 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10682 (cbrt_test_data): New variable.
10683 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10684 (ceil_test_data): New variable.
10685 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10686 (cos_test_data): New variable.
10687 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10688 (cos_tonearest_test_data): New variable.
10689 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10690 (cos_towardzero_test_data): New variable.
10691 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10692 (cos_downward_test_data): New variable.
10693 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10694 (cos_upward_test_data): New variable.
10695 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10696 (cosh_test_data): New variable.
10697 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10698 (cosh_tonearest_test_data): New variable.
10699 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10700 (cosh_towardzero_test_data): New variable.
10701 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10702 (cosh_downward_test_data): New variable.
10703 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10704 (cosh_upward_test_data): New variable.
10705 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10706 (erf_test_data): New variable.
10707 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10708 (erfc_test_data): New variable.
10709 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10710 (exp_test_data): New variable.
10711 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10712 (exp_tonearest_test_data): New variable.
10713 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10714 (exp_towardzero_test_data): New variable.
10715 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10716 (exp_downward_test_data): New variable.
10717 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10718 (exp_upward_test_data): New variable.
10719 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10720 (exp10_test_data): New variable.
10721 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10722 (exp2_test_data): New variable.
10723 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10724 (expm1_test_data): New variable.
10725 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10726 (fabs_test_data): New variable.
10727 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10728 (floor_test_data): New variable.
10729 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10730 (j0_test_data): New variable.
10731 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10732 (j1_test_data): New variable.
10733 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10734 (log_test_data): New variable.
10735 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10736 (log10_test_data): New variable.
10737 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10738 (log1p_test_data): New variable.
10739 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10740 (log2_test_data): New variable.
10741 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10742 (logb_test_data): New variable.
10743 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10744 (logb_downward_test_data): New variable.
10745 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10746 (nearbyint_test_data): New variable.
10747 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10748 (rint_test_data): New variable.
10749 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10750 (rint_tonearest_test_data): New variable.
10751 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10752 (rint_towardzero_test_data): New variable.
10753 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10754 (rint_downward_test_data): New variable.
10755 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10756 (rint_upward_test_data): New variable.
10757 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10758 (round_test_data): New variable.
10759 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10760 (sin_test_data): New variable.
10761 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10762 (sin_tonearest_test_data): New variable.
10763 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10764 (sin_towardzero_test_data): New variable.
10765 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10766 (sin_downward_test_data): New variable.
10767 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10768 (sin_upward_test_data): New variable.
10769 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10770 (sinh_test_data): New variable.
10771 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10772 (sinh_tonearest_test_data): New variable.
10773 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10774 (sinh_towardzero_test_data): New variable.
10775 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10776 (sinh_downward_test_data): New variable.
10777 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10778 (sinh_upward_test_data): New variable.
10779 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10780 (sqrt_test_data): New variable.
10781 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10782 (tan_test_data): New variable.
10783 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10784 (tan_tonearest_test_data): New variable.
10785 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10786 (tan_towardzero_test_data): New variable.
10787 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10788 (tan_downward_test_data): New variable.
10789 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10790 (tan_upward_test_data): New variable.
10791 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10792 (tanh_test_data): New variable.
10793 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10794 (tgamma_test_data): New variable.
10795 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10796 (trunc_test_data): New variable.
10797 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10798 (y0_test_data): New variable.
10799 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10800 (y1_test_data): New variable.
10801 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10802 (significand_test_data): New variable.
10803 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10805 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10808 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10810 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10812 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10814 2013-05-10 Andreas Jaeger <aj@suse.de>
10817 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10818 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10820 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10822 * math/gen-libm-test.pl (adjust_arg): New function.
10823 (special_functions): Handle generating output in both functions
10825 (parse_args): Likewise.
10826 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10827 $in_func argument to parse_args.
10828 * math/libm-test.inc (struct test_f_f_data): New type.
10829 (IF_ROUND_INIT_): New macro.
10830 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10831 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10832 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10833 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10834 (ROUND_RESTORE_): Likewise.
10835 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10836 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10837 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10838 (ROUND_RESTORE_FE_UPWARD): Likewise.
10839 (RUN_TEST_LOOP_f_f): New macro.
10840 (acos_test_data): New variable.
10841 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10842 (acos_tonearest_test_data): New variable.
10843 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10845 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10847 * benchtests/bench-skeleton.c (startup): Fix coding style.
10849 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10852 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10853 negative infinity argument.
10854 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10855 negative infinity argument.
10856 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10857 negative infinity argument.
10858 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10861 2013-05-10 Florian Weimer <fweimer@redhat.com>
10863 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10864 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10865 * iconv/iconv_prog.c (main): Likewise.
10866 * locale/programs/charmap-dir.c (charmap_readdir)
10867 (fopen_uncompressed): Likewise.
10868 * locale/programs/locfile.c (siblings_uncached)
10869 (write_locale_data): Use lstat64 instead of lstat.
10870 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10873 2013-05-10 Andreas Jaeger <aj@suse.de>
10876 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10878 Include <locale.h>.
10880 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10882 * elf/dl-close.c (_dl_close_worker): Add comments.
10884 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10887 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10889 (__ieee754_rem_pio2l): Update comments.
10892 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10894 (__ieee754_rem_pio2l): Update comments.
10896 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10897 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10899 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10902 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10903 (M_PI_34_LOG10El): Likewise.
10904 (M_PI2_LOG10El): Likewise.
10905 (M_PI4_LOG10El): Likewise.
10906 (M_PI_LOG10El): Likewise.
10908 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10912 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10914 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10915 (MINUS_ZERO_INIT): Likewise.
10916 (PLUS_INFTY_INIT): Likewise.
10917 (MINUS_INFTY_INIT): Likewise.
10918 (QNAN_VALUE_INIT): Likewise.
10919 (MAX_VALUE_INIT): Likewise.
10920 (MIN_VALUE_INIT): Likewise.
10921 (MIN_SUBNORM_VALUE_INIT): Likewise.
10922 (plus_zero): Initialize with PLUS_ZERO_INIT.
10923 (minus_zero): Initialize with MINUS_ZERO_INIT.
10924 (plus_infty): Initialize with PLUS_INFTY_INIT.
10925 (minus_infty): Initialize with MINUS_INFTY_INIT.
10926 (qnan_value): Initialize with QNAN_VALUE_INIT.
10927 (max_value): Initialize with MAX_VALUE_INIT.
10928 (min_value): Initialize with MIN_VALUE_INIT.
10929 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10931 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10932 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10933 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10934 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10936 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10937 (RUN_TEST_2_f): Likewise.
10938 (RUN_TEST_ff_f): Likewise.
10939 (RUN_TEST_fi_f): Likewise.
10940 (RUN_TEST_fl_f): Likewise.
10941 (RUN_TEST_fff_f): Likewise.
10942 (RUN_TEST_c_f): Likewise.
10943 (RUN_TEST_f_f1): Likewise.
10944 (RUN_TEST_fF_f1): Likewise.
10945 (RUN_TEST_fI_f1): Likewise.
10946 (RUN_TEST_ffI_f1): Likewise.
10947 (RUN_TEST_c_c): Likewise.
10948 (RUN_TEST_cc_c): Likewise.
10949 (RUN_TEST_f_i): Likewise.
10950 (RUN_TEST_f_i_tg): Likewise.
10951 (RUN_TEST_ff_i_tg): Likewise.
10952 (RUN_TEST_f_b): Likewise.
10953 (RUN_TEST_f_b_tg): Likewise.
10954 (RUN_TEST_f_l): Likewise.
10955 (RUN_TEST_f_L): Likewise.
10956 (RUN_TEST_sincos): Likewise.
10957 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10958 whether to show exceptions. Do not include ");\n" in return
10960 (special_functions): Output call to RUN_TEST_sincos instead of
10961 check_float calls. Update calls to new_test.
10962 (parse_args): Output call to single RUN_TEST_* macro instead of
10963 check_* calls and other assignments. Update calls to new_test.
10969 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10970 input to result for tgamma overflow.
10971 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10972 (gamma_coeff): New variable.
10973 (NCOEFF): New macro.
10974 (gamma_positive): New function.
10975 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10976 underflow here. Use gamma_positive instead of exp (lgamma) for
10978 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10979 (gamma_coeff): New variable.
10980 (NCOEFF): New macro.
10981 (gammaf_positive): New function.
10982 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10983 underflow here. Use gamma_positive instead of exp (lgamma) for
10985 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10986 (gamma_coeff): New variable.
10987 (NCOEFF): New macro.
10988 (gammal_positive): New function.
10989 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10990 underflow here. Use gamma_positive instead of exp (lgamma) for
10992 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10993 (gamma_coeff): New variable.
10994 (NCOEFF): New macro.
10995 (gammal_positive): New function.
10996 (__ieee754_gammal_r): Handle positive infinity, overflow and
10997 underflow here. Handle NaN the same as positive infinity. Remove
10998 check x < 0xffffffff for negative integers. Use gamma_positive
10999 instead of exp (lgamma) for other arguments.
11000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11001 (gamma_coeff): New variable.
11002 (NCOEFF): New macro.
11003 (gammal_positive): New function.
11004 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11005 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11009 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11010 * sysdeps/generic/math_private.h (__gamma_productf): New
11012 (__gamma_product): Likewise.
11013 (__gamma_productl): Likewise.
11014 * math/Makefile (libm-calls): Add gamma_product.
11015 * math/libm-test.inc (tgamma_test): Add more tests.
11016 * sysdeps/i386/fpu/libm-test-ulps: Update.
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11019 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11021 * benchtests/bench-skeleton.c (main): Preheat CPU.
11023 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11025 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11027 2013-05-07 Roland McGrath <roland@hack.frob.com>
11029 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11030 and _dl_skip_args_internal.
11032 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11034 * manual/message.texi (Message Translation): Talk about users.
11035 Message to key mapping impacts design.
11037 2013-05-06 Roland McGrath <roland@hack.frob.com>
11039 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11041 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11043 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11044 * sysdeps/wordsize-64/glob64.c: ... here.
11046 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11047 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11050 * debug/getlogin_r_chk.c: Moved to ...
11051 * login/getlogin_r_chk.c: ... here.
11052 * debug/Makefile (routines): Move getlogin_r_chk to ...
11053 * login/Makefile (routines): ... here.
11054 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11055 * login/Versions (libc: GLIBC_2.4): ... here.
11057 * io/poll.c (__poll): Renamed from poll.
11058 Add libc_hidden_def.
11059 (poll): Define as weak alias.
11061 * debug/ptsname_r_chk.c: Moved to ...
11062 * login/ptsname_r_chk.c: ... here.
11063 * debug/Makefile (routines): Move ptsname_r_chk to ...
11064 * login/Makefile (routines): ... here.
11065 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11066 * login/Versions (libc: GLIBC_2.4): ... here.
11068 * posix/getlogin.c: Moved to ...
11069 * login/getlogin.c: ... here.
11070 * posix/getlogin_r.c: Moved to ...
11071 * login/getlogin_r.c: ... here.
11072 * posix/getlogin_r.c: Moved to ...
11073 * login/getlogin_r.c: ... here.
11074 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11075 * login/Makefile (routines): ... here.
11076 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11077 * login/Versions (libc: GLIBC_2.0): ... here.
11079 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11080 (setrlimit): Define as weak alias.
11082 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11083 Call __ names for open, ftruncate, and close.
11084 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11085 (truncate): Define as weak alias.
11087 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11089 * math/gen-libm-test.pl (parse_args): Initialize x before each
11090 test of frexp, modf and remquo.
11092 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11093 test signgam value.
11095 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11099 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11101 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11103 2013-05-06 Roland McGrath <roland@hack.frob.com>
11105 * elf/dl-writev.h: New file.
11106 * elf/dl-misc.c: Include it.
11107 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11108 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11110 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11112 * math/libm-test.inc (noXFails): Remove variable.
11113 (noXPasses): Likewise.
11114 (BUILD_COMPLEX_INT): Remove macro.
11115 (print_screen): Remove xfail argument.
11116 (print_screen_max_error): Likewise.
11117 (update_stats): Likewise.
11118 (print_max_error): Likewise. Update calls to other affected
11120 (print_complex_max_error): Likewise.
11121 (test_single_exception): Update calls to print_screen.
11122 (test_single_errno): Likewise.
11123 (check_float_internal): Remove xfail argument. Update calls to
11124 other affected functions.
11125 (check_float): Likewise.
11126 (check_complex): Likewise.
11127 (check_int): Likewise.
11128 (check_long): Likewise.
11129 (check_bool): Likewise.
11130 (check_longlong): Likewise.
11131 (main): Don't print noXFails and noXPasses.
11132 * math/gen-libm-test.pl (top level): Don't mention expected
11133 failure handling in comment.
11134 (new_test): Don't handle expected failures.
11135 (parse_args): Don't mention expected failure handling in comment.
11136 (generate_testfile): Don't handle expected failures.
11137 (parse_ulps): Likewise.
11138 (print_ulps_file): Likewise.
11139 (get_failure): Remove function.
11140 (output_test): Don't handle expected failures.
11141 * make/README.libm-test: Don't mention expected failure handling.
11143 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11144 (minus_zero): Likewise.
11145 (plus_infty): Likewise.
11146 (minus_infty): Likewise.
11147 (qnan_value): Likewise.
11148 (max_value): Likewise.
11149 (min_value): Likewise.
11150 (min_subnorm_value): Likewise.
11151 (initialize): Do not initialize those variables dynamically.
11153 2013-05-03 Roland McGrath <roland@hack.frob.com>
11155 * io/open.c (__open_2): Moved to ...
11156 * io/open_2.c: ... this new file.
11157 * io/open64.c (__open64_2): Moved to ...
11158 * io/open64_2.c: ... this new file.
11159 * io/openat.c (__openat_2): Moved to ...
11160 * io/openat_2.c: ... this new file.
11161 * io/openat64.c (__openat64_2): Moved to ...
11162 * io/openat64_2.c: ... this new file.
11163 * io/Makefile (routines): Add them.
11164 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11165 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11166 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11167 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11168 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11169 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11170 (__openat64): Add hidden_ver.
11171 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11172 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11174 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11175 Separately conditionalize setting of GLRO(dl_sysinfo) so
11176 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11177 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11179 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11181 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11182 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11184 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11185 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11186 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11187 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11188 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11190 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11192 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11193 test signgam value.
11195 * math/libm-test.inc (hypot_test): Do not use
11196 IGNORE_ZERO_INF_SIGN.
11198 2013-05-03 Andreas Jaeger <aj@suse.de>
11200 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11202 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11203 (PF_MAX): Adjust for VSOCK change.
11205 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11209 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11212 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11213 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11214 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11216 2013-05-02 David S. Miller <davem@davemloft.net>
11218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11220 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11222 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11224 2013-05-01 Roland McGrath <roland@hack.frob.com>
11226 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11228 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11231 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11232 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11233 Use __attribute__ ((__gnu_inline__)).
11234 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11235 Don't use __attribute__ ((__gnu_inline__)).
11237 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11240 * math/s_catan.c (__catan): Handle small real or imaginary part of
11241 input specially to avoid spurious underflow.
11242 * math/s_catanf.c (__catanf): Likewise.
11243 * math/s_catanh.c (__catanh): Likewise.
11244 * math/s_catanhf.c (__catanhf): Likewise.
11245 * math/s_catanhl.c (__catanhl): Likewise.
11246 * math/s_catanl.c (__catanl): Likewise.
11247 * math/libm-test.inc (catan_test): Add more tests.
11248 (catanh_test): Likewise.
11249 * sysdeps/i386/fpu/libm-test-ulps: Update.
11250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11252 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11256 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11259 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11260 accurately for denominator in atan2.
11261 * math/s_catanf.c (__catanf): Likewise.
11262 * math/s_catanh.c (__catanh): Likewise.
11263 * math/s_catanhf.c (__catanhf): Likewise.
11264 * math/s_catanhl.c (__catanhl): Likewise.
11265 * math/s_catanl.c (__catanl): Likewise.
11266 * math/libm-test.inc (catan_test): Add more tests.
11267 (catanh_test): Likewise.
11268 * sysdeps/i386/fpu/libm-test-ulps: Update.
11269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11271 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11273 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11275 * benchtests/Makefile (bench): Remove slow benchmarks.
11276 * benchtests/atan-inputs: Add slow benchmark inputs.
11277 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11278 (BENCH_FUNC): Accept variant offset.
11280 * benchtests/bench-skeleton.c (main): Run benchmark for each
11282 * benchtests/cos-inputs: Add slow benchmark inputs.
11283 * benchtests/exp-inputs: Likewise.
11284 * benchtests/pow-inputs: Likewise.
11285 * benchtests/sin-inputs: Likewise.
11286 * benchtests/slowatan-inputs: Remove.
11287 * benchtests/slowatan.c: Remove.
11288 * benchtests/slowcos-inputs: Remove.
11289 * benchtests/slowcos.c: Remove.
11290 * benchtests/slowexp-inputs: Remove.
11291 * benchtests/slowexp.c: Remove.
11292 * benchtests/slowpow-inputs: Remove.
11293 * benchtests/slowpow.c: Remove.
11294 * benchtests/slowsin-inputs: Remove.
11295 * benchtests/slowsin.c: Remove.
11296 * benchtests/slowtan-inputs: Remove.
11297 * benchtests/slowtan.c: Remove.
11298 * benchtests/tan-inputs: Add slow benchmark inputs.
11299 * scripts/bench.pl: Parse comments and directives.
11301 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11303 ($(objpfx)bench-%.c): Remove *-ITER.
11304 * benchtests/bench-modf.c: Remove definition of ITER.
11305 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11306 (main): Loop for DURATION seconds instead of fixed number of
11308 * scripts/bench.pl: Don't expect iterations in parameters.
11310 2013-04-29 Roland McGrath <roland@hack.frob.com>
11312 * io/fchdir.c (__fchdir): Renamed from fchdir.
11313 (fchdir): Define as weak alias.
11315 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11317 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11318 (ERRNO_EDOM): Likewise.
11319 (ERRNO_ERANGE): Likewise.
11320 (noErrnoTests): New variable.
11321 (init_max_error): Set errno to 0.
11322 (test_single_errno): New function.
11323 (test_errno): Likewise.
11324 (check_float_internal): Call test_errno. Set errno to 0.
11325 (check_complex): Refer to errno tests in comment.
11326 (check_int): Call test_errno. Set errno to 0.
11327 (check_long): Likewise.
11328 (check_bool): Likewise.
11329 (check_longlong): Likewise.
11330 (cos_test): Use ERRNO_* flags for errno tests instead of
11332 (expm1_test): Likewise.
11333 (fmod_test): Likewise.
11334 (ilogb_test): Likewise.
11335 (lgamma_test): Likewise.
11336 (pow_test): Likewise.
11337 (remainder_test): Likewise.
11338 (sin_test): Likewise.
11339 (tan_test): Likewise.
11340 (yn_test): Likewise.
11341 (initialize): Set errno to 0.
11342 (main): Print number of errno tests.
11343 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11345 2013-04-29 Andreas Jaeger <aj@suse.de>
11348 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11352 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11353 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11357 * stdlib/random.c (__initstate): Return NULL if
11361 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11362 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11365 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11369 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11371 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11372 of individual tests.
11373 (casin_test): Likewise.
11374 (casinh_test): Likewise.
11376 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11379 * math/s_catan.c (__catan): Handle arguments with large real or
11380 imaginary part separately without squaring.
11381 * math/s_catanf.c (__catanf): Likewise.
11382 * math/s_catanh.c (__catanh): Likewise.
11383 * math/s_catanhf.c (__catanhf): Likewise.
11384 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11386 (__catanhl): Handle arguments with large real or imaginary part
11387 separately without squaring.
11388 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11390 (__catanl): Handle arguments with large real or imaginary part
11391 separately without squaring.
11392 * math/libm-test.inc (catan_test): Add more tests.
11393 (catanh_test): Likewise.
11394 * sysdeps/i386/fpu/libm-test-ulps: Update.
11395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11397 2013-04-27 Andreas Jaeger <aj@suse.de>
11400 * stdlib/stdlib.h: Update guards for qecvt.
11401 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11404 2013-04-27 Allan McRae <allan@archlinux.org>
11406 * sysdeps/i386/fpu/libm-test-ulps: Update.
11408 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11411 * math/s_catan.c: Include <float.h>.
11412 (__catan): Ensure underflow exception occurs for underflowed
11414 * math/s_catanf.c: Include <float.h>.
11415 (__catanf): Ensure underflow exception occurs for underflowed
11417 * math/s_catanh.c: Include <float.h>.
11418 (__catanh): Ensure underflow exception occurs for underflowed
11420 * math/s_catanhf.c: Include <float.h>.
11421 (__catanhf): Ensure underflow exception occurs for underflowed
11423 * math/s_catanhl.c: Include <float.h>.
11424 (__catanhl): Ensure underflow exception occurs for underflowed
11426 * math/s_catanl.c: Include <float.h>.
11427 (__catanl): Ensure underflow exception occurs for underflowed
11429 * math/libm-test.inc (catan_test): Add more tests.
11430 (catanh_test): Likewise.
11433 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11434 underflowed result.
11435 * math/s_ccoshf.c (__ccoshf): Likewise.
11436 * math/s_ccoshl.c (__ccoshl): Likewise.
11437 * math/s_csin.c (__csin): Likewise.
11438 * math/s_csinf.c (__csinf): Likewise.
11439 * math/s_csinh.c (__csinh): Likewise.
11440 * math/s_csinhf.c (__csinhf): Likewise.
11441 * math/s_csinhl.c (__csinhl): Likewise.
11442 * math/s_csinl.c (__csinl): Likewise.
11443 * math/libm-test.inc (ccos_test): Add more tests.
11444 (ccosh_test): Likewise.
11445 (csin_test): Likewise.
11446 (csinh_test): Likewise.
11448 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11450 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11451 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11452 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11453 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11454 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11455 powerpc/power5+/fpu folders.
11456 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11459 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11463 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11465 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11466 additions to variable.
11467 [$(config-machine) = x86_64] (modules-names): Likewise.
11468 ($(objpfx)tst-audit3): Remove dependency.
11469 ($(objpfx)tst-audit3.out): Likewise.
11470 ($(objpfx)tst-audit4): Likewise.
11471 ($(objpfx)tst-audit4.out): Likewise.
11472 ($(objpfx)tst-audit5): Likewise.
11473 ($(objpfx)tst-audit5.out): Likewise.
11474 ($(objpfx)tst-audit6): Likewise.
11475 ($(objpfx)tst-audit6.out): Likewise.
11476 ($(objpfx)tst-audit7): Likewise.
11477 ($(objpfx)tst-audit7.out): Likewise.
11478 (tst-audit3-ENV): Remove variable.
11479 (tst-audit4-ENV): Likewise.
11480 (tst-audit5-ENV): Likewise.
11481 (tst-audit6-ENV): Likewise.
11482 (tst-audit7-ENV): Likewise.
11483 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11484 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11485 addition to variable.
11486 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11487 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11488 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11489 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11490 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11491 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11492 tst-audit3, tst-audit4 and tst-audit5.
11493 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11494 tst-audit6 and tst-audit7.
11495 [$(subdir) = elf] (modules-names): Add audit modules for those
11497 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11498 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11499 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11500 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11501 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11502 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11503 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11504 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11505 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11506 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11507 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11508 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11509 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11510 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11511 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11512 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11514 [$(subdir) = elf && $(config-cflags-avx) = yes]
11515 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11516 [$(subdir) = elf && $(config-cflags-avx) = yes]
11517 (CFLAGS-tst-auditmod4a.c): Likewise.
11518 [$(subdir) = elf && $(config-cflags-avx) = yes]
11519 (CFLAGS-tst-auditmod4b.c): Likewise.
11520 [$(subdir) = elf && $(config-cflags-avx) = yes]
11521 (CFLAGS-tst-auditmod6b.c): Likewise.
11522 [$(subdir) = elf && $(config-cflags-avx) = yes]
11523 (CFLAGS-tst-auditmod6c.c): Likewise.
11524 [$(subdir) = elf && $(config-cflags-avx) = yes]
11525 (CFLAGS-tst-auditmod7b.c): Likewise.
11526 * elf/tst-audit3.c: Move to ...
11527 * sysdeps/x86_64/tst-audit3.c: ... here.
11528 * elf/tst-audit4.c: Move to ...
11529 * sysdeps/x86_64/tst-audit4.c: ... here.
11530 * elf/tst-audit5.c: Move to ...
11531 * sysdeps/x86_64/tst-audit5.c: ... here.
11532 * elf/tst-audit6.c: Move to ...
11533 * sysdeps/x86_64/tst-audit6.c: ... here.
11534 * elf/tst-audit7.c: Move to ...
11535 * sysdeps/x86_64/tst-audit7.c: ... here.
11536 * elf/tst-auditmod3a.c: Move to ...
11537 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11538 * elf/tst-auditmod3b.c: Move to ...
11539 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11540 * elf/tst-auditmod4a.c: Move to ...
11541 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11542 * elf/tst-auditmod4b.c: Move to ...
11543 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11544 * elf/tst-auditmod5a.c: Move to ...
11545 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11546 * elf/tst-auditmod5b.c: Move to ...
11547 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11548 * elf/tst-auditmod6a.c: Move to ...
11549 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11550 * elf/tst-auditmod6b.c: Move to ...
11551 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11552 * elf/tst-auditmod6c.c: Move to ...
11553 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11554 * elf/tst-auditmod7a.c: Move to ...
11555 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11556 * elf/tst-auditmod7b.c: Move to ...
11557 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11559 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11562 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11563 define unconditionally.
11564 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11565 define unconditionally.
11566 (INT8_C, INT16_C, etc.): Likewise.
11568 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11570 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11571 __ehdr_start with hidden visibility.
11573 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11575 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11577 * math/libm-test.inc (cos_test): Use accurate hex constants.
11578 (sincost_test): Likewise.
11580 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11582 * math/libm-test.inc (catan_test): Add more tests.
11583 (catanh_test): Likewise.
11585 * math/s_catanf.c (__catanf): Use suffixed floating-point
11587 * math/s_catanhf.c (__catanhf): Likewise.
11588 * math/s_catanhl.c (__catanhl): Likewise.
11589 * math/s_catanl.c (__catanl): Likewise.
11592 * math/s_catan.c (__catan): Calculate imaginary part of result
11593 with log1p not log unless computing log of number close to 0.
11594 * math/s_catanf.c (__catanf): Likewise.
11595 * math/s_catanl.c (__catanl): Likewise.
11596 * math/s_catanh.c (__catanh): Calculate real part of result with
11597 log1p not log unless computing log of number close to 0.
11598 * math/s_catanhf.c (__catanhf): Likewise.
11599 * math/s_catanhl.c (__catanhl): Likewise.
11600 * math/libm-test.inc (catan_test): Add more tests.
11601 (catanh_test): Likewise.
11602 * sysdeps/i386/fpu/libm-test-ulps: Update.
11603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11607 * benchtests/Makefile: Mention files in which fast and slow
11608 paths of math functions are implemented.
11610 2013-04-23 Roland McGrath <roland@hack.frob.com>
11612 * sysdeps/posix/timespec_get.c: New file.
11614 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11616 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11618 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11620 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11621 powerpc/power5/fpu folders.
11622 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11623 * benchtests/Makefile: Add modf testcase.
11624 * benchtests/bench-modf.c: New file: Benchmark test for mo
11626 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11629 * time/Makefile (tests): Add tst-strptime-whitespace.
11630 * time/strptime_l.c (get_number): Use ISSPACE.
11631 (__strptime_internal): Likewise.
11632 * time/tst-strptime-whitespace.c: New test case.
11634 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11636 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11638 (_nss_files_init): Set it here.
11640 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11642 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11643 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11646 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11648 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11650 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11652 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11655 2013-04-21 David S. Miller <davem@davemloft.net>
11657 * po/ru.po: Update Russion translation from translation project.
11659 2013-04-17 Adam Conrad <adconrad@0c3.net>
11661 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11664 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11666 * configure.in: Remove i386 configure warning. Remove i386 case.
11667 * configure: Regenerate.
11668 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11669 Add example to error message.
11670 * sysdeps/i386/configure: Regenerate.
11672 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11674 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11676 * benchtests/cos-inputs: New file.
11677 * benchtests/slowcos-inputs: New file.
11678 * benchtests/slowcos.c: New file.
11679 * benchtests/slowtan-inputs: New file.
11680 * benchtests/slowtan.c: New file.
11681 * benchtests/tan-inputs: New file.
11683 2013-04-16 Roland McGrath <roland@hack.frob.com>
11685 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11688 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11690 * benchtests/Makefile: Include cppflags-iterator.mk to add
11691 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11693 * Makefile.in (bench-clean): New target.
11694 * benchtests/Makefile (bench-clean): Likewise.
11696 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11698 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11700 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11702 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11704 2013-04-15 Andreas Schwab <schwab@suse.de>
11706 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11708 * nscd/pwdcache.c (cache_addpw): Likewise.
11709 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11712 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11714 * benchtests/Makefile (bench): Write all output to
11715 bench-out.tmp together.
11717 2013-04-15 Andreas Schwab <schwab@suse.de>
11719 * nscd/nscd.c (main): Don't fork again after closing files.
11721 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11723 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11725 * benchtests/Rules (bench-deps): Collect dependencies into a
11726 single variable. Add Makefile to dependencies.
11727 ($(objpfx)bench-%.c): Depend on bench-deps.
11729 2013-04-12 Roland McGrath <roland@hack.frob.com>
11730 Xavier Roche <roche+kml2@exalead.com>
11733 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11734 just that it's a file descriptor.
11735 * manual/llio.texi (Synchronizing AIO Operations): Update description
11736 for EBADF error from aio_fsync.
11738 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11740 * Rules (bench): Move target definition...
11741 * benchtests/Makefile: ... here.
11743 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11745 * math/libm-test.inc (cos_test): Fix PI/2 test.
11746 (sincos_test): Likewise.
11747 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11748 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11750 2013-04-11 Andreas Schwab <schwab@suse.de>
11753 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11754 accept exponent character only when digits were seen.
11755 * stdio-common/Makefile (tests): Add bug26.
11756 * stdio-common/bug26.c: New file.
11759 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11762 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11764 * Makeconfig (rtld-prefix): Define built linker prefix.
11765 * Rules (run-bench): Use it.
11766 * math/Makefile (run-regen-ulps): Likewise.
11768 * Rules (bench): Remove eval.
11770 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11771 Roland McGrath <roland@hack.frob.com>
11772 Ondrej Bilka <neleai@seznam.cz>
11775 * time/getdate.c: Include ctype.h and alloca.h.
11776 (__getdate_r): Trim leading and trailing spaces of input.
11777 * time/tst-getdate.c (tests): Add tests with leading and
11780 2013-04-08 Roland McGrath <roland@hack.frob.com>
11783 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11784 when computing value.
11786 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11788 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11789 Use testrun.sh to run libm tests.
11792 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11794 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11797 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11799 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11801 * Makefile.in (regen-ulps): New target.
11802 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11803 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11804 [ifneq (no,$(PERL)] (regen-ulps): New target.
11805 [ifeq (no,$(PERL)] (regen-ulps): New target.
11806 * math/libm-test.inc (ulps_file_name): Define.
11807 (output_dir): New variable.
11808 (options): Add "output-dir" option.
11809 (parse_opt): Handle 'o' case.
11810 (main): If output_dir is non-NULL use it as a prefix
11812 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11814 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11816 [BZ #10060, #10062]
11817 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11818 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11819 fail configure if __sync_val_compare_and_swap is not inlined.
11820 * sysdeps/i386/configure: Regenerate.
11821 * configure.in: Build for i686 when configured for i386.
11822 * configure: Regenerate.
11823 * README: Remove i386 reference.
11825 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11827 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11828 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11830 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11832 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11833 (lmsnanval): New variables.
11834 (F): Add conversion tests.
11835 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11836 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11838 * stdio-common/tstdiomisc.c (F): Properly collect individual
11841 [BZ #14686, #15336]
11842 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11843 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11844 Instead, use input NaN values or generate a qNaN by arithmetic
11845 operation. Also fix bugs to comply with the standard.
11846 * math/libm-test.inc (remainder_test): Add more tests.
11848 [BZ #15335, #15342]
11849 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11851 input NaN values or generate a qNaN by arithmetic operation.
11853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11856 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11859 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11862 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11863 underflowed result.
11864 * math/s_cexpf.c (__cexpf): Likewise.
11865 * math/s_cexpl.c (__cexpl): Likewise.
11866 * math/libm-test.inc (cexp_test): Add more tests.
11868 2013-04-03 Andreas Schwab <schwab@suse.de>
11871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11872 order arrays from heap if bigger than alloca cutoff.
11874 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11876 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11877 (SNAN_TESTS_double): Refer to GCC PR56831.
11878 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11881 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11883 * Rules (bench): Move bench.out after the run is complete.
11885 * Rules (bench): Echo currently running benchmark.
11887 * benchtests/Makefile (bench): Add atan and slowatan.
11888 * benchtests/atan-inputs: New file.
11889 * benchtests/slowatan-inputs: New file.
11890 * benchtests/slowatan.c: New file.
11892 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11893 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11897 * sysdeps/unix/sysv/linux/kernel-features.h
11898 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11899 __ASSUME_XFS_RESTRICTED_CHOWN.
11900 * sysdeps/unix/sysv/linux/pathconf.c
11901 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11902 Save and restore errno.
11904 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11907 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11908 arguments using __kernel_casinh.
11909 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11910 arguments using __kernel_casinhf.
11911 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11912 arguments using __kernel_casinhl.
11913 * math/libm-test.inc (cacosh_test): Add more tests.
11914 * sysdeps/i386/fpu/libm-test-ulps: Update.
11915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11917 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11919 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11922 * bench/Makefile (bench): Add sin and slowsin.
11923 * benchtests/sin-inputs: New file.
11924 * benchtests/slowsin-inputs: New file.
11925 * benchtests/slowsin.c: New file.
11927 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11928 (bench): Add slowexp and slowpow.
11929 (exp-ITER): Increase iterations.
11930 (pow-ITER): Likewise.
11931 * benchtests/exp-inputs: Change input.
11932 * benchtests/pow-inputs: Likewise.
11933 * benchtests/slowexp-inputs: New file.
11934 * benchtests/slowexp.c: New file.
11935 * benchtests/slowpow-inputs: New file.
11936 * benchtests/slowpow.c: New file.
11938 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11940 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11942 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11943 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11944 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11945 * benchtests/Makefile: Add rint benchtest.
11946 * benchtests/rint-inputs: Input for rint benchtest.
11948 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11950 * Versions.def (libm): Add GLIBC_2.18.
11951 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11952 hidden libm prototypes.
11953 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11954 * math/Makefile (libm-calls): Add s_issignaling.
11955 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11956 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11957 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11959 * math/math.h [__USE_GNU] (issignaling): New macro.
11960 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11961 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11962 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11966 * manual/arith.texi (issignaling): New section.
11967 * manual/libm-err-tab.pl (@all_functions): Update comment.
11968 * math/gen-libm-test.pl (parse_args): Apply special handling for
11970 * math/libm-test.inc (print_float, issignaling_test): New
11972 (check_float_internal): Add issignaling checks.
11973 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11974 default definition.
11975 * sysdeps/powerpc/math-tests.h: New file.
11976 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11978 * math/test-snan.c (TEST_FUNC): Likewise.
11980 2013-03-30 David S. Miller <davem@davemloft.net>
11982 * po/de.po: Update from translation team.
11984 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11987 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11988 imaginary part less than 1.0 and real part less than 0.5
11990 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11991 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11992 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11993 (cacos_test): Add more tests.
11994 (casin_test): Likewise.
11995 (casinh_test): Likewise.
11996 * sysdeps/i386/fpu/libm-test-ulps: Update.
11997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11999 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12001 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12002 ONE with its value.
12004 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12005 (__pow_mp): Replace ONE and MONE with their values.
12006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12008 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12009 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12010 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12011 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12013 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12015 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12016 (__pow_mp): Replace ZERO and MZERO with their values.
12017 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12019 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12022 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12025 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12027 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12029 2013-03-28 Roland McGrath <roland@hack.frob.com>
12031 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12032 Declare with __attribute__ ((weak)).
12033 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12034 Call __call_tls_dtors only if it's not NULL.
12036 2013-03-28 Roland McGrath <roland@hack.frob.com>
12038 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12039 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12040 magic __ehdr_start linker symbol if it's defined.
12041 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12042 them up here if it was already done.
12044 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12045 (_dl_aux_init): Use const in cast when setting it.
12046 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12047 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12048 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12050 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12052 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12053 * csu/libc-tls.c: Nor here.
12054 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12056 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12057 (__libc_message): Never call vsyslog.
12059 2013-03-28 Alan Modra <amodra@gmail.com>
12061 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12063 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12066 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12073 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12076 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12077 Don't add gid passed as argument.
12079 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12081 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12084 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12085 imaginary part between 1.0 and 1.5 and real part less than 0.5
12087 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12088 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12089 * math/libm-test.inc (cacos_test): Add more tests.
12090 (casin_test): Likewise.
12091 (casinh_test): Likewise.
12092 * sysdeps/i386/fpu/libm-test-ulps: Update.
12093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12095 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12097 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12100 (denorm): Likewise.
12101 (__dbl_mp): Likewise.
12102 (add_magnitudes): Likewise.
12103 (sub_magnitudes): Likewise.
12111 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12113 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12114 (__dubcos): Likewise.
12115 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12116 (__ieee754_acos): Likewise.
12117 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12118 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12119 (__exp1): Likewise.
12120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12123 (my_log2): Likewise.
12124 (checkint): Likewise.
12125 * sysdeps/ieee754/dbl-64/e_remainder.c
12126 (__ieee754_remainder): Likewise.
12127 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12129 (bsloww): Likewise.
12130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12132 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12133 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12134 MANTISSA_STORE_T to store computations on mantissa. Use
12135 macros for rounding and division.
12136 (denorm): Likewise.
12137 (__dbl_mp): Likewise.
12138 (add_magnitudes): Likewise.
12139 (sub_magnitudes): Likewise.
12142 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12143 powers of two in terms of TWOPOW macro.
12144 (mp_no): Make type of mantissa as MANTISSA_T.
12145 [!RADIXI]: Define RADIXI.
12146 [!TWO52]: Define TWO52.
12147 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12149 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12151 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12152 llroundl symbol when building for PPC32.
12154 2013-03-24 Mark H Weaver <mhw@netris.org>
12156 * manual/arith.texi (Normalization Functions): Fix prototypes for
12157 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12159 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12163 high value to check if expl overflow.
12164 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12165 to check for underflow and overflow.
12166 * math/libm-test.inc: Add exp test.
12168 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12171 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12174 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12176 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12179 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12181 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12182 wrap blocks consisting of several statements.
12184 * sysdeps/generic/math-tests.h: New file.
12185 * sysdeps/i386/fpu/math-tests.h: Likewise.
12186 * math/test-snan.c: Include it.
12187 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12189 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12192 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12193 (__ieee754_j0l): Do not improve calculations using cos of twice
12194 input for inputs above LDBL_MAX / 2.0L.
12195 (__ieee754_y0l): Likewise.
12196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12197 (__ieee754_j1l): Do not improve calculations using cos of twice
12198 input for inputs above LDBL_MAX / 2.0L.
12199 (__ieee754_y1l): Likewise.
12200 * math/libm-test.inc (j0_test): Add another test.
12201 (j1_test): Likewise.
12202 (y0_test): Likewise.
12203 (y1_test): Likewise.
12204 * sysdeps/i386/fpu/libm-test-ulps: Update.
12206 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12208 * Rules ($(objpfx)bench-%.c): Include code from a C source
12211 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12214 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12215 imaginary part 1.0 and real part less than 0.5 specially.
12216 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12217 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12218 * math/libm-test.inc (cacos_test): Add more tests.
12219 (casin_test): Likewise.
12220 (casinh_test): Likewise.
12221 * sysdeps/i386/fpu/libm-test-ulps: Update.
12222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12224 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12227 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12229 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12231 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12232 * config.make.in (config-cflags-sse4): Remove variable.
12233 (config-cflags-avx): Likewise.
12234 (config-cflags-sse2avx): Likewise.
12235 (config-cflags-novzeroupper): Likewise.
12236 (config-asflags-i686): Likewise.
12237 (have-mfma4): Likewise.
12238 (have-as-vis3): Likewise.
12240 * configure.in (MIG): Do not AC_SUBST.
12241 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12242 (libc_cv_cc_sse4): Do not AC_SUBST.
12243 (libc_cv_cc_avx): Likewise.
12244 (libc_cv_cc_sse2avx): Likewise.
12245 (libc_cv_cc_novzeroupper): Likewise.
12246 (libc_cv_cc_fma4): Likewise.
12247 (libc_cv_as_i686): Likewise.
12248 (libc_cv_sparc_as_vis3): Likewise.
12249 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12251 (config-asflags-i686): Likewise.
12252 (config-cflags-avx): Likewise.
12253 (config-cflags-sse2avx): Likewise.
12254 (have-mfma4): Likewise.
12255 (config-cflags-novzeroupper): Likewise.
12256 * sysdeps/mach/configure.in (MIG): Likewise.
12257 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12258 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12260 (config-cflags-avx): Likewise.
12261 (config-cflags-sse2avx): Likewise.
12262 (have-mfma4): Likewise.
12263 (config-cflags-novzeroupper): Likewise.
12264 * configure: Regenerated.
12265 * sysdeps/i386/configure: Likewise.
12266 * sysdeps/mach/configure: Likewise.
12267 * sysdeps/sparc/configure: Likewise.
12268 * sysdeps/x86_64/configure: Likewise.
12270 2013-03-20 Roland McGrath <roland@hack.frob.com>
12273 * locale/programs/localedef.c (options): Put N_ translation marker
12274 on argument names, not just descriptions.
12276 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12278 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12280 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12283 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12285 2013-03-19 Roland McGrath <roland@hack.frob.com>
12287 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12288 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12289 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12290 [!BEFORE_ABORT] (before_abort): New function.
12291 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12292 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12293 (writev_for_fatal): New function.
12294 (WRITEV_FOR_FATAL): New macro; call that.
12295 (backtrace_and_maps): New function.
12296 (BEFORE_ABORT): New macro; call that.
12297 (struct str_list): Type removed.
12298 (__libc_message, __libc_fatal): Functions removed.
12299 Include <sysdeps/posix/libc_fatal.c> instead.
12301 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12303 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12305 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12308 2013-03-19 Andreas Schwab <schwab@suse.de>
12310 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12311 * sysdeps/gnu/configure: Regenerate.
12313 * configure.in: Substitute libc_cv_rtlddir.
12314 * configure: Regenerate.
12315 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12316 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12317 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12318 * elf/Makefile (install-others, CFLAGS-interp.c)
12319 (ldso_install, common-ldd-rewrite): Likewise.
12320 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12321 $(inst_slibdir)/$(rtld-installed-name).
12322 * scripts/rellns-sh: Add -p option.
12323 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12326 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12328 * manual/nptl.texi: Renamed to ...
12329 * manual/threads.texi: ... this.
12330 * manual/Makefile (chapters): Update.
12332 2013-03-18 Roland McGrath <roland@hack.frob.com>
12335 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12336 on argument names, not just descriptions.
12337 * malloc/memusagestat.c (options): Likewise.
12338 * nss/getent.c (options): Likewise.
12340 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12343 * iconv/iconv_prog.c (options): Put N_ translation marker
12344 on argument names, not just descriptions.
12345 * iconv/iconvconfig.c (options): Likewise.
12347 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12349 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12350 implementation which is faster on all x86_64 architectures.
12351 Tested on AMD, Intel Nehalem, SNB, IVB.
12352 * sysdeps/x86_64/strnlen.S: Likewise.
12354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12355 Remove all multiarch strlen and strnlen versions.
12356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12357 Remove strlen and strnlen related parts.
12359 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12360 Inline strlen part.
12361 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12363 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12364 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12365 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12366 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12367 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12368 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12370 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12372 * manual/memory.texi (Malloc Tunable Parameters):
12373 Sort parameters alphabetically. Add comments for missing entries.
12375 2013-03-17 David S. Miller <davem@davemloft.net>
12377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12379 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12382 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12383 for arguments at most half maximum finite value.
12384 * math/libm-test.inc (j0_test): Add more tests.
12385 (j1_test): Likewise.
12386 (y0_test): Likewise.
12387 (y1_test): Likewise.
12388 * sysdeps/i386/fpu/libm-test-ulps: Update.
12389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12392 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12393 1 / x and functions P and Q for arguments above 0x1p256L.
12394 (__ieee754_y0l): Likewise.
12395 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12396 (__ieee754_y1l): Likewise.
12397 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12398 (j1_test): Likewise.
12399 (y0_test): Likewise.
12400 (y1_test): Likewise.
12402 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12404 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12407 2013-03-15 Roland McGrath <roland@hack.frob.com>
12409 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12410 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12411 zero since it's initialized to EXEC_PAGESIZE.
12413 * sysdeps/unix/sysv/linux/ldsodefs.h
12414 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12415 * sysdeps/generic/ldsodefs.h: ... here.
12417 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12419 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12421 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12423 * math/test-snan.c: Renamed from
12424 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12425 * math/Makefile (tests): Add test-snan.
12426 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12429 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12430 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12432 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12433 __builtin_nan family of functions.
12434 * math/libm-test.inc (initialize): Initialize qnan_value with
12435 __builtin_nan family of functions.
12436 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12438 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12440 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12441 storage class. Initialize qNaN_var and sNaN_var with
12442 __builtin_nan and __builtin_nans families of functions,
12445 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12446 (sqrt_test): Remove duplicate test with qNaN input.
12447 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12448 (round_test, signbit_test, significand_test): Note missing +/-Inf
12449 as well as qNaN tests.
12451 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12452 qNaN_var. Fix a few strings, too.
12453 * math/libm-test.inc (nan_value): Rename to qnan_value.
12454 * math/gen-libm-test.pl (%beautify): Adjust to that.
12455 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12456 * math/test-misc.c (main): Likewise.
12457 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12458 to __qnan_bytes, and __qnan_union, respectively.
12459 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12461 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12462 and lqnanval, respectively.
12463 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12464 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12465 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12466 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12468 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12469 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12472 * math/test-misc.c (main): Fix copy'n'pastos.
12473 * misc/tst-efgcvt.c (special): Likewise.
12475 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12476 Remove declarations.
12478 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12480 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12481 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12482 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12483 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12485 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12488 macro to return vdso values correctly in IFUNC implementations.
12489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12490 Optimization by using IFUNC.
12492 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12493 Richard Henderson <rth@redhat.com>
12494 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12496 * Makefile.in (bench): New target.
12497 * NEWS: Mention the benchmark framework.
12498 * Rules (bench): Likewise.
12499 (binaries-bench): Generate binaries for functions to
12501 * benchtests/Makefile: New makefile for benchmark tests.
12502 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12504 * benchtests/exp-inputs: New input file for EXP function.
12505 * benchtests/pow-inputs: New input file for POW function.
12506 * scripts/bench.pl: New script to generate source files for
12507 benchmark programs.
12509 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12511 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12512 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12513 computations on mantissa. Use macros for rounding and
12515 (denorm): Likewise.
12516 (__dbl_mp): Likewise.
12517 (add_magnitudes): Likewise.
12518 (sub_magnitudes): Likewise.
12521 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12522 powers of two in terms of TWOPOW macro.
12523 (mp_no): Make type of mantissa as MANTISSA_T.
12524 [!RADIXI]: Define RADIXI.
12525 [!TWO52]: Define TWO52.
12526 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12528 * manual/nptl.texi (cindex): Modify threads to pthreads.
12530 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12532 * sysdeps/x86_64/preconfigure: Regenerated.
12534 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12537 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12539 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12540 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12542 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12543 * math/libm-test.inc (j0_test): Do not allow one spurious
12544 underflow exception.
12545 (y1_test): Likewise.
12547 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12549 * manual/Makefile (chapters): Add nptl.
12550 * manual/debug.texi (Debugging Support): Add link to Threads
12552 * manual/nptl.texi: New file.
12554 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12556 2013-03-14 Petr Baudis <pasky@ucw.cz>
12558 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12559 for non-NULL pointer before the memory validity test. Pointed
12560 out by Holger Brunck <holger.brunck@keymile.com>.
12562 2013-03-13 Andreas Schwab <schwab@suse.de>
12564 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12567 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12569 * timezone/zic.c: Update from tzcode 2013b.
12571 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12573 * manual/install.texi (Configuring and compiling):
12574 Mention i686 and i586.
12575 * INSTALL: Regenerate.
12577 2013-03-12 Roland McGrath <roland@hack.frob.com>
12579 * sysdeps/init_array/elf-init.c: New file.
12581 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12582 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12584 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12585 __gmon_start__ as global, but as static with a .preinit_array pointer.
12586 * sysdeps/init_array/gmon-start.c: New file. Use that.
12587 * sysdeps/init_array/crti.S: New file, empty except for comments.
12588 * sysdeps/init_array/crtn.S: Likewise.
12590 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12592 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12595 Remove Prefer_SSE_for_memop.
12596 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12597 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12598 HAS_PREFER_SSE_FOR_MEMOP.
12599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12602 Remove bzero, memset ifunc support.
12603 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12604 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12605 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12606 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12608 2013-03-11 Andreas Schwab <schwab@suse.de>
12611 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12614 (GLIBC_2.16): Remove pthread_atfork.
12616 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12618 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12619 (ptestcases.h): Likewise.
12621 2013-03-08 Roland McGrath <roland@hack.frob.com>
12623 * Makeconfig ($(common-objpfx)config.status): Depend on
12624 sysdeps/*/preconfigure{,.in} too.
12626 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12628 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12629 (__free_hook): Use void * instead of __malloc_ptr_t.
12630 (__malloc_hook): Likewise.
12631 (__realloc_hook): Likewise.
12632 (__memalign_hook): Likewise.
12633 (__after_morecore_hook): Likewise.
12634 * malloc/arena.c (save_malloc_hook): Likewise.
12635 (save_free_hook): Likewise.
12636 * malloc/hooks.c (malloc_hook_ini): Likewise.
12637 (realloc_hook_ini): Likewise.
12638 (memalign_hook_ini): Likewise.
12639 * malloc/malloc.c (malloc_hook_ini): Likewise.
12640 (realloc_hook_ini): Likewise.
12641 (memalign_hook_ini): Likewise.
12642 (__free_hook): Likewise.
12643 (__malloc_hook): Likewise.
12644 (__realloc_hook): Likewise.
12645 (__memalign_hook): Likewise.
12646 (__libc_malloc): Likewise.
12647 (__libc_free): Likewise.
12648 (__libc_realloc): Likewise.
12649 (__libc_memalign): Likewise.
12650 (__libc_valloc): Likewise.
12651 (__libc_pvalloc): Likewise.
12652 (__libc_calloc): Likewise.
12653 (__posix_memalign): Likewise.
12654 * malloc/morecore.c (__sbrk): Likewise.
12655 (__default_morecore): Likewise.
12657 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12659 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12660 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12661 __malloc_ptrdiff_t.
12663 * malloc/malloc.h (__malloc_size_t): Remove macro.
12664 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12666 (old_memalign_hook): Likewise.
12667 (old_realloc_hook): Likewise.
12668 (struct hdr): Likewise.
12670 (mallochook): Likewise.
12671 (memalignhook): Likewise.
12672 (reallochook): Likewise.
12673 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12674 (tr_old_realloc_hook): Likewise.
12675 (tr_old_memalign_hook): Likewise.
12676 (tr_mallochook): Likewise.
12677 (tr_reallochook): Likewise.
12678 (tr_memalignhook): Likewise.
12680 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12682 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12683 default_ldbl_pack and using as default implementation.
12684 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12686 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12687 redundant definition.
12688 (ldbl_insert_mantissa): Likewise.
12689 (ldbl_canonicalize): Likewise.
12690 (ldbl_nearbyint): Likewise.
12691 (ldbl_pack): Rename to ldbl_pack_ppc.
12692 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12693 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12694 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12696 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12699 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12701 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12703 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12704 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12705 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12707 2013-03-07 Andreas Jaeger <aj@suse.de>
12709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12712 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12714 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12715 Include mpa.h and declare __MPEXP.
12716 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12717 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12718 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12721 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12722 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12724 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12725 (__slowpow): Use long double EXPL and LOGL functions to
12727 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12728 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12729 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12730 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12731 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12732 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12735 intermediate variable to calculate exponent.
12737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12741 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12742 [!NO__SQR]: Define __sqr.
12743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12744 and NO__SQR. Remove all code except __mul and __sqr. Include
12745 sysdeps/ieee754/dbl-64/mpa.c.
12746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12749 * posix/Makefile (tests): Add tst-pathconf.
12750 * posix/tst-pathconf.c: New test case.
12751 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12753 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12755 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12757 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12759 2013-03-06 Andreas Jaeger <aj@suse.de>
12761 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12762 definition via __MAP_ANONYMOUS.
12764 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12765 it's not part of Linux headers.
12767 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12768 (MAP_HUGE_MASK): Define.
12770 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12772 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12775 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12776 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12778 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12779 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12781 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12783 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12784 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12785 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12786 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12787 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12788 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12793 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12794 Handle f2fs and efivarfs.
12796 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12799 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12800 (EFIVARFS_MAGIC): Add.
12801 (F2FS_LINK_MAX): Add.
12803 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12805 * stdio-common/vfprintf.c: Replace __builtin_expect with
12808 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12811 * sysdeps/generic/bp-sym.h: Remove file.
12812 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12813 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12814 <bp-sym.h> and <bp-asm.h>.
12815 (__longjmp): Don't use BP_SYM.
12816 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12818 (memcpy): Don't use BP_SYM.
12819 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12820 <bp-sym.h> and <bp-asm.h>.
12821 (memcpy): Don't use BP_SYM.
12822 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12824 (memcpy): Don't use BP_SYM.
12825 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12827 (memset): Don't use BP_SYM.
12828 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12829 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12830 (__bzero): Don't use BP_SYM.
12831 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12832 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12833 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12834 <bp-sym.h> and <bp-asm.h>.
12835 (memcmp): Don't use BP_SYM. Remove comment about bounded
12837 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12838 <bp-sym.h> and <bp-asm.h>.
12839 (memcpy): Don't use BP_SYM.
12840 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12841 <bp-sym.h> and <bp-asm.h>.
12842 (memset): Don't use BP_SYM.
12843 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12844 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12845 (__bzero): Don't use BP_SYM.
12846 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12847 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12849 <bp-sym.h> and <bp-asm.h>.
12850 (strncmp): Don't use BP_SYM. Remove comment about bounded
12852 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12853 <bp-sym.h> and <bp-asm.h>.
12854 (memcpy): Don't use BP_SYM.
12855 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12856 <bp-sym.h> and <bp-asm.h>.
12857 (memset): Don't use BP_SYM.
12858 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12859 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12860 (__bzero): Don't use BP_SYM.
12861 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12862 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12863 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12864 <bp-sym.h> and <bp-asm.h>.
12865 (__memchr): Don't use BP_SYM.
12866 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12867 <bp-sym.h> and <bp-asm.h>.
12868 (memcmp): Don't use BP_SYM. Remove comment about bounded
12870 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12871 <bp-sym.h> and <bp-asm.h>.
12872 (memcpy): Don't use BP_SYM.
12873 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12874 <bp-sym.h> and <bp-asm.h>.
12875 (__mempcpy): Don't use BP_SYM.
12876 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12877 <bp-sym.h> and <bp-asm.h>.
12878 (__memrchr): Don't use BP_SYM.
12879 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12880 <bp-sym.h> and <bp-asm.h>.
12881 (memset): Don't use BP_SYM.
12882 (__bzero): Likewise.
12883 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12884 <bp-sym.h> and <bp-asm.h>.
12885 (__rawmemchr): Don't use BP_SYM.
12886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12887 <bp-sym.h> and <bp-asm.h>.
12888 (__STRCMP): Don't use BP_SYM.
12889 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12890 <bp-sym.h> and <bp-asm.h>.
12891 (strchr): Don't use BP_SYM.
12892 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12893 <bp-sym.h> and <bp-asm.h>.
12894 (__strchrnul): Don't use BP_SYM.
12895 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12896 <bp-sym.h> and <bp-asm.h>.
12897 (strlen): Don't use BP_SYM.
12898 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12899 <bp-sym.h> and <bp-asm.h>.
12900 (strncmp): Don't use BP_SYM. Remove comment about bounded
12902 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12903 <bp-sym.h> and <bp-asm.h>.
12904 (__strnlen): Don't use BP_SYM.
12905 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12906 <bp-sym.h> and <bp-asm.h>.
12907 (__GI__setjmp): Don't use BP_SYM.
12908 (_setjmp): Likewise.
12909 (__sigsetjmp): Likewise.
12910 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12911 (L(start_addresses)): Don't use BP_SYM.
12912 (_start): Likewise.
12913 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12915 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12916 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12917 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12918 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12919 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12921 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12922 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12923 about bounded pointers.
12924 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12925 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12926 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12928 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12929 about bounded pointers. Remove GKM FIXME comments.
12930 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12931 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12933 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12934 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12935 Remove GKM FIXME comments.
12936 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12937 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12938 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12940 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12941 about bounded pointers. Remove GKM FIXME comment.
12942 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12944 (strncmp): Don't use BP_SYM. Remove comment about bounded
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12947 <bp-sym.h> and <bp-asm.h>.
12948 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12950 <bp-sym.h> and <bp-asm.h>.
12951 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12954 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12956 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12959 2013-03-05 David S. Miller <davem@davemloft.net>
12961 * po/es.po: Update from translation team.
12963 2013-03-05 Andreas Jaeger <aj@suse.de>
12965 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12966 <bits/mman-linux.h>.
12967 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12969 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12970 <bits/mman-linux.h> to end of file.
12971 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12973 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12974 <bits/mman-linux.h> to end of file.
12975 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12978 <bits/mman-linux.h> to end of file.
12980 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12981 (MCL_CURRENT, MCL_FUTURE): Define here.
12983 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12988 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12990 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12992 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12993 fourth parameter needed for rt_sigprocmask syscall.
12994 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12995 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12996 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12997 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12998 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12999 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13001 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13004 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13005 comment about bounded pointers.
13006 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13007 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13009 2013-03-04 Andreas Jaeger <aj@suse.de>
13011 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13012 common definitions.
13014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13015 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13016 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13017 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13018 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13021 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13024 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13025 __ieee754_sqrl instead of __sqrl.
13027 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13029 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13030 * sysdeps/powerpc/fpu_control.h: ... here.
13031 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13032 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13033 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13034 * sysdeps/powerpc/bits/mathinline.h: ... here.
13036 2013-03-01 Roland McGrath <roland@hack.frob.com>
13038 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13039 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13040 to just [NEED_DL_SYSINFO_DSO].
13041 * elf/dl-support.c: Likewise.
13042 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13043 * elf/rtld.c (dl_main): Likewise.
13044 * elf/setup-vdso.h (setup_vdso): Likewise.
13045 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13046 * sysdeps/unix/sysv/linux/dl-sysdep.c
13047 (_dl_discover_osversion): Likewise.
13049 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13051 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13052 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13054 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13056 * NEWS: Mention libm performance improvements and non-x86 PI
13059 * csu/libc-start.c (__pthread_initialize_minimal): Change
13060 function arguments.
13061 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13063 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13066 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13067 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13068 <bp-sym.h> and <bp-asm.h>.
13069 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13070 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13072 (memcpy): Don't use BP_SYM.
13073 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13075 (__mpn_add_n): Don't use BP_SYM.
13076 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13077 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13079 (__mpn_addmul_1): Don't use BP_SYM.
13080 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13081 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13083 (_setjmp): Don't use BP_SYM.
13084 (__novmx_setjmp): Likewise.
13085 (__GI__setjmp): Likewise.
13086 (__vmx_setjmp): Likewise.
13087 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13089 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13090 (__bzero): Don't use BP_SYM.
13091 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13092 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13093 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13094 <bp-sym.h> and <bp-asm.h>.
13095 (memcpy): Don't use BP_SYM.
13096 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13097 <bp-sym.h> and <bp-asm.h>.
13098 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13099 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13100 <bp-sym.h> and <bp-asm.h>.
13101 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13102 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13104 (__mpn_lshift): Don't use BP_SYM.
13105 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13106 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13108 (memset): Don't use BP_SYM.
13109 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13110 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13111 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13113 (__mpn_mul_1): Don't use BP_SYM.
13114 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13115 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13116 <bp-sym.h> and <bp-asm.h>.
13117 (memcmp): Don't use BP_SYM.
13118 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13119 <bp-sym.h> and <bp-asm.h>.
13120 (memcpy): Don't use BP_SYM.
13121 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13122 <bp-sym.h> and <bp-asm.h>.
13123 (memset): Don't use BP_SYM.
13124 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13125 <bp-sym.h> and <bp-asm.h>.
13126 (strncmp): Don't use BP_SYM.
13127 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13128 <bp-sym.h> and <bp-asm.h>.
13129 (memcpy): Don't use BP_SYM.
13130 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13131 <bp-sym.h> and <bp-asm.h>.
13132 (memset): Don't use BP_SYM.
13133 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13134 <bp-sym.h> and <bp-asm.h>.
13135 (__memchr): Don't use BP_SYM.
13136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13137 <bp-sym.h> and <bp-asm.h>.
13138 (memcmp): Don't use BP_SYM.
13139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13140 <bp-sym.h> and <bp-asm.h>.
13141 (memcpy): Don't use BP_SYM.
13142 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13143 <bp-sym.h> and <bp-asm.h>.
13144 (__mempcpy): Don't use BP_SYM.
13145 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13146 <bp-sym.h> and <bp-asm.h>.
13147 (__memrchr): Don't use BP_SYM.
13148 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13149 <bp-sym.h> and <bp-asm.h>.
13150 (memset): Don't use BP_SYM.
13151 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13152 <bp-sym.h> and <bp-asm.h>.
13153 (__rawmemchr): Don't use BP_SYM.
13154 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13155 <bp-sym.h> and <bp-asm.h>.
13156 (__STRCMP): Don't use BP_SYM.
13157 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13158 <bp-sym.h> and <bp-asm.h>.
13159 (strchr): Don't use BP_SYM.
13160 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13161 <bp-sym.h> and <bp-asm.h>.
13162 (__strchrnul): Don't use BP_SYM.
13163 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13164 <bp-sym.h> and <bp-asm.h>.
13165 (strlen): Don't use BP_SYM.
13166 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13167 <bp-sym.h> and <bp-asm.h>.
13168 (strncmp): Don't use BP_SYM.
13169 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13170 <bp-sym.h> and <bp-asm.h>.
13171 (__strnlen): Don't use BP_SYM.
13172 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13174 (__mpn_rshift): Don't use BP_SYM.
13175 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13176 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13177 <bp-sym.h> and <bp-asm.h>.
13178 (__sigsetjmp): Don't use BP_SYM.
13179 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13180 (L(start_addresses)): Don't use BP_SYM.
13181 (_start): Likewise.
13182 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13184 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13185 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13186 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13187 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13189 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13190 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13191 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13192 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13194 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13196 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13197 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13199 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13201 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13202 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13203 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13205 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13207 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13209 (strncmp): Don't use BP_SYM,
13210 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13212 (__mpn_sub_n): Don't use BP_SYM.
13213 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13214 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13216 (__mpn_submul_1): Don't use BP_SYM.
13217 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13219 <bp-sym.h> and <bp-asm.h>.
13220 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13222 <bp-sym.h> and <bp-asm.h>.
13223 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13226 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13229 Use ZK to minimize writes to Z.
13230 (sub_magnitudes): Simplify code a bit.
13231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13232 Use ZK to minimize writes to Z.
13233 (sub_magnitudes): Simplify code a bit.
13235 2013-02-27 Roland McGrath <roland@hack.frob.com>
13237 * csu/gmon-start.c: Add special exception to license text.
13239 2013-02-27 Richard Henderson <rth@redhat.com>
13241 * scripts/config.guess: Update from config.git.
13242 * scripts/config.sub: Likewise.
13244 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13246 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13248 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13250 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13252 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13254 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13256 2013-02-26 Roland McGrath <roland@hack.frob.com>
13258 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13259 [$(build-shared = yes].
13261 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13263 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13264 (__mul): Reduce iterations for calculating mantissa.
13266 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13268 (__mpranred): Likewise.
13271 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13272 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13274 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13276 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13277 Define __attribute__.
13279 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13281 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13283 * posix/regex_internal.h (__attribute): Remove.
13284 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13285 (re_string_context_at): Likewise.
13286 (bitset_not): Use __attribute__ and mark function as possibly
13288 (bitset_merge): Likewise.
13289 (bitset_mask): Likewise.
13290 (re_string_char_size_at): Likewise.
13291 (re_string_wchar_at): Likewise.
13292 (re_string_elem_size_at): Likewise.
13294 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13296 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13300 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13304 (denorm): Likewise.
13305 (__dbl_mp): Likewise.
13306 (add_magnitudes): Likewise.
13307 (sub_magnitudes): Likewise.
13311 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13314 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13317 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13321 up changes with default code.
13322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13325 2013-02-24 Allan McRae <allan@archlinux.org>
13327 * manual/socket.texi (The Internet Namespace): Order menu items
13328 to match that in the file.
13330 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13331 node listing of the info page menu.
13333 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13336 * sysdeps/i386/bp-asm.h: Remove file.
13337 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13338 (PARMS): Do not use macros from bp-asm.h.
13342 (__mpn_add_n): Do not use BP_SYM
13343 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13345 (PARMS): Do not use macros from bp-asm.h.
13348 (__mpn_addmul_1): Do not use BP_SYM
13349 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13351 (PARMS): Do not use macros from bp-asm.h.
13352 (SIGMSK): Likewise.
13353 (_setjmp): Likewise. Do not use BP_SYM.
13354 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13356 (PARMS): Do not use macros from bp-asm.h.
13357 (SIGMSK): Likewise.
13358 (setjmp): Likewise. Do not use BP_SYM.
13359 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13361 (PARMS): Do not use macros from bp-asm.h.
13362 (__frexp): Do not use BP_SYM.
13364 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13366 (PARMS): Do not use macros from bp-asm.h.
13367 (__frexpf): Do not use BP_SYM.
13368 (frexpf): Likewise.
13369 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13371 (PARMS): Do not use macros from bp-asm.h.
13372 (__frexpl): Do not use BP_SYM.
13373 (frexpl): Likewise.
13374 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13376 (PARMS): Do not use macros from bp-asm.h.
13377 (__remquo): Do not use BP_SYM.
13378 (remquo): Likewise.
13379 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13381 (PARMS): Do not use macros from bp-asm.h.
13382 (__remquof): Do not use BP_SYM.
13383 (remquof): Likewise.
13384 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13386 (PARMS): Do not use macros from bp-asm.h.
13387 (__remquol): Do not use BP_SYM.
13388 (remquol): Likewise.
13389 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13391 (PARMS): Do not use macros from bp-asm.h.
13394 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13395 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13397 (PARMS): Do not use macros from bp-asm.h.
13398 (strlen): Do not use BP_SYM.
13399 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13401 (PARMS): Do not use macros from bp-asm.h.
13405 (__mpn_add_n): Do not use BP_SYM.
13406 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13408 (PARMS): Do not use macros from bp-asm.h.
13411 (__mpn_addmul_1): Do not use BP_SYM.
13412 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13415 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13417 (PARMS): Do not use macros from bp-asm.h.
13420 (__mpn_lshift): Do not use BP_SYM.
13421 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13423 (PARMS): Do not use macros from bp-asm.h.
13427 (memcpy): Likewise. Do not use BP_SYM.
13428 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13429 libc_hidden_def and weak_alias.
13430 (mempcpy): Do not use BP_SYM in weak_alias.
13431 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13433 (PARMS): Do not use macros from bp-asm.h.
13436 [!BZERO_P] (CHR): Likewise.
13437 (memset): Likewise. Do not use BP_SYM.
13438 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13440 (PARMS): Do not use macros from bp-asm.h.
13443 (__mpn_mul_1): Do not use BP_SYM.
13444 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13446 (PARMS): Do not use macros from bp-asm.h.
13449 (__mpn_rshift): Do not use BP_SYM.
13450 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13452 (PARMS): Do not use macros from bp-asm.h.
13455 (strchr): Likewise. Do not use BP_SYM.
13456 (index): Do not use BP_SYM in weak_alias.
13457 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13459 (PARMS): Do not use macros from bp-asm.h.
13462 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13463 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13465 (PARMS): Do not use macros from bp-asm.h.
13466 (strlen): Do not use BP_SYM.
13467 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13469 (PARMS): Do not use macros from bp-asm.h.
13473 (__mpn_sub_n): Do not use BP_SYM.
13474 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13476 (PARMS): Do not use macros from bp-asm.h.
13479 (__mpn_submul_1): Do not use BP_SYM.
13480 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13482 (PARMS): Do not use macros from bp-asm.h.
13486 (__mpn_add_n): Do not use BP_SYM.
13487 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13490 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13492 (PARMS): Do not use macros from bp-asm.h.
13495 (memcmp): Do not use BP_SYM.
13496 (bcmp): Do not use BP_SYM in weak_alias.
13497 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13499 (PARMS): Do not use macros from bp-asm.h.
13503 (memcpy): Likewise. Do not use BP_SYM.
13504 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13506 (PARMS): Do not use macros from bp-asm.h.
13510 (memmove): Likewise. Do not use BP_SYM.
13511 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13513 (PARMS): Do not use macros from bp-asm.h.
13517 (__mempcpy): Likewise. Do not use BP_SYM.
13518 (mempcpy): Do not use BP_SYM in weak_alias.
13519 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13521 (PARMS): Do not use macros from bp-asm.h.
13524 [!BZERO_P] (CHR): Likewise.
13525 (memset): Likewise. Do not use BP_SYM.
13526 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13528 (PARMS): Do not use macros from bp-asm.h.
13530 (strcmp): Do not use BP_SYM.
13531 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13533 (PARMS): Do not use macros from bp-asm.h.
13536 [USE_AS_STRTOK_R] (SAVE): Likewise.
13537 (FUNCTION): Likewise. Do not use BP_SYM.
13538 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13540 (strtok_r): Likewise.
13541 (__GI___strtok_r): Likewise.
13542 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13543 (PARMS): Do not use macros from bp-asm.h.
13546 (__mpn_lshift): Do not use BP_SYM.
13547 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13548 (PARMS): Do not use macros from bp-asm.h.
13551 (__memchr): Do not use BP_SYM.
13552 (memchr): Do not use BP_SYM in weak_alias.
13553 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13554 (PARMS): Do not use macros from bp-asm.h.
13557 (memcmp): Do not use BP_SYM.
13558 (bcmp): Do not use BP_SYM in weak_alias.
13559 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13560 (PARMS): Do not use macros from bp-asm.h.
13563 (__mpn_mul_1): Do not use BP_SYM.
13564 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13566 (PARMS): Do not use macros from bp-asm.h.
13569 (__rawmemchr): Do not use BP_SYM.
13570 (rawmemchr): Do not use BP_SYM in weak_alias.
13571 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13572 (PARMS): Do not use macros from bp-asm.h.
13575 (__mpn_rshift): Do not use BP_SYM.
13576 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13577 (PARMS): Do not use macros from bp-asm.h.
13578 (SIGMSK): Likewise.
13579 (__sigsetjmp): Likewise. Do not use BP_SYM.
13580 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13581 (_start): Do not use BP_SYM.
13582 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13583 (PARMS): Do not use macros from bp-asm.h.
13586 (__stpcpy): Likewise. Do not use BP_SYM.
13587 (stpcpy): Do not use BP_SYM in weak_alias.
13588 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13590 (PARMS): Do not use macros from bp-asm.h.
13594 (__stpncpy): Likewise. Do not use BP_SYM.
13595 (stpncpy): Do not use BP_SYM in weak_alias.
13596 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13597 (PARMS): Do not use macros from bp-asm.h.
13600 (strchr): Likewise. Do not use BP_SYM.
13601 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13603 (PARMS): Do not use macros from bp-asm.h.
13606 (__strchrnul): Likewise. Do not use BP_SYM.
13607 (strchrnul): Do not use BP_SYM in weak_alias.
13608 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13610 (PARMS): Do not use macros from bp-asm.h.
13612 (strcspn): Do not use BP_SYM.
13613 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13615 (PARMS): Do not use macros from bp-asm.h.
13618 (strpbrk): Likewise. Do not use BP_SYM.
13619 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13621 (PARMS): Do not use macros from bp-asm.h.
13624 (strrchr): Likewise. Do not use BP_SYM.
13625 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13626 (PARMS): Do not use macros from bp-asm.h.
13628 (strspn): Do not use BP_SYM.
13629 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13630 (PARMS): Do not use macros from bp-asm.h.
13634 (FUNCTION): Likewise. Do not use BP_SYM.
13635 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13637 (strtok_r): Likewise.
13638 (__GI___strtok_r): Likewise.
13639 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13640 (PARMS): Do not use macros from bp-asm.h.
13644 (__mpn_sub_n): Do not use BP_SYM.
13645 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13647 (PARMS): Do not use macros from bp-asm.h.
13650 (__mpn_submul_1): Do not use BP_SYM.
13651 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13653 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13655 (PARMS): Do not use macros from bp-asm.h.
13660 (__clone): Do not use BP_SYM.
13661 (clone): Do not use BP_SYM in weak_alias.
13662 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13664 (PARMS): Do not use macros from bp-asm.h.
13666 (__mmap64): Do not use BP_SYM.
13667 (mmap64): Do not use BP_SYM in weak_alias.
13668 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13669 <bp-sym.h> and <bp-asm.h>.
13670 (PARMS): Do not use macros from bp-asm.h.
13671 (__posix_fadvise64_l64): Do not use BP_SYM.
13672 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13673 (PARMS): Do not use macros from bp-asm.h.
13675 (semtimedop): Do not use BP_SYM.
13676 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13679 2013-02-21 Allan McRae <allan@archlinux.org>
13681 * manual/message.texi (Charset conversion in gettext):
13682 Move @end statement to beginning of line.
13684 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13691 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13692 (denorm): Likewise.
13693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13696 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13698 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13699 tail-call to the resolved function if pltexit isn't needed.
13701 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13704 or Y being zero as being unlikely.
13705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13708 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13710 * manual/nss.texi (System Databases and Name Service Switch):
13711 Remove frobnicate @pxref.
13713 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13715 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13716 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13718 2013-02-20 Petr Machata <pmachata@redhat.com>
13720 * elf/elf.h (R_ARM_TARGET1): New macro.
13721 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13722 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13723 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13724 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13725 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13726 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13727 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13728 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13729 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13730 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13731 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13732 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13733 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13734 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13735 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13736 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13737 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13738 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13739 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13740 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13741 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13742 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13743 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13744 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13745 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13746 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13747 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13748 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13749 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13750 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13751 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13752 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13753 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13754 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13755 (R_ARM_THM_GOT_BREL12): Likewise.
13756 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13757 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13758 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13759 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13760 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13761 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13762 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13763 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13764 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13766 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13768 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13769 __attribute_used__ to __attribute__ ((unused)).
13771 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13773 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13776 comment formatting.
13777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13779 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13782 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13784 (ENTER): Remove both macro definitions.
13786 (CHECK_BOUNDS_LOW): Likewise.
13787 (CHECK_BOUNDS_HIGH): Likewise.
13788 (CHECK_BOUNDS_BOTH): Likewise.
13789 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13790 (RETURN_BOUNDED_POINTER): Likewise.
13791 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13792 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13793 (POP_ERRNO_LOCATION_RETURN): Likewise.
13794 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13795 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13796 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13798 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13800 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13801 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13802 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13803 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13804 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13805 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13806 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13807 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13808 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13809 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13810 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13811 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13813 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13814 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13816 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13817 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13818 * sysdeps/i386/i586/memset.S (memset): Likewise.
13819 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13820 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13821 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13823 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13824 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13825 Change uses of L(2) to L(out).
13826 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13827 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13828 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13829 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13830 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13832 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13833 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13835 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13836 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13837 (RETURN): Do not use macro LEAVE.
13838 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13839 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13840 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13841 * sysdeps/i386/i686/memset.S (memset): Likewise.
13842 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13843 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13844 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13845 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13847 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13848 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13849 L(1_2) and L(1_3) into L(1).
13850 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13851 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13852 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13853 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13854 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13855 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13856 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13857 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13858 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13860 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13861 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13862 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13863 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13864 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13865 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13866 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13867 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13868 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13869 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13870 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13871 * sysdeps/i386/strspn.S (strspn): Likewise.
13872 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13874 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13875 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13876 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13877 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13878 L(1_3) into L(1_1).
13879 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13880 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13881 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13883 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13885 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13887 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13890 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13892 * math/atest-exp.c (exp_mpn): Remove ROUND.
13893 * math/atest-exp2.c (exp_mpn): Likewise.
13894 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13896 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13897 * stdlib/tst-tls-atexit-lib.c: Likewise.
13898 * stdlib/tst-tls-atexit.c: Likewise.
13900 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13902 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13903 and __attribute_alloc_size__.
13905 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13907 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13908 __attribute_alloc_size__.
13909 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13910 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13912 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13914 * include/programs/xmalloc.h: New file.
13915 * catgets/gencat.c: Include it.
13916 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13917 * elf/pldd.c: Likewise.
13918 * iconv/iconv_charmap.c: Likewise.
13919 * iconv/iconvconfig.c: Likewise.
13920 * iconv/strtab.c: Likewise.
13921 * locale/programs/locale.c: Likewise.
13922 * locale/programs/localedef.h: Likewise.
13923 * locale/programs/simple-hash.c: Likewise.
13924 * nscd/nscd.h: Likewise.
13925 * nss/makedb.c: Likewise.
13926 * sysdeps/generic/ldconfig.h: Likewise.
13928 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13930 * Versions.def: Add GLIBC_2.18.
13931 * include/link.h (struct link_map): New member l_tls_dtor_count.
13932 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13933 (__call_tls_dtors): Likewise.
13934 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13935 __cxa_thread_atexit_impl.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13952 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13953 (tests): Add test case tst-tls-atexit.
13954 (modules-names): Add shared library for tst-tls-atexit.
13955 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13956 (GLIBC_PRIVATE): Add __call_tls_dtors.
13957 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13959 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13960 * stdlib/tst-tls-atexit.c: New test case.
13961 * stdlib/tst-tls-atexit-lib.c: New test case.
13963 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13965 * elf/Versions (ld): Add _dl_find_dso_for_object.
13966 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13967 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13968 (dl_open_worker): Use _dl_find_dso_for_object.
13969 * elf/dl-sym.c (do_sym): Likewise.
13970 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13972 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13974 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13975 Syntactic changes only.
13976 (_dl_runtime_profile): Do a tail-call to the resolved function.
13978 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13981 * sysdeps/x86_64/bp-asm.h: Remove file.
13982 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13983 <bp-sym.h> and <bp-asm.h>.
13984 (__clone): Do not use BP_SYM.
13985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13986 <bp-sym.h> and <bp-asm.h>.
13987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13988 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13990 (_setjmp): Do not use BP_SYM.
13991 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13993 (setjmp): Do not use BP_SYM.
13994 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13996 (mempcpy): Do not use BP_SYM in weak_alias.
13997 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13999 (strchr): Do not use BP_SYM.
14000 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14002 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14003 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14004 (_start): Do not use BP_SYM.
14005 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14007 (strcat): Do not use BP_SYM.
14008 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14010 (STRCMP): Do not use BP_SYM.
14011 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14013 (STRCPY): Do not use BP_SYM.
14014 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14016 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14018 (FUNCTION): Do not use BP_SYM.
14019 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14021 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14023 2013-02-17 Andreas Jaeger <aj@suse.de>
14025 * time/Versions: Sort entries.
14026 * string/Versions: Likewise.
14027 * resolv/Versions: Likewise.
14028 * posix/Versions: Likewise.
14029 * iconv/Versions: Likewise.
14030 * elf/Versions: Likewise.
14031 * wcsmbs/Versions: Likewise.
14033 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14035 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14036 loop termination condition.
14038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14039 variable to calculate EZ.
14042 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14043 the lower precision input.
14045 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14048 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14049 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14050 (run-via-rtld-prefix): Do not handle %-bp tests.
14051 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14052 (all-object-suffixes): Remove .ob.
14053 (bppfx): Remove variable.
14054 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14055 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14056 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14057 [$(build-bounded) = yes] (libtype.ob): Likewise.
14058 * Makerules (elide-routines.ob): Remove variable.
14059 (do-tests-clean): Do not handle *-bp.out.
14060 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14061 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14062 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14063 (tests): Do not include $(tests-bp.out).
14064 (xtests): Do not include $(xtests-bp.out).
14065 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14066 [$(build-bounded) = yes] ($(addprefix
14067 $(objpfx),$(binaries-bounded))): Remove rule.
14068 ($(objpfx)%-bp.out): Remove rule.
14069 * config.make.in (build-bounded): Remove variable.
14070 * crypt/Makefile [$(build-bounded) = yes]
14071 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14072 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14073 append to variable.
14074 [$(build-bounded) = yes] (install-lib): Likewise.
14075 [$(build-bounded) = yes] (generated): Likewise.
14076 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14078 * intl/Makefile [$(build-bounded) = yes]
14079 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14080 * math/Makefile [$(build-bounded) = yes]
14081 ($(tests:%=$(objpfx)%-bp): Likewise.
14082 * misc/Makefile [$(build-bounded) = yes]
14083 ($(objpfx)tst-tsearch-bp): Likewise.
14084 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14085 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14087 * string/Makefile (o-objects.ob): Remove variable.
14088 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14089 (CFLAGS-.ob): Remove variable.
14090 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14091 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14092 both definitions of variable.
14093 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14094 (ASFLAGS-.ob): Remove variable.
14096 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14099 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14100 Remove __BOUNDED_POINTERS__ from condition.
14101 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14102 * string/bits/string2.h [!__NO_STRING_INLINES &&
14103 !__BOUNDED_POINTERS__]: Likewise.
14104 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14106 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14107 Remove conditional code.
14108 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14109 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14110 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14114 * csu/libc-start.c: Do not include <bp-sym.h>.
14115 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14116 * elf/dl-open.c: Do not include <bp-sym.h>.
14117 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14118 * math/fegetenv.c: Do not include <bp-sym.h>.
14119 (fegetenv): Do not use BP_SYM in versioned symbols.
14120 * nptl/sysdeps/pthread/bits/libc-lockP.h
14121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14124 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14126 (__pthread_mutex_destroy): Likewise.
14127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14128 (__pthread_mutex_lock): Likewise.
14129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14130 (__pthread_mutex_trylock): Likewise.
14131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14132 (__pthread_mutex_unlock): Likewise.
14133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14134 (__pthread_mutexattr_init): Likewise.
14135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14136 (__pthread_mutexattr_destroy): Likewise.
14137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14138 (__pthread_mutexattr_settype): Likewise.
14139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14140 (__pthread_rwlock_init): Likewise.
14141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14142 (__pthread_rwlock_destroy): Likewise.
14143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14144 (__pthread_rwlock_rdlock): Likewise.
14145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14146 (__pthread_rwlock_tryrdlock): Likewise.
14147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14148 (__pthread_rwlock_wrlock): Likewise.
14149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14150 (__pthread_rwlock_trywrlock): Likewise.
14151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14152 (__pthread_rwlock_unlock): Likewise.
14153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14154 (__pthread_key_create): Likewise.
14155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14156 (__pthread_setspecific): Likewise.
14157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14158 (__pthread_getspecific): Likewise.
14159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14162 (_pthread_cleanup_push_defer): Likewise.
14163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14164 (_pthread_cleanup_pop_restore): Likewise.
14165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14166 (pthread_setcancelstate): Likewise.
14167 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14169 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14170 (memchr): Do not use BP_SYM in weak_alias.
14171 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14172 (fegetenv): Do not use BP_SYM in versioned symbols.
14173 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14174 (fesetenv): Do not use BP_SYM in versioned symbols.
14175 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14176 (feupdateenv): Do not use BP_SYM in versioned symbols.
14177 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14178 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14179 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14180 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14181 (open64): Do not use BP_SYM in weak_alias.
14182 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14183 (fegetenv): Do not use BP_SYM in versioned symbols.
14184 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14185 (fesetenv): Do not use BP_SYM in versioned symbols.
14186 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14187 (feupdateenv): Do not use BP_SYM in versioned symbols.
14188 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14189 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14190 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14191 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14192 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14193 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14194 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14196 (__libc_start_main): Do not use BP_SYM.
14198 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14201 redundant return line.
14203 (denorm): Likewise.
14204 (dbl_mp): Likewise.
14205 (sub_magnitudes): Likewise.
14211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14213 (denorm): Likewise.
14214 (dbl_mp): Likewise.
14215 (sub_magnitudes): Likewise.
14222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14224 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14225 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14228 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14229 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14231 of __mul for squares.
14232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14234 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14236 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14237 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14239 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14242 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14244 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14245 prototype or function definition. Rename ubp_* variables and
14246 parameters. Remove argv definitions conditional on
14247 [__BOUNDED_POINTERS__].
14248 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14249 * elf/dl-runtime.c (_dl_fixup): Likewise.
14250 * include/set-hooks.h (RUN_HOOK): Likewise.
14251 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14253 * string/strcpy.c (strcpy): Do not use __unbounded.
14254 * sysdeps/generic/frame.h (struct layout): Likewise.
14255 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14256 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14257 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14258 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14259 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14260 (__backtrace): Likewise.
14261 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14263 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14264 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14265 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14267 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14268 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14269 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14271 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14272 Do not use __unbounded.
14273 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14274 Rename __unboundedrlimits parameter to rlimits in prototype.
14275 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14276 Do not use __unbounded.
14277 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14278 not use __ptrvalue.
14279 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14280 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14281 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14282 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14283 __ptrvalue or __unbounded.
14284 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14285 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14287 (__new_msgctl): Do not use __ptrvalue.
14288 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14290 (__libc_msgrcv): Do not use __ptrvalue.
14291 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14292 startup_info): Do not use __unbounded.
14293 (__libc_start_main): Likewise. Rename ubp_* variables and
14294 parameters. Remove argv definitions conditional on
14295 [__BOUNDED_POINTERS__].
14296 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14298 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14300 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14302 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14304 (__new_shmctl): Do not use __ptrvalue.
14305 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14306 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14308 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14309 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14310 (__libc_sigaction): Likewise.
14311 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14312 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14314 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14316 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14318 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14320 * string/mempcpy.c: Implement by calling memcpy.
14322 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14329 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14330 values in the mantissa.
14332 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14333 minimize writes to Z.
14334 (sub_magnitudes): Simplify code a bit.
14336 2013-02-12 Roland McGrath <roland@hack.frob.com>
14338 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14339 from the message. The linker prefixes all warnings with that already.
14341 2013-02-12 Andreas Schwab <schwab@suse.de>
14344 * posix/regexec.c (extend_buffers): Add parameter min_len.
14345 (check_matching): Pass minimum needed length.
14346 (clean_state_log_if_needed): Likewise.
14347 (get_subexp): Likewise.
14348 * posix/Makefile (tests): Add bug-regex34.
14349 (bug-regex34-ENV): Define.
14350 * posix/bug-regex34.c: New file.
14353 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14354 elements compare against the byte sequence of it, not its name.
14355 * posix/Makefile (tests): Add bug-regex35.
14356 (bug-regex35-ENV): Define.
14357 * posix/bug-regex35.c: New file.
14359 2013-02-11 Tom de Vries <tom@codesourcery.com>
14361 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14363 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14364 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14365 (CHECK_EOL): Add undef.
14367 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14369 * bits/stdlib-bsearch.h: New file.
14370 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14371 * stdlib/stdlib.h: Likewise.
14373 2013-02-11 Roland McGrath <roland@hack.frob.com>
14375 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14376 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14378 * manual/search.texi (Array Search Function): Add missing const in
14380 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14381 declaration to use rlim_t.
14382 (Basic Scheduling Functions): Remove erroneous const from
14383 sched_getparam prototype. Remove erroneous * from
14384 sched_get_priority_max and sched_get_priority_min prototypes.
14385 (Resource Usage): Fix summary @comment on vtimes to refer to
14386 sys/vtimes.h rather than vtimes.h.
14387 Add missing *s in vtimes prototype.
14388 (Limits on Resources): Fix ulimit prototype to return long int.
14389 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14390 prototypes to use long int rather than double.
14391 (BSD Random): Fix initstate and setstate to use char *, not void *.
14392 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14393 prototype to make second argument 'struct aiocb64 *const[]'.
14394 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14395 (Status of AIO Operations): Remove erroneous const in aio_return and
14396 aio_return64 prototypes.
14397 (Synchronizing I/O): Fix sync prototype to return void.
14398 * manual/startup.texi (Suboptions): Remove an erroneous const in
14399 getsubopt prototype.
14400 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14401 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14402 use size_t rather than int.
14403 (Scanning All Users): Likewise for getpwent_r.
14404 (Setting Groups): Add missing const to setgroups prototype.
14405 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14406 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14407 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14408 'const void *' rather than 'const char *'.
14409 (Host Address Functions): Likewise for inet_ntop.
14410 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14411 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14412 ssize_t for return value.
14413 (Sending Data): Likewise for send, sendto, sendmsg.
14414 (Socket Option Functions): Add a missing const in setsockopt prototype.
14415 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14416 use wchar_t for the argument.
14417 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14418 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14420 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14421 double/float/long double for second argument.
14422 Fix return types of significand, significandf, significandl.
14423 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14424 argument in fchmod prototype.
14425 (File Owner): Use uid_t and gid_t in fchown prototype.
14426 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14427 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14428 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14429 use 'const struct dirent **' as argument types to CMP function pointer
14431 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14432 (File Times): Fix summary magic @comment for struct utimbuf and utime
14433 to refer to utime.h, not time.h.
14434 * manual/string.texi (Argz Functions): Add missing const in
14435 argz_extract and argz_next prototypes.
14436 (Finding Tokens in a String): Likewise for basename.
14437 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14438 (Copying and Concatenation): Fix typo in wmemmove prototype.
14439 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14440 (Signal Stack): Remove erroneous const in sigstack prototype.
14441 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14443 (Simple Calendar Time): Likewise for stime.
14444 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14446 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14447 say sys/sysctl.h instead.
14448 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14449 and vsyslog prototypes.
14451 2013-02-11 Tom de Vries <tom@codesourcery.com>
14453 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14456 2013-02-11 Roland McGrath <roland@hack.frob.com>
14458 * misc/sys/mman.h: Fix typo in mremap comment.
14460 2013-02-08 Roland McGrath <roland@hack.frob.com>
14462 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14463 the '\0' terminator.
14465 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14468 * debug/segfault.c: Don't include <bp-checks.h>.
14469 * sysdeps/generic/bp-checks.h: Remove file.
14470 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14471 (__GETDENTS): Don't use CHECK_N.
14472 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14473 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14474 (__getgroups): Don't use CHECK_N.
14475 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14476 (setgroups): Don't use CHECK_N.
14477 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14478 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14479 (__libc_msgrcv): Don't use CHECK_N.
14480 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14481 (__libc_msgsnd): Don't use CHECK_N.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14484 (__libc_pread): Don't use CHECK_N.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14486 include <bp-checks.h>.
14487 (__libc_pread64): Don't use CHECK_N.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14489 include <bp-checks.h>.
14490 (__libc_pwrite): Don't use CHECK_N.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14492 include <bp-checks.h>.
14493 (__libc_pwrite64): Don't use CHECK_N.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14496 (__libc_pread): Don't use CHECK_N.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14498 include <bp-checks.h>.
14499 (__libc_pread64): Don't use CHECK_N.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14501 include <bp-checks.h>.
14502 (__libc_pwrite): Don't use CHECK_N.
14503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14504 include <bp-checks.h>.
14505 (__libc_pwrite64): Don't use CHECK_N.
14506 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14507 (do_pread): Don't use CHECK_N.
14508 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14509 (do_pread64): Don't use CHECK_N.
14510 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14511 (do_pwrite): Don't use CHECK_N.
14512 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14513 (do_pwrite64): Don't use CHECK_N.
14514 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14515 (__libc_readv): Don't use CHECK_N.
14516 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14517 (semop): Don't use CHECK_N.
14518 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14520 (semtimedop): Don't use CHECK_N.
14521 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14522 (__libc_pread): Don't use CHECK_N.
14523 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14525 (__libc_pread64): Don't use CHECK_N.
14526 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14528 (__libc_pwrite): Don't use CHECK_N.
14529 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14531 (__libc_pwrite64): Don't use CHECK_N.
14532 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14534 (__libc_msgrcv): Don't use CHECK_N.
14535 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14536 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14537 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14538 (__libc_writev): Don't use CHECK_N.
14540 2013-02-08 Roland McGrath <roland@hack.frob.com>
14542 * string/strcpy.c: Removed unused variable.
14544 * Makeconfig (+sysdep-includes): Define with := rather than =.
14545 Use an existing include/ subdir of each sysdeps dir before it.
14547 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14549 * nscd/connection.c (register_traced_file): Comment function.
14550 [HAVE_INOTIFY] (union __inev): Define.
14551 [HAVE_INOTIFY] (inotify_check_files): New function.
14552 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14553 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14555 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14557 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14559 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14560 loaded if not already and that a failure is permanent.
14562 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14565 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14566 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14568 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14571 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14572 (CHECK_1_NULL_OK): Likewise.
14573 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14574 (__fxstat): Do not use CHECK_1.
14575 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14577 (___fxstat64): Do not use CHECK_1.
14578 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14580 (__fxstatat): Do not use CHECK_1.
14581 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14583 (__fxstatat64): Do not use CHECK_1.
14584 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14586 (__fxstat): Do not use CHECK_1.
14587 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14589 (__fxstatat): Do not use CHECK_1.
14590 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14592 (__getresgid): Do not use CHECK_1.
14593 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14595 (__getresuid): Do not use CHECK_1.
14596 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14598 (__lxstat): Do not use CHECK_1.
14599 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14601 (__old_msgctl): Do not use CHECK_1.
14602 (__new_msgctl): Likewise.
14603 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14605 (__new_setrlimit): Do not use CHECK_1.
14606 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14608 (__old_shmctl): Do not use CHECK_1.
14609 (__new_shmctl): Likewise.
14610 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14612 (__xstat): Do not use CHECK_1.
14613 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14614 (__lxstat): Do not use CHECK_1.
14615 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14617 (___lxstat64): Do not use CHECK_1.
14618 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14619 (__old_msgctl): Do not use CHECK_1.
14620 (__new_msgctl): Likewise.
14621 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14623 (__gettimeofday): Do not use CHECK_1.
14624 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14625 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14626 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14628 (__gettimeofday): Do not use CHECK_1.
14629 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14630 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14631 (__new_shmctl): Do not use CHECK_1.
14632 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14634 (do_sigtimedwait): Do not use CHECK_1.
14635 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14637 (do_sigwaitinfo): Do not use CHECK_1.
14638 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14640 (msgctl): Do not use CHECK_1.
14641 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14643 (shmctl): Do not use CHECK_1.
14644 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14645 (ustat): Do not use CHECK_1.
14646 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14648 (__fxstat): Do not use CHECK_1.
14649 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14651 (__fxstatat): Do not use CHECK_1.
14652 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14654 (__lxstat): Do not use CHECK_1.
14655 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14657 (__xstat): Do not use CHECK_1.
14658 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14659 (__xstat): Do not use CHECK_1.
14660 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14661 (___xstat64): Do not use CHECK_1.
14664 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14666 (CHECK_BOUNDS_HIGH): Likewise.
14667 * string/strcpy.c: Do not include <bp-checks.h>.
14668 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14670 2013-02-07 Roland McGrath <roland@hack.frob.com>
14672 * nscd/nscd-client.h (__nscd_drop_map_ref):
14673 Add __attribute__ ((unused)).
14674 * nis/nss-nisplus.h (niserr2nss): Likewise.
14676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14677 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14679 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14680 Remove inline keyword.
14681 * include/rounding-mode.h (round_away): Likewise.
14682 * libio/wfileops.c (adjust_wide_data): Likewise.
14683 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14684 (__m128i_strloadu_tolower): Likewise.
14685 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14686 (__m128i_strloadu_tolower): Likewise.
14687 * time/mktime.c (ydhms_diff): Likewise.
14688 * locale/elem-hash.h (elem_hash): Likewise.
14689 * locale/setlocale.c (setdata): Likewise.
14690 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14691 (re_string_wchar_at): Likewise.
14692 (bitset_not, bitset_merge, bitset_mask): Likewise.
14693 [!(__GNUC__ > 3)] (inline): Remove macro.
14694 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14695 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14696 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14697 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14698 * string/memcmp.c (memcmp_bytes): Likewise.
14699 * locale/programs/locarchive.c (compute_hashval): Likewise.
14700 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14701 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14702 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14703 * nss/getent.c (print_rpc, print_protocols): Likewise.
14704 (print_passwd, print_group, print_aliases): Likewise.
14705 * nis/nss-nisplus.h (niserr2nss): Likewise.
14706 * nscd/connections.c (restart_p): Likewise.
14707 Change return type to bool.
14709 2013-02-05 Roland McGrath <roland@hack.frob.com>
14711 * Makeconfig (all-Depend-files): Add existing
14712 $(sorted-subdirs:=/Depend) files.
14713 (all-subdirs): Remove nss.
14714 * sysdeps/unix/inet/Subdirs: Add it here instead.
14715 * hesiod/Depend: New file.
14717 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14718 instead of calling alloca.
14720 * io/lseek.c (__lseek): Rename to __libc_lseek.
14721 Define __lseek as an alias.
14723 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14725 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14727 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14728 else clause and remove check for non-standard endianness.
14730 2013-02-04 David S. Miller <davem@davemloft.net>
14732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14734 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14737 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14738 (__ubp_memchr): Remove prototype.
14739 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14740 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14741 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14742 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14743 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14745 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14746 (__ubp_memchr): Likewise.
14747 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14748 (__ubp_memchr): Likewise.
14749 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14750 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14751 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14752 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14754 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14755 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14756 (__getcwd): Do not use CHECK_STRING.
14757 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14759 (__real_chown): Do not use CHECK_STRING.
14760 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14762 (fchownat): Do not use CHECK_STRING.
14763 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14765 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14767 (__lchown): Do not use CHECK_STRING.
14768 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14769 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14770 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14771 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14773 include <bp-checks.h>.
14774 (truncate64): Do not use CHECK_STRING.
14775 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14777 (__real_chown): Do not use CHECK_STRING.
14778 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14780 (__lchown): Do not use CHECK_STRING.
14781 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14783 (__chown): Do not use CHECK_STRING.
14784 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14786 (truncate64): Do not use CHECK_STRING.
14787 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14789 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14790 (__xmknod): Do not use CHECK_STRING.
14791 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14793 (__xmknodat): Do not use CHECK_STRING.
14794 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14795 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14797 2013-02-04 Andreas Schwab <schwab@suse.de>
14800 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14801 * include/netdb.h: Likewise for h_errno.
14802 * elf/tst-stackguard1.c: Include <tls.h>.
14804 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14806 * elf/link.h (struct link_map): Extend the l_addr comment.
14807 * include/link.h (struct link_map): Likewise.
14809 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14812 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14813 (BOUNDED_1): Remove macro.
14814 * debug/backtrace.c: Don't include <bp-checks.h>.
14815 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14816 (__backtrace): Likewise.
14817 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14819 (__backtrace): Don't use BOUNDED_1.
14820 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14822 (__backtrace): Don't use BOUNDED_1.
14823 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14824 (__backtrace): Don't use BOUNDED_1.
14825 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14826 (shmat): Don't use BOUNDED_N.
14828 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14831 * sysdeps/generic/bp-start.h: Remove file.
14832 * csu/libc-start.c: Don't include <bp-start.h>.
14833 (LIBC_START_MAIN): Set up __environ directly instead of using
14834 INIT_ARGV_and_ENVIRON.
14835 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14839 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14841 (CHECK_FCNTL): Likewise.
14842 (CHECK_N_PAGES): Likewise.
14845 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14847 (CHECK_SIGSET_NULL_OK): Likewise.
14848 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14850 (sigpending): Don't use CHECK_SIGSET.
14851 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14853 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14854 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14856 (do_sigsuspend): Don't use CHECK_SIGSET.
14857 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14859 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14860 (do_sigwait): Don't use CHECK_SIGSET.
14861 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14864 include <bp-checks.h>.
14865 (sigpending): Don't use CHECK_SIGSET.
14866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14867 include <bp-checks.h>.
14868 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14869 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14871 (sigpending): Don't use CHECK_SIGSET.
14872 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14874 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14877 * sysdeps/generic/bp-semctl.h: Remove file.
14878 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14879 <bp-checks.h> and <bp-semctl.h>.
14880 (__old_semctl): Don't use CHECK_SEMCTL.
14881 (__new_semctl): Likewise.
14882 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14884 (__old_semctl): Don't use CHECK_SEMCTL.
14885 (__new_semctl): Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14887 <bp-checks.h> and <bp-semctl.h>.
14888 (__old_semctl): Don't use CHECK_SEMCTL.
14889 (__new_semctl): Likewise.
14890 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14891 <bp-checks.h> and <bp-semctl.h>.
14892 (semctl): Don't use CHECK_SEMCTL.
14895 * Makerules (elide-bp-thunks): Remove variable.
14896 (elide-routines.oS): Don't use $(elide-bp-thunks).
14897 (elide-routines.os): Likewise.
14898 (elide-routines.o): Likewise.
14899 (elide-routines.op): Likewise.
14900 (elide-routines.og): Likewise.
14901 (objects): Don't use $(bp-thunks).
14902 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14904 (common-generated): Do not add s-proto-bp.d.
14905 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14908 Do not generate makefile rules for bounded-pointer thunks.
14909 * sysdeps/generic/bp-thunks.h: Remove file.
14910 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14911 * sysdeps/unix/s-proto-bp.S: Likewise.
14914 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14915 parts of result separately when argument is not close to line from
14916 -i to i and one part of argument is small.
14917 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14918 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14919 * math/libm-test.inc (cacos_test): Add more tests.
14920 (casin_test): Likewise.
14921 (casinh_test): Likewise.
14922 * sysdeps/i386/fpu/libm-test-ulps: Update.
14923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14925 2013-01-31 David S. Miller <davem@davemloft.net>
14927 * po/de.po: Update from translation team.
14929 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14931 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14933 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14935 * configure.in (_AC_PROG_CC_C89): New definition.
14936 * configure: Regenerate.
14938 * configure.in (AC_PROG_CPP): New definition.
14939 * configure: Regenerate.
14941 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14943 * debug/tst-backtrace.h: New file.
14944 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14945 (ret): Remove variable.
14947 (FAIL): Remove macro.
14948 (NO_INLINE): Likewise.
14949 (fn1): Use match function instead of strstr.
14950 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14951 (ret): Remove variable.
14953 (FAIL): Remove macro.
14954 (NO_INLINE): Likewise.
14955 (fn): Use match function instead of strstr.
14956 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14957 (ret): Remove variable.
14959 (FAIL): Remove macro.
14960 (NO_INLINE): Likewise.
14961 (handle_signal): Use match function instead of strstr.
14962 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14963 (ret): Remove variable.
14965 (FAIL): Remove macro.
14966 (NO_INLINE): Likewise.
14967 (handle_signal): Use match function instead of strstr.
14969 2013-01-23 Roland McGrath <roland@hack.frob.com>
14971 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14973 2013-01-23 David S. Miller <davem@davemloft.net>
14975 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14976 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14977 argument of CAS if possible.
14978 * sysdeps/sparc/sparc64/bits/atomic.h
14979 (__arch_compare_and_exchange_val_32_acq): Likewise.
14980 (__arch_compare_and_exchange_val_64_acq): Likewise.
14982 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14984 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14985 * sysdeps/posix/ulimit.c: ... this.
14986 Include <limits.h>.
14987 * sysdeps/unix/bsd/ulimit.c: Remove file.
14989 2013-01-23 Adam Conrad <adconrad@0c3.net>
14991 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14992 (LDFLAGS-tst-array5): Likewise.
14994 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14997 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14998 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14999 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15000 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15002 2013-01-21 David S. Miller <davem@davemloft.net>
15004 * sysdeps/sparc/backtrace.c: New file.
15005 * sysdeps/sparc/sparc32/backtrace.h: New file.
15006 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15007 * sysdeps/sparc/sparc64/backtrace.h: New file.
15008 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15009 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15012 2013-01-21 Andreas Schwab <schwab@suse.de>
15015 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15018 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15024 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15025 Mark Mitchell <mark@codesourcery.com>
15026 Tom de Vries <tom@codesourcery.com>
15027 Paul Pluzhnikov <ppluzhnikov@google.com>
15029 * debug/tst-backtrace2.c: New file.
15030 * debug/tst-backtrace3.c: Likewise.
15031 * debug/tst-backtrace4.c: Likewise.
15032 * debug/tst-backtrace5.c: Likewise.
15033 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15034 (CFLAGS-tst-backtrace3.c): Likewise.
15035 (CFLAGS-tst-backtrace4.c): Likewise.
15036 (CFLAGS-tst-backtrace5.c): Likewise.
15037 (LDFLAGS-tst-backtrace2): Likewise.
15038 (LDFLAGS-tst-backtrace3): Likewise.
15039 (LDFLAGS-tst-backtrace4): Likewise.
15040 (LDFLAGS-tst-backtrace5): Likewise.
15041 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15042 tst-backtrace4 and tst-backtrace5.
15044 2013-01-18 Anton Blanchard <anton@samba.org>
15045 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15047 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15048 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15049 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15050 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15052 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15053 "+r" and remove output regs list as redundant. Add explicit inline
15054 asm to specify register of return val to work around compiler codegen
15055 bug. Remove (int) cast on return value. Add return type parameter to
15056 use in macro so that this macro does not truncate return value for
15058 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15059 pass to INTERNAL_VSYSCALL_NCS.
15060 (INLINE_VSYSCALL): Add 'long int' as return type to
15061 INTERNAL_VSYSCALL_NCS macro invocation.
15062 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15063 INTERNAL_VSYSCALL_NCS macro invocation.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15066 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15069 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15070 Fix application of SIMD FP exception mask.
15072 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15073 mp_no from a power of two.
15074 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15075 __mpexp_twomm1. Use __pow_mp.
15077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15080 2013-01-17 David S. Miller <davem@davemloft.net>
15082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15084 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15087 * include/complex.h: Condition contents on [!_COMPLEX_H].
15088 (__kernel_casinhf): New prototype.
15089 (__kernel_casinh): Likewise.
15090 (__kernel_casinhl): Likewise.
15091 * math/Makefile (libm_calls): Add k_casinh.
15092 * math/k_casinh.c: New file.
15093 * math/k_casinhf.c: Likewise.
15094 * math/k_casinhl.c: Likewise.
15095 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15096 finite nonzero arguments.
15097 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15098 finite nonzero arguments.
15099 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15100 finite nonzero arguments.
15101 * math/s_casinh.c: Do not include <float.h>.
15102 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15103 * math/s_casinhf.c: Do not include <float.h>.
15104 (__casinhf): Move code for finite nonzero arguments to
15106 * math/s_casinhl.c: Do not include <float.h>.
15107 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15109 (__casinhl): Move code for finite nonzero arguments to
15111 * math/libm-test.inc (cacos_test): Add more tests.
15112 * sysdeps/i386/fpu/libm-test-ulps: Update.
15113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15115 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15117 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15118 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15119 [!HAVE_MREMAP]: Remove [defined linux] case.
15120 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15122 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15124 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15126 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15128 * elf/elf.h (R_386_SIZE32): New relocation.
15129 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15131 (elf_machine_rela): Likewise.
15132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15133 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15135 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15137 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15138 (FP_FAST_FMA): Do not define.
15139 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15140 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15141 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15142 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15143 !_SOFT_FLOAT]: Likewise.
15144 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15145 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15147 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15148 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15149 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15150 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15151 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15152 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15155 2013-01-16 Andreas Schwab <schwab@suse.de>
15158 * include/stdlib.h (__mktemp): Add declaration.
15159 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15160 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15162 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15164 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15166 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15167 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15168 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15170 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15171 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15173 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15175 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15176 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15177 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15179 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15180 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15182 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15184 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15186 2013-01-15 David S. Miller <davem@davemloft.net>
15188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15189 trunc{,f} to libm-sysdep_routes.
15190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15200 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15201 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15202 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15203 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15204 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15205 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15208 nearbyint{,f} to libm-sysdep_routes.
15209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15220 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15223 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15226 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15227 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15229 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15230 libc_feholdexcept and libc_fesetenv.
15232 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15234 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15236 2013-01-14 David S. Miller <davem@davemloft.net>
15238 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15239 (SPARC_ASM_VIS2_IFUNC): Likewise.
15240 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15242 use of 'siam' instruction.
15243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15276 routines to libm-sysdep_routines.
15277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15280 fdim/fdimf to libm-sysdep_routines.
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15289 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15290 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15291 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15292 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15294 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15296 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15297 to optimize copies.
15299 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15304 local variable MPTWO.
15305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15308 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15310 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15313 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15315 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15317 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15319 * manual/pattern.texi (glob_t): Document gl_flags.
15320 (glob64_t): Likewise.
15322 2013-01-11 David S. Miller <davem@davemloft.net>
15324 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15325 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15326 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15327 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15328 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15329 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15330 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15331 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15332 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15333 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15334 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15335 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15336 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15338 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15339 sparc V9 rather than using V8 code.
15340 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15341 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15343 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15345 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15348 2013-01-11 Roland McGrath <roland@hack.frob.com>
15350 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15351 not in the main loop.
15352 * configure: Regenerated.
15354 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15356 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15357 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15359 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15360 [!__GLIBC_HAVE_LONG_LONG] case.
15361 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15362 condition to just #else.
15363 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15364 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15365 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15366 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15368 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15369 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15370 #elif condition to just #else.
15371 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15372 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15373 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15374 #elif condition to just #else.
15376 2013-01-11 Steve Ellcey <sellcey@mips.com>
15378 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15379 (EF_MIPS_ARCH_64): Fix value.
15380 (EF_MIPS_ARCH_32R2): New.
15381 (EF_MIPS_ARCH_64R2): New.
15383 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15385 * Makeconfig (+link-pie-before-libc): New.
15386 (+link-pie-after-libc): Likewise.
15387 (+link-pie-tests): Likewise.
15388 (+link-pie): Rewritten.
15389 (link-before-libc): Remove $(config-LDFLAGS).
15390 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15391 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15392 (config-LDFLAGS): Renamed to ...
15393 (rtld-LDFLAGS): This.
15394 (rtld-tests-LDFLAGS): New macro.
15395 (link-libc-rpath-link): Likewise.
15396 (link-libc-tests-rpath-link): Likewise.
15397 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15398 (link-libc): Prepand $(link-libc-rpath-link).
15399 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15400 (test-program-prefix): New macro.
15401 (test-via-rtld-prefix): Likewise.
15402 (test-program-cmd): Likewise.
15403 (host-test-program-cmd): Likewise.
15404 * Makefile ($(common-objpfx)testrun.sh): Replace
15405 $(run-program-prefix) with $(test-program-prefix).
15406 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15408 ($(common-objpfx)shlib.lds): Likewise.
15409 (build-module-helper): Likewise.
15410 ($(common-objpfx)format.lds): Likewise.
15411 * Rules (binaries-pie-tests): New.
15412 (binaries-pie-notests): Likewise.
15413 (binaries-pie): Rewritten.
15414 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15415 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15416 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15417 (make-test-out): Replace $(host-built-program-cmd) with
15418 $(host-test-program-cmd).
15419 * config.make.in (build-hardcoded-path-in-tests): New variable.
15420 * configure.in (--enable-hardcoded-path-in-tests): New configure
15422 (hardcoded_path_in_tests): New AC_SUBST.
15423 * configure: Regenerated.
15424 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15425 $(built-program-cmd) with $(test-program-cmd).
15426 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15427 (test_program_cmd): This.
15428 * elf/Makefile ($(objpfx)order.out): Run test with
15429 $(test-program-prefix).
15430 ($(objpfx)order2.out): Likewise.
15431 ($(objpfx)tst-initorder.out): Likewise.
15432 ($(objpfx)tst-initorder2.out): Likewise.
15433 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15434 $(test-program-cmd).
15435 ($(objpfx)tst-array1-static.out): Likewise.
15436 ($(objpfx)tst-array2.out): Likewise.
15437 ($(objpfx)tst-array3.out): Likewise.
15438 ($(objpfx)tst-array4.out): Likewise.
15439 ($(objpfx)tst-array5.out): Likewise.
15440 ($(objpfx)tst-array5-static.out): Likewise.
15441 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15442 $(test-program-cmd).
15443 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15444 $(run-program-prefix) with $(test-program-prefix).
15445 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15446 (test_program_prefix): This.
15447 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15448 $(run-program-prefix) with $(test-program-prefix).
15449 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15450 (test_program_prefix): This.
15451 * iconvdata/tst-tables.sh: Likewise.
15452 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15453 $(run-program-prefix) with $(test-program-prefix).
15454 ($(objpfx)tst-translit.out): Likewise.
15455 ($(objpfx)tst-gettext2.out): Likewise.
15456 ($(objpfx)tst-gettext4.out): Likewise.
15457 ($(objpfx)tst-gettext6.out): Likewise.
15458 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15459 (test_program_prefix): This.
15460 * intl/tst-gettext2.sh: Likewise.
15461 * intl/tst-gettext4.sh Likewise.
15462 * intl/tst-gettext6.sh: Likewise.
15463 * intl/tst-translit.sh: Likewise.
15464 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15465 with $(test-program-cmd).
15466 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15467 $(run-program-prefix) with $(test-program-prefix).
15468 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15469 (test_program_prefix): This.
15470 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15471 $(run-program-prefix) with $(test-program-prefix).
15472 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15473 (test_program_prefix): This.
15474 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15475 * posix/Makefile ($(objpfx)globtest.out): Replace
15476 $(run-via-rtld-prefix) and $(test-wrapper) with
15477 $(test-program-prefix) and $(test-via-rtld-prefix).
15478 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15479 $(test-program-prefix).
15480 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15481 $(host-test-program-cmd).
15482 (tst-spawn-ARGS): Likewise.
15483 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15484 $(test-program-prefix).
15485 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15486 (test_via_rtld_prefix): This.
15487 (test_wrapper): Renamed to ...
15488 (test_program_prefix): This.
15489 (run_program_prefix): Replaced by test_program_prefix.
15490 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15491 (test_program_prefix): This.
15492 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15493 with $(host-test-program-cmd).
15494 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15495 $(run-program-prefix) with $(test-program-prefix).
15496 ($(objpfx)tst-printf.out): Likewise.
15497 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15498 $(test-program-cmd).
15499 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15500 (test_program_prefix): This.
15501 * stdio-common/tst-unbputc.sh: Likewise.
15502 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15503 $(run-program-prefix) with $(test-program-prefix).
15504 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15505 (test_program_prefix): This.
15506 * string/Makefile ($(objpfx)tst-svc.out): Replace
15507 $(built-program-cmd) with $(test-program-cmd).
15509 2013-01-11 Andreas Jaeger <aj@suse.de>
15512 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15513 value. Sync with Linux 3.7.
15515 2013-01-10 David S. Miller <davem@davemloft.net>
15517 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15518 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15519 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15521 2013-01-10 Roland McGrath <roland@hack.frob.com>
15523 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15525 * configure: Regenerated.
15527 2013-01-10 David S. Miller <davem@davemloft.net>
15529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15530 sparc V9 rather than using V8 code.
15531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15534 2013-01-10 Roland McGrath <roland@hack.frob.com>
15536 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15537 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15538 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15539 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15540 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15541 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15542 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15543 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15544 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15545 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15546 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15547 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15548 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15549 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15550 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15551 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15552 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15553 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15554 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15555 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15556 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15557 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15558 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15559 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15560 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15561 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15562 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15564 2013-01-10 David S. Miller <davem@davemloft.net>
15566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15568 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15570 * posix/Makefile (tests-static): New variable.
15571 (tests): Add $(tests-static).
15572 (tst-exec-static-ARGS): New variable.
15573 (tst-spawn-static-ARGS): Likewise.
15574 * posix/tst-exec-static.c: New file.
15575 * posix/tst-spawn-static.c: Likewise.
15576 * posix/tst-exec.c: Support run directly.
15577 * posix/tst-spawn.c: Likewise.
15579 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15581 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15583 * math/bits/mathcalls.h (llrint): Likewise.
15584 (llround): Likewise.
15585 * stdlib/stdlib.h (struct drand48_data): Likewise.
15586 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15587 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15588 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15590 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15592 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15593 (elf_greg_t): Likewise.
15594 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15595 (__jmp_buf): Likewise.
15596 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15598 (llrint): Likewise, for all definitions.
15599 (llrintl): Likewise.
15601 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15602 Remove [__GNUC__] condition.
15603 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15604 condition to just [__USE_ISOC99].
15605 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15607 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15610 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15611 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15613 (_POSIX_V6_ILP32_OFF32): Likewise.
15614 (_XBS5_ILP32_OFF32): Likewise.
15615 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15616 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15618 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15620 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15623 doubles __mpexp_twomm1. Adjust usage.
15624 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15627 2013-01-10 Andreas Schwab <schwab@suse.de>
15630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15631 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15633 2013-01-09 David S. Miller <davem@davemloft.net>
15636 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15637 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15638 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15639 TCP_FASTOPEN): Define.
15640 (tcp_repair_opt): New structure.
15641 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15643 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15644 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15645 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15646 (tcp_cookie_transactions): New structure.
15648 2013-01-09 Anton Blanchard <anton@samba.org>
15650 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15651 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15652 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15653 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15655 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15657 * include/features.h (__USE_ANSI): Remove.
15659 2013-01-09 Roland McGrath <roland@hack.frob.com>
15661 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15663 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15665 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15667 * sysdeps/s390/fpu/libm-test-ulps: Update.
15669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15671 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15675 (denorm): Likewise.
15676 (__mp_dbl): Likewise.
15677 (__dbl_mp): Likewise.
15678 (add_magnitudes): Likewise.
15679 (sub_magnitudes): Likewise.
15685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15689 (denorm): Likewise.
15690 (__mp_dbl): Likewise.
15691 (__dbl_mp): Likewise.
15692 (add_magnitudes): Likewise.
15693 (sub_magnitudes): Likewise.
15699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15703 (denorm): Likewise.
15704 (__mp_dbl): Likewise.
15705 (__dbl_mp): Likewise.
15706 (add_magnitudes): Likewise.
15707 (sub_magnitudes): Likewise.
15714 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15716 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15717 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15718 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15719 2 && __USE_EXTERN_INLINES]: Likewise.
15721 2013-01-08 Andreas Jaeger <aj@suse.de>
15724 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15726 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15727 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15729 2013-01-07 Anton Blanchard <anton@samba.org>
15731 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15732 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15733 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15734 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15735 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15736 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15737 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15738 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15740 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15741 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15742 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15743 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15745 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15746 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15747 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15748 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15749 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15751 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15752 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15753 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15754 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15755 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15756 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15757 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15758 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15760 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15761 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15763 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15764 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15765 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15767 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15768 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15769 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15770 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15771 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15772 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15773 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15775 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15777 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15778 (__MALLOC_PMT): Likewise.
15779 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15780 [__GNUC__], only on [_LIBC].
15781 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15782 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15783 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15784 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15785 forward declaration.
15786 (realloc_hook_ini): Likewise.
15787 (memalign_hook_ini): Likewise.
15788 (__libc_memalign): Do not use __MALLOC_PMT in variable
15790 (__libc_valloc): Likewise.
15791 (__libc_pvalloc): Likewise.
15792 (__libc_calloc): Likewise.
15793 (__posix_memalign): Likewise.
15796 * math/s_casinh.c: Include <float.h>.
15797 (__casinh): Do not do computation with squaring and square root
15798 for large arguments.
15799 * math/s_casinhf.c: Include <float.h>.
15800 (__casinhf): Do not do computation with squaring and square root
15801 for large arguments.
15802 * math/s_casinhl.c: Include <float.h>.
15803 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15804 (__casinhl): Do not do computation with squaring and square root
15805 for large arguments.
15806 * math/libm-test.inc (casin_test): Add more tests.
15807 (casinh_test): Likewise.
15808 * sysdeps/i386/fpu/libm-test-ulps: Update.
15809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15813 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15814 (__x86_64_raw_data_cache_size): Likewise.
15815 (__x86_64_data_cache_size_half): Likewise.
15816 (__x86_64_raw_data_cache_size_half): Likewise.
15817 (__x86_64_shared_cache_size): Likewise.
15818 (__x86_64_raw_shared_cache_size): Likewise.
15819 (__x86_64_shared_cache_size_half): Likewise.
15820 (__x86_64_raw_shared_cache_size_half): Likewise.
15821 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15823 (__x86_data_cache_size): This.
15824 (__x86_64_raw_data_cache_size): Renamed to ...
15825 (__x86_raw_data_cache_size): This.
15826 (__x86_64_data_cache_size_half): Renamed to ...
15827 (__x86_data_cache_size_half): This.
15828 (__x86_64_raw_data_cache_size_half): Renamed to ...
15829 (__x86_raw_data_cache_size_half): This.
15830 (__x86_64_shared_cache_size): Renamed to ...
15831 (__x86_shared_cache_size): This.
15832 (__x86_64_raw_shared_cache_size): Renamed to ...
15833 (__x86_raw_shared_cache_size): This.
15834 (__x86_64_shared_cache_size_half): Renamed to ...
15835 (__x86_shared_cache_size_half): This.
15836 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15837 (__x86_raw_shared_cache_size_half): This.
15838 * sysdeps/x86_64/memcpy.S: Updated.
15839 * sysdeps/x86_64/memset.S: Likewise.
15840 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15844 2013-01-04 David S. Miller <davem@davemloft.net>
15846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15848 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15850 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15851 1 to avoid redefinition warning.
15852 (__USE_GNU): Don't define.
15853 (init_signaling_nan): Protoize.
15855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15857 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15859 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15861 (__cpymn): Likewise.
15862 (norm): Remove commented code.
15863 (denorm): Likewise.
15864 (__mp_dbl): Likewise.
15866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15867 (__cpymn): Likewise.
15868 (norm): Remove commented code.
15869 (denorm): Likewise.
15870 (__mp_dbl): Likewise.
15873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15874 mp_no value for 1.0 and 2.0.
15875 (norm): Use RADIXI instead of radixi.d.
15876 (denorm): Likewise.
15877 (__mul): Use 0.0 instead of zero.d.
15878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15879 mp_no value for 1.0 and 2.0.
15880 (norm): Use RADIXI instead of radixi.d.
15881 (denorm): Likewise.
15882 (__mul): Use 0.0 instead of zero.d.
15884 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15887 * math/s_casinh.c (__casinh): Reduce finite argument to first
15888 quadrant then set signs of results at the end.
15889 * math/s_casinhf.c (__casinhf): Likewise.
15890 * math/s_casinhl.c (__casinhl): Likewise.
15891 * math/libm-test.inc (casin_test): Add more tests.
15892 (casinh_test): Likewise.
15893 * sysdeps/i386/fpu/libm-test-ulps: Update.
15894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15896 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15898 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15900 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15902 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15904 (denorm): Likewise.
15905 (__mp_dbl): Likewise.
15908 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15909 and adjust the header comment.
15911 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15912 variable name from declaration.
15914 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15917 Initialize COMMON_CPUID_INDEX_7 element.
15918 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15919 (CPUID_RTM): Likewise.
15920 (HAS_RTM): Likewise.
15921 (COMMON_CPUID_INDEX_7): New enum.
15923 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15926 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15927 size is zero, record memory as freed.
15929 2013-01-03 Andreas Jaeger <aj@suse.de>
15931 * po/ia.po: Add new Interlingua translation.
15933 2012-01-03 Allan McRae <allan@archlinux.org>
15935 * locale/programs/localedef.c: Fix description of '--posix' flag.
15937 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15939 * NEWS: Update dates in second copyright notice.
15940 * README: Update copyright dates in example.
15941 * manual/libc.texinfo: Update copyright dates.
15942 * scripts/test-installation.pl: Update copyright date in --version
15945 * hurd/ctty-input.c: Fix copyright notice formatting.
15946 * hurd/ctty-output.c: Likewise.
15947 * hurd/dtable.c: Likewise.
15948 * hurd/hurd-raise.c: Likewise.
15949 * hurd/hurdprio.c: Likewise.
15950 * hurd/msgportdemux.c: Likewise.
15951 * misc/sys/file.h: Likewise.
15952 * misc/sys/ioctl.h: Likewise.
15953 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15954 * sysdeps/mach/hurd/chdir.c: Likewise.
15955 * sysdeps/mach/hurd/fchdir.c: Likewise.
15956 * sysdeps/mach/hurd/rename.c: Likewise.
15957 * sysdeps/mach/hurd/rmdir.c: Likewise.
15958 * sysdeps/mach/hurd/seekdir.c: Likewise.
15959 * sysdeps/mach/hurd/setsid.c: Likewise.
15960 * sysdeps/posix/wait3.c: Likewise.
15962 * All files with FSF copyright notices: Update copyright dates
15963 using scripts/update-copyrights.
15964 * intl/plural.c: Regenerated.
15965 * locale/programs/charmap-kw.h: Likewise.
15966 * locale/programs/locfile-kw.h: Likewise.
15968 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15970 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15973 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15974 calculation loop and add branch prediction.
15976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15977 check access beyond bounds of m1np.
15979 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15981 (__inv): Remove local variable MPTWO to use the global
15983 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15987 MP3HALFS static const.
15989 2013-01-01 David S. Miller <davem@davemloft.net>
15991 * po/ca.po: Update from translation team.
15993 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15995 * scripts/update-copyrights: New file.
15996 * Makeconfig: Reformat copyright notice.
15997 * ctype/ctype.h: Likewise.
15998 * debug/swprintf_chk.c: Likewise.
15999 * elf/dl-cache.c: Likewise.
16000 * elf/dl-debug.c: Likewise.
16001 * elf/dl-object.c: Likewise.
16002 * grp/initgroups.c: Likewise.
16003 * hurd/Makefile: Likewise.
16004 * hurd/hurd/signal.h: Likewise.
16005 * hurd/hurdfault.c: Likewise.
16006 * hurd/hurdioctl.c: Likewise.
16007 * hurd/hurdlookup.c: Likewise.
16008 * hurd/intr-msg.c: Likewise.
16009 * iconv/gconv_open.c: Likewise.
16010 * libio/swprintf.c: Likewise.
16011 * locale/lc-ctype.c: Likewise.
16012 * locale/nl_langinfo.c: Likewise.
16013 * mach/Machrules: Likewise.
16014 * mach/Makefile: Likewise.
16015 * malloc/obstack.h: Likewise.
16016 * manual/Makefile: Likewise.
16017 * manual/tsort.awk: Likewise.
16018 * misc/bits/stab.def: Likewise.
16019 * nis/nis_print_group_entry.c: Likewise.
16020 * nis/nis_table.c: Likewise.
16021 * nis/nss_compat/compat-pwd.c: Likewise.
16022 * nis/nss_compat/compat-spwd.c: Likewise.
16023 * po/Makefile: Likewise.
16024 * posix/fnmatch.c: Likewise.
16025 * posix/regex.h: Likewise.
16026 * resolv/Makefile: Likewise.
16027 * resolv/nss_dns/dns-network.c: Likewise.
16028 * resolv/res_hconf.c: Likewise.
16029 * scripts/gen-sorted.awk: Likewise.
16030 * soft-fp/soft-fp.h: Likewise.
16031 * stdio-common/printf.h: Likewise.
16032 * stdlib/monetary.h: Likewise.
16033 * stdlib/random.c: Likewise.
16034 * stdlib/random_r.c: Likewise.
16035 * sysdeps/generic/Makefile: Likewise.
16036 * sysdeps/gnu/Makefile: Likewise.
16037 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16039 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16041 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16044 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16045 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16046 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16048 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16053 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16065 * sysdeps/mach/hurd/errnos.awk: Likewise.
16066 * sysdeps/mach/hurd/fork.c: Likewise.
16067 * sysdeps/mach/hurd/getcwd.c: Likewise.
16068 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16069 * sysdeps/mach/hurd/mmap.c: Likewise.
16070 * sysdeps/mach/hurd/utimes.c: Likewise.
16071 * sysdeps/mach/hurd/xmknod.c: Likewise.
16072 * sysdeps/posix/profil.c: Likewise.
16073 * sysdeps/posix/readdir_r.c: Likewise.
16074 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16075 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16076 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16077 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16079 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16080 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16081 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16083 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16084 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16085 * sysdeps/pthread/lio_listio.c: Likewise.
16086 * sysdeps/sparc/dl-procinfo.h: Likewise.
16087 * sysdeps/unix/i386/sysdep.S: Likewise.
16088 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16089 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16090 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16091 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16093 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16094 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16095 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16096 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16097 * sysdeps/wordsize-32/divdi3.c: Likewise.
16098 * time/sys/time.h: Likewise.
16099 * wcsmbs/Makefile: Likewise.
16101 2013-01-01 David S. Miller <davem@davemloft.net>
16103 * po/fr.po: Update from translation team.
16105 * catgets/gencat.c: Update copyright year.
16106 * csu/version.c: Likewise.
16107 * debug/catchsegv.sh: Likewise.
16108 * debug/pcprofiledump.c: Likewise.
16109 * debug/xtrace.sh: Likewise.
16110 * elf/ldconfig.c: Likewise.
16111 * elf/ldd.bash.in: Likewise.
16112 * elf/pldd.c: Likewise.
16113 * elf/sotruss.ksh: Likewise.
16114 * elf/sprof.c: Likewise.
16115 * iconv/iconv_prog.c: Likewise.
16116 * iconv/iconvconfig.c: Likewise.
16117 * locale/programs/locale.c: Likewise.
16118 * locale/programs/localedef.c: Likewise.
16119 * login/programs/pt_chown.c: Likewise.
16120 * malloc/memusage.sh: Likewise.
16121 * malloc/memusagestat.c: Likewise.
16122 * malloc/mtrace.pl: Likewise.
16123 * nscd/nscd.c: Likewise.
16124 * nss/getent.c: Likewise.
16125 * nss/makedb.c: Likewise.
16126 * posix/getconf.c: Likewise.
16128 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16130 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16133 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16135 * math/bits/mathcalls.h (modf): Use __nonnull.
16137 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16139 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16140 (split): Use macro CN instead of the bare value.
16141 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16144 instead of the bare value.
16145 (power1): Likewise.
16147 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16151 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16153 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16155 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16157 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16158 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16160 2012-12-28 Andreas Jaeger <aj@suse.de>
16162 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16163 values are from Linux 3.7.
16165 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16166 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16168 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16170 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16173 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16175 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16176 variables with preprocessor constants.
16177 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16178 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16179 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16181 2012-12-27 Bruno Haible <bruno@clisp.org>
16184 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16187 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16190 and use variable directly.
16191 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16193 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16195 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16198 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16200 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16201 include directive. Remove local variable MPONE.
16202 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16203 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16204 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16206 2012-12-25 David S. Miller <davem@davemloft.net>
16208 * version.h (RELEASE): Set to "development".
16209 (VERSION): Set to "2.17.90".
16210 * NEWS: Add 2.18 section.
16212 2012-12-21 David S. Miller <davem@davemloft.net>
16214 * po/hr.po: Update from translation team.
16216 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16218 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16220 2012-12-19 Steve Ellcey <sellcey@mips.com>
16222 * NEWS: Mention new memcpy for MIPS.
16224 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16226 * manual/contrib.texi (Contributors): Spelling correction.
16228 2012-12-15 David S. Miller <davem@davemloft.net>
16230 * po/ru.po: Update from translation team.
16232 2012-12-13 David S. Miller <davem@davemloft.net>
16234 * NEWS: Mention IFUNC testsuite enhancements.
16236 * po/pl.po: Update from translation team.
16237 * po/bg.po: Likewise.
16239 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16240 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16242 2012-12-11 David S. Miller <davem@davemloft.net>
16244 * po/sv.po: Update from translation team.
16246 * po/vi.po: Update from translation team.
16248 * po/cs.po: Update from translation team.
16250 * po/de.po: Update from translation team.
16251 * po/eo.po: Likewise.
16252 * po/nl.po: Likewise.
16254 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16257 * manual/argp.texi (Argp Helper Functions): Move node to follow
16258 Argp Parsing State.
16261 * manual/conf.texi (Limits on File System Capacity): Mention if
16262 terminating null is included in the max size.
16264 2012-12-10 Andreas Jaeger <aj@suse.de>
16266 * po/cs.po: Update from translation team.
16268 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16270 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16271 void pointer and cast to uintptr_t.
16272 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16274 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16275 * sysdeps/s390/s390-64/memset.S: Likewise.
16277 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16280 * menual/message.texi (Message Translation): Fix typos.
16281 (Helper programs for gettext): Likewise.
16283 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16286 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16289 2012-12-07 David S. Miller <davem@davemloft.net>
16291 * po/libc.pot: Update.
16293 2012-12-07 Richard Henderson <rth@redhat.com>
16296 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16297 normal/normal case to before the switch.
16298 (_FP_DIV): Likewise.
16300 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16301 Mike Frysinger <vapier@gentoo.org>
16303 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16304 check for __NR_fadvise64_64.
16306 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16308 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16309 0, not just to plain "0" as a statement.
16310 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16313 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16315 * NEWS: Use sourceware.org in Bugzilla URL.
16317 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16320 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16322 * stdio-common/tst-put-error.c (do_test): Add newline to the
16323 padded test to ensure flush.
16325 2012-12-05 Jeff Law <law@redhat.com>
16327 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16329 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16331 * README: Don't refer to ports add-on as distributed separately.
16332 Mention AArch64 in list of systems supported in the ports add-on.
16334 * LICENSES: Add more non-FSF copyright and license notices.
16336 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16339 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16341 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16342 10000 as width of padded output.
16344 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16346 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16349 variable LX with __attribute__ ((unused)).
16350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16352 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16355 with __attribute__ ((unused)).
16357 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16359 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16361 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16363 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16364 (CFLAGS-nldbl-acos.c): New variable.
16365 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16366 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16367 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16368 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16369 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16370 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16371 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16372 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16373 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16376 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16377 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16378 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16379 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16380 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16381 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16382 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16383 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16384 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16385 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16386 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16387 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16388 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16389 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16390 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16395 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16396 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16397 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16398 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16399 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16400 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16401 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16402 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16403 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16404 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16405 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16406 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16407 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16408 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16409 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16410 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16411 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16412 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16413 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16414 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16415 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16416 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16417 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16418 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16419 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16420 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16421 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16422 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16423 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16424 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16425 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16426 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16427 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16428 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16429 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16430 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16431 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16432 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16433 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16434 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16435 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16436 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16437 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16438 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16439 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16440 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16441 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16442 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16443 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16444 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16445 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16446 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16447 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16448 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16449 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16450 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16451 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16452 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16453 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16454 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16455 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16456 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16457 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16458 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16459 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16460 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16461 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16464 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16468 whole low double instead of just low 47 bits when splitting values
16471 2012-12-03 Allan McRae <allan@archlinux.org>
16473 * manual/stdio.texi (Predefined Printf Handlers): Remove
16474 @hsep and @vsep usage.
16476 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16478 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16479 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16481 2012-12-03 Jeff Law <law@redhat.com>
16483 * time/sys/time.h (settimeofday): Do not mark TV argument
16486 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16488 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16489 when currently writing and seek to current position when not.
16490 * libio/Makefile (tests): Remove bug-fclose1.
16491 * libio/bug-fclose1.c: Delete.
16493 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16495 * manual/arith.texi (feenableexcept): Fix typo.
16496 (fedisableexcept): Likewise.
16498 2012-11-30 Roland McGrath <roland@hack.frob.com>
16500 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16501 second, differently-typed declaration, rather than a cast.
16503 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16505 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16506 * include/rpc/svc.h: ... here.
16508 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16511 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16512 depending n and resplen2 to catch cases where answer
16515 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16517 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16518 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16520 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16522 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16524 2012-11-29 Roland McGrath <roland@hack.frob.com>
16526 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16528 2012-11-28 Jeff Law <law@redhat.com>
16531 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16532 dataset_temporary. Track alloca usage into alloca_used.
16533 If dataset is large allocate and release it via malloc/free.
16535 2012-06-04 Florian Weimer <fweimer@redhat.com>
16538 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16540 2012-11-28 David S. Miller <davem@davemloft.net>
16542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16544 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16547 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16548 of pi/2 rounded to nearest to 64 bits.
16549 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16550 nearest to 64 bits.
16551 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16554 2012-11-28 Jeff Law <law@redhat.com>
16555 Martin Osvald <mosvald@redhat.com>
16558 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16559 * sunrpc/svc.c: Include time.h.
16560 (__svc_accept_failed): New function.
16561 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16562 any reason other than EINTR, call __svc_accept_failed.
16563 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16564 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16566 2012-11-28 Andreas Schwab <schwab@suse.de>
16568 * scripts/abilist.awk: Also handle indirect functions in .opd
16571 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16574 * sysdeps/x86/fpu/powl_helper.c: New file.
16575 * sysdeps/x86/fpu/Makefile: Likewise.
16576 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16578 (__ieee754_powl): Use __powl_helper for finite arguments except
16579 integer exponents below 8.
16580 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16582 (__ieee754_powl): Use __powl_helper for finite arguments except
16583 integer exponents below 8.
16584 * math/libm-test.inc (pow_test): Add more tests and enable some
16585 previously disabled tests.
16586 * sysdeps/i386/fpu/libm-test-ulps: Update.
16587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16589 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16590 Carlos O'Donell <carlos_odonell@mentor.com>
16592 * nss/makedb.c (is_prime): Assert that input is odd and greater
16593 than 4. Note that fact in a comment too.
16594 (next_prime): Add 4 to input.
16596 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16599 * libio/Makefile (tests): Add test case tst-fwrite-error.
16600 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16601 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16602 * libio/tst-fwrite-error.c: New test case.
16604 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16606 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16607 before casting to void *.
16608 * include/libc-internal.h (__pointer_type): New macro.
16609 (__integer_if_pointer_type_sub): Likewise.
16610 (__integer_if_pointer_type): Likewise.
16611 (cast_to_integer): Likewise.
16612 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16613 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16614 before casting to atomic64_t.
16615 (atomic_exchange_acq): Likewise.
16616 (__arch_exchange_and_add_body): Likewise.
16617 (__arch_add_body): Likewise.
16618 (atomic_add_negative): Likewise.
16619 (atomic_add_zero): Likewise.
16621 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16623 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16624 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16625 (add_fdes): Likewise.
16626 (linear_search_fdes): Likewise.
16627 (binary_search_unencoded_fdes): Likewise.
16629 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16631 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16633 2012-11-24 Adam Conrad <adconrad@0c3.net>
16635 * configure.in: Autodetect C++ header directories.
16636 * configure: Regenerated.
16638 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16640 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16642 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16646 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16648 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16649 LDBL_MANT_DIG == 106]: Disable some tests.
16650 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16652 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16656 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16657 input for small inputs. Return +/- pi/2 for large inputs.
16658 * math/libm-test.inc (atan_test): Add more tests.
16660 * sysdeps/generic/unwind-dw2-fde-glibc.c
16661 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16662 __attribute__ ((unused)).
16665 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16666 x * y if x and y are nonzero and z is zero.
16669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16670 nonzero exponents with absolute value below 0x1p-117 to +/-
16674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16675 up arguments below 2**-450, not just those below 2**-500.
16676 * math/libm-test.inc (hypot_test): Add another test.
16679 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16680 Return a+b for ratio over 2**120, not 2**60.
16681 * math/libm-test.inc (hypot_test): Add another test.
16683 * math/libm-test.inc (clog_test): Use
16684 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16685 (clog10_test): Likewise.
16688 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16690 2012-11-22 Andreas Schwab <schwab@suse.de>
16692 * sysdeps/i386/fpu/libm-test-ulps: Update.
16694 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16696 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16697 printf output with newline.
16699 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16702 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16703 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16704 -z nodlopen, -z initfirst and -z execstack support.
16705 * configure: Regenerated.
16707 * elf/elf.h (DF_1_NODIRECT): New macro.
16708 (DF_1_IGNMULDEF): Likewise.
16709 (DF_1_NOKSYMS): Likewise.
16710 (DF_1_NOHDR): Likewise.
16711 (DF_1_EDITED): Likewise.
16712 (DF_1_NORELOC): Likewise.
16713 (DF_1_SYMINTPOSE): Likewise.
16714 (DF_1_GLOBAUDIT): Likewise.
16715 (DF_1_SINGLETON): Likewise.
16716 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16717 DT_1_SUPPORTED_MASK bits.
16718 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16720 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16722 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16724 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16726 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16729 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16730 (sendmmsg): Move declarations...
16731 * socket/sys/socket.h: ... here.
16732 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16733 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16735 * socket/recvmmsg.c: ... this new file.
16736 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16737 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16738 definition of __sendmmsg hidden.
16739 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16740 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16741 Move ENOSYS stub into and include it from...
16742 * socket/sendmmsg.c: ... this new file.
16743 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16744 (sysdep_routines): Move recvmmsg and sendmmsg...
16745 * socket/Makefile (routines): ... here.
16746 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16747 (GLIBC_PRIVATE): Add __sendmmsg.
16748 * include/sys/socket.h (__sendmmsg): Add declarations.
16749 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16752 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16755 variable I1 with __attribute__ ((unused)).
16756 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16758 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16760 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16761 DUMMY variables with __attribute__ ((unused)).
16763 * bits/byteswap.h: Include <bits/types.h>.
16764 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16766 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16768 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16769 string_t. Do not manually set errno.
16770 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16771 length with __strnlen. Make sure to both set errno and return it on
16774 2012-11-19 David S. Miller <davem@davemloft.net>
16776 With help from Joseph Myers.
16777 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16778 very large arguments properly.
16779 * math/libm-test.inc (atan_test): New tests.
16780 (atan2_test): New tests.
16781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16784 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16787 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16790 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16791 [POSIX] (EADDRNOTAVAIL): Likewise.
16792 [POSIX] (EAFNOSUPPORT): Likewise.
16793 [POSIX] (EALREADY): Likewise.
16794 [POSIX] (ECONNABORTED): Likewise.
16795 [POSIX] (ECONNREFUSED): Likewise.
16796 [POSIX] (ECONNRESET): Likewise.
16797 [POSIX] (EDESTADDRREQ): Likewise.
16798 [POSIX] (EDQUOT): Likewise.
16799 [POSIX] (EHOSTUNREACH): Likewise.
16800 [POSIX] (EIDRM): Likewise.
16801 [POSIX] (EISCONN): Likewise.
16802 [POSIX] (ELOOP): Likewise.
16803 [POSIX] (EMULTIHOP): Likewise.
16804 [POSIX] (ENETDOWN): Likewise.
16805 [POSIX] (ENETUNREACH): Likewise.
16806 [POSIX] (ENOBUFS): Likewise.
16807 [POSIX] (ENODATA): Likewise.
16808 [POSIX] (ENOLINK): Likewise.
16809 [POSIX] (ENOMSG): Likewise.
16810 [POSIX] (ENOPROTOOPT): Likewise.
16811 [POSIX] (ENOSR): Likewise.
16812 [POSIX] (ENOSTR): Likewise.
16813 [POSIX] (ENOTCONN): Likewise.
16814 [POSIX] (ENOTSOCK): Likewise.
16815 [POSIX] (EOPNOTSUPP): Likewise.
16816 [POSIX] (EOVERFLOW): Likewise.
16817 [POSIX] (EPROTO): Likewise.
16818 [POSIX] (EPROTONOSUPPORT): Likewise.
16819 [POSIX] (EPROTOTYPE): Likewise.
16820 [POSIX] (ESTALE): Likewise.
16821 [POSIX] (ETIME): Likewise.
16822 [POSIX] (ETXTBSY): Likewise.
16823 [POSIX] (EWOULDBLOCK): Likewise.
16824 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16825 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16826 [POSIX] (SEEK_CUR): Likewise.
16827 [POSIX] (SEEK_END): Likewise.
16828 [POSIX || UNIX98] (mode_t): Do not require.
16829 [POSIX] (off_t): Likewise.
16830 [POSIX] (pid_t): Likewise.
16831 [POSIX] (sys/stat.h): Do not allow header.
16832 [POSIX] (unistd.h): Likewise.
16833 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16834 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16835 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16836 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16838 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16839 sigevent): Specify elements.
16840 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16842 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16843 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16845 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16846 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16847 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16848 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16849 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16850 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16851 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16852 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16853 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16854 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16855 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16856 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16857 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16858 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16860 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16862 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16864 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16866 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16867 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16868 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16869 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16870 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16871 Specify lower bound on value.
16872 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16873 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16874 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16875 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16876 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16877 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16878 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16879 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16881 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16883 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16884 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16885 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16886 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16887 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16888 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16889 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16890 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16891 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16892 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16893 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16894 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16895 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16896 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16897 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16898 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16900 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16902 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16903 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16904 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16905 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16906 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16907 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16909 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16910 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16911 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16912 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16913 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16914 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16915 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16917 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16918 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16919 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16920 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16921 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16922 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16923 specify as optional.
16924 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16925 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16926 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16927 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16928 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16929 [XPG3] (NL_LANGMAX): Likewise.
16930 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16931 [POSIX || XPG3] (NL_NMAX): Likewise.
16932 [POSIX || XPG3] (NL_SETMAX): Likewise.
16933 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16934 [XPG3] (NZERO): Likewise.
16935 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16936 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16937 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16938 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16939 (REG_ERANGE): Expect.
16940 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16942 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16943 Use (void) in prototype.
16944 [POSIX] (*_t): Allow.
16945 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16946 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16947 (WRDE_BADVAL): Expect.
16949 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16951 [XPG3 || XPG4] (O_RSYNC): Likewise.
16952 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16954 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16955 [XPG3 || XPG4] (sigqueue): Likewise.
16956 [XPG3 || XPG4] (sigtimedwait): Likewise.
16957 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16958 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16959 [XPG3 || XPG4] (vsnprintf): Likewise.
16960 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16962 [XPG3 || XPG4] (blksize_t): Likewise.
16963 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16965 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16966 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16967 [XPG3 || XPG4] (struct itimerspec): Likewise.
16968 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16969 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16970 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16971 [XPG3 || XPG4] (clockid_t): Likewise.
16972 [XPG3 || XPG4] (timer_t): Likewise.
16973 [XPG3 || XPG4] (clock_getres): Likewise.
16974 [XPG3 || XPG4] (clock_gettime): Likewise.
16975 [XPG3 || XPG4] (clock_settime): Likewise.
16976 [XPG3 || XPG4] (nanosleep): Likewise.
16977 [XPG3 || XPG4] (timer_create): Likewise.
16978 [XPG3 || XPG4] (timer_delete): Likewise.
16979 [XPG3 || XPG4] (timer_gettime): Likewise.
16980 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16981 [XPG3 || XPG4] (timer_settime): Likewise.
16982 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16983 [XPG3 || XPG4] (getlogin_r): Likewise.
16984 [XPG3 || XPG4] (pread): Likewise.
16985 [XPG3 || XPG4] (pthread_atfork): Likewise.
16986 [XPG3 || XPG4] (pwrite): Likewise.
16989 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16992 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16994 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16995 finalizing MALLSTREAM.
16997 * sysdeps/mach/hurd/syncfs.c: New file.
16999 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17003 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17004 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17005 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17006 (_nss_dns_gethostbyname4_r): Likewise.
17007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17008 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17010 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17013 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17015 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17017 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17018 * elf/cache.c (print_entry): Print ",AArch64" for
17021 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17022 * elf/cache.c (print_entry): Print ",hard-float" for
17025 2012-11-18 David S. Miller <davem@davemloft.net>
17027 With help from Joseph Myers.
17028 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17030 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17032 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17033 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17035 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17036 * math/libm-test.inc (y0_test): New tests.
17037 (y1_test): New tests.
17038 * sysdeps/i386/fpu/libm-test-ulps: Update.
17039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17042 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17044 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17046 * configure: Regenerated.
17048 2012-11-17 David S. Miller <davem@davemloft.net>
17051 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17052 nonzero exponents with absolute value below 0x1p-128 to +/-
17055 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17057 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17059 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17061 * posix/getconf-speclist.c: New file.
17062 * posix/posix-envs.def: Likewise.
17063 * posix/confstr.c (START_ENV_GROUP): New macro.
17064 (END_ENV_GROUP): Likewise.
17065 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17066 (KNOWN_PRESENT_ENV_STRING): Likewise.
17067 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17068 (UNKNOWN_ENVIRONMENT): Likewise.
17069 (confstr): Include posix-envs.def instead of handling
17070 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17071 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17072 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17073 (END_ENV_GROUP): Likewise.
17074 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17075 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17076 (UNKNOWN_ENVIRONMENT): Likewise.
17077 (__sysconf): Include posix-envs.def instead of handling associated
17078 cases directly here.
17079 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17080 preprocessing getconf-speclist.c rather than running getconf or
17081 generating empty file.
17083 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17085 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17087 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17090 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17092 2012-11-16 David S. Miller <davem@davemloft.net>
17094 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17095 smaller than LDBL_EPSILON/2.0L, just return xm1.
17097 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17099 * elf/tst-array1.c (init): Set constructor priority to 1000.
17100 (fini): Set destructor priority to 1000.
17101 * elf/tst-array2dep.c: Likewise.
17103 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17106 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17107 (_IO_new_file_xsputn): Also return EOF if none of the input
17108 data was written when overflow failed.
17109 * libio/iopadn.c (_IO_padn): Likewise.
17110 * libio/iowpadn.c (_IO_wpadn): Likewise.
17111 * stdio-common/tst-put-error.c: Add copyright notice.
17112 (do_test): Add case for printing padded string.
17113 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17114 _IO_padn returned error.
17115 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17116 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17119 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17121 * libio/libioP.h: Add comment note that the references to C++
17122 bits are now obsolete.
17124 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17126 * math/libm-test.inc (check_complex): Use asprintf.
17128 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17130 * debug/pcprofiledump.c (print_version): Update copyright year.
17131 * malloc/memusagestat.c (print_version): Likewise.
17133 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17136 * elf/Makefile (tests): Add tst-audit8.
17137 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17138 ($(objpfx)tst-audit8.out): New target.
17139 (tst-audit8-ENV): New variable.
17140 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17141 audit if l_reloc_result is NULL.
17142 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17143 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17144 * elf/tst-audit8.c: New file.
17146 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17148 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17149 * misc/Makefile (CFLAGS-select.c): Define.
17150 * posix/Makefile (CFLAGS-pause.c): Define.
17152 2012-11-13 David S. Miller <davem@davemloft.net>
17154 * crypt/Makefile: Move test targets after toplevel Rules
17155 inclusion. Grab any necessary sysdep routines when linking.
17156 * crypt/md5.c (md5_process_block): Remove define, we will always
17157 name it __md5_process_block.
17158 (md5_finish_ctx): Update md5_process_block call.
17159 (md5_stream): Likewise.
17160 (md5_process_bytes): Likewise.
17161 (md5_process_block): Rename to __md5_process_block and move to ...
17162 * crypt/md5-block.c: ... here.
17163 * crypt/sha256.c (sha256_process_block): Move to ...
17164 * crypt/sha256-block.c: ... here.
17165 * crypt/sha512.c (sha512_process_block): Move to ...
17166 * crypt/sha512-block.c: ... here.
17167 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17169 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17170 * sysdeps/sparc/sparc64/multiarch/Makefile
17171 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17173 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17174 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17176 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17177 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17178 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17179 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17180 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17181 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17182 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17183 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17184 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17187 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17191 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17193 * timezone/tzselect.ksh: Update from tzcode git revision
17194 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17195 * timezone/zdump.c: Likewise.
17196 * timezone/zic.c: Likewise.
17197 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17198 in TZVERSION setting, not $(PKGVERSION).
17199 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17200 REPORT_BUGS_TO settings.
17203 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17206 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17208 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17209 detection to immediately after _FP_ROUND().
17210 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17213 2012-11-11 David S. Miller <davem@davemloft.net>
17215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17217 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17218 __close rather than their public counterparts.
17220 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17222 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17224 [UNIX98] (sem_timedwait): Do not expect.
17225 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17226 [XPG4 || UNIX98] (sockatmark): Do not expect.
17227 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17228 (clock_getcpuclockid): Do not expect.
17229 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17230 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17232 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17233 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17234 [UNIX98] (vwscanf): Likewise.
17235 [UNIX98] (vswscanf): Likewise.
17237 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17239 * timezone/version.h: Remove file.
17240 * timezone/README: Do not refer to version.h.
17241 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17242 $(objpfx)version.h.
17243 ($(objpfx)zdump.o): Likewise.
17244 ($(objpfx)version.h): New target.
17246 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17248 * timezone/README: Don't mention modification to tzselect.ksh.
17249 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17250 work on unmodified tzselect.ksh. Substitute version numbers in
17253 * Makefile (format-me): Remove.
17254 (INSTALL): Adjust indentation. Use commands directly instead of
17255 using $(format-me).
17257 * aclocal.m4 (ACX_PKGVERSION): New macro.
17258 (ACX_BUGURL): Likewise.
17259 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17260 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17261 (REPORT_BUGS_TO): Likewise.
17262 * configure: Regenerated.
17263 * config.h.in (PKGVERSION): New macro.
17264 (REPORT_BUGS_TO): Likewise.
17265 * config.make.in (PKGVERSION): New variable.
17266 (PKGVERSION_TEXI): Likewise.
17267 (REPORT_BUGS_TO): Likewise.
17268 (REPORT_BUGS_TEXI): Likewise.
17269 * Makefile (format-me): Use -I$(common-objpfx)manual.
17270 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17271 ($(common-objpfx)manual/%): New target.
17272 (manual/%): Remove target.
17273 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17274 (print_version): Use PKGVERSION.
17275 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17276 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17277 and REPORT_BUGS_TO.
17278 ($(objpfx)xtrace): Likewise.
17279 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17280 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17281 (print_version): Use PKGVERSION.
17282 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17283 (do_version): Use PKGVERSION.
17284 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17286 (common-ldd-rewrite): Likewise.
17287 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17288 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17289 (print_version): Use PKGVERSION.
17290 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17291 * elf/pldd.c (argp_program_bug_address): Remove variable.
17292 (more_help): New function.
17293 (argp): Use more_help.
17294 (print_version): Use PKGVERSION.
17295 * elf/sln.c (main): Use PKGVERSION.
17296 (usage): Use REPORT_BUGS_TO.
17297 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17298 (top level): Use PKGVERSION.
17299 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17300 (print_version): Use PKGVERSION.
17301 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17302 (print_version): Use PKGVERSION.
17303 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17304 (print_version): Use PKGVERSION.
17305 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17306 (print_version): Use PKGVERSION.
17307 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17308 (print_version): Use PKGVERSION.
17309 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17310 (print_version): Use PKGVERSION.
17311 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17313 ($(objpfx)memusage): Likewise.
17314 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17315 (do_version): Use PKGVERSION.
17316 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17317 (print_version): Use PKGVERSION.
17318 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17319 ($PKGVERSION): New variable.
17320 ($REPORT_BUGS_TO): Likewise.
17321 (usage): Use $REPORT_BUGS_TO.
17322 (top level): Use $PKGVERSION.
17323 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17324 ($(objpfx)pkgvers.texi): New rule.
17325 ($(objpfx)stamp-pkgvers): Likewise.
17326 * manual/install.texi: Include pkgvers.texi.
17327 (--with-pkgversion): Document new configure option.
17328 (--with-bugurl): Likewise.
17329 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17330 than necessarily for this particular distribution. Use
17331 REPORT_BUGS_TO for where to report bugs.
17332 * INSTALL: Regenerated.
17333 * manual/libc.texinfo: Include pkgvers.texi.
17334 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17335 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17336 (print_version): Use PKGVERSION.
17337 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17338 (print_version): Use PKGVERSION.
17339 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17340 (print_version): Use PKGVERSION.
17341 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17342 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17344 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17345 (print_version): Use PKGVERSION.
17346 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17347 (print_version): Use PKGVERSION.
17348 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17351 * timezone/checktab.awk: Update from tzcode 2012i.
17352 * timezone/ialloc.c: Likewise.
17353 * timezone/private.h: Likewise.
17354 * timezone/scheck.c: Likewise.
17355 * timezone/tzfile.h: Likewise.
17356 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17357 (TZVERSION): Hardcode tzcode version number.
17358 * timezone/zdump.c: Update from tzcode 2012i.
17359 * timezone/zic.c: Likewise.
17360 * timezone/version.h: New file.
17361 * timezone/README: Describe version.h. Update upstream location.
17364 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17365 (mktemp): Enable declaration.
17366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17383 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17384 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17385 for copies of such integer values.
17386 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17387 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17389 2012-11-09 Andreas Jaeger <aj@suse.de>
17391 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17392 definitions and declarations that are provided by
17393 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17395 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17397 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17398 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17399 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17402 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17404 * elf/elf.h: Update comment before AArch64 relocations.
17406 2012-11-07 David S. Miller <davem@davemloft.net>
17408 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17409 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17410 (__start_context): Declare.
17411 (__makecontext_ret): Delete.
17412 (__makecontext): Hook up __start_context instead of
17414 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17415 (sysdep_routines): Add __start_context when in stdlib.
17417 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17419 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17420 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17421 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17423 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17424 (READELF): New variable. Use it instead of hardcoded "readelf".
17426 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17428 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17429 * sysdeps/x86/Makefile: Here.
17430 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17431 * sysdeps/x86/tst-xmmymm.sh: This.
17433 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17435 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17437 [UNIX98] (pthread_barrier_t): Do not expect.
17438 [UNIX98] (pthread_barrierattr_t): Likewise.
17439 [UNIX98] (pthread_spinlock_t): Likewise.
17440 [UNIX98] (pthread_barrier_destroy): Likewise.
17441 [UNIX98] (pthread_barrier_init): Likewise.
17442 [UNIX98] (pthread_barrier_wait): Likewise.
17443 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17444 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17445 [UNIX98] (pthread_barrierattr_init): Likewise.
17446 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17447 [UNIX98] (pthread_getcpuclockid): Likewise.
17448 [UNIX98] (pthread_mutex_timedlock): Likewise.
17449 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17450 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17451 [UNIX98] (pthread_sigmask): Likewise.
17452 [UNIX98] (pthread_spin_destroy): Likewise.
17453 [UNIX98] (pthread_spin_init): Likewise.
17454 [UNIX98] (pthread_spin_lock): Likewise.
17455 [UNIX98] (pthread_spin_trylock): Likewise.
17456 [UNIX98] (pthread_spin_unlock): Likewise.
17457 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17459 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17460 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17461 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17462 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17463 [XPG3 || XPG4] (pthread_key_t): Likewise.
17464 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17465 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17466 [XPG3 || XPG4] (pthread_once_t): Likewise.
17467 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17468 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17469 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17470 [XPG3 || XPG4] (pthread_t): Likewise.
17472 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17474 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17476 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17477 Change function return type to int.
17479 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17480 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17481 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17482 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17483 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17484 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17485 [!POSIX] (posix_madvise): Likewise.
17486 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17488 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17489 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17490 (mode_t): Likewise.
17491 (posix_mem_offset): Likewise.
17492 (posix_typed_mem_get_info): Likewise.
17493 (posix_typed_mem_open): Likewise.
17495 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17496 Change condition to [XOPEN2K8].
17498 * conform/conformtest.pl: Preprocess allow-header data with -x c
17499 instead of from stdin.
17500 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17501 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17502 [C99-based standards] (cerfc): Likewise.
17503 [C99-based standards] (cexp2): Likewise.
17504 [C99-based standards] (cexpm1): Likewise.
17505 [C99-based standards] (clog10): Likewise.
17506 [C99-based standards] (clog1p): Likewise.
17507 [C99-based standards] (clog2): Likewise.
17508 [C99-based standards] (clgamma): Likewise.
17509 [C99-based standards] (ctgamma): Likewise.
17510 [C99-based standards] (cerff): Likewise.
17511 [C99-based standards] (cerfcf): Likewise.
17512 [C99-based standards] (cexp2f): Likewise.
17513 [C99-based standards] (cexpm1f): Likewise.
17514 [C99-based standards] (clog10f): Likewise.
17515 [C99-based standards] (clog1pf): Likewise.
17516 [C99-based standards] (clog2f): Likewise.
17517 [C99-based standards] (clgammaf): Likewise.
17518 [C99-based standards] (ctgammaf): Likewise.
17519 [C99-based standards] (cerfl): Likewise.
17520 [C99-based standards] (cerfcl): Likewise.
17521 [C99-based standards] (cexp2l): Likewise.
17522 [C99-based standards] (cexpm1l): Likewise.
17523 [C99-based standards] (clog10l): Likewise.
17524 [C99-based standards] (clog1pl): Likewise.
17525 [C99-based standards] (clog2l): Likewise.
17526 [C99-based standards] (clgammal): Likewise.
17527 [C99-based standards] (ctgammal): Likewise.
17528 * conform/data/inttypes.h-data [C99-based standards]: Include
17529 stdint.h-data. Remove all expectations for stdint.h contents.
17530 [C99-based standards] (PRI*): Do not allow.
17531 [C99-based standards] (SCN*): Likewise.
17532 [C99-based standards] (*_t): Likewise.
17533 [C99-based-standards] (PRId8): Expect macro.
17534 [C99-based-standards] (PRIi8): Likewise.
17535 [C99-based-standards] (PRIo8): Likewise.
17536 [C99-based-standards] (PRIu8): Likewise.
17537 [C99-based-standards] (PRIx8): Likewise.
17538 [C99-based-standards] (PRIX8): Likewise.
17539 [C99-based-standards] (SCNd8): Likewise.
17540 [C99-based-standards] (SCNi8): Likewise.
17541 [C99-based-standards] (SCNo8): Likewise.
17542 [C99-based-standards] (SCNu8): Likewise.
17543 [C99-based-standards] (SCNx8): Likewise.
17544 [C99-based-standards] (PRIdLEAST8): Likewise.
17545 [C99-based-standards] (PRIiLEAST8): Likewise.
17546 [C99-based-standards] (PRIoLEAST8): Likewise.
17547 [C99-based-standards] (PRIuLEAST8): Likewise.
17548 [C99-based-standards] (PRIxLEAST8): Likewise.
17549 [C99-based-standards] (PRIXLEAST8): Likewise.
17550 [C99-based-standards] (SCNdLEAST8): Likewise.
17551 [C99-based-standards] (SCNiLEAST8): Likewise.
17552 [C99-based-standards] (SCNoLEAST8): Likewise.
17553 [C99-based-standards] (SCNuLEAST8): Likewise.
17554 [C99-based-standards] (SCNxLEAST8): Likewise.
17555 [C99-based-standards] (PRIdFAST8): Likewise.
17556 [C99-based-standards] (PRIiFAST8): Likewise.
17557 [C99-based-standards] (PRIoFAST8): Likewise.
17558 [C99-based-standards] (PRIuFAST8): Likewise.
17559 [C99-based-standards] (PRIxFAST8): Likewise.
17560 [C99-based-standards] (PRIXFAST8): Likewise.
17561 [C99-based-standards] (SCNdFAST8): Likewise.
17562 [C99-based-standards] (SCNiFAST8): Likewise.
17563 [C99-based-standards] (SCNoFAST8): Likewise.
17564 [C99-based-standards] (SCNuFAST8): Likewise.
17565 [C99-based-standards] (SCNxFAST8): Likewise.
17566 [C99-based-standards] (PRId16): Likewise.
17567 [C99-based-standards] (PRIi16): Likewise.
17568 [C99-based-standards] (PRIo16): Likewise.
17569 [C99-based-standards] (PRIu16): Likewise.
17570 [C99-based-standards] (PRIx16): Likewise.
17571 [C99-based-standards] (PRIX16): Likewise.
17572 [C99-based-standards] (SCNd16): Likewise.
17573 [C99-based-standards] (SCNi16): Likewise.
17574 [C99-based-standards] (SCNo16): Likewise.
17575 [C99-based-standards] (SCNu16): Likewise.
17576 [C99-based-standards] (SCNx16): Likewise.
17577 [C99-based-standards] (PRIdLEAST16): Likewise.
17578 [C99-based-standards] (PRIiLEAST16): Likewise.
17579 [C99-based-standards] (PRIoLEAST16): Likewise.
17580 [C99-based-standards] (PRIuLEAST16): Likewise.
17581 [C99-based-standards] (PRIxLEAST16): Likewise.
17582 [C99-based-standards] (PRIXLEAST16): Likewise.
17583 [C99-based-standards] (SCNdLEAST16): Likewise.
17584 [C99-based-standards] (SCNiLEAST16): Likewise.
17585 [C99-based-standards] (SCNoLEAST16): Likewise.
17586 [C99-based-standards] (SCNuLEAST16): Likewise.
17587 [C99-based-standards] (SCNxLEAST16): Likewise.
17588 [C99-based-standards] (PRIdFAST16): Likewise.
17589 [C99-based-standards] (PRIiFAST16): Likewise.
17590 [C99-based-standards] (PRIoFAST16): Likewise.
17591 [C99-based-standards] (PRIuFAST16): Likewise.
17592 [C99-based-standards] (PRIxFAST16): Likewise.
17593 [C99-based-standards] (PRIXFAST16): Likewise.
17594 [C99-based-standards] (SCNdFAST16): Likewise.
17595 [C99-based-standards] (SCNiFAST16): Likewise.
17596 [C99-based-standards] (SCNoFAST16): Likewise.
17597 [C99-based-standards] (SCNuFAST16): Likewise.
17598 [C99-based-standards] (SCNxFAST16): Likewise.
17599 [C99-based-standards] (PRId32): Likewise.
17600 [C99-based-standards] (PRIi32): Likewise.
17601 [C99-based-standards] (PRIo32): Likewise.
17602 [C99-based-standards] (PRIu32): Likewise.
17603 [C99-based-standards] (PRIx32): Likewise.
17604 [C99-based-standards] (PRIX32): Likewise.
17605 [C99-based-standards] (SCNd32): Likewise.
17606 [C99-based-standards] (SCNi32): Likewise.
17607 [C99-based-standards] (SCNo32): Likewise.
17608 [C99-based-standards] (SCNu32): Likewise.
17609 [C99-based-standards] (SCNx32): Likewise.
17610 [C99-based-standards] (PRIdLEAST32): Likewise.
17611 [C99-based-standards] (PRIiLEAST32): Likewise.
17612 [C99-based-standards] (PRIoLEAST32): Likewise.
17613 [C99-based-standards] (PRIuLEAST32): Likewise.
17614 [C99-based-standards] (PRIxLEAST32): Likewise.
17615 [C99-based-standards] (PRIXLEAST32): Likewise.
17616 [C99-based-standards] (SCNdLEAST32): Likewise.
17617 [C99-based-standards] (SCNiLEAST32): Likewise.
17618 [C99-based-standards] (SCNoLEAST32): Likewise.
17619 [C99-based-standards] (SCNuLEAST32): Likewise.
17620 [C99-based-standards] (SCNxLEAST32): Likewise.
17621 [C99-based-standards] (PRIdFAST32): Likewise.
17622 [C99-based-standards] (PRIiFAST32): Likewise.
17623 [C99-based-standards] (PRIoFAST32): Likewise.
17624 [C99-based-standards] (PRIuFAST32): Likewise.
17625 [C99-based-standards] (PRIxFAST32): Likewise.
17626 [C99-based-standards] (PRIXFAST32): Likewise.
17627 [C99-based-standards] (SCNdFAST32): Likewise.
17628 [C99-based-standards] (SCNiFAST32): Likewise.
17629 [C99-based-standards] (SCNoFAST32): Likewise.
17630 [C99-based-standards] (SCNuFAST32): Likewise.
17631 [C99-based-standards] (SCNxFAST32): Likewise.
17632 [C99-based-standards] (PRId64): Likewise.
17633 [C99-based-standards] (PRIi64): Likewise.
17634 [C99-based-standards] (PRIo64): Likewise.
17635 [C99-based-standards] (PRIu64): Likewise.
17636 [C99-based-standards] (PRIx64): Likewise.
17637 [C99-based-standards] (PRIX64): Likewise.
17638 [C99-based-standards] (SCNd64): Likewise.
17639 [C99-based-standards] (SCNi64): Likewise.
17640 [C99-based-standards] (SCNo64): Likewise.
17641 [C99-based-standards] (SCNu64): Likewise.
17642 [C99-based-standards] (SCNx64): Likewise.
17643 [C99-based-standards] (PRIdLEAST64): Likewise.
17644 [C99-based-standards] (PRIiLEAST64): Likewise.
17645 [C99-based-standards] (PRIoLEAST64): Likewise.
17646 [C99-based-standards] (PRIuLEAST64): Likewise.
17647 [C99-based-standards] (PRIxLEAST64): Likewise.
17648 [C99-based-standards] (PRIXLEAST64): Likewise.
17649 [C99-based-standards] (SCNdLEAST64): Likewise.
17650 [C99-based-standards] (SCNiLEAST64): Likewise.
17651 [C99-based-standards] (SCNoLEAST64): Likewise.
17652 [C99-based-standards] (SCNuLEAST64): Likewise.
17653 [C99-based-standards] (SCNxLEAST64): Likewise.
17654 [C99-based-standards] (PRIdFAST64): Likewise.
17655 [C99-based-standards] (PRIiFAST64): Likewise.
17656 [C99-based-standards] (PRIoFAST64): Likewise.
17657 [C99-based-standards] (PRIuFAST64): Likewise.
17658 [C99-based-standards] (PRIxFAST64): Likewise.
17659 [C99-based-standards] (PRIXFAST64): Likewise.
17660 [C99-based-standards] (SCNdFAST64): Likewise.
17661 [C99-based-standards] (SCNiFAST64): Likewise.
17662 [C99-based-standards] (SCNoFAST64): Likewise.
17663 [C99-based-standards] (SCNuFAST64): Likewise.
17664 [C99-based-standards] (SCNxFAST64): Likewise.
17665 [C99-based-standards] (PRIdMAX): Likewise.
17666 [C99-based-standards] (PRIiMAX): Likewise.
17667 [C99-based-standards] (PRIoMAX): Likewise.
17668 [C99-based-standards] (PRIuMAX): Likewise.
17669 [C99-based-standards] (PRIxMAX): Likewise.
17670 [C99-based-standards] (PRIXMAX): Likewise.
17671 [C99-based-standards] (SCNdMAX): Likewise.
17672 [C99-based-standards] (SCNiMAX): Likewise.
17673 [C99-based-standards] (SCNoMAX): Likewise.
17674 [C99-based-standards] (SCNuMAX): Likewise.
17675 [C99-based-standards] (SCNxMAX): Likewise.
17676 [C99-based-standards] (PRIdPTR): Likewise.
17677 [C99-based-standards] (PRIiPTR): Likewise.
17678 [C99-based-standards] (PRIoPTR): Likewise.
17679 [C99-based-standards] (PRIuPTR): Likewise.
17680 [C99-based-standards] (PRIxPTR): Likewise.
17681 [C99-based-standards] (PRIXPTR): Likewise.
17682 [C99-based-standards] (SCNdPTR): Likewise.
17683 [C99-based-standards] (SCNiPTR): Likewise.
17684 [C99-based-standards] (SCNoPTR): Likewise.
17685 [C99-based-standards] (SCNuPTR): Likewise.
17686 [C99-based-standards] (SCNxPTR): Likewise.
17687 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17689 * conform/data/stdint.h-data: Update comments to clarify
17691 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17693 [C99-based standards] (INT8_MAX): Likewise.
17694 [C99-based standards] (INT16_MIN): Likewise.
17695 [C99-based standards] (INT16_MAX): Likewise.
17696 [C99-based standards] (INT32_MIN): Likewise.
17697 [C99-based standards] (INT32_MAX): Likewise.
17698 [C99-based standards] (INT64_MIN): Likewise.
17699 [C99-based standards] (INT64_MAX): Likewise.
17700 [C99-based standards] (UINT8_MAX): Likewise.
17701 [C99-based standards] (UINT16_MAX): Likewise.
17702 [C99-based standards] (UINT32_MAX): Likewise.
17703 [C99-based standards] (UINT64_MAX): Likewise.
17704 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17705 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17706 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17707 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17708 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17709 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17710 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17711 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17712 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17713 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17714 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17715 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17716 [C99-based standards] (INT_FAST8_MIN): Likewise.
17717 [C99-based standards] (INT_FAST8_MAX): Likewise.
17718 [C99-based standards] (INT_FAST16_MIN): Likewise.
17719 [C99-based standards] (INT_FAST16_MAX): Likewise.
17720 [C99-based standards] (INT_FAST32_MIN): Likewise.
17721 [C99-based standards] (INT_FAST32_MAX): Likewise.
17722 [C99-based standards] (INT_FAST64_MIN): Likewise.
17723 [C99-based standards] (INT_FAST64_MAX): Likewise.
17724 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17725 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17726 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17727 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17728 [C99-based standards] (INTPTR_MIN): Likewise.
17729 [C99-based standards] (INTPTR_MAX): Likewise.
17730 [C99-based standards] (UINTPTR_MAX): Likewise.
17731 [C99-based standards] (INTMAX_MIN): Likewise.
17732 [C99-based standards] (INTMAX_MAX): Likewise.
17733 [C99-based standards] (UINTMAX_MAX): Likewise.
17734 [C99-based standards] (PTRDIFF_MIN): Likewise.
17735 [C99-based standards] (PTRDIFF_MAX): Likewise.
17736 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17737 [C99-based standards] (SIZE_MAX): Likewise.
17738 [C99-based standards] (WCHAR_MAX): Likewise.
17739 [C99-based standards] (WINT_MAX): Likewise.
17740 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17741 constraint on value.
17742 [C99-based standards] (WCHAR_MIN): Likewise.
17743 [C99-based standards] (WINT_MIN): Likewise.
17744 [C99-based standards] (*_t): Allow.
17745 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17746 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17747 Include math.h-data and complex.h-data. Remove all expectations
17748 of math.h and complex.h contents.
17749 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17751 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17752 (struct tm): Expect tag.
17753 [C99-based-standards] (wcstof): Expect function.
17754 [C99-based-standards] (wcstold): Likewise.
17755 [C99-based-standards] (wcstoll): Likewise.
17756 [C99-based-standards] (wcstoull): Likewise.
17757 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17758 macro-int-constant. Specify type.
17759 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17760 constraint on value.
17761 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17763 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17765 [ISO C standards]: Do not allow headers.
17766 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17767 wcs[abcdefghijklmnopqrstuvwxyz]*.
17768 [ISO C standards] (*_t): Do not allow.
17769 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17771 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17772 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17774 [ISO C standards]: Do not allow headers.
17775 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17776 is[abcdefghijklmnopqrstuvwxyz]*.
17777 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17778 to[abcdefghijklmnopqrstuvwxyz]*.
17779 [ISO C standards] (*_t): Do not allow.
17780 * conform/data/stdalign.h-data: New file.
17781 * conform/data/stdbool.h-data: Likewise.
17782 * conform/data/stdnoreturn.h-data: Likewise.
17784 2012-11-07 Roland McGrath <roland@hack.frob.com>
17787 * manual/filesys.texi (Directory Entries): Typo fix.
17788 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17790 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17792 * elf/elf.h (EM_AARCH64): New macro.
17793 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17794 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17795 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17796 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17797 (R_AARCH64_TLSDESC): Likewise.
17798 (NT_ARM_TLS): Likewise.
17799 (NT_ARM_HW_BREAK): Likewise.
17800 (NT_ARM_HW_WATCH): Likewise.
17802 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17805 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17806 (__ieee754_powl): Saturate nonzero exponents with absolute value
17807 below 0x1p-79 to +/- 0x1p-79.
17808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17809 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17810 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17811 nonzero exponents with absolute value below 0x1p-32 to +/-
17813 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17814 (__ieee754_powl): Saturate nonzero exponents with absolute value
17815 below 0x1p-79 to +/- 0x1p-79.
17816 * math/libm-test.inc (pow_test): Add more tests.
17818 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17820 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17821 _dl_s390_cap_flags with kernel. Increase string length.
17822 (_dl_s390_platforms): Add z196 and zEC12.
17824 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17826 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17827 Change XOPEN21K to XOPEN2K.
17829 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17831 * string/memmove.c: Use memcpy when possible.
17833 2012-11-06 Andreas Jaeger <aj@suse.de>
17835 * po/eo.po: Update from translation team.
17837 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17841 exponent and small x and y exponents, scale x or y up. Increase
17842 by 2 the exponent used in scaling up.
17843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17845 * math/libm-test.inc (fma_test): Add more tests.
17846 (fma_test_towardzero): Likewise.
17847 (fma_test_downward): Likewise.
17848 (fma_test_upward): Likewise.
17850 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17853 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17857 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17858 namespace for names of struct fields.
17859 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17861 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17862 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17864 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17867 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17869 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17871 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17875 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17878 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17882 definitely overflow as x * y not x * y + z.
17883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17885 * math/libm-test.inc (fma_test): Add more tests.
17886 (fma_test_towardzero): Likewise.
17887 (fma_test_downward): Likewise.
17888 (fma_test_upward): Likewise.
17890 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17894 * include/stub-tag.h: Remove file.
17895 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17897 * manual/maint.texi (Porting): Don't reference it.
17898 * Makerules ($(objpfx)stubs): Likewise.
17899 * dirent/closedir.c: Don't include <stub-tag.h>.
17900 * dirent/dirfd.c: Likewise.
17901 * dirent/fdopendir.c: Likewise.
17902 * dirent/getdents.c: Likewise.
17903 * dirent/getdents64.c: Likewise.
17904 * dirent/opendir.c: Likewise.
17905 * dirent/readdir.c: Likewise.
17906 * dirent/readdir64.c: Likewise.
17907 * dirent/readdir64_r.c: Likewise.
17908 * dirent/readdir_r.c: Likewise.
17909 * dirent/rewinddir.c: Likewise.
17910 * dirent/seekdir.c: Likewise.
17911 * dirent/telldir.c: Likewise.
17912 * gmon/profil.c: Likewise.
17913 * grp/setgroups.c: Likewise.
17914 * inet/if_index.c: Likewise.
17915 * io/access.c: Likewise.
17916 * io/chdir.c: Likewise.
17917 * io/chmod.c: Likewise.
17918 * io/chown.c: Likewise.
17919 * io/close.c: Likewise.
17920 * io/dup.c: Likewise.
17921 * io/dup2.c: Likewise.
17922 * io/dup3.c: Likewise.
17923 * io/euidaccess.c: Likewise.
17924 * io/faccessat.c: Likewise.
17925 * io/fchdir.c: Likewise.
17926 * io/fchmod.c: Likewise.
17927 * io/fchmodat.c: Likewise.
17928 * io/fchown.c: Likewise.
17929 * io/fchownat.c: Likewise.
17930 * io/fcntl.c: Likewise.
17931 * io/flock.c: Likewise.
17932 * io/fstatfs.c: Likewise.
17933 * io/fstatfs64.c: Likewise.
17934 * io/fstatvfs.c: Likewise.
17935 * io/fstatvfs64.c: Likewise.
17936 * io/futimens.c: Likewise.
17937 * io/fxstat.c: Likewise.
17938 * io/fxstat64.c: Likewise.
17939 * io/fxstatat.c: Likewise.
17940 * io/fxstatat64.c: Likewise.
17941 * io/getcwd.c: Likewise.
17942 * io/isatty.c: Likewise.
17943 * io/lchmod.c: Likewise.
17944 * io/lchown.c: Likewise.
17945 * io/link.c: Likewise.
17946 * io/linkat.c: Likewise.
17947 * io/lseek.c: Likewise.
17948 * io/lseek64.c: Likewise.
17949 * io/lxstat64.c: Likewise.
17950 * io/mkdir.c: Likewise.
17951 * io/mkdirat.c: Likewise.
17952 * io/mkfifo.c: Likewise.
17953 * io/mkfifoat.c: Likewise.
17954 * io/open.c: Likewise.
17955 * io/open64.c: Likewise.
17956 * io/openat.c: Likewise.
17957 * io/openat64.c: Likewise.
17958 * io/pipe.c: Likewise.
17959 * io/pipe2.c: Likewise.
17960 * io/poll.c: Likewise.
17961 * io/posix_fadvise.c: Likewise.
17962 * io/posix_fadvise64.c: Likewise.
17963 * io/posix_fallocate.c: Likewise.
17964 * io/posix_fallocate64.c: Likewise.
17965 * io/read.c: Likewise.
17966 * io/readlink.c: Likewise.
17967 * io/readlinkat.c: Likewise.
17968 * io/rmdir.c: Likewise.
17969 * io/sendfile.c: Likewise.
17970 * io/sendfile64.c: Likewise.
17971 * io/statfs.c: Likewise.
17972 * io/statfs64.c: Likewise.
17973 * io/statvfs.c: Likewise.
17974 * io/statvfs64.c: Likewise.
17975 * io/symlink.c: Likewise.
17976 * io/symlinkat.c: Likewise.
17977 * io/ttyname.c: Likewise.
17978 * io/ttyname_r.c: Likewise.
17979 * io/umask.c: Likewise.
17980 * io/unlink.c: Likewise.
17981 * io/unlinkat.c: Likewise.
17982 * io/utime.c: Likewise.
17983 * io/utimensat.c: Likewise.
17984 * io/write.c: Likewise.
17985 * io/xmknod.c: Likewise.
17986 * io/xmknodat.c: Likewise.
17987 * io/xstat.c: Likewise.
17988 * io/xstat64.c: Likewise.
17989 * login/getpt.c: Likewise.
17990 * login/grantpt.c: Likewise.
17991 * login/unlockpt.c: Likewise.
17992 * math/e_acoshl.c: Likewise.
17993 * math/e_acosl.c: Likewise.
17994 * math/e_asinl.c: Likewise.
17995 * math/e_atan2l.c: Likewise.
17996 * math/e_atanhl.c: Likewise.
17997 * math/e_coshl.c: Likewise.
17998 * math/e_expl.c: Likewise.
17999 * math/e_fmodl.c: Likewise.
18000 * math/e_gammal_r.c: Likewise.
18001 * math/e_hypotl.c: Likewise.
18002 * math/e_j0l.c: Likewise.
18003 * math/e_j1l.c: Likewise.
18004 * math/e_jnl.c: Likewise.
18005 * math/e_lgammal_r.c: Likewise.
18006 * math/e_log10l.c: Likewise.
18007 * math/e_log2l.c: Likewise.
18008 * math/e_logl.c: Likewise.
18009 * math/e_powl.c: Likewise.
18010 * math/e_rem_pio2l.c: Likewise.
18011 * math/e_sinhl.c: Likewise.
18012 * math/e_sqrtl.c: Likewise.
18013 * math/fclrexcpt.c: Likewise.
18014 * math/fedisblxcpt.c: Likewise.
18015 * math/feenablxcpt.c: Likewise.
18016 * math/fegetenv.c: Likewise.
18017 * math/fegetexcept.c: Likewise.
18018 * math/fegetround.c: Likewise.
18019 * math/feholdexcpt.c: Likewise.
18020 * math/fesetenv.c: Likewise.
18021 * math/fesetround.c: Likewise.
18022 * math/feupdateenv.c: Likewise.
18023 * math/fgetexcptflg.c: Likewise.
18024 * math/fraiseexcpt.c: Likewise.
18025 * math/fsetexcptflg.c: Likewise.
18026 * math/ftestexcept.c: Likewise.
18027 * math/k_cosl.c: Likewise.
18028 * math/k_rem_pio2l.c: Likewise.
18029 * math/k_sinl.c: Likewise.
18030 * math/k_tanl.c: Likewise.
18031 * math/s_asinhl.c: Likewise.
18032 * math/s_atanl.c: Likewise.
18033 * math/s_cbrtl.c: Likewise.
18034 * math/s_erfl.c: Likewise.
18035 * math/s_expm1l.c: Likewise.
18036 * math/s_log1pl.c: Likewise.
18037 * math/s_tanhl.c: Likewise.
18038 * misc/acct.c: Likewise.
18039 * misc/brk.c: Likewise.
18040 * misc/chflags.c: Likewise.
18041 * misc/chroot.c: Likewise.
18042 * misc/fchflags.c: Likewise.
18043 * misc/fgetxattr.c: Likewise.
18044 * misc/flistxattr.c: Likewise.
18045 * misc/fremovexattr.c: Likewise.
18046 * misc/fsetxattr.c: Likewise.
18047 * misc/fsync.c: Likewise.
18048 * misc/ftruncate.c: Likewise.
18049 * misc/futimes.c: Likewise.
18050 * misc/futimesat.c: Likewise.
18051 * misc/getdomain.c: Likewise.
18052 * misc/getdtsz.c: Likewise.
18053 * misc/gethostid.c: Likewise.
18054 * misc/gethostname.c: Likewise.
18055 * misc/getloadavg.c: Likewise.
18056 * misc/getpagesize.c: Likewise.
18057 * misc/getsysstats.c: Likewise.
18058 * misc/getxattr.c: Likewise.
18059 * misc/gtty.c: Likewise.
18060 * misc/ioctl.c: Likewise.
18061 * misc/lgetxattr.c: Likewise.
18062 * misc/listxattr.c: Likewise.
18063 * misc/llistxattr.c: Likewise.
18064 * misc/lremovexattr.c: Likewise.
18065 * misc/lsetxattr.c: Likewise.
18066 * misc/lutimes.c: Likewise.
18067 * misc/madvise.c: Likewise.
18068 * misc/mincore.c: Likewise.
18069 * misc/mlock.c: Likewise.
18070 * misc/mlockall.c: Likewise.
18071 * misc/mmap.c: Likewise.
18072 * misc/mprotect.c: Likewise.
18073 * misc/msync.c: Likewise.
18074 * misc/munlock.c: Likewise.
18075 * misc/munlockall.c: Likewise.
18076 * misc/munmap.c: Likewise.
18077 * misc/preadv.c: Likewise.
18078 * misc/preadv64.c: Likewise.
18079 * misc/ptrace.c: Likewise.
18080 * misc/pwritev.c: Likewise.
18081 * misc/pwritev64.c: Likewise.
18082 * misc/readv.c: Likewise.
18083 * misc/reboot.c: Likewise.
18084 * misc/remap_file_pages.c: Likewise.
18085 * misc/removexattr.c: Likewise.
18086 * misc/revoke.c: Likewise.
18087 * misc/select.c: Likewise.
18088 * misc/setdomain.c: Likewise.
18089 * misc/setegid.c: Likewise.
18090 * misc/seteuid.c: Likewise.
18091 * misc/sethostid.c: Likewise.
18092 * misc/sethostname.c: Likewise.
18093 * misc/setregid.c: Likewise.
18094 * misc/setreuid.c: Likewise.
18095 * misc/setxattr.c: Likewise.
18096 * misc/sstk.c: Likewise.
18097 * misc/stty.c: Likewise.
18098 * misc/swapoff.c: Likewise.
18099 * misc/swapon.c: Likewise.
18100 * misc/sync.c: Likewise.
18101 * misc/syncfs.c: Likewise.
18102 * misc/syscall.c: Likewise.
18103 * misc/truncate.c: Likewise.
18104 * misc/ualarm.c: Likewise.
18105 * misc/usleep.c: Likewise.
18106 * misc/ustat.c: Likewise.
18107 * misc/utimes.c: Likewise.
18108 * misc/vhangup.c: Likewise.
18109 * misc/writev.c: Likewise.
18110 * posix/_exit.c: Likewise.
18111 * posix/alarm.c: Likewise.
18112 * posix/execve.c: Likewise.
18113 * posix/fexecve.c: Likewise.
18114 * posix/fork.c: Likewise.
18115 * posix/fpathconf.c: Likewise.
18116 * posix/getaddrinfo.c: Likewise.
18117 * posix/getegid.c: Likewise.
18118 * posix/geteuid.c: Likewise.
18119 * posix/getgid.c: Likewise.
18120 * posix/getgroups.c: Likewise.
18121 * posix/getlogin.c: Likewise.
18122 * posix/getlogin_r.c: Likewise.
18123 * posix/getpgid.c: Likewise.
18124 * posix/getpid.c: Likewise.
18125 * posix/getppid.c: Likewise.
18126 * posix/getresgid.c: Likewise.
18127 * posix/getresuid.c: Likewise.
18128 * posix/getsid.c: Likewise.
18129 * posix/getuid.c: Likewise.
18130 * posix/glob64.c: Likewise.
18131 * posix/nanosleep.c: Likewise.
18132 * posix/pathconf.c: Likewise.
18133 * posix/pause.c: Likewise.
18134 * posix/posix_madvise.c: Likewise.
18135 * posix/pread.c: Likewise.
18136 * posix/pread64.c: Likewise.
18137 * posix/pwrite.c: Likewise.
18138 * posix/pwrite64.c: Likewise.
18139 * posix/sched_getaffinity.c: Likewise.
18140 * posix/sched_getp.c: Likewise.
18141 * posix/sched_gets.c: Likewise.
18142 * posix/sched_primax.c: Likewise.
18143 * posix/sched_primin.c: Likewise.
18144 * posix/sched_rr_gi.c: Likewise.
18145 * posix/sched_setaffinity.c: Likewise.
18146 * posix/sched_setp.c: Likewise.
18147 * posix/sched_sets.c: Likewise.
18148 * posix/sched_yield.c: Likewise.
18149 * posix/setgid.c: Likewise.
18150 * posix/setlogin.c: Likewise.
18151 * posix/setpgid.c: Likewise.
18152 * posix/setresgid.c: Likewise.
18153 * posix/setresuid.c: Likewise.
18154 * posix/setsid.c: Likewise.
18155 * posix/setuid.c: Likewise.
18156 * posix/sleep.c: Likewise.
18157 * posix/spawni.c: Likewise.
18158 * posix/sysconf.c: Likewise.
18159 * posix/times.c: Likewise.
18160 * posix/wait.c: Likewise.
18161 * posix/wait3.c: Likewise.
18162 * posix/wait4.c: Likewise.
18163 * posix/waitpid.c: Likewise.
18164 * resolv/gai_sigqueue.c: Likewise.
18165 * resource/getpriority.c: Likewise.
18166 * resource/getrlimit.c: Likewise.
18167 * resource/getrusage.c: Likewise.
18168 * resource/nice.c: Likewise.
18169 * resource/setpriority.c: Likewise.
18170 * resource/setrlimit.c: Likewise.
18171 * resource/ulimit.c: Likewise.
18172 * rt/aio_cancel.c: Likewise.
18173 * rt/aio_fsync.c: Likewise.
18174 * rt/aio_read.c: Likewise.
18175 * rt/aio_sigqueue.c: Likewise.
18176 * rt/aio_suspend.c: Likewise.
18177 * rt/aio_write.c: Likewise.
18178 * rt/clock_getres.c: Likewise.
18179 * rt/clock_gettime.c: Likewise.
18180 * rt/clock_nanosleep.c: Likewise.
18181 * rt/clock_settime.c: Likewise.
18182 * rt/lio_listio.c: Likewise.
18183 * rt/mq_close.c: Likewise.
18184 * rt/mq_getattr.c: Likewise.
18185 * rt/mq_notify.c: Likewise.
18186 * rt/mq_open.c: Likewise.
18187 * rt/mq_receive.c: Likewise.
18188 * rt/mq_send.c: Likewise.
18189 * rt/mq_setattr.c: Likewise.
18190 * rt/mq_timedreceive.c: Likewise.
18191 * rt/mq_timedsend.c: Likewise.
18192 * rt/mq_unlink.c: Likewise.
18193 * rt/shm_open.c: Likewise.
18194 * rt/shm_unlink.c: Likewise.
18195 * rt/timer_create.c: Likewise.
18196 * rt/timer_delete.c: Likewise.
18197 * rt/timer_getoverr.c: Likewise.
18198 * rt/timer_gettime.c: Likewise.
18199 * rt/timer_settime.c: Likewise.
18200 * setjmp/__longjmp.c: Likewise.
18201 * setjmp/setjmp.c: Likewise.
18202 * signal/kill.c: Likewise.
18203 * signal/killpg.c: Likewise.
18204 * signal/raise.c: Likewise.
18205 * signal/sigaction.c: Likewise.
18206 * signal/sigaltstack.c: Likewise.
18207 * signal/sigblock.c: Likewise.
18208 * signal/sigignore.c: Likewise.
18209 * signal/sigintr.c: Likewise.
18210 * signal/signal.c: Likewise.
18211 * signal/sigpause.c: Likewise.
18212 * signal/sigpending.c: Likewise.
18213 * signal/sigqueue.c: Likewise.
18214 * signal/sigreturn.c: Likewise.
18215 * signal/sigset.c: Likewise.
18216 * signal/sigsetmask.c: Likewise.
18217 * signal/sigstack.c: Likewise.
18218 * signal/sigsuspend.c: Likewise.
18219 * signal/sigtimedwait.c: Likewise.
18220 * signal/sigvec.c: Likewise.
18221 * signal/sigwait.c: Likewise.
18222 * signal/sigwaitinfo.c: Likewise.
18223 * signal/sysv_signal.c: Likewise.
18224 * socket/accept.c: Likewise.
18225 * socket/accept4.c: Likewise.
18226 * socket/bind.c: Likewise.
18227 * socket/connect.c: Likewise.
18228 * socket/getpeername.c: Likewise.
18229 * socket/getsockname.c: Likewise.
18230 * socket/getsockopt.c: Likewise.
18231 * socket/isfdtype.c: Likewise.
18232 * socket/listen.c: Likewise.
18233 * socket/recv.c: Likewise.
18234 * socket/recvfrom.c: Likewise.
18235 * socket/recvmsg.c: Likewise.
18236 * socket/send.c: Likewise.
18237 * socket/sendmsg.c: Likewise.
18238 * socket/sendto.c: Likewise.
18239 * socket/setsockopt.c: Likewise.
18240 * socket/shutdown.c: Likewise.
18241 * socket/sockatmark.c: Likewise.
18242 * socket/socket.c: Likewise.
18243 * socket/socketpair.c: Likewise.
18244 * stdio-common/ctermid.c: Likewise.
18245 * stdio-common/cuserid.c: Likewise.
18246 * stdio-common/remove.c: Likewise.
18247 * stdio-common/rename.c: Likewise.
18248 * stdio-common/renameat.c: Likewise.
18249 * stdio-common/tempname.c: Likewise.
18250 * stdlib/getcontext.c: Likewise.
18251 * stdlib/makecontext.c: Likewise.
18252 * stdlib/setcontext.c: Likewise.
18253 * stdlib/swapcontext.c: Likewise.
18254 * stdlib/system.c: Likewise.
18255 * streams/fattach.c: Likewise.
18256 * streams/fdetach.c: Likewise.
18257 * streams/getmsg.c: Likewise.
18258 * streams/getpmsg.c: Likewise.
18259 * streams/putmsg.c: Likewise.
18260 * streams/putpmsg.c: Likewise.
18261 * sysdeps/unix/bsd/getpt.c: Likewise.
18262 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18263 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18264 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18267 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18268 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18269 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18270 * sysvipc/msgctl.c: Likewise.
18271 * sysvipc/msgget.c: Likewise.
18272 * sysvipc/msgrcv.c: Likewise.
18273 * sysvipc/msgsnd.c: Likewise.
18274 * sysvipc/semctl.c: Likewise.
18275 * sysvipc/semget.c: Likewise.
18276 * sysvipc/semop.c: Likewise.
18277 * sysvipc/semtimedop.c: Likewise.
18278 * sysvipc/shmat.c: Likewise.
18279 * sysvipc/shmctl.c: Likewise.
18280 * sysvipc/shmdt.c: Likewise.
18281 * sysvipc/shmget.c: Likewise.
18282 * termios/tcdrain.c: Likewise.
18283 * termios/tcflow.c: Likewise.
18284 * termios/tcflush.c: Likewise.
18285 * termios/tcgetattr.c: Likewise.
18286 * termios/tcgetpgrp.c: Likewise.
18287 * termios/tcsendbrk.c: Likewise.
18288 * termios/tcsetattr.c: Likewise.
18289 * termios/tcsetpgrp.c: Likewise.
18290 * time/adjtime.c: Likewise.
18291 * time/clock.c: Likewise.
18292 * time/getitimer.c: Likewise.
18293 * time/gettimeofday.c: Likewise.
18294 * time/setitimer.c: Likewise.
18295 * time/settimeofday.c: Likewise.
18296 * time/stime.c: Likewise.
18297 * time/time.c: Likewise.
18299 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18301 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18304 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18306 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18308 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18312 FE_TONEAREST before applying Dekker multiplication and Knuth
18313 addition. Clear inexact exceptions and check for exact zero
18314 results afterwards.
18315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18318 * math/libm-test.inc (fma_test): Add more tests.
18319 (fma_test_towardzero): Likewise.
18320 (fma_test_downward): Likewise.
18321 (fma_test_upward): Likewise.
18322 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18324 (libc_fesetround): New macro.
18325 (libc_fesetroundf): Likewise.
18326 (libc_fesetroundl): Likewise.
18327 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18329 (libc_fesetround_387): Likewise.
18330 (libc_fesetroundf): New macro.
18331 (libc_fesetround): Likewise.
18332 (libc_fesetroundl): Likewise.
18333 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18335 (libc_fesetroundf): New macro.
18336 (libc_fesetround): Likewise.
18337 (libc_fesetroundl): Likewise.
18338 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18339 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18340 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18342 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18343 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18345 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18346 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18348 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18352 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18353 integer constant usable in #if and use that to give value to enum
18355 (FE_DIVBYZERO): Likewise.
18356 (FE_UNDERFLOW): Likewise.
18357 (FE_OVERFLOW): Likewise.
18358 (FE_INVALID): Likewise.
18359 (FE_INVALID_SNAN): Likewise.
18360 (FE_INVALID_ISI): Likewise.
18361 (FE_INVALID_IDI): Likewise.
18362 (FE_INVALID_ZDZ): Likewise.
18363 (FE_INVALID_IMZ): Likewise.
18364 (FE_INVALID_COMPARE): Likewise.
18365 (FE_INVALID_SOFTWARE): Likewise.
18366 (FE_INVALID_SQRT): Likewise.
18367 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18368 (FE_TONEAREST): Likewise.
18369 (FE_TOWARDZERO): Likewise.
18370 (FE_UPWARD): Likewise.
18371 (FE_DOWNWARD): Likewise.
18372 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18373 (FE_DIVBYZERO): Likewise.
18374 (FE_OVERFLOW): Likewise.
18375 (FE_UNDERFLOW): Likewise.
18376 (FE_INEXACT): Likewise.
18377 (FE_TONEAREST): Likewise.
18378 (FE_DOWNWARD): Likewise.
18379 (FE_UPWARD): Likewise.
18380 (FE_TOWARDZERO): Likewise.
18381 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18382 (FE_UNDERFLOW): Likewise.
18383 (FE_OVERFLOW): Likewise.
18384 (FE_DIVBYZERO): Likewise.
18385 (FE_INVALID): Likewise.
18386 (FE_TONEAREST): Likewise.
18387 (FE_TOWARDZERO): Likewise.
18388 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18389 (FE_OVERFLOW): Likewise.
18390 (FE_UNDERFLOW): Likewise.
18391 (FE_DIVBYZERO): Likewise.
18392 (FE_INEXACT): Likewise.
18393 (FE_TONEAREST): Likewise.
18394 (FE_TOWARDZERO): Likewise.
18395 (FE_UPWARD): Likewise.
18396 (FE_DOWNWARD): Likewise.
18397 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18398 (FE_DIVBYZERO): Likewise.
18399 (FE_OVERFLOW): Likewise.
18400 (FE_UNDERFLOW): Likewise.
18401 (FE_INEXACT): Likewise.
18402 (FE_TONEAREST): Likewise.
18403 (FE_DOWNWARD): Likewise.
18404 (FE_UPWARD): Likewise.
18405 (FE_TOWARDZERO): Likewise.
18407 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18409 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18411 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18413 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18414 commands. Quote $PWD.
18415 (blacklist_exports): Don't use remove_newlines. Replace "declare
18417 (remove_newlines): Remove.
18419 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18421 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18422 * stdlib/stdlib.h (atof): Moved to ...
18423 * include/bits/stdlib-float.h: Here. New file.
18424 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18425 * stdlib/bits/stdlib-float.h: New file.
18426 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18428 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18431 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18433 * conform/conformtest.pl (@headers): Add fenv.h.
18434 * conform/data/fenv.h-data: New file.
18435 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18436 include of <math/fenv.h>.
18438 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18439 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18440 && !UNIX98]. Enables tests for XOPEN2K8.
18441 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18442 POSIX2008]: Likewise.
18444 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18445 (struct rusage): Do not expect type or its members.
18448 * math/math.h (FP_NAN): Define macro to integer constant usable in
18449 #if and use that to give value to enum constant.
18450 (FP_INFINITE): Likewise.
18451 (FP_ZERO): Likewise.
18452 (FP_SUBNORMAL): Likewise.
18453 (FP_NORMAL): Likewise.
18455 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18457 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18458 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18461 2012-11-02 Roland McGrath <roland@hack.frob.com>
18463 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18464 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18465 autoconf-time if not.
18466 * configure.in: Remove AC_PREREQ.
18468 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18470 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18471 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18472 of the internal implementation.
18474 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18476 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18477 except include of <misc/sys/syslog.h>.
18479 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18482 function returns with a NULL context exit with zero.
18484 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18486 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18488 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18490 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18491 (run_program_cmd): This.
18492 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18493 (tst_langinfo): New variable. Use it.
18495 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18497 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18498 floating point opcodes.
18500 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18502 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18505 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18507 * sysdeps/mach/hurd/powerpc: Remove directory.
18508 * sysdeps/mach/powerpc: Likewise.
18510 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18512 * scripts/check-local-headers.sh: Ignore c++ headers.
18514 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18516 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18517 __libc_cleanup_region_start argument.
18519 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18524 x * y using scaling, not as x * y + z.
18525 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18526 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18527 * math/libm-test.inc (fma_test): Add more tests.
18528 (fma_test_towardzero): Likewise.
18529 (fma_test_downward): Likewise.
18530 (fma_test_upward): Likewise.
18532 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18534 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18536 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18538 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18541 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18543 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18545 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18552 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18555 Fix the order of the list for glibc 2.17.
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18559 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18563 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18567 for low part of x being zero before using __atanl (y).
18568 * math/libm-test.inc (atan2_test): Add another test.
18570 * manual/install.texi (Configuring and compiling): Document
18571 general use of test-wrapper and test-wrapper-env.
18572 * INSTALL: Regenerated.
18574 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18575 (__fma): Do not extract and scale down low bits on after-rounding
18576 systems when result rounded to normal precision would have normal
18578 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18579 (__fmal): Do not extract and scale down low bits on after-rounding
18580 systems when result rounded to normal precision would have normal
18582 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18583 (__fmal): Do not extract and scale down low bits on after-rounding
18584 systems when result rounded to normal precision would have normal
18586 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18588 (fma_test): Add more tests.
18589 (fma_test_towardzero): Likewise.
18590 (fma_test_downward): Likewise.
18591 (fma_test_upward): Likewise.
18593 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18595 * sysdeps/i386/tininess.h: Renamed to ...
18596 * sysdeps/x86/tininess.h: This.
18597 * sysdeps/x86_64/tininess.h: Removed.
18599 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18601 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18602 input. Use $(build-program-cmd).
18603 ($(objpfx)tst-array1-static.out): Likewise.
18604 ($(objpfx)tst-array2.out): Likewise.
18605 ($(objpfx)tst-array3.out): Likewise.
18606 ($(objpfx)tst-array4.out): Likewise.
18607 ($(objpfx)tst-array5.out): Likewise.
18608 ($(objpfx)tst-array5-static.out): Likewise.
18610 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18612 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18615 * nss/nsswitch.h (nss_interface_function): Provide new
18616 macro for use with NSS functions.
18617 * grp/initgroups.c: Use new macro.
18618 * nss/getXXbyYY.c: Likewise.
18619 * nss/getXXbyYY_r.c: Likewise.
18620 * nss/getXXent.c: Likewise.
18621 * nss/getXXent_r.c: Likewise.
18622 * sysdeps/posix/getaddrinfo.c: Likewise.
18624 2012-10-30 Andreas Jaeger <aj@suse.de>
18626 * po/ru.po: Update Russion translation from translation project.
18628 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18633 result and shift together with sticky bit instead of replicating
18634 round-to-nearest rounding.
18635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18637 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18638 missing underflow exceptions.
18639 (fma_test_towardzero): Add more tests.
18640 (fma_test_downward): Likewise.
18641 (fma_test_upward): Likewise.
18644 * sysdeps/generic/tininess.h: New file.
18645 * sysdeps/i386/tininess.h: Likewise.
18646 * sysdeps/sh/tininess.h: Likewise.
18647 * sysdeps/x86_64/tininess.h: Likewise.
18648 * stdlib/tst-strtod-underflow.c: Likewise.
18649 * stdlib/tst-tininess.c: Likewise.
18650 * stdlib/strtod_l.c: Include <tininess.h>.
18651 (round_and_return): Do not set errno for exact underflow cases.
18652 Force an underflow exception when setting errno for underflow.
18653 Determine underflow based on rounding to normal precision if
18654 TININESS_AFTER_ROUNDING.
18655 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18656 ERANGE for exact underflow cases.
18657 * stdlib/Makefile (tests): Add tst-tininess and
18658 tst-strtod-underflow.
18659 ($(objpfx)tst-tininess): Use $(link-libm).
18660 ($(objpfx)tst-strtod-underflow): Likewise.
18662 2012-10-30 Andreas Jaeger <aj@suse.de>
18665 * elf/Makefile (tests): Remove conditional for have-initfini-array
18666 since this is now always required and the variable does not exist
18668 (tests-static): Likewise.
18669 (modules-names): Likewise.
18671 * po/eo.po: Add Esperanto translation from translation project.
18673 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18674 merged with constructor/destructor.
18675 (init_array): Likewise.
18676 * elf/tst-array2dep.c (fini_array): Likewise.
18677 (init_array): Likewise.
18679 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18681 * manual/message.texi: Delete @cartouche tags.
18683 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18685 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18687 * sysdeps/mach/hurd/fsync.c: Likewise.
18689 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18690 [_POSIX_REALTIME_SIGNALS]: Change condition to
18691 [_POSIX_REALTIME_SIGNALS > 0].
18693 2012-10-27 Andreas Jaeger <aj@suse.de>
18695 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18696 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18698 [__WORDSIZE != 64]: Likewise.
18700 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18702 * iconvdata/tst-table.sh: Remove ${SHELL}.
18703 * iconvdata/tst-tables.sh: Likewise.
18705 2012-10-25 David S. Miller <davem@davemloft.net>
18707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18708 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18713 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18714 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18715 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18718 2012-10-25 Roland McGrath <roland@hack.frob.com>
18720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18721 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18724 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18725 Jim Blandy <jimb@codesourcery.com>
18727 * scripts/cross-test-ssh.sh: New file.
18728 * manual/install.texi (Configuring and compiling): Document use of
18730 * INSTALL: Regenerated.
18732 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18734 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18737 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18739 * Makeconfig (run-program-prefix): Fix comment.
18741 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18742 Jim Blandy <jimb@codesourcery.com>
18744 * Makeconfig (test-wrapper): New variable,
18745 (test-wrapper-env): Likewise.
18746 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18747 (run-built-tests): Define to yes.
18748 (run-program-prefix): Use $(test-wrapper).
18749 (built-program-cmd): Likewise.
18750 * Rules (make-test-out): Use $(test-wrapper-env) and
18751 $(host-built-program-cmd).
18752 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18753 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18755 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18756 $(test-wrapper-env) to tst-rtld-load-self.sh.
18757 ($(objpfx)order2.out): Use $(test-wrapper).
18758 ($(objpfx)tst-initorder.out): Likewise.
18759 ($(objpfx)tst-initorder2.out): Likewise.
18760 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18761 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18762 (test_wrapper_env): New variable. Use it to run ld.so.
18763 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18764 Use it to run ld.so.
18765 (test_wrapper_env): Likewise.
18766 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18767 $(test-wrapper) to run-iconv-test.sh.
18768 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18769 (ICONV): Use $test_wrapper.
18770 * posix/Makefile ($(objpfx)globtest.out): Pass
18771 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18772 globtest.sh, not $(run-program-prefix).
18773 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18774 (test_wrapper): Likewise.
18775 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18776 set together with run_via_rtld_prefix.
18777 (run_program_prefix): Define in terms of test_wrapper and
18778 run_via_rtld_prefix.
18780 2012-10-24 Roland McGrath <roland@hack.frob.com>
18782 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18783 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18787 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18788 Declare __clock_getres, __clock_gettime, __clock_settime,
18789 __clock_nanosleep, and __clock_getcpuclockid.
18790 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18791 Remove librt_hidden_def (clock_gettime).
18792 * sysdeps/unix/clock_gettime.c: Likewise.
18793 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18794 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18795 * rt/clock_getres.c: Define __clock_getres as an alias.
18796 * sysdeps/posix/clock_getres.c: Likewise.
18797 * rt/clock_settime.c: Define __clock_settime as an alias.
18798 * sysdeps/unix/clock_settime.c: Likewise.
18799 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18800 * sysdeps/unix/clock_nanosleep.c: Likewise.
18801 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18802 * rt/clock-compat.c: New file.
18803 * rt/Makefile (librt-routines): Add clock-compat and move
18804 $(clock-routines) to ...
18805 (routines): ... here, new variable.
18806 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18807 Don't add get_clockfreq here.
18808 * rt/Versions (libc: GLIBC_2.17): New version set.
18809 Add clock_* symbols here.
18810 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18811 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18812 (GLIBC_2.17): Add clock_* symbols.
18813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18824 * NEWS: Mention the move.
18826 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18827 Use __open, __read, __close rather than their public counterparts.
18828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18829 (__get_clockfreq_via_cpuinfo): Likewise.
18830 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18831 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18833 * config.h.in (HAVE_IFUNC): New #undef.
18834 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18836 * configure: Regenerated.
18838 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18840 * configure.in: Move READELF check to start of file.
18841 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18842 libc_cv_asm_gnu_indirect_function in the process.
18843 * configure: Regenerated.
18845 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18847 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18848 send the output to /dev/null.
18849 (libc_cv_cc_with_libunwind): Likewise.
18850 (libc_cv_as_noexecstack): Likewise.
18851 * configure: Regenerate.
18853 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18855 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18857 * posix/globtest.sh (TMPDIR): Do not set.
18858 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18859 (testout): Likewise.
18861 2012-10-24 Andreas Jaeger <aj@suse.de>
18863 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18864 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18865 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18866 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18867 posix_fadvise64, posix_fallocate64.
18869 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18870 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18871 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18873 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18875 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18878 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18879 <bits/fcntl-linux.h>.
18880 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18883 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18884 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18885 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18886 [__WORDSIZE != 64]: Likewise.
18888 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18890 * Makeconfig (run-built-tests): New variable.
18891 * Rules [$(cross-compiling) = yes]: Change condition to
18892 [$(run-built-tests) = no].
18893 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18894 to [$(run-built-tests) = yes].
18895 * elf/Makefile [$(cross-compiling) = no]: Likewise
18896 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18897 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18898 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18899 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18900 * io/Makefile [$(cross-compiling) = no]: Likewise.
18901 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18902 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18903 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18904 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18905 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18906 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18907 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18908 * string/Makefile [$(cross-compiling) = no]: Likewise.
18910 * posix/Makefile ($(objpfx)globtest.out): Pass
18911 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18912 $(rtld-installed-name).
18913 * posix/globtest.sh (elf_objpfx): Remove variable.
18914 (rtld_installed_name): Likewise.
18915 (library_path): Likewise.
18916 (run_program_prefix): New variable. Use for running globtest
18919 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18920 Joseph Myers <joseph@codesourcery.com>
18922 * Makeconfig (host-built-program-cmd): New variable.
18923 * elf/Makefile (tst-stackguard1-ARGS): Use
18924 $(host-built-program-cmd).
18925 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18926 (tst-spawn-ARGS): Likewise.
18927 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18929 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18930 Jim Blandy <jimb@codesourcery.com>
18932 * Makeconfig (run-via-rtld-prefix): New variable.
18933 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18934 (built-program-cmd): Likewise.
18936 2012-10-22 Andreas Jaeger <aj@suse.de>
18938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18939 __O_RSYNC if it exists, otherwise to O_SYNC.
18941 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18942 Joseph Myers <joseph@codesourcery.com>
18944 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18946 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18948 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18951 2012-10-22 Andreas Jaeger <aj@suse.de>
18953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18958 bits/fcntl-linux.h.
18960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18961 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18968 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18969 Joseph Myers <joseph@codesourcery.com>
18971 * config.make.in (NM): New variable.
18973 2012-10-21 Andreas Jaeger <aj@suse.de>
18975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18976 definitions and declarations that are provided by
18977 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18979 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18982 * elf/Makefile (tests-static): Add tst-leaks1-static.
18983 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18984 ($(objpfx)tst-leaks1-static): New rule.
18985 ($(objpfx)tst-leaks1-static-mem): Likewise.
18986 (tst-leaks1-static-ENV): New macro.
18987 * elf/dl-open.c (dl_open_worker): Check the main application
18988 only if SHARED is defined.
18989 * elf/tst-leaks1-static.c: New file.
18991 2012-10-20 Andreas Jaeger <aj@suse.de>
18993 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18994 generic values for Linux.
18995 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18996 and declarations that are provided by <bits/fcntl-linux.h> and
18997 include <bits/fcntl-linux.h>.
18998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19001 2012-10-20 Roland McGrath <roland@hack.frob.com>
19003 * io/fcntl.h: Move include of <bits/types.h> to the top and
19004 include it unconditionally.
19006 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19008 * wcsmbs/Makefile (tests-ifunc): New variable.
19009 (tests): Add $(tests-ifunc).
19010 * wcsmbs/test-wcschr-ifunc.c: New file.
19011 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19012 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19013 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19014 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19015 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19017 * string/Makefile (tests-ifunc): New variable.
19018 (tests): Add $(tests-ifunc).
19019 * string/test-memccpy.c (TEST_NAME): New macro.
19020 * string/test-memchr.c (TEST_NAME): Likewise.
19021 * string/test-memcmp.c (TEST_NAME): Likewise.
19022 * string/test-memcpy.c (TEST_NAME): Likewise.
19023 * string/test-memmem.c (TEST_NAME): Likewise.
19024 * string/test-memmove.c (TEST_NAME): Likewise.
19025 * string/test-memset.c (TEST_NAME): Likewise.
19026 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19027 * string/test-stpcpy.c (TEST_NAME): Likewise.
19028 * string/test-stpncpy.c (TEST_NAME): Likewise.
19029 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19030 * string/test-strcasestr.c (TEST_NAME): Likewise.
19031 * string/test-strcat.c (TEST_NAME): Likewise.
19032 * string/test-strchr.c (TEST_NAME): Likewise.
19033 * string/test-strcmp.c(TEST_NAME): Likewise.
19034 * string/test-strcpy.c (TEST_NAME): Likewise.
19035 * string/test-strcspn.c (TEST_NAME): Likewise.
19036 * string/test-strlen.c (TEST_NAME): Likewise.
19037 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19038 * string/test-strncmp.c (TEST_NAME): Likewise.
19039 * string/test-strncpy.c (TEST_NAME): Likewise.
19040 * string/test-strnlen.c (TEST_NAME): Likewise.
19041 * string/test-strpbrk.c (TEST_NAME): Likewise.
19042 * string/test-strrchr.c (TEST_NAME): Likewise.
19043 * string/test-strspn.c (TEST_NAME): Likewise.
19044 * string/test-strstr.c (TEST_NAME): Likewise.
19045 * string/test-bcopy-ifunc.c: New file.
19046 * string/test-bzero-ifunc.c: Likewise.
19047 * string/test-memccpy-ifunc.c: Likewise.
19048 * string/test-memchr-ifunc.c: Likewise.
19049 * string/test-memcmp-ifunc.c: Likewise.
19050 * string/test-memcpy-ifunc.c: Likewise.
19051 * string/test-memmem-ifunc.c: Likewise.
19052 * string/test-memmove-ifunc.c: Likewise.
19053 * string/test-mempcpy-ifunc.c: Likewise.
19054 * string/test-memset-ifunc.c: Likewise.
19055 * string/test-rawmemchr-ifunc.c: Likewise.
19056 * string/test-stpcpy-ifunc.c: Likewise.
19057 * string/test-stpncpy-ifunc.c: Likewise.
19058 * string/test-strcasecmp-ifunc.c: Likewise.
19059 * string/test-strcasestr-ifunc.c: Likewise.
19060 * string/test-strcat-ifunc.c: Likewise.
19061 * string/test-strchr-ifunc.c: Likewise.
19062 * string/test-strchrnul-ifunc.c: Likewise.
19063 * string/test-strcmp-ifunc.c: Likewise.
19064 * string/test-strcpy-ifunc.c: Likewise.
19065 * string/test-strcspn-ifunc.c: Likewise.
19066 * string/test-strlen-ifunc.c: Likewise.
19067 * string/test-strncasecmp-ifunc.c: Likewise.
19068 * string/test-strncat-ifunc.c: Likewise.
19069 * string/test-strncmp-ifunc.c: Likewise.
19070 * string/test-strncpy-ifunc.c: Likewise.
19071 * string/test-strnlen-ifunc.c: Likewise.
19072 * string/test-strpbrk-ifunc.c: Likewise.
19073 * string/test-strrchr-ifunc.c: Likewise.
19074 * string/test-strspn-ifunc.c: Likewise.
19075 * string/test-strstr-ifunc.c: Likewise.
19077 * debug/Makefile (tests-ifunc): New variable.
19078 (tests): Add $(tests-ifunc).
19079 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19080 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19081 * debug/test-stpcpy_chk-ifunc.c: New file.
19082 * debug/test-strcpy_chk-ifunc.c: Likewise.
19084 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19087 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19088 header is not read in.
19090 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19092 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19093 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19094 directly. Pass built executable to script as
19095 $(built-program-cmd).
19096 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19097 $testprogram without using LD_LIBRARY_PATH and $ldso.
19099 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19100 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19101 $(rtld-installed-name).
19102 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19103 (rtld_installed_name): Likewise.
19104 (library_path): Likewise.
19105 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19106 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19107 $(run-program-prefix) to tst-tables.sh.
19108 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19109 it to run tst-table-from and tst-table-to.
19110 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19111 Pass it to tst-table.sh.
19112 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19113 $(run-program-prefix) to tst-gettext.sh.
19114 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19116 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19118 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19119 to run tst-gettext.
19120 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19121 to run tst-gettext2.
19122 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19123 to run tst-translit.
19124 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19125 $(run-program-prefix) to tst-mtrace.sh.
19126 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19128 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19129 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19130 $(rtld-installed-name).
19131 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19132 (rtld_installed_name): Likewise.
19133 (run_program_prefix): New variable. Use it to run wordexp-test.
19135 * Makeconfig (ARCH): Remove all definitions.
19136 (machine): Likewise.
19137 [ARCH]: Remove conditional code.
19138 [!objdir]: Give error.
19139 [!objdir] (objpfx): Remove.
19140 [!objdir] (common-objpfx): Likewise.
19141 [!objdir] (common-objdir): Likewise.
19142 * configure.in (config_makefile): Remove. Hardcode Makefile in
19143 AC_CONFIG_FILES call.
19144 * configure: Regenerated.
19147 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19149 (testout): Likewise.
19151 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19152 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19153 $(rtld-installed-name).
19154 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19155 (rtld_installed_name): Likwise.
19156 (runit): Remove function.
19157 (run_getconf): New variable, Use it for running getconf binary.
19159 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19162 * string/test-memmem.c (check_result): New function.
19163 (do_one_test): Use it.
19164 (check1): New function.
19165 (test_main): Use it.
19167 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19169 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19171 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19173 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19174 (_G_LSEEK64): Likewise.
19175 (_G_MMAP64): Likewise.
19176 (_G_FSTAT64): Likewise.
19177 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19178 (_G_LSEEK64): Likewise.
19179 (_G_MMAP64): Likewise.
19180 (_G_FSTAT64): Likewise.
19181 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19182 unconditional. Call __mmap64 directly.
19183 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19184 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19185 __lseek64 directly.
19186 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19187 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19189 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19190 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19191 __lseek64 directly.
19192 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19193 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19194 __lseek64 directly.
19195 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19196 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19197 __lseek64 directly.
19198 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19199 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19200 __fxstat64 directly.
19201 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19202 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19204 (freopen64) [!_G_OPEN64]: Remove conditional code.
19205 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19207 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19208 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19210 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19211 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19213 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19214 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19216 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19217 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19219 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19220 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19222 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19223 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19225 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19227 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19230 * manual/memory.texi (Malloc Tunable Parameters): Add note
19231 about free list pointers overwriting some perturb bytes.
19232 Wording suggested by Roland McGrath.
19234 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19236 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19237 (lgamma_test): Likewise.
19238 (tgamma_test): Likewise.
19240 2012-10-16 Florian Weimer <fweimer@redhat.com>
19243 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19244 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19246 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19248 * NEWS: Mention BZ #14716.
19249 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19250 when removing AVAILABLE1_USES_J macro.
19252 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19254 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19255 (__bswap_64): __uint64_t for unsigned 64-bit int.
19257 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19259 * include/string.h (memmem): Declare libc hidden alias.
19260 * string/memmem.c (memmem): Define libc hidden alias.
19261 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19262 __read, __close instead of open, read, close.
19264 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19267 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19269 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19270 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19271 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19273 (__rawmemchr_sse2): Likewise.
19274 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19275 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19276 (__strchr_sse2): Likewise.
19277 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19278 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19279 (__strcasecmp_sse2): Likewise.
19280 (__strncasecmp_sse2): Likewise.
19281 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19282 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19283 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19284 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19285 (__strrchr_sse2): Likewise.
19286 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19288 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19289 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19290 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19291 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19292 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19293 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19294 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19295 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19296 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19297 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19298 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19299 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19300 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19301 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19302 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19303 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19304 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19305 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19306 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19307 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19308 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19309 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19310 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19311 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19312 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19313 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19314 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19315 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19316 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19317 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19321 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19322 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19323 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19324 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19326 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19328 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19329 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19330 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19331 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19333 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19346 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19347 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19348 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19349 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19350 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19351 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19352 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19353 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19354 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19355 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19356 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19358 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19359 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19360 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19361 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19362 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19363 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19364 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19365 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19366 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19367 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19368 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19369 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19370 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19371 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19372 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19373 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19375 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19376 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19377 * include/ifunc-impl-list.h: New file.
19378 * misc/ifunc-impl-list.c: Likewise.
19379 * misc/Makefile (routines): Add ifunc-impl-list.
19380 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19381 * string/test-string.h: Include <ifunc-impl-list.h>.
19382 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19383 impl_array): New variables.
19384 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19386 (test_init): Call __libc_ifunc_impl_list to initialize
19387 func_list if TEST_IFUNC and TEST_NAME are defined.
19389 * string/Makefile (strop-tests): Add bcopy and bzero.
19390 * string/test-bcopy.c: New file.
19391 * string/test-bzero.c: Likewise.
19392 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19394 * string/test-memset.c: Support bzero test if TEST_BZERO is
19396 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19398 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19400 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19403 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19405 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19406 * configure: Regenerated.
19408 * Makeconfig (+link-static-before-libc): Don't include
19409 $(link-static-libc).
19411 * libio/libio.h (_IO_pos_t): Remove.
19413 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19415 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19418 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19420 * crypt/crypt-entry.c: Include fips-private.h.
19421 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19422 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19423 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19424 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19426 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19428 * crypt/crypt-private.h: Include stdbool.h.
19429 (_ufc_setup_salt_r): Return bool.
19430 * crypt/crypt-entry.c: Include errno.h.
19431 (__crypt_r): Return NULL with EINVAL for bad salt.
19432 * crypt/crypt_util.c (bad_for_salt): New.
19433 (_ufc_setup_salt_r): Check that salt is long enough and within
19434 the specified alphabet.
19435 * crypt/badsalttest.c: New file.
19436 * crypt/Makefile (tests): Add it.
19437 ($(objpfx)badsalttest): New.
19439 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19441 * NEWS: Add entry for BZ #14602.
19443 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19445 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19447 * math/libm-test.inc: Update comment listing what functions and
19449 (isgreater_test): New function.
19450 (isgreaterequal_test): Likewise.
19451 (isless_test): Likewise.
19452 (islessequal_test): Likewise.
19453 (islessgreater_test): Likewise.
19454 (isunordered_test): Likewise.
19455 (main): Call the new functions.
19457 2012-10-09 Roland McGrath <roland@hack.frob.com>
19459 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19460 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19461 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19462 * sysdeps/i386/configure: Regenerated.
19463 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19464 * sysdeps/mach/configure: Regenerated.
19465 * sysdeps/mach/hurd/configure: Regenerated.
19466 * sysdeps/powerpc/configure: Regenerated.
19467 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19468 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19469 * sysdeps/s390/s390-32/configure: Regenerated.
19470 * sysdeps/s390/s390-64/configure: Regenerated.
19471 * sysdeps/sh/configure: Regenerated.
19472 * sysdeps/sparc/configure: Regenerated.
19473 * sysdeps/unix/sysv/linux/configure: Regenerated.
19474 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19475 * sysdeps/x86_64/configure: Regenerated.
19477 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19478 defined. Don't check if MAP is NULL.
19480 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19482 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19483 (_G_stat64): Likewise.
19484 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19485 (_G_stat64): Likewise.
19486 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19487 instead of struct _G_stat64.
19488 * libio/fileops.c (mmap_remap_check): Likewise.
19489 (decide_maybe_mmap): Likewise.
19490 (_IO_new_file_seekoff): Likewise.
19491 (_IO_file_stat): Likewise.
19492 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19494 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19495 instead of struct _G_stat64.
19496 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19498 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19501 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19503 (CHECK_EOL): New macro.
19504 (two_way_short_needle): Check beginning of haystack for EOL. Use
19506 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19507 Replace with CHECK_EOL.
19508 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19509 Replace with CHECK_EOL.
19511 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19513 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19515 * math/libm-test.inc: Update comment listing what functions and
19517 (finite_test): New function.
19518 (isinf_test): Likewise.
19519 (isnan_test): Likewise.
19520 (fpclassify_test): Test subnormal input.
19521 (isfinite_test): Likewise.
19522 (isnormal_test): Likewise.
19523 (main): Call the new functions.
19525 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19528 * Makerules (%.dynsym): Force C locale when running
19529 $(OBJDUMP) --dynamic-syms.
19531 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19533 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19536 2012-10-06 David S. Miller <davem@davemloft.net>
19538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19539 upper 32-bits of the length value in %o2 since we use branch-on-register
19540 tests which consider the entire 64-bit register.
19542 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19544 * string/test-strstr.c (check2): Add a test for page boundary.
19546 2012-10-05 David S. Miller <davem@davemloft.net>
19548 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19549 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19551 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19553 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19554 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19555 and bzero when HWCAP_SPARC_CRYPTO is present.
19557 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19560 * string/test-strstr.c (check2): New function.
19561 (test_main): Call check2.
19563 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19565 * string/bug-strcasestr1.c (do_test): Moved to ...
19566 * string/test-strcasestr.c (check1): Here. New function.
19567 (do_one_test): Break out result checking code into ...
19568 (check_result): This. New function.
19569 (do_one_test): Call check_result.
19570 (test_main): Call check1.
19571 * string/bug-strchr1.c (do_test): Moved to ...
19572 * string/test-strchr.c (check1): Here. New function.
19573 (do_one_test): Break out result checking code into ...
19574 (check_result): This. New function.
19575 (do_one_test): Call check_result.
19576 (test_main): Call check1.
19577 * string/bug-strstr1.c (main): Moved to ...
19578 * string/test-strstr.c (check1): Here. New function.
19579 (do_one_test): Break out result checking code into ...
19580 (check_result): This. New function.
19581 (do_one_test): Call check_result.
19582 (test_main): Call check1.
19583 * string/bug-strcasestr1.c: Removed.
19584 * string/bug-strchr1.c: Likewise.
19585 * string/bug-strstr1.c: Likewise.
19587 * elf/Makefile (dl-routines): Add hwcaps.
19588 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19589 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19590 (_dl_important_hwcaps): Moved to ...
19591 * elf/dl-hwcaps.c: Here. New file.
19592 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19595 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19596 if IS_IN_rtld isn't defined.
19598 * elf/dl-support.c (_dl_sysinfo_map): New.
19599 Include "get-dynamic-info.h" and "setup-vdso.h".
19600 (_dl_non_dynamic_init): Call setup_vdso.
19601 * elf/dynamic-link.h: Don't include <assert.h>.
19602 (elf_get_dynamic_info): Moved to ...
19603 * elf/get-dynamic-info.h: Here. New file.
19604 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19605 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19606 * elf/setup-vdso.h: Here. New file.
19607 * elf/rtld.c: Include "setup-vdso.h".
19608 (dl_main): Call setup_vdso.
19610 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19612 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19613 creal in comment listing functions tested. List finite, isinf,
19614 isnan, isless, islessequal, isgreater, isgreaterequal,
19615 islessgreater, isunordered, lgamma_r and pow10 as functions and
19616 macros not tested. Mention which functions not tested are aliases
19617 for other functions. Fix typo. Note that signs of NaNs are not
19620 * scripts/config.guess: Update from config.git.
19621 * scripts/config.sub: Likewise.
19623 2012-10-04 Roland McGrath <roland@hack.frob.com>
19625 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19626 * misc/madvise.c (madvise): Renamed to __madvise.
19627 Make madvise a weak alias.
19628 * include/sys/mman.h: Declare __madvise.
19629 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19630 * sysdeps/unix/syscalls.list
19631 (madvise): Make __madvise the strong name, and madvise a weak alias.
19632 * sysdeps/unix/sysv/linux/syscalls.list
19633 (madvise, mmap): Remove redundant entries.
19634 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19635 * malloc/malloc.c (mtrim): Likewise.
19636 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19638 2012-10-03 Roland McGrath <roland@hack.frob.com>
19640 * sysdeps/mach/hurd/dl-cache.c: File removed.
19641 * config.h.in (USE_LDCONFIG): New #undef.
19642 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19643 * configure: Regenerated.
19644 * elf/Makefile (dl-routines): Add dl-cache only under
19645 [$(use-ldconfig) = yes].
19646 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19647 cache on [USE_LDCONFIG].
19648 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19650 * elf/rtld.c (dl_main): Likewise.
19652 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19654 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19655 _SC_LEVEL4_CACHE_LINESIZE.
19657 2012-10-03 Roland McGrath <roland@hack.frob.com>
19659 * sysdeps/unix/bsd/confstr.h: File removed.
19661 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19663 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19666 2012-10-02 Roland McGrath <roland@hack.frob.com>
19668 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19669 Make 'mapoff' field ElfW(Off) rather than off_t.
19671 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19673 * nscd/Makefile: Remove nscd-cflags and all its users.
19674 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19675 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19678 * malloc.c (malloc_printerr): Clarify error message.
19680 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19684 Set bit_FMA_Usable if FMA is supported.
19685 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19687 (bit_FMA4_Usable): Updated.
19688 (index_FMA_Usable): New macro.
19689 (CPUID_FMA): Likewise
19690 (HAS_FMA): Defined with bit_FMA_Usable.
19692 2012-10-01 Roland McGrath <roland@hack.frob.com>
19694 * bits/types.h (__swblk_t): Type removed.
19695 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19696 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19698 (__SWBLK_T_TYPE): Likewise.
19699 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19700 (__SWBLK_T_TYPE): Likewise.
19701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19702 (__SWBLK_T_TYPE): Likewise.
19703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19704 (__SWBLK_T_TYPE): Likewise.
19706 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19707 Honza Horak <hhorak@redhat.com>
19709 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19710 (xdr_mapname): Use YPMAXMAP as maxsize.
19711 (xdr_peername): Use YPMAXPEER as maxsize.
19712 (xdr_keydat): Use YPAXRECORD as maxsize.
19713 (xdr_valdat): Use YPMAXRECORD as maxsize.
19715 2012-10-01 Roland McGrath <roland@hack.frob.com>
19717 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19719 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19720 * csu/init-first.c: ... here.
19721 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19722 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19723 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19724 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19725 * sysdeps/i386/init-first.c: File removed.
19726 * sysdeps/sh/init-first.c: File removed.
19728 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19732 if x * y might underflow to zero and z is zero.
19733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19734 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19735 * math/libm-test.inc (min_subnorm_value): New variable.
19736 (fma_test): Add more tests.
19737 (fma_test_towardzero): Likewise.
19738 (fma_test_downward): Likewise
19739 (fma_test_upward): Likewise.
19740 (initialize): Set min_subnorm_value.
19742 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19747 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19748 mode for addition resulting in exact zero.
19749 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19752 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19754 * math/libm-test.inc (fma_test): Add more tests.
19755 (fma_test_towardzero): New function.
19756 (fma_test_downward): Likewise.
19757 (fma_test_upward): Likewise.
19758 (main): Call the new functions.
19760 2012-09-28 David S. Miller <davem@davemloft.net>
19762 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19764 2012-09-28 Roland McGrath <roland@hack.frob.com>
19766 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19767 instead of SIGALRM.
19769 * sysdeps/gnu/_G_config.h: Moved to ...
19770 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19771 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19772 * sysdeps/generic/_G_config.h: ... here.
19774 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19776 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19778 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19779 Conditionalize target on [libnss_test1.so-version].
19781 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19783 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19784 (elfobjdir): Move out of conditionals.
19786 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19787 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19788 (__nss_lookup_function): Conditionalize label remove_from_tree on
19789 [!DO_STATIC_NSS || SHARED], matching its only use.
19791 2012-09-28 David S. Miller <davem@davemloft.net>
19793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19794 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19796 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19798 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19800 when HWCAP_SPARC_CRYPTO is present.
19802 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19804 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19806 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19809 * stdio-common/vfprintf.c (process_string_arg): Revert
19812 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19814 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19816 * stdio-common/tst-sprintf.c: Include <locale.h>
19817 (main): Test sprintf's handling of incomplete multibyte
19820 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19822 * elf/dl-runtime.c (VERSYMIDX): Removed.
19823 * elf/dl-version.c (VERSYMIDX): Likewise.
19824 * elf/do-rel.h (VERSYMIDX): Likewise.
19825 (VALIDX): Likewise.
19826 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19827 * elf/rtld.c (VALIDX): Likewise.
19828 (ADDRIDX): Likewise.
19829 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19830 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19831 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19832 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19833 (VALIDX): Likewise.
19834 (ADDRIDX): Likewise.
19836 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19838 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19840 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19843 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19845 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19846 addresses are in the same scope as 192.0.2/24.
19847 * posix/gai.conf: Document new scope table defaults.
19849 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19852 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19853 for ftell. Compute offsets from write pointers instead.
19854 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19856 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19859 * libio/Makefile (tests): New test case tst-fseek.
19860 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19861 combination works in wide mode.
19862 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19863 state when the external buffer state changes.
19865 2012-09-27 David S. Miller <davem@davemloft.net>
19868 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19869 pass reloc->r_addend in as the 'high' argument to
19870 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19874 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19876 * rt/tst-aio2.c: Include <pthread.h>.
19877 * rt/tst-aio3.c: Likewise.
19879 2012-09-27 Steve Ellcey <sellcey@mips.com>
19881 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19883 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19885 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19886 contents on [SHARED].
19888 2012-09-26 Marek Polacek <polacek@redhat.com>
19892 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19893 for C++ and GCC <4.3 as well as for non GCC compilers.
19895 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19899 2012-09-25 Roland McGrath <roland@hack.frob.com>
19901 * Makefile.in (all, install): Declare with .PHONY.
19902 Reported by Michael Hope <michael.hope@linaro.org>.
19904 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19906 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19907 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19909 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19911 (sydep_routines): Add the new and the internal functions.
19912 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19913 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19915 (GLIBC_2.17): Add the new function.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19917 (GLIBC_2.17): Likewise.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19919 (GLIBC_2.17): Likewise.
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19921 (GLIBC_2.17): Likewise.
19922 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19924 2012-09-25 Alan Modra <amodra@gmail.com>
19926 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19927 Add release barrier before setting once_control to say
19928 initialisation is done. Add hints on lwarx. Use macro in
19930 (clear_once_control): Add release barrier.
19932 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19935 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19937 * math/s_clog10.c (__clog10): Likewise.
19938 * math/s_clog10f.c (__clog10f): Likewise.
19939 * math/s_clog10l.c (__clog10l): Likewise.
19940 * math/s_clogf.c (__clogf): Likewise.
19941 * math/s_clogl.c (__clogl): Likewise.
19942 * math/Makefile (libm-calls): Add x2y2m1.
19943 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19944 (__x2y2m1): Likewise.
19945 (__x2y2m1l): Likewise.
19946 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19947 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19948 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19949 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19950 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19951 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19952 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19953 * sysdeps/i386/fpu/libm-test-ulps: Update.
19954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19957 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19958 int as type of variable DEPTH.
19959 (glob): Use size_t instead of int as type of variables NEWCOUNT
19962 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19964 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19965 Add s_sincosf-sse2.
19966 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19967 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19968 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19969 macros for using routine as __sincosf_ia32.
19970 Use macro for function declaration and weak_alias.
19971 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19976 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19977 subnormal argument.
19978 * math/s_cexpf.c (__cexpf): Likewise.
19979 * math/s_csinf.c (__csinf): Likewise.
19980 * math/s_csinhf.c (__csinhf): Likewise.
19981 * math/s_ctanf.c (__ctanf): Likewise.
19982 * math/s_ctanhf.c (__ctanhf): Likewise.
19983 * math/s_ccosh.c (__ccoshf): Likewise.
19984 * math/s_cexp.c (__cexpl): Likewise.
19985 * math/s_csin.c (__csin): Likewise.
19986 * math/s_csinh.c (__csinh): Likewise.
19987 * math/s_ctan.c (__ctan): Likewise.
19988 * math/s_ctanh.c (ctanh): Likewise.
19989 * math/s_ccoshl.c (__ccoshl): Likewise.
19990 * math/s_cexpl.c (__cexpl): Likewise.
19991 * math/s_csinl.c (__csinl): Likewise.
19992 * math/s_csinhl.c (__csinhl): Likewise.
19993 * math/s_ctanl.c (__ctanl): Likewise.
19994 * math/s_ctanhl.c (__ctanhl): Likewise.
19996 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19998 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19999 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20000 (_IO_off_t): Define to __off_t, not _G_off_t.
20001 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20002 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20003 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20004 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20005 type of __dummy and __dummy2 fields.
20006 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20007 (_G_ssize_t): Likewise.
20008 (_G_off_t): Likewise.
20009 (_G_pid_t): Likewise.
20010 (_G_uid_t): Likewise.
20011 (_G_wchar_t): Likewise.
20012 (_G_wint_t): Likewise.
20013 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20014 (_G_ssize_t): Likewise.
20015 (_G_off_t): Likewise.
20016 (_G_pid_t): Likewise.
20017 (_G_uid_t): Likewise.
20018 (_G_wchar_t): Likewise.
20019 (_G_wint_t): Likewise.
20020 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20021 (_G_ssize_t): Likewise.
20022 (_G_off_t): Likewise.
20023 (_G_pid_t): Likewise.
20024 (_G_uid_t): Likewise.
20025 (_G_wchar_t): Likewise.
20026 (_G_wint_t): Likewise.
20028 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20030 * malloc/arena.c: Include malloc-sysdep.h.
20031 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20032 is sufficient to shrink the heap or an unmap is needed.
20033 * sysdeps/generic/malloc-sysdep.h: New file. Define
20034 new function check_may_shrink_heap.
20035 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20036 new function check_may_shrink_heap.
20038 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20040 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20043 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20045 * catgets/test-gencat.sh: Add "set -e".
20046 * elf/tst-pathopt.sh: Likewise.
20047 * grp/tst_fgetgrent.sh: Likewise.
20048 * iconvdata/run-iconv-test.sh: Likewise.
20049 * intl/tst-gettext.sh: Likewise.
20050 * intl/tst-gettext2.sh: Likewise.
20051 * intl/tst-gettext4.sh: Likewise.
20052 * intl/tst-gettext6.sh: Likewise.
20053 * intl/tst-translit.sh: Likewise.
20054 * io/ftwtest-sh: Likewise.
20055 * libio/test-freopen.sh: Likewise.
20056 * malloc/tst-mtrace.sh: Likewise.
20057 * posix/globtest.sh: Likewise.
20058 * posix/tst-getconf.sh: Likewise.
20059 * posix/wordexp-tst.sh: Likewise.
20060 * stdio-common/tst-printf.sh: Likewise.
20061 * stdio-common/tst-unbputc.sh: Likewise.
20062 * stdlib/tst-fmtmsg.sh: Likewise.
20063 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20064 * catgets/Makefile: Do not specify -e option when running
20065 testsuite shell scripts.
20066 * elf/Makefile: Likewise.
20067 * grp/Makefile: Likewise.
20068 * iconvdata/Makefile: Likewise.
20069 * intl/Makefile: Likewise.
20070 * io/Makefile: Likewise.
20071 * libio/Makefile: Likewise.
20072 * malloc/Makefile: Likewise.
20073 * posix/Makefile: Likewise.
20074 * stdio-common/Makefile: Likewise.
20075 * stdlib/Makefile: Likewise.
20076 * sysdeps/x86_64/Makefile: Likewise.
20078 * io/ftwtest-sh: Add copyright header.
20079 * posix/globtest.sh: Likewise.
20080 * posix/tst-getconf.sh: Likewise.
20081 * posix/wordexp-tst.sh: Likewise.
20082 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20084 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20087 * Makeconfig (+link): Defined as $(+link-static) if
20088 $(build-shared) isn't yes.
20089 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20091 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20093 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20096 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20097 new chunk size with MALLOC_ALIGN_MASK.
20099 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20102 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20104 (__printf_fphex): Determine rounding using get_rounding_mode and
20106 * stdio-common/tst-printf-round.c (struct hex_test): New
20108 (hex_tests): New variable.
20109 (test_hex_in_one_mode): New function.
20110 (do_test): Also run tests for hex float output.
20112 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20114 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20115 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20116 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20117 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20118 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20119 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20120 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20121 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20123 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20125 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20126 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20127 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20128 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20130 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20133 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20135 * elf/tst-rtld-load-self.sh: New test.
20136 * elf/Makefile: Run it.
20138 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20141 (tst-writev-ENV): Remove.
20142 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20144 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20146 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20148 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20150 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20152 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20154 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20155 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20156 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20159 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20162 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20163 * config.make.in (have-cpp-asm-debuginfo): Removed.
20164 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20165 * configure: Regenerated.
20167 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20170 * stdio-common/printf_fp.c: Include <stdbool.h> and
20172 (___printf_fp): Determine rounding using get_rounding_mode and
20174 * stdio-common/tst-printf-round.c: New file.
20175 * stdio-common/Makefile (tests): Add tst-printf-round.
20176 (link-libm): New variable.
20177 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20179 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20182 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20183 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20185 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20188 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20190 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20191 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20192 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20193 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20195 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20198 * include/rounding-mode.h: New file.
20199 * sysdeps/generic/get-rounding-mode.h: Likewise.
20200 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20201 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20202 (MAX_VALUE): New macro.
20203 (MIN_VALUE): Likewise.
20204 (overflow_value): New function.
20205 (underflow_value): Likewise.
20206 (round_and_return): Use overflow_value and underflow_value to
20207 determine return values in overflow and underflow cases. Use
20208 round_away to determine rounding depending on rounding mode.
20209 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20210 determine return values in overflow and underflow cases.
20211 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20212 (struct test_results): New structure.
20213 (struct test): Use struct test_results to store expected results
20214 for all rounding modes.
20215 (TEST): Include expected results for all rounding modes.
20216 (test_in_one_mode): New function.
20217 (do_test): Use test_in_one_mode to compute and check results.
20218 Check results for all rounding modes.
20219 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20222 2012-12-09 Allan McRae <allan@archlinux.org>
20224 * sysdeps/i386/fpu/libm-test-ulps: Update
20226 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20228 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20229 (_G_int32_t): Likewise.
20230 (_G_uint16_t): Likewise.
20231 (_G_uint32_t): Likewise.
20232 (_G_HAVE_BOOL): Likewise.
20233 (_G_HAVE_ATEXIT): Likewise.
20234 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20235 (_G_HAVE_IO_FILE_OPEN): Likewise.
20236 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20237 (_G_int32_t): Likewise.
20238 (_G_uint16_t): Likewise.
20239 (_G_uint32_t): Likewise.
20240 (_G_HAVE_BOOL): Likewise.
20241 (_G_HAVE_ATEXIT): Likewise.
20242 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20243 (_G_HAVE_IO_FILE_OPEN): Likewise.
20244 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20245 (_G_int32_t): Likewise.
20246 (_G_uint16_t): Likewise.
20247 (_G_uint32_t): Likewise.
20248 (_G_HAVE_BOOL): Likewise.
20249 (_G_HAVE_ATEXIT): Likewise.
20250 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20251 (_G_HAVE_IO_FILE_OPEN): Likewise.
20253 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20255 * csu/libc-tls.c: Update copyright years.
20257 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20259 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20260 [!_G_USING_THUNKS]: Remove conditional code.
20261 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20262 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20264 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20265 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20266 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20267 (_G_VTABLE_LABEL_PREFIX): Likewise.
20268 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20269 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20270 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20271 (_G_VTABLE_LABEL_PREFIX): Likewise.
20272 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20273 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20274 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20275 (_G_VTABLE_LABEL_PREFIX): Likewise.
20276 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20278 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20280 * libio/Makefile: Include ../Makeconfig before tests.
20281 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20282 only if $(build-shared) is yes.
20284 * iconv/gconv_db.c: Update copyright years.
20286 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20288 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20289 unwind info if defined PIC. Fix special cases description.
20290 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20292 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20294 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20296 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20298 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20300 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20303 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20304 (LDLIBS-tst-chk4): This.
20305 (LDFLAGS-tst-chk5): Renamed to ...
20306 (LDLIBS-tst-chk5): This.
20307 (LDFLAGS-tst-chk6): Renamed to ...
20308 (LDLIBS-tst-chk6): This.
20309 (LDFLAGS-tst-lfschk4): Renamed to ...
20310 (LDLIBS-tst-lfschk4): This.
20311 (LDFLAGS-tst-lfschk5): Renamed to ...
20312 (LDLIBS-tst-lfschk5): This.
20313 (LDFLAGS-tst-lfschk6): Renamed to ...
20314 (LDLIBS-tst-lfschk6): This.
20316 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20317 on $(common-objpfx)soversions.mk.
20319 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20322 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20325 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20327 * malloc/arena.c (arena_get_retry): New function that gets
20328 another arena for the caller to try its request on.
20329 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20330 current arena cannot fulfill the request.
20331 (__libc_memalign): Likewise.
20332 (__libc_memalign): Likewise.
20333 (__libc_pvalloc): Likewise.
20334 (__libc_calloc): Likewise.
20336 2012-09-05 John Tobey <john.tobey@gmail.com>
20339 * manual/arith.texi (Operations on Complex): Fix description
20340 of carg branch cut.
20342 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20345 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20349 * manual/memory.texi (Memory): Make order of menu items match
20352 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20354 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20355 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20356 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20358 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20360 * csu/libc-tls.c (static_dtv): Renamed to ...
20361 (_dl_static_dtv): This. Make it global.
20362 (_dl_initial_dtv): Removed.
20363 (__libc_setup_tls): Updated.
20364 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20365 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20368 2012-09-06 Petr Machata <pmachata@redhat.com>
20370 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20371 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20372 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20373 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20375 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20378 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20379 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20382 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20385 * Makeconfig (link-static-before-libc): Replace $(+prector)
20387 (link-static-after-libc): Replace $(+postctor) with
20389 (link-bounded): Replace $(+prector)/$(+postctor) with
20390 $(+prectorT)/$(+postctorT).
20391 (+prectorT): New macro.
20392 (+postctorT): Likewise.
20394 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20396 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20397 (round_str): Handle values above the maximum for IBM long double
20399 * stdlib/tst-strtod-round.c (tests): Regenerated.
20401 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20403 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20405 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20406 zarch_nohighgprs around the zarch optimized routines.
20407 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20408 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20409 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20412 2012-09-05 David S. Miller <davem@davemloft.net>
20414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20416 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20417 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20418 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20419 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20422 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20424 * malloc/arena.c: Fold copyright years.
20425 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20427 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20429 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20431 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20433 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20435 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20437 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20438 change internal state upon failure.
20440 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20442 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20443 * malloc/memusage.c (mmap): Likewise.
20444 (mmap64, mremap): Likewise. Adjust name in comment.
20446 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20448 * libio/fileops.c: Fix typos in comments.
20449 * libio/oldfileops.c: Likewise.
20450 * libio/wfileops.c: Likewise.
20452 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20455 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20456 (tst-malloc-usable-ENV): Set environment for test case.
20457 * malloc/hooks.c (malloc_check_get_size): New function to get
20459 * malloc/malloc.c (musable): Use malloc_check_get_size.
20460 * malloc/tst-malloc-usable.c: New test case.
20462 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20464 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20466 2012-09-05 Allan McRae <allan@archlinux.org>
20469 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20470 determine header location.
20471 * configure: Regenerated.
20473 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20475 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20477 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20478 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20480 (test): Regenerate.
20482 2012-09-04 David S. Miller <davem@davemloft.net>
20484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20486 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20488 2012-09-04 Florian Weimer <fweimer@redhat.com>
20490 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20493 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20495 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20498 * libio/iogetdelim.c: Include <limits.h>.
20499 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20500 + len + 1 would overflow.
20502 2012-09-03 Andreas Jaeger <aj@suse.de>
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20505 * sysdeps/i386/fpu/libm-test-ulps: Update.
20507 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20509 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20510 Add s_sinf-sse2, s_conf-sse2.
20512 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20513 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20514 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20515 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20517 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20518 for using routine as __sinf_ia32.
20519 Use macro for function declaration and weak_alias.
20520 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20521 for using routine as __cosf_ia32.
20522 Use macro for function declaration and weak_alias.
20524 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20525 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20527 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20528 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20531 * math/libm-test.inc (cos_test): Add more test cases.
20532 (sin_test): Likewise.
20533 (sincos_test): Likewise.
20535 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20537 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20538 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20542 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20545 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20546 first element of the GOT.
20547 (elf_machine_load_address): Return the difference between
20548 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20550 2012-09-01 Allan McRae <allan@archlinux.org>
20553 * configure.in (AWK): Require gawk version 3.0 or later.
20554 * configure: Regenerated.
20556 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20558 * sysdeps/unix/sysv/linux/kernel-features.h
20559 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20561 [__NR_clock_getres]: Make code unconditional.
20562 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20563 (clock_getcpuclockid): Remove code left unreachable by removal of
20565 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20566 code unconditional.
20567 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20568 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20569 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20570 Make code unconditional.
20571 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20572 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20573 * sysdeps/unix/sysv/linux/clock_settime.c
20574 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20576 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20577 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20579 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20582 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20583 scripts/test-installation.pl.
20585 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20586 and $ld_so_version if it is set.
20588 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20591 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20592 failure if reading from procfs failed.
20593 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20595 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/unix/sysv/linux/kernel-features.h
20598 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20599 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20600 Remove conditional code.
20601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20602 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20603 Remove conditional code.
20604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20605 * sysdeps/unix/sysv/linux/i386/fxstat.c
20606 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20608 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20609 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20611 * sysdeps/unix/sysv/linux/i386/lxstat.c
20612 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20614 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20615 Remove conditional code.
20616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20617 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20618 Remove conditional code.
20619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20620 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20621 <kernel-features.h>.
20622 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20624 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20625 Remove conditional code.
20626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20627 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20628 Remove conditional.
20630 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20633 * NEWS: Add fixed bug number.
20635 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20638 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20639 underflowing exponent in case of negative sign.
20640 * stdlib/tst-strtod-round-data: Add more tests.
20641 * stdlib/tst-strtod-round.c (tests): Regenerated.
20644 * stdlib/strtod_l.c (NDIG): Remove.
20645 (HEXNDIG): Likewise.
20646 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20647 smallest representable value.
20648 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20649 lie within an exact representation of 1/2 ulp of the result.
20650 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20652 (TENS_P9_IDX): Define unconditionally.
20653 (TENS_P9_SIZE): Likewise.
20654 (TENS_P10_IDX): Likewise.
20655 (TENS_P10_SIZE): Likewise.
20656 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20657 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20658 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20659 entries for 10^2^13 and 10^2^14.
20660 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20661 (TENS_P13_IDX): Define.
20662 (TENS_P13_SIZE): Likewise.
20663 (TENS_P14_IDX): Likewise.
20664 (TENS_P14_SIZE): Likewise.
20665 (_fpioconst_pow10): Change array size to
20666 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20668 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20669 1024]: Add entries for 10^2^13 and 10^2^14.
20670 [LAST_POW10 > _LAST_POW10]: Remove #error.
20671 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20672 (_fpioconst_pow10): Change array size to
20673 FPIOCONST_POW10_ARRAY_SIZE.
20674 * stdlib/gen-fpioconst.c: New file.
20675 * stdlib/gen-tst-strtod-round.c: Likewise.
20676 * stdlib/tst-strtod-round-data: Likewise.
20677 * stdlib/tst-strtod-round.c: Likewise.
20678 * stdlib/Makefile (tests): Add tst-strtod-round.
20681 * stdlib/strtod_l.c: Include <stdint.h>.
20682 (NDEBUG): Do not define.
20683 (round_and_return): Change EXPONENT parameter to type intmax_t.
20684 Rearrange calculations to avoid internal overflow possibilities.
20685 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20686 Rearrange calculations to avoid internal overflow possibilities.
20687 Assert that number fits inside MPNSIZE limbs.
20688 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20689 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20690 calculations and add assertions to avoid internal overflow
20691 possibilities. Add casts to avoid signed/unsigned operations.
20692 * stdlib/tst-strtod-overflow.c: New file.
20693 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20695 2012-08-25 Marek Polacek <polacek@redhat.com>
20697 * time/time.h: Fix some typos in comments.
20699 2012-08-23 Roland McGrath <roland@hack.frob.com>
20701 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20702 * posix/tst-rfc3484-2.c: Likewise.
20703 * posix/tst-rfc3484-3.c: Likewise.
20705 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20707 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20708 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20710 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20712 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20713 #include of fxstatat64.c.
20715 2012-08-22 Roland McGrath <roland@hack.frob.com>
20717 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20718 * shadow/getspent_r.c: Likewise.
20719 * shadow/getspnam.c: Likewise.
20720 * shadow/getspnam_r.c: Likewise.
20721 * gshadow/getsgent.c: Likewise.
20722 * gshadow/getsgent_r.c: Likewise.
20723 * gshadow/getsgnam.c: Likewise.
20724 * gshadow/getsgnam_r.c: Likewise.
20725 * inet/getnetbyad.c: Likewise.
20726 * inet/getnetbyad_r.c: Likewise.
20727 * inet/getnetbynm.c: Likewise.
20728 * inet/getnetbynm_r.c: Likewise.
20729 * inet/getnetent.c: Likewise.
20730 * inet/getnetent_r.c: Likewise.
20731 * inet/getproto.c: Likewise.
20732 * inet/getproto_r.c: Likewise.
20733 * inet/getprtent.c: Likewise.
20734 * inet/getprtent_r.c: Likewise.
20735 * inet/getprtname.c: Likewise.
20736 * inet/getprtname_r.c: Likewise.
20737 * inet/getrpcbyname.c: Likewise.
20738 * inet/getrpcbyname_r.c: Likewise.
20739 * inet/getrpcbynumber.c: Likewise.
20740 * inet/getrpcbynumber_r.c: Likewise.
20741 * inet/getrpcent.c: Likewise.
20742 * inet/getrpcent_r.c: Likewise.
20743 * inet/getaliasent.c: Likewise.
20744 * inet/getaliasent_r.c: Likewise.
20745 * inet/getaliasname.c: Likewise.
20746 * inet/getaliasname_r.c: Likewise.
20747 * nscd/getgrgid_r.c: Likewise.
20748 * nscd/getgrnam_r.c: Likewise.
20749 * nscd/gethstbyad_r.c: Likewise.
20750 * nscd/gethstbynm3_r.c: Likewise.
20751 * nscd/getpwnam_r.c: Likewise.
20752 * nscd/getpwuid_r.c: Likewise.
20753 * nscd/getsrvbynm_r.c: Likewise.
20754 * nscd/getsrvbypt_r.c: Likewise.
20755 * nscd/gai.c: Likewise.
20757 * configure.in (build_nscd): New substituted variable, set
20758 by --disable-build-nscd and defaults to $use_nscd.
20759 * configure: Regenerated.
20760 * config.make.in (build-nscd): New substituted variable.
20761 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20762 Change conditional to require [$(build-nscd) = yes] as well.
20763 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20766 * configure.in (use_nscd): New substituted variable, set by
20767 --disable-nscd. If enabled, define USE_NSCD.
20768 * configure: Regenerated.
20769 * config.h.in: Add USE_NSCD.
20770 * config.make.in (use-nscd): New substituted variable.
20771 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20772 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20773 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20774 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20775 (CFLAGS-getgrnam_r.c): Likewise.
20776 (CFLAGS-initgroups.c): Likewise.
20777 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20778 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20780 * inet/getnetgrent_r.c
20781 (nscd_setnetgrent): New function, broken out of ...
20782 (setnetgrent): ... here. Call it.
20783 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20784 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20785 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20786 * nscd/Makefile (routines, aux): Move definitions after include of
20787 Makeconfig. Conditionalize on [$(use-nscd) != no].
20788 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20789 Conditionalize on [USE_NSCD].
20790 (is_nscd, nscd_init_cb): Likewise.
20791 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20792 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20793 * nss/nss_db/db-init.c: Likewise.
20794 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20796 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20797 (make_request): Use it.
20798 (cache_valid_p): New function.
20799 (__check_pf): Use it.
20800 * NEWS: Add item for --disable-nscd.
20802 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20804 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20805 to support sed >= 4.2.1-20-ga9bf076.
20806 * configure: Regenerated.
20808 2012-08-22 Roland McGrath <roland@hack.frob.com>
20810 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20811 Conditionalize whole body on [IREL].
20813 2012-08-22 Jeff Law <law@redhat.com>
20816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20817 if the family is PF_UNSPEC.
20819 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20821 * Makerules (lib-version): Rename from V.
20822 (install-lib-nosubdir): Change V to lib-version.
20824 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20827 * powerpc32/power6/wcschr.c: New file.
20828 * powerpc32/power6/wcscpy.c: New file.
20829 * powerpc32/power6/wcsrchr.c: New file.
20830 * powerpc64/power6/wcschr.c: New file.
20831 * powerpc64/power6/wcscpy.c: New file.
20832 * powerpc64/power6/wcsrchr.c: New file.
20834 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20836 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20837 (two_way_short_needle): Use it.
20838 * string/strstr.c (AVAILABLE1_USES_J): Define.
20839 * string/strcasestr.c: Likewise.
20841 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20843 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20846 * NEWS: Add an entry.
20847 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20848 define their defaults.
20849 (two_way_short_needle): Detect end-of-string on-the-fly.
20850 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20851 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20852 * string/bug-strcasestr1.c: New test.
20853 * string/Makefile: Run it.
20855 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20858 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20859 the first character.
20861 2012-08-21 Roland McGrath <roland@hack.frob.com>
20863 * csu/elf-init.c (__libc_csu_irel): Function removed.
20864 * csu/libc-start.c (apply_irel): New function.
20865 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20867 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20869 * sysdeps/unix/sysv/linux/kernel-features.h
20870 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20871 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20872 <kernel-features.h>.
20873 [__NR_fadvise64_64]: Make code unconditional.
20874 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20875 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20876 !__NR_fadvise64_64)]: Likewise.
20877 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20878 !__NR_fadvise64_64))]: Likewise.
20879 [__NR_fadvise64]: Make code unconditional.
20880 [!__NR_fadvise64]: Remove conditional code.
20881 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20882 <kernel-features.h>.
20883 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20885 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20888 not include <kernel-features.h>.
20889 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20891 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20893 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20894 include <kernel-features.h>.
20895 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20897 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20900 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20903 slight instruction rearrangements per scrollpipe analysis.
20904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20906 2012-08-20 Roland McGrath <roland@hack.frob.com>
20908 * manual/syslog.texi (syslog; vsyslog, closelog):
20909 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20910 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20912 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20913 DSOCAPS to match condition on defining it.
20915 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20917 * sysdeps/unix/sysv/linux/kernel-features.h
20918 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20920 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20921 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20923 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20924 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20926 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20927 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20929 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20930 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20932 * sysdeps/unix/sysv/linux/kernel-features.h
20933 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20934 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20936 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20937 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20938 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20939 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20940 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20941 Make code unconditional.
20942 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20943 (__mmap64) [!__NR_mmap2]: Likewise.
20944 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20945 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20946 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20947 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20948 [__NR_mmap2]: Make code unconditional.
20949 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20950 (__mmap64) [!__NR_mmap2]: Likewise.
20952 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20954 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20956 2012-08-18 Andreas Jaeger <aj@suse.de>
20958 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20960 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20962 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20963 * include/unistd.h (__have_sock_cloexec): Likewise.
20964 (__have_pipe2): Likewise.
20965 (__have_dup3): Likewise.
20967 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20970 * include/unistd.h (__have_pipe2): Change define into an extern int.
20971 (__have_dup3): Likewise.
20972 * socket/have_sock_cloexec.c: Include fcntl.h.
20973 (__have_pipe2): New variable.
20974 (__have_dup3): Likewise.
20976 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20978 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20980 2012-08-17 Marek Polacek <polacek@redhat.com>
20982 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20983 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20985 2012-08-17 Roland McGrath <roland@hack.frob.com>
20987 * configure.in: Add AC_SUBST for sysheaders.
20988 * configure: Regenerated.
20989 * config.make.in (sysheaders): New substituted variable.
20991 * sysdeps/unix/mkfifo.c: Moved ...
20992 * sysdeps/posix/mkfifo.c: ... here.
20993 * sysdeps/unix/mkfifoat.c: Moved ...
20994 * sysdeps/posix/mkfifoat.c: ... here.
20996 * sysdeps/unix/utime.c: Moved ...
20997 * sysdeps/posix/utime.c: ... here.
20999 * sysdeps/unix/time.c: Moved ...
21000 * sysdeps/posix/time.c: ... here.
21001 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21002 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21004 * sysdeps/unix/nice.c: Moved ...
21005 * sysdeps/posix/nice.c: ... here.
21007 * sysdeps/unix/alarm.c: Moved ...
21008 * sysdeps/posix/alarm.c: ... here.
21010 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21012 2012-08-17 Jeff Law <law@redhat.com>
21014 * intl/Makefile (codeset_mo): New variable.
21015 ($(codeset_mo)): New target.
21016 (tst-codeset.out): Depend on that. Remove explicit rule.
21017 (tst-gettext3.out, tst-gettext5.out): Likewise.
21018 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21019 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21020 * intl/tst-codeset.sh: Remove.
21021 * intl/tst-gettext3.sh: Likewise.
21022 * intl/tst-gettext5.sh: Likewise.
21024 2012-08-17 Roland McGrath <roland@hack.frob.com>
21026 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21027 * sysdeps/unix/syscalls.list: ... here.
21029 * sysdeps/posix/getaddrinfo.c
21030 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21031 (gaiconf_init, gaiconf_reload): Use them.
21032 [!_STATBUF_ST_NSEC]
21033 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21034 Define using time_t rather than struct timespec.
21036 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21037 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21039 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21041 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21042 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21045 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21046 __libc_cleanup_push argument.
21048 * bits/param.h: New file.
21049 * misc/sys/param.h: New file.
21050 * include/sys/param.h: New file.
21051 * misc/Makefile (headers): Add bits/param.h.
21052 * sysdeps/generic/sys/param.h: File removed.
21053 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21054 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21055 * sysdeps/mach/hurd/bits/param.h: New file.
21056 * sysdeps/mach/hurd/sys/param.h: File removed.
21058 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21061 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21063 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21064 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21067 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21068 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21069 rather than -D_IO_MTSAFE_IO conditionally.
21070 * stdio-common/Makefile (CPPFLAGS): Likewise.
21071 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21072 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21073 Use $(libio-mtsafe).
21074 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21075 of -D_IO_MTSAFE_IO.
21076 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21077 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21078 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21079 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21080 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21081 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21082 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21083 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21084 (CFLAGS-fread_u_chk.c): Likewise.
21085 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21086 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21087 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21088 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21089 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21090 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21091 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21092 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21093 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21095 * libio/Makefile: Test [$(libc-reentrant) = yes]
21096 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21099 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21100 * sysdeps/pthread/configure: File removed.
21101 * sysdeps/pthread/Makeconfig: New file.
21102 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21103 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21105 2012-08-16 Gary Benson <gbenson@redhat.com>
21107 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21108 unmapping the first object in a namespace.
21110 2012-08-16 Roland McGrath <roland@hack.frob.com>
21112 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21113 (__internal_setnetgrent): ... this. Add internal_function to
21114 definition. Add libc_hidden_def.
21115 (setnetgrent): Update caller.
21116 (internal_endnetgrent): Renamed to ...
21117 (__internal_endnetgrent): ... this. Add internal_function to
21118 definition. Add libc_hidden_def.
21119 (endnetgrent): Update caller.
21120 (internal_getnetgrent_r): Renamed to ...
21121 (__internal_getnetgrent_r): ... this. Add internal_function to
21122 definition. Add libc_hidden_def.
21123 (__getnetgrent_r): Update caller.
21124 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21126 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21128 * stdlib/longlong.h: Update from GCC.
21130 2012-08-16 Roland McGrath <roland@hack.frob.com>
21132 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21133 on _QL, which is set by umul_ppmm but never used.
21134 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21135 variables, which are set by GMP macros but never used.
21136 * stdio-common/_itowa.c (_itowa): Likewise.
21137 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21138 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21140 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21142 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21143 struct La_sh_regs is not constant.
21144 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21145 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21146 and struct La_sparc64_regs are not constant.
21148 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21150 * sysdeps/unix/sysv/linux/kernel-features.h
21151 (__ASSUME_POSIX_TIMERS): Remove.
21152 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21153 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21154 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21155 Make code unconditional.
21156 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21157 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21158 Make code unconditional.
21159 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21160 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21161 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21162 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21163 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21164 Make code unconditional.
21165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21166 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21167 (__libc_missing_posix_timers): Remove.
21169 2012-08-15 Roland McGrath <roland@hack.frob.com>
21171 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21172 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21174 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21176 * elf/dl-sym.c: Include <stdlib.h>.
21178 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21179 constants, which avoids warnings in 32-bit builds.
21181 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21182 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21184 * misc/lseek.c: File moved to ...
21185 * io/lseek.c: ... here.
21187 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21189 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21190 shifting LEN more than 31 bits at once.
21192 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21195 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21196 segmentation fault for a case of two empty input strings.
21197 * string/test-strncasecmp.c (check1): Renamed to...
21198 (bz12205): ...this.
21199 (bz14195): Add new testcase for two empty input strings and N > 0.
21200 (test_main): Call new testcase, adapt for renamed function.
21202 2012-08-15 Andreas Jaeger <aj@suse.de>
21205 * crypt/md5test2.c: New test, based on test supplied by Serge
21206 Belyshev <belyshev@depni.sinp.msu.ru>.
21207 * crypt/Makefile (xtests): Add md5test-giant..
21208 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21210 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21213 * crypt/md5.c (md5_process_block): Don't assume the buffer
21214 length is less than 2**32.
21215 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21216 length is less than 2**64.
21218 2012-08-15 Roland McGrath <roland@hack.frob.com>
21220 * string/str-two-way.h: Include <sys/param.h>.
21221 (MAX): Macro removed.
21223 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21224 Move #define and #undef of memmove to just before and after
21225 including <string.h>.
21227 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21228 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21229 and after including <string.h>. Move declarations of
21230 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21231 to before #include "string/memmove.c".
21233 * include/dirent.h: Declare __getdirentries.
21235 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21236 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21238 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21240 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21241 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21242 * sysdeps/i386/configure: Regenerated.
21243 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21244 STABS_CURRENT_FILE, and STABS_FUN.
21245 (END): Remove call to STABS_FUN_END.
21246 (STABS_CURRENT_FILE1): Delete.
21247 (STABS_CURRENT_FILE): Likewise.
21248 (STABS_FUN): Likewise.
21249 (STABS_FUN_END): Likewise.
21250 (STABS_FUN2): Likewise.
21251 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21252 * sysdeps/x86_64/configure: Regenerated.
21254 2012-08-14 Roland McGrath <roland@hack.frob.com>
21256 * elf/dl-open.c: Include <atomic.h>.
21257 * elf/dl-lookup.c: Likewise.
21259 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21261 * sysdeps/unix/sysv/linux/kernel-features.h
21262 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21263 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21265 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21267 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21268 condition on __ASSUME_CLONE_THREAD_FLAGS.
21270 2012-08-14 Andreas Jaeger <aj@suse.de>
21272 * sysdeps/i386/fpu/libm-test-ulps: Update.
21274 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21276 * include/atomic.h (atomic_exchange_and_add): Split into ...
21277 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21280 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21284 2012-08-13 Jeff Law <law@redhat.com>
21286 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21287 null byte in the output string.
21289 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21291 * sysdeps/unix/sysv/linux/kernel-features.h
21292 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21293 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21294 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21295 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21296 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21297 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21298 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21300 2012-08-09 Jeff Law <law@redhat.com>
21303 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21304 When avoid_arena is set, don't retry in the that arena. Pick the
21305 next one, whatever it might be.
21306 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21307 (arena_lock): Pass in new parameter to arena_get2.
21308 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21310 (__libc_malloc): Unify retrying after main arena failure with
21311 __libc_memalign version.
21312 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21314 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21317 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21318 to __redirect_strstr.
21319 (__strstr_sse42): Use typeof __redirect_strstr.
21320 (__strstr_ia32): Likewise.
21321 (__libc_strstr): New prototype.
21322 (strstr): Renamed to ...
21323 (__libc_strstr): This.
21324 (strstr): New strong alias of __libc_strstr.
21325 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21329 (__libc_time): New prototype.
21330 (time_ifunc): Replace time with __libc_time.
21331 (time): New strong alias and hidden definition of __libc_time.
21332 (__GI_time): Remove strong alias.
21333 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21334 Include <stddef.h>.
21335 (memmove): Redefined to __redirect_memmove.
21336 (__memmove_sse2): Use typeof __redirect_memmove.
21337 (__memmove_ssse3): Likewise.
21338 (__memmove_ssse3_back): Likewise.
21339 (__libc_memmove): New prototype.
21340 (memmove): Renamed to ...
21341 (__libc_memmove): This.
21342 (memmove): New strong alias of __libc_memmove.
21344 2012-08-08 Mark Salter <msalter@redhat.com>
21347 (R_MN10300_TLS_GD): Define.
21348 (R_MN10300_TLS_LD): Likewise.
21349 (R_MN10300_TLS_LDO): Likewise.
21350 (R_MN10300_TLS_GOTIE): Likewise.
21351 (R_MN10300_TLS_IE): Likewise.
21352 (R_MN10300_TLS_LE): Likewise.
21353 (R_MN10300_TLS_DTPMOD): Likewise.
21354 (R_MN10300_TLS_DTPOFF): Likewise.
21355 (R_MN10300_TLS_TPOFF): Likewise.
21356 (R_MN10300_SYM_DIFF): Likewise.
21357 (R_MN10300_ALIGN): Likewise.
21358 (R_MN10300_NUM): Update.
21360 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21362 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21365 2012-08-08 Roland McGrath <roland@hack.frob.com>
21367 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21369 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21370 sysdeps/unix -> sysdeps/posix move.
21371 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21373 2012-08-07 Allan McRae <allan@archlinux.org>
21376 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21377 (SUNOS_CPP): Likewise.
21378 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21380 (open_input): Call CPP using execvp.
21382 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21384 * sysdeps/unix/sysv/linux/kernel-features.h
21385 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21386 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21387 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21388 (__ASSUME_WAITID_SYSCALL): Likewise.
21389 * sysdeps/unix/sysv/linux/dl-execstack.c
21390 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21391 code unconditional.
21392 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21394 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21395 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21396 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21398 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21400 [__ASSUME_WAITID_SYSCALL]: Likewise.
21401 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21403 2012-08-07 Roland McGrath <roland@hack.frob.com>
21405 * sysdeps/unix/closedir.c: Renamed to ...
21406 * sysdeps/posix/closedir.c: ... here.
21407 * sysdeps/unix/dirfd.c: Renamed to ...
21408 * sysdeps/posix/dirfd.c: ... here.
21409 * sysdeps/unix/dirstream.h: Renamed to ...
21410 * sysdeps/posix/dirstream.h: ... here.
21411 * sysdeps/unix/fdopendir.c: Renamed to ...
21412 * sysdeps/posix/fdopendir.c: ... here.
21413 * sysdeps/unix/opendir.c: Renamed to ...
21414 * sysdeps/posix/opendir.c: ... here.
21415 * sysdeps/unix/readdir.c: Renamed to ...
21416 * sysdeps/posix/readdir.c: ... here.
21417 * sysdeps/unix/readdir_r.c: Renamed to ...
21418 * sysdeps/posix/readdir_r.c: ... here.
21419 * sysdeps/unix/rewinddir.c: Renamed to ...
21420 * sysdeps/posix/rewinddir.c: ... here.
21421 * sysdeps/unix/seekdir.c: Renamed to ...
21422 * sysdeps/posix/seekdir.c: ... here.
21423 * sysdeps/unix/telldir.c: Renamed to ...
21424 * sysdeps/posix/telldir.c: ... here.
21425 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21426 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21427 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21428 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21430 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21431 * bits/fcntl.h: ... here.
21433 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21435 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21436 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21437 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21438 (struct flock): Move l_start, l_len to the beginning.
21439 Use __pid_t for l_pid.
21440 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21441 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21442 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21443 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21444 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21445 [__USE_LARGEFILE64] (struct flock64): New type.
21446 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21448 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21449 * bits/dirent.h: ... here.
21451 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21452 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21454 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21457 Change from 2.6.0 to 2.6.16.
21458 * sysdeps/unix/sysv/linux/configure: Regenerated.
21459 * sysdeps/unix/sysv/linux/kernel-features.h
21460 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21461 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21463 (__ASSUME_UTIMES): Likewise.
21464 (__ASSUME_CLONE_STOPPED): Remove.
21465 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21466 architectures, not kernel version.
21467 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21468 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21469 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21470 (__ASSUME_WAITID_SYSCALL): Likewise.
21471 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21472 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21473 * README: State 2.6.16 as minimum Linux kernel version. Do not
21474 refer to older versions.
21476 2012-08-06 Roland McGrath <roland@hack.frob.com>
21478 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21479 Define alphasort64 as an alias.
21480 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21481 Define versionsort64 as an alias.
21482 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21483 Define scandir64 as an alias.
21484 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21485 Define scandirat64 as an alias.
21486 * dirent/alphasort64.c (alphasort64):
21487 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21488 * dirent/versionsort64.c: Likewise.
21489 * dirent/scandir64.c: Likewise.
21490 * dirent/scandirat64.c: Likewise.
21491 * sysdeps/wordsize-64/alphasort.c: File removed.
21492 * sysdeps/wordsize-64/alphasort64.c: File removed.
21493 * sysdeps/wordsize-64/scandir.c: File removed.
21494 * sysdeps/wordsize-64/scandir64.c: File removed.
21495 * sysdeps/wordsize-64/scandirat.c: File removed.
21496 * sysdeps/wordsize-64/scandirat64.c: File removed.
21497 * sysdeps/wordsize-64/versionsort.c: File removed.
21498 * sysdeps/wordsize-64/versionsort64.c: File removed.
21499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21500 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21501 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21502 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21503 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21504 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21505 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21506 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21508 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21510 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21512 [defined __arch64__ || defined __sparcv9]
21513 (__INO_T_MATCHES_INO64_T): New macro.
21514 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21515 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21516 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21517 * sysdeps/unix/sysv/linux/bits/dirent.h
21518 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21519 (_DIRENT_MATCHES_DIRENT64): New macro.
21521 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21522 Define lockf64 as an alias.
21523 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21524 Define fseeko64 as an alias.
21525 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21526 Define ftello64 as an alias.
21527 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21528 Define _IO_fgetpos64 and fgetpos64 as aliases.
21529 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21530 Define _IO_fsetpos64 and fsetpos64 as aliases.
21531 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21532 Conditionalize body on this.
21533 * libio/fseeko64.c: Likewise.
21534 * libio/ftello64.c: Likewise.
21535 * libio/iofgetpos64.c: Likewise.
21536 * libio/iofsetpos64.c: Likewise.
21537 * sysdeps/wordsize-64/lockf.c: File removed.
21538 * sysdeps/wordsize-64/lockf64.c: File removed.
21539 * sysdeps/wordsize-64/fseeko.c: File removed.
21540 * sysdeps/wordsize-64/fseeko64.c: File removed.
21541 * sysdeps/wordsize-64/ftello.c: File removed.
21542 * sysdeps/wordsize-64/ftello64.c: File removed.
21543 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21544 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21545 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21546 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21548 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21549 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21550 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21551 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21552 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21553 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21554 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21555 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21556 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21558 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21559 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21560 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21562 [defined __arch64__ || defined __sparcv9]
21563 (__OFF_T_MATCHES_OFF64_T): New macro.
21564 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21565 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21567 (__OFF_T_MATCHES_OFF64_T): New macro.
21569 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21571 * stdlib/secure-getenv.c (__secure_getenv): Replace
21572 GLIBC_2_16 with GLIBC_2_17.
21574 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21576 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21577 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21579 2012-08-03 David S. Miller <davem@davemloft.net>
21581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21583 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21585 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21587 (__ASSUME_CORRECT_SI_PID): Likewise.
21588 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21589 (__ASSUME_TMPFS_NAME): Likewise.
21590 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21591 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21592 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21593 (HAVE_AUX_SECURE): Make definition unconditional.
21594 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21595 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21597 2012-08-03 Roland McGrath <roland@hack.frob.com>
21599 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21600 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21601 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21602 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21603 __eloop_threshold instead of SYMLOOP_MAX.
21605 * sysdeps/generic/eloop-threshold.h: New file.
21606 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21608 * elf/chroot_canon.c (chroot_canon): Likewise.
21610 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21614 Change to 2.6.0 everywhere.
21615 * sysdeps/unix/sysv/linux/configure: Regenerated.
21616 * sysdeps/unix/sysv/linux/kernel-features.h
21617 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21618 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21620 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21621 (__ASSUME_FUTEX_REQUEUE): Remove.
21622 (__ASSUME_STATFS64): Define unconditionally.
21623 (__ASSUME_AT_SECURE): Likewise.
21624 (__ASSUME_CORRECT_SI_PID): Likewise.
21625 (__ASSUME_TGKILL): Define without depending on kernel version for
21627 (__ASSUME_UTIMES): Likewise.
21628 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21630 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21631 (__ASSUME_TMPFS_NAME): Likewise.
21632 * README: Update reference to Linux kernel versions.
21634 2012-08-02 Marek Polacek <polacek@redhat.com>
21637 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21638 libc_cv_asm_type_prefix with %.
21639 * configure: Regenerated.
21640 * include/libc-symbols.h: Remove comment about
21641 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21642 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21643 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21644 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21645 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21646 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21647 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21648 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21649 * elf/tst-unique2mod1.c: Likewise.
21650 * elf/tst-unique1mod2.c: Likewise.
21651 * elf/tst-unique1mod1.c: Likewise.
21652 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21653 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21654 Replace ASM_TYPE_DIRECTIVE with .type.
21655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21656 * sysdeps/i386/sysdep.h: Likewise.
21657 * sysdeps/x86_64/sysdep.h: Likewise.
21658 * sysdeps/sh/sysdep.h: Likewise.
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21660 Do not define ASM_TYPE_DIRECTIVE.
21661 * sysdeps/powerpc/sysdep.h: Likewise.
21662 * sysdeps/powerpc/powerpc32/sysdep.h:
21663 Replace ASM_TYPE_DIRECTIVE with .type.
21664 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21665 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21666 * sysdeps/i386/fpu/e_powf.S: Likewise.
21667 * sysdeps/i386/fpu/e_expl.S: Likewise.
21668 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21669 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21670 * sysdeps/i386/fpu/e_pow.S: Likewise.
21671 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21672 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21673 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21674 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21675 * sysdeps/i386/fpu/e_log2.S: Likewise.
21676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21677 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21678 * sysdeps/i386/fpu/e_powl.S: Likewise.
21679 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21680 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21681 * sysdeps/i386/fpu/e_logl.S: Likewise.
21682 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21683 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21684 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21685 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21686 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21687 * sysdeps/i386/fpu/e_log.S: Likewise.
21688 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21689 * sysdeps/i386/fpu/e_logf.S: Likewise.
21690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21692 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21693 * sysdeps/i386/fpu/e_log10.S: Likewise.
21694 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21695 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21696 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21697 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21698 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21699 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21700 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21701 * sysdeps/i386/i686/strtok.S: Likewise.
21702 * sysdeps/i386/i386-mcount.S: Likewise.
21703 * sysdeps/i386/strtok.S: Likewise.
21704 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21705 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21706 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21707 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21708 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21709 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21710 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21711 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21712 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21713 * sysdeps/x86_64/_mcount.S: Likewise.
21714 * sysdeps/x86_64/strtok.S: Likewise.
21715 * sysdeps/sh/_mcount.S: Likewise.
21717 2012-08-01 Roland McGrath <roland@hack.frob.com>
21719 * libio/iofopen.c: Include <fcntl.h>.
21720 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21721 (_IO_fopen64, fopen64): Define as aliases.
21722 * libio/iofopen64.c: Include <fcntl.h>.
21723 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21724 Conditionalize body on this.
21725 * sysdeps/wordsize-64/iofopen.c: File removed.
21726 * sysdeps/wordsize-64/iofopen64.c: File removed.
21728 2012-08-01 Marek Polacek <polacek@redhat.com>
21730 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21731 Use dlfcn directly instead of a variable.
21732 (binfmt-subdir): Do not define.
21735 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21738 Remove all definitions.
21739 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21740 <kernel-features.h>.
21741 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21742 (miss_F_GETOWN_EX): Remove all definitions.
21743 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21745 [!__ASSUME_FCNTL64]: Remove conditional code.
21746 [__ASSUME_FCNTL64]: Make code unconditional.
21747 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21748 <kernel-features.h>.
21749 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21750 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21751 (lockf64) [__NR_fcntl64]: Make code unconditional.
21752 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21754 * sysdeps/unix/sysv/linux/kernel-features.h
21755 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21756 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21757 Make code unconditional.
21758 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21759 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21761 [__NR_vfork]: Make code unconditional.
21762 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21763 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21765 [__NR_vfork]: Make code unconditional.
21766 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21767 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21769 2012-08-01 Roland McGrath <roland@hack.frob.com>
21771 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21772 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21774 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21775 Define mkstemp64 as an alias.
21776 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21777 Define mkstemps64 as an alias.
21778 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21779 Define mkostemp64 as an alias.
21780 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21781 Define mkostemps64 as an alias.
21782 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21783 Conditionalize body on this.
21784 * misc/mkostemp64.c: Likewise.
21785 * misc/mkostemps64.c: Likewise.
21786 * misc/mkstemps64.c: Likewise.
21787 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21788 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21789 * sysdeps/wordsize-64/mkostemp.c: File removed.
21790 * sysdeps/wordsize-64/mkstemp.c: File removed.
21791 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21792 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21793 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21794 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21797 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21798 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21799 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21800 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21802 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21803 compat_symbol macros from <shlib-compat.h> rather than the underlying
21804 default_symbol_version and symbol_version macros, so that DEFAULT
21805 lines in shlib-versions are respected.
21806 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21808 2012-08-01 Florian Weimer <fweimer@redhat.com>
21810 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21811 Declare with warn_unused_result.
21812 (setgid, setregid, setegid, setresgid): Likewise.
21813 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21815 * WUR-REPORT: Remove set*id functions.
21817 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21819 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21821 2012-07-31 Roland McGrath <roland@hack.frob.com>
21824 * include/sys/socket.h (__libc_accept, __libc_accept4):
21825 Add attribute_hidden.
21826 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21828 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21830 * inet/getnetgrent_r.c (setup): Likewise.
21832 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21834 2012-07-31 David S. Miller <davem@davemloft.net>
21836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21838 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21841 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21842 value between 1.0 and 2.0 and smaller part has absolute value less
21844 * math/s_clog10.c (__clog10): Likewise.
21845 * math/s_clog10f.c (__clog10f): Likewise.
21846 * math/s_clog10l.c (__clog10l): Likewise.
21847 * math/s_clogf.c (__clogf): Likewise.
21848 * math/s_clogl.c (__clogl): Likewise.
21849 * math/libm-test.inc (clog_test): Add more tests.
21850 (clog10_test): Likewise.
21851 * sysdeps/i386/fpu/libm-test-ulps: Update.
21852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21854 2012-07-31 Florian Weimer <fweimer@redhat.com>
21856 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21857 Exit with zero in case no suitable GID is found, and write a
21858 message to standard error.
21860 2012-07-30 Roland McGrath <roland@hack.frob.com>
21862 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21864 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21865 (MAXPATHLEN): Removed.
21866 (NOGROUP, NODEV): New macros.
21867 (setbit, clrbit, isset, isclr): New macros.
21868 (howmany, roundup, powerof2): New macros.
21869 (DEV_BSIZE): New macro.
21871 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21872 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21874 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21875 definition on [!__NO_LONG_DOUBLE_MATH].
21877 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21878 PTR_MANGLE and PTR_DEMANGLE.
21880 * socket/accept4.c (accept4): Rename to __libc_accept4.
21881 Define accept4 as a weak alias.
21883 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21884 on [_DIRENT_HAVE_D_TYPE].
21885 * io/ftw.c (ftw_dir): Likewise.
21887 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21889 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21891 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21892 Use the BSD numbers rather than the arbitrary ones we had.
21893 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21894 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21895 (SIGXCPU, SIGXFSZ): New macros.
21898 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21899 initializer on [_LIBC_REENTRANT].
21901 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21902 definitions inside [_POSIX_MAPPED_FILES].
21904 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21906 * dirent/opendir.c: Include <fcntl.h>.
21908 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21909 (__libc_getspecific): Likewise.
21910 (__libc_key_create): Likewise.
21912 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21913 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21914 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21915 (tmpfile64): Define as alias.
21916 * sysdeps/wordsize-64/tmpfile.c: File removed.
21917 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21918 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21919 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21921 * stdio-common/vfscanf.c: Include <stdbool.h>.
21922 * nss/makedb.c: Likewise.
21923 * stdio-common/_i18n_number.h: Likewise.
21924 * argp/argp-help.c: Likewise.
21925 * posix/wordexp.c: Likewise.
21926 * sysdeps/posix/spawni.c: Likewise.
21927 * nss/nss_files/files-initgroups.c: Likewise.
21928 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21929 * nss/nss_files/files-initgroups.c: Likewise.
21930 * nss/nss_db/db-netgrp.c: Likewise.
21931 * nss/nss_db/db-initgroups.c: Likewise.
21932 * io/fchmodat.c: Include <sys/stat.h>.
21934 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21935 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21937 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21940 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21941 Add multiple inclusion protection.
21943 2012-07-27 David S. Miller <davem@davemloft.net>
21945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21947 2012-07-27 Gary Benson <gbenson@redhat.com>
21950 * elf/rtld.c: Include <stap-probe.h>.
21951 (dl_main): Added static probes "init_start" and "init_complete".
21952 * elf/dl-load.c: Include <stap-probe.h>.
21953 (lose): Take new parameter "nsid".
21954 Added static probe "map_failed".
21955 (_dl_map_object_from_fd): Pass namespace id to lose.
21956 Added static probe "map_start".
21957 (open_verify): Pass namespace id to lose.
21958 * elf/dl-open.c: Include <stap-probe.h>.
21959 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21960 and "reloc_complete".
21961 * elf/dl-close.c: Include <stap-probe.h>.
21962 (_dl_close_worker): Added static probes "unmap_start" and
21964 * elf/rtld-debugger-interface.txt: New file documenting the above.
21966 2012-07-26 Roland McGrath <roland@hack.frob.com>
21968 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21969 rather than a string variable.
21970 * sunrpc/rpc_main.c (h_output): Likewise.
21971 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21973 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21975 * inet/check_native.c: New file.
21977 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21980 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21981 if larger part has absolute value 1.0.
21982 * math/s_clog10.c (__clog10): Likewise.
21983 * math/s_clog10f.c (__clog10f): Likewise.
21984 * math/s_clog10l.c (__clog10l): Likewise.
21985 * math/s_clogf.c (__clogf): Likewise.
21986 * math/s_clogl.c (__clogl): Likewise.
21987 * math/libm-test.inc (clog_test): Add more tests.
21988 (clog10_test): Likewise.
21989 * sysdeps/i386/fpu/libm-test-ulps: Update.
21990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21993 (pltexit): Likewise.
21994 (La_regs): Likewise.
21995 (La_retval): Likewise.
21996 (int_retval): Likewise.
21997 Update #error for removed macros to refer only to definitions in
21999 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22001 (pltexit): Likewise.
22002 (La_regs): Likewise.
22003 (La_retval): Likewise.
22004 (int_retval): Likewise.
22005 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22007 (pltexit): Likewise.
22008 (La_regs): Likewise.
22009 (La_retval): Likewise.
22010 (int_retval): Likewise.
22011 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22013 (pltexit): Likewise.
22014 (La_regs): Likewise.
22015 (La_retval): Likewise.
22016 (int_retval): Likewise.
22017 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22019 (pltexit): Likewise.
22020 (La_regs): Likewise.
22021 (La_retval): Likewise.
22022 (int_retval): Likewise.
22023 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22025 (pltexit): Likewise.
22026 (La_regs): Likewise.
22027 (La_retval): Likewise.
22028 (int_retval): Likewise.
22029 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22031 (pltexit): Likewise.
22032 (La_regs): Likewise.
22033 (La_retval): Likewise.
22034 (int_retval): Likewise.
22035 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22036 macro definitions in tst-audit.h.
22037 * sysdeps/i386/tst-audit.h: New file.
22038 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22039 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22040 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22041 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22042 * sysdeps/sh/tst-audit.h: Likewise.
22043 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22044 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22045 * sysdeps/x86_64/tst-audit.h: Likewise.
22047 2012-07-26 Andreas Jaeger <aj@suse.de>
22049 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22052 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22053 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22054 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22056 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22057 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22058 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22060 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22063 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22065 (si_call_addr, si_syscall, si_arch): Define new macro.
22066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22068 (si_call_addr, si_syscall, si_arch): Define new marcro.
22069 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22071 (si_call_addr, si_syscall, si_arch): Define new macro.
22072 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22074 (si_call_addr, si_syscall, si_arch): Define new macro.
22076 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22079 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22080 Change to 2.4.21 where previously 2.4.1.
22081 * sysdeps/unix/sysv/linux/configure: Regenerated.
22082 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22083 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22084 Linux kernel version.
22085 (__ASSUME_STD_AUXV): Remove.
22086 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22088 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22089 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22090 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22091 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22092 (__ASSUME_NETLINK_SUPPORT): Likewise.
22093 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22094 (__no_netlink_support): Remove conditional definition.
22095 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22097 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22098 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22099 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22100 (if_nameindex_ioctl): Remove.
22101 (if_nameindex_netlink): Do not handle __no_netlink_support.
22102 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22104 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22105 Remove conditional code.
22106 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22108 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22110 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22111 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22112 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22114 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22115 [!__ASSUME_STD_AUXV]: Remove conditional code.
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22117 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22118 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22120 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22121 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22123 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22125 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22126 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22128 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22130 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22133 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22136 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22137 code unconditional.
22138 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22140 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22142 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22145 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22147 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22150 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22151 code unconditional.
22152 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22154 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22156 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22159 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22160 code unconditional.
22161 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22163 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22165 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22168 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22170 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22171 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22172 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22173 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22174 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22175 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22176 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22177 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22178 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22179 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22180 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22181 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22182 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22183 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22184 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22185 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22186 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22188 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22190 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22191 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22194 2012-07-25 Florian Weimer <fweimer@redhat.com>
22196 * Versions.def: Add GLIBC_2.17.
22197 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22198 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22199 Introduce __libc_secure_getenv.
22200 * stdlib/Versions (2.17): Add secure_getenv
22201 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22202 * stdlib/secure-getenv.c: Rename __secure_getenv to
22203 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22204 symbol __secure_getenv for GLIBC_2.0.
22205 * stdlib/tst-secure-getenv.c: New.
22206 * stdlib/Makefile (tests): Add testcase.
22207 * manual/startup.texi (Environment Access): Document
22209 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22210 __libc_secure_getenv.
22211 * inet/ruserpass.c (ruserpass): Likewise.
22212 * malloc/mtrace.c (mtrace): Likewise.
22213 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22214 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22215 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22216 * sysdeps/posix/tempname.c: Likewise. Evaluate
22217 HAVE_SECURE_GETENV.
22218 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22219 __secure_getenv to __libc_secure_getenv.
22220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22233 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22235 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22236 (struct La_i86_retval): Likewise.
22237 (struct La_x86_64_regs): Likewise.
22238 (struct La_x86_64_retval): Likewise.
22239 (struct La_x32_regs): Likewise.
22240 (struct La_x32_retval): Likewise.
22241 (struct La_ppc32_regs): Likewise.
22242 (struct La_ppc32_retval): Likewise.
22243 (struct La_ppc64_regs): Likewise.
22244 (struct La_ppc64_retval): Likewise.
22245 (struct La_sh_regs): Likewise.
22246 (struct La_sh_retval): Likewise.
22247 (struct La_s390_32_regs): Likewise.
22248 (struct La_s390_32_retval): Likewise.
22249 (struct La_s390_64_regs): Likewise.
22250 (struct La_s390_64_retval): Likewise.
22251 (struct La_sparc32_regs): Likewise.
22252 (struct La_sparc32_retval): Likewise.
22253 (struct La_sparc64_regs): Likewise.
22254 (struct La_sparc64_retval): Likewise.
22255 (struct audit_ifaces): Remove architecture-specific pltenter and
22257 * sysdeps/i386/ldsodefs.h: New file.
22258 * sysdeps/powerpc/ldsodefs.h: Likewise.
22259 * sysdeps/s390/ldsodefs.h: Likewise.
22260 * sysdeps/sh/ldsodefs.h: Likewise.
22261 * sysdeps/sparc/ldsodefs.h: Likewise.
22262 * sysdeps/x86_64/ldsodefs.h: Likewise.
22264 2012-07-25 Marek Polacek <polacek@redhat.com>
22267 * math/libm-test.inc (yn_test): Add another test.
22268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22269 to ERANGE when the result is +-Inf.
22270 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22271 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22272 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22273 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22275 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22277 * conform/data/time.h-data (NULL): Use macro-constant. Require
22279 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22281 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22283 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22285 * configure.in <sysdeps resolving>: Correct printing
22287 * configure: Regenerate.
22289 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22291 * math/w_ilogb.c: Include <limits.h>.
22292 * math/w_ilogbl.c: Likewise.
22294 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22296 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22297 va_copy. Document allowing for unavailable va_copy only as
22298 pre-C99 compatibility.
22299 * manual/string.texi (Copying and Concatenation): Use va_copy
22300 instead of __va_copy in concat example.
22302 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22304 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22305 (__sendto): Use create_address_port. Initialize APORT and deallocate
22308 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22309 with O_NOLINK passed to __file_name_lookup.
22311 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22312 with O_NOLINK passed to __file_name_lookup.
22314 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22315 negative N or less than NGIDS.
22317 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22318 type to string_t. Set ERANGE as errno and return it if NAME is not big
22319 enough. Use memcpy instead of strncpy.
22321 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22323 * elf/Makefile (check-data): Remove.
22324 (localplt.data): New vpath directive.
22325 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22326 instead of $(check-data).
22327 * scripts/data/localplt-generic.data: Move to ...
22328 * sysdeps/generic/localplt.data: ... here.
22329 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22330 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22331 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22334 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22337 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22340 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22343 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22346 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22350 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22352 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22353 PPC32 and PPC64 files.
22354 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22355 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22357 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22359 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22360 __makecontext_ret to ...
22361 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22362 ... here and call exit if uc_link is NULL. New file.
22363 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22364 __makecontext_ret.S.
22365 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22366 __makecontext_ret to ...
22367 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22368 ... here and call exit if uc_link is NULL. New file.
22369 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22370 __makecontext_ret.S.
22372 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22374 * elf/elf.h (R_390_IRELATIVE): New definition.
22375 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22376 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22377 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22378 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22379 (elf_machine_lazy_rel): Likewise.
22380 * sysdeps/s390/dl-irel.h: New file.
22381 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22382 * sysdeps/s390/s390-64/memset.S: New asm code.
22383 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22384 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22385 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22386 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22387 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22388 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22389 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22390 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22391 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22392 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22393 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22394 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22395 * sysdeps/s390/s390-32/memset.S: New asm code.
22396 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22398 2012-07-17 Marek Polacek <polacek@redhat.com>
22401 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22402 * sysdeps/s390/s390-64/configure.in: Likewise.
22403 * sysdeps/sparc/configure.in: Likewise.
22404 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22405 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22406 * sysdeps/i386/configure.in: Likewise.
22407 * sysdeps/x86_64/configure.in: Likewise.
22408 * sysdeps/sh/configure.in: Likewise.
22409 * sysdeps/s390/s390-32/configure: Regenerated.
22410 * sysdeps/s390/s390-64/configure: Likewise.
22411 * sysdeps/x86_64/configure: Likewise.
22412 * sysdeps/sh/configure: Likewise.
22413 * sysdeps/powerpc/powerpc64/configure: Likewise.
22414 * sysdeps/powerpc/powerpc32/configure: Likewise.
22415 * sysdeps/sparc/configure: Likwise.
22416 * sysdeps/i386/configure: Likewise.
22418 * elf/dl-open.c: Comment fixes.
22420 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22422 * Makefile [CXX] (check-data): Remove.
22423 [CXX] (c++-types.data): New vpath directive.
22424 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22425 vpath. Do not allow for C++ type data being missing.
22426 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22427 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22428 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22429 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22430 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22431 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22432 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22435 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22438 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22441 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22444 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22447 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22450 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22453 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22456 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22457 definitions to architecture-specific files.
22458 (TLS_IE): Likewise.
22459 (TLS_LD): Likewise.
22460 (TLS_GD): Likewise.
22461 * sysdeps/i386/tls-macros.h: New file.
22462 * sysdeps/powerpc/tls-macros.h: Likewise.
22463 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22464 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22465 * sysdeps/sh/tls-macros.h: Likewise.
22466 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22467 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22468 * sysdeps/x86_64/tls-macros.h: Likewise.
22470 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22472 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22473 zero value for regular exit case.
22475 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22476 (__start_context): Preserve zero value for regular exit case.
22478 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22479 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22481 * manual/setjmp.texi (setcontext): Clarify normal process
22482 termination when uc_link is the null pointer.
22483 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22486 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22488 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22489 preprocessor. Test for each exception mask separately.
22491 2012-07-16 Andreas Jaeger <aj@suse.de>
22493 * po/ru.po: Update from translation team.
22495 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22497 * conform/data/string.h-data (NULL): Use macro-constant. Require
22499 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22500 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22501 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22502 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22505 2012-07-13 Andreas Jaeger <aj@suse.de>
22507 * po/fr.po: Update from translation team.
22509 2012-07-12 Marek Polacek <polacek@redhat.com>
22512 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22513 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22516 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22520 Change to 2.4.1 where previously 2.4.0.
22521 * sysdeps/unix/sysv/linux/configure: Regenerated.
22522 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22523 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22525 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22526 (__ASSUME_AT_CLKTCK): Remove.
22527 (__ASSUME_AT_PAGESIZE): Likewise.
22528 (__ASSUME_AT_XID): Likewise.
22529 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22530 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22531 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22533 (HAVE_AUX_PAGESIZE): Likewise.
22534 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22535 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22536 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22538 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22542 the temporary buffer used to invoke __gethostbyname2_r,
22543 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22544 host_data / struct gaih_addrtuple.
22545 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22546 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22547 header file nss/nsswitch.h.
22548 * nss/nsswitch.h (global scope): Add definition of implementation
22549 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22550 resolv/nss_dns/dns-host.c).
22552 2012-07-11 Andreas Jaeger <aj@suse.de>
22554 * po/fr.po: Update from translation team.
22556 * po/sv.po: Update from translation team
22557 * po/fr.po: Another update from translation team.
22559 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22561 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22562 for subnormals or multiply small sinh result by itself.
22563 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22566 2012-07-11 David S. Miller <davem@davemloft.net>
22568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22570 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22573 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22574 (INTERNAL_MARK): Shift it here.
22576 2012-07-10 Marek Polacek <polacek@redhat.com>
22579 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22580 libc_cv_asm_global_directive with .globl.
22581 * configure: Regenerated.
22582 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22584 * sysdeps/i386/configure: Regenerated.
22585 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22587 * sysdeps/x86_64/configure: Regenerated.
22588 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22589 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22590 * elf/tst-unique2mod2.c: Likewise.
22591 * elf/tst-unique2mod1.c: Likewise.
22592 * elf/tst-unique1mod2.c: Likewise.
22593 * elf/tst-unique1mod1.c: Likewise.
22594 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22595 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22597 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22598 * sysdeps/mach/sysdep.h: Likewise.
22599 * sysdeps/i386/sysdep.h: Likewise.
22600 * sysdeps/i386/i386-mcount.S: Likewise.
22601 * sysdeps/x86_64/_mcount.S: Likewise.
22602 * sysdeps/x86_64/sysdep.h: Likewise.
22603 * sysdeps/sh/_mcount.S: Likewise.
22604 * sysdeps/sh/sysdep.h: Likewise.
22605 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22606 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22607 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22608 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22609 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22611 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22612 * locale/localeinfo.h: Likewise.
22613 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22614 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22616 2012-07-09 Roland McGrath <roland@hack.frob.com>
22619 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22621 * manual/message.texi (The Uniforum approach): Likewise.
22622 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22623 (glibc iconv Implementation): Likewise.
22625 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22628 * math/s_clog.c (__clog): Avoid scaling a value down where that
22629 could result in underflow.
22630 * math/s_clog10.c (__clog10): Likewise.
22631 * math/s_clog10f.c (__clog10f): Likewise.
22632 * math/s_clog10l.c (__clog10l): Likewise.
22633 * math/s_clogf.c (__clogf): Likewise.
22634 * math/s_clogl.c (__clogl): Likewise.
22635 * math/libm-test.inc (clog_test): Add more tests.
22636 (clog10_test): Likewise.
22637 * sysdeps/i386/fpu/libm-test-ulps: Update.
22638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22640 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22643 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22644 by 7 not 8 to examine high bit of fractional part.
22647 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22648 for call to __mcount_internal.
22649 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22650 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22651 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22653 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22656 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22657 approximation for values within 0x1p-13f of an odd multiple of
22659 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22660 exception. Add more tests.
22661 * sysdeps/i386/fpu/libm-test-ulps: Update.
22664 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22665 inputs and return -1 for them. Do not check for +Inf in case not
22666 reachable for +Inf.
22667 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22668 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22669 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22670 and return -1 for them. Do not check for +Inf in case not
22671 reachable for +Inf.
22672 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22674 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22675 and return -1 for them. Do not check for +Inf in case not
22676 reachable for +Inf.
22677 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22678 spurious underflow.
22679 * sysdeps/i386/fpu/libm-test-ulps: Update.
22680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22682 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22684 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22686 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22690 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22691 could result in spurious underflow. Scale down values above
22692 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22693 * math/s_csqrtf.c (__csqrtf): Likewise.
22694 * math/s_csqrtl.c (__csqrtl): Likewise.
22695 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22696 spurious underflow.
22697 * sysdeps/i386/fpu/libm-test-ulps: Update.
22698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22700 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22702 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22704 * catgets/xopen-msg.awk: New file.
22705 * catgets/xopen-msg.sed: Removed.
22707 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22709 * intl/po2test.awk: New file.
22710 * intl/po2test.sed: Removed.
22712 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22715 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22716 or multiply small sinh result by itself.
22717 * math/s_ctanf.c (__ctanf): Likewise.
22718 * math/s_ctanh.c (__ctanh): Likewise.
22719 * math/s_ctanhf.c (__ctanhf): Likewise.
22720 * math/s_ctanhl.c (__ctanhl): Likewise.
22721 * math/s_ctanl.c (__ctanl): Likewise.
22722 * math/libm-test.inc (ctan_test_tonearest): New function.
22723 (ctan_test_towardzero): Likewise.
22724 (ctan_test_downward): Likewise.
22725 (ctan_test_upward): Likewise.
22726 (ctanh_test_tonearest): Likewise.
22727 (ctanh_test_towardzero): Likewise.
22728 (ctanh_test_downward): Likewise.
22729 (ctanh_test_upward): Likewise.
22730 (main): Call these new functions.
22731 * sysdeps/i386/fpu/libm-test-ulps: Update.
22732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22734 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22736 * .gitignore: Delete /ports entry.
22738 2012-07-03 Andreas Jaeger <aj@suse.de>
22740 * po/bg.po: Update from translation team.
22741 * po/cs.po: Likewise.
22742 * po/de.po: Likewise.
22743 * po/hr.po: Likewise.
22744 * po/nl.pl: Likewise.
22745 * po/pl.po: Likewise.
22746 * po/vi.po: Likewise.
22748 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22750 * Makeconfig [!+link] (+link-before-libc): New variable.
22751 [!+link] (+link-after-libc): Likewise.
22752 [!+link] (+link-tests): Likewise.
22753 [!+link] (+link): Define in terms of $(+link-before-libc) and
22754 $(+link-after-libc).
22755 [!+link-static] (+link-static-before-libc): New variable.
22756 [!+link-static] (+link-static-after-libc): Likewise.
22757 [!+link-static] (+link-static-tests): Likewise.
22758 [!+link-static] (+link-static): Define in terms of
22759 $(+link-static-before-libc) and $(+link-static-after-libc).
22760 [build-shared] (link-libc-before-gnulib): New variable.
22761 [build-shared] (link-libc-tests): Likewise.
22762 [build-shared] (link-libc): Define in terms of
22763 $(link-libc-before-gnulib).
22764 [!build-shared] (link-libc-tests): New variable.
22765 (link-libc-static-tests): New variable.
22766 [!gnulib] (gnulib-arch): New variable.
22767 [!gnulib] (gnulib-tests): Likewise.
22768 [!gnulib] (static-gnulib-arch): Likewise.
22769 [!gnulib] (static-gnulib-tests): Likewise.
22770 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22771 Define with "=" instead of ":=".
22772 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22773 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22774 * Rules (binaries-all-notests): New variable.
22775 (binaries-all-tests): Likewise.
22776 (binaries-static-notests): Likewise.
22777 (binaries-static-tests): Likewise.
22778 (binaries-all): Define using $(binaries-all-notests) and
22779 $(binaries-all-tests).
22780 (binaries-static): Define using $(binaries-static-notests) and
22781 $(binaries-static-tests).
22782 (binaries-shared-tests): New variable.
22783 (binaries-shared-notests): Likewise.
22784 (binaries-shared): Remove variable.
22785 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22786 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22787 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22788 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22789 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22790 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22791 * elf/Makefile (sln-modules): New variable.
22792 (extra-objs): Add $(sln-modules:=.o).
22793 (ldconfig-modules): Add static-stubs.
22794 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22795 * elf/static-stubs.c: New file.
22798 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22799 by 7 not 8 to examine high bit of fractional part. Use volatile
22800 variables when splitting into final array of floats if
22801 __FLT_EVAL_METHOD__ != 0.
22802 * math/libm-test.inc (cos_test): Add another test.
22803 (sin_test): Likewise.
22804 * sysdeps/i386/fpu/libm-test-ulps: Update.
22807 * math/libm-test.inc (cosh_test): Add more tests.
22809 * version.h (RELEASE): Set to "development".
22810 (VERSION): Set to "2.16.90".
22812 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22814 * NEWS: Update copyright. Remove last-updated date.
22815 Mention math library bug fixes and timezone data changes.
22816 * README: Mention GNU/Hurd, x32, and HPPA support status.
22818 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22820 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22822 2012-06-27 Andreas Jaeger <aj@suse.de>
22824 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22826 2012-06-25 Andreas Jaeger <aj@suse.de>
22828 * sysdeps/s390/fpu/libm-test-ulps: Update.
22830 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22831 Thomas Schwinge <thomas@codesourcery.com>
22833 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22834 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22838 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22840 * sysdeps/mach/start.c: Remove file.
22841 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22842 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22843 * sysdeps/sh/init-first.c: Likewise.
22845 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22846 registers for frame unwinding purposes, add CFI directives.
22847 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22848 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22849 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22852 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22853 __fortify_fail returning.
22854 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22856 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22857 sysdeps/sh/____longjmp_chk.S.
22858 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22859 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22860 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22861 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22863 * sysdeps/sh/abort-instr.h: New file.
22864 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22865 process in case exit returns.
22867 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22868 initialize the GOT register before use.
22870 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22871 calculation of ARGC > 4.
22873 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22874 meaningful names to some local labels.
22876 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22877 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22879 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22880 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22881 (__arch_compare_and_exchange_val_16_acq): Likewise.
22882 (__arch_compare_and_exchange_val_32_acq): Likewise.
22883 (atomic_exchange_and_add): Fix gUSA sequence.
22884 (atomic_add): Likewise.
22885 (atomic_add_negative): Likewise.
22886 (atomic_add_zero): Likewise.
22887 (atomic_bit_test_set): Likewise.
22889 2012-06-22 Andreas Schwab <schwab@redhat.com>
22892 * include/link.h (struct link_map): Add l_free_initfini.
22893 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22895 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22896 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22897 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22900 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22902 * configure.in: Use AC_LANG_SOURCE.
22903 * configure: Regenerate.
22905 2012-06-22 Roland McGrath <roland@hack.frob.com>
22907 * configure.in (libc_cv_localstatedir): New substituted variable.
22908 * configure: Regenerated.
22909 * config.make.in (localstatedir): New variable, substituted from
22910 libc_cv_localstatedir.
22911 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22912 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22913 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22914 * sysdeps/gnu/configure: Regenerated.
22916 2012-06-21 Jeff Law <law@redhat.com>
22919 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22920 free. Simplify list management for _LIBC case.
22922 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22926 Clear sign bit of 64-bit integer value before comparing against
22929 * sysdeps/mach/configure: Regenerated.
22931 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22934 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22936 2012-06-21 Jeff Law <law@redhat.com>
22939 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22940 uint16_t for elements in the "seen" array to avoid char overflows.
22941 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22942 * elf/dl-open.c (dl_open_worker): Likewise.
22944 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22946 * scripts/list-sources.sh: Scan PORTS for translations.
22947 * po/libc.pot: Regenerated.
22949 2012-06-21 Andreas Jaeger <aj@suse.de>
22952 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22954 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22955 * bits/byteswap-16.h (__bswap_16): Likewise.
22956 * bits/byteswap.h (__bswap_constant_16): Likewise.
22958 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22961 * sysdeps/i386/fpu_control.h: Removed.
22962 * sysdeps/x86_64/fpu_control.h: Moved to ...
22963 * sysdeps/x86/fpu_control.h: Here.
22965 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22966 (_FPU_SETCW): Likewise.
22968 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22971 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22972 * sysdeps/x86/fpu/bits/mathinline.h: This.
22973 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22977 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22978 functions if __x86_64__ is defined.
22980 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22982 * string/endian.h: Add !__ASSEMBLER__ condition for including
22983 conversion interfaces.
22985 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22989 of ABS(x) in calculating zero to negative powers other than odd
22991 * math/libm-test.inc (pow_test): Add more tests.
22993 2012-06-15 Andreas Jaeger <aj@suse.de>
22995 * manual/contrib.texi (Contributors): Update entry of Liubov
22996 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22999 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23001 * string/string.h: Add __wur to GNU version of strerror_r.
23003 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23006 * string/Makefile (tests): Add tst-strtok_r.
23007 * string/tst-strtok_r.c: New file.
23008 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23009 RAX_LP/RDX_LP on SAVE_PTR.
23011 2012-06-14 Roland McGrath <roland@hack.frob.com>
23013 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23015 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23017 * libm_test.inc (csqrt_test): Allow more spurious underflow
23019 (j0_test): Likewise.
23020 (j1_test): Likewise.
23021 (y0_test): Likewise.
23022 (y1_test): Likewise.
23024 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23026 * po/Makefile (libc.pot): Use UTF-8 charset.
23028 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23031 Suppress sign-conversion warning from FD_SET.
23032 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23033 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23034 not unsigned long int.
23035 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23037 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23041 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23042 __extern_always_inline instead of __extern_inline.
23043 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23044 (__signbit): Likewise.
23045 (__signbitl): Support C++ namespace.
23046 (lrintf): New inline function.
23048 (llrintf): Likewise.
23049 (llrint): Likewise.
23059 (floorf): Likewise.
23060 (nearbyint): Likewise.
23061 (nearbyintf): Likewise.
23063 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23066 non-default versions.
23068 2012-06-11 Roland McGrath <roland@hack.frob.com>
23071 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23073 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23075 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23076 (FE_UPWARD, FE_DOWNWARD): Don't define.
23077 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23078 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23080 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23082 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23083 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23085 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23087 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23089 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23090 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23092 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23095 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23096 * sysdeps/i386/fpu/Implies: New file.
23097 * sysdeps/x86_64/fpu/Implies: Likewise.
23098 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23099 * sysdeps/x86/fpu/bits/fenv.h: This.
23101 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23104 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23107 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23108 character 0xffff that matches the last element of the
23111 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23116 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23119 values higher than 25.6283.
23121 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23123 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23124 subnormal exponent extraction and add some __builtin_expect.
23125 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23126 Fix for subnormal mantissa calculation.
23128 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23130 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23131 cpu2 is -1 and errno is not ENOSYS.
23133 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23136 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23137 * sysdeps/x86/bits/string.h: This.
23138 * sysdeps/x86_64/bits/string.h: Removed.
23140 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23141 if not compiling for x86-64, but compiling for >= i486.
23143 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23144 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23146 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23147 New macro from Linux kernel 3.4.0.
23148 (FP_XSTATE_MAGIC2): Likewise.
23149 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23150 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23151 (struct _fpx_sw_bytes): New struct.
23152 (struct _xsave_hdr): Likewise.
23153 (struct _ymmh_state): Likewise.
23154 (struct _xstate): Likewise.
23156 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23157 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23158 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23159 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23160 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23161 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23163 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23164 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23165 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23166 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23167 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23168 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23170 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23173 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23174 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23175 (sysdep_headers): Include sys/platform/ppc.h.
23176 * sysdeps/powerpc/test-gettimebase.c: Test for
23177 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23178 * manual/Makefile (appendices): Include platform.texi.
23179 * manual/contrib.texi (Contributors): Update @node pointers.
23180 * manual/maint.texi (Maintenance): Likewise.
23181 (Platform): New node.
23182 * manual/platform.texi: New file. Document the new features.
23184 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23185 Jakub Jelinek <jakub@redhat.com>
23188 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23189 where __builtin_expect is unavailable.
23191 2012-06-03 David S. Miller <davem@davemloft.net>
23193 * stdlib/longlong.h: Updated from GCC.
23195 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23198 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23199 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23202 (GLIBC_2.16): Likewise.
23204 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23206 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23208 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23211 (default-abi): New variable.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23213 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23215 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23217 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23219 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23222 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23223 definition. Document in comment.
23225 2012-06-01 David S. Miller <davem@davemloft.net>
23227 * stdlib/longlong.h: Updated from GCC.
23229 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23232 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23233 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23234 sys/debugreg.h sys/io.h here.
23235 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23236 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23238 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23239 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23240 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23241 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23242 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23243 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23245 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23246 Define only if __x86_64__ is defined.
23248 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23251 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23252 Use int64_t for variable i.
23253 * math/libm-test.inc (fmod_test): Add more tests.
23255 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23256 z computation is not scheduled after fetestexcept.
23257 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23258 Use math_force_eval instead of asm to ensure calculation scheduled
23259 before exception test.
23260 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23261 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23263 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23266 computation is not scheduled after fetestexcept.
23268 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23271 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23272 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23274 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23276 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23277 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23279 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23282 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23284 (__WCHAR_MIN): Support __WORDSIZE == 64.
23285 (__WCHAR_MAX): Likewise.
23287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23288 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23291 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23292 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23295 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23296 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23298 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23299 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23301 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23302 Defined to 1 if __x86_64__ isn't defined.
23303 (_STAT_VER_LINUX_OLD): New.
23304 (st_atime): Remove duplicate.
23305 (st_mtime): Likewise.
23306 (st_ctime): Likewise.
23308 2012-05-31 David S. Miller <davem@davemloft.net>
23310 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23313 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23315 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23319 * elf/dl-reloc.c: Include <_itoa.h>.
23320 (_dl_reloc_bad_type): Remove use of INTUSE.
23321 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23322 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23323 * stdio-common/psiginfo.c (psiginfo): Likewise.
23324 * stdio-common/psignal.c (psignal): Likewise.
23325 * string/strsignal.c (strsignal): Likewise.
23326 * include/signal.h (_sys_siglist): Declare hidden proto.
23327 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23328 INTVARDEF with libc_hidden_data_def.
23329 * stdio-common/itoa-udigits.c: Likewise.
23330 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23331 (_itoa_lower_digits_internal): Remove declaration.
23332 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23333 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23334 (_sys_sigabbrev_internal): Remove aliases.
23335 (_sys_siglist): Define hidden alias.
23337 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23342 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23345 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23346 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23348 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23349 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23350 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23351 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23352 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23353 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23355 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23356 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23357 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23359 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23367 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23369 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23371 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23372 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23374 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23375 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23376 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23378 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23379 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23381 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23382 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23386 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23388 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23389 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23391 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23393 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23394 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23395 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23397 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23399 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23401 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23403 * math/math.h (M_El): Use two more decimal places.
23404 (M_LOG2El): Likewise.
23405 (M_LOG10El): Likewise.
23406 (M_LN2l): Likewise.
23407 (M_LN10l): Likewise.
23409 (M_PI_2l): Likewise.
23410 (M_PI_4l): Likewise.
23411 (M_1_PIl): Likewise.
23412 (M_2_PIl): Likewise.
23413 (M_2_SQRTPIl): Likewise.
23414 (M_SQRT2l): Likewise.
23415 (M_SQRT1_2l): Likewise.
23417 2012-05-31 David S. Miller <davem@davemloft.net>
23419 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23420 values between float registers.
23421 * sysdeps/sparc/sparc64/memset.S: Likewise.
23422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23424 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23426 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23427 -D_FORTIFY_SOURCE=1.
23428 (CPPFLAGS-tst-longjmp_chk.c): Define.
23429 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23430 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23431 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23432 CFLAGS-tst-wchar-h.c.
23434 2012-05-31 Marek Polacek <polacek@redhat.com>
23437 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23438 __endmntent_internal): Remove declaration.
23439 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23440 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23441 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23443 2012-05-30 David S. Miller <davem@davemloft.net>
23445 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23446 (___Q_simulate_exceptions): Use real FP ops rather than writing
23448 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23451 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23454 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23455 * sysdeps/x86/bits/xtitypes.h: This.
23457 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23458 * sysdeps/x86/bits/wordsize.h: This.
23460 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23461 * sysdeps/x86/bits/huge_vall.h: This.
23463 * sysdeps/i386/bits/select.h: Removed.
23464 * sysdeps/x86_64/bits/select.h: Renamed to ...
23465 * sysdeps/x86/bits/select.h: This.
23467 * sysdeps/i386/bits/setjmp.h: Removed.
23468 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23469 * sysdeps/x86/bits/setjmp.h: This.
23471 * sysdeps/i386/bits/mathdef.h: Removed.
23472 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23473 * sysdeps/x86/bits/mathdef.h: This.
23475 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23478 * include/sys/socket.h (__connect_internal)
23479 (__libc_sa_len_internal): Remove declaration.
23480 (__connect, __libc_sa_len): Declare hidden_proto.
23481 (SA_LEN): Remove use of INTUSE.
23482 * socket/connect.c: Add libc_hidden_def.
23483 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23484 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23485 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23487 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23489 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23490 of adding _internal alias.
23492 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23495 * sysdeps/i386/bits/link.h: Removed.
23496 * sysdeps/i386/bits/linkmap.h: Likewise.
23497 * sysdeps/x86_64/bits/link.h: Renamed to ...
23498 * sysdeps/x86/bits/link.h: This.
23499 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23500 * sysdeps/x86/bits/linkmap.h: This.
23502 * sysdeps/i386/bits/endian.h: Removed.
23503 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23504 * sysdeps/x86/bits/endian.h: This.
23506 * sysdeps/i386/bits/byteswap.h: Removed.
23507 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23508 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23509 * sysdeps/x86/bits/byteswap.h: This.
23510 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23511 * sysdeps/x86/bits/byteswap-16.h: This.
23512 * sysdeps/i386/Implies: Add x86.
23513 * sysdeps/x86_64/Implies: Likewise.
23515 2012-05-30 David S. Miller <davem@davemloft.net>
23517 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23518 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23519 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23520 (FP_TRAPPING_EXCEPTIONS): Define.
23521 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23522 (FP_TRAPPING_EXCEPTIONS): Define.
23523 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23524 subnormals only when inexact has been signalled or underflow
23525 exceptions are enabled.
23526 (_FP_PACK_CANONICAL): Likewise.
23528 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23531 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23532 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23534 2012-05-30 Richard Henderson <rth@twiddle.net>
23536 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23537 with #ifndef NOT_IN_libc.
23539 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23540 marked to avoid plt entry.
23542 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23545 * Makeconfig (default-abi): New macro.
23546 (abi-includes): Likewise.
23547 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23548 $(abi-$(default-abi)-lib-soname) for soname if defined.
23549 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23551 * Makefile (installed-stubs): Likewise.
23552 * include/stubs-biarch.h: Removed.
23553 * scripts/lib-names.awk: Only handle one library at a time.
23554 * scripts/soversions.awk: Remove WORDSIZE support.
23555 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23557 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23559 (syscall-list-default-condition): Likewise.
23560 (syscall-list-default-condition): Likewise.
23561 (syscall-list-includes): Likewise.
23562 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23563 syscall-list-* with abi-*. Handle undefined abi-variants.
23564 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23565 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23566 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23567 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23568 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23569 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23571 (syscall-list-32-options): Likewise.
23572 (syscall-list-32-condition): Likewise.
23573 (syscall-list-64-options): Likewise.
23574 (syscall-list-64-condition): Likewise.
23575 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23577 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23580 (abi-64-ld-soname): New macro.
23581 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23582 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23585 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23586 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23588 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23590 * sysdeps/unix/sysv/linux/kernel-features.h
23591 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23592 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23593 include <kernel-features.h>.
23594 [!__NR_ftruncate64]: Remove conditional code.
23595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23596 [__NR_ftruncate64]: Make code unconditional.
23597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23598 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23599 include <kernel-features.h>.
23600 [!__NR_ftruncate64]: Remove conditional code.
23601 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23602 [__NR_ftruncate64]: Make code unconditional.
23603 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23605 include <kernel-features.h>.
23606 [!__NR_ftruncate64]: Remove conditional code.
23607 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23608 [__NR_ftruncate64]: Make code unconditional.
23609 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23611 include <kernel-features.h>.
23612 [!__NR_ftruncate64]: Remove conditional code.
23613 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23614 [__NR_ftruncate64]: Make code unconditional.
23615 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23617 * configure.in (libc_cv_fpie): Weaken to a compile test using
23618 LIBC_TRY_CC_OPTION.
23619 * configure: Regenerated.
23621 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23636 2012-05-27 David S. Miller <davem@davemloft.net>
23638 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23640 (__Q_simulate_exceptions): Return void. Change to simulate
23641 exceptions by writing into the %fsr.
23642 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23643 (__Qp_handle_exceptions): Likewise.
23645 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23646 __Qp_handle_exceptions.
23647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23648 __Qp_handle_exceptions.
23649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23650 as unused and give dummy FP_RND_NEAREST initializer.
23651 (FP_INHIBIT_RESULTS): Define.
23652 (___Q_simulate_exceptions): Update declaration.
23653 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23656 as unused and give dummy FP_RND_NEAREST initializer.
23657 (__Qp_handle_exceptions): Update declaration.
23658 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23661 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23663 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23664 the temporary FPU control word.
23665 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23666 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23667 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23668 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23669 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23670 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23671 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23673 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23674 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23677 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23679 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23682 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23684 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23685 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23686 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23687 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23689 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23690 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23693 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23695 * po/h.po: Update from translation team.
23697 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23699 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23701 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23702 handling of denormals.
23703 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23704 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23705 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23706 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23712 2012-05-26 Marek Polacek <polacek@redhat.com>
23715 * math/libm-test.inc (fma_test): Don't always expect underflow
23718 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23721 * elf/tst-execstack.c: Include stackinfo.h.
23722 (do_test): Adjust test case to ensure that pthread_getattr_np
23723 behaviour remains the same after marking stack executable.
23725 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23727 * sysdeps/unix/sysv/linux/kernel-features.h
23728 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23729 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23731 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23732 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23733 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23735 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23736 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23738 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23740 * configure.in: Define the default includes to being none.
23741 * configure: Regenerated.
23743 2012-05-25 Roland McGrath <roland@hack.frob.com>
23745 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23746 * sysdeps/x86_64/setjmp.S: Likewise.
23747 * sysdeps/i386/bsd-setjmp.S: Likewise.
23748 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23749 * sysdeps/i386/setjmp.S: Likewise.
23750 * sysdeps/i386/__longjmp.S: Likewise.
23751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23752 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23754 * include/stap-probe.h: New file.
23755 * configure.in: Handle --enable-systemtap.
23756 * configure: Regenerated.
23757 * config.h.in (USE_STAP_PROBE): New #undef.
23758 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23759 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23760 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23762 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23766 to 2.4.0 where earlier.
23767 * sysdeps/unix/sysv/linux/configure: Regenerated.
23768 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23769 <kernel-features.h>.
23770 [__ASSUME_32BITUIDS]: Make code unconditional.
23771 [!__ASSUME_32BITUIDS]: Remove conditional code.
23772 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23773 <kernel-features.h>.
23774 [__ASSUME_32BITUIDS]: Make code unconditional.
23775 [!__ASSUME_32BITUIDS]: Remove conditional code.
23776 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23777 [__ASSUME_32BITUIDS]: Make code unconditional.
23778 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23779 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
23784 <kernel-features.h>.
23785 [__ASSUME_32BITUIDS]: Make code unconditional.
23786 [!__ASSUME_32BITUIDS]: Remove conditional code.
23787 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23788 <kernel-features.h>.
23789 [__ASSUME_32BITUIDS]: Make code unconditional.
23790 [!__ASSUME_32BITUIDS]: Remove conditional code.
23791 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23792 <kernel-features.h>.
23793 [__ASSUME_32BITUIDS]: Make code unconditional.
23794 [!__ASSUME_32BITUIDS]: Remove conditional code.
23795 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23796 <kernel-features.h>.
23797 [__ASSUME_32BITUIDS]: Make code unconditional.
23798 [!__ASSUME_32BITUIDS]: Remove conditional code.
23799 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23800 <kernel-features.h>.
23801 [__ASSUME_32BITUIDS]: Make code unconditional.
23802 [!__ASSUME_32BITUIDS]: Remove conditional code.
23803 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23804 <kernel-features.h>.
23805 [__ASSUME_32BITUIDS]: Make code unconditional.
23806 [!__ASSUME_32BITUIDS]: Remove conditional code.
23807 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23808 <kernel-features.h>.
23809 [__ASSUME_32BITUIDS]: Make code unconditional.
23810 [!__ASSUME_32BITUIDS]: Remove conditional code.
23811 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23812 <kernel-features.h>.
23813 [__ASSUME_32BITUIDS]: Make code unconditional.
23814 [!__ASSUME_32BITUIDS]: Remove conditional code.
23815 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23816 <kernel-features.h>.
23817 [__ASSUME_32BITUIDS]: Make code unconditional.
23818 [!__ASSUME_32BITUIDS]: Remove conditional code.
23819 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23820 <kernel-features.h>.
23821 [__NR_setresgid] (__setresgid): Do not declare.
23822 [__ASSUME_32BITUIDS]: Make code unconditional.
23823 [!__ASSUME_32BITUIDS]: Remove conditional code.
23824 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23825 <kernel-features.h>.
23826 [__NR_setresuid] (__setresuid): Do not declare.
23827 [__ASSUME_32BITUIDS]: Make code unconditional.
23828 [!__ASSUME_32BITUIDS]: Remove conditional code.
23829 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23830 <kernel-features.h>.
23831 [__ASSUME_32BITUIDS]: Make code unconditional.
23832 [!__ASSUME_32BITUIDS]: Remove conditional code.
23833 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23834 <kernel-features.h>.
23835 [__ASSUME_32BITUIDS]: Make code unconditional.
23836 [!__ASSUME_32BITUIDS]: Remove conditional code.
23837 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23838 <kernel-features.h>.
23839 [__ASSUME_32BITUIDS]: Make code unconditional.
23840 [!__ASSUME_32BITUIDS]: Remove conditional code.
23841 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23842 <kernel-features.h>.
23843 [__ASSUME_32BITUIDS]: Make code unconditional.
23844 [!__ASSUME_32BITUIDS]: Remove conditional code.
23845 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23846 <kernel-features.h>.
23847 [__ASSUME_32BITUIDS]: Make code unconditional.
23848 [!__ASSUME_32BITUIDS]: Remove conditional code.
23849 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23850 <kernel-features.h>.
23851 [__ASSUME_32BITUIDS]: Make code unconditional.
23852 [!__ASSUME_32BITUIDS]: Remove conditional code.
23853 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23854 <kernel-features.h>.
23855 [__ASSUME_32BITUIDS]: Make code unconditional.
23856 [!__ASSUME_32BITUIDS]: Remove conditional code.
23857 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23858 <kernel-features.h>.
23859 [__ASSUME_32BITUIDS]: Make code unconditional.
23860 [!__ASSUME_32BITUIDS]: Remove conditional code.
23861 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23862 <kernel-features.h>.
23863 [__ASSUME_32BITUIDS]: Make code unconditional.
23864 [!__ASSUME_32BITUIDS]: Remove conditional code.
23865 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23866 <kernel-features.h>.
23867 [__ASSUME_32BITUIDS]: Make code unconditional.
23868 [!__ASSUME_32BITUIDS]: Remove conditional code.
23869 * sysdeps/unix/sysv/linux/kernel-features.h
23870 (__ASSUME_SETRESUID_SYSCALL): Remove.
23871 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23872 (__ASSUME_32BITUIDS): Likewise.
23873 (__ASSUME_LDT_WORKS): Likewise.
23874 (__ASSUME_O_DIRECTORY): Likewise.
23875 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23876 architecture but not kernel version.
23877 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23878 (__ASSUME_MMAP2_SYSCALL): Likewise.
23879 (__ASSUME_STAT64_SYSCALL): Likewise.
23880 (__ASSUME_IPC64): Likewise.
23881 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23882 <kernel-features.h>.
23883 [__ASSUME_32BITUIDS]: Make code unconditional.
23884 [!__ASSUME_32BITUIDS]: Remove conditional code.
23885 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23886 <kernel-features.h>.
23887 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23888 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23889 132096]: Remove conditional code.
23890 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23891 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23892 <kernel-features.h>.
23893 [__ASSUME_32BITUIDS]: Make code unconditional.
23894 [!__ASSUME_32BITUIDS]: Remove conditional code.
23895 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23896 <kernel-features.h>.
23897 [__ASSUME_32BITUIDS]: Make code unconditional.
23898 [!__ASSUME_32BITUIDS]: Remove conditional code.
23899 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23900 <kernel-features.h>.
23901 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23903 (__setresgid): Do not declare.
23904 [__ASSUME_32BITUIDS]: Make code unconditional.
23905 [!__ASSUME_32BITUIDS]: Remove conditional code.
23906 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23907 <kernel-features.h>.
23908 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23910 (__setresuid): Do not declare.
23911 [__ASSUME_32BITUIDS]: Make code unconditional.
23912 [!__ASSUME_32BITUIDS]: Remove conditional code.
23913 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23914 <kernel-features.h>.
23915 [__ASSUME_32BITUIDS]: Make code unconditional.
23916 [!__ASSUME_32BITUIDS]: Remove conditional code.
23917 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23918 <kernel-features.h>.
23919 [__ASSUME_32BITUIDS]: Make code unconditional.
23920 [!__ASSUME_32BITUIDS]: Remove conditional code.
23922 2012-05-25 Richard Henderson <rth@twiddle.net>
23924 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23925 dl_hwcap to ifunc resolver.
23926 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23928 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23929 dl_hwcap to ifunc resolver.
23930 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23932 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23935 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23936 for |x| <= 2**-26, not 2**-57.
23937 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23940 2012-05-24 Jeff Law <law@redhat.com>
23942 * stdio-common/Makefile (tests): Add bug25.
23943 * stdio-common/bug25.c: New test.
23945 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23948 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23949 multiple of MALLOC_ALIGNMENT in size.
23950 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23952 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23954 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23956 (FILENAME_MAX): Use macro-int-constant.
23957 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23958 (_IOFBF): Use macro-int-constant.
23959 (_IOLBF): Likewise.
23960 (_IONBF): Likewise.
23961 (SEEK_CUR): Likewise.
23962 (SEEK_END): Likewise.
23963 (SEEK_SET): Likewise.
23964 (TMP_MAX): Likewise.
23965 (EOF): Use macro-int-constant. Require < 0.
23966 (NULL): Use macro-constant. Require == 0.
23967 (stdin): Require type to be FILE *.
23968 (stdout): Likewise.
23969 (stderr): Likewise.
23970 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23971 macro-int-constant.
23972 (EXIT_SUCCESS): Likewise.
23973 (NULL): Use macro-constant. Require == 0.
23974 (RAND_MAX): Use macro-int-constant.
23975 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23976 [C99-based standards] (strtof): Require function.
23977 [C99-based standards] (strtold): Likewise.
23978 [C99-based standards] (strtoll): Likewise.
23979 [C99-based standards] (strtoull): Likewise.
23980 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23981 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23982 [ISO || ISO99 || ISO11] (math.h): Likewise.
23983 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23984 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23987 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23990 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23991 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23992 * intl/dgettext.c (DCGETTEXT): Likewise.
23993 * intl/gettext.c (DCGETTEXT): Likewise.
23994 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23995 * posix/regex_internal.h (gettext): Likewise.
23996 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23997 Remove declaration.
23998 * include/argz.h (__argz_count_internal)
23999 (__argz_stringify_internal): Remove declaration.
24000 (__argz_count, __argz_stringify): Declare hidden proto.
24001 * intl/dcgettext.c: Remove use of INTDEF.
24002 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24003 * string/argz-stringify.c: Likewise.
24004 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24005 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24006 Declare hidden proto.
24007 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24008 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24009 Declare hidden proto.
24010 * include/stdio.h (__asprintf_internal): Don't declare.
24011 (__asprintf): Don't define as macro. Declare hidden proto.
24012 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24013 (__fsetlocking): Declare hidden proto.
24014 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24015 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24017 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24018 (_IO_setlinebuf): Remove use of INTUSE.
24019 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24020 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24021 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24022 Remove declaration.
24023 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24024 (_IO_do_flush): Remove use of INTUSE.
24025 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24026 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24027 (_IO_adjust_column, _IO_least_wmarker)
24028 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24029 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24030 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24031 (_IO_default_doallocate, _IO_wdefault_doallocate)
24032 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24033 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24034 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24035 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24036 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24037 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24038 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24039 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24040 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24041 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24042 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24043 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24044 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24046 (_IO_flush_all_internal, _IO_adjust_column_internal)
24047 (_IO_default_uflow_internal, _IO_default_finish_internal)
24048 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24049 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24050 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24051 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24052 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24053 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24054 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24055 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24056 (_IO_file_close_internal, _IO_file_close_it_internal)
24057 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24058 (_IO_file_init_internal, _IO_file_attach_internal)
24059 (_IO_file_fopen_internal, _IO_file_read_internal)
24060 (_IO_file_sync_internal, _IO_file_seek_internal)
24061 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24062 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24063 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24064 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24065 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24066 (_IO_list_all_internal, _IO_link_in_internal)
24067 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24068 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24069 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24070 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24071 (_IO_do_write_internal, _IO_padn_internal)
24072 (_IO_getline_info_internal, _IO_getline_internal)
24073 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24074 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24075 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24076 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24077 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24078 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24079 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24080 with libc_hidden_ver, remove use of INTUSE.
24081 * libio/genops.c: Likewise.
24082 * libio/freopen.c: Likewise.
24083 * libio/freopen64.c: Likewise.
24084 * libio/iofclose.c: Likewise.
24085 * libio/iofdopen.c: Likewise.
24086 * libio/iofflush.c: Likewise.
24087 * libio/iofflush_u.c: Likewise.
24088 * libio/iofgets.c: Likewise.
24089 * libio/iofgets_u.c: Likewise.
24090 * libio/iofopen.c: Likewise.
24091 * libio/iofopncook.c: Likewise.
24092 * libio/iofread.c: Likewise.
24093 * libio/iofread_u.c: Likewise.
24094 * libio/ioftell.c: Likewise.
24095 * libio/iofwrite.c: Likewise.
24096 * libio/iogetline.c: Likewise.
24097 * libio/iogets.c: Likewise.
24098 * libio/iogetwline.c: Likewise.
24099 * libio/iopadn.c: Likewise.
24100 * libio/iopopen.c: Likewise.
24101 * libio/ioseekoff.c: Likewise.
24102 * libio/ioseekpos.c: Likewise.
24103 * libio/iosetbuffer.c: Likewise.
24104 * libio/iosetvbuf.c: Likewise.
24105 * libio/ioungetc.c: Likewise.
24106 * libio/ioungetwc.c: Likewise.
24107 * libio/iovdprintf.c: Likewise.
24108 * libio/iovsprintf.c: Likewise.
24109 * libio/iovsscanf.c: Likewise.
24110 * libio/memstream.c: Likewise.
24111 * libio/obprintf.c: Likewise.
24112 * libio/oldfileops.c: Likewise.
24113 * libio/oldiofclose.c: Likewise.
24114 * libio/oldiofdopen.c: Likewise.
24115 * libio/oldiofopen.c: Likewise.
24116 * libio/oldiopopen.c: Likewise.
24117 * libio/oldstdfiles.c: Likewise.
24118 * libio/putc.c: Likewise.
24119 * libio/setbuf.c: Likewise.
24120 * libio/setlinebuf.c: Likewise.
24121 * libio/stdfiles.c: Likewise.
24122 * libio/strops.c: Likewise.
24123 * libio/vasprintf.c: Likewise.
24124 * libio/vscanf.c: Likewise.
24125 * libio/vsnprintf.c: Likewise.
24126 * libio/vswprintf.c: Likewise.
24127 * libio/wfiledoalloc.c: Likewise.
24128 * libio/wfileops.c: Likewise.
24129 * libio/wgenops.c: Likewise.
24130 * libio/wmemstream.c: Likewise.
24131 * libio/wstrops.c: Likewise.
24132 * libio/__fpurge.c: Likewise.
24133 * libio/__fsetlocking.c: Likewise.
24134 * assert/assert.c: Likewise.
24135 * debug/fgets_chk.c: Likewise.
24136 * debug/fgets_u_chk.c: Likewise.
24137 * debug/fread_chk.c: Likewise.
24138 * debug/fread_u_chk.c: Likewise.
24139 * debug/gets_chk.c: Likewise.
24140 * debug/obprintf_chk.c: Likewise.
24141 * debug/vasprintf_chk.c: Likewise.
24142 * debug/vdprintf_chk.c: Likewise.
24143 * debug/vsnprintf_chk.c: Likewise.
24144 * debug/vsprintf_chk.c: Likewise.
24145 * malloc/mtrace.c: Likewise.
24146 * misc/error.c: Likewise.
24147 * misc/syslog.c: Likewise.
24148 * stdio-common/asprintf.c: Likewise.
24149 * stdio-common/fxprintf.c: Likewise.
24150 * stdio-common/getw.c: Likewise.
24151 * stdio-common/isoc99_fscanf.c: Likewise.
24152 * stdio-common/isoc99_scanf.c: Likewise.
24153 * stdio-common/isoc99_vfscanf.c: Likewise.
24154 * stdio-common/isoc99_vscanf.c: Likewise.
24155 * stdio-common/isoc99_vsscanf.c: Likewise.
24156 * stdio-common/printf-prs.c: Likewise.
24157 * stdio-common/printf_fp.c: Likewise.
24158 * stdio-common/printf_fphex.c: Likewise.
24159 * stdio-common/printf_size.c: Likewise.
24160 * stdio-common/putw.c: Likewise.
24161 * stdio-common/scanf.c: Likewise.
24162 * stdio-common/sprintf.c: Likewise.
24163 * stdio-common/tmpfile.c: Likewise.
24164 * stdio-common/vfprintf.c: Likewise.
24165 * stdio-common/vfscanf.c: Likewise.
24166 * stdlib/strfmon_l.c: Likewise.
24167 * sunrpc/openchild.c: Likewise.
24168 * sunrpc/xdr_stdio.c: Likewise.
24169 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24170 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24172 2012-05-24 Roland McGrath <roland@hack.frob.com>
24174 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24176 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24177 in the third column, to generate for the shared library an IFUNC
24178 that uses _dl_vdso_vsym.
24179 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24180 * Makeconfig (object-suffixes-noshared): New variable.
24182 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24183 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24184 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24185 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24188 * include/sys/time.h (__gettimeofday): Remove macro.
24189 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24190 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24192 (__gettimeofday): Add libc_hidden_def.
24193 (gettimeofday): Add libc_hidden_weak.
24194 * sysdeps/mach/gettimeofday.c: Likewise.
24195 * sysdeps/posix/gettimeofday.c: Likewise.
24196 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24197 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24199 (__gettimeofday_internal): Remove strong_alias.
24200 (__gettimeofday): Add libc_hidden_def.
24201 (gettimeofday): Add libc_hidden_weak.
24202 * sysdeps/unix/syscalls.list (gettimeofday):
24203 Remove __gettimeofday_internal alias.
24205 2012-05-24 Daniel Jacobowitz <drow@false.org>
24206 H.J. Lu <hongjiu.lu@intel.com>
24209 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24210 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24211 (largebin_index_32_big): New.
24212 (largebin_index): Use it for 16-byte alignment.
24213 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24214 correction with front_misalign.
24216 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24244 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24245 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24247 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24251 * math/libm-test.inc (exp_test): Add test from bug 14036.
24252 (pow_test): Add test from bug 10846.
24254 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24256 (special_function): Do not include flags in test name.
24257 (parse_args): Likewise.
24258 * sysdeps/i386/fpu/libm-test-ulps: Update.
24259 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24260 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24261 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24264 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24266 * math/libm-test.inc ("Philosophy"): Update comment about
24268 (UNDERFLOW_EXCEPTION): New macro.
24269 (UNDERFLOW_EXCEPTION_OK): Likewise.
24270 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24271 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24272 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24273 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24274 (INVALID_EXCEPTION_OK): Update value.
24275 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24276 (OVERFLOW_EXCEPTION_OK): Likewise.
24277 (IGNORE_ZERO_INF_SIGN): Likewise.
24278 (test_exceptions): Handle underflow exceptions.
24279 (acos_test): Update for underflow exception expectations.
24280 (cexp_test): Likewise.
24281 (clog_test): Likewise.
24282 (clog10_test): Likewise.
24283 (csqrt_test): Likewise.
24284 (ctan_test): Likewise.
24285 (ctanh_test): Likewise.
24286 (exp_test): Likewise.
24287 (exp10_test): Likewise.
24288 (exp2_test): Likewise.
24289 (expm1_test): Likewise.
24290 (fma_test): Likewise.
24291 (j0_test): Likewise.
24292 (jn_test): Likewise.
24293 (nexttoward_test): Likewise.
24294 (pow_test): Likewise.
24295 (scalbn_test): Likewise.
24296 (scalbln_test): Likewise.
24297 (tan_test): Likewise.
24298 (y1_test): Likewise.
24299 * sysdeps/i386/fpu/libm-test-ulps: Update.
24300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24302 2012-05-23 David S. Miller <davem@davemloft.net>
24304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24305 (__libc_sigaction): Remove unused local variables.
24307 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24309 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24311 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24313 mktime: avoid signed integer overflow
24314 * time/mktime.c (__mktime_internal): Do not mishandle the case
24315 where diff == INT_MIN.
24317 mktime: simplify computation of average
24318 * time/mktime.c (ranged_convert): Use new time_t_avg function
24319 instead of rolling our own (probably-slower) code.
24321 mktime: do not assume signed right shift propagates sign bit
24322 * time/mktime.c (isdst_differ): New static function.
24323 (__mktime_internal): No need to normalize tm_isdst now.
24324 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24327 mktime: merge another wrapv change from gnulib
24328 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24329 from some compilers.
24331 mktime: remove incorrect attempt at unusual arithmetics
24332 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24333 The code didn't really work on such machines anyway.
24334 (TYPE_MINIMUM): Assume two's complement.
24335 (twos_complement_arithmetic): Verify that long_int and time_t
24336 are two's complement (or unsigned, in the latter case).
24338 mktime: check signed shifts on long_int and time_t, too
24339 * time/mktime.c (SHR): Check that shifts work as desired
24340 on the types long_int and time_t too, as SHR is used on
24343 mktime: do not assume 'long' is wide enough
24344 * time/mktime.c (verify): Move decl up.
24345 (long_int): New type.
24346 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24347 to remove assumption in the code that 'long' is wide enough to
24348 store year values. This assumption is not true on x32 and on
24349 some non-glibc platforms.
24351 mktime: merge wrapv change from gnulib
24352 * time/mktime.c (WRAPV): New macro.
24353 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24354 (guess_time_tm, __mktime_internal): Do not assume that signed
24355 integer overflow wraps around; modern compilers generate code
24356 where this assumption is no longer valid.
24358 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24360 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24361 Replace "jmp L(pseudo_end)" with "ret".
24362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24365 2012-05-23 Andreas Jaeger <aj@suse.de>
24367 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24368 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24370 2012-05-23 Andreas Jaeger <aj@suse.de>
24371 Maximilian Attems <max@stro.at>
24373 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24376 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24379 code so that pseudo_end is just ret and the stack pointer is
24380 correct also for static library in error case.
24382 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24384 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24385 move to syscalls.list.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24391 * manual/install.texi (Running make install): Do not mention Linux
24392 kernel version for which pt_chown is not needed.
24393 (Linux): Do not mention problems with nscd with 2.0 kernels.
24394 * INSTALL: Regenerated.
24396 2012-05-23 Andreas Jaeger <aj@suse.de>
24398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24399 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24401 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24403 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24405 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24409 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24411 * sysdeps/unix/sysv/linux/bits/in.h
24412 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24414 2012-05-22 Roland McGrath <roland@hack.frob.com>
24416 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24417 (PREPARE_VERSION): Just use assert instead, it will be elided
24418 under [NDEBUG] anyway.
24420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24422 * sysdeps/unix/sysv/linux/Makefile: Include
24423 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24424 (sysdep_routines): Remove sysctl.
24425 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24426 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24427 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24428 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24429 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24431 2012-05-22 Andreas Jaeger <aj@suse.de>
24433 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24434 that pseudo_end is just ret and the stack pointer is correct also
24435 for static library in error case.
24437 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24440 * nss/nsswitch.c (defconfig_entries): New variable.
24441 (__nss_database_lookup): Don't leak defconfig entries.
24442 (nss_parse_service_list): Don't leak on error paths.
24443 (free_database_entries): New function.
24444 (free_defconfig): New function.
24445 (free_mem): Move common code to free_database_entries.
24447 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24451 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24453 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24454 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24457 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24458 (INTERNAL_SYSCALL_TYPES): Likewise.
24459 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24460 (LOAD_REGS_TYPES_[1-6]): Likewise.
24461 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24462 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24464 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24467 copysignl for GLIBC_2_0.
24468 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24469 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24471 logbl for GLIBC_2_0.
24472 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24473 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24475 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24478 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24480 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24483 * time/mktime.c: Update copyright years.
24485 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24487 mktime: merge comment-quoting-style change from gnulib
24488 * time/mktime.c: Quote 'like this' in comments.
24489 The GNU coding standards suggest that we no longer quote `like this',
24490 as "`" and "'" are typically rendered asymmetrically nowadays.
24491 The typical gnulib style is to quote 'like this' when quoting
24492 code, and "like this" when quoting English.
24494 * time/mktime.c (compile-command): Add "-I.".
24496 mktime: merge mktime-internal.h change from gnulib
24497 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24499 mktime: merge time_r change from gnulib
24500 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24502 mktime: merge DEBUG change from gnulib
24503 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24504 case system <time.h> has a #define.
24506 mktime: merge <sys/types.h> change from gnulib
24507 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24508 since <time.t> is now guaranteed to define time_t.
24510 mktime: merge HAVE_CONFIG_H change from gnulib
24511 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24513 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24518 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24520 (struct rusage): Use anonymous union to pad each field to
24523 2012-05-21 David S. Miller <davem@davemloft.net>
24525 * Makefules (o-iterator): Remove .s cases.
24526 (compile-command.s): Delete.
24527 (COMPILE.s): Delete.
24528 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24530 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24532 * configure.in (libc_cv_predef_stack_protector): Only consider
24533 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24534 * configure: Regenerated.
24536 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24539 New macro. Use R*LP on int and pointer.
24540 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24541 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24542 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24543 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24545 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24546 [__WORDSIZE_TIME64_COMPAT32] instead of
24547 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24548 (struct utmp): Likewise.
24549 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24550 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24552 (__WORDSIZE_TIME64_COMPAT32): This.
24553 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24554 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24555 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24556 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24557 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24558 (__WORDSIZE_TIME64_COMPAT32): New macro.
24560 2012-05-21 Andreas Jaeger <aj@suse.de>
24562 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24563 only if [SHARED]. Add prototype for __wcschr_ia32.
24565 2012-05-21 Roland McGrath <roland@hack.frob.com>
24567 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24568 of %rbp unmolested in the jmp_buf while mangling the low bits.
24569 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24570 unmolested high bits of %rbp while demangling the low bits.
24571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24573 2012-05-21 Andreas Jaeger <aj@suse.de>
24575 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24576 * sunrpc/svc_simple.c: Use it for registerrpc.
24577 * sunrpc/xcrypt.c: Use it for passwd2des.
24579 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24581 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24583 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24584 Don't define if [__SYSCALL_WORDSIZE != 32].
24585 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24588 2012-05-21 Bruno Haible <bruno@clisp.org>
24589 Andreas Jaeger <aj@suse.de>
24591 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24592 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24593 inptr and inend for must_buffer_ch.
24594 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24595 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24596 * stdio-common/Makefile (tests): Remove bug15.
24597 (bug15-ENV): Remove macro.
24598 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24601 2012-05-19 Andreas Jaeger <aj@suse.de>
24602 Roland McGrath <roland@hack.frob.com>
24604 * manual/contrib.texi: Completely rewritten. It contains now an
24605 alphabetical list of contributors and their contributions.
24607 2012-05-21 Richard Henderson <rth@twiddle.net>
24609 * misc/getauxval.c (__getauxval): Use unsigned long int.
24610 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24611 (getauxval): Use unsigned long int.
24613 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24615 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24617 2012-05-21 Roland McGrath <roland@hack.frob.com>
24619 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24620 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24621 __alignof__ (long double).
24623 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24627 2012-05-20 Richard Henderson <rth@twiddle.net>
24629 * misc/getauxval.c: New file.
24630 * misc/sys/auxv.h: New file.
24631 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24632 (routines): Add getauxval.
24633 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24634 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24635 * elf/dl-sysdep.c (_dl_auxv): Remove.
24636 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24637 * elf/dl-support.c (_dl_auxv): New variable.
24638 (_dl_aux_init): Initialize it.
24639 * manual/startup.texi (Auxiliary Vector): New node.
24640 * sysdeps/generic/bits/hwcap.h: New file.
24641 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24642 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24643 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24644 * sysdeps/sparc/sysdep.h: ... here. Include it.
24645 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24658 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24662 2012-05-19 David S. Miller <davem@davemloft.net>
24664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24666 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24669 * math/s_ccosh.c: Include <float.h>
24670 (__ccosh): Avoid internal overflow calculating sinh and cosh
24671 values before multiplying by sin and cos values.
24672 * math/s_ccoshf.c: Likewise.
24673 * math/s_ccoshl.c: Likewise.
24674 * math/s_csin.c: Likewise.
24675 * math/s_csinf.c: Likewise.
24676 * math/s_csinl.c: Likewise.
24677 * math/s_csinh.c: Likewise.
24678 * math/s_csinhf.c: Likewise.
24679 * math/s_csinhl.c: Likewise.
24680 * math/libm-test.inc (ccos_test): Add more tests.
24681 (ccosh_test): Likewise.
24682 (csin_test): Likewise.
24683 (csinh_test): Likewise.
24684 * sysdeps/i386/fpu/libm-test-ulps: Update.
24685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24687 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24689 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24690 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24692 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24694 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24696 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24697 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24698 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24699 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24700 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24701 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24702 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24703 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24704 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24705 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24706 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24707 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24708 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24709 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24710 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24711 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24712 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24713 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24714 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24715 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24716 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24717 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24718 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24719 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24720 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24721 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24722 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24723 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24724 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24725 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24726 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24728 2012-05-18 Andreas Jaeger <aj@suse.de>
24730 * csu/.gitignore: Delete.
24732 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24734 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24735 (timex): Use __syscall_slong_t.
24737 2012-05-18 Andreas Jaeger <aj@suse.de>
24738 Carlos O'Donell <carlos_odonell@mentor.com>
24740 * manual/install.texi (Configuring and compiling): Update
24741 description about files modified in the source directory.
24742 * INSTALL: Regenerated.
24744 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24746 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24747 value. Use "or" to set return value to -1.
24748 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24749 negate return value.
24751 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24753 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24754 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24755 failure if the compiler has Graphite support disabled.
24756 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24758 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24759 CFLAGS-memmove.c): Likewise.
24760 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24763 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24765 * sysdeps/x86_64/x32/_itoa.h: New file.
24767 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24768 getdents system call only if kernel and user dirents have the
24769 same d_ino and d_off.
24771 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24772 LLONG_MAX != LONG_MAX.
24773 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24774 (_fitoa_word): Likewise.
24776 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24778 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24779 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24780 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24782 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24783 include <bits/wordsize.h>. Check __x86_64__ instead of
24785 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24786 if __x86_64__ is defined. Use anonymous union on fpstate.
24788 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24791 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24793 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24794 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24795 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24796 Refer to _rtld_local_ro instead of _rtld_global_ro.
24797 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24799 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24801 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24803 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24804 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24805 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24807 * sysdeps/powerpc/powerpc32/dl-machine.c
24808 (__elf_machine_runtime_setup) [PROF]: Don't reference
24811 2012-05-18 Andreas Jaeger <aj@suse.de>
24813 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24814 function only available for GCCs before 3.4 since GCC 3.4
24815 introduced a builtin.
24817 (llrintf): Likewise.
24818 (llrint): Likewise.
24825 (nearbyint): Likewise.
24826 (nearbyintf): Likewise.
24830 (floorf): Likewise.
24832 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24834 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24835 on both fields and cast pointer to __syscall_ulong_t.
24837 * bits/types.h (__fsword_t): New type.
24838 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24839 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24841 (__FSWORD_T_TYPE): Likewise.
24842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24843 (__FSWORD_T_TYPE): Likewise.
24844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24845 (__FSWORD_T_TYPE): Likewise.
24846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24847 (__FSWORD_T_TYPE): Likewise.
24848 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24849 __SWORD_TYPE with __fsword_t.
24850 (statfs64): Likewise.
24852 2012-05-17 David S. Miller <davem@davemloft.net>
24854 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24856 2012-05-17 Andreas Jaeger <aj@suse.de>
24858 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24861 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24863 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24865 2012-05-17 Andreas Jaeger <aj@suse.de>
24867 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24870 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24872 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24874 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24876 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24877 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24879 2012-05-17 Andreas Jaeger <aj@suse.de>
24880 Carlos O'Donell <carlos_odonell@mentor.com>
24883 * sysdeps/x86_64/multiarch/init-arch.h
24884 (bit_YMM_Usable): Rename to...
24885 (bit_AVX_Usable): ... this.
24886 (bit_FMA4_Usable): New macro.
24887 (bit_XMM_state): New macro.
24888 (bit_YMM_state): New macro.
24889 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24890 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24891 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24892 (CPUID_OSXSAVE): New macro.
24893 (CPUID_AVX): New macro.
24894 (CPUID_FMA4): New macro.
24895 (index_YMM_Usable): Rename to...
24896 (index_AVX_Usable): ... this.
24897 (HAS_AVX): Use HAS_ARCH_FEATURE.
24898 (HAS_FMA4): Likewise.
24899 (HAS_YMM_USABLE): Remove.
24900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24901 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24903 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24904 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24905 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24906 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24907 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24909 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24911 * math/libm-test.c: Support platforms without multiple rounding modes.
24912 * math/bug-nextafter.c: Support platforms without FP exceptions.
24913 * math/bug-nexttoward.c: Likewise.
24914 * math/test-fenv.c: Likewise.
24915 * math/test-misc.c: Likewise.
24916 * stdlib/bug-getcontext.c: Likewise.
24918 2012-05-17 Andreas Jaeger <aj@suse.de>
24920 * manual/examples/search.c (critter_cmp): Change signature to
24922 * manual/string.texi (Collation Functions): Likewise.
24924 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24926 * bits/types.h: Fold copyright years.
24927 * bits/typesizes.h: Likewise.
24928 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24932 * time/time.h: Likewise.
24934 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24937 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24938 in instead of returning them. Return void.
24939 (__libc_mallinfo): Accumulate over all arenas.
24940 (__malloc_stats): Adjust for change in int_mallinfo interface.
24942 2012-05-16 Roland McGrath <roland@hack.frob.com>
24945 * configure.in (NM): Add AC_CHECK_TOOL for it.
24946 (libc_extra_cflags): New substituted variable.
24947 Check for -fstack-protector being used implicitly.
24948 * configure: Regenerated.
24949 * config.make.in (config-extra-cflags): New variable,
24950 gets @libc_extra_cflags@.
24951 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24954 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24955 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24956 * configure: Regenerated.
24957 * config.make.in (CPPUNDEFS): New substituted variable.
24958 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24959 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24960 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24962 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24964 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24965 (mq_attr): Use __syscall_slong_t.
24967 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24969 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24970 Check __x86_64__ instead of __WORDSIZE.
24971 (_STAT_VER_LINUX): Likewise.
24972 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24973 __syscall_ulong_t and __syscall_slong_t.
24974 (stat64): Likewise.
24976 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24978 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24980 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24982 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24984 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24986 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24989 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24990 include <bits/wordsize.h>. Check __x86_64__ instead of
24992 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24994 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24997 include <bits/wordsize.h>. Check __x86_64__ instead of
24999 (user_regs_struct): Use "__extension__ unsigned long long"
25000 instead of "unsigned long" if __x86_64__ is defined.
25001 (user): Likewise. Pad after pointer field if __ILP32__ is
25004 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25006 * configure.in (makeinfo): Require version 4.5 or later. Allow
25008 * configure: Regenerated.
25009 * manual/install.texi (texinfo): Increase version requirement to
25011 * INSTALL: Regenerated.
25013 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25015 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25017 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25019 * sysdeps/x86_64/x32/ffs.c: New file.
25021 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25023 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25024 defined. Use __syscall_ulong_t.
25025 (shminfo): Use __syscall_ulong_t.
25026 (shm_info): Likewise.
25028 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25031 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25033 (msgqnum_t): Use __syscall_ulong_t.
25034 (msglen_t): Likewise.
25035 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25038 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25039 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25041 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25043 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25044 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25046 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25049 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25050 include <bits/wordsize.h>. Check __x86_64__ instead of
25053 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25054 "unsigned long long int" if __x86_64__ is defined.
25055 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25057 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25058 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25059 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25061 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25063 (GET_PC): Cast to uintptr_t first.
25064 (GET_FRAME): Likewise.
25065 (GET_STACK): Likewise.
25067 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25068 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25069 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25070 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25071 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25073 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25074 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25075 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25077 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25078 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25080 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25083 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25088 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25089 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25090 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25091 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25092 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25093 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25094 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25095 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25097 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25099 * Makerules (+depfiles): Also collect depfiles from .oS in
25101 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25102 .oS, $(libnldbl-routines)).
25104 * Makerules (native-compile-mkdep-flags): Define.
25105 * sunrpc/Makefile (extra-objs): Add $(addprefix
25106 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25107 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25108 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25109 calling $(make-target-directory).
25111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25113 * bits/types.h (__snseconds_t): Removed.
25114 * time/time.h (struct timespec): Replace __snseconds_t with
25116 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25117 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25120 (__SNSECONDS_T_TYPE): Likewise.
25121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25122 (__SNSECONDS_T_TYPE): Likewise.
25123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25124 (__SNSECONDS_T_TYPE): Likewise.
25126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25128 * sysdeps/mach/hurd/bits/typesizes.h
25129 (__SYSCALL_SLONG_TYPE): New macro.
25130 (__SYSCALL_ULONG_TYPE): Likewise.
25132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25134 * bits/types.h (__syscall_slong_t): New type.
25135 (__syscall_ulong_t): Likewise.
25137 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25138 (__SYSCALL_ULONG_TYPE): Likewise.
25139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25140 (__SYSCALL_SLONG_TYPE): Likewise.
25141 (__SYSCALL_ULONG_TYPE): Likewise.
25142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25143 (__SYSCALL_SLONG_TYPE): Likewise.
25144 (__SYSCALL_ULONG_TYPE): Likewise.
25145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25146 (__SYSCALL_SLONG_TYPE): Likewise.
25147 (__SYSCALL_ULONG_TYPE): Likewise.
25149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25151 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25152 Add sigaltstack-offsets.sym.
25153 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25154 <sigaltstack-offsets.h>.
25155 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25156 longjmp_msg pointer.
25157 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25158 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25160 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25162 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25164 * elf/stackguard-macros.h: Remove file.
25165 * sysdeps/generic/stackguard-macros.h: New file.
25166 * sysdeps/i386/stackguard-macros.h: Likewise.
25167 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25168 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25169 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25170 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25171 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25172 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25173 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25174 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25175 <elf/stackguard-macros.h>.
25178 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25179 __aligned__ in attribute.
25180 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25181 (gregset_t): Likewise.
25183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25185 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25186 * sysdeps/x86_64/64/Implies-after: Here. New file.
25187 * sysdeps/x86_64/x32/Implies-after: New file.
25189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25191 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25192 and access return value for _dl_profile_fixup. Use R10_LP to
25195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25197 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25201 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25202 * sysdeps/x86_64/x32/sysdep.h: New file.
25204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25206 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25207 * sysdeps/x86_64/setjmp.S: Likewise.
25209 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25212 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25213 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25214 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25215 remove unused global constant.
25217 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25219 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25220 include of <not-cancel.h>.
25222 2012-05-15 Roland McGrath <roland@hack.frob.com>
25224 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25226 2012-05-15 Jeff Law <law@redhat.com>
25227 Andreas Jaeger <aj@suse.de>
25230 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25232 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25233 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25234 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25235 code changing __hst_map_handle.map.
25237 2012-05-15 Roland McGrath <roland@hack.frob.com>
25239 * configure.in (sysnames): Look for Implies-before and Implies-after
25241 * configure: Regenerated.
25243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25245 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25246 8-byte data alignment with LP_SIZE alignment.
25248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25250 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25255 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25260 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25261 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25263 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25267 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25268 (stackinfo_sub_sp): Likewise.
25270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25280 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25282 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25287 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25291 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25292 into R11_LP and load __x86_64_shared_cache_size_half into
25295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25297 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25300 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25308 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25309 powerpc32/power7/fpu/s_logb.c via #include.
25310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25311 powerpc32/power7/fpu/s_logbf.c via #include.
25312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25313 powerpc32/power7/fpu/s_logbl.c via #include.
25315 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25317 * README.libm: Remove file.
25319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25321 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25322 count for x32. Use R*_LP and omit operand-size suffix.
25324 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25326 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25327 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25328 * sysdeps/x86_64/x32/shlib-versions: New file.
25330 2012-05-14 Roland McGrath <roland@hack.frob.com>
25332 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25333 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25334 Use _dl_fatal_printf instead.
25336 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25338 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25339 set if not set by the user. Do not allow for being unset.
25340 * sysdeps/unix/sysv/linux/configure: Regenerated.
25342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25344 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25345 the `q' suffix from lea and replace .quad with ASM_ADDR.
25347 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25350 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25352 (PTR_DEMANGLE): Likewise.
25354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25356 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25358 (ASM_ADDR): Likewise.
25359 (RAX_LP): Likewise.
25360 (RBP_LP): Likewise.
25361 (RBX_LP): Likewise.
25362 (RCX_LP): Likewise.
25363 (RDI_LP): Likewise.
25364 (RSI_LP): Likewise.
25365 (RSP_LP): Likewise.
25368 (R10_LP): Likewise.
25369 (R10_LP): Likewise.
25370 (R11_LP): Likewise.
25371 (R12_LP): Likewise.
25372 (R13_LP): Likewise.
25373 (R14_LP): Likewise.
25374 (R15_LP): Likewise.
25376 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25378 * sysdeps/x86_64/x32/dl-machine.h: New file.
25380 2012-05-14 Andreas Jaeger <aj@suse.de>
25382 * manual/Makefile (subdir): Remove export of subdir.
25383 (all): Remove target.
25384 (.PHONY): Remove all from list.
25385 (mkinstalldirs): Remove.
25386 (.PHONY): Remove installdirs from list.
25387 ($(inst_infodir)/libc.info): Use make-target-directory.
25388 (installdirs): Remove.
25389 (subdir_%): Remove.
25390 (glibc-targets): Remove.
25393 ($(objpfx)stubs ../po/manual.pot): Remove.
25394 ($(objpfx)stamp%): Remove.
25395 (make-target-directory): Remove.
25396 (subdir_install): Remove.
25397 (routines): Remove.
25404 * manual/.gitignore: Remove, it's not needed anymore.
25405 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25407 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25409 (texis): Renamed to $(objpfx)texis.
25410 (texis-path): New, contains path to generated files.
25411 (chapters.%): Use texis-path for complete path, add extra argument
25413 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25414 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25415 (summary,texi, stamp-summary): Use complete path of
25416 files. Generate files in build dir.
25417 (dir-add.texi): Build in build dir.
25418 (libm-err.texi,stamp-libm-err): Likewise.
25419 (version.texi, stamp-version): Likewise.
25420 (.%c.texi): Likewise.
25421 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25422 (mostlyclean): Remove target.
25423 (realclean): Remove target.
25424 (generated): Add new variable with contents from mostlyclean and
25425 realclean, remove entries duplicated in common-mostlyclean, add
25426 stamp-libm-err and stamp-version.
25427 (generated-dirs): Add libc directory.
25428 ($(inst_infodir)/libc.info): Install files from build dir.
25430 * manual/install.texi (Configuring and compiling): Adjust since
25431 the info files are not part of the tar ball anymore.
25433 2012-05-14 Andreas Jaeger <aj@suse.de>
25435 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25438 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25441 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25442 to 2.2.0 where earlier.
25443 * sysdeps/unix/sysv/linux/configure: Regenerated.
25444 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25445 Remove conditional code.
25446 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25447 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25448 Remove conditional code.
25449 [!__NR_lchown]: Likewise.
25450 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25451 [__NR_lchown]: Likewise.
25452 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25453 comment referencing __ASSUME_LCHOWN_SYSCALL.
25454 * sysdeps/unix/sysv/linux/i386/sigaction.c
25455 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25456 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25457 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25458 Remove conditional code.
25459 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25460 (__protocol_available): Remove #if 0 code.
25461 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25463 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25464 * sysdeps/unix/sysv/linux/kernel-features.h
25465 (__ASSUME_GETCWD_SYSCALL): Don't define.
25466 (__ASSUME_REALTIME_SIGNALS): Likewise.
25467 (__ASSUME_PREAD_SYSCALL): Likewise.
25468 (__ASSUME_PWRITE_SYSCALL): Likewise.
25469 (__ASSUME_POLL_SYSCALL): Likewise.
25470 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25471 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25473 (__ASSUME_SIOCGIFNAME): Don't define.
25474 (__ASSUME_MSG_NOSIGNAL): Likewise.
25475 (__ASSUME_SENDFILE): Define unconditionally.
25476 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25477 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25479 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25480 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25481 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25482 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25483 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25484 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25485 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25502 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25510 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25511 Remove conditional code.
25512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25513 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25514 Remove conditional code.
25515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25516 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25517 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25518 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25519 Remove conditional code.
25520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25521 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25522 Remove conditional code.
25523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25524 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25525 Remove conditional code.
25526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25527 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25528 Remove conditional code.
25529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25530 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25531 Remove conditional code.
25532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25533 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25534 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25536 * sysdeps/unix/sysv/linux/sigaction.c
25537 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25538 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25539 * sysdeps/unix/sysv/linux/sigpending.c
25540 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25541 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25542 * sysdeps/unix/sysv/linux/sigprocmask.c
25543 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25544 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25545 * sysdeps/unix/sysv/linux/sigsuspend.c
25546 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25547 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25548 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25549 (__libc_missing_rt_sigs): Remove.
25550 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25551 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25552 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25553 Remove conditional code.
25554 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25555 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25557 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25558 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25559 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25560 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25562 2012-05-14 Andreas Jaeger <aj@suse.de>
25564 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25565 it's not used in glibc.
25566 (__coshm1): Likewise.
25567 (__acosh1p): Likewise.
25570 * manual/string.texi (Copying and Concatenation): Add missing
25571 variable in concat example.
25572 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25574 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25578 __builtin_clzl with __builtin_clzll.
25580 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25583 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25586 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25588 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25589 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25590 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25591 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25593 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25595 * NEWS: Update ia64 info.
25597 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25599 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25602 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25604 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25605 * sysdeps/unix/syscalls.list (dup3): Likewise.
25606 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25607 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25609 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25611 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25612 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25614 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25616 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25618 (TLS_IE): Use mov/add instead of movq/addq to load thread
25620 (TLS_GD_PREFIX): New.
25623 2012-05-11 David S. Miller <davem@davemloft.net>
25625 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25626 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25627 (_FPU_SETCW): Likewise.
25629 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25631 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25632 is 32-byte aligned.
25634 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25637 * iconvdata/gb18030.c: Update tables.
25638 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25639 characters specially.
25640 (BODY for TO_LOOP): Add encoding of missing ranges.
25642 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25645 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25646 * sysdeps/mach/hurd/dup3.c: Likewise.
25647 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25648 * sysdeps/powerpc/memmove.c:: Likewise.
25650 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25653 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25655 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25657 * elf/elf.h (R_X86_64_RELATIVE64): New.
25658 (R_X86_64_NUM): Updated.
25659 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25660 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25661 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25662 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25663 tst-quad1pie tst-quad2pie
25664 (modules-names): Add tst-quadmod1 tst-quadmod2.
25665 ($(objpfx)tst-quad1): New dependency.
25666 ($(objpfx)tst-quad2): Likewise.
25667 ($(objpfx)tst-quad1pie): Likewise.
25668 ($(objpfx)tst-quad2pie): Likewise.
25669 * sysdeps/x86_64/tst-quad1.c: New file.
25670 * sysdeps/x86_64/tst-quad1pie.c: New file.
25671 * sysdeps/x86_64/tst-quad2.c: Likewise.
25672 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25673 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25674 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25675 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25676 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25680 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25681 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25682 * streams/stropts.h (t_scalar_t): Define type.
25684 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25685 (_PATH_PRESERVE): Set to "/var/lib".
25686 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25688 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25691 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25692 if __dir_mkfile succeeded.
25694 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25695 checking for _hurd_dtablesize. Unlock it right after having
25696 finished _hurd_dtable allocation.
25698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25700 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25701 * sysdeps/mach/hurd/configure: Regenerated.
25702 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25703 special-casing to...
25704 * sysdeps/gnu/configure.in: ... this new file.
25705 * sysdeps/unix/sysv/linux/configure: Regenerated.
25706 * sysdeps/gnu/configure: New generated file.
25708 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25709 for Linux: use nsec instead of usec, as well as:
25710 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25711 members of type struct timespec.
25712 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25714 (struct stat64): Likewise.
25715 (_STATBUF_ST_NSEC): New macro.
25716 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25718 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25719 __strtoul_internal rather than strtoul.
25721 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25723 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25728 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25729 which preserves existing values.
25730 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25732 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25734 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25735 TIMEOUT values. Return EINVAL for NFDS values either negative or
25736 greater than FD_SETSIZE.
25738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25740 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25741 allocated, call __vm_protect to finish enabling the existing space, and
25742 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25743 allocate the remainder.
25745 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25747 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25748 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25752 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25753 sysdeps/mach/hurd/readlink.c.
25755 * posix/tst-sysconf.c (posix_options): Only use
25756 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25757 _POSIX_SYNCHRONIZED_IO when they are defined
25758 * sysdeps/mach/hurd/bits/posix_opt.h:
25759 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25760 (_XOPEN_REALTIME): Undefine macro.
25761 (_XOPEN_REALTIME_THREADS): Undefine macro.
25762 (_XOPEN_SHM): Undefine macro.
25763 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25765 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25767 (_POSIX_ASYNC_IO): Undefine macro.
25768 (_POSIX_PRIORITIZED_IO): Undefine macro.
25769 (_POSIX_SPIN_LOCKS): Define macro to -1.
25771 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25772 SA_NODEFER, SA_RESETHAND.
25773 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25774 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25777 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25779 * elf/Makefile (pldd-modules): Define unconditionally.
25781 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25783 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25787 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25788 Return ENOENT when name is empty.
25789 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25793 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25795 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25799 Fix mlock in all cases except non-readable pages.
25800 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25801 instead of VM_PROT_ALL as parameter to __vm_wire function.
25803 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25804 (__mkdir): When path is `/', just fail with EEXIST.
25805 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25809 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25810 <sys/uio.h> (for writev).
25811 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25812 and <sys/param.h> (for MIN).
25814 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25816 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25817 REQUESTED_TIME. Properly set the remaining time and return EINTR
25820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25822 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25823 Depend on against $(link-rpcuserlibs).
25825 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25827 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25828 (__libc_stack_end): Do not use attribute_relro.
25829 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25830 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25831 to libthread-provided value.
25832 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25838 * bits/libc-lock.h (__libc_once_get): New macro.
25839 * sysdeps/mach/bits/libc-lock.h: Likewise.
25840 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25841 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25842 instead of using implementation details.
25844 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25845 * libio/freopen.c: Likewise.
25846 * libio/freopen64.c: Likewise.
25847 * misc/syslog.c: Likewise.
25848 * nscd/connections.c: Likewise.
25849 * nscd/netgroupcache.c: Likewise.
25850 * sysdeps/posix/getcwd.c: Likewise.
25852 2012-05-10 Roland McGrath <roland@hack.frob.com>
25854 * math/w_ilogbf.c: Add #include <limits.h>.
25856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25858 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25859 path instead of returning without unlocking.
25861 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25862 immediate-write ioctls.
25863 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25865 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25867 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25868 __builtin_frame_address instead of making assumptions about the
25869 location of the return address relative to DATA. Force early load of
25870 the return address.
25871 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25872 __builtin_frame_address.
25875 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25876 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25877 implement dup3 and do some further code clean-ups.
25878 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25879 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25883 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25885 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25886 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25887 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25888 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25889 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25892 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25893 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25894 when handler == SIG_ERR, not when handler != SIG_ERR.
25896 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25898 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25899 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25902 accept4 for GNU Hurd.
25903 * include/sys/socket.h (__libc_accept4): New prototype.
25904 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25905 to implement __libc_accept4.
25906 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25908 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25910 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25911 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25912 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25913 signal-defines.sym.
25915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25917 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25919 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25921 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25922 assertion on O_CLOEXEC flag.
25923 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25924 * hurd/intern-fd.c: Likewise.
25925 * hurd/port2fd.c: Likewise.
25927 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25930 * bits/in.h (IPV6_PKTINFO): Define new macro.
25931 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25933 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25938 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25940 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25941 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25944 * math/libm-test.inc (logb_test) : Additional logb tests.
25946 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25947 Andreas Jaeger <aj@suse.de>
25949 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25950 * configure: Regenerated.
25951 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25952 * config.make.in (link-obsolete-rpc): New substituted variable.
25953 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25954 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25955 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25956 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25957 so that libc.a contains the symbols.
25958 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25959 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25960 * sunrpc/auth_none.c: Likewise.
25961 * sunrpc/auth_unix.c: Likewise.
25962 * sunrpc/authdes_prot.c: Likewise.
25963 * sunrpc/authuxprot.c: Likewise.
25964 * sunrpc/clnt_gen.c: Likewise.
25965 * sunrpc/clnt_perr.c: Likewise.
25966 * sunrpc/clnt_raw.c: Likewise.
25967 * sunrpc/clnt_simp.c: Likewise.
25968 * sunrpc/clnt_tcp.c: Likewise.
25969 * sunrpc/clnt_udp.c: Likewise.
25970 * sunrpc/clnt_unix.c: Likewise.
25971 * sunrpc/des_crypt.c: Likewise.
25972 * sunrpc/des_soft.c: Likewise.
25973 * sunrpc/get_myaddr.c: Likewise.
25974 * sunrpc/key_call.c: Likewise.
25975 * sunrpc/key_prot.c: Likewise.
25976 * sunrpc/netname.c: Likewise.
25977 * sunrpc/pm_getmaps.c: Likewise.
25978 * sunrpc/pm_getport.c: Likewise.
25979 * sunrpc/pmap_clnt.c: Likewise.
25980 * sunrpc/pmap_prot.c: Likewise.
25981 * sunrpc/pmap_prot2.c: Likewise.
25982 * sunrpc/pmap_rmt.c: Likewise.
25983 * sunrpc/publickey.c: Likewise.
25984 * sunrpc/rpc_cmsg.c: Likewise.
25985 * sunrpc/rpc_common.c: Likewise.
25986 * sunrpc/rpc_dtable.c: Likewise.
25987 * sunrpc/rpc_prot.c: Likewise.
25988 * sunrpc/rpc_thread.c: Likewise.
25989 * sunrpc/rtime.c: Likewise.
25990 * sunrpc/svc.c: Likewise.
25991 * sunrpc/svc_auth.c: Likewise.
25992 * sunrpc/svc_raw.c: Likewise.
25993 * sunrpc/svc_run.c: Likewise.
25994 * sunrpc/svc_tcp.c: Likewise.
25995 * sunrpc/svc_udp.c: Likewise.
25996 * sunrpc/svc_unix.c: Likewise.
25997 * sunrpc/svcauth_des.c: Likewise.
25998 * sunrpc/xcrypt.c: Likewise.
25999 * sunrpc/xdr.c: Likewise.
26000 * sunrpc/xdr_array.c: Likewise.
26001 * sunrpc/xdr_float.c: Likewise.
26002 * sunrpc/xdr_intXX_t.c: Likewise.
26003 * sunrpc/xdr_mem.c: Likewise.
26004 * sunrpc/xdr_rec.c: Likewise.
26005 * sunrpc/xdr_ref.c: Likewise.
26006 * sunrpc/xdr_sizeof.c: Likewise.
26007 * sunrpc/xdr_stdio.c: Likewise.
26009 2012-05-10 Roland McGrath <roland@hack.frob.com>
26011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26012 change. Update copyright years.
26014 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26016 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26018 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26019 Joseph Myers <joseph@codesourcery.com>
26020 Paul Pluzhnikov <ppluzhnikov@google.com>
26023 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26025 [cross-compiling] (extra-libs): Likewise.
26026 [cross-compiling] (extra-libs-others): Likewise.
26027 [cross-compiling] (librpcsvc-routines): Likewise.
26028 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26029 [cross-compiling] (omit-deps): Likewise.
26030 (sunrpc-CPPFLAGS): New variable.
26031 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26032 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26033 (cross-rpcgen-objs): New variable.
26034 (extra-objs): Append $(cross-rpcgen-objs).
26035 ($(cross-rpcgen-objs)): New rule.
26036 ($(objpfx)cross-rpcgen): Likewise.
26037 (rpcgen-cmd): Define to use $(built-program-file). Expand
26039 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26040 ($(objpfx)x%.stmp): Likewise.
26041 * sunrpc/proto.h [IS_IN_build] (_): Define.
26042 [IS_IN_build] (_libc_intl_domainname): Likewise.
26044 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26047 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26048 and R_X86_64_TPOFF64.
26050 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26052 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26053 sysdeps/unix/sysv/syscalls.list.
26056 * sysdeps/unix/sysv/syscalls.list: Remove file.
26058 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26061 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26062 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26063 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26064 (__LC_IDENTIFICATION): Make these macros useful in #if
26065 expressions, as required by C99.
26067 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26069 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26070 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26073 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26075 * stdlib/longlong.h: Updated from GCC.
26077 2012-05-09 Andreas Jaeger <aj@suse.de>
26079 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26080 default is first entry.
26081 (run_mode): Set type.
26082 (main): Remove informal message about syslog.
26083 (options): Fix typo.
26086 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26089 (llrintf): Likewise.
26090 (llrint): Likewise.
26093 (nearbyint): Likewise.
26094 (nearbyintf): Likewise.
26096 2012-05-09 Andreas Jaeger <aj@suse.de>
26097 Pedro Alves <palves@redhat.com>
26099 * nscd/nscd.c (run_mode): Use enum.
26100 (main): Cleanup coding style issue.
26102 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26103 Andreas Jaeger <aj@suse.de>
26105 * nscd/nscd.c (go_background): Replaced with...
26106 (run_mode): ... this.
26107 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26108 (options): Add -F --foreground.
26109 (main): Implement it.
26110 (parse_opt): Parse it.
26112 2012-05-09 Andreas Jaeger <aj@suse.de>
26115 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26116 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26117 -Wconversion warning.
26118 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26121 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26123 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26125 (LC_ALL): Use macro-int-constant.
26126 (LC_COLLATE): Likewise.
26127 (LC_CTYPE): Likewise.
26128 (LC_MESSAGES): Likewise.
26129 (LC_MONETARY): Likewise.
26130 (LC_NUMERIC): Likewise.
26131 (LC_TIME): Likewise.
26132 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26133 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26135 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26137 [C99-based standards] (float_t): Expect type.
26138 [C99-based standards] (double_t): Expect type.
26139 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26141 [C99-based standards] (HUGE_VALL): Likewise.
26142 [C99-based standards] (INFINITY): Likewise.
26143 [C99-based standards] (NAN): Likewise.
26144 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26145 [C99-based standards] (FP_NAN): Likewise.
26146 [C99-based standards] (FP_NORMAL): Likewise.
26147 [C99-based standards] (FP_SUBNORMAL): Likewise.
26148 [C99-based standards] (FP_ZERO): Likewise.
26149 [C99-based standards] (FP_FAST_FMA): Use
26150 optional-macro-int-constant. Specify type. Require == 1.
26151 [C99-based standards] (FP_FAST_FMAF): Likewise.
26152 [C99-based standards] (FP_FAST_FMAL): Likewise.
26153 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26154 [C99-based standards] (FP_ILOGBNAN): Likewise.
26155 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26157 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26158 [C99-based standards] (math_errhandling): Specify type.
26159 [ISO99 || ISO11] (signgam): Do not allow.
26160 [non-C99-based standards] (copysignf): Do not allow.
26161 [non-C99-based standards] (exp2f): Likewise.
26162 [non-C99-based standards] (log2f): Likewise.
26163 [non-C99-based standards] (modff): Allow.
26164 [non-C99-based standards] (erff): Do not allow.
26165 [non-C99-based standards] (erfcf): Likewise.
26166 [non-C99-based standards] (gammaf): Likewise.
26167 [non-C99-based standards] (hypotf): Likewise.
26168 [non-C99-based standards] (j0f): Likewise.
26169 [non-C99-based standards] (j1f): Likewise.
26170 [non-C99-based standards] (jnf): Likewise.
26171 [non-C99-based standards] (lgammaf): Likewise.
26172 [non-C99-based standards] (tgammaf): Likewise.
26173 [non-C99-based standards] (y0f): Likewise.
26174 [non-C99-based standards] (y1f): Likewise.
26175 [non-C99-based standards] (ynf): Likewise.
26176 [non-C99-based standards] (isnanf): Likewise.
26177 [non-C99-based standards] (acoshf): Likewise.
26178 [non-C99-based standards] (asinhf): Likewise.
26179 [non-C99-based standards] (atanhf): Likewise.
26180 [non-C99-based standards] (cbrtf): Likewise.
26181 [non-C99-based standards] (expm1f): Likewise.
26182 [non-C99-based standards] (ilogbf): Likewise.
26183 [non-C99-based standards] (log1pf): Likewise.
26184 [non-C99-based standards] (logbf): Likewise.
26185 [non-C99-based standards] (nextafterf): Likewise.
26186 [non-C99-based standards] (remainderf): Likewise.
26187 [non-C99-based standards] (rintf): Likewise.
26188 [non-C99-based standards] (scalbf): Likewise.
26189 [non-C99-based standards] (copysignl): Likewise.
26190 [non-C99-based standards] (exp2l): Likewise.
26191 [non-C99-based standards] (log2l): Likewise.
26192 [non-C99-based standards] (modfl): Allow.
26193 [non-C99-based standards] (erfl): Do not allow.
26194 [non-C99-based standards] (erfcl): Likewise.
26195 [non-C99-based standards] (gammal): Likewise.
26196 [non-C99-based standards] (hypotl): Likewise.
26197 [non-C99-based standards] (j0l): Likewise.
26198 [non-C99-based standards] (j1l): Likewise.
26199 [non-C99-based standards] (jnl): Likewise.
26200 [non-C99-based standards] (lgammal): Likewise.
26201 [non-C99-based standards] (tgammal): Likewise.
26202 [non-C99-based standards] (y0l): Likewise.
26203 [non-C99-based standards] (y1l): Likewise.
26204 [non-C99-based standards] (ynl): Likewise.
26205 [non-C99-based standards] (isnanl): Likewise.
26206 [non-C99-based standards] (acoshl): Likewise.
26207 [non-C99-based standards] (asinhl): Likewise.
26208 [non-C99-based standards] (atanhl): Likewise.
26209 [non-C99-based standards] (cbrtl): Likewise.
26210 [non-C99-based standards] (expm1l): Likewise.
26211 [non-C99-based standards] (ilogbl): Likewise.
26212 [non-C99-based standards] (log1pl): Likewise.
26213 [non-C99-based standards] (logbl): Likewise.
26214 [non-C99-based standards] (nextafterl): Likewise.
26215 [non-C99-based standards] (remainderl): Likewise.
26216 [non-C99-based standards] (rintl): Likewise.
26217 [non-C99-based standards] (scalbl): Likewise.
26218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26219 [non-C99-based standards] (FP_*): Do not allow.
26220 [C99-based standards] (FP_*): Change to
26221 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26222 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26224 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26225 (SIG_ERR): Likewise.
26226 [X/Open-based standards] (SIG_HOLD): Likewise.
26227 (SIG_IGN): Likewise.
26228 (SIGABRT): Use macro-int-constant. Specify type. Require
26230 (SIGFPE): Likewise.
26231 (SIGILL): Likewise.
26232 (SIGINT): Likewise.
26233 (SIGSEGV): Likewise.
26234 (SIGTER): Likewise.
26235 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26236 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26237 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26238 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26239 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26240 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26241 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26242 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26243 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26244 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26245 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26246 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26247 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26248 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26249 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26250 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26251 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26252 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26253 [X/Open-based standards] (SIGTRAP): Likewise.
26254 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26255 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26256 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26257 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26258 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26261 2012-05-08 Ian Wienand <ianw@vmware.com>
26264 * time/tzset.c (__tzset_parse_tz): Update default rules for
26265 daylight time changes in the Energy Policy Act of 2005.
26267 2012-05-09 Andreas Jaeger <aj@suse.de>
26270 * elf/ldconfig.c (parse_conf): Change string to make clear that
26271 ldconfig only issued a warning if ld.so.conf does not exist.
26273 2012-05-08 David S. Miller <davem@davemloft.net>
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26276 movxtod instead of popping the value on the stack.
26278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26280 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26282 * config.h.in: Add HAVE_ARM_PCS_VFP.
26284 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26287 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26288 checking but the checks are disabled for any reason.
26290 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26292 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26293 and ELF64_R_TYPE with ELFW(R_TYPE).
26295 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26297 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26298 (ulimit): Likewise.
26300 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26301 (settimeofday): Likewise.
26303 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26305 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26306 a struct th_u2 inside the union, and move tu_block/tu_code into
26307 a new th_u3 union of tu_block/tu_code inside of that. Move
26308 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26309 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26310 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26311 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26312 (th_stuff): Change to th_u1.tu_stuff.
26314 (th_msg): Change to th_u1.th_u2.tu_data.
26316 2012-05-07 David S. Miller <davem@davemloft.net>
26318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26321 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26322 (SETUP_PIC_REG): Use it.
26323 (SETUP_PIC_REG_LEAF): Use it.
26325 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26329 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26331 (EXPL_FINITE): Likewise.
26332 (FLDLOG): Likewise.
26333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26334 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26336 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26338 (EXPL_FINITE): Likewise.
26339 (FLDLOG): Likewise.
26340 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26341 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26343 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26344 test of -max_value argument for long double.
26345 * sysdeps/i386/fpu/libm-test-ulps: Update.
26346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26348 2012-05-06 David S. Miller <davem@davemloft.net>
26350 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26351 quad soft-float symbols whose references which are compiler
26353 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26355 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26359 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26361 (EXPL_FINITE): Likewise.
26362 (FLDLOG): Likewise.
26365 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26366 Adjust comments for base varying.
26367 (__expl_finite): Change alias to EXPL_FINITE.
26368 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26370 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26371 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26373 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26374 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26376 (EXPL_FINITE): Likewise.
26377 (FLDLOG): Likewise.
26380 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26381 Adjust comments for base varying.
26382 (__expl_finite): Change alias to EXPL_FINITE.
26383 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26388 * math/libm-test.inc (check_float_internal): Correct ulp
26389 calculation for subnormal expected results.
26391 2012-05-06 Andreas Jaeger <aj@suse.de>
26393 * Makeconfig (+math-flags): New, set to -frounding-math.
26394 (+cflags): Add +math-flags so that all of glibc gets compiled with
26397 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26399 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26401 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26407 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26408 (__ieee754_expl): Allow for and saturate large arguments.
26409 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26410 (u_threshold): Likewise.
26411 (__exp): Call __ieee754_exp before checking for overflow and
26413 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26414 (u_threshold): Likewise.
26415 (__expf): Call __ieee754_expf before checking for overflow and
26417 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26418 (u_threshold): Likewise.
26419 (__expl): Call __ieee754_expl before checking for overflow and
26421 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26422 (__ieee754_expl): Allow for and saturate large arguments.
26423 * math/libm-test.inc (exp_test): Add another test. Do not allow
26424 missing overflow exception on overflow.
26425 (expm1_test): Do not allow missing overflow exception on overflow.
26427 * sysdeps/i386/fpu/e_expl.c: Move to ...
26428 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26429 rather than using inline asm.
26430 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26431 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26432 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26434 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26437 (signal): Likewise.
26441 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26443 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26444 sysdeps/unix/common/syscalls.list.
26445 (fchmod): Likewise.
26446 (fchown): Likewise.
26447 (ftruncate): Likewise.
26448 (getrusage): Likewise.
26449 (gettimeofday): Likewise.
26450 (setpgid): Likewise.
26451 (setregid): Likewise.
26452 (setreuid): Likewise.
26453 (sigaction): Likewise.
26454 (truncate): Likewise.
26455 (vhangup): Likewise.
26456 * sysdeps/unix/common/syscalls.list: Remove file.
26457 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26458 * sysdeps/unix/sysv/linux/Implies: Likewise.
26460 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26462 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26464 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26468 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26471 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26474 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26477 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26483 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26486 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26490 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26494 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26497 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26501 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26505 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26507 * sysdeps/unix/common/bits/dirent.h: Remove file.
26508 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26510 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26511 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26512 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26513 * sysdeps/unix/bsd/isatty.c: Likewise.
26514 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26515 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26516 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26518 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26521 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26522 long double comparison inaccuracies.
26523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26526 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26528 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26531 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26535 nonzero digits before rounding a hex value.
26536 * stdlib/tst-strtod.c (tests): Add another test.
26538 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26540 * sysdeps/s390/fpu/libm-test-ulps: Update.
26542 2012-05-03 Andreas Jaeger <aj@suse.de>
26544 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26545 does not get optimized out.
26546 (malloc_opt_barrier): New.
26548 2012-05-03 Andreas Jaeger <aj@suse.de>
26549 Roland McGrath <roland@hack.frob.com>
26551 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26552 intermediate file deletion.
26553 (generated): Add .symlist files.
26555 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26558 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26559 Redirect under this condition.
26560 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26561 [__USE_GNU] (__dprintf_chk): Not under this condition.
26562 [__USE_GNU] (__vdprintf_chk): Likewise.
26563 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26564 under this condition.
26565 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26566 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26567 [__USE_XOPEN2K8] (vdprintf): Likewise.
26568 [__USE_GNU] (__dprintf_chk): Not under this condition.
26569 [__USE_GNU] (__vdprintf_chk): Likewise.
26570 [__USE_GNU] (dprintf): Likewise.
26571 [__USE_GNU] (vdprintf): Likewise.
26573 2012-05-03 Roland McGrath <roland@hack.frob.com>
26575 * elf/Makefile (common-generated): Set this instead of generated for
26576 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26577 $(all-built-dso)-derived lists.
26579 2012-05-03 Andreas Jaeger <aj@suse.de>
26581 * sysdeps/i386/fpu/libm-test-ulps: Update.
26584 * FAQ.in: Likewise.
26585 * scripts/gen-FAQ.pl: Likewise.
26586 * manual/install.texi (Installation): Point to online location of
26588 * Makefile (files-for-dist): Remove FAQ.
26591 2012-05-02 Allan McRae <allan@archlinux.org>
26593 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26594 (LDFLAGS-reldepmod5.so): Likewise.
26595 (LDFLAGS-reldep6mod1.so): Likewise.
26596 (LDFLAGS-reldep6mod4.so): Likewise.
26597 (LDFLAGS-reldep8mod3.so): Likewise.
26598 (LDFLAGS-unload4mod1.so): Likewise.
26599 (LDFLAGS-unload4mod2.so): Likewise.
26600 (LDFLAGS-tst-initorder): Likewise.
26601 (LDFLAGS-tst-initordera2.so): Likewise.
26602 (LDFLAGS-tst-initordera3.so): Likewise.
26603 (LDFLAGS-tst-initordera4.so): Likewise.
26604 (LDFLAGS-tst-initorderb2.so): Likewise.
26605 (LDFLAGS-noload): Likewise.
26606 (LDFLAGS-next): Likewise.
26607 (LDFLAGS-order2mod1.so): Likewise.
26608 (LDFLAGS-order2mod2.so): Likewise.
26609 (LDFLAGS-tst-initorder2): Likewise.
26610 (LDFLAGS-tst-initorder2a.so): Likewise.
26611 (LDFLAGS-tst-initorder2b.so): Likewise.
26612 (LDFLAGS-tst-initorder2c.so): Likewise.
26613 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26615 2012-05-02 David S. Miller <davem@davemloft.net>
26617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26619 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26622 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26624 2012-05-02 Andreas Jaeger <aj@suse.de>
26626 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26627 since we manipulate rounding mode.
26628 (CPPFLAGS-test-idouble.c): Likewise.
26629 (CPPFLAGS-test-ifloat.c): Likewise.
26630 (CFLAGS-test-ldouble.c): Likewise.
26631 (CFLAGS-test-double.c): Likewise.
26632 (CFLAGS-test-float.c): Likewise.
26633 (CFLAGS-test-misc.c): Likewise.
26634 (CFLAGS-test-test-fenv.c): Likewise.
26636 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26640 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26641 comparisons to determine direction to adjust input.
26643 2012-05-01 Roland McGrath <roland@hack.frob.com>
26645 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26646 output to the target.
26648 * scripts/localplt.awk: New file.
26649 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26650 (check-localplt-CFLAGS): Variable removed.
26651 ($(all-built-dso:=.jmprel)): New static pattern rule.
26652 (generated): Add those targets.
26653 (localplt-built-dso): New variable.
26654 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26656 * elf/check-localplt.c: File removed.
26658 * scripts/check-execstack.awk: New file.
26659 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26660 (check-execstack-CFLAGS): Variable removed.
26661 ($(objpfx)check-execstack.h): Target removed.
26662 ($(objpfx)execstack-default): New target.
26663 (generated): Add that instead of check-execstack.h.
26664 ($(all-built-dso:=.phdr)): New static pattern rule.
26665 (generated): Add those targets.
26666 * elf/check-execstack.c: File removed.
26668 * scripts/check-textrel.awk: New file.
26669 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26670 (check-textrel-CFLAGS): Variable removed.
26671 (all-built-dso): Use := to define.o
26672 ($(all-built-dso:=.dyn)): New static pattern rule.
26673 (generated): Add those targets.
26674 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26675 * config.make.in (READELF): New substituted variable.
26676 * elf/check-textrel.c: File removed.
26678 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26680 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26682 * conform/data/ctype.h-data [C99-based standards] (isblank):
26684 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26685 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26687 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26688 Specify type. Require positive value.
26689 (EILSEQ): Likewise.
26690 (ERANGE): Likewise.
26691 [ISO || POSIX] (EILSEQ): Do not expect.
26692 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26693 Specify type. Require positive value.
26694 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26695 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26696 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26697 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26698 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26699 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26701 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26703 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26704 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26705 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26709 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26710 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26711 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26712 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26713 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26714 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26715 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26716 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26717 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26718 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26719 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26720 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26721 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26722 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26723 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26724 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26725 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26726 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26727 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26728 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26729 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26730 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26731 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26732 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26733 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26734 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26735 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26736 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26737 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26738 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26739 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26740 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26741 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26748 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26749 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26750 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26757 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26758 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26765 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26766 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26767 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26768 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26769 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26770 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26772 (FLT_ROUNDS): Expect as macro, not constant.
26773 (FLT_MANT_DIG): Use macro-int-constant.
26774 (DBL_MANT_DIG): Likewise.
26775 (LDBL_MANT_DIG): Likewise.
26776 (FLT_DIG): Likewise.
26777 (DBL_DIG): Likewise.
26778 (LDBL_DIG): Likewise.
26779 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26780 (DBL_MIN_EXP): Likewise.
26781 (LDBL_MIN_EXP): Likewise.
26782 (FLT_MAX_EXP): Use macro-int-constant.
26783 (DBL_MAX_EXP): Likewise.
26784 (LDBL_MAX_EXP): Likewise.
26785 (FLT_MAX_10_EXP): Likewise.
26786 (DBL_MAX_10_EXP): Likewise.
26787 (LDBL_MAX_10_EXP): Likewise.
26788 (FLT_MAX): Use macro-constant.
26789 (DBL_MAX): Likewise.
26790 (LDBL_MAX): Likewise.
26791 (FLT_EPSILON): Use macro-constant. Give upper bound.
26792 (DBL_EPSILON): Likewise.
26793 (LDBL_EPSILON): Likewise.
26794 (FLT_MIN): Likewise.
26795 (DBL_MIN): Likewise.
26796 (LDBL_MIN): Likewise.
26797 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26798 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26799 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26800 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26801 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26802 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26803 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26804 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26805 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26806 [ISO11] (FLT_TRUE_MIN): Likewise.
26807 [ISO11] (LDBL_TRUE_MIN): Likewise.
26808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26809 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26810 (SCHAR_MIN): Use macro-int-constant. Specify type.
26811 (SCHAR_MAX): Likewise.
26812 (UCHAR_MAX): Likewise.
26813 (CHAR_MIN): Likewise.
26814 (CHAR_MAX): Likewise.
26815 (MB_LEN_MAX): Use macro-int-constant.
26816 (SHRT_MIN): Use macro-int-constant. Specify type.
26817 (SHRT_MAX): Likewise.
26818 (USHRT_MAX): Likewise.
26819 (INT_MAX): Likewise.
26820 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26822 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26824 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26826 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26827 bound negative. Suffix upper bound with "L".
26828 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26830 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26832 [C99-based standards] (LLONG_MAX): Likewise.
26833 [C99-based standards] (ULLONG_MAX): Likewise.
26834 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26836 [ISO11] (max_align_t): Require type.
26837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26839 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26840 from $CFLAGS, without defining away __attribute__ calls.
26841 (checknamespace): Use $CFLAGS_namespace.
26843 * conform/conformtest.pl (@keywords): Only include C99 keywords
26844 for standards based on C99 or C11.
26846 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26848 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26851 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26852 usability of symbols in #if.
26854 * conform/conformtest.pl: If macro or constant types start
26855 "promoted:", expect the symbol to be of the following type
26856 promoted by the integer promotions.
26858 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26859 in one place. Also handle "macro-constant".
26861 * conform/conformtest.pl: Only accept expected macro values with
26862 "==". Parse all "macro" lines in one place.
26863 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26865 * conform/conformtest.pl: Handle braced types on "constant" lines
26866 instead of handling "typed-constant".
26867 * conform/data/signal.h-data: Use "constant" instead of
26870 * conform/conformtest.pl: Handle "optional-" at start of lines in
26871 one place rather than duplicating several cases. Handle each
26872 format of "macro" line with initial "optional-".
26874 * conform/conformtest.pl: Only accept expected constant or
26875 optional-constant values with "==". Parse all "constant" lines in
26876 one place. Parse all "optional-constant" lines in one place.
26877 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26878 * conform/data/fmtmsg.h-data: Likewise.
26879 * conform/data/netinet/in.h-data: Likewise.
26880 * conform/data/tar.h-data: Likewise.
26881 * conform/data/limits.h-data: Use "==" form on "constant" and
26882 "optional-constant" lines.
26884 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26885 Use -std=c99 for XOPEN2K.
26886 (@knownproblems): Remove.
26887 (newtoken): Don't check %isknown.
26889 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26890 Do not expect macro.
26891 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26892 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26893 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26894 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26895 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26896 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26897 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26898 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26899 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26903 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26904 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26905 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26906 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26907 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26908 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26909 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26910 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26911 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26912 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26914 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26915 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26921 [XPG3] (acosh): Likewise.
26922 [XPG3] (asinh): Likewise.
26923 [XPG3] (atanh): Likewise.
26924 [XPG3] (cbrt): Likewise.
26925 [XPG3] (expm1): Likewise.
26926 [XPG3] (ilogb): Likewise.
26927 [XPG3] (log1p): Likewise.
26928 [XPG3] (logb): Likewise.
26929 [XPG3] (nextafter): Likewise.
26930 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26931 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26932 [XPG3] (remainder): Likewise.
26933 [XPG3] (rint): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26935 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26936 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26937 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26940 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26941 [UNIX98 || XOPEN2K] (scalb): Expect.
26942 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26943 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26949 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26950 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26951 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26993 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26994 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26995 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26996 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26998 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26999 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27000 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27001 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27002 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27003 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27004 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27005 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27006 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27007 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27008 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27009 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27010 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27011 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27012 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27013 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27014 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27015 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27016 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27017 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27018 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27020 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27021 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27022 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27023 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27024 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27025 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27026 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27027 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27028 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27029 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27030 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27031 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27032 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27033 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27034 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27035 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27036 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27037 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27038 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27039 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27040 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27041 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27042 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27043 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27044 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27045 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27046 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27047 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27048 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27049 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27050 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27051 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27052 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27053 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27054 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27055 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27056 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27057 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27058 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27059 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27060 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27061 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27062 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27063 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27064 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27065 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27066 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27067 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27068 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27069 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27070 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27071 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27072 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27073 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27074 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27075 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27076 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27077 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27078 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27080 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27081 _XOPEN_SOURCE_EXTENDED for XPG4.
27083 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27085 * Makeconfig (localtime): Remove variable.
27086 (inst_localtime-file): Likewise.
27088 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27109 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27113 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27114 comparisons to determine direction to adjust input.
27115 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27116 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27117 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27119 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27123 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27124 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27126 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27128 * math/libm-test.inc (nexttoward_test): Add more tests.
27130 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27133 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27134 in version GLIBC_2.1, not GLIBC_2.0.
27135 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27138 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27141 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27143 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27144 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27145 * math/libm-test.inc (acos_test): Add more tests.
27146 (asin_test): Likewise.
27147 * sysdeps/i386/fpu/libm-test-ulps: Update.
27148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27151 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27153 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27154 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27155 * math/libm-test.inc (acos_test_tonearest): New function.
27156 (acos_test_towardzero): Likewise.
27157 (acos_test_downward): Likewise.
27158 (acos_test_upward): Likewise.
27159 (asin_test_tonearest): Likewise.
27160 (asin_test_towardzero): Likewise.
27161 (asin_test_downward): Likewise.
27162 (asin_test_upward): Likewise.
27163 (main): Call the new functions.
27164 * sysdeps/i386/fpu/libm-test-ulps: Update.
27165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27169 * math/e_exp10.c: Include <float.h>.
27170 (__ieee754_exp10): Handle underflow here rather than multiplying
27171 large negative argument by M_LN10.
27172 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27174 * math/e_exp10l.c: Include <float.h>.
27175 (__ieee754_exp10l): Handle underflow here rather than multiplying
27176 large negative argument by M_LN10l.
27177 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27178 spurious overflow exception on underflow.
27180 2012-04-29 Marek Polacek <polacek@redhat.com>
27182 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27183 (__fortify_function): New macro.
27184 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27185 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27186 __extern_always_inline.
27187 * libio/bits/stdio2.h: Likewise.
27188 * libio/bits/stdio.h: Likewise.
27189 * string/string.h: Likewise.
27190 * string/bits/string3.h: Likewise.
27191 * include/stdio.h: Likewise.
27192 * stdlib/bits/stdlib.h: Likewise.
27193 * stdlib/stdlib.h: Likewise.
27194 * rt/bits/mqueue2.h: Likewise.
27195 * rt/mqueue.h: Likewise.
27196 * posix/bits/unistd.h: Likewise.
27197 * posix/unistd.h: Likewise.
27198 * io/bits/poll2.h: Likewise.
27199 * io/bits/fcntl2.h: Likewise.
27200 * io/fcntl.h: Likewise.
27201 * io/sys/poll.h: Likewise.
27202 * misc/bits/syslog.h: Likewise.
27203 * misc/bits/syslog-ldbl.h: Likewise.
27204 * misc/sys/syslog.h: Likewise.
27205 * socket/bits/socket2.h: Likewise.
27206 * socket/sys/socket.h: Likewise.
27207 * debug/tst-chk1.c: Likewise.
27208 * wcsmbs/bits/wchar2.h: Likewise.
27209 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27210 * wcsmbs/wchar.h: Likewise.
27212 2012-04-29 Andreas Jaeger <aj@suse.de>
27214 * Makerules (tests): Remove enable-check-abi protection.
27215 (check-abi-warn): Remove.
27216 (check-abi-%): Remove check-abi-warn usage.
27218 * configure.in: Remove check-abi configure option.
27219 * configure: Regenerated.
27220 * config.make.in (enable-check-abi): Remove.
27222 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27225 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27226 double functions to double *_finite functions.
27229 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27230 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27232 * stdio-common/Makefile (tests): Add tst-sprintf3.
27233 * stdio-common/tst-sprintf3.c: New file.
27235 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27236 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27238 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27240 * conform/conformtest.pl: Remove duplicate typed-constant
27243 2012-04-28 David S. Miller <davem@davemloft.net>
27245 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27246 (check-abi-%): Remove AWK script prerequisite and explicit
27248 (check-abi): Rewrite to just diff the symlist with the abilist.
27249 (config-tls, config-abi-config): Delete, no longer used.
27250 (update-abi-%): Remove AWK script and explicit abilist directory.
27251 (update-abi): Rewrite to simply compare and conditionally copy the
27252 symlist and the sysdep abilist file. Remove update-abi-config
27254 * abilist/ld.abilist: Remove.
27255 * abilist/libBrokenLocale.abilist: Remove.
27256 * abilist/libanl.abilist: Remove.
27257 * abilist/libcrypt.abilist: Remove.
27258 * abilist/libdl.abilist: Remove.
27259 * abilist/librt.abilist: Remove.
27260 * abilist/libthread_db.abilist: Remove.
27261 * abilist/libutil.abilist: Remove.
27262 * scripts/extract-abilist.awk: Remove.
27263 * scripts/merge-abilist.awk: Remove.
27264 * sysdeps/generic/libcidn.abilist: New file.
27265 * sysdeps/generic/libnss_compat.abilist: New file.
27266 * sysdeps/generic/libnss_db.abilist: New file.
27267 * sysdeps/generic/libnss_dns.abilist: New file.
27268 * sysdeps/generic/libnss_files.abilist: New file.
27269 * sysdeps/generic/libnss_hesiod.abilist: New file.
27270 * sysdeps/generic/libnss_nis.abilist: New file.
27271 * sysdeps/generic/libnss_nisplus.abilist: New file.
27272 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27273 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27274 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27276 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27277 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27278 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27279 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27280 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27281 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27282 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27283 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27284 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27286 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27287 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27288 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27289 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27291 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27292 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27293 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27294 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27295 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27296 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27298 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27299 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27300 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27302 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27405 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27406 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27407 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27410 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27411 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27412 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27413 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27414 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27415 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27416 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27417 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27418 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27470 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27472 * conform/conformtest.pl: Fix typo in handling typed-constant from
27475 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27477 * README: Cut down references to pre-2.6 Linux kernels and
27478 Linuxthreads. Update lists of configurations in libc and ports
27479 and sort alphabetically. Say "or newer" with Linux kernel version
27482 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27484 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27487 * math/libm-test.inc (logb_test_downward): New test to expose
27488 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27491 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27494 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27496 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27497 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27499 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27501 * sysdeps/unix/i386/brk.S: Remove file.
27502 * sysdeps/unix/i386/dl-brk.S: Likewise.
27503 * sysdeps/unix/i386/pipe.S: Likewise.
27504 * sysdeps/unix/i386/sigreturn.S: Likewise.
27505 * sysdeps/unix/i386/syscall.S: Likewise.
27506 * sysdeps/unix/i386/vfork.S: Likewise.
27507 * sysdeps/unix/i386/wait.S: Likewise.
27509 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27510 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27512 * configure.in (arm*-none*): Do not allow without
27513 --enable-hacker-mode.
27514 (netbsd*): Remove case setting base_os.
27515 (386bsd*): Likewise.
27516 (freebsd*): Likewise.
27519 (sunos*): Likewise.
27520 (ultrix*): Likewise.
27521 (newsos*): Likewise.
27522 (dynix*): Likewise.
27528 (minix*): Likewise.
27529 (irix4*): Likewise.
27530 (irix6*): Likewise.
27531 (solaris[2-9]*): Likewise.
27533 * configure: Regenerated.
27535 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27538 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27539 overflow or cancellation in calculating denominator.
27540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27542 down expression to avoid unexpected rounding in newer GCCs.
27543 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27545 2012-04-26 David S. Miller <davem@davemloft.net>
27547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27548 long-double compat symbols.
27549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27563 2012-04-25 David S. Miller <davem@davemloft.net>
27565 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27566 HWCAP_* values only after the memory barriers have been defined.
27567 (atomic_full_barrier): Define.
27568 (atomic_read_barrier): Define.
27569 (atomic_write_barrier): Define.
27571 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27573 * shlib-versions: Add libgcc_s version information.
27574 * sysdeps/generic/libgcc_s.h: Remove.
27575 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27577 * sysdeps/gnu/unwind-resume.c: Likewise.
27578 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27580 2012-04-25 David S. Miller <davem@davemloft.net>
27582 * sysdeps/unix/sparc/brk.S: Delete.
27583 * sysdeps/unix/sparc/dl-brk.S: Delete.
27584 * sysdeps/unix/sparc/pipe.S: Delete.
27585 * sysdeps/unix/sparc/sysdep.S: Delete.
27586 * sysdeps/unix/sparc/sysdep.h: Delete.
27587 * sysdeps/unix/sparc/vfork.S: Delete.
27588 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27589 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27591 ret_ERRVAL, r0, r1, MOVE): Define.
27592 (JUMPTARGET): Remove.
27593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27594 sysdeps/unix/sparc/sysdep.h
27595 (ENTRY, END): Remove.
27596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27598 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27600 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27601 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27604 * timezone/README: Update upstream location and email address for
27606 * timezone/zdump.c: Update from tzcode 2012b.
27607 * timezone/zic.c: Likewise.
27609 * configure.in (libc_cv_as_needed): Remove test.
27610 * configure: Regenerated.
27611 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27612 conditional definition.
27613 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27614 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27615 * config.make.in (have-as-needed): Remove variable.
27617 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27618 Paul Pluzhnikov <ppluzhnikov@google.com>
27620 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27623 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27625 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27626 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27627 * sysdeps/sh/strlen.S: Likewise.
27629 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27631 * sysdeps/unix/fork.S: Remove file.
27632 * sysdeps/unix/i386/fork.S: Likewise.
27633 * sysdeps/unix/sparc/fork.S: Likewise.
27635 * sysdeps/unix/system.c: Remove file.
27636 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27638 * sysdeps/unix/getegid.S: Remove file.
27639 * sysdeps/unix/geteuid.S: Likewise.
27641 2012-04-24 Roland McGrath <roland@hack.frob.com>
27643 * scripts/check-localplt.awk: New file.
27644 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27646 * scripts/data/localplt-generic.data: Add a comment.
27648 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27649 NODE when __dir_mkfile failed.
27650 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27651 Reported by Ludovic Courtès <ludo@gnu.org>.
27653 2012-04-24 Andreas Jaeger <aj@suse.de>
27655 * Makerules (common-clean): Also remove gen-as-const-headers
27658 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27660 * Makerules (native-compile): Do not change working directory for
27661 build. Use $(OUTPUT_OPTION) in command.
27662 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27664 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27667 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27668 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27669 * math/libm-test.inc (floor_test): Add more tests.
27670 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27672 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27674 * sysdeps/unix/getdents.c: Remove file.
27675 * sysdeps/unix/sysv/getdents.c: Likewise.
27676 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27678 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27679 sysdeps/unix/mman/syscalls.list.
27681 (mprotect): Likewise.
27683 (munmap): Likewise.
27684 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27685 * sysdeps/unix/mman/syscalls.list: Remove.
27686 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27688 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27689 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27690 * configure: Regenerated.
27691 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27692 $(libgcc_s_suffix).
27693 * config.make.in (libgcc_s_suffix): Remove variable.
27695 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27697 * sysdeps/unix/sysv/gethostname.c: Move to ...
27698 * sysdeps/posix/gethostname.c: ... here.
27700 * sysdeps/unix/execve.S: Remove file.
27702 * sysdeps/unix/_exit.S: Remove file.
27704 2012-04-23 Andreas Jaeger <aj@suse.de>
27707 * manual/Makefile: Remove make dist support, there's no
27708 need for a stand-alone documentation tar ball.
27709 (TEXI2DVI): Define always, it's not in Makeconfig.
27712 (edition): Removed.
27713 (glibc-doc-$(edition).tar): Removed
27717 (ETAGS): Remove, it's in Makeconfig.
27718 (move-if-change): Remove, it's in Makeconfig.
27720 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27723 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27724 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27725 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27726 (strtod_l, strtof_l, strtold_l): Remove __wur.
27727 It is not necessarily an error to ignore strtol's return value.
27728 One can reliably look at the stored endptr to decide whether
27729 the number had valid syntax.
27731 2012-04-21 Andreas Jaeger <aj@suse.de>
27734 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27736 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27738 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27739 * sysdeps/unix/sysv/Versions: Remove file.
27741 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27746 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27750 version from __vm86.
27752 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27754 * sysdeps/unix/common/lxstat.c: Remove file.
27755 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27757 * sysdeps/unix/sysv/Makefile: Remove file.
27759 * sysdeps/unix/sysv/direct.h: Remove file.
27761 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27762 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27763 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27764 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27765 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27766 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27767 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27769 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27771 * sysdeps/unix/xmknod.c: Remove file.
27772 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27774 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27776 * sysdeps/unix/sysv/i386/time.S: Remove file.
27778 * sysdeps/unix/fxstat.c: Remove file.
27779 * sysdeps/unix/xstat.c: Likewise.
27780 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27782 * sysdeps/unix/sysv/sigaction.c: Remove file.
27784 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27785 (sysdep_headers): Remove variable.
27786 [termio.h not in sysdep_headers] (generated): Likewise.
27787 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27788 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27789 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27790 * sysdeps/unix/sysv/tcflow.c: Likewise.
27791 * sysdeps/unix/sysv/tcflush.c: Likewise.
27792 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27793 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27794 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27795 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27796 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27798 * sysdeps/unix/siglist.c: Remove file.
27800 * sysdeps/unix/getppid.S: Remove file.
27802 * sysdeps/unix/mkdir.c: Remove file.
27803 * sysdeps/unix/rmdir.c: Likewise.
27805 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27807 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27809 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27810 errlist-compat value.
27812 2012-04-18 David S. Miller <davem@davemloft.net>
27814 * sysdeps/generic/memcopy.h (reg_char): Delete.
27815 * debug/strcat_chk.c: Use char, not reg_char.
27816 * debug/strcpy_chk.c: Likewise.
27817 * debug/strncat_chk.c: Likewise.
27818 * debug/strncpy_chk.c: Likewise.
27819 * string/memchr.c: Likewise.
27820 * string/memrchr.c: Likewise.
27821 * string/rawmemchr.c: Likewise.
27822 * string/strcat.c: Likewise.
27823 * string/strchr.c: Likewise.
27824 * string/strchrnul.c: Likewise.
27825 * string/strcmp.c: Likewise.
27826 * string/strcpy.c: Likewise.
27827 * string/strncat.c: Likewise.
27828 * string/strncmp.c: Likewise.
27829 * string/strncpy.c: Likewise.
27831 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27833 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27834 __builtin_memcopy is called when src and dest ranges are known to not
27837 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27839 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27840 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27841 fwd_align_merge macro call.
27842 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27843 bwd_align_merge macro call.
27844 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27846 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27848 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27849 bwd_align_merge macros.
27850 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27851 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27854 2012-04-18 David S. Miller <davem@davemloft.net>
27856 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27858 2012-04-18 Andreas Jaeger <aj@suse.de>
27861 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27862 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27863 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27865 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27866 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27867 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27869 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27870 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27871 Adjust for changed ldbl-128 files.
27873 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27874 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27877 2012-04-17 David S. Miller <davem@davemloft.net>
27879 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27881 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27883 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27884 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27885 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27886 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27887 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27888 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27890 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27893 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27894 * math/libm-test.inc: Add ilogb errno and exception tests.
27895 * math/w_ilogb.c: New file: ilogb wrapper.
27896 * math/w_ilogbf.c: New file: ilogbf wrapper.
27897 * math/w_ilogbl.c: New file: ilogbl wrapper.
27898 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27899 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27900 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27901 exception being thrown with 0.0 as argument.
27902 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27903 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27904 exception being thrown with 0.0 as argument.
27905 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27906 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27907 exception being thrown with 0.0 as argument.
27908 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27909 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27910 exception being thrown with 0.0 as argument.
27911 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27912 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27914 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27915 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27916 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27917 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27918 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27919 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27921 2012-04-17 Petr Baudis <pasky@ucw.cz>
27923 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27926 2012-04-16 Marek Polacek <polacek@redhat.com>
27928 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27930 2012-04-16 Marek Polacek <polacek@redhat.com>
27932 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27933 operands of fdivp instruction.
27935 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27937 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27938 * elf/tst-auditmod3b.c: Likewise.
27939 * elf/tst-auditmod4b.c: Likewise.
27940 * elf/tst-auditmod5b.c: Likewise.
27941 * elf/tst-auditmod6b.c: Likewise.
27942 * elf/tst-auditmod6c.c: Likewise.
27943 * elf/tst-auditmod7b.c: Likewise.
27944 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27945 * sysdeps/x86_64/preconfigure.in: Likewise.
27946 * sysdeps/x86_64/preconfigure: Regenerated.
27948 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27950 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27953 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27956 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27958 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27961 * locale/iso-639.def: Fix gl language name. Spotted by
27964 2012-04-12 Roland McGrath <roland@hack.frob.com>
27967 * libio/libio.h (__io_write_fn): Update comment.
27969 2012-04-12 Petr Baudis <pasky@ucw.cz>
27972 * stdio.texi (Hook Functions): The user provided writer function
27973 is not allowed to return -1.
27975 2012-04-11 David S. Miller <davem@davemloft.net>
27977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27979 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27981 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27982 Add a leading slash to rtkaio.
27984 2012-04-11 Jim Meyering <meyering@redhat.com>
27987 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27988 It is not necessarily an error to ignore fwrite's return
27989 value. One can reliably use ferror to test for errors after
27992 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27994 * bits/types.h (__snseconds_t): New type.
27995 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27997 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27999 (__SNSECONDS_T_TYPE): Likewise.
28000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28001 (__SNSECONDS_T_TYPE): Likewise.
28002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28003 (__SNSECONDS_T_TYPE): Likewise.
28005 2012-04-10 Andreas Jaeger <aj@suse.de>
28008 * manual/time.texi (Processor Time): Return type of times is
28009 elapsed real time since an arbitrary point in the past.
28010 (CPU Time): Move CLK_TCK from here...
28011 (Processor Time): ...to here. Correct description.
28012 * manual/conf.texi (Constants for Sysconf): Correct description of
28015 2012-04-10 David S. Miller <davem@davemloft.net>
28018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28019 where the is a gap between DT_REL(A) and DT_JMPREL.
28021 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28023 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28024 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28025 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28027 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28029 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28030 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28031 (dl_main): Handle --inhibit-cache.
28032 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28034 * elf/dl-load.c (_dl_map_object): Use it.
28035 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28037 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28040 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28041 (__ieee754_powl): Saturate large exponents rather than testing for
28042 overflow of y*log2(x).
28043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28044 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28048 * math/s_ctan.c: Include <float.h>.
28049 (__ctan): Avoid internal overflow or cancellation in calculating
28051 * math/s_ctanf.c: Likewise.
28052 * math/s_ctanl.c: Likewise.
28053 * math/s_ctanh.c: Likewise.
28054 * math/s_ctanhf.c: Likewise.
28055 * math/s_ctanhl.c: Likewise.
28056 * math/libm-test.inc (ctan_test): Add more tests.
28057 (ctanh_test): Likewise.
28058 * sysdeps/i386/fpu/libm-test-ulps: Update.
28059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061 2012-04-09 Andreas Jaeger <aj@suse.de>
28064 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28065 is an optional BSD extension.
28068 * manual/stdio.texi (Opening Streams): Document additional fopen
28071 2012-04-09 Roland McGrath <roland@hack.frob.com>
28073 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28074 %eax without telling the compiler.
28076 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28079 * manual/install.texi: Use sourceware.org.
28081 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28084 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28085 (__ieee754_pow): Generate overflow and underflow using huge*huge
28086 and tiny*tiny rather than just returning constant infinity or zero
28087 for large exponents.
28088 * math/libm-test.inc (pow_test): Require overflow exceptions for
28089 applicable cases of large exponents.
28092 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28093 (__ieee754_pow): Use iterative multiplication algorithm only for
28094 integer exponents with absolute value below 1024. Check for odd
28095 integer exponents when using algorithm for real exponents.
28096 * math/libm-test.inc (pow_test): Add more tests.
28097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28099 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28102 * math/libm-test.inc (exp_test): Do not allow overflow exception
28105 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28108 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28109 instead of __kernel_standard_f.
28111 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28113 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28114 * sysdeps/x86_64/memset_chk.S: Likewise.
28116 2012-04-08 Andreas Jaeger <aj@suse.de>
28119 * manual/startup.texi (Environment Access): Describe return value
28120 for putenv and setenv.
28123 * manual/filesys.texi (Directory Entries): Add description for
28127 * manual/filesys.texi (Directory Entries): Clarify that it's file
28128 system not operating system in the description of DT_UNKNOWN.
28131 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28133 2012-04-08 Stephen Compall <s11@member.fsf.org>
28136 * manual/llio.texi (Opening and Closing Files): Add cross
28137 reference to explain mode argument.
28139 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28141 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28142 * sysdeps/x86_64/memset_chk.S: Likewise.
28144 2012-04-07 David S. Miller <davem@davemloft.net>
28146 * elf/elf.h (R_SPARC_WDISP10): Define.
28147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28150 R_SPARC_SIZE64 and R_SPARC_H34.
28152 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28155 conditions and remove no longer applicable assertion.
28157 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28159 * bits/byteswap.h: Include <features.h>.
28160 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28161 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28163 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28165 * bits/byteswap.h (__bswap_16): Removed.
28166 Include <bits/byteswap-16.h> to get __bswap_16.
28167 * sysdeps/i386/bits/byteswap.h: Likewise.
28168 * sysdeps/s390/bits/byteswap.h: Likewise.
28169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28170 * bits/byteswap-16.h: New file.
28171 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28172 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28173 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28174 * string/Makefile (headers): Add bits/byteswap-16.h.
28176 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28179 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28181 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28182 * nss/tst-nss-static.c: New.
28184 2012-04-06 Robert Millan <rmh@gnu.org>
28187 * manual/llio.texi (File Position Primitive): lseek
28188 refers to WHENCE when it really means OFFSET.
28190 2012-04-06 Andreas Jaeger <aj@suse.de>
28192 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28193 strncmp declarations.
28195 * abilist/libc.abilist: Add __poll and __ppoll.
28197 2012-04-05 David S. Miller <davem@davemloft.net>
28199 * scripts/check-local-headers.sh: Accept a host triplet in the
28200 path matched by the exclude regexp.
28202 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28204 * sysdeps/powerpc/powerpc32/dl-machine.h
28205 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28206 * sysdeps/s390/s390-32/dl-machine.h
28207 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28208 * sysdeps/sparc/sparc32/dl-machine.h
28209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28210 * sysdeps/sparc/sparc64/dl-machine.h
28211 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28213 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28215 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28216 undefined symbol errors.
28218 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28221 2012-04-05 Michael Matz <matz@suse.de>
28224 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28226 2012-04-05 Andreas Jaeger <aj@suse.de>
28229 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28232 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28234 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28235 which ROUND is no valid rounding mode.
28237 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28241 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28243 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28245 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28246 an exception using FPU order intentionally.
28248 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28250 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28251 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28252 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28253 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28255 2012-04-05 Simon Josefsson <simon@josefsson.org>
28258 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28259 EINVAL when BUFLEN is too smal.
28261 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28264 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28265 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28267 2012-04-03 Andreas Jaeger <aj@suse.de>
28270 * manual/setjmp.texi (System V contexts): Fix sentence.
28273 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28274 New macro for this case.
28275 [!__GNUC__] (__bswap_64): New inline function for this case.
28276 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28277 * bits/byteswap.h: Likewise.
28278 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28279 ull, guard with __GLIBC_HAVE_LONG_LONG.
28281 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28282 __GLIBC_HAVE_LONG_LONG.
28284 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28285 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28287 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28290 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28291 inptr and inend, rather than using last_ch.
28293 2012-04-02 David S. Miller <davem@davemloft.net>
28295 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28296 * stdio-common/printf-parse.h (read_int): Change return type to
28297 'int', return -1 on INT_MAX overflow.
28298 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28299 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28300 overflows INT_MAX. Check for overflow of in-format-string precision
28301 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28302 SIZE_MAX not INT_MAX for integer overflow test.
28303 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28304 skip the construct in the format string but do not record anything.
28305 * stdio-common/bug22.c: Adjust to test both width/prevision
28306 INT_MAX overflow as well as total length INT_MAX overflow. Check
28307 explicitly for proper errno values.
28309 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28311 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28313 * string/test-strcmp.c [! WIDE]: Likewise.
28314 * time/tst-mktime2.c: Likewise for INT_MAX.
28315 * string/test-string.h: #include <sys/param.h> for MIN.
28317 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28318 * sysdeps/i386/init-first.c (init): Likewise.
28319 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28320 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28321 * sysdeps/sh/init-first.c (init): Likewise.
28323 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28325 * po/ru.po: Update from translation team.
28326 * po/vi.po: Likewise.
28328 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28330 * resolv/nss_dns/dns-host.c: Merge copyright years.
28332 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28334 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28335 Optimize memcpy with prefetch if
28336 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28337 src, dst pointers have unequal 16 byte alignments.
28339 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28342 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28343 from a CNAME entry and return the minimum ttl for the query.
28344 (gaih_getanswer_slice): Likewise.
28346 2012-03-30 Jeff Law <law@redhat.com>
28348 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28350 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28351 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28353 * resolv/nss_dns/dns-host.c: Update copyright year.
28355 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28357 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28358 requests to save a system call. Fix check that all bytes are sent.
28360 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28361 comments for sendmmsg.
28363 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28366 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28367 with only 1 character between 0x0041 and 0x01b0.
28368 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28369 * wcsmbs/tst-mbsnrtowcs.c: New file.
28371 2012-03-29 David S. Miller <davem@davemloft.net>
28373 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28374 small copies by hand.
28376 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28379 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28380 _nss_compat_initgroups_dyn): Fall back to malloc/free
28381 for large group memberships.
28383 2012-03-28 David S. Miller <davem@davemloft.net>
28385 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28386 that branches into memcpy.
28387 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28388 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28390 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28393 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28394 implementation too.
28395 * sysdeps/sparc/mempcpy.S: New file.
28397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28398 the IFUNC routine in the libc case.
28399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28401 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28402 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28403 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28404 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28405 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28406 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28407 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28408 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28410 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28411 loop to 256 bytes instead of 64 bytes and fix test signedness.
28413 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28414 * sysdeps/sparc/sparc32/Makefile: rather than here...
28415 * sysdeps/sparc/sparc64/Makefile: and here.
28417 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28419 * malloc/mallocbug.c: Avoid warnings about unused variables.
28421 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28424 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28425 in the right place. Discard and retry query if response is
28426 larger than input buffer size.
28428 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28433 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28434 x for large integer exponent.
28435 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28436 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28437 sign of result as needed afterwards.
28438 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28439 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28440 result for underflowing pow the same as for overflow.
28441 (__kernel_standard_l): Handle powl overflow and underflow here
28442 rather than calling __kernel_standard.
28443 * math/libm-test.inc (pow_test): Add more tests.
28458 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28459 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28460 (__kernel_standard_l): New function.
28461 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28463 * math/w_acosl.c (__acosl): Likewise.
28464 * math/w_asinl.c (__asinl): Likewise.
28465 * math/w_atan2l.c (__atan2l): Likewise.
28466 * math/w_atanhl.c (__atanhl): Likewise.
28467 * math/w_coshl.c (__coshl): Likewise.
28468 * math/w_exp10l.c (__exp10l): Likewise.
28469 * math/w_exp2l.c (__exp2l): Likewise.
28470 * math/w_fmodl.c (__fmodl): Likewise.
28471 * math/w_hypotl.c (__hypotl): Likewise.
28472 * math/w_j0l.c (__j0l, __y0l): Likewise.
28473 * math/w_j1l.c (__j1l, __y1l): Likewise.
28474 * math/w_jnl.c (__jnl, __ynl): Likewise.
28475 * math/w_lgammal.c (__lgammal): Likewise.
28476 * math/w_log10l.c (__log10l): Likewise.
28477 * math/w_log2l.c (__log2l): Likewise.
28478 * math/w_logl.c (__logl): Likewise.
28479 * math/w_powl.c (__powl): Likewise.
28480 * math/w_remainderl.c (__remainderl): Likewise.
28481 * math/w_scalbl.c (sysv_scalbl): Likewise.
28482 * math/w_sinhl.c (__sinhl): Likewise.
28483 * math/w_sqrtl.c (__sqrtl): Likewise.
28484 * math/w_tgammal.c (__tgammal): Likewise.
28485 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28486 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28487 * math/libm-test.inc (acos_test): Add more tests.
28488 (acosh_test): Likewise.
28489 (asin_test): Likewise.
28490 (atanh_test): Likewise.
28491 (exp_test): Likewise.
28492 (exp10_test): Likewise.
28493 (exp2_test): Likewise.
28494 (expm1_test): Likewise.
28495 (lgamma_test): Likewise.
28496 (log_test): Likewise.
28497 (log10_test): Likewise.
28498 (log1p_test): Likewise.
28499 (log2_test): Likewise.
28500 (pow_test): Do not allow some spurious overflow exceptions.
28501 (sqrt_test): Add more tests.
28502 (tgamma_test): Likewise.
28503 (y0_test): Likewise.
28504 (y1_test): Likewise.
28505 (yn_test): Likewise.
28507 2012-03-27 Anton Blanchard <anton@samba.org>
28509 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28511 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28512 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28513 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28515 2012-03-27 David S. Miller <davem@davemloft.net>
28517 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28519 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28520 have-as-vis3 check.
28522 2012-03-27 Andreas Jaeger <aj@suse.de>
28524 * sysdeps/x86_64/elf/configure.in: Moved to ...
28525 * sysdeps/x86_64/configure.in: ... here.
28526 * sysdeps/x86_64/elf/start.S: Moved to ...
28527 * sysdeps/x86_64/start.S: ... here.
28528 * sysdeps/x86_64/elf/configure: Delete.
28530 * sysdeps/x86_64/configure.in: Merge contents from
28531 sysdeps/i386/configure.in (without i686 check).
28533 * sysdeps/i386/elf/Versions: Merge into ...
28534 * sysdeps/i386/Versions: ... this.
28535 * sysdeps/i386/elf/Versions: Delete file.
28536 * sysdeps/i386/elf/start.S: Moved to ...
28537 * sysdeps/i386/start.S: ...here.
28538 * sysdeps/i386/elf/configure.in: Merge into...
28539 * sysdeps/i386/configure.in: ...here.
28540 * sysdeps/i386/elf/configure.in: Delete file.
28541 * sysdeps/i386/elf/configure: Delete file.
28543 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28544 * debug/backtracesyms.c: ... here.
28545 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28546 * debug/backtracesymsfd.c: ... here.
28547 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28548 * sysdeps/generic/ifunc-sel.h: ... here.
28550 * sysdeps/unix/i386/start.c: Delete file.
28551 * sysdeps/unix/sparc/start.c: Delete file.
28552 * sysdeps/unix/start.c: Delete file.
28554 * sysdeps/sh/elf/configure.in: Moved to ...
28555 * sysdeps/sh/configure.in: ... here.
28556 * sysdeps/sh/elf/start.S: Moved to ...
28557 * sysdeps/sh/start.S: ... here.
28558 * sysdeps/sh/elf/configure: Delete file.
28560 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28561 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28562 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28563 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28564 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28565 * sysdeps/powerpc/powerpc64/start.S: here.
28566 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28567 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28568 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28569 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28570 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28572 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28573 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28574 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28575 * sysdeps/powerpc/powerpc32/start.S: ... here.
28576 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28577 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28578 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28580 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28581 * sysdeps/powerpc/ifunc-sel.h: ... here.
28582 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28583 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28585 * sysdeps/sparc/elf/configure.in: Moved to ...
28586 * sysdeps/sparc/configure.in: ... here.
28587 * sysdeps/sparc/elf/configure: Delete file.
28588 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28589 * sysdeps/sparc/sparc32/start.S: ... here.
28590 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28591 * sysdeps/sparc/sparc64/start.S: ... here.
28592 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28593 * sysdeps/sparc/sparc32/Makefile: ... this.
28594 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28595 * sysdeps/sparc/sparc64/Makefile: ... this.
28597 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28598 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28599 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28600 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28601 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28602 * sysdeps/s390/s390-32/setjmp.S: ... here.
28603 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28604 * sysdeps/s390/s390-32/configure.in: ... here.
28605 * sysdeps/s390/s390-32/elf/configure: Delete file.
28606 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28607 * sysdeps/s390/s390-32/start.S: ... here.
28609 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28610 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28611 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28612 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28613 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28614 * sysdeps/s390/s390-64/setjmp.S: ... here.
28615 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28616 * sysdeps/s390/s390-64/configure.in: ... here
28617 * sysdeps/s390/s390-64/elf/configure: Delete file.
28618 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28619 * sysdeps/s390/s390-64/start.S: ... here.
28620 * sysdeps/s390/s390-64/elf/configure: Delete.
28622 * configure.in: Remove support for elf directories in sysdeps.
28624 * configure: Regenerated.
28625 * sysdeps/i386/configure: Regenerated.
28626 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28627 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28628 * sysdeps/s390/s390-32/configure: Regenerated.
28629 * sysdeps/s390/s390-64/configure: Regenerated.
28630 * sysdeps/sh/configure: Regenerated.
28631 * sysdeps/sparc/configure: Regenerated.
28632 * sysdeps/x86_64/configure: Regenerated.
28634 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28638 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28639 denormal result into account.
28641 2012-03-25 Roland McGrath <roland@hack.frob.com>
28643 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28644 Reported by Allan McRae <allan@archlinux.org>.
28646 2012-03-23 Jeff Law <law@redhat.com>
28648 * nss/getnssent.c (__nss_getent): Fix typo.
28650 2012-03-23 David S. Miller <davem@davemloft.net>
28652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28654 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28656 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28657 to pad to uint64_t for each field.
28658 (dl_tls_index): Replace unsigned long with uint64_t.
28660 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28661 Paul Pluzhnikov <ppluzhnikov@google.com>
28664 * grp/Makefile (otherlibs): Don't set it.
28665 * inet/Makefile (otherlibs): Likewise.
28666 * login/Makefile (otherlibs): Likewise.
28667 * nscd/Makefile (otherlibs): Likewise.
28668 * posix/Makefile (otherlibs): Likewise.
28669 * pwd/Makefile (otherlibs): Likewise.
28670 * rt/Makefile (otherlibs): Likewise.
28671 * sunrpc/Makefile (otherlibs): Likewise.
28672 * nss/Makefile (otherlibs): Likewise.
28673 Add libnss_files to routines and static-only-routines.
28674 ($(objpfx)getent): Remove rule.
28675 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28676 static-only-routines.
28678 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28681 * math/s_cexp.c: Include <float.h>.
28682 (__cexp): Handle exp result overflowing not necessarily
28683 overflowing both real and imaginary parts of result.
28684 * math/s_cexpf.c: Likewise.
28685 * math/s_cexpl.c: Likewise.
28686 * math/libm-test.inc (cexp_test): Add more tests.
28687 * sysdeps/i386/fpu/libm-test-ulps: Update.
28688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28690 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28692 * include/link.h (ELFW): New macro.
28693 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28694 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28696 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28698 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28701 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28703 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28705 (struct La_x32_retval): Likewise.
28707 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28709 * sysdeps/x86_64/preconfigure.in: New file.
28710 * sysdeps/x86_64/preconfigure: New generated file.
28712 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28715 * math/e_exp2l.c: Include <float.h>.
28716 (__ieee754_exp2l): Handle overflow and underflow cases
28717 separately. Only pass fractional part of argument to
28719 * math/libm-test.inc (exp2_test): Add more tests.
28721 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28722 negating x to take absolute value.
28723 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28728 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28729 computing low part if x was negated.
28730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28732 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28734 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28735 la_x32_gnu_pltexit.
28736 (pltexit): Cast int_retval to ptrdiff_t.
28737 * elf/tst-auditmod3b.c: Likewise.
28738 * elf/tst-auditmod4b.c: Likewise.
28739 * elf/tst-auditmod5b.c: Likewise.
28740 * elf/tst-auditmod6b.c: Likewise.
28741 * elf/tst-auditmod6c.c: Likewise.
28742 * elf/tst-auditmod7b.c: Likewise.
28744 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28745 and x32_gnu_pltexit.
28747 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28748 __ELF_NATIVE_CLASS.
28749 (La_x32_regs): New macro.
28750 (La_x32_retval): Likewise.
28751 (la_x32_gnu_pltenter): New function prototype.
28752 (la_x32_gnu_pltexit): Likewise.
28754 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28761 * configure.in (libc_cv_cc_nofma): Check for option to disable
28762 generation of FMA instructions.
28763 * configure: Regenerate.
28764 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28765 * sysdeps/ieee754/dbl-64/Makefile: New file.
28766 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28767 Remove brandred-fma4.
28768 (CFLAGS-brandred-fma4.c): Remove.
28769 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28770 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28775 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28777 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28778 LLONG_MAX != LONG_MAX.
28779 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28780 (_fitoa_word): Likewise.
28781 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28782 LLONG_MAX != LONG_MAX.
28783 * stdio-common/_itowa.h: Include <_itoa.h>.
28784 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28785 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28786 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28787 only if not defined.
28788 (_ITOA_WORD_TYPE): Likewise.
28789 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28790 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28792 2012-03-21 David S. Miller <davem@davemloft.net>
28794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28796 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28798 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28799 of x86_64 when setting libc_cv_slibdir, libdir and
28801 * sysdeps/unix/sysv/linux/configure: Regenerated.
28803 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28805 * manual/lang.texi (Old Varargs): Remove section.
28806 (How Variadic): Update menu.
28807 (va_start): Do not mention varargs.h.
28809 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28810 Joseph Myers <joseph@codesourcery.com>
28812 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28814 * configure: Regenerated.
28816 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28818 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28819 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28822 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28825 * Makefile (files-for-dist): Remove NOTES.
28826 (NOTES): Remove rule.
28827 * README: Don't refer to NOTES.
28828 * manual/creature.texi: Don't include macros.texi.
28829 * manual/intro.texi (creature.texi): Remove comment referring to
28832 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28833 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28834 * configure: Regenerated.
28835 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28836 LIBC_TRY_CC_OPTION.
28837 (libc_cv_as_i686): Likewise.
28838 (libc_cv_cc_avx): Likewise.
28839 (libc_cv_cc_sse2avx): Likewise.
28840 (libc_cv_cc_fma4): Likewise.
28841 (libc_cv_cc_novzeroupper): Likewise.
28842 * sysdeps/i386/configure: Regenerated.
28845 * sysdeps/i386/fpu/s_cexp.S: Remove.
28846 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28847 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28848 * math/libm-test.inc (cexp_test): Add more tests.
28849 * sysdeps/i386/fpu/libm-test-ulps: Update.
28850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28852 2012-03-21 Allan McRae <allan@archlinux.org>
28854 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28856 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28859 * math/w_exp2.c: Do not include <float.h>.
28860 (o_threshold, u_threshold): Remove.
28861 (__exp2): Calculate result before checking finiteness and calling
28863 * math/w_exp2f.c: Likewise.
28864 * math/w_exp2l.c: Likewise.
28865 * math/libm-test.inc (exp2_test): Require overflow exception for
28869 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28870 range of signed 64-bit integers before using fistpll. Remove
28871 checks for whether integers fit in mantissa bits.
28872 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28873 the range of signed 32-bit integers before using fistpl. Remove
28874 checks for whether integers fit in mantissa bits.
28875 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28876 (__ieee754_powl): Test for y outside the range of signed 64-bit
28877 integers before using fistpll. Reduce 64-bit values to 63-bit
28879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28880 divide-by-zero is raised for zero to large negative powers.
28881 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28882 (__ieee754_powl): Test for y outside the range of signed 64-bit
28883 integers before using fistpll. Reduce 64-bit values to 63-bit
28885 * math/libm-test.inc (pow_test): Add more tests.
28887 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28889 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28890 <stdio-common/_itoa.h>.
28891 * debug/segfault.c: Likewise.
28892 * elf/dl-cache.c: Likewise.
28893 * elf/dl-minimal.c: Likewise.
28894 * elf/dl-misc.c: Likewise.
28895 * elf/dl-sysdep.c: Likewise.
28896 * elf/dl-version.c: Likewise.
28897 * elf/rtld.c: Likewise.
28898 * hurd/hurdsock.c: Likewise.
28899 * hurd/lookup-retry.c: Likewise.
28900 * malloc/malloc.c: Likewise.
28901 * malloc/mtrace.c: Likewise.
28902 * nscd/nscd_getgr_r.c: Likewise.
28903 * nscd/nscd_getpw_r.c: Likewise.
28904 * nscd/nscd_getserv_r.c: Likewise.
28905 * posix/getopt_init.c: Likewise.
28906 * posix/wordexp.c: Likewise.
28907 * stdio-common/_itoa.c: Likewise.
28908 * stdio-common/printf_fphex.c: Likewise.
28909 * stdio-common/vfprintf.c: Likewise.
28910 * string/_strerror.c: Likewise.
28911 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28912 * sysdeps/i386/i686/hp-timing.h: Likewise.
28913 * sysdeps/mach/_strerror.c: Likewise.
28914 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28915 * sysdeps/mach/hurd/sethostid.c: Likewise.
28916 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28917 * sysdeps/mach/xpg-strerror.c: Likewise.
28918 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28919 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28920 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28921 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28922 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28923 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28924 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28925 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28926 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28927 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28928 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28929 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28930 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28931 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28932 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28933 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28934 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28935 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28936 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28937 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28938 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28940 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28942 * stdio-common/_itoa.h: Moved to ...
28943 * sysdeps/generic/_itoa.h: Here.
28945 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28947 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28948 instead of "_itoa.h" and "_itowa.h".
28949 * stdio-common/vfprintf.: Likewise.
28951 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28953 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28955 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28956 (__signbit): Likwise.
28957 (llrintf): Likwise.
28960 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28962 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28965 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28967 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28968 OVERFLOW_EXCEPTION_OK.
28969 * math/libm-test.inc ("Philosophy"): Update comment about
28971 (OVERFLOW_EXCEPTION): Define.
28972 (OVERFLOW_EXCEPTION_OK): Likewise.
28973 (INVALID_EXCEPTION_OK): Renumber.
28974 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28975 (IGNORE_ZERO_INF_SIGN): Likewise.
28976 (test_exceptions): Handle FE_OVERFLOW.
28977 (exp10_test): Expect overflow exceptions.
28978 (exp2_test): Likewise.
28979 (expm1_test): Likewise.
28980 (nextafter_test): Likewise.
28981 (pow_test): Likewise.
28982 (scalbn_test): Likewise.
28983 (scalbln_test): Likewise.
28985 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28987 * sysdeps/x86_64/bits/atomic.h
28988 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28990 (atomic_exchange_acq): Likewise.
28991 (__arch_exchange_and_add_body): Likewise.
28992 (__arch_add_body): Likewise.
28993 (atomic_add_negative): Likewise.
28994 (atomic_add_zero): Likewise.
28996 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28998 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28999 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29001 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29004 Check __x86_64__ instead of __WORDSIZE.
29006 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29008 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29010 2012-03-19 David S. Miller <davem@davemloft.net>
29012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29014 * sysdeps/sparc/fpu/fenv_private.h: New file.
29015 * sysdeps/sparc/fpu/math_private.h: Use it.
29016 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29018 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29019 (libc_feholdexcept_setroundl): Remove.
29020 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29022 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29023 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29025 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29027 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29028 int64_t instead of long int.
29029 (INSERT_WORDS64): Likwise.
29031 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29033 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29034 _Unwind_GetCFA return to _Unwind_Ptr first.
29036 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29039 * math/s_clog.c: Include <float.h>.
29040 (__clog): Scale large or subnormal inputs.
29041 * math/s_clogf.c: Likewise.
29042 * math/s_clogl.c: Likewise.
29043 * math/s_clog10.c: Include <float.h>.
29044 (M_LOG10_2): Define.
29045 (__clog10): Scale large or subnormal inputs.
29046 * math/s_clog10f.c: Likewise.
29047 * math/s_clog10l.c: Likewise.
29048 * math/libm-test.inc (clog_test): Add more tests.
29049 (clog10_test): Likewise.
29050 * sysdeps/i386/fpu/libm-test-ulps: Update.
29051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29056 * math/libm-test.inc (atan2_test): Add another test.
29058 * Makerules (common-objdir-compile): Remove.
29059 * sysdeps/unix/Makefile (config-generated): Do not add
29060 $(unix-generated) to variable.
29061 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29062 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29064 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29066 [generic bits/local_lim.h] (before-compile): Do not append to
29068 [generic bits/local_lim.h] (common-generated): Likewise.
29069 [generic sys/param.h] (before-compile): Do not append to variable.
29070 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29071 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29072 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29073 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29075 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29076 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29077 [generic sys/param.h] ($(addprefix
29078 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29079 [generic sys/param.h] (common-generated): Do not append to
29081 [generic sys/param.h] (sysdep_headers): Likewise.
29082 [generic bits/errno.h] (before-compile): Do not append to
29084 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29086 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29087 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29088 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29089 [generic bits/errno.h] (common-generated): Do not append to
29091 [generic bits/ioctls.h] (before-compile): Do not append to
29093 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29095 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29096 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29097 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29099 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29100 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29101 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29102 [generic bits/ioctls.h] (common-generated): Do not append to
29104 [generic sys/syscall.h] (syscall.h): Remove variable.
29105 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29107 [generic sys/syscall.h] (before-compile): Do not append to
29109 [generic sys/syscall.h] (common-generated): Likewise.
29110 * sysdeps/unix/errnos-tmpl.c: Remove file.
29111 * sysdeps/unix/errnos.awk: Likewise.
29112 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29113 * sysdeps/unix/ioctls.awk: Likewise.
29114 * sysdeps/unix/mk-local_lim.c: Likewise.
29115 * sysdeps/unix/snarf-ioctls: Likewise.
29117 2012-03-19 Richard Henderson <rth@twiddle.net>
29119 * sysdeps/i386/fpu/fenv_private.h: New file.
29120 * sysdeps/i386/fpu/math_private.h: Use it.
29121 (math_opt_barrier, math_force_eval): Remove.
29122 (libc_feholdexcept_setround_53bit): Remove.
29123 (libc_feupdateenv_53bit): Remove.
29124 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29125 (math_opt_barrier, math_force_eval): Remove.
29126 (libc_feholdexcept): Remove.
29127 (libc_feholdexcept_setround): Remove.
29128 (libc_fetestexcept, libc_fesetenv): Remove.
29129 (libc_feupdateenv_test): Remove.
29130 (libc_feupdateenv, libc_feholdsetround): Remove.
29131 (libc_feresetround): Remove.
29133 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29134 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29136 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29137 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29138 (libc_feupdateenv_testl): New.
29139 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29140 (libc_feupdateenv_testf): New.
29141 (libc_feupdateenv): Use libc_feupdateenv_test.
29142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29143 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29145 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29146 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29147 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29148 (libc_feresetround_noex): New.
29149 (libc_feresetround_noexf): New.
29150 (libc_feresetround_noexl): New.
29151 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29152 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29153 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29154 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29156 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29159 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29160 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29161 SET_RESTORE_ROUND_NOEX.
29162 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29163 SET_RESTORE_ROUND_NOEXF.
29164 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29165 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29166 (libc_feholdsetroundf): New.
29167 (libc_feresetround, libc_feresetroundf): New.
29169 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29170 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29171 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29173 * sysdeps/generic/math_private.h: Include <fenv.h>.
29174 (default_libc_feholdexcept): New.
29175 (default_libc_feholdexcept_setround): New.
29176 (default_libc_fesetenv, default_libc_feupdateenv): New.
29177 (libc_feholdexcept): Only define if undefined.
29178 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29179 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29180 (libc_feholdexcept_setroundl): Likewise.
29181 (libc_feholdexcept_setround_53bit): Likewise.
29182 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29183 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29184 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29185 (libc_feupdateenv_53bit): Likewise.
29186 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29187 (libc_feholdexcept): Convert from macro to inline function.
29188 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29189 (libc_fesetenv, libc_feupdateenv): Likewise.
29191 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29192 not previously defined.
29193 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29194 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29195 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29196 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29197 * sysdeps/ieee754/flt-32/math_private.h: New file.
29198 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29199 math_private.h below SET_FLOAT_WORD.
29200 (__isnan, __isinf_ns, __finite): Remove.
29201 (__isnanf, __isinf_nsf, __finitef): Remove.
29203 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29207 2012-03-17 David S. Miller <davem@davemloft.net>
29210 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29213 2012-03-16 David S. Miller <davem@davemloft.net>
29215 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29219 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29221 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29222 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29223 sysdep_routines when subdir is sysvipc.
29224 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29225 __getshmlba helper.
29227 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29229 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29231 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29234 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29236 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29237 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29238 (__lround): Renamed to ...
29239 (__llround): This. Replace long int with long long int.
29240 Define lround functions as aliases of llround functions.
29241 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29243 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29245 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29246 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29247 adresses to uintptr_t. Replace "long int" and "unsigned long
29248 int" with "greg_t" on va_arg.
29250 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29252 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29253 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29255 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29256 Move e_machine check before EI_CLASS check. Handle x32
29257 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29258 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29259 SKIP_EM_IA_64 and include
29260 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29262 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29263 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29264 (add_system_dir): New macro.
29266 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29267 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29269 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29280 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29282 * math/w_j0f.c (j0f): Likewise.
29284 * math/w_j0l.c (__j0l): Likewise.
29286 * math/w_j1.c (j1): Likewise.
29288 * math/w_j1f.c (j1f): Likewise.
29290 * math/w_j1l.c (__j1l): Likewise.
29292 * math/w_jn.c (jn): Likewise.
29294 * math/w_jnf.c (jnf): Likewise.
29296 * math/w_jnl.c (__jnl): Likewise.
29298 * math/libm-test.inc (j0_test): Add more tests.
29299 (j1_test): Likewise.
29300 (jn_test): Likewise. Add trailing semicolon to existing test.
29301 (y0_test): Likewise.
29302 (y1_test): Likewise.
29303 * sysdeps/i386/fpu/libm-test-ulps: Update.
29304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29308 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29309 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29310 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29311 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29312 (__tanl): Set errno for infinite argument.
29313 * sysdeps/i386/fpu/mptan.c: Remove.
29314 * sysdeps/i386/fpu/s_tan.S: Likewise.
29315 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29316 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29317 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29318 * math/libm-test.inc (tan_test): Add more tests and enable more
29319 tests for double and long double.
29320 * sysdeps/i386/fpu/libm-test-ulps: Update.
29321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29323 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29325 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29326 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29328 2012-03-16 Roland McGrath <roland@hack.frob.com>
29330 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29331 * configure.in: Use it for both main tree and add-ons.
29332 * configure: Regenerated.
29334 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29336 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29338 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29340 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29344 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29345 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29350 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29352 != 0 for prec == 2.
29353 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29354 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29355 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29356 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29357 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29358 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29359 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29360 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29361 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29362 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29363 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29364 * math/libm-test.inc (cos_test): Add more tests and enable more
29365 tests for long double.
29366 (sin_test): Likewise.
29367 (sincos_test): Likewise.
29368 * sysdeps/i386/fpu/libm-test-ulps: Update.
29369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29371 2012-03-16 David S. Miller <davem@davemloft.net>
29373 * sysdeps/sparc/fpu/math_private.h: New file.
29375 2012-03-15 David S. Miller <davem@davemloft.net>
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29391 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29392 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29394 * sysdeps/sparc/sparc-ifunc.h: New file.
29395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29438 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29440 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29442 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29446 2012-03-15 Andreas Jaeger <aj@suse.de>
29449 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29450 ieee754/flt-32 implementation for sin, cos and sincos.
29451 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29452 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29453 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29454 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29455 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29456 ieee754/flt-32 implementation for tan.
29458 * math/libm-test.inc (cos_test): Enable some large input tests for
29460 (sin_test): Likewise.
29461 (sincos_test): Likewise.
29462 (tan_test): Add tests for large input.
29464 * sysdeps/i386/fpu/libm-test-ulps: Update.
29466 2012-03-15 Andreas Jaeger <aj@suse.de>
29469 * math/libm-test.inc (cos_test): Add more test cases.
29470 (sin_test): Likewise.
29471 (sincos_test): Likewise.
29473 2012-03-15 Andreas Jaeger <aj@suse.de>
29476 * math/libm-test.inc (cos_test): Add a test case for large input
29478 (sin_test): Likewise.
29479 (sincos_test): Likewise.
29481 2012-03-15 Andreas Jaeger <aj@suse.de>,
29482 Joseph Myers <joseph@codesourcery.com>
29485 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29486 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29487 * sysdeps/i386/fpu/branred.c: Likewise.
29488 * sysdeps/i386/fpu/dosincos.c: Likewise.
29489 * sysdeps/i386/fpu/mpa.c: Likewise.
29490 * sysdeps/i386/fpu/s_cos.S: Likewise.
29491 * sysdeps/i386/fpu/s_sin.S: Likewise.
29492 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29493 * sysdeps/i386/fpu/sincos32.c: Likewise.
29495 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29497 (libc_feupdateenv_53bit): Define.
29498 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29500 (libc_feupdateenv_53bit): Define.
29502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29503 53 bit (without extend i386 double precision).
29505 * math/libm-test.inc (sincos_test): Add tests for large input.
29509 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29511 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29515 2012-03-15 David S. Miller <davem@davemloft.net>
29517 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29518 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29519 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29520 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29545 fmin/fmax sysdep routines.
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29548 2012-03-14 David S. Miller <davem@davemloft.net>
29550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29622 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29627 * sysdeps/sparc/configure.in: New file.
29628 * sysdeps/sparc/configure: Generate.
29629 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29630 * configure: Regenerate.
29631 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29632 * config.make.in (have-as-vis3): New.
29633 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29634 available use -Av9d instead of -Av9a.
29635 * sysdeps/sparc/sparc64/Makefile: Likewise.
29636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29651 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29652 fzeros/fnegs to load 0x80000000 into a float register instead of
29654 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29656 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29660 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29661 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29662 ($(inst_includedir)/bits/syscall.h): Remove rule.
29663 ($(objpfx)bits/syscall.d): Include instead of
29664 $(objpfx)syscall-list.d.
29665 (generated): Change syscall-list.h and syscall-list.d to
29666 bits/syscall.h and bits/syscall.d.
29668 2012-03-14 Roland McGrath <roland@hack.frob.com>
29671 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29673 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29676 * math/s_csqrt.c: Include <float.h>.
29677 (__csqrt): Scale large or subnormal inputs.
29678 * math/s_csqrtf.c: Likewise.
29679 * math/s_csqrtl.c: Likewise.
29680 * math/libm-test.inc (csqrt_test): Add more tests.
29681 * sysdeps/i386/fpu/libm-test-ulps: Update.
29682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29685 * math/libm-test.inc (hypot_test): Add more tests.
29687 2012-03-13 David S. Miller <davem@davemloft.net>
29690 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29691 double-precision for the calculation instead of scaling.
29693 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29695 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29696 manipulate bits before adding and subtracting TWO52[sx].
29697 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29702 2012-03-13 David S. Miller <davem@davemloft.net>
29704 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29705 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29707 rtld-global-offsets.h
29708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29710 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29713 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29715 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29716 'err' in the ifdef scope in which it is actually used.
29718 * nss/nss_db/db-init.c: Include string.h
29720 2012-03-12 David S. Miller <davem@davemloft.net>
29722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29723 masking out of the most significant byte of random value used.
29724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29725 Fix coding style in previous change.
29727 * sysdeps/unix/sysv/linux/kernel-features.h
29728 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29729 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29731 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29734 2012-03-11 David S. Miller <davem@davemloft.net>
29736 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29737 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29738 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29739 for 'resultvar' otherwise things get truncated on 64-bit.
29741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29742 Fix masking out of the most significant byte of random value used.
29744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29746 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29750 2012-03-09 David S. Miller <davem@davemloft.net>
29752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29753 variables with appropriate CPP guards.
29754 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29755 frame pointer, not the stack pointer. Correct layout comments. Fix test
29756 on resulting framesize and the management of the outregs buffer for pltexit.
29757 Preserve floating point return values across _dl_call_pltexit call.
29758 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29759 framesize and the management of the outregs buffer for pltexit.
29760 Preserve floating point return values across _dl_call_pltexit
29762 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29763 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29764 (print_exit): Fix format string for return register value.
29766 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29768 * sunrpc/Makefile (others): Add rpcgen.
29769 ($(objpfx)rpcgen): Remove special build rule and dependency on
29771 * sunrpc/rpcgen.c: New file.
29773 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29776 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29777 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29778 * sysdeps/i386/crti.S: Likewise.
29779 * sysdeps/i386/crtn.S: Likewise.
29780 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29781 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29782 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29783 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29784 * sysdeps/sh/crti.S: Likewise.
29785 * sysdeps/sh/crtn.S: Likewise.
29786 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29789 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29791 * locale/programs/locfile-kw.gperf: Likewise.
29792 * locale/programs/charmap-kw.h: Regenerated.
29793 * locale/programs/locfile-kw.h: Likewise.
29796 * intl/plural.y: Replace FSF snail mail address with URL.
29797 * intl/plural.c: Regenerated.
29799 2012-03-09 Richard Henderson <rth@twiddle.net>
29801 * include/math_private.h: Remove file.
29802 * math/math_private.h: Move file ...
29803 * sysdeps/generic/math_private.h: ... here.
29805 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29806 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29809 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29810 and <math_private.h>.
29811 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29812 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29813 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29814 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29815 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29816 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29846 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29851 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29881 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29883 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29885 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29899 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29901 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29902 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29903 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29904 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29905 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29906 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29907 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29908 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29909 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29910 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29911 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29912 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29913 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29914 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29915 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29916 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29918 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29919 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29921 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29923 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29924 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29925 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29926 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29930 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29931 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29933 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29937 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29938 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29939 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29940 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29941 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29942 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29943 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29944 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29945 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29946 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29947 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29948 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29949 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29950 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29951 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29952 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29953 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29954 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29955 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29956 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29957 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29958 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29959 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29960 * sysdeps/ieee754/k_standard.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30034 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30036 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30038 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30043 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30044 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30046 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30051 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30052 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30060 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30062 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30063 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30064 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30065 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30066 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30067 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30072 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30073 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30075 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30076 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30078 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30079 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30080 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30081 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30082 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30083 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30084 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30085 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30086 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30088 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30089 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30090 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30095 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30101 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30105 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30106 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30109 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30110 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30112 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30114 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30117 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30118 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30119 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30120 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30121 * sysdeps/ieee754/s_lib_version.c: Likewise.
30122 * sysdeps/ieee754/s_matherr.c: Likewise.
30123 * sysdeps/ieee754/s_signgam.c: Likewise.
30124 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30125 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30126 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30127 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30128 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30129 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30130 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30131 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30132 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30133 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30134 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30135 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30136 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30137 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30138 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30139 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30140 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30141 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30142 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30144 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30146 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30148 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30149 * sunrpc/rpc_main.c: Likewise.
30150 * sunrpc/rpc_svcout.c: Likewise.
30152 2012-03-09 David S. Miller <davem@davemloft.net>
30154 * include/math_private.h: New file.
30156 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30158 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30159 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30160 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30161 from <bits/socket_type.h>.
30162 (enum __socket_type): Don't define here.
30163 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30165 bits/socket_type.h.
30168 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30169 checking __USE_GNU.
30171 * Makerules ($(inst_includedir)/%.h): New rule.
30172 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30173 (install-others): Remove variable setting.
30174 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30176 2012-03-08 Richard Henderson <rth@twiddle.net>
30178 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30179 from macro to inline function; merge with the
30180 !__LIBC_INTERNAL_MATH_INLINES version.
30181 (__ieee754_sqrtf): Likewise.
30183 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30184 to inline function.
30185 (__rintf, __floor, __floorf): Likewise.
30187 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30188 macro to inline function.
30189 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30192 not <math/math_private.h>.
30194 2012-03-08 David S. Miller <davem@davemloft.net>
30196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30198 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30200 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30202 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30204 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30205 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30207 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30209 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30210 be defined individually, they must be defined as a block. Define
30211 S for printing a string instead of hidint the different by using a
30212 macro for adding the 'l'.
30213 * stdio-common/tst-fphex-wide.c: Adjust.
30215 2012-03-07 Marek Polacek <polacek@redhat.com>
30217 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30219 2012-03-08 Marek Polacek <polacek@redhat.com>
30222 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30223 * stdio-common/tst-fphex.c: Define a few macros to make the
30224 test reusable. Use them.
30225 * stdio-common/tst-fphex-wide.c: New file.
30227 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30230 * manual/macros.texi (gnusystems): New macro.
30231 (nongnusystems): Likewise.
30232 (gnulinuxhurdsystems): Likewise.
30233 (gnuhurdsystems): Likewise..
30234 (gnulinuxsystems): Likewise.
30235 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30236 variants of the GNU system, not "GNU system".
30237 * manual/conf.texi: Likewise.
30238 * manual/errno.texi: Likewise. Update example of errno macro
30240 * manual/filesys.texi: Likewise.
30241 (getumask): Document as specific to GNU/Hurd.
30242 * manual/install.texi: Likewise. Reword some references to
30244 * manual/intro.texi: Likewise.
30245 * manual/io.texi: Likewise.
30246 (File Name Portability): Detail which constraints are inapplicable
30247 to all GNU systems and which are only inapplicable to GNU/Hurd.
30248 * manual/job.texi: Likewise.
30249 * manual/llio.texi: Likewise.
30250 (O_NOCTTY): Document as present on GNU/Linux.
30251 * manual/maint.texi: Likewise.
30252 * manual/memory.texi: Likewise.
30253 * manual/pattern.texi: Likewise.
30254 * manual/pipe.texi: Likewise.
30255 * manual/process.texi: Likewise.
30256 * manual/resource.texi: Likewise.
30257 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30259 * manual/setjmp.texi: Likewise.
30260 * manual/signal.texi: Likewise.
30261 * manual/startup.texi: Likewise.
30262 * manual/stdio.texi: Likewise.
30263 * manual/terminal.texi: Likewise.
30264 (ONLCR): Document as POSIX.
30265 (OXTABS): Document availability on GNU/Linux as XTABS.
30266 (ONOEOT): Document availability separately from other bits.
30267 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30268 * manual/time.texi: Likewise.
30269 * manual/users.texi: Likewise.
30270 * INSTALL: Regenerated.
30271 * sysdeps/gnu/errlist.c: Regenerated.
30273 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30274 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30275 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30277 * configure: Regenerated.
30279 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30281 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30282 default includes instead of AC_HEADER_CHECK.
30283 * sysdeps/i386/configure: Regenerated.
30286 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30287 * math/s_cacoshf.c (__cacoshf): Likewise.
30288 * math/s_cacoshl.c (__cacoshl): Likewise.
30289 * math/s_casinh.c (__casinh): Set signs of result from argument.
30290 * math/s_casinhf.c (__casinhf): Likewise.
30291 * math/s_casinhl.c (__casinhl): Likewise.
30292 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30293 (casinh_test): Add more tests.
30294 * sysdeps/i386/fpu/libm-test-ulps: Update.
30295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30297 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30299 * po/zh_TW.po: Update from translation team.
30301 * login/Makefile (distribute): Remove variable.
30302 * catgets/Makefile: Likewise.
30303 * mach/Makefile: Likewise.
30304 * malloc/Makefile: Likewise.
30305 * misc/Makefile: Likewise.
30306 * iconv/Makefile: Likewise.
30307 * nscd/Makefile: Likewise.
30308 * hurd/Makefile: Likewise.
30309 * manual/Makefile: Likewise.
30310 * locale/Makefile: Likewise.
30311 * intl/Makefile: Likewise.
30312 * conform/Makefile: Likewise.
30313 * nss/Makefile: Likewise.
30314 * time/Makefile: Likewise.
30315 * soft-fp/Makefile: Likewise.
30316 * dirent/Makefile: Likewise.
30317 * gmon/Makefile: Likewise.
30318 * po/Makefile: Likewise.
30319 * rt/Makefile: Likewise.
30320 * socket/Makefile: Likewise.
30321 * math/Makefile: Likewise.
30322 * signal/Makefile: Likewise.
30323 * debug/Makefile: Likewise.
30324 * elf/Makefile: Likewise.
30325 * timezone/Makefile: Likewise.
30326 * stdlib/Makefile: Likewise.
30327 * iconvdata/Makefile: Likewise.
30328 * sunrpc/Makefile: Likewise.
30329 * io/Makefile: Likewise.
30330 * argp/Makefile: Likewise.
30331 * inet/Makefile: Likewise.
30332 * hesiod/Makefile: Likewise.
30333 * grp/Makefile: Likewise.
30334 * csu/Makefile: Likewise.
30335 * wctype/Makefile: Likewise.
30336 * crypt/Makefile: Likewise.
30337 * libio/Makefile: Likewise.
30338 * string/Makefile: Likewise.
30339 * nis/Makefile: Likewise.
30340 * resolv/Makefile: Likewise.
30341 * stdio-common/Makefile: Likewise.
30342 * wcsmbs/Makefile: Likewise.
30343 * dlfcn/Makefile: Likewise.
30344 * posix/Makefile: Likewise.
30347 * timezone/Makefile: Don't install timezone files, just the programs
30350 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30352 * nss/databases.def: Add missing gshadow entry.
30354 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30356 2012-03-06 Marek Polacek <polacek@redhat.com>
30359 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30360 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30361 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30362 * stdio-common/tst-long-dbl-fphex.c: New file.
30364 2012-03-06 David S. Miller <davem@davemloft.net>
30366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30367 (set_obp_int): New function.
30368 (get_obp_int): New function.
30369 (__get_clockfreq_via_dev_openprom): Likewise.
30370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30371 Avoid unused variable warnings on 'val' and use builtin_expect.
30372 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30374 (INLINE_CLONE_SYSCALL): Likewise.
30376 2012-03-05 David S. Miller <davem@davemloft.net>
30378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30380 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30384 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30385 only for |x| >= 40.
30386 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30388 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30391 Replace gettimeofday with __vdso_gettimeofday.
30393 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30394 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30395 __vdso_clock_gettime and __vdso_getcpu.
30397 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30398 time with __vdso_time.
30400 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30402 * manual/lang.texi (size_t): Note types to which size_t may be
30403 equivalent with the GNU C Library, but do not describe when
30404 differences between them are significant.
30406 2012-03-05 Andreas Jaeger <aj@suse.de>
30408 * sysdeps/i386/fpu/libm-test-ulps: Update.
30410 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30413 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30414 (__ieee754_pow): Save and restore rounding mode and use
30415 round-to-nearest for main computations.
30416 * math/libm-test.inc (pow_test_tonearest): New function.
30417 (pow_test_towardzero): Likewise.
30418 (pow_test_downward): Likewise.
30419 (pow_test_upward): Likewise.
30420 (main): Call the new functions.
30421 * sysdeps/i386/fpu/libm-test-ulps: Update.
30422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30425 * math/libm-test.inc (cosh_test_tonearest): New function.
30426 (cosh_test_towardzero): Likewise.
30427 (cosh_test_downward): Likewise.
30428 (cosh_test_upward): Likewise.
30429 (sinh_test_tonearest): Likewise.
30430 (sinh_test_towardzero): Likewise.
30431 (sinh_test_downward): Likewise.
30432 (sinh_test_upward): Likewise.
30433 (main): Call the new functions.
30434 * sysdeps/i386/fpu/libm-test-ulps: Update.
30435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30437 2012-03-05 Tom de Vries <tom@codesourcery.com>
30439 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30440 default stack guard is set in last bytes.
30441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30443 2012-03-05 Kees Cook <keescook@chromium.org>
30445 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30448 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30449 possibly allocate from heap instead of stack.
30450 * stdio-common/bug-vfprintf-nargs.c: New file.
30451 * stdio-common/Makefile (tests): Add nargs overflow test.
30453 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30457 2012-03-03 Marek Polacek <polacek@redhat.com>
30459 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30460 * math/math_private.h: Likewise.
30461 * stdlib/tst-strtod.c: Likewise.
30462 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30463 * sysdeps/x86_64/bits/atomic.h: Likewise.
30465 2012-03-02 David S. Miller <davem@davemloft.net>
30467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30471 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30472 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30473 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30474 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30476 2012-03-02 Roland McGrath <roland@hack.frob.com>
30479 * manual/examples/README: New file, says the example source files
30480 can be used under GPL>=2.
30481 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30482 line containing just "*/".
30483 * manual/examples/add.c: Add copyright header (GPL>=2).
30484 * manual/examples/argp-ex1.c: Likewise.
30485 * manual/examples/argp-ex2.c: Likewise.
30486 * manual/examples/argp-ex3.c: Likewise.
30487 * manual/examples/argp-ex4.c: Likewise.
30488 * manual/examples/atexit.c: Likewise.
30489 * manual/examples/db.c: Likewise.
30490 * manual/examples/dir.c: Likewise.
30491 * manual/examples/dir2.c: Likewise.
30492 * manual/examples/execinfo.c: Likewise.
30493 * manual/examples/filecli.c: Likewise.
30494 * manual/examples/filesrv.c: Likewise.
30495 * manual/examples/fmtmsgexpl.c: Likewise.
30496 * manual/examples/genpass.c: Likewise.
30497 * manual/examples/inetcli.c: Likewise.
30498 * manual/examples/inetsrv.c: Likewise.
30499 * manual/examples/isockad.c: Likewise.
30500 * manual/examples/longopt.c: Likewise.
30501 * manual/examples/memopen.c: Likewise.
30502 * manual/examples/memstrm.c: Likewise.
30503 * manual/examples/mkfsock.c: Likewise.
30504 * manual/examples/mkisock.c: Likewise.
30505 * manual/examples/mygetpass.c: Likewise.
30506 * manual/examples/pipe.c: Likewise.
30507 * manual/examples/popen.c: Likewise.
30508 * manual/examples/rprintf.c: Likewise.
30509 * manual/examples/search.c: Likewise.
30510 * manual/examples/select.c: Likewise.
30511 * manual/examples/setjmp.c: Likewise.
30512 * manual/examples/sigh1.c: Likewise.
30513 * manual/examples/sigusr.c: Likewise.
30514 * manual/examples/stpcpy.c: Likewise.
30515 * manual/examples/strdupa.c: Likewise.
30516 * manual/examples/strftim.c: Likewise.
30517 * manual/examples/strncat.c: Likewise.
30518 * manual/examples/subopt.c: Likewise.
30519 * manual/examples/swapcontext.c: Likewise.
30520 * manual/examples/termios.c: Likewise.
30521 * manual/examples/testopt.c: Likewise.
30522 * manual/examples/testpass.c: Likewise.
30523 * manual/examples/timeval_subtract.c: Likewise.
30526 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30528 * manual/timeval_subtract.c.texi: ... here, new file.
30530 2012-03-02 David S. Miller <davem@davemloft.net>
30532 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30534 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30538 (__sin): Save and restore rounding mode and use round-to-nearest
30539 for all computations.
30540 (__cos): Save and restore rounding mode and use round-to-nearest
30541 for all computations.
30542 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30544 (tan): Save and restore rounding mode and use round-to-nearest for
30546 * math/libm-test.inc (cos_test_tonearest): New function.
30547 (cos_test_towardzero): Likewise.
30548 (cos_test_downward): Likewise.
30549 (cos_test_upward): Likewise.
30550 (sin_test_tonearest): Likewise.
30551 (sin_test_towardzero): Likewise.
30552 (sin_test_downward): Likewise.
30553 (sin_test_upward): Likewise.
30554 (tan_test_tonearest): Likewise.
30555 (tan_test_towardzero): Likewise.
30556 (tan_test_downward): Likewise.
30557 (tan_test_upward): Likewise.
30558 (main): Call the new functions.
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30563 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30564 small n, then large n, before computing and testing k+n.
30565 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30566 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30570 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30571 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30572 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30573 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30576 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30577 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30578 * math/libm-test.inc (scalbn_test): Add more tests.
30579 (scalbln_test): Likewise.
30581 * manual/filesys.texi (mode_t): Describe constraints on size and
30582 signedness, not exact equivalence to a particular type.
30584 (ino64_t): Likewise.
30586 (nlink_t): Likewise.
30587 (blkcnt_t): Likewise.
30588 (blkcnt64_t): Likewise.
30589 * manual/llio.texi (off_t): Likewise.
30592 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30593 (__ieee754_exp): Save and restore rounding mode and use
30594 round-to-nearest for all computations.
30595 * math/libm-test.inc (exp_test_tonearest): New function.
30596 (exp_test_towardzero): Likewise.
30597 (exp_test_downward): Likewise.
30598 (exp_test_upward): Likewise.
30599 (main): Call the new functions.
30600 * sysdeps/i386/fpu/libm-test-ulps: Update.
30601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30603 2012-03-01 Chris Demetriou <cgd@google.com>
30605 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30606 have predictable order.
30608 2012-03-01 David S. Miller <davem@davemloft.net>
30610 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30612 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30613 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30614 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30615 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30617 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30618 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30619 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30621 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30622 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30623 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30624 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30625 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30630 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30631 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30633 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30634 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30635 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30636 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30637 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30638 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30639 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30640 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30641 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30649 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30650 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30651 * sysdeps/sparc/elf/configure: Regenerated.
30653 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30655 * configure.in (AS, LD): Require binutils 2.20 or later.
30656 * configure: Regenerated.
30657 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30658 as required minimum version.
30659 * INSTALL: Regenerated.
30663 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30664 before squaring exponent.
30665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30666 bottom long double and 27 bits of top long double before squaring
30668 * math/libm-test.inc (erfc_test): Add more tests.
30669 * sysdeps/i386/fpu/libm-test-ulps: Update.
30670 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30673 2012-03-01 Kai Tietz <ktietz@redhat.com>
30675 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30676 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30677 containing bit-fields.
30678 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30679 * soft-fp/single.h (_FP_UNION_S): Likewise.
30680 * soft-fp/double.h (_FP_UNION_D): Likewise.
30682 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30685 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30686 not include ../strcmp.S.
30687 [USE_AS_STRNCASECMP_L]: Likewise.
30688 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30689 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30690 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30691 (__strncasecmp_l_ia32): Define as alias to
30692 __strncasecmp_l_nonascii.
30695 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30696 * sysdeps/i386/fpu/libm-test-ulps: Update.
30697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30699 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30702 2012-02-29 Jeff Law <law@redhat.com>
30704 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30705 out of bounds read.
30707 2012-02-29 Marek Polacek <polacek@redhat.com>
30710 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30711 * elf/Makefile: Add rules to run tst-unused-dep.out.
30713 2012-02-28 David S. Miller <davem@davemloft.net>
30715 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30716 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30719 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30720 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30722 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30724 * math/libm-test.inc (llround_test): Move one test from
30725 lround_test. Use TEST_f_L in moved test.
30726 (lround_test): Move misplaced test to llround_test. Add testcase
30729 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30731 * sysdeps/x86_64/fpu/e_expf.S: New file.
30732 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30734 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30737 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30738 of remain_len that may cause incomplete multi-byte character and
30740 * posix/bug-regex33.c: New file.
30741 * posix/Makefile (tests): Add bug-regex33.
30743 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30745 * manual/macros.texi: New file.
30746 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30747 * manual/libc.texinfo: Include macros.texi.
30748 * manual/creatute.texi: Likewise.
30749 * manual/install.texi: Likewise.
30750 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30751 @glibcadj{} in references to the GNU C Library.
30752 * manual/charset.texi: Likewise.
30753 * manual/conf.texi: Likewise.
30754 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30755 when not using those macros.
30756 * manual/creature.texi: Likewise.
30757 * manual/crypt.texi: Likewise.
30758 * manual/errno.texi: Likewise.
30759 * manual/filesys.texi: Likewise.
30760 * manual/header.texi: Likewise.
30761 * manual/install.texi: Likewise.
30762 * manual/intro.texi: Likewise.
30763 * manual/io.texi: Likewise.
30764 * manual/job.texi: Likewise.
30765 * manual/lang.texi: Likewise.
30766 * manual/libc.texiinfo: Likewise.
30767 * manual/llio.texi: Likewise.
30768 * manual/locale.texi: Likewise.
30769 * manual/maint.texi: Likewise.
30770 * manual/math.texi: Likewise.
30771 * manual/memory.texi: Likewise.
30772 * manual/message.texi: Likewise.
30773 * manual/nss.texi: Likewise.
30774 * manual/pattern.texi: Likewise.
30775 * manual/process.texi: Likewise.
30776 * manual/resource.texi: Likewise.
30777 * manual/search.texi: Likewise.
30778 * manual/setjmp.texi: Likewise.
30779 * manual/signal.texi: Likewise.
30780 * manual/socket.texi: Likewise.
30781 * manual/startup.texi: Likewise.
30782 * manual/stdio.texi: Likewise.
30783 * manual/string.texi: Likewise.
30784 * manual/sysinfo.texi: Likewise.
30785 * manual/syslog.texi: Likewise.
30786 * manual/terminal.texi: Likewise.
30787 * manual/time.texi: Likewise.
30788 * manual/users.texi: Likewise.
30789 * INSTALL: Regenerated.
30790 * NOTES: Regenerated.
30791 * sysdeps/gnu/errlist.c: Regenerated.
30793 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30795 * include/dirent.h: Include <dirstream.h> before
30798 2012-02-28 David S. Miller <davem@davemloft.net>
30800 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30801 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30802 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30803 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30805 2012-02-27 David S. Miller <davem@davemloft.net>
30807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30809 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30810 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30813 frame pointer instead of stack pointer relative arg slot.
30814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30815 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30816 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30818 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30821 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30823 2012-02-27 David S. Miller <davem@davemloft.net>
30825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30829 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30830 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30831 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30832 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30834 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30836 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30837 later. Allow versions 5-9.
30838 * configure: Regenerated.
30839 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30840 required minimum version and 4.6 as recommended version. Do not
30841 mention bugs in GCC 2.7 and 2.8.
30842 * INSTALL: Regenerated.
30844 2012-02-27 David S. Miller <davem@davemloft.net>
30846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30850 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30851 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30852 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30853 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30855 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30856 manipulate bits before adding and subtracting TWO112[sx].
30857 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30859 2012-02-27 Roland McGrath <roland@hack.frob.com>
30862 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30863 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30864 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30865 being in POSIX, because they are in 1003.1-2008.
30867 * rt/tst-aio.c: Include <fcntl.h>.
30868 * rt/tst-aio7.c: Likewise.
30869 * rt/tst-aio64.c: Likewise.
30871 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30873 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30875 * manual/install.texi (--with-headers): Describe headers as
30876 interface headers, not private headers.
30877 (Specific advice for GNU/Linux systems): Describe use of headers
30878 from "make headers_install", not private headers from older
30880 * INSTALL: Regenerated.
30881 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30883 * sysdeps/unix/sysv/linux/configure: Regenerated.
30885 * manual/llio.texi (fclean): Remove documentation.
30887 * manual/Makefile (libc-texi-generated): New variable. Include
30889 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30890 $(libc-texi-generated), not duplicated list of files.
30891 (version.texi, stamp-version): New rules.
30892 (realclean): Remove $(libc-texi-generated), not individual files
30893 from that list. Do not remove dir-add.texinfo.
30894 * manual/libc.texinfo: Comment out uses of edition numbers and
30895 references to printed manual. Remove last-updated dates.
30896 (EDITION): Comment out.
30898 (VERSION, UPDATED): Remove.
30899 (version.texi): Include.
30901 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30903 * sysdeps/posix/spawni.c: Include <signal.h>.
30904 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30905 * sysdeps/pthread/aio_fsync.c: Likewise.
30907 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30909 * conform/Makefile (tests): Run only when not cross-compiling and
30910 when fast-check is not defined.
30912 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30913 * conform/data/limits.h-data: Fixes for POSIX2008.
30914 * conform/run-conformtest.sh: Run all tests.
30915 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30917 * include/bits/dlfcn.h: Likewise.
30918 * include/langinfo.h: Likewise.
30919 * include/monetary.h: Likewise.
30920 * include/sys/poll.h: Likewise.
30922 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30924 * posix/spawn.h: Define __need_sigset_t.
30925 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30926 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30927 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30928 to get sigevent_t only.
30929 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30930 only for __USE_GNU.
30931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30932 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30933 process_vm_writev only for __USE_GNU.
30934 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30936 * conform/Makefile: For now ignore errors from run-conformtest.
30937 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30938 POSIX to avoid namespace pollution. Don't prepend headers.
30939 * conform/data/aio.h-data: Fixes for POSIX testing.
30940 * conform/data/fcntl.h-data: Likewise.
30941 * conform/data/glob.h-data: Likewise.
30942 * conform/data/grp.h-data: Likewise.
30943 * conform/data/pthread.h-data: Likewise.
30944 * conform/data/pwd.h-data: Likewise.
30945 * conform/data/signal.h-data: Likewise.
30946 * conform/data/spawn.h-data: Likewise.
30947 * conform/data/stdio.h-data: Likewise.
30948 * conform/data/stdlib.h-data: Likewise.
30949 * conform/data/stropts.h-data: Likewise.
30950 * conform/data/sys/mman.h-data: Likewise.
30951 * conform/data/sys/stat.h-data: Likewise.
30952 * conform/data/sys/types.h-data: Likewise.
30953 * conform/data/sys/wait.h-data: Likewise.
30954 * conform/data/time.h-data: Likewise.
30955 * conform/data/unistd.h-data: Likewise.
30956 * conform/data/utime.h-data: Likewise.
30958 * io/sys/stat.h: fchmod was always in POSIX.
30959 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30960 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30961 * rt/aio.h: Define __need_timespec before including <time.h>.
30962 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30963 struct. Add forward declaration of pthread_attr_t and use it in
30965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30967 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30968 always remove CLK_TCK definition.
30970 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30972 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30974 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30976 * conform/run-conformtest.sh: New file.
30977 * conform/Makefile: Run run-conformtest for tests.
30978 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30981 * conform/data/uchar.h-data: New file.
30982 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30983 * conform/data/arpa/inet.h-data: Likewise.
30984 * conform/data/assert.h-data: Likewise.
30985 * conform/data/complex.h-data: Likewise.
30986 * conform/data/cpio.h-data: Likewise.
30987 * conform/data/ctype.h-data: Likewise.
30988 * conform/data/dirent.h-data: Likewise.
30989 * conform/data/dlfcn.h-data: Likewise.
30990 * conform/data/errno.h-data: Likewise.
30991 * conform/data/fcntl.h-data: Likewise.
30992 * conform/data/float.h-data: Likewise.
30993 * conform/data/fmtmsg.h-data: Likewise.
30994 * conform/data/fnmatch.h-data: Likewise.
30995 * conform/data/ftw.h-data: Likewise.
30996 * conform/data/glob.h-data: Likewise.
30997 * conform/data/grp.h-data: Likewise.
30998 * conform/data/iconv.h-data: Likewise.
30999 * conform/data/inttypes.h-data: Likewise.
31000 * conform/data/langinfo.h-data: Likewise.
31001 * conform/data/libgen.h-data: Likewise.
31002 * conform/data/limits.h-data: Likewise.
31003 * conform/data/locale.h-data: Likewise.
31004 * conform/data/math.h-data: Likewise.
31005 * conform/data/monetary.h-data: Likewise.
31006 * conform/data/mqueue.h-data: Likewise.
31007 * conform/data/ndbm.h-data: Likewise.
31008 * conform/data/net/if.h-data: Likewise.
31009 * conform/data/netdb.h-data: Likewise.
31010 * conform/data/netinet/in.h-data: Likewise.
31011 * conform/data/nl_types.h-data: Likewise.
31012 * conform/data/poll.h-data: Likewise.
31013 * conform/data/pthread.h-data: Likewise.
31014 * conform/data/pwd.h-data: Likewise.
31015 * conform/data/regex.h-data: Likewise.
31016 * conform/data/sched.h-data: Likewise.
31017 * conform/data/search.h-data: Likewise.
31018 * conform/data/semaphore.h-data: Likewise.
31019 * conform/data/setjmp.h-data: Likewise.
31020 * conform/data/signal.h-data: Likewise.
31021 * conform/data/spawn.h-data: Likewise.
31022 * conform/data/stdarg.h-data: Likewise.
31023 * conform/data/stdio.h-data: Likewise.
31024 * conform/data/stdlib.h-data: Likewise.
31025 * conform/data/string.h-data: Likewise.
31026 * conform/data/strings.h-data: Likewise.
31027 * conform/data/stropts.h-data: Likewise.
31028 * conform/data/sys/ipc.h-data: Likewise.
31029 * conform/data/sys/mman.h-data: Likewise.
31030 * conform/data/sys/msg.h-data: Likewise.
31031 * conform/data/sys/resource.h-data: Likewise.
31032 * conform/data/sys/select.h-data: Likewise.
31033 * conform/data/sys/sem.h-data: Likewise.
31034 * conform/data/sys/shm.h-data: Likewise.
31035 * conform/data/sys/socket.h-data: Likewise.
31036 * conform/data/sys/stat.h-data: Likewise.
31037 * conform/data/sys/statvfs.h-data: Likewise.
31038 * conform/data/sys/time.h-data: Likewise.
31039 * conform/data/sys/timeb.h-data: Likewise.
31040 * conform/data/sys/times.h-data: Likewise.
31041 * conform/data/sys/types.h-data: Likewise.
31042 * conform/data/sys/uio.h-data: Likewise.
31043 * conform/data/sys/un.h-data: Likewise.
31044 * conform/data/sys/utsname.h-data: Likewise.
31045 * conform/data/sys/wait.h-data: Likewise.
31046 * conform/data/syslog.h-data: Likewise.
31047 * conform/data/tar.h-data: Likewise.
31048 * conform/data/termios.h-data: Likewise.
31049 * conform/data/utime.h-data: Likewise.
31050 * conform/data/utmpx.h-data: Likewise.
31051 * conform/data/varargs.h-data: Likewise.
31052 * conform/data/wchar.h-data: Likewise.
31053 * conform/data/wctype.h-data: Likewise.
31054 * conform/data/wordexp.h-data: Likewise.
31056 * include/stropts.h: New file.
31057 * include/uchar.h: New file.
31058 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31059 * include/assert.h: Likewise.
31060 * include/ctype.h: Likewise.
31061 * include/dirent.h: Likewise.
31062 * include/dlfcn.h: Likewise.
31063 * include/fcntl.h: Likewise.
31064 * include/fnmatch.h: Likewise.
31065 * include/glob.h: Likewise.
31066 * include/grp.h: Likewise.
31067 * include/libio.h: Likewise.
31068 * include/locale.h: Likewise.
31069 * include/math.h: Likewise.
31070 * include/net/if.h: Likewise.
31071 * include/netdb.h: Likewise.
31072 * include/netinet/in.h: Likewise.
31073 * include/pthread.h: Likewise.
31074 * include/pwd.h: Likewise.
31075 * include/regex.h: Likewise.
31076 * include/sched.h: Likewise.
31077 * include/search.h: Likewise.
31078 * include/setjmp.h: Likewise.
31079 * include/signal.h: Likewise.
31080 * include/stdio.h: Likewise.
31081 * include/stdlib.h: Likewise.
31082 * include/string.h: Likewise.
31083 * include/sys/cdefs.h: Likewise.
31084 * include/sys/mman.h: Likewise.
31085 * include/sys/msg.h: Likewise.
31086 * include/sys/resource.h: Likewise.
31087 * include/sys/select.h: Likewise.
31088 * include/sys/socket.h: Likewise.
31089 * include/sys/stat.h: Likewise.
31090 * include/sys/statvfs.h: Likewise.
31091 * include/sys/time.h: Likewise.
31092 * include/sys/times.h: Likewise.
31093 * include/sys/uio.h: Likewise.
31094 * include/sys/utsname.h: Likewise.
31095 * include/sys/wait.h: Likewise.
31096 * include/termios.h: Likewise.
31097 * include/time.h: Likewise.
31098 * include/ulimit.h: Likewise.
31099 * include/unistd.h: Likewise.
31100 * include/utime.h: Likewise.
31101 * include/wchar.h: Likewise.
31102 * include/wctype.h: Likewise.
31103 * include/wordexp.h: Likewise.
31105 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31107 * time/time.h: TIME_UTC must be a macro.
31108 Make timespec_get available for ISO C11 only as well.
31110 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31112 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31113 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31115 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31117 * configure.in: Use -o not -a in test for unsupported multi-arch.
31119 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31121 * manual/texinfo.tex: Update to version 2012-01-19.16.
31123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31125 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31127 2012-02-24 Roland McGrath <roland@hack.frob.com>
31130 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31131 * manual/fdl-1.3.texi: New file.
31132 * manual/fdl-1.1.texi: File removed.
31135 * manual/libc.texinfo (FDL_VERSION): New @set.
31136 Use it for mention of FDL in cover text.
31137 (Documentation License): Use it in @include file name.
31139 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31140 Roland McGrath <roland@hack.frob.com>
31143 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31144 not LONG_LONG_MAX and LONG_LONG_MIN.
31145 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31146 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31148 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31150 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31154 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31155 manipulate bits before adding and subtracting TWO23[sx].
31156 * math/libm-test.inc (nearbyint_test): Add more tests.
31158 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31161 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31162 bits before adding and subtracting TWO23[sx].
31163 * math/libm-test.inc (rint_test): Add more tests.
31164 (rint_test_tonearest): Likewise.
31165 (rint_test_towardzero): Likewise.
31166 (rint_test_downward): Likewise.
31167 (rint_test_upward: Likewise.
31169 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31172 * include/stdc-predef.h: New file. Extracted from features.h.
31173 * include/features.h: Include stdc-predef.h.
31174 * Makefile (headers): Add stdc-predef.h.
31175 * CONFORMANCE (Compiler limitations): Update.
31177 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31179 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31181 2012-02-21 David S. Miller <davem@davemloft.net>
31183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31184 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31186 2012-02-20 David S. Miller <davem@davemloft.net>
31188 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31189 using a normal save/restore sequence, rather than allocating a
31190 dummy stack frame just to store a frame pointer and restore.
31191 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31193 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31195 * manual/install.texi: Fix stray word in line-wrapped comment.
31197 2012-02-20 David S. Miller <davem@davemloft.net>
31199 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31200 both binutils and gcc support GOTDATA.
31202 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31203 "rd %pc" in the PIC register setup sequences.
31205 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31206 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31207 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31208 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31209 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31211 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31212 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31214 (SYSCALL_ERROR_HANDLER): Likewise.
31215 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31216 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31218 (SYSCALL_ERROR_HANDLER): Likewise.
31220 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31221 (HAVE_GCC_GOTDATA): New.
31222 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31223 relocation support in both binutils and gcc.
31224 * sysdeps/sparc/elf/configure: Regenerate.
31226 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31227 * sysdeps/sparc/sparc32/elf/configure: Delete.
31228 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31229 * sysdeps/sparc/sparc64/elf/configure: Delete.
31230 * sysdeps/sparc/elf/configure.in: New file.
31231 * sysdeps/sparc/elf/configure: Generate.
31233 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31234 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31235 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31236 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31237 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31239 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31241 * manual/install.texi: Do not mention specific glibc version
31243 * manual/libc.texinfo (VERSION, UPDATED): Update.
31244 (@copying): Use @copyright{} and range of years.
31246 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31249 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31250 [crti.S not in sysdirs] (generated): Do not append.
31251 [crti.S not in sysdirs] (omit-deps): Likewise.
31252 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31253 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31254 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31255 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31256 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31258 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31259 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31260 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31261 * csu/defs.awk: Remove file.
31262 * sysdeps/generic/initfini.c: Likewise.
31263 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31265 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31268 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31270 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31271 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31272 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31274 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31275 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31277 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31278 (__EPOLL_PACKED): Define to empty if not defined by
31280 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31284 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31286 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31287 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31288 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31289 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31291 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31295 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31297 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31300 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31304 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31307 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31309 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31311 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31312 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31314 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31316 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31319 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31321 * math/w_acos.c: Use non-signaling floating-point comparisons.
31322 * math/w_acosf.c: Likewise.
31323 * math/w_acosh.c: Likewise.
31324 * math/w_acoshf.c: Likewise.
31325 * math/w_acoshl.c: Likewise.
31326 * math/w_acosl.c: Likewise.
31327 * math/w_asin.c: Likewise.
31328 * math/w_asinf.c: Likewise.
31329 * math/w_asinl.c: Likewise.
31330 * math/w_atanh.c: Likewise.
31331 * math/w_atanhf.c: Likewise.
31332 * math/w_atanhl.c: Likewise.
31333 * math/w_exp2.c: Likewise.
31334 * math/w_exp2f.c: Likewise.
31335 * math/w_exp2l.c: Likewise.
31336 * math/w_j0.c: Likewise.
31337 * math/w_j0f.c: Likewise.
31338 * math/w_j0l.c: Likewise.
31339 * math/w_j1.c: Likewise.
31340 * math/w_j1f.c: Likewise.
31341 * math/w_j1l.c: Likewise.
31342 * math/w_jn.c: Likewise.
31343 * math/w_jnf.c: Likewise.
31344 * math/w_log.c: Likewise.
31345 * math/w_log10.c: Likewise.
31346 * math/w_log10f.c: Likewise.
31347 * math/w_log10l.c: Likewise.
31348 * math/w_log2.c: Likewise.
31349 * math/w_log2f.c: Likewise.
31350 * math/w_log2l.c: Likewise.
31351 * math/w_logf.c: Likewise.
31352 * math/w_logl.c: Likewise.
31353 * math/w_sqrt.c: Likewise.
31354 * math/w_sqrtf.c: Likewise.
31355 * math/w_sqrtl.c: Likewise.
31356 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31357 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31358 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31359 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31360 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31362 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31365 * manual/string.texi (strnlen): Use correct parameter name in
31366 equivalent expression.
31368 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31371 * manual/users.texi (seteuid): Consistently use neweuid for
31374 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31377 * manual/nss.texi (Services in the NSS configuration): Correct
31378 list of services in example configuration file.
31380 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31383 * manual/arith.texi: Remove statements about negative zero
31384 behaving identically to zero.
31386 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31389 * manual/install.texi: Do not document upgrading from libc5.
31391 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31394 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31396 2012-02-18 David S. Miller <davem@davemloft.net>
31398 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31399 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31400 %o7 across the call.
31401 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31404 SETUP_PIC_REG_LEAF.
31405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31406 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31407 * sysdeps/sparc/crtn.S: Likewise.
31409 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31411 * aout/Makefile: Remove.
31413 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31416 * manual/examples/argp-ex1.c (main): Format definition in GNU
31418 * manual/examples/argp-ex2.c (main): Likewise.
31419 * manual/examples/argp-ex3.c (main): Likewise.
31420 * manual/examples/argp-ex4.c (main): Likewise.
31421 * manual/examples/longopt.c (main): Use new-style prototype
31423 * manual/examples/strncat.c (main): Specify return type and use
31424 (void) for arguments.
31425 * manual/examples/subopt.c (main): Use char **argv argument.
31427 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31430 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31433 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31436 * manual/string.texi (strchr): Change when strchrnul is
31439 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31442 * manual/locale.texi (setlocale): Document LOCPATH.
31444 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31447 * manual/process.texi (execle): Move @dots{} before last argument.
31449 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31452 * manual/charset.texi (Generic Charset Conversion): Fix typo
31453 (LC_TYPE -> LC_CTYPE).
31455 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31458 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31459 (scalbnf): Likewise.
31460 (scalbnl): Likewise.
31461 (scalbln): Likewise.
31462 (scalblnf): Likewise.
31463 (scalblnl): Likewise.
31464 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31465 (vwarnx): Likewise.
31468 * manual/filesys.texi (telldir): Use braces around return type.
31469 * manual/llio.texi (mmap): Add space after comma.
31470 (mmap64): Likewise.
31471 * manual/math.texi (jn): Use @var{} on parameter names.
31477 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31479 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31481 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31482 (sched_get_priority_max): Likewise.
31483 * manual/signal.texi (sigvec): Add space after comma.
31484 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31486 (if_indextoname): Likewise.
31487 (if_freenameindex): Likewise.
31488 (sendto): Use ',' instead of '.' in prototype.
31489 * manual/startup.texi (syscall): Use @dots{} instead of literal
31491 * manual/stdio.texi (__fpending): Separate initial words of
31492 paragraph from @deftypefun line.
31493 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31495 (vsyslog): Use @var{} on parameter names.
31496 * manual/terminal.texi (stty): Use @var{} on parameter names.
31497 * manual/users.texi (getutmp): Use @var{} on parameter names.
31498 (getutmpx): Likewise.
31500 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31503 * manual/stdio.texi (fopen): Fix typos in description of
31506 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31509 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31510 get clock_id definition.
31512 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31515 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31516 (madvise): Cast every argument to void on its own.
31518 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31521 * manual/startup.texi (Exit Status): Fix typo.
31523 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31526 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31527 * manual/examples/argp-ex2.c: Likewise.
31528 * manual/examples/argp-ex3.c: Likewise.
31530 2012-02-16 Richard Henderson <rth@redhat.com>
31532 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31533 * sysdeps/s390/s390-32/initfini.c: Remove.
31534 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31535 * sysdeps/s390/s390-64/initfini.c: Remove.
31537 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31539 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31540 compiler output for sysdeps/generic/initfini.c.
31541 * sysdeps/sh/elf/initfini.c: Remove file.
31543 2012-02-16 David S. Miller <davem@davemloft.net>
31546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31548 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31549 * sysdeps/sparc/crti.S: New file.
31550 * sysdeps/sparc/crtn.S: New file.
31551 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31552 * sysdeps/sparc/sparc64/Makefile: Likewise.
31554 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31557 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31559 2012-02-15 Roland McGrath <roland@hack.frob.com>
31562 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31564 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31565 (write, read, close): Likewise.
31566 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31568 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31570 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31571 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31572 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31573 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31575 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31579 2012-02-14 Marek Polacek <polacek@redhat.com>
31581 * sysdeps/x86_64/crti.S: New file.
31582 * sysdeps/x86_64/crtn.S: New file.
31583 * sysdeps/x86_64/elf/initfini.c: Remove file.
31585 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31587 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31588 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31590 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31592 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31596 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31598 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31599 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31600 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31601 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31603 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31607 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31609 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31610 __feraiseexcept instead of feraiseexcept.
31612 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31613 nanosleep invocations.
31614 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31615 strings, and add error checking for a nanosleep invocations.
31617 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31619 Replace FSF snail mail address with URLs, as per GNU coding standards.
31620 Most of the snail mail addresses were wrong anyway, and omitting
31621 them makes the source code easier to maintain. Almost all of the
31622 changes are to license notices and to locale LC_IDENTIFICATION
31623 addresses, except for this one:
31624 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31625 not its snail mail address.
31627 2012-02-09 Richard Henderson <rth@twiddle.net>
31629 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31630 of kernel-features.h.
31632 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31634 2012-02-08 Marek Polacek <polacek@redhat.com>
31636 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31637 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31638 * sysdeps/gnu/_G_config.h: Likewise.
31639 * sysdeps/generic/_G_config.h: Likewise.
31641 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31643 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31647 * sysdeps/powerpc/powerpc32/crti.S: New file.
31648 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31649 * sysdeps/powerpc/powerpc64/crti.S: New file.
31650 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31652 * Makeconfig (have-initfini): Don't set.
31653 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31654 * configure.in (nopic_initfini): Don't substitute.
31655 * config.h.in (HAVE_INITFINI): Don't #undef.
31656 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31657 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31659 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31661 Support crti.S and crtn.S provided directly by architectures.
31662 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31663 [crti.S in sysdirs] (omit-deps): Likewise.
31664 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31665 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31666 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31667 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31668 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31669 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31670 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31671 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31672 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31673 compiler output for sysdeps/generic/initfini.c.
31674 * sysdeps/i386/elf/Makefile: Remove file.
31675 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31677 2012-02-07 Marek Polacek <polacek@redhat.com>
31679 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31680 * sysdeps/gnu/_G_config.h: Likewise.
31681 * sysdeps/mach/hurd/_G_config.h: Likewise.
31683 2012-02-07 Marek Polacek <polacek@redhat.com>
31685 * math/Makefile (tests): Add tst-CMPLX2.
31686 * math/tst-CMPLX2.c: New file.
31688 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31690 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31692 * math/libm-test.inc (jn_test): Add missing L suffix.
31694 2012-02-06 Marek Polacek <polacek@redhat.com>
31696 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31697 * sysdeps/i386/fpu/e_powf.S: Likewise.
31698 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31700 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31701 * sysdeps/i386/fpu/e_pow.S: Likewise.
31702 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31703 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31704 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31705 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31706 * sysdeps/i386/fpu/e_log2.S: Likewise.
31707 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31708 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31709 * sysdeps/i386/fpu/e_powl.S: Likewise.
31710 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31711 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31712 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31713 * sysdeps/i386/fpu/e_logl.S: Likewise.
31714 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31715 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31716 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31717 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31718 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31719 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31720 * sysdeps/i386/fpu/e_log.S: Likewise.
31721 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31722 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31723 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31724 * sysdeps/i386/fpu/e_logf.S: Likewise.
31725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31726 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31727 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31728 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31729 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31730 * sysdeps/i386/fpu/e_log10.S: Likewise.
31731 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31732 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31733 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31734 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31735 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31736 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31737 * sysdeps/i386/asm-syntax.h: Likewise.
31738 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31739 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31740 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31741 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31742 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31743 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31744 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31745 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31746 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31747 * sysdeps/powerpc/sysdep.h: Likewise.
31748 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31749 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31751 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31754 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31756 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31758 * sysdeps/i386/sysdep.h: Include <features.h>.
31759 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31762 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31764 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31766 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31769 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31771 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31772 (SETUP_PIC_REG): Use GET_PC_THUNK.
31773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31776 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31778 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31779 for non-PIC compilation.
31780 (SETUP_PIC_REG): Add .p2align directive.
31781 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31782 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31783 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31784 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31785 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31786 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31787 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31789 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31790 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31791 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31792 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31793 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31794 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31795 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31796 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31797 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31798 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31799 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31800 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31801 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31802 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31803 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31804 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31805 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31807 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31808 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31809 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31810 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31811 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31812 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31813 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31814 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31815 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31816 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31817 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31818 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31819 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31820 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31821 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31823 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31825 * math/tst-CMPLX.c: Include <stdio.h>.
31827 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31829 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31831 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31832 * sysdeps/sparc/bits/mathdef.h: Likewise.
31834 2012-01-31 Marek Polacek <polacek@redhat.com>
31836 * libio/libio.h: Don't define _PARAMS.
31837 * locale/programs/config.h: Don't define PARAMS.
31838 * stdlib/strtol_l.c: Likewise.
31839 (__strtol_l): Remove PARAMS from the prototype.
31841 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31843 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31844 names. Just use the correct names. Remove unnecessary wrapper
31846 * malloc/arena.c: Likewise.
31847 * malloc/hooks.c: Likewise.
31849 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31850 ARENA_TEST says not to. Simplify test for creation of a new arena.
31851 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31853 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31855 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31857 (update_get_addr): New function.
31858 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31859 GET_ADDR_MODULE parameter.
31861 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31863 * crypt/cert.c: Remove __STDC__ conditionals.
31864 * crypt/crypt-entry.c: Likewise.
31865 * crypt/crypt_util.c: Likewise.
31866 * libio/filedoalloc.c: Likewise.
31867 * libio/fileops.c: Likewise.
31868 * libio/genops.c: Likewise.
31869 * libio/iofclose.c: Likewise.
31870 * libio/iofdopen.c: Likewise.
31871 * libio/iofopen.c: Likewise.
31872 * libio/iofopen64.c: Likewise.
31873 * libio/iogetdelim.c: Likewise.
31874 * libio/iopopen.c: Likewise.
31875 * libio/obprintf.c: Likewise.
31876 * libio/oldfileops.c: Likewise.
31877 * libio/oldiofclose.c: Likewise.
31878 * libio/oldiofdopen.c: Likewise.
31879 * libio/oldiofopen.c: Likewise.
31880 * libio/oldiopopen.c: Likewise.
31881 * libio/wfiledoalloc.c: Likewise.
31882 * libio/wgenops.c: Likewise.
31883 * locale/programs/xmalloc.c: Likewise.
31884 * misc/syslog.c: Likewise.
31885 * stdio-common/xbug.c: Likewise.
31886 * string/memchr.c: Likewise.
31887 * string/memcmp.c: Likewise.
31888 * string/memrchr.c: Likewise.
31889 * string/rawmemchr.c: Likewise.
31890 * sysdeps/posix/getcwd.c: Likewise.
31891 * time/strftime_l.c: Likewise.
31893 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31895 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31896 * config.make.in (config-cflags-sse2avx): Define.
31897 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31900 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31902 * scripts/config.guess: Update from upstream config git repository.
31903 * scripts/config.sub: Likewise.
31905 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31907 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31909 (R_TILEPRO_*, R_TILEGX_*): New macros.
31911 * scripts/firstversions.awk: Fix bug in version range handling.
31913 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31915 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31917 * include/sys/epoll.h: New file.
31918 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31921 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31923 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31924 Avoid unnecessary __WORDSIZE == 64 test.
31925 (fmaxf): Use VEX format if possible.
31930 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31931 * math/math_private.h: Remove libc_fegetround* and
31933 * sysdeps/i386/configure.in: Check for -msse2avx.
31934 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31935 also if SSE2AVX is defined.
31936 Remove libc_fegetround* and libc_fesetround*.
31937 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31938 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31939 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31941 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31942 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31943 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31944 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31945 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31947 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31949 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31951 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31953 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31955 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31958 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31960 * Makeconfig (libm): Define.
31961 * elf/Makefile: Add rules to build and run tst-relsort1.
31962 * elf/tst-relsort1.c: New file.
31963 * elf/tst-relsort1mod1.c: New file.
31964 * elf/tst-relsort1mod2.c: New file.
31966 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31968 * math/s_ldexp.c: Remove __STDC__ conditionals.
31969 * math/s_ldexpf.c: Likewise.
31970 * math/s_ldexpl.c: Likewise.
31971 * math/s_nextafter.c: Likewise.
31972 * math/s_nexttowardf.c: Likewise.
31973 * math/s_significand.c: Likewise.
31974 * math/s_significandf.c: Likewise.
31975 * math/s_significandl.c: Likewise.
31976 * math/w_jnl.c: Likewise.
31977 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31978 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31979 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31980 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31981 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31996 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31997 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31998 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31999 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32001 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32002 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32003 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32004 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32005 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32006 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32007 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32008 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32009 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32010 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32011 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32012 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32013 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32014 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32015 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32016 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32017 * sysdeps/ieee754/k_standard.c: Likewise.
32018 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32020 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32021 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32022 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32024 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32025 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32026 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32027 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32032 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32033 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32034 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32035 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32036 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32037 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32038 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32039 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32040 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32041 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32042 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32044 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32048 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32049 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32050 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32051 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32053 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32054 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32055 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32056 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32057 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32058 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32060 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32063 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32064 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32065 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32067 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32068 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32069 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32070 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32071 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32072 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32073 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32074 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32075 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32079 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32080 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32081 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32082 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32083 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32084 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32085 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32086 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32087 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32088 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32089 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32090 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32094 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32096 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32097 * sysdeps/ieee754/s_matherr.c: Likewise.
32098 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32099 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32103 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32105 * crypt/md5.h: Remove __STDC__ conditionals.
32106 * libio/libioP.h: Likewise.
32107 * locale/programs/config.h: Likewise.
32108 * sysdeps/generic/sysdep.h: Likewise.
32109 * sysdeps/i386/asm-syntax.h: Likewise.
32110 * sysdeps/s390/asm-syntax.h: Likewise.
32111 * sysdeps/unix/sysdep.h: Likewise.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32115 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32117 * libio/libio.h: Remove __STDC__ conditionals.
32118 * malloc/obstack.h: Likewise.
32119 * math/complex.h: Likewise.
32120 * math/math.h: Likewise.
32121 * sysdeps/generic/_G_config.h: Likewise.
32122 * sysdeps/gnu/_G_config.h: Likewise.
32123 * sysdeps/mach/hurd/_G_config.h: Likewise.
32124 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32125 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32126 * sysdeps/sparc/bits/mathdef.h: Likewise.
32128 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32131 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32132 Clean up HAS_* macros.
32133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32134 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32136 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32138 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32139 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32144 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32146 * elf/tst-unique3.cc (gets): Remove declaration.
32147 * elf/tst-unique3lib.cc (gets): Likewise.
32148 * elf/tst-unique3lib2.cc (gets): Likewise.
32149 * elf/tst-unique4.cc (gets): Likewise.
32151 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32153 * include/stdio.h: Add C++ protection. Add gets declarations and
32155 * debug/tst-chk1.c: Don't declare gets here.
32156 * stdio-common/tst-gets.c: Likewise.
32158 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32160 * posix/glob: Remove directory.
32162 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32164 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32166 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32168 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32169 of the non-standard EPFNOSUPPORT.
32171 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32173 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32174 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32175 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32177 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32179 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32181 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32183 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32185 * nscd/grpcache.c (cache_addgr): Likewise.
32186 * nscd/hstcache.c (cache_addhst): Likewise.
32187 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32188 * nscd/pwdcache.c (cache_addpw): Likewise.
32189 * nscd/servicescache.c (cache_addserv): Likewise.
32191 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32193 * malloc/malloc.c: Various cleanups.
32194 * malloc/hooks.c: Likewise.
32196 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32197 * stdlib/bug-fmtmsg1.c: New file.
32199 * stdlib/fmtmsg.c (init): Add missing unlock.
32200 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32202 2012-01-12 Marek Polacek <polacek@redhat.com>
32204 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32207 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32209 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32210 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32211 macro to ensure uniqueness of label name.
32212 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32213 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32215 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32217 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32219 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32220 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32221 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32224 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32226 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32228 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32229 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32230 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32232 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32234 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32235 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32239 * math/bits/math-finite.h: Add ldexp support.
32241 2012-01-10 Marek Polacek <polacek@redhat.com>
32243 * locale/programs/localedef.h (show_archive_content): Add noreturn
32246 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32248 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32250 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32252 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32254 * io/Makefile (headers): Add bits/poll2.h.
32256 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32259 typo #include statement.
32261 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32263 * include/sys/cdefs.h: Define __attribute_alloc_size.
32264 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32265 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32266 * elf/pldd.c: Likewise.
32267 * iconv/iconv_charmap.c: Likewise.
32268 * iconv/iconvconfig.c: Likewise.
32269 * iconv/strtab.c: Likewise.
32270 * locale/programs/locale.c: Likewise.
32271 * locale/programs/localedef.h: Likewise.
32272 * locale/programs/simple-hash.c: Likewise.
32273 * nscd/nscd.h: Likewise.
32274 * nss/makedb.c: Likewise.
32275 * sysdeps/generic/ldconfig.h: Likewise.
32276 * locale/programs/localedef.c: Remove xmalloc prototype.
32277 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32279 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32281 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32284 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32286 * math/Makefile (tests): Add tst-CMPLX.
32287 * math/tst-CMPLX.c: New file.
32289 * math/complex.h (CMPLXL): Fix typo.
32291 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32292 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32294 * debug/tst-chk1.c: Add poll and ppoll tests.
32295 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32296 * include/sys/poll.h: Add hidden proto for ppoll.
32297 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32298 * sysdeps/mach/hurd/ppoll.c: Likewise.
32299 * io/ppoll.c: Likewise.
32300 * debug/poll_chk.c: New file.
32301 * debug/ppoll_chk.c: New file.
32302 * include/bits/poll2.h: New file.
32303 * io/bits/poll2.h: New file.
32306 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32308 * configure.in: static is always set to yes. Remove.
32309 * config.make.in: Don't set build-static.
32310 * Makeconfig: Remove use of build-static.
32311 * dlfcn/Makefile: Likewise.
32312 * elf/Makefile: Likewise.
32313 * math/Makefile: Likewise.
32314 * misc/Makefile: Likewise.
32315 * nptl/Makefile: Likewise.
32316 * sysdeps/mach/hurd/Makefile: Likewise.
32318 * configure.in: PWD_P is not used anymore.
32319 * config.make.in: Remove PWD_P entry.
32321 * configure.in: Remove last remnants of RANLIB.
32322 No need to check for signed size_t anymore.
32323 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32325 Remove __builtin_expect test because we require at least gcc 3.4.
32326 * aclocal.m4: Likewise.
32328 * wcsmbs/mbrtoc16.c: Implement using towc function.
32329 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32330 * wcsmbs/wcsmbsload.c: Likewise.
32331 * iconv/gconv_simple.c: Likewise.
32332 * iconv/gconv_int.h: Likewise.
32333 * iconv/gconv_builtin.h: Likewise.
32334 * iconv/iconv_prog.c: Remove CHAR16 handling.
32336 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32338 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32340 * configure.in: Remove --with-elf and --enable-bounded options.
32341 Dont set base_machine for ia64. More non-ELF conditions removed.
32342 Remove testing and setting of leading underscore information.
32343 * config.make.in (build-bounded): Set to no.
32344 * config.h.in: Remove NO_UNDERSCORES entry.
32345 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32347 * csu/start.c: Remove !NO_UNDERSCORE code.
32348 * locale/localeinfo.h: Likewise.
32349 * sysdeps/generic/machine-gmon.h: Likewise.
32350 * sysdeps/generic/sysdep.h: Likewise.
32351 * sysdeps/i386/sysdep.h: Likewise.
32352 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32353 * sysdeps/mach/sysdep.h: Likewise.
32354 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32355 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32356 * sysdeps/sh/sysdep.h: Likewise.
32357 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32358 * sysdeps/unix/i386/sysdep.S: Likewise.
32359 * sysdeps/unix/sparc/start.c: Likewise.
32360 * sysdeps/unix/sparc/sysdep.S: Likewise.
32361 * sysdeps/unix/sparc/sysdep.h: Likewise.
32362 * sysdeps/unix/start.c: Likewise.
32363 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32364 * sysdeps/x86_64/sysdep.h: Likewise.
32366 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32369 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32371 * argp/argp-fmtstream.h: Use const instead __const.
32372 * argp/argp.h: Likewise.
32373 * assert/assert.h: Likewise.
32374 * bits/fenv.h: Likewise.
32375 * bits/sched.h: Likewise.
32376 * bits/sigset.h: Likewise.
32377 * bits/sigthread.h: Likewise.
32378 * catgets/nl_types.h: Likewise.
32379 * conform/data/pthread.h-data: Likewise.
32380 * crypt/crypt-private.h: Likewise.
32381 * crypt/crypt.h: Likewise.
32382 * crypt/crypt_util.c: Likewise.
32383 * ctype/ctype.h: Likewise.
32384 * debug/execinfo.h: Likewise.
32385 * debug/mbsnrtowcs_chk.c: Likewise.
32386 * debug/mbsrtowcs_chk.c: Likewise.
32387 * debug/wcsnrtombs_chk.c: Likewise.
32388 * debug/wcsrtombs_chk.c: Likewise.
32389 * debug/wcstombs_chk.c: Likewise.
32390 * dirent/dirent.h: Likewise.
32391 * dlfcn/dlfcn.h: Likewise.
32392 * elf/neededtest4.c: Likewise.
32393 * grp/grp.h: Likewise.
32394 * gshadow/gshadow.h: Likewise.
32395 * iconv/gconv.h: Likewise.
32396 * iconv/gconv_int.h: Likewise.
32397 * iconv/gconv_simple.c: Likewise.
32398 * iconv/iconv.h: Likewise.
32399 * iconv/loop.c: Likewise.
32400 * iconv/skeleton.c: Likewise.
32401 * include/aio.h: Likewise.
32402 * include/aliases.h: Likewise.
32403 * include/argz.h: Likewise.
32404 * include/arpa/inet.h: Likewise.
32405 * include/assert.h: Likewise.
32406 * include/dirent.h: Likewise.
32407 * include/dlfcn.h: Likewise.
32408 * include/execinfo.h: Likewise.
32409 * include/fcntl.h: Likewise.
32410 * include/fenv.h: Likewise.
32411 * include/glob.h: Likewise.
32412 * include/grp.h: Likewise.
32413 * include/libintl.h: Likewise.
32414 * include/mntent.h: Likewise.
32415 * include/netdb.h: Likewise.
32416 * include/pwd.h: Likewise.
32417 * include/rpc/netdb.h: Likewise.
32418 * include/sched.h: Likewise.
32419 * include/search.h: Likewise.
32420 * include/shadow.h: Likewise.
32421 * include/signal.h: Likewise.
32422 * include/stdio.h: Likewise.
32423 * include/stdlib.h: Likewise.
32424 * include/string.h: Likewise.
32425 * include/sys/socket.h: Likewise.
32426 * include/sys/stat.h: Likewise.
32427 * include/sys/statfs.h: Likewise.
32428 * include/sys/statvfs.h: Likewise.
32429 * include/sys/syslog.h: Likewise.
32430 * include/sys/time.h: Likewise.
32431 * include/sys/uio.h: Likewise.
32432 * include/time.h: Likewise.
32433 * include/unistd.h: Likewise.
32434 * include/utmp.h: Likewise.
32435 * include/wchar.h: Likewise.
32436 * include/wctype.h: Likewise.
32437 * inet/aliases.h: Likewise.
32438 * inet/arpa/inet.h: Likewise.
32439 * inet/netinet/ether.h: Likewise.
32440 * inet/netinet/in.h: Likewise.
32441 * intl/libintl.h: Likewise.
32442 * io/bits/fcntl2.h: Likewise.
32443 * io/fcntl.h: Likewise.
32444 * io/ftw.h: Likewise.
32445 * io/sys/poll.h: Likewise.
32446 * io/sys/stat.h: Likewise.
32447 * io/sys/statfs.h: Likewise.
32448 * io/sys/statvfs.h: Likewise.
32449 * io/utime.h: Likewise.
32450 * libio/bits/stdio.h: Likewise.
32451 * libio/bits/stdio2.h: Likewise.
32452 * libio/libio.h: Likewise.
32453 * libio/libioP.h: Likewise.
32454 * libio/stdio.h: Likewise.
32455 * locale/lc-ctype.c: Likewise.
32456 * locale/locale.h: Likewise.
32457 * login/utmp.h: Likewise.
32458 * malloc/arena.c: Likewise.
32459 * malloc/malloc.c: Likewise.
32460 * malloc/malloc.h: Likewise.
32461 * malloc/mcheck.c: Likewise.
32462 * malloc/mtrace.c: Likewise.
32463 * math/bits/mathcalls.h: Likewise.
32464 * math/fenv.h: Likewise.
32465 * math/math_private.h: Likewise.
32466 * misc/bits/error.h: Likewise.
32467 * misc/bits/syslog.h: Likewise.
32468 * misc/err.h: Likewise.
32469 * misc/error.h: Likewise.
32470 * misc/fstab.h: Likewise.
32471 * misc/mntent.h: Likewise.
32472 * misc/regexp.h: Likewise.
32473 * misc/search.h: Likewise.
32474 * misc/sgtty.h: Likewise.
32475 * misc/sys/mman.h: Likewise.
32476 * misc/sys/syslog.h: Likewise.
32477 * misc/sys/uio.h: Likewise.
32478 * misc/sys/xattr.h: Likewise.
32479 * misc/ttyent.h: Likewise.
32480 * nis/rpcsvc/ypclnt.h: Likewise.
32481 * nss/nss.h: Likewise.
32482 * posix/bits/unistd.h: Likewise.
32483 * posix/fnmatch.h: Likewise.
32484 * posix/glob.h: Likewise.
32485 * posix/sched.h: Likewise.
32486 * posix/spawn.h: Likewise.
32487 * posix/sys/wait.h: Likewise.
32488 * posix/unistd.h: Likewise.
32489 * posix/wordexp.h: Likewise.
32490 * pwd/pwd.h: Likewise.
32491 * resolv/netdb.h: Likewise.
32492 * resource/sys/resource.h: Likewise.
32493 * rt/aio.h: Likewise.
32494 * rt/bits/mqueue2.h: Likewise.
32495 * rt/mqueue.h: Likewise.
32496 * shadow/shadow.h: Likewise.
32497 * signal/signal.h: Likewise.
32498 * socket/send.c: Likewise.
32499 * socket/sendto.c: Likewise.
32500 * socket/sys/socket.h: Likewise.
32501 * stdio-common/printf.h: Likewise.
32502 * stdlib/bits/stdlib.h: Likewise.
32503 * stdlib/fmtmsg.h: Likewise.
32504 * stdlib/monetary.h: Likewise.
32505 * stdlib/stdlib.h: Likewise.
32506 * stdlib/ucontext.h: Likewise.
32507 * streams/stropts.h: Likewise.
32508 * string/argz.h: Likewise.
32509 * string/bits/string2.h: Likewise.
32510 * string/string.h: Likewise.
32511 * string/strings.h: Likewise.
32512 * sunrpc/rpc/auth.h: Likewise.
32513 * sunrpc/rpc/auth_des.h: Likewise.
32514 * sunrpc/rpc/clnt.h: Likewise.
32515 * sunrpc/rpc/netdb.h: Likewise.
32516 * sunrpc/rpc/pmap_clnt.h: Likewise.
32517 * sunrpc/rpc/xdr.h: Likewise.
32518 * sysdeps/generic/inttypes.h: Likewise.
32519 * sysdeps/generic/net/if.h: Likewise.
32520 * sysdeps/generic/sys/swap.h: Likewise.
32521 * sysdeps/gnu/net/if.h: Likewise.
32522 * sysdeps/gnu/utmpx.h: Likewise.
32523 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32524 * sysdeps/i386/i486/bits/string.h: Likewise.
32525 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32526 * sysdeps/s390/bits/string.h: Likewise.
32527 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32528 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32529 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32530 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32531 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32532 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32533 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32534 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32535 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32536 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32537 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32538 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32539 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32540 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32541 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32542 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32543 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32548 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32549 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32550 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32551 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32552 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32553 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32554 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32555 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32556 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32557 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32558 * sysvipc/sys/ipc.h: Likewise.
32559 * sysvipc/sys/msg.h: Likewise.
32560 * sysvipc/sys/sem.h: Likewise.
32561 * sysvipc/sys/shm.h: Likewise.
32562 * termios/termios.h: Likewise.
32563 * time/sys/time.h: Likewise.
32564 * time/time.h: Likewise.
32565 * wcsmbs/bits/wchar2.h: Likewise.
32566 * wcsmbs/uchar.h: Likewise.
32567 * wcsmbs/wchar.h: Likewise.
32568 * wctype/wctype.h: Likewise.
32571 * Makeconfig: Remove all but ELF support including AIX support.
32572 * Makerules: Likewise.
32573 * config.h.in: Likewise.
32574 * config.make.in: Likewise.
32575 * configure: Likewise.
32576 * configure.in: Likewise.
32577 * csu/Makefile: Likewise.
32578 * csu/version.c: Likewise.
32579 * debug/Makefile: Likewise.
32580 * dlfcn/Makefile: Likewise.
32581 * elf/Makefile: Likewise.
32582 * extra-lib.mk: Likewise.
32583 * iconv/Makefile: Likewise.
32584 * include/libc-symbols.h: Likewise.
32585 * include/shlib-compat.h: Likewise.
32586 * resolv/Makefile: Likewise.
32587 * resolv/res_libc.c: Likewise.
32588 * rt/Makefile: Likewise.
32589 * sysdeps/i386/asm-syntax.h: Likewise.
32590 * sysdeps/i386/sysdep.h: Likewise.
32591 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32592 * sysdeps/mach/sysdep.h: Likewise.
32593 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32594 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32595 * sysdeps/s390/asm-syntax.h: Likewise.
32596 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32597 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32598 * sysdeps/sh/sysdep.h: Likewise.
32599 * sysdeps/unix/sparc/sysdep.h: Likewise.
32600 * sysdeps/wordsize-32/divdi3.c: Likewise.
32601 * sysdeps/x86_64/sysdep.h: Likewise.
32603 * argp/Versions: Remove _argp_unlock_xxx.
32606 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32607 * abilist/libBrokenLocale.abilist: Likewise.
32608 * abilist/libanl.abilist: Likewise.
32609 * abilist/libc.abilist: Likewise.
32610 * abilist/libcrypt.abilist: Likewise.
32611 * abilist/libdl.abilist: Likewise.
32612 * abilist/libm.abilist: Likewise.
32613 * abilist/libnsl.abilist: Likewise.
32614 * abilist/libpthread.abilist: Likewise.
32615 * abilist/libresolv.abilist: Likewise.
32616 * abilist/librt.abilist: Likewise.
32617 * abilist/libthread_db.abilist: Likewise.
32618 * abilist/libutil.abilist: Likewise.
32619 * abilist/libnss_db.abilist: New file.
32621 * scripts/abilist.awk: Add support for indirect functions.
32623 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32625 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32627 * shlib-versions: Remove entries for ports architectures.
32629 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32631 * elf/stackguard-macros.h: Remove support for IA-64.
32632 * elf/tst-auditmod1.c: Likewise.
32633 * sysdeps/generic/ldsodefs.h: Likewise.
32635 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32636 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32640 * configure.in: Remove --enable-omitfp support.
32642 * config.make.in: Likewise.
32643 * Makeconfig: Likewise.
32644 * manual/install.texi: Likewise.
32646 In case anyone cares, the IA-64 architecture could move to ports.
32647 * sysdeps/ia64/*: Removed.
32648 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32649 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32652 * configure.in: Remove entries for unsupported architectures.
32655 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32656 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32658 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32659 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32660 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32661 fall back to using wcrtomb.
32662 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32663 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32665 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32666 * wcsmbs/tst-c16c32-1.c: New file.
32668 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32671 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32673 * elf/tst-unique3.cc: Add explicit declaration of gets.
32674 * elf/tst-unique3lib.cc: Likewise.
32675 * elf/tst-unique3lib2.cc: Likewise.
32676 * elf/tst-unique4.cc: Likewise.
32678 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32680 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32683 * assert/assert.h (static_assert): Don't define for C++.
32684 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32685 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32687 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32689 * iconv/loop.c (single loop): Fix assertion in storing of
32692 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32694 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32696 * posix/getconf.c: Update copyright year.
32697 * nss/getent.c: Likewise.
32698 * nss/makedb.c: Likewise.
32699 * iconv/iconvconfig.c: Likewise.
32700 * iconv/iconv_prog.c: Likewise.
32701 * elf/ldconfig.c: Likewise.
32702 * elf/pldd.c: Likewise.
32703 * elf/sotruss.ksh: Likewise.
32704 * catgets/gencat.c: Likewise.
32705 * csu/version.c: Likewise.
32706 * elf/ldd.bash.in: Likewise.
32707 * elf/sprof.c (print_version): Likewise.
32708 * locale/programs/locale.c: Likewise.
32709 * locale/programs/localedef.c: Likewise.
32710 * login/programs/pt_chown.c: Likewise.
32711 * nscd/nscd.c (print_version): Likewise.
32712 * debug/xtrace.sh: Likewise.
32713 * malloc/memusage.sh: Likewise.
32714 * malloc/mtrace.pl: Likewise.
32715 * debug/catchsegv.sh: Likewise.
32717 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32719 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32722 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32725 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32726 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32728 * iconv/gconv_int.h: Likewise.
32729 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32730 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32731 from libc for GLIBC_2.16.
32732 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32733 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32734 * wcsmbs/uchar.h: Really define mbstate_t.
32735 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32736 * wcsmbs/c16rtomb.c: New file.
32737 * wcsmbs/mbrtoc16.c: New file.
32738 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32739 for C/POSIX locale.
32740 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32741 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32743 * wcsmbs/wchar.h: Add missing __restrict.
32745 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32748 * time/Makefile (routines): Add timespec_get.
32749 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32750 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32751 timespec for ISO C11.
32752 * time/timespec_get.c: New file.
32753 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32754 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32757 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32758 * stdlib/stdlib.h: Declare aligned_alloc.
32759 * Versions.def: Add GLIBC_2.16 for libc.
32760 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32763 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32766 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32770 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32773 * assert/assert.h (static_assert): Define.
32775 * version.h: Update for 2.16 development version.
32778 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32781 * version.h (RELEASE): Bump for 2.15 release.
32782 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32784 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32785 Patch by Marek Polacek <mpolacek@redhat.com>.
32787 * bits/byteswap.h: Protect long long constants with __extension__.
32788 * sysdeps/i386/bits/byteswap.h: Likewise.
32789 * sysdeps/ia64/bits/byteswap.h: Likewise.
32790 * sysdeps/s390/bits/byteswap.h: Likewise.
32791 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32793 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32797 destination buffer.
32798 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32800 2011-12-23 Marek Polacek <polacek@redhat.com>
32802 * elf/dl-addr.c (determine_info): Add inline keyword.
32803 * elf/tst-auditmod4b.c (check_avx): Likewise.
32804 * elf/tst-auditmod6b.c (check_avx): Likewise.
32805 * elf/tst-auditmod6c.c (check_avx): Likewise.
32806 * elf/tst-auditmod7b.c (check_avx): Likewise.
32808 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32810 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32813 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32816 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32817 processing for last bytes.
32819 2011-08-06 Bruno Haible <bruno@clisp.org>
32822 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32823 U+0385, not to U+1FEE.
32826 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32827 entry for U+00A5 U+0301.
32829 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32832 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32833 buffer for the output is too small.
32835 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32839 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32840 SSE flags if possible.
32842 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32845 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32846 processing for last bytes.
32848 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32850 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32851 (syscall-list-default-options, syscall-list-default-condition)
32852 (syscall-list-includes): Define.
32853 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32854 list of ABIs and options and #if conditions for each ABI. Do not
32855 handle common syscalls between ABIs specially.
32856 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32858 (syscall-list-variants, syscall-list-32bit-options)
32859 (syscall-list-32bit-condition, syscall-list-64bit-options)
32860 (syscall-list-64bit-condition): Define.
32861 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32862 (syscall-list-variants, syscall-list-32bit-options)
32863 (syscall-list-32bit-condition, syscall-list-64bit-options)
32864 (syscall-list-64bit-condition): Define.
32865 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32867 (syscall-list-variants, syscall-list-32bit-options)
32868 (syscall-list-32bit-condition, syscall-list-64bit-options)
32869 (syscall-list-64bit-condition): Define.
32870 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32872 (syscall-list-variants, syscall-list-32bit-options)
32873 (syscall-list-32bit-condition, syscall-list-64bit-options)
32874 (syscall-list-64bit-condition): Define.
32876 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32878 * locale/iso-639.def: Add brx entry.
32881 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32882 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32884 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32885 __feraiseexcept_renamed.
32887 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32890 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32891 EPOLLET with unsigned values.
32892 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32895 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32896 to large cancellation.
32897 * math/s_cacoshf.c: Likewise.
32898 * math/s_cacoshl.c: Likewise.
32900 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32904 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32905 * math/s_cacoshf.c: Likewise.
32906 * math/s_cacoshl.c: Likewise.
32908 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32911 * iconv/gconv.h: Define __GCONV_SWAP.
32912 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32913 * iconvdata/utf-16.c: Likewise.
32914 * iconvdata/utf-32.c: Likewise.
32916 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32919 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32920 numerator after shifting it by one limb.
32922 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32924 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32925 under [__USE_EXTERN_INLINES].
32927 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32930 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32932 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32934 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32935 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32937 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32939 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32940 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32941 for strncasecmp/strncasecmp_l compilation.
32942 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32943 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32945 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32948 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32951 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32954 * time/tzfile.c (__tzfile_read): Check values from file header.
32956 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32958 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32959 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32960 * powerpc/powerpc32/dl-start.S: Likewise.
32961 * powerpc/powerpc32/elf/start.S: Likewise.
32962 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32963 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32964 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32965 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32966 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32967 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32968 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32969 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32970 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32971 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32972 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32973 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32974 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32975 * powerpc/powerpc32/memset.S: Likewise.
32976 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32977 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32978 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32979 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32980 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32981 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32982 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32983 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32984 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32985 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32986 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32987 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32988 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32990 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32992 * math/libm-test.inc: Added more nearbyint tests.
32993 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32994 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32996 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32998 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33000 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33003 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33005 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33006 Add wcscpy-ssse3 wcscpy-c.
33007 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33008 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33009 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33010 * sysdeps/x86_64/wcschr.S: New file.
33011 * sysdeps/x86_64/wcsrchr.S: New file.
33012 * string/test-strcmp.c: Remove checking of wcscmp function for
33014 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33015 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33016 wcsrchr-sse2 wcsrchr-c.
33017 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33018 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33019 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33020 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33021 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33022 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33023 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33024 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33025 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33026 * wcsmbc/wcschr.c (WCSCHR): New macro.
33028 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33030 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33031 * wcsmbs/test-wcsrchr.c: New file.
33032 * string/test-strrchr.c: Add wcsrchr support.
33034 * wcsmbs/test-wcscpy.c: New file.
33035 * string/test-strcpy.c: Add wcscpy support.
33038 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33040 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33043 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33046 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33048 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33050 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33051 Minor optimizations.
33053 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33054 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33055 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33057 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33059 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33060 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33061 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33062 for gcc to avoid warnings.
33063 * inet/Makefile (tests): Add tst-checks.
33064 * inet/tst-checks.c: New file.
33066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33069 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33072 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33073 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33075 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33077 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33079 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33082 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33084 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33086 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33087 conditional on GCC version.
33088 (__arch_compare_and_exchange_val_8_acq)
33089 (__arch_compare_and_exchange_val_16_acq)
33090 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33091 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33092 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33094 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33096 * sysdeps/sh/backtrace.c: New file.
33098 2011-12-02 Andreas Schwab <schwab@redhat.com>
33100 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33103 2011-12-01 Andreas Schwab <schwab@redhat.com>
33105 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33106 falling back to utime.
33108 2011-11-30 Andreas Schwab <schwab@redhat.com>
33110 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33111 expectations for float.
33113 2011-11-29 Andreas Schwab <schwab@redhat.com>
33115 * locale/weight.h (findidx): Add parameter len.
33116 * locale/weightwc.h (findidx): Likewise.
33117 * posix/fnmatch_loop.c (FCT): Adjust caller.
33118 * posix/regcomp.c (build_equiv_class): Likewise.
33119 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33120 * posix/regexec.c (check_node_accept_bytes): Likewise.
33121 * string/strcoll_l.c (STRCOLL): Likewise.
33122 * string/strxfrm_l.c (STRXFRM): Likewise.
33124 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33126 * Makefile.in: Remove CVSOPT handling.
33127 * configure.in: Remove use of AC_REVISION.
33128 * iconvdata/Makefile (distribute): No need to filter out CVS.
33129 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33132 2011-11-16 Andreas Schwab <schwab@redhat.com>
33134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33135 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33136 [USE_AS_STRNCASECMP_L]: Likewise.
33137 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33138 NO_TLS_DIRECT_SEG_REFS.
33139 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33140 Fix argument offsets for non-PIC.
33141 [USE_AS_STRNCASECMP_L]: Likewise.
33142 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33143 NO_TLS_DIRECT_SEG_REFS.
33145 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33147 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33149 * locale/loadlocale.c (_nl_load_locale): Likewise.
33151 2011-11-15 Andreas Schwab <schwab@redhat.com>
33153 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33154 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33155 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33156 (SYSCALL_GETTIME): Set errno on error.
33158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33159 count references to noai6ai_cached.
33161 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33163 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33165 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33166 FD_CLOEXEC for /proc/self/maps.
33168 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33169 FD_CLOEXEC for /proc/meminfo.
33171 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33174 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33175 FD_CLOEXEC for given file.
33177 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33179 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33180 FD_CLOEXEC for /etc/hosts.
33181 (_gethtent): Likewise.
33183 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33185 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33186 cancellation and set FD_CLOEXEC for /etc/netgroup.
33188 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33189 reading /etc/publickey.
33191 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33192 allow cancellation when reading /etc/group.
33194 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33196 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33198 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33199 when using data file.
33201 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33203 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33204 (write_nis_obj): Use "c" and "e" in fopen.
33206 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33208 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33210 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33212 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33214 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33217 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33219 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33221 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33223 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33224 file parsing and set FD_CLOEXEC.
33226 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33228 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33230 2011-11-14 Andreas Schwab <schwab@redhat.com>
33232 * malloc/arena.c (arena_get2): Don't call reused_arena when
33233 _int_new_arena failed.
33235 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33237 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33238 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33239 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33240 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33241 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33242 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33243 to compile strcasecmp and strncasecmp.
33244 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33245 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33249 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33251 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33252 locale-defines.sym to gen-as-const-headers.
33253 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33254 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33256 to compile strcasecmp and strncasecmp.
33257 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33258 strcasecmp_l and strncasecmp_l.
33259 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33260 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33261 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33262 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33263 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33264 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33265 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33266 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33267 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33268 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33269 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33271 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33273 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33274 result of SYSDEP_GETTIME_CPU to retval.
33275 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33276 parameter list to macro. Remove trailing semicolon. Adjust users.
33278 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33281 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33283 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33285 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33286 from unused variable.
33288 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33290 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33293 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33296 * sunrpc/rpc_prot.c (rejected): Fix case value.
33298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33299 unsigned long long int to avoid warnings in shift.
33301 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33303 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33306 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33307 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33308 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33310 * nis/nis_table.c (nis_list): Use variable of correct type for
33311 result of __follow_path call.
33313 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33315 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33316 of math functions ceil, trunc, floor, round, and sqrt, when
33317 avaliable on the platform.
33318 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33320 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33321 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33322 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33324 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33326 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33327 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33329 2011-11-11 Roland McGrath <roland@hack.frob.com>
33331 * include/unistd.h: Fix __readlink return type.
33332 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33334 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33336 * stdlib/ucontext.h: Undo last change for makecontext.
33338 2011-11-11 Andreas Schwab <schwab@redhat.com>
33340 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33342 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33343 * setjmp/setjmp.h: Mark functions as non-leaf.
33344 * setjmp/bits/setjmp2.h: Likewise.
33345 * stdlib/ucontext.h: Likewise.
33347 2011-11-10 Andreas Schwab <schwab@redhat.com>
33349 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33350 (reused_arena): Don't check arena limit.
33351 (arena_get2): Atomically check arena limit.
33353 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33355 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33356 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33361 2011-11-07 Andreas Schwab <schwab@redhat.com>
33363 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33364 handler when locking.
33366 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33367 Fix size of allocated buffer.
33369 2011-11-04 Andreas Schwab <schwab@redhat.com>
33372 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33373 declarations for long double functions.
33374 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33376 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33378 2011-11-03 Andreas Schwab <schwab@redhat.com>
33380 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33383 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33386 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33388 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33390 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33392 * include/alloca.h (stackinfo_alloca_round): Define.
33393 (extend_alloca): Use it.
33394 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33395 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33398 * scripts/check-local-headers.sh: Ignore libaudit.h.
33400 * nscd/Makefile (extra-objs): Make recursively expanded.
33402 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33404 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33407 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33408 * posix/tst-rfc3484-2.c: Likewise.
33409 * posix/tst-rfc3484-3.c: Likewise.
33411 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33413 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33415 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33416 process_vm_writev from libc using GLIBC_2.15 version.
33418 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33420 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33422 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33425 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33428 * nss/getent.c (initgroups_keys): Show error message in case no group
33431 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33432 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33433 __bump_nl_timestamp.
33434 * nscd/connections (nscd_init): When host database is served open
33435 netlink socket and request notification about configuration changes.
33436 (main_loop_poll): Track netlink file descriptor and bump timestamp
33437 in case data becomes available.
33438 (main_loop_epoll): Likewise.
33439 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33440 (database_pers_head): Add extra_data fileds.
33441 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33442 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33443 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33445 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33446 in6ai data, call __free_in6ai.
33447 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33448 Add -DHAVE_NETLINK.
33449 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33450 interface information. Reuse previous data if netlink timestamp
33452 (__bump_nl_timestamp): New function.
33453 (__free_in6ai): New function.
33455 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33457 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33458 close_not_cancel_no_status here.
33459 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33461 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33464 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33467 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33468 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33469 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33471 2011-07-03 Andreas Jaeger <aj@suse.de>
33474 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33475 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33476 * math/libm-test.inc (sin_test): Add test case.
33478 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33481 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33482 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33484 * elf/chroot_canon.c (chroot_canon): Cleanups.
33486 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33489 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33490 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33492 * string/test-strchr.c: Make usable for strchrnul testing.
33493 * string/test-strchrnul.c: New file.
33494 * string/Makefile (strop-tests): Add strchrnul.
33496 * po/it.po: Update from translation team.
33497 * po/es.po: Likewise.
33499 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33502 the three constants needed as parameters. Drop the others.
33503 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33504 __m128i_strloadu_tolower.
33505 Create and initialize variable zero and use it in all the places
33506 where _mm_setzero_si128 was used.
33508 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33509 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33510 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33511 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33513 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33514 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33515 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33516 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33517 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33518 __mpranred, __mptan.
33519 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33520 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33521 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33522 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33523 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33524 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33525 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33526 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33527 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33529 2011-10-28 Andreas Schwab <schwab@redhat.com>
33531 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33532 redefine if SHARED.
33533 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33536 wide char related routines to wcsmbs subdir.
33538 2011-10-27 Andreas Schwab <schwab@redhat.com>
33541 * misc/sys/cdefs.h (__THROWNL): Define.
33542 * posix/unistd.h: Use __THREADNL instead of __THREAD
33543 for memory synchronization functions.
33545 2011-10-26 Roland McGrath <roland@hack.frob.com>
33548 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33550 * manual/stdio.texi (Obstack Streams): Node removed.
33552 2011-10-26 Andreas Schwab <schwab@redhat.com>
33554 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33555 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33556 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33558 * math/math_private.h (math_force_eval): Allow non-addressable
33560 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33562 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33564 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33565 file is not needed.
33567 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33574 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33576 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33577 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33578 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33579 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33580 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33581 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33582 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33583 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33584 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33585 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33586 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33587 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33588 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33589 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33590 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33591 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33592 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33593 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33594 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33596 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33597 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33600 place. Use VEX encoding when compiling for AVX.
33602 2011-10-25 Andreas Schwab <schwab@redhat.com>
33604 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33605 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33607 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33609 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33611 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33612 useless if() expression.
33613 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33622 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33629 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33630 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33631 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33633 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33635 2011-10-25 Andreas Schwab <schwab@redhat.com>
33637 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33639 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33641 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33643 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33644 .text section. Avoid duplicate constants.
33645 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33655 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33657 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33660 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33662 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33669 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33670 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33671 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33672 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33673 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33674 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33675 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33676 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33677 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33678 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33679 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33680 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33681 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33683 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33684 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33685 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33686 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33687 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33688 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33689 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33691 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33693 * sysdeps/x86_64/dla.h: Move to ...
33694 * sysdeps/x86_64/fpu/dla.h: ...here.
33695 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33696 situations. Use __builtin_fma only for gcc 4.6 and up.
33698 * config.make.in: Add have-mfma4 entry.
33699 * configure.in: Substitute libc_cv_cc_fma4.
33700 * math/Makefile (dbl-only-routines): Add sincostab.
33701 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33702 Use __sincostab not sincos.
33703 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33705 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33710 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33711 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33712 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33713 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33715 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33716 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33718 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33719 define aliases when function name is a macro.
33720 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33721 sysdeps/ieee754/dbl-64/sincos.tbl.
33722 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33723 fma4-enabled routines.
33724 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33725 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33726 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33727 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33728 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33729 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33730 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33731 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33732 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33733 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33734 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33735 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33736 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33737 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33742 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33744 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33748 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33750 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33751 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33752 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33753 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33755 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33766 2011-10-24 Andreas Schwab <schwab@redhat.com>
33768 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33770 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33772 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33774 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33776 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33778 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33779 Remove unused variable magic_bits.
33780 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33782 * string/strnlen.c: Define and use STRNLEN macro.
33783 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33784 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33785 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33786 * wcsmbs/wcslen.c: Define and use WCSLEN.
33787 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33788 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33789 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33790 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33791 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33792 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33793 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33795 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33798 strnlen-sse2-no-bsf.
33799 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33801 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33802 Add strnlen support.
33803 (USE_AS_STRNLEN): New macro.
33804 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33805 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33806 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33807 * sysdeps/x86_64/wcslen.S: New file.
33809 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33812 XMM-moves are used for copying on small sizes.
33814 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33816 * wcsmbs/Makefile (strop-tests): Add wcschr.
33817 * wcsmbs/test-wcschr.c: New file.
33818 * string/test-strchr.c: Update.
33819 Add wcschr support.
33822 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33824 * wcsmbs/Makefile (strop-tests): Add wcslen.
33825 * wcsmbs/test-wcslen.c: New file.
33826 * string/test-strlen.c: Update.
33827 Add wcslen support.
33830 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33832 * po/it.po: Update from translation team.
33834 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33836 * sysdeps/x86_64/wcscmp.S: Update.
33837 Fix wrong comparison semantics.
33838 wcscmp shall use signed comparison not unsigned.
33839 Don't use substraction to avoid overflow bug.
33840 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33841 * wcsmbc/wcscmp.c: Likewise.
33842 * string/test-strcmp.c: Likewise.
33843 Add new tests to check cases with negative values.
33845 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33847 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33848 * sysdeps/x86_64/dla.h: ...here. New file.
33849 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33859 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33862 __ynl_finite aliases.
33864 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33868 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33870 [DLA_FMA] (EMULV): Use DLA_FMA.
33871 [DLA_FMA] (MUL12): Use EMULV.
33872 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33873 that are not needed.
33874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33882 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33884 * math/s_nan.c: Undef __nan.
33885 * math/s_nanf.c: Undef __nanf.
33886 * math/s_nanl.c: Undef __nanl.
33887 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33890 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33892 * math/s_catan.c: Add branch predictions.
33893 * math/s_catanf.c: Likewise.
33894 * math/s_catanh.c: Likewise.
33895 * math/s_catanhf.c: Likewise.
33896 * math/s_catanhl.c: Likewise.
33897 * math/s_catanl.c: Likewise.
33898 * math/s_cexp.c: Likewise.
33899 * math/s_cexpf.c: Likewise.
33900 * math/s_cexpl.c: Likewise.
33901 * math/s_clog.c: Likewise.
33902 * math/s_clog10.c: Likewise.
33903 * math/s_clog10f.c: Likewise.
33904 * math/s_clog10l.c: Likewise.
33905 * math/s_clogf.c: Likewise.
33906 * math/s_clogl.c: Likewise.
33907 * math/s_csqrt.c: Likewise.
33908 * math/s_csqrtf.c: Likewise.
33909 * math/s_csqrtl.c: Likewise.
33910 * math/s_ctanf.c: Likewise.
33911 * math/s_ctanh.c: Likewise.
33912 * math/s_ctanhf.c: Likewise.
33913 * math/s_ctanhl.c: Likewise.
33914 * math/s_ctanl.c: Likewise.
33916 * math/math_private.h: Define __nan, __nanf, __nanl.
33917 * math/s_cacosh.c: Include <math_private.h>.
33918 * math/s_cacoshl.c: Likewise.
33919 * math/s_casinh.c: Likewise.
33920 * math/s_casinhf.c: Likewise.
33921 * math/s_casinhl.c: Likewise.
33922 * math/s_ccos.c: Rely entire on ccosh.
33923 * math/s_ccosf.c: Rely entire on ccoshf.
33924 * math/s_ccosl.c: Rely entirely on ccoshl.
33925 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33926 Remove tests for FE_INVALID.
33927 * math/s_ccoshf.c: Likewise.
33928 * math/s_ccoshl.c: Likewise.
33929 * math/s_csin.c: Likewise.
33930 * math/s_csinf.c: Likewise.
33931 * math/s_csinh.c Likewise.
33932 * math/s_csinhf.c: Likewise.
33933 * math/s_csinhl.c: Likewise.
33934 * math/s_csinl.c: Likewise.
33935 * math/s_ctan.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33937 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33938 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33940 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33943 compilation problems.
33945 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33948 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33950 * sysdeps/i386/configure.in: Test for -mfma4 option.
33951 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33952 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33953 COMMON_CPUID_INDEX_80000001.
33954 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33955 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33956 use it if FMA3 is not supported.
33957 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33959 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33960 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33962 2011-10-20 Andreas Schwab <schwab@redhat.com>
33965 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33966 it would create a cycle with a link time dependency.
33968 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33970 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33972 * string/Makefile (strop-tests): Add rawmemchr.
33973 * string/test-rawmemchr.c: New file.
33975 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33976 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33977 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33978 when compiling str{,n}casecmp and when AVX is available. Hook up
33979 new optimized code in initializers.
33981 2011-10-19 Andreas Schwab <schwab@redhat.com>
33983 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33984 __feraiseexcept instead of feraiseexcept.
33986 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33988 * math/math_private.h: Define defaults for libc_fetestexcept and
33990 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33991 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33992 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33993 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33994 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33996 libc_fetestexcept and libc_feupdateenv.
33998 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33999 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34000 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34001 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34002 libc_feholdexcept_setround.
34004 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34005 Add s_nearbyint-c and s_nearbyintf-c.
34006 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34007 nearbyintf inlines.
34008 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34009 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34010 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34011 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34013 * math/math_private.h: Define defaults for libc_fegetround,
34014 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34015 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34016 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34018 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34019 standard functions.
34020 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34021 Remove comments and hacks for old compiler versions.
34022 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34023 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34024 libc_feholdexceptl.
34026 2011-10-18 Andreas Schwab <schwab@redhat.com>
34028 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34029 (__feraiseexcept_renamed): Add __NTH.
34030 (feraiseexcept): Add __NTH. Rename local variables to fix
34031 namespace violations.
34033 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34035 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34037 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34039 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34040 recently added interfaces.
34041 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34043 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34044 about macro parameter expansion.
34046 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34047 __NO_MATH_INLINES is defined. Cleanups.
34049 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34050 and __floorf is target has SSE4.1.
34051 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34052 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34053 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34054 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34056 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34058 (floorf): Likewise.
34060 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34062 2011-10-17 Andreas Schwab <schwab@redhat.com>
34064 * misc/sys/cdefs.h: Fix last change.
34066 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34069 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34071 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34073 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34075 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34076 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34077 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34078 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34079 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34080 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34081 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34082 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34083 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34084 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34085 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34086 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34087 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34088 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34089 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34090 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34091 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34093 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34096 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34097 ceil, ceilf, floor, floorf.
34099 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34100 Perform IRELATIVE relocations last.
34102 * elf/do-rel.h: Add another parameter nrelative, replacing the
34103 local variable with the same name. Change name of the function
34104 to end in Rel or Rela (uppercase).
34105 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34106 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34107 elf_dynamic_do_##reloc function.
34109 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34111 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34112 is sufficient, at least on modern CPUs.
34114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34116 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34117 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34119 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34121 * math/bits/math-finite.h: Add entries for exp.
34122 * math/e_expl.c: Add __*_finite alias.
34123 * sysdeps/i386/fpu/e_exp.S: Likewise.
34124 * sysdeps/i386/fpu/e_expf.S: Likewise.
34125 * sysdeps/i386/fpu/e_expl.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34127 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34130 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34131 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34132 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34134 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34135 is sufficient, at least on modern CPUs.
34137 * ctype/ctype-info.c (__ctype_init): Define.
34138 * include/ctype.h (__ctype_init): Declare.
34139 (__ctype_b_loc): The variable is always initialized.
34140 (__ctype_toupper_loc): Likewise.
34141 (__ctype_tolower_loc): Likewise.
34142 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34143 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34145 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34147 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34149 * configure.in: Also look in $cxxmachine/include for C++ system
34152 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34154 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34155 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34156 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34157 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34158 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34159 (USE_AS_WMEMCMP): New macro.
34161 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34162 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34163 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34164 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34166 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34167 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34168 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34169 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34170 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34172 (USE_AS_WMEMCMP): New macro.
34173 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34174 * sysdeps/string/test-memcmp.c: Update.
34175 Fix simple_wmemcmp.
34177 * wcsmbs/wmemcmp.c: Update.
34178 (WMEMCMP): New macro.
34181 2011-10-12 Andreas Jaeger <aj@suse.de>
34184 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34186 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34188 * libio/iofwide.c (do_length): Avoid warning.
34190 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34192 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34194 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34196 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34197 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34198 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34199 * sysdeps/i386/i686/fpu/e_log.S: New file.
34200 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34201 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34203 * ctype/ctype.h: Add support for inlined isXXX functions when
34204 compiling C++ code.
34206 2011-10-14 Andreas Schwab <schwab@redhat.com>
34208 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34210 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34212 2011-10-13 Roland McGrath <roland@hack.frob.com>
34215 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34217 2011-10-13 Andreas Schwab <schwab@redhat.com>
34219 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34220 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34223 * sysdeps/x86_64/memrchr.S: Check for zero size.
34225 * string/stratcliff.c: Add memrchr tests.
34227 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34230 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34231 rawmemchr-sse2 rawmemchr-sse2-bsf.
34232 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34233 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34234 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34235 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34236 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34237 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34238 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34239 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34240 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34241 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34242 * string/memrchr.c (MEMRCHR): New macro.
34244 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34246 Add integration with gcc's -ffinite-math-only and optimize wrapper
34248 * Versions.def: Define GLIBC_2.15 version for libm.
34249 * math/Makefile (headers): Add bits/math-finite.h.
34250 * math/bits/math-finite.h: New file.
34251 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34252 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34253 * math/e_acoshl.c: Add __*_finite alias.
34254 * math/e_acosl.c: Likewise.
34255 * math/e_asinl.c: Likewise.
34256 * math/e_atan2l.c: Likewise.
34257 * math/e_atanhl.c: Likewise.
34258 * math/e_coshl.c: Likewise.
34259 * math/e_exp10.c: Likewise.
34260 * math/e_exp10f.c: Likewise.
34261 * math/e_exp10l.c: Likewise.
34262 * math/e_exp2l.c: Likewise.
34263 * math/e_fmodl.c: Likewise.
34264 * math/e_gammal_r.c: Likewise.
34265 * math/e_hypotl.c: Likewise.
34266 * math/e_j0l.c: Likewise.
34267 * math/e_j1l.c: Likewise.
34268 * math/e_jnl.c: Likewise.
34269 * math/e_lgammal_r.c: Likewise.
34270 * math/e_log10l.c: Likewise.
34271 * math/e_log2l.c: Likewise.
34272 * math/e_logl.c: Likewise.
34273 * math/e_powl.c: Likewise.
34274 * math/e_sinhl.c: Likewise.
34275 * math/e_sqrtl.c: Likewise.
34276 * math/e_scalb.c: Completely rewritten and optimized.
34277 * math/e_scalbf.c: Likewise.
34278 * math/e_scalbl.c: Likewise.
34279 * math/w_acos.c: Likewise.
34280 * math/w_acosf.c: Likewise.
34281 * math/w_acosl.c: Likewise.
34282 * math/w_acosh.c: Likewise.
34283 * math/w_acoshf.c: Likewise.
34284 * math/w_acoshl.c: Likewise.
34285 * math/w_asin.c: Likewise.
34286 * math/w_asinf.c: Likewise.
34287 * math/w_asinl.c: Likewise.
34288 * math/w_atan2.c: Likewise.
34289 * math/w_atan2f.c: Likewise.
34290 * math/w_atan2l.c: Likewise.
34291 * math/w_atanh.c: Likewise.
34292 * math/w_atanhf.c: Likewise.
34293 * math/w_atanhl.c: Likewise.
34294 * math/w_exp10.c: Likewise.
34295 * math/w_exp10f.c: Likewise.
34296 * math/w_exp10l.c: Likewise.
34297 * math/w_fmod.c: Likewise.
34298 * math/w_fmodf.c: Likewise.
34299 * math/w_fmodl.c: Likewise.
34300 * math/w_j0.c: Likewise.
34301 * math/w_j0f.c: Likewise.
34302 * math/w_j0l.c: Likewise.
34303 * math/w_j1.c: Likewise.
34304 * math/w_j1f.c: Likewise.
34305 * math/w_j1l.c: Likewise.
34306 * math/w_jn.c: Likewise.
34307 * math/w_jnf.c: Likewise.
34308 * math/w_log.c: Likewise.
34309 * math/w_logf.c: Likewise.
34310 * math/w_logl.c: Likewise.
34311 * math/w_log10.c: Likewise.
34312 * math/w_log10f.c: Likewise.
34313 * math/w_log10l.c: Likewise.
34314 * math/w_log2.c: Likewise.
34315 * math/w_log2f.c: Likewise.
34316 * math/w_log2l.c: Likewise.
34317 * math/w_pow.c: Likewise.
34318 * math/w_powf.c: Likewise.
34319 * math/w_powl.c: Likewise.
34320 * math/w_remainder.c: Likewise.
34321 * math/w_remainderf.c: Likewise.
34322 * math/w_remainderl.c: Likewise.
34323 * math/w_scalb.c: Likewise.
34324 * math/w_scalbf.c: Likewise.
34325 * math/w_scalbl.c: Likewise.
34326 * math/w_sqrt.c: Likewise.
34327 * math/w_sqrtf.c: Likewise.
34328 * math/w_sqrtl.c: Likewise.
34329 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34330 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34332 * math/math_private.h: Declare __kernel_standard_f.
34333 * math/w_cosh.c: Remove cruft and optimize a bit.
34334 * math/w_coshf.c: Likewise.
34335 * math/w_coshl.c: Likewise.
34336 * math/w_exp2.c: Likewise.
34337 * math/w_exp2f.c: Likewise.
34338 * math/w_exp2l.c: Likewise.
34339 * math/w_hypot.c: Likewise.
34340 * math/w_hypotf.c: Likewise.
34341 * math/w_hypotl.c: Likewise.
34342 * math/w_lgamma.c: Likewise.
34343 * math/w_lgamma_r.c: Likewise.
34344 * math/w_lgammaf.c: Likewise.
34345 * math/w_lgammaf_r.c: Likewise.
34346 * math/w_lgammal.c: Likewise.
34347 * math/w_lgammal_r.c: Likewise.
34348 * math/w_sinh.c: Likewise.
34349 * math/w_sinhf.c: Likewise.
34350 * math/w_sinhl.c: Likewise.
34351 * math/w_tgamma.c: Likewise.
34352 * math/w_tgammaf.c: Likewise.
34353 * math/w_tgammal.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34355 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34356 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34357 Minor optimizations. Pretty printing. Remove cruft.
34358 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34359 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34360 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34361 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34362 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34363 * sysdeps/i386/fpu/e_asin.S: Likewise.
34364 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34365 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34366 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34367 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34368 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34370 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34371 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34372 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34373 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34374 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34375 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34376 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34377 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34378 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34379 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34380 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34381 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34382 * sysdeps/i386/fpu/e_log.S: Likewise.
34383 * sysdeps/i386/fpu/e_log10.S: Likewise.
34384 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34385 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34386 * sysdeps/i386/fpu/e_log2.S: Likewise.
34387 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34388 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34389 * sysdeps/i386/fpu/e_logf.S: Likewise.
34390 * sysdeps/i386/fpu/e_logl.S: Likewise.
34391 * sysdeps/i386/fpu/e_pow.S: Likewise.
34392 * sysdeps/i386/fpu/e_powf.S: Likewise.
34393 * sysdeps/i386/fpu/e_powl.S: Likewise.
34394 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34395 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34396 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34397 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34398 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34400 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34401 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34402 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34403 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34404 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34409 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34411 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34412 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34414 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34417 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34423 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34424 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34425 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34426 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34427 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34428 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34429 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34430 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34431 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34432 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34434 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34436 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34437 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34438 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34439 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34440 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34441 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34442 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34443 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34444 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34483 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34486 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34488 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34491 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34494 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34495 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34496 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34497 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34498 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34499 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34500 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34501 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34502 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34503 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34504 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34505 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34506 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34507 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34508 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34509 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34511 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34512 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34513 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34514 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34515 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34516 (__isnanf): Likewise.
34517 (__isinf_ns): Likewise.
34518 (__isinf_nsf): Likewise.
34519 (__finite): Likewise.
34520 (__finitef): Likewise.
34521 (__ieee754_sqrt): Define as macro.
34522 (__ieee754_sqrtf): Define as macro.
34523 (__ieee754_sqrtl): Define as macro.
34524 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34526 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34527 __FINITE_MATH_ONLY__ consistent.
34528 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34530 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34532 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34535 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34537 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34539 * po/ja.po: Update from translation team.
34541 2011-10-08 Roland McGrath <roland@hack.frob.com>
34543 * locale/programs/locarchive.c (prepare_address_space): New function.
34544 (create_archive, enlarge_archive, open_archive): Use it.
34546 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34547 inside [SHARED], where it is used.
34549 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34551 * nss/getent.c (netgroup_keys): Remove unused variable.
34552 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34554 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34556 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34557 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34559 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34560 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34561 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34562 * math/Makefile (libm-calls): Add s_isinf_ns.
34563 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34564 * math/multc3.c: Likewise.
34565 * math/s_casin.c: Likewise.
34566 * math/s_casinf.c: Likewise.
34567 * math/s_casinl.c: Likewise.
34568 * math/s_ccos.c: Likewise.
34569 * math/s_ccosf.c: Likewise.
34570 * math/s_ccosl.c: Likewise.
34571 * math/s_ctan.c: Likewise.
34572 * math/s_ctanf.c: Likewise.
34573 * math/s_ctanh.c: Likewise.
34574 * math/s_ctanhf.c: Likewise.
34575 * math/s_ctanhl.c: Likewise.
34576 * math/s_ctanl.c: Likewise.
34577 * math/w_fmod.c: Likewise.
34578 * math/w_fmodf.c: Likewise.
34579 * math/w_fmodl.c: Likewise.
34580 * math/w_remainder.c: Likewise.
34581 * math/w_remainderf.c: Likewise.
34582 * math/w_remainderl.c: Likewise.
34583 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34584 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34587 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34588 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34589 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34590 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34592 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34594 * stdio-common/printf_fphex.c: Likewise.
34595 * stdio-common/printf_size.c: Likewise.
34597 * math/e_exp10.c: Include math_private.h using <...> not "...".
34598 * math/e_exp10f.c: Likewise.
34599 * math/e_exp10l.c: Likewise.
34600 * math/e_exp2l.c: Likewise.
34601 * math/e_j0l.c: Likewise.
34602 * math/e_j1l.c: Likewise.
34603 * math/e_jnl.c: Likewise.
34604 * math/e_lgammal_r.c: Likewise.
34605 * math/e_rem_pio2l.c: Likewise.
34606 * math/e_scalb.c: Likewise.
34607 * math/e_scalbf.c: Likewise.
34608 * math/e_scalbl.c: Likewise.
34609 * math/k_cosl.c: Likewise.
34610 * math/k_sinl.c: Likewise.
34611 * math/k_tanl.c: Likewise.
34612 * math/s_cacoshf.c: Likewise.
34613 * math/s_catan.c: Likewise.
34614 * math/s_catanf.c: Likewise.
34615 * math/s_catanh.c: Likewise.
34616 * math/s_catanhf.c: Likewise.
34617 * math/s_catanhl.c: Likewise.
34618 * math/s_catanl.c: Likewise.
34619 * math/s_ccosh.c: Likewise.
34620 * math/s_ccoshf.c: Likewise.
34621 * math/s_ccoshl.c: Likewise.
34622 * math/s_cexp.c: Likewise.
34623 * math/s_cexpf.c: Likewise.
34624 * math/s_cexpl.c: Likewise.
34625 * math/s_clog.c: Likewise.
34626 * math/s_clog10.c: Likewise.
34627 * math/s_clog10f.c: Likewise.
34628 * math/s_clog10l.c: Likewise.
34629 * math/s_clogf.c: Likewise.
34630 * math/s_clogl.c: Likewise.
34631 * math/s_csin.c: Likewise.
34632 * math/s_csinf.c: Likewise.
34633 * math/s_csinh.c: Likewise.
34634 * math/s_csinhf.c: Likewise.
34635 * math/s_csinhl.c: Likewise.
34636 * math/s_csinl.c: Likewise.
34637 * math/s_csqrt.c: Likewise.
34638 * math/s_csqrtf.c: Likewise.
34639 * math/s_csqrtl.c: Likewise.
34640 * math/s_ctan.c: Likewise.
34641 * math/s_ctanf.c: Likewise.
34642 * math/s_ctanh.c: Likewise.
34643 * math/s_ctanhf.c: Likewise.
34644 * math/s_ctanhl.c: Likewise.
34645 * math/s_ctanl.c: Likewise.
34646 * math/s_ldexp.c: Likewise.
34647 * math/s_ldexpf.c: Likewise.
34648 * math/s_ldexpl.c: Likewise.
34649 * math/s_significand.c: Likewise.
34650 * math/s_significandf.c: Likewise.
34651 * math/s_significandl.c: Likewise.
34652 * math/w_acos.c: Likewise.
34653 * math/w_acosf.c: Likewise.
34654 * math/w_acosh.c: Likewise.
34655 * math/w_acoshf.c: Likewise.
34656 * math/w_acoshl.c: Likewise.
34657 * math/w_acosl.c: Likewise.
34658 * math/w_asin.c: Likewise.
34659 * math/w_asinf.c: Likewise.
34660 * math/w_asinl.c: Likewise.
34661 * math/w_atan2.c: Likewise.
34662 * math/w_atan2f.c: Likewise.
34663 * math/w_atan2l.c: Likewise.
34664 * math/w_atanh.c: Likewise.
34665 * math/w_atanhf.c: Likewise.
34666 * math/w_atanhl.c: Likewise.
34667 * math/w_cosh.c: Likewise.
34668 * math/w_coshf.c: Likewise.
34669 * math/w_coshl.c: Likewise.
34670 * math/w_dremf.c: Likewise.
34671 * math/w_exp10.c: Likewise.
34672 * math/w_exp10f.c: Likewise.
34673 * math/w_exp10l.c: Likewise.
34674 * math/w_exp2.c: Likewise.
34675 * math/w_exp2f.c: Likewise.
34676 * math/w_fmod.c: Likewise.
34677 * math/w_fmodf.c: Likewise.
34678 * math/w_fmodl.c: Likewise.
34679 * math/w_hypot.c: Likewise.
34680 * math/w_hypotf.c: Likewise.
34681 * math/w_hypotl.c: Likewise.
34682 * math/w_j0.c: Likewise.
34683 * math/w_j0f.c: Likewise.
34684 * math/w_j0l.c: Likewise.
34685 * math/w_j1.c: Likewise.
34686 * math/w_j1f.c: Likewise.
34687 * math/w_j1l.c: Likewise.
34688 * math/w_jn.c: Likewise.
34689 * math/w_jnf.c: Likewise.
34690 * math/w_jnl.c: Likewise.
34691 * math/w_lgamma.c: Likewise.
34692 * math/w_lgamma_r.c: Likewise.
34693 * math/w_lgammaf.c: Likewise.
34694 * math/w_lgammaf_r.c: Likewise.
34695 * math/w_lgammal.c: Likewise.
34696 * math/w_lgammal_r.c: Likewise.
34697 * math/w_log.c: Likewise.
34698 * math/w_log10.c: Likewise.
34699 * math/w_log10f.c: Likewise.
34700 * math/w_log10l.c: Likewise.
34701 * math/w_log2.c: Likewise.
34702 * math/w_log2f.c: Likewise.
34703 * math/w_log2l.c: Likewise.
34704 * math/w_logf.c: Likewise.
34705 * math/w_logl.c: Likewise.
34706 * math/w_pow.c: Likewise.
34707 * math/w_powf.c: Likewise.
34708 * math/w_powl.c: Likewise.
34709 * math/w_remainder.c: Likewise.
34710 * math/w_remainderf.c: Likewise.
34711 * math/w_remainderl.c: Likewise.
34712 * math/w_scalb.c: Likewise.
34713 * math/w_scalbf.c: Likewise.
34714 * math/w_scalbl.c: Likewise.
34715 * math/w_sinh.c: Likewise.
34716 * math/w_sinhf.c: Likewise.
34717 * math/w_sinhl.c: Likewise.
34718 * math/w_sqrt.c: Likewise.
34719 * math/w_sqrtf.c: Likewise.
34720 * math/w_sqrtl.c: Likewise.
34721 * math/w_tgamma.c: Likewise.
34722 * math/w_tgammaf.c: Likewise.
34723 * math/w_tgammal.c: Likewise.
34725 * po/ja.po: Update from translation team.
34727 2011-09-29 Andreas Jaeger <aj@suse.de>
34730 * sunrpc/netname.c (netname2host): Fix logic.
34734 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34736 * math/w_remainder.c (__remainder): Likewise.
34737 * math/w_remainderf.c (__remainderf): Likewise.
34738 * math/libm-test.inc (remainder_test): Add test cases.
34740 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34742 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34745 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34747 * string/test-memcmp.c: Avoid unncessary #defines.
34748 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34750 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34752 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34753 Use new sse2 version for core i3 - i7 as it's faster
34754 than sse42 version.
34755 (bit_Prefer_PMINUB_for_stringop): New.
34756 * sysdeps/x86_64/rawmemchr.S: Update.
34757 Replace with faster SSE2 version.
34758 * sysdeps/x86_64/memrchr.S: New file.
34759 * sysdeps/x86_64/memchr.S: Update.
34760 Replace with faster SSE2 version.
34762 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34764 * elf/dl-load.c (lose): Add cast to avoid warning.
34766 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34768 * po/ca.po: Update from translation team.
34770 * inet/getnetgrent_r.c: Hook up nscd.
34771 * nscd/Makefile (routines): Add nscd_netgroup.
34772 (nscd-modules): Add netgroupcache.
34773 (CFLAGS-netgroupcache.c): Define.
34774 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34775 (cache_search): Add const to second parameter.
34776 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34778 (dbs): Add netgrdb entry.
34779 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34780 (verify_persistent_db): Handle netgrdb.
34781 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34782 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34784 (netgroup_response_header): Define.
34785 (innetgroup_response_header): Define.
34786 (datahead): Add netgroup_response_header and innetgroup_response_header
34788 * nscd/nscd.conf: Add entries for netgroup cache.
34789 * nscd/nscd.h (dbtype): Add netgrdb.
34790 (_PATH_NSCD_NETGROUP_DB): Define.
34791 (netgroup_iov_disabled): Declare.
34792 (xmalloc, xcalloc, xrealloc): Move declarations here.
34793 (cache_search): Adjust prototype.
34794 Add netgroup-related prototypes.
34795 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34796 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34797 (__nscd_innetgr): Declare.
34798 * nscd/selinux.c (perms): Use access_vector_t as element type and
34799 add netgroup-related initializers.
34800 * nscd/netgroupcache.c: New file.
34801 * nscd/nscd_netgroup.c: New file.
34802 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34803 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34804 For four parameters use innetgr.
34805 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34806 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34807 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34808 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34810 * nscd/connections.c (register_traced_file): Don't register file
34811 for disabled databases.
34813 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34815 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34817 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34818 from tree and freeing node.
34820 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34822 * nss/nsswitch.c (__nss_database_lookup): Handle
34823 nss_parse_service_list out of memory case.
34825 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34827 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34828 out of memory case.
34830 2011-10-04 Andreas Schwab <schwab@redhat.com>
34832 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34833 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34835 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34836 elf_machine_rela, elf_machine_lazy_rel.
34837 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34838 (ELF_DYNAMIC_DO_REL): Likewise.
34839 (ELF_DYNAMIC_DO_RELA): Likewise.
34840 (ELF_DYNAMIC_RELOCATE): Likewise.
34841 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34842 to ELF_DYNAMIC_DO_REL.
34843 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34844 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34845 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34847 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34848 skip_ifunc, don't call ifunc function if non-zero.
34849 (elf_machine_rela): Likewise.
34850 (elf_machine_lazy_rel): Likewise.
34851 (elf_machine_lazy_rela): Likewise.
34852 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34853 (elf_machine_lazy_rel): Likewise.
34854 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34856 (elf_machine_lazy_rel): Likewise.
34857 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34859 (elf_machine_lazy_rel): Likewise.
34860 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34861 (elf_machine_lazy_rel): Likewise.
34862 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34863 (elf_machine_lazy_rel): Likewise.
34864 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34865 (elf_machine_lazy_rel): Likewise.
34866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34867 (elf_machine_lazy_rel): Likewise.
34868 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34869 (elf_machine_lazy_rel): Likewise.
34870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34871 (elf_machine_lazy_rel): Likewise.
34873 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34875 * nss/nss_files/files-init.c (_nss_files_init): Use static
34876 initialization for all the *_traced_file variables.
34878 2011-09-28 Andreas Schwab <schwab@redhat.com>
34880 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34882 2011-09-27 Roland McGrath <roland@hack.frob.com>
34885 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34887 2011-09-27 Andreas Schwab <schwab@redhat.com>
34889 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34890 Reread the line before reparsing it.
34892 2011-09-26 Andreas Schwab <schwab@redhat.com>
34894 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34896 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34897 Maxim Kuvyrkov <maxim@codesourcery.com>
34898 Joseph Myers <joseph@codesourcery.com>
34900 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34901 if needed for __stack_chk_guard.
34903 2011-09-19 Roland McGrath <roland@hack.frob.com>
34905 * sysdeps/posix/spawni.c (script_execute): Always define it.
34906 It will be optimized away if unused.
34907 (maybe_script_execute): New function.
34908 (__spawni): Call it.
34910 * Makerules: Don't include tls.make.
34911 (config-tls): Always set to thread.
34912 * tls.make.c: File removed.
34914 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34916 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34917 * config.make.in (CPPFLAGS-config): New substituted variable.
34919 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34921 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34924 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34925 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34927 2011-09-15 Roland McGrath <roland@hack.frob.com>
34929 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34930 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34932 (CALL_FAIL): Likewise.
34933 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34934 (CALL_FAIL): Macro removed.
34935 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34937 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34939 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34940 for __FINITE_MATH_ONLY__ == 1.
34942 2011-09-15 Andreas Schwab <schwab@redhat.com>
34944 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34945 __ieee754_sqrt instead of sqrt.
34946 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34947 __ieee754_sqrtf instead of sqrtf.
34948 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34949 __floorf instead of floorf.
34950 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34951 __floorf, __truncf instead of floorf, truncf.
34953 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34955 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34957 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34958 __extern_always_inline.
34959 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34962 2011-09-14 Andreas Schwab <schwab@redhat.com>
34964 * elf/rtld.c (dl_main): Also relocate in dependency order when
34965 doing symbol dependency testing.
34967 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34970 Always define `refsym'.
34972 2011-09-13 Andreas Schwab <schwab@redhat.com>
34974 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34975 (__FD_ELT): Renamed from __FDELT.
34976 * misc/bits/select2.h (__FD_ELT): Likewise.
34977 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34978 __FD_MASK instead of __FDELT, __FDMASK.
34979 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34981 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34984 * elf/Makefile (gen-ldd): Fix pattern.
34986 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34987 (init_tls): Likewise.
34989 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34993 2011-09-12 Andreas Schwab <schwab@redhat.com>
34995 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34996 `struct cmsghdr *' instead of `void *'.
34997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35000 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35002 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35004 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35005 ldd_rewrite_script.
35007 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35009 * configure.in: Remove --with-tls option.
35010 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35011 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35012 out in case it is missing.
35013 * sysdeps/ia64/elf/configure.in: Likewise.
35014 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35015 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35016 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35017 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35018 * sysdeps/sh/elf/configure.in: Likewise.
35019 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35020 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35021 * sysdeps/x86_64/elf/configure.in: Likewise.
35022 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35023 * sysdeps/mach/hurd/tls.h: Likewise.
35026 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35029 * configure.in: Fix use of AC_INIT.
35031 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35033 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35035 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35037 * malloc/hooks.c: Likewise.
35040 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35041 variables statically.
35042 (narenas): Initialize.
35043 (list_lock): Initialize.
35044 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35045 initializtion of main_arena and list_lock. Small cleanups.
35046 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35047 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35048 Add initializers to main_arena and mp_.
35049 (malloc_state): Remove pagesize member. Change all users to use
35052 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35053 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35054 is always initialized.
35056 * malloc/malloc.c: Removed unused configurations and dead code.
35057 * malloc/arena.c: Likewise.
35058 * malloc/hooks.c: Likewise.
35059 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35061 * include/tls.h: Removed. USE___THREAD must always be defined.
35062 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35063 * elf/dl-libc.c: Likewise.
35064 * elf/dl-tsd.c: Likewise.
35065 * include/errno.h: Likewise.
35066 * include/netdb.h: Likewise.
35067 * include/resolv.h: Likewise.
35068 * inet/herrno-loc.c: Likewise.
35069 * inet/herrno.c: Likewise.
35070 * malloc/arena.c: Likewise.
35071 * malloc/hooks.c: Likewise.
35072 * malloc/malloc.c: Likewise.
35073 * resolv/res-state.c: Likewise.
35074 * resolv/res_libc.c: Likewise.
35075 * sysdeps/i386/dl-machine.h: Likewise.
35076 * sysdeps/ia64/dl-machine.h: Likewise.
35077 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35078 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35079 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35080 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35081 * sysdeps/sh/dl-machine.h: Likewise.
35082 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35083 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35084 * sysdeps/unix/i386/sysdep.S: Likewise.
35085 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35086 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35089 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35091 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35096 * sysdeps/x86_64/dl-machine.h: Likewise.
35097 * tls.make.c: Likewise.
35099 * configure.in: Remove --with-__thread option. Make tests for
35100 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35101 tls_model attribute fail if no support is available. Remove
35103 * Makeconfig: Adjust for dropped configure option. All features are
35105 * Makerules: Likewise.
35106 * Versions.def: Likewise.
35107 * argp/argp-fmtstream.c: Likewise.
35108 * argp/argp-fmtstream.h: Likewise.
35109 * argp/argp-help.c: Likewise.
35110 * assert/assert.c: Likewise.
35111 * config.h.in: Likewise.
35112 * config.make.in: Likewise.
35113 * configure: Likewise.
35114 * configure.in: Likewise.
35115 * csu/Versions: Likewise.
35116 * csu/init.c: Likewise.
35117 * elf/tst-audit2.c: Likewise.
35118 * elf/tst-tls10.c: Likewise.
35119 * elf/tst-tls10.h: Likewise.
35120 * elf/tst-tls11.c: Likewise.
35121 * elf/tst-tls12.c: Likewise.
35122 * elf/tst-tls14.c: Likewise.
35123 * elf/tst-tlsmod11.c: Likewise.
35124 * elf/tst-tlsmod12.c: Likewise.
35125 * elf/tst-tlsmod13.c: Likewise.
35126 * elf/tst-tlsmod13a.c: Likewise.
35127 * elf/tst-tlsmod14a.c: Likewise.
35128 * elf/tst-tlsmod15b.c: Likewise.
35129 * elf/tst-tlsmod16a.c: Likewise.
35130 * elf/tst-tlsmod16b.c: Likewise.
35131 * elf/tst-tlsmod7.c: Likewise.
35132 * elf/tst-tlsmod8.c: Likewise.
35133 * elf/tst-tlsmod9.c: Likewise.
35134 * gmon/gmon.c: Likewise.
35135 * grp/fgetgrent_r.c: Likewise.
35136 * grp/putgrent.c: Likewise.
35137 * hurd/fopenport.c: Likewise.
35138 * include/libc-symbols.h: Likewise.
35139 * include/tls.h: Likewise.
35140 * intl/gettextP.h: Likewise.
35141 * intl/loadinfo.h: Likewise.
35142 * locale/global-locale.c: Likewise.
35143 * locale/localeinfo.h: Likewise.
35144 * mach/devstream.c: Likewise.
35145 * malloc/arena.c: Likewise.
35146 * malloc/set-freeres.c: Likewise.
35147 * misc/err.c: Likewise.
35148 * misc/getttyent.c: Likewise.
35149 * misc/mntent_r.c: Likewise.
35150 * posix/getopt.c: Likewise.
35151 * posix/wordexp.c: Likewise.
35152 * pwd/fgetpwent_r.c: Likewise.
35153 * resolv/Versions: Likewise.
35154 * resolv/res_hconf.c: Likewise.
35155 * shadow/fgetspent_r.c: Likewise.
35156 * shadow/putspent.c: Likewise.
35157 * stdio-common/printf_fphex.c: Likewise.
35158 * stdio-common/tmpfile.c: Likewise.
35159 * stdlib/abort.c: Likewise.
35160 * stdlib/fmtmsg.c: Likewise.
35161 * sunrpc/auth_unix.c: Likewise.
35162 * sunrpc/clnt_perr.c: Likewise.
35163 * sunrpc/clnt_tcp.c: Likewise.
35164 * sunrpc/clnt_udp.c: Likewise.
35165 * sunrpc/clnt_unix.c: Likewise.
35166 * sunrpc/openchild.c: Likewise.
35167 * sunrpc/svc_simple.c: Likewise.
35168 * sunrpc/svc_tcp.c: Likewise.
35169 * sunrpc/svc_udp.c: Likewise.
35170 * sunrpc/svc_unix.c: Likewise.
35171 * sunrpc/xdr.c: Likewise.
35172 * sunrpc/xdr_array.c: Likewise.
35173 * sunrpc/xdr_rec.c: Likewise.
35174 * sunrpc/xdr_ref.c: Likewise.
35175 * sunrpc/xdr_stdio.c: Likewise.
35177 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35179 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35181 2011-07-03 Andreas Jaeger <aj@suse.de>
35183 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35184 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35185 regenerate with gen-libm-tests.pl.
35187 2010-05-12 Petr Baudis <pasky@suse.cz>
35190 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35191 around j0() zero points by switching to j1().
35192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35197 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35199 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35201 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35204 Patch in part by Pavel Roskin <proski@gnu.org>.
35207 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35209 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35210 Free memory block if necessary.
35213 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35214 be NULL. Don't lock in this case.
35216 2011-09-09 Roland McGrath <roland@hack.frob.com>
35218 * elf/elf.h (ELFOSABI_GNU): New macro.
35219 (ELFOSABI_LINUX): Define to that.
35221 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35223 * string/strncat.c (strncat): Undef the symbol in case it has been
35224 defined in bits/string.h.
35226 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35228 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35230 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35233 2011-08-17 Andreas Jaeger <aj@suse.de>
35235 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35237 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35238 Ian Lance Taylor <iant@google.com>
35240 * math/libm-test.inc (lround_test): New testcase.
35241 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35243 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35245 * Makefile: Remove support for automatic cvs check-ins.
35246 * Makerules: Likewise.
35247 * config.make.in: Likewise.
35248 * configure.in: Likewise.
35249 * intl/Makefile: Likewise.
35250 * locale/Makefile: Likewise.
35251 * po/Makefile: Likewise.
35252 * posix/Makefile: Likewise.
35253 * sysdeps/gnu/Makefile: Likewise.
35254 * sysdeps/mach/hurd/Makefile: Likewise.
35255 * sysdeps/sparc/sparc32/Makefile: Likewise.
35258 * posix/Makefile (bug-regex32-ENV): Define.
35259 Patch by John Stanley <jpsinthemix@verizon.net>.
35261 * misc/Makefile (headers): Add bits/select2.h.
35262 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35263 * misc/bits/select2.h: New file.
35264 * include/bits/select2.h: New file.
35265 * debug/Makefile (routines): Add fdelt_chk.
35266 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35267 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35269 * debug/fdelt_chk.c: New file.
35271 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35272 * wcsmbs/test-wmemcmp.c: Likewise.
35273 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35274 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35276 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35278 * string/Makefile (strop-tests): Add memcmp.
35279 * string/test-wmemcmp.c: New file.
35280 * string/test-memcmp.c: Add wmemcmp support.
35282 2011-09-08 Roland McGrath <roland@hack.frob.com>
35285 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35288 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35289 garbage value in a __mach_port_mod_refs call in the cases of the
35290 task-self and thread-self ports.
35292 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35294 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35296 2011-09-08 Andreas Schwab <schwab@redhat.com>
35298 * elf/dl-load.c (lose): Check for non-null L.
35300 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35302 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35304 * elf/dl-libc.c (dlerror_run): Pass back error code from
35308 * elf/dl-load.c (lose): Free l_origin if it is valid.
35310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35312 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35313 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35314 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35315 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35316 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35317 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35319 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35321 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35322 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35323 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35324 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35325 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35326 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35327 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35328 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35329 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35330 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35332 2011-08-15 Alan Modra <amodra@gmail.com>
35335 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35336 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35337 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35338 ppc_mcount to static-only-routines.
35339 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35341 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35342 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35344 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35346 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35347 for finite and infinity parameters.
35349 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35351 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35352 and add nop instructions for throughput optimization.
35353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35355 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35357 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35358 aligned copy for power7 with vector-scalar instructions.
35359 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35361 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35366 2011-09-07 Andreas Schwab <schwab@redhat.com>
35369 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35372 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35374 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35375 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35376 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35377 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35380 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35382 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35383 Forgot to demangle the pointer.
35385 * sysdeps/i386/sysdep.h: Define atom_text_section.
35386 * sysdeps/x86_64/sysdep.h: Likewise.
35387 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35388 section with atom_text_section.
35389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35390 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35391 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35393 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35395 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35396 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35397 already be defined. Change to take two parameters and don't assign
35398 result to variable. Adjust all users.
35399 Define INTERNAL_GETTIME if not already defined.
35400 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35403 HAVE_CLOCK_GETTIME_VSYSCALL.
35404 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35407 gettimeofday vsyscall, just use time.
35409 2011-09-06 Andreas Schwab <schwab@redhat.com>
35411 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35414 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35416 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35420 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35422 syscall if possible.
35424 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35426 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35427 e_ident. Don't pass to find_mapsXX.
35428 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35430 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35433 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35434 * sysdeps/x86_64/multiarch/strchr.S: Update.
35435 Check bit_slow_BSF bit.
35436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35437 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35438 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35440 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35443 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35445 (tryshell): Define.
35446 (__spawni): Change last parameter to be flag. Test
35447 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35448 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35449 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35450 * posix/spawni.c: Likewise.
35451 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35452 * posix/spawnp.c: Likewise. Change normal version to use
35453 SPAWN_XFLAGS_USE_PATH.
35454 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35455 SPAWN_XFLAGS_TRY_SHELL.
35458 * posix/glob.h: Remove gcc 1.x support.
35461 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35463 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35466 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35468 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35469 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35470 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35471 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35472 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35473 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35475 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35477 * sysdeps/x86_64/wcscmp.S: New file.
35479 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35480 wcscmp-c wcscmp-sse2
35481 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35482 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35483 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35484 * wcsmbs/wcscmp.c: Allow renaming.
35486 2011-09-05 David S. Miller <davem@davemloft.net>
35488 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35489 stack slot, rather than the struct return pointer slot.
35490 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35491 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35493 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35495 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35497 * po/ja.po: Update from translation team.
35500 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35501 kernel in 64-bit binaries.
35503 2011-09-01 David S. Miller <davem@davemloft.net>
35505 * elf/elf.h (HWCAP_SPARC_*): Move to..
35506 * sysdeps/sparc/sysdep.h: this new file and add new values.
35507 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35508 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35509 _DL_HWCAP_COUNT to 24.
35510 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35512 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35513 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35514 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35516 instead of magic constants.
35517 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35519 2011-08-31 David S. Miller <davem@davemloft.net>
35521 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35523 Reimplement to do errno handling inline.
35524 (SYSCALL_ERROR_HANDLER): New macro.
35525 (__SYSCALL_STRING): Do not do errno handling in asm.
35526 (__CLONE_SYSCALL_STRING): Delete.
35527 (__INTERNAL_SYSCALL_STRING): Delete.
35528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35529 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35530 (PSEUDO): Reimplement to do errno handling inline.
35531 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35532 (SYSCALL_ERROR_HANDLER): New macro.
35533 (__SYSCALL_STRING): Do not do errno handling in asm.
35534 (__CLONE_SYSCALL_STRING): Delete.
35535 (__INTERNAL_SYSCALL_STRING): Delete.
35536 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35537 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35539 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35540 (inline_syscall*): Add 'err' argument.
35541 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35542 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35543 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35544 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35546 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35547 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35549 2011-08-30 Andreas Schwab <schwab@redhat.com>
35551 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35553 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35555 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35558 2011-08-24 David S. Miller <davem@davemloft.net>
35560 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35562 2011-08-24 Andreas Schwab <schwab@redhat.com>
35564 * elf/Makefile: Add rules to build and run unload8 test.
35565 * elf/unload8.c: New file.
35566 * elf/unload8mod1.c: New file.
35567 * elf/unload8mod1x.c: New file.
35568 * elf/unload8mod2.c: New file.
35569 * elf/unload8mod3.c: New file.
35571 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35574 2011-08-23 David S. Miller <davem@davemloft.net>
35576 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35577 subtract stack bias.
35578 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35579 %sp not %fp in calculations.
35580 (_JMPBUF_UNWINDS_ADJ): Likewise.
35582 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35583 (aio_suspend): Call it to force an exception region around the
35584 AIO_MISC_WAIT() invocation.
35586 2011-08-23 Andreas Schwab <schwab@redhat.com>
35588 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35591 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35593 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35595 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35596 and <dl-machine.h>.
35597 (Elf64_FuncDesc): Remove.
35599 2011-08-22 David S. Miller <davem@davemloft.net>
35601 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35602 sigaltstack check, add missing cfi directives.
35603 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35604 missing cfi directives, and sigaltstack handling.
35606 2011-08-16 Andreas Schwab <schwab@redhat.com>
35609 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35610 object is seen twice.
35611 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35613 * elf/Makefile (distribute): Add tst-initorder2.c.
35614 (tests): Add tst-initorder2.
35615 (modules-names): Add tst-initorder2a tst-initorder2b
35616 tst-initorder2c tst-initorder2d. Add rules to build them.
35617 ($(objpfx)tst-initorder2.out): New rule.
35618 * elf/tst-initorder2.c: New file.
35619 * elf/tst-initorder2.exp: New file.
35621 2011-08-22 Andreas Schwab <schwab@redhat.com>
35623 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35625 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35626 dependencies back to end of function.
35628 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35629 $(elfobjdir)/ld.so.
35631 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35634 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35636 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35637 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35638 of __vdso_gettimeofday.
35639 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35640 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35642 (_libc_vdso_platform_setup): Remove initialization of
35643 __vdso_gettimeofday and __vdso_time.
35645 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35647 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35648 and fgetc_unlocked.
35649 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35652 * elf/dl-open.c (add_to_global): Report additions to the global scope
35653 for LD_DEBUG=scopes.
35654 (dl_open_worker): Also print scope of newly loaded dependencies.
35655 (_dl_show_scope): Indicate if there is no scope.
35658 * stdio-common/Makefile (tests): Add bug24.
35659 * stdio-common/bug24.c: New file.
35661 2011-08-19 Andreas Jaeger <aj@suse.de>
35664 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35665 non-existant file when using close-on-exec mode.
35667 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35670 the very first instruction.
35672 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35673 the CFI state in the end.
35674 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35675 inclusion of dl-trampoline.h.
35676 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35678 2011-08-19 Andreas Schwab <schwab@redhat.com>
35680 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35681 expectations for long double.
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35684 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35686 2011-08-14 David S. Miller <davem@davemloft.net>
35688 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35689 artificual limit depends upon the system page size.
35691 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35693 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35694 * resolv/Makefile: Define CFLAGS-libresolv.
35696 2011-08-17 Andreas Schwab <schwab@redhat.com>
35698 * nss/makedb.c (compute_tables): Make variables used in nested
35701 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35703 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35704 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35705 if buffer was too small.
35707 * elf/pldd.c (main): Attach to all threads in the process.
35708 Rewrite /proc handling to use *at functions.
35710 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35712 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35713 specifies first scope to show.
35714 (dl_open_worker): Update callers. Move printing scope of new
35715 object to before the relocation.
35716 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35717 * sysdeps/generic/ldsodefs.h: Update declaration.
35719 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35720 string for the scope number.
35722 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35724 * nscd/servicescache.c (cache_addserv): Make sure written is always
35727 2011-08-14 Roland McGrath <roland@hack.frob.com>
35729 * sysdeps/i386/i486/bits/atomic.h
35730 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35731 statement expression, so as to suppress "set but not used" warning.
35732 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35734 * string/strncat.c (STRNCAT): Use prototype definition.
35736 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35737 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35739 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35740 (localedef-modules): Add localedef.
35741 (locale-modules): Add locale.
35743 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35744 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35745 to avoid a warning.
35747 2011-08-14 David S. Miller <davem@davemloft.net>
35749 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35750 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35752 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35754 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35755 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35756 * elf/rtld.c (dl_main): Set l_name of vDSO.
35757 Call _dl_show_scope when DL_DEBUG_SCOPES.
35758 (process_dl_debug): Recognize scopes flag and also set it for all.
35759 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35760 Declare _dl_show_scope.
35762 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35763 (do_dlopen): Pass caller_dlopen to dl_open.
35764 (__libc_dlopen_mode): Initialize caller_dlopen.
35766 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35767 of libc. Make tolower call locale-independent. Optimize a bit by
35768 using isdigit instead of isalnum.
35769 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35771 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35773 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35774 was a dependency or dynamically loaded.
35776 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35778 * intl/l10nflist.c: Allow architecture-specific pop function.
35779 * sysdeps/x86_64/l10nflist.c: New file.
35781 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35784 2011-08-10 Andreas Schwab <schwab@redhat.com>
35786 * include/dirent.h: Add libc_hidden_proto for scandirat and
35787 scandirat64. Don't declare __scandirat64.
35788 * dirent/scandirat.c: Add libc_hidden_def.
35789 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35790 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35792 2011-08-10 David S. Miller <davem@davemloft.net>
35794 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35800 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35802 * Versions.def [libc]: Add GLIBC_2.15.
35803 * dirent/Makefile (routines): Add scandirat and scandirat64.
35804 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35806 * dirent/dirent.h: Declare scandirat and scandirat64.
35807 * dirent/scandirat.c: New file.
35808 * dirent/scandirat64.c: New file.
35809 * sysdeps/wordsize-64/scandirat.c: New file.
35810 * sysdeps/wordsize-64/scandirat64.c: New file.
35811 * dirent/opendir.c: Define opendirat.
35812 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35814 * dirent/scandir64.c: Adjust for scandir.c change.
35815 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35816 __scandirat64, and __scandir_cancel_handler.
35817 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35818 additional parameter and use openat instead of open (outside of ld.so).
35819 Add new __opendir as wrapper around __opendirat.
35820 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35821 here without requiring old scandirat implementation.
35823 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35825 * dirent/scandir.c (cancel_handler): Renamed to
35826 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35827 defined. Adjust users.
35828 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35829 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35831 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35833 * string/test-string.h (IMPL): Use __STRING to expand name and then
35836 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35839 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35841 * string/Makefile: Update.
35842 (strop-tests): Append strncat.
35843 * string/test-wcscmp.c: New file.
35844 New comprehensive test for wcscmp.
35845 * string/test-strcmp.c: Update.
35846 (WIDE): New define.
35848 2011-07-22 Andreas Schwab <schwab@redhat.com>
35850 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35853 2011-07-26 Andreas Schwab <schwab@redhat.com>
35855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35856 encoding to ACE if AI_IDN.
35858 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35861 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35863 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35866 Fix overflow bug in strncat.
35867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35869 * string/test-strncat.c: Update.
35870 Add new tests for checking overflow bugs.
35872 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35875 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35876 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35877 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35878 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35879 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35880 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35881 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35882 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35885 (USE_AS_STRCAT): Define.
35886 Add strcat and strncat support.
35887 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35889 2011-07-25 Andreas Schwab <schwab@redhat.com>
35891 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35892 __n bigger than INT_MAX+1.
35893 (__strncmp_g): Likewise.
35895 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35897 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35898 * libio/stido.h: Likewise.
35900 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35905 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35906 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35908 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35912 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35917 (_dl_x86_64_save_sse): Likewise.
35919 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35923 (_dl_x86_64_save_sse): Likewise.
35925 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35927 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35929 2011-07-21 Andreas Schwab <schwab@redhat.com>
35931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35933 (_dl_x86_64_save_sse): Use correct AVX check.
35935 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35937 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35938 bug in strncpy/strncat.
35939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35941 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35943 * string/tester.c (test_strcat): Add tests for different alignments
35944 of source and destination.
35945 (test_strncat): Likewise.
35947 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35950 * posix/glob.c (glob): Check passed in values before using them in
35951 expressions to avoid some overflows.
35952 (glob_in_dir): Likewise.
35955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35956 check for AVX enablement so that we don't crash with old kernels and
35958 * elf/tst-audit4.c: Add same checks here.
35959 * elf/tst-audit6.c: Likewise.
35961 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35963 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35965 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35967 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35969 * po/cs.po: Update from translation team.
35970 * po/bg.po: Likewise.
35972 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35974 * misc/sys/cdefs.h: Add support for const attribute.
35975 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35976 to gnu_dev_{major,minor,makedev} functions.
35978 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35980 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35982 2011-07-20 Andreas Schwab <schwab@redhat.com>
35984 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35987 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35989 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35990 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35991 register in order to avoid conflicts with the soft frame pointer
35992 being held in r11 when necessary.
35993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35994 (INTERNAL_VSYSCALL_NCS): Likewise.
35996 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35998 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35999 * elf/dl-fini.c (_dl_fini): Adjust caller.
36000 * elf/dl-close.c (_dl_close_worker): Likewise.
36001 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36003 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36005 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36006 "aux_cache->nlibs < 0".
36008 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36009 in the reload-count case.
36011 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36014 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36015 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36016 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36017 * sysdeps/x86_64/multiarch/strcat.S: New file.
36018 * sysdeps/x86_64/multiarch/strncat.S: New file.
36019 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36020 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36021 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36022 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36023 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36024 (USE_AS_STRCAT): Define.
36025 Add strcat and strncat support.
36026 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36027 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36028 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36029 * string/strncat.c: Update.
36030 (USE_AS_STRNCAT): Define.
36031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36032 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36034 * sysdeps/x86_64/multiarch/init-arch.h
36035 (bit_Prefer_PMINUB_for_stringop): New.
36036 (index_Prefer_PMINUB_for_stringop): Likewise.
36037 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36038 bit_Prefer_PMINUB_for_stringop.
36040 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36042 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36044 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36045 of casting of buffer.
36046 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36047 buffer32 and buffer64.
36048 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36049 writes instead of casting of buffer.
36050 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36052 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36055 2011-07-19 Andreas Schwab <schwab@redhat.com>
36057 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36059 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36061 * nscd/nscd.c (termination_handler): Don't do anything for a database
36062 if it has not yet been initialized.
36064 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36066 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36068 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36070 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36072 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36074 * po/nl.po: Update from translation team.
36075 * po/sv.po: Likewise.
36077 2011-07-16 Roland McGrath <roland@hack.frob.com>
36079 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36080 now disallowed by GCC.
36082 * configure.in (use-default-link): Default to yes if a test -shared
36083 link meets our qualifications.
36084 * configure: Regenerated.
36086 * config.make.in (output-format): New variable.
36087 * configure.in: Check for ld --print-output-format support.
36088 * configure: Regenerated.
36089 * Makerules ($(common-objpfx)format.lds)
36090 [$(output-format) != unknown]: Just use $(output-format),
36091 instead of the linker-script munging.
36093 2011-07-14 Roland McGrath <roland@hack.frob.com>
36095 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36096 of $(common-objpfx)shlib.lds.
36097 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36099 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36100 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36102 * configure.in (-z relro check): Adjust test code to add a large
36103 writable data section after it.
36104 * configure: Regenerated.
36106 2011-07-11 Roland McGrath <roland@hack.frob.com>
36108 * configure.in (-z relro check): Fix test code to make the variable
36110 * configure: Regenerated.
36112 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36114 * nscd/nscd.h (struct traced_file): Define.
36115 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36116 elements. Add traced_files.
36117 (inotify_fd): Declare.
36118 (register_traced_file): Declare.
36119 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36120 (inotify_fd): Export.
36121 (resolv_conf_descr): Remove.
36122 (nscd_init): Move inotify descriptor creation to main.
36123 Don't register files for notification here.
36124 (register_traced_file): New function.
36125 (invalidate_cache): Don't use reset_res to determine whether to call
36126 res_init, go through the list of registered files.
36127 (main_loop_poll): The inotify descriptors are now stored in the
36128 structures for the traced files.
36129 (main_loop_epoll): Likewise
36130 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36131 to __nss_disable_nscd.
36132 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36133 for a database anymore. Check the records for all the registered
36135 * nss/Makefile (libnss_files-routines): Add files-init.
36136 (libnss_db-routines): Add db-init.
36137 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36138 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36139 * nss/nss_db/db-init.c: New file.
36140 * nss/nss_files/files-init.c: New file.
36141 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36142 __nss_lookup_function.
36143 (__nss_lookup_function): Call nss_load_library.
36144 (nss_load_all_libraries): New function.
36145 (__nss_disable_nscd): Take parameter with callback function for files
36146 to register. Set is_nscd. Load all the DSOs for the NSS modules
36147 used for the cached services.
36148 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36149 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36150 options for features to all the files in nscd.
36152 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36154 2011-07-10 Roland McGrath <roland@hack.frob.com>
36156 * csu/elf-init.c (__libc_csu_init): Comment typo.
36158 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36160 * po/pl.po: Update from translation team.
36161 * po/ja.po: Likewise.
36162 * po/ru.po: Likewise.
36163 * po/ko.po: Likewise.
36164 * po/fr.po: Likewise.
36166 2011-07-09 Roland McGrath <roland@hack.frob.com>
36168 * configure.in (.ctors/.dtors header and trailer check):
36169 Use an empirical test on a built program.
36170 * configure: Regenerated.
36172 * configure.in (-z relro check): Use an empirical test on a built DSO.
36173 Detect, but do not require, on ia64.
36174 * configure: Regenerated.
36176 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36177 Update tests that use readelf to use $READELF instead.
36178 * configure: Regenerated.
36180 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36182 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36183 if the result is not used.
36185 2011-07-05 Andreas Jaeger <aj@suse.de>
36188 * stdlib/tst-strtod.c: Add testcase.
36190 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36192 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36193 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36194 The latter has a higher limit. Take additional parameter to pass to
36196 (__pathconf): Pass file to __statfs_link_max.
36197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36199 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36203 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36204 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36206 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36207 (__statfs_filesize_max): Likewise.
36208 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36210 2011-07-05 Andreas Jaeger <aj@suse.de>
36212 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36214 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36216 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36218 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36221 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36223 * Makefile (strop-tests): Add strncat.
36224 * string/test-strncat.c: New file.
36226 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36228 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36230 2011-06-21 Andreas Jaeger <aj@suse.de>
36232 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36233 Copy rule from iconvdata/Makefile.
36235 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36238 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36239 but no long options are defined, just return 'W'.
36241 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36244 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36246 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36248 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36250 (innetgr): Likewise.
36252 2011-07-05 Roland McGrath <roland@hack.frob.com>
36254 * config.make.in (install_root): Default to $(DESTDIR).
36256 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36258 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36260 2011-07-02 Roland McGrath <roland@hack.frob.com>
36262 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36264 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36265 containing directory rather than embedding absolute directory names.
36267 * scripts/check-local-headers.sh: Rewritten using awk.
36268 Match by word, not by line. Print error messages for matches.
36269 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36271 * Makerules [shlib-lds-flags empty]:
36272 ($(common-objpfx)libc_pic.opts): New target.
36273 ($(common-objpfx)libc_pic.os.clean): New target.
36274 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36276 * config.make.in (OBJCOPY): New variable.
36277 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36278 * configure: Regenerated.
36280 * config.make.in (use-default-link): New variable.
36281 * configure.in (use_default_link): Grok --with-default-link to set it.
36282 * configure: Regenerated.
36283 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36284 (shlib-lds, shlib-lds-flags): Define to empty.
36286 * Makerules (shlib-lds): New variable.
36287 (shlib-lds-flags): New variable.
36288 (build-shlib, build-moduile, build-module-asneeded): Use it.
36289 ($(common-objpfx)libc.so): Use $(shlib-lds).
36290 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36291 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36293 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36294 DT_FLAGS/DT_FLAGS_1 with zero flags.
36296 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36297 linker script munging.
36299 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36301 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36303 * crypt/sha512.c (sha512_process_block): Perform total addition using
36304 128-bit if possible.
36305 (__sha512_finish_ctx): Likewise.
36306 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36308 * crypt/sha256.c (SWAP64): Define.
36309 (sha256_process_block): Perform total addition using 64-bit if
36311 (__sha256_finish_ctx): Likewise.
36313 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36315 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36317 * nscd/hstcache.c (cache_addhst): Likewise.
36318 * nscd/grpcache.c (cache_addgr): Likewise.
36319 * nscd/aicache.c (addhstaiX): Likewise
36320 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36322 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36324 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36326 * nscd/hstcache.c (cache_addhst): Likewise.
36327 * nscd/grpcache.c (cache_addgr): Likewise.
36328 * nscd/aicache.c (addhstaiX): Likewise
36330 2011-07-01 Andreas Schwab <schwab@redhat.com>
36332 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36333 domain only when needed.
36335 2011-06-30 Andreas Schwab <schwab@redhat.com>
36337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36338 is always restored.
36340 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36342 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36343 are re-adding the entry.
36344 * nscd/servicescache.c (cache_addserv): Likewise.
36346 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36348 * sysdeps/generic/dl-irel.h: fix protection against multiple
36350 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36352 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36355 * malloc/memusage.sh: Fix quoting in message.
36356 * debug/xtrace.sh: Likewise.
36358 * configure.in: Remove support for --experimental-malloc option, make
36360 * config.make.in: Likewise.
36361 * malloc/Makefile: Likewise.
36363 2011-06-27 Andreas Schwab <schwab@redhat.com>
36365 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36366 two-byte characters.
36368 2011-06-27 Roland McGrath <roland@hack.frob.com>
36370 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36371 AC_CACHE_CHECK invocation.
36372 * configure: Regenerated.
36374 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36376 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36379 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36380 bit from old_res_options.
36382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36384 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36385 value type for setfct.
36387 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36390 __gettimeofday instead of gettimeofday.
36392 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36394 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36396 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36398 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36403 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36406 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36407 strcpy-sse2-unaligned strncpy-sse2-unaligned
36408 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36409 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36410 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36411 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36412 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36413 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36414 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36415 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36416 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36417 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36418 (STRCPY): Support SSE2 and SSSE3 versions.
36420 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36424 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36425 kernels which artificially limit size of requests.
36427 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36430 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36431 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36432 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36433 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36434 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36435 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36436 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36437 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36439 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36440 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36441 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36442 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36443 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36445 Enable unaligned load optimization for Intel Core i3, i5 and i7
36447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36449 (index_Fast_Unaligned_Load): Define.
36450 (HAS_FAST_UNALIGNED_LOAD): Define.
36452 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36454 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36456 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36460 until it is clear that the information is realy needed.
36461 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36463 2011-06-22 Andreas Schwab <schwab@redhat.com>
36465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36467 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36470 /sys/devices/system/cpu/online if it is usable.
36472 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36473 reading the information from the /proc filesystem to once a second.
36475 2011-06-21 Andreas Jaeger <aj@suse.de>
36477 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36478 NULL after inclusion of kernel headers.
36480 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36482 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36483 calls to internal_setent.
36486 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36487 addresses using gethostbyname4_r ignore IPv4 addresses.
36489 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36490 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36492 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36494 2011-06-20 David S. Miller <davem@davemloft.net>
36496 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36498 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36500 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36501 (elf_irel): Use it.
36502 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36503 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36504 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36505 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36506 * sysdeps/x86_64/dl-irel.h: Likewise.
36508 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36509 * elf/dl-sym.c: Likewise.
36511 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36513 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36514 need to dereference resplen2.
36516 2011-06-14 Andreas Schwab <schwab@redhat.com>
36518 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36520 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36522 * Makeconfig: Define vardbdir and inst_vardbdir.
36523 * nss/Makefile: Add rules to install db-Makefile.
36525 * nss/nss_db/db-XXX.c: Cleanup.
36527 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36528 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36530 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36531 * nss/makedb.c: Implement -g option to specify that value strings
36532 are generated and should not be added to table iterated over for
36534 * nss/nss_db/db-initgroups.c: New file.
36536 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36539 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36540 (internal_getgrouplist): Adjust to name change.
36541 Update use_initgroups_entry if this is not the first call.
36542 * nss/databases.def: Add initgroups entry.
36544 * nss/makedb.c (compute_tables): Check result of multiple hash table
36545 sizes to minimize maximum chain length.
36547 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36549 * Versions.def: Add entry for libnss_db.
36550 * shlib-versions: Likewise.
36551 * nss/Makefile: Add rules to build libnss_db.
36552 * nss/Versions: Add libnss_db information. Organize libnss_files
36554 * nss/db-Makefile: Add gshadow support. Change rules for the new
36555 makedb progra. Some minor improvements to generate smaller files.
36556 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36558 * nss/makedb.c: ...here.
36559 Improve database format to be smaller and require less memory at
36561 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36563 * nss/nss_db/db-netgrp.c: Likewise.
36564 * nss/nss_db/db-open.c: Likewise.
36565 * nss/nss_files/flies-XXX.x: Adjust comments.
36566 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36567 * nss/nss_files/files-grp.c: Likewise.
36568 * nss/nss_files/files-hosts.c: Likewise.
36569 * nss/nss_files/files-network.c: Likewise.
36570 * nss/nss_files/files-proto.c: Likewise.
36571 * nss/nss_files/files-pwd.c: Likewise.
36572 * nss/nss_files/files-rpc.c: Likewise.
36573 * nss/nss_files/files-service.c: Likewise.
36574 * nss/nss_files/files-sgrp.c: Likewise.
36575 * nss/nss_files/files-spwd.c: Likewise.
36576 * nss/nss_db/db-alias.c: Removed.
36577 * nss/nss_db/dummy-db.h: Removed.
36579 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36581 * nss/makedb.c: Rewritten to not use database library.
36582 * nss/Makefile: Update to build new makedb program.
36584 2011-06-14 Andreas Jaeger <aj@suse.de>
36586 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36587 memset declaration.
36589 2011-06-10 Andreas Schwab <schwab@redhat.com>
36591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36594 2011-06-10 Roland McGrath <roland@hack.frob.com>
36596 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36597 * elf/Makefile ($(objpfx)ld.so): Likewise.
36599 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36600 Don't list ld.so twice in dependencies.
36602 * posix/bug-regex31.c: Include <stdlib.h>.
36604 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36606 * nis/nss_compat/compat-spwd.c
36607 (getspent_next_nss_netgr): Remove unused variable.
36608 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36610 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36611 nonmembers" output to use the right array.
36613 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36615 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36617 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36618 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36619 * catgets/gencat.c (read_input_file): Likewise.
36620 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36622 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36623 variable definition inside #if's controlling its use.
36625 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36627 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36629 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36631 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36634 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36636 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36637 * configure: Regenerated.
36639 * Makerules: Revert last change.
36640 * elf/Makefile: Likewise.
36642 2011-06-09 Roland McGrath <roland@hack.frob.com>
36644 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36645 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36646 (reloc-link): Likewise.
36648 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36650 * elf/Makefile: Add rules to build pldd.
36651 * elf/pldd.c: New file.
36652 * elf/pldd-xx.c: New file.
36654 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36656 * version.h: Update for 2.15 development version.
36658 2011-06-07 David S. Miller <davem@davemloft.net>
36660 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36663 elf_machine_lazy_rel): Likewise.
36664 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36666 elf_machine_lazy_rel): Likewise.
36667 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36668 dl_hwcap via passed in argument.
36669 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36672 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36674 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36676 2011-06-06 Roland McGrath <roland@hack.frob.com>
36679 * manual/fdl-1.1.texi: New file, verbatim from:
36680 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36681 * manual/lgpl-2.1.texi: New file, verbatim from:
36682 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36683 * manual/Makefile (licenses): New variable, list those new file names.
36685 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36687 * manual/fdl.texi: File removed.
36688 * manual/lesser.texi: File removed.
36689 * manual/libc.texinfo (Copying, Documentation License):
36690 Use new @include file names, put @appendix directive before @include.
36692 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36695 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36696 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36697 (mq_open): Add __NTH.
36699 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36702 Assume Intel Core i3/i5/i7 processor if AVX is available.
36704 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36709 2011-05-31 Andreas Schwab <schwab@redhat.com>
36711 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36712 memory. Use alloca_account. Fix memory leak when retrying.
36714 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36716 * version.h (RELEASE): Bump for 2.14 release.
36717 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36719 * config.make.in (RANLIB): Remove entry.
36721 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36723 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36724 (libc.pot): Work around missing support for .ksh extension in xgettext.
36727 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36728 if both request failed.
36729 (send_dg): In case of server errors clear resplen or *resplen2.
36732 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36733 when there are multiple maps.
36734 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36735 (_dl_fini): Remove test here.
36737 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36739 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36742 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36743 bit from old_res_options.
36744 (gaih_inet): Likewise.
36747 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36750 * resolv/res_init.c (res_setoptions): Make the code more compact.
36753 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36757 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36759 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36762 * malloc/malloc.h: Declare malloc hook variables as volatile.
36764 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36768 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36769 raise in the comment.
36770 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36772 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36774 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36777 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36778 grow the buffers more if it already has to be sufficient.
36779 (build_wcs_upper_buffer): Likewise.
36780 * posix/regexec.c (check_matching): Likewise.
36781 (clean_state_log_if_needed): Likewise.
36782 (extend_buffers): Don't enlarge buffers beyond size of the input
36784 Patches mostly by Emil Wojak <emil@wojak.eu>.
36785 * posix/bug-regex32.c: New file.
36786 * posix/Makefile (tests): Add bug-regex32.
36788 * locale/findlocale.c (_nl_find_locale): Return right away if
36789 _nl_explode_name failed.
36790 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36792 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36794 * debug/xtrace.sh: Unify messages.
36795 * malloc/memusage.sh: Likewise.
36798 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36799 time symbol from vDSO. Substitute with vsyscall if not available.
36800 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36803 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36804 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36805 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36806 Add sendmmsg and internal_sendmmsg.
36807 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36808 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36809 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36811 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36812 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36813 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36815 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36818 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36819 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36825 * iconvdata/Makefile (tests): Add bug-iconv9.
36826 * iconvdata/bug-iconv9.c: New file.
36828 2011-05-27 Andreas Schwab <schwab@redhat.com>
36831 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36833 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36836 (struct user_regs_struct): Change intcs field back to cs.
36838 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36840 * po/ja.po: Update from translation team.
36842 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36845 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36846 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36848 2011-05-20 Andreas Schwab <schwab@redhat.com>
36850 * stdlib/longlong.h: Update from GCC.
36852 2011-05-23 Andreas Schwab <schwab@redhat.com>
36854 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36856 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36857 Add parameter name.
36858 (__sysconf): Pass it down.
36860 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36863 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36866 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36867 add in in __libc_use_alloca calls. Adjust callers.
36868 (glob): Use malloc in some situations.
36870 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36871 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36874 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36876 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36877 and CLOCK_BOOTTIME_ALARM.
36880 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36883 * string/_strerror.c (__strerror_r): Print negative errors as signed
36887 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36888 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36889 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36891 * configure.in: Fix typo in redirection and correct removal of test
36892 files in two cases.
36895 * locale/setlocale.c (new_composite_name): Fix test to check for
36896 identical name of all categories.
36899 * libio/filedoalloc.c (local_isatty): New function.
36900 (_IO_file_doallocate): Use local_isatty.
36901 * stdio-common/perror.c (perror): In case a new stream is used
36902 forward the stream error.
36903 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36906 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36911 * include/alloca.h (extend_alloca_account): Define.
36914 * posix/regex.h: Fix comments with documentation of user-accessible
36915 fields after compilation and describe correct free'ing of pattern
36916 after re_compile_pattern.
36917 Patch by Reuben Thomas <rrt@sc3d.org>.
36919 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36921 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36922 and -mno-altivec to prevent the compiler from using Altivec and/or
36923 VSX instructions when the corresponding registers are not available.
36925 2011-05-19 Andreas Schwab <schwab@redhat.com>
36927 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36929 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36931 * libio/freopen.c (freopen): Use __dup2, not dup2.
36932 * libio/freopen64.c (freopen64): Likewise.
36934 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36937 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36938 * math/Makefile (tests): Add test-powl.
36939 (CFLAGS-test-powl.c): Define.
36940 * math/test-powl.c: New file.
36942 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36944 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36946 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36949 * iconvdata/gb18030.c: Update to GB18020-2005.
36951 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36953 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36954 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36955 Patch by Aharon Robbins <arnold@skeeve.com>.
36958 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36962 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36963 through underflows.
36966 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36967 point to strings before performing equality test for error_one_per_line
36971 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36975 (struct user_fpregs_struct): Avoid __uint*_t types.
36978 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36979 symbol info. Use it instead of calling _dl_addr locally.
36980 (lock_and_info): New function.
36981 (tr_freehook): Call lock_and_info and pass symbol info as additional
36982 parameter to tr_where.
36983 (tr_mallochook): Likewise.
36984 (tr_reallochook): Likewise.
36985 (tr_memalignhook): Likewise.
36987 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36988 used and couldn't be at all thread-safe.
36990 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36992 * libio/freopen.c (freopen): Don't close old file descriptor
36993 before the new one is opened. Instead dup the new file descriptor
36994 to the old one after the new stream is created.
36995 * libio/freopen64.c (freopen64): Likewise.
36996 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36997 * libio/fileops.c (_IO_new_file_close_it): Handle new
36998 _IO_FLAGS2_NOCLOSE flag.
36999 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37000 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37001 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37002 _IO_FLAGS2_NOCLOSE flag.
37003 * include/unistd.h: Add hidden_proto for dup3.
37004 Define __have_dup3.
37005 * io/dup3.c: Define hidden symbol.
37006 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37009 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37010 when an incomplete long option is used.
37011 * posix/tst-getopt_long1.c: New file.
37012 * posix/Makefile (tests): Add tst-getopt_long1.
37015 * scripts/config.guess: Update from autoconf-2.68.
37016 * scripts/config.sub: Likewise.
37019 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37021 (has_cpuclock): ...this. New function.
37022 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37023 macro here based on has_cpuclock code.
37026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37027 First byte (not low byte) is now always NUL.
37028 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37031 Use non-cancelable interfaces.
37034 * locale/iso-639.def: Add entry for Sorani.
37037 * include/stdlib.h: Move include protection to the right place.
37038 Define abort_msg_s. Declare __abort_msg with it.
37039 * stdlib/abort.c (__abort_msg): Adjust type.
37040 * assert/assert.c (__assert_fail_base): New function. Majority
37041 of code from __assert_fail. Allocate memory for __abort_msg with
37043 (__assert_fail): Now call __assert_fail_base.
37044 * assert/assert-perr.c: Remove bulk of implementation. Use
37045 __assert_fail_base.
37046 * include/assert.hL Declare __assert_fail_base.
37047 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37049 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37051 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37055 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37056 until all modules are registered in the DTV.
37057 * elf/Makefile: Add rules to build and run tst-tls19.
37058 * elf/tst-tls19.c: New file.
37059 * elf/tst-tls19mod1.c: New file.
37060 * elf/tst-tls19mod2.c: New file.
37061 * elf/tst-tls19mod3.c: New file.
37062 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37065 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37069 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37070 two-byte sequence errors.
37071 * iconvdata/Makefile (tests): Add bug-iconv8.
37072 * iconvdata/bug-iconv8.c: New file.
37075 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37078 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37081 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37082 (dummy_getcfa): New function.
37083 (init): Get _Unwind_GetCFA address, use dummy if not found.
37084 (backtrace_helper): In recursion check, also check whether CFA changes.
37085 (__backtrace): Completely initialize arg.
37087 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37088 storing incomplete byte sequence in state object. Avoid testing for
37089 guaranteed too small input if we know there is enough data available.
37091 2011-05-11 Andreas Schwab <schwab@redhat.com>
37093 * Makeconfig (+link-pie): Indent.
37094 * Rules (binaries-pie): Define if $(have-fpie) and
37096 (binaries-shared): Also filter out $(binaries-pie).
37097 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37098 * nscd/Makefile (others-pie): Add nscd.
37099 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37100 ($(objpfx)nscd): Remove command override.
37101 * login/Makefile (others-pie): Add pt_chown.
37102 ($(objpfx)pt_chown): Remove command override.
37103 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37104 remove command overrides.
37106 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37108 * libio/tst_putwc.c: Fix error messages.
37111 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37112 currently writing and seek to current position when not.
37113 * libio/Makefile (tests): Add bug-fclose1.
37114 * libio/bug-fclose1.c: New file.
37116 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37119 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37120 don't set DF_1_NODELETE here.
37121 (do_lookup_x): When entering new entry test for copy relocation
37122 and if necessary set DF_1_NODELETE flag.
37123 * elf/tst-unique4.cc: New file.
37124 * elf/tst-unique4.h: New file.
37125 * elf/tst-unique4lib.cc: New file.
37126 * elf/Makefile: Add rules to build and run tst-unique4.
37127 Patch by Piotr Bury <pbury@goahead.com>.
37129 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37132 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37135 * misc/mntent_r.c (addmntent): Flush the stream after the output
37138 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37139 (is_trusted_path_normalize): Skip initial colon. Append slash
37140 to empty buffer. Duplicate is_trusted_path code but allow
37141 constructed patch to be prefix.
37142 (is_dst): Allow $ORIGIN followed by /.
37143 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37144 Correct testing of result of is_trusted_path_normalize
37145 (decompose_rpath): Fix warning.
37147 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37150 * grp/initgroups.c (internal_getgrouplist): When we found the service
37151 list through the initgroups entry in nsswitch.conf do not always
37152 continue on a successful lookup. Don't always use the
37153 __nss_group_database value if it is set.
37154 * nss/nsswitch.conf (initgroups): Change action for successful db
37155 lookup to continue for compatibility.
37157 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37160 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37162 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37164 * iconvdata/tst-tables.sh: Likewise.
37165 * iconvdata/cp770.c: New file.
37166 * iconvdata/cp771.c: New file.
37167 * iconvdata/cp772.c: New file.
37168 * iconvdata/cp773.c: New file.
37169 * iconvdata/cp774.c: New file.
37170 * iconvdata/testdata/CP770: New file.
37171 * iconvdata/testdata/CP770..UTF8: New file.
37172 * iconvdata/testdata/CP771: New file.
37173 * iconvdata/testdata/CP771..UTF8: New file.
37174 * iconvdata/testdata/CP772: New file.
37175 * iconvdata/testdata/CP772..UTF8: New file.
37176 * iconvdata/testdata/CP773: New file.
37177 * iconvdata/testdata/CP773..UTF8: New file.
37178 * iconvdata/testdata/CP774: New file.
37179 * iconvdata/testdata/CP774..UTF8: New file.
37181 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37183 * iconvdata/gen-8bit-gap.sh: Likewise.
37184 * iconvdata/gen-8bit.sh: Likewise.
37186 * locale/iso-639.def: Add ary entry.
37189 * locale/C-translit.h.in: Add U20A1 transliteration.
37192 * locale/iso-639.def: Add wae entry.
37193 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37196 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37200 * locale/C-translit.h.in: Add entry for U20B9.
37201 Patch by pravin.d.s@gmail.com.
37203 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37206 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37207 ENAMETOOLONG use generic getcwd.
37208 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37209 in rtld. Use *stat64.
37210 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37211 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37212 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37213 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37214 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37215 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37216 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37217 __fstatat64 macros.
37218 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37219 * dirent/rewinddir.c: Add libc_hidden_def.
37220 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37221 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37223 * include/dirent.h (__alloc_dir): Add flags parameter.
37224 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37225 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37227 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37228 from fdopendir if O_CLOEXEC is already set.
37230 2011-03-15 Alan Modra <amodra@gmail.com>
37232 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37233 l_tls_firstbyte_offset non-zero. Save padding offset in
37234 l_tls_firstbyte_offset for later use.
37235 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37236 freeing static tls block.
37238 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37240 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37241 where #ifdef was intended. The intent is to prevent ARG_MAX from
37242 being defined by the kernel headers.
37244 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37247 * resolv/resolv.h: Define RES_NOTLDQUERY.
37248 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37249 no-tld-query and set RES_NOTLDQUERY.
37250 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37251 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37252 modern BIND to search name as TLD unless forbidden.
37254 2011-05-07 Petr Baudis <pasky@suse.cz>
37255 Ulrich Drepper <drepper@gmail.com>
37258 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37259 (is_trusted_path): ...to here.
37260 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37261 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37262 using is_trusted_path_normalize() in setuid scripts.
37264 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37266 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37267 __BEGIN/__END_DECLS.
37269 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37272 NSS_STATUS_NOTFOUND if no record was found.
37274 2011-05-05 Andreas Schwab <schwab@redhat.com>
37276 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37277 (headers-not-in-tirpc): Remove rpc/netdb.h
37278 * resolv/netdb.h: Revert last change.
37280 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37282 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37283 circular dependency between libgcc.a and libc.a.
37285 2011-05-05 Andreas Schwab <schwab@redhat.com>
37287 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37288 * nis/Makefile: Don't install rpcsvc/*.
37289 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37290 instead of <rpc/types.h>.
37291 (MAXHOSTNAMELEN): Define.
37293 2011-05-03 Andreas Schwab <schwab@redhat.com>
37295 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37297 2011-04-28 Maciej Babinski <mbabinski@google.com>
37300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37301 gethostbyname4_r when IPv6 results are possible.
37303 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37306 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37307 _PC_PIPE_BUF handling.
37309 2011-04-30 Bruno Haible <bruno@clisp.org>
37312 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37313 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37315 * inet/getnameinfo.c (getnameinfo): Likewise.
37317 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37319 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37320 to groups setting in database lookup.
37321 * nss/nsswitch.conf: Add initgroups entry.
37323 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37326 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37328 Patch by Eric Blake <eblake@redhat.com>.
37330 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37332 * sunrpc/Makefile (need-export-routines): Add svc_run.
37333 (routines): Remove svc_run.
37334 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37335 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37336 * sunrpc/svc_run.c (svc_run): Likewise.
37337 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37339 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37342 problem in reallocation in last patch.
37344 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37346 * sunrpc/Makefile: Move inclusion of Rules.
37348 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37350 * nss/nss_files/files-initgroups.c: New file.
37351 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37352 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37353 _nss_files_initgroups_dyn.
37355 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37357 * elf/elf.h (R_ARM_IRELATIVE): Define.
37359 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37361 * po/ru.po: Update from translation team.
37363 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37365 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37368 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37371 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37372 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37373 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37374 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37375 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37377 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37379 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37381 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37382 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37385 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37388 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37390 * stdlib/bug-getcontext.c: New file.
37391 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37393 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37395 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37396 instructions into .machine "z9-109".
37397 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37398 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37400 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37402 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37403 between environment variables and auxiliary vector.
37405 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37407 * Makefile: Add rules to build linkobj/libc.so.
37408 * include/libc-symbols.h: Define libc_hidden_nolink.
37409 * include/rpc/auth.h: Mark functions which are to be hidden.
37410 * include/rpc/auth_des.h: Likewise.
37411 * include/rpc/auth_unix.h: Likewise.
37412 * include/rpc/clnt.h: Likewise.
37413 * include/rpc/des_crypt.h: Likewise.
37414 * include/rpc/key_prot.h: Likewise.
37415 * include/rpc/pmap_clnt.h: Likewise.
37416 * include/rpc/pmap_prot.h: Likewise.
37417 * include/rpc/pmap_rmt.h: Likewise.
37418 * include/rpc/rpc_msg.h: Likewise.
37419 * include/rpc/svc.h: Likewise.
37420 * include/rpc/svc_auth.h: Likewise.
37421 * include/rpc/xdr.h: Likewise.
37422 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37423 * nss/Makefile: Likewise.
37424 * sunrpc/Makefile: Don't install headers. Build library with normal
37425 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37426 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37427 for the compat linking library. Remove use of INTDEF/INTUSE.
37428 * sunrpc/auth_none.c: Likewise.
37429 * sunrpc/auth_unix.c: Likewise.
37430 * sunrpc/authdes_prot.c: Likewise.
37431 * sunrpc/authuxprot.c: Likewise.
37432 * sunrpc/clnt_gen.c: Likewise.
37433 * sunrpc/clnt_perr.c: Likewise.
37434 * sunrpc/clnt_raw.c: Likewise.
37435 * sunrpc/clnt_simp.c: Likewise.
37436 * sunrpc/clnt_tcp.c: Likewise.
37437 * sunrpc/clnt_udp.c: Likewise.
37438 * sunrpc/clnt_unix.c: Likewise.
37439 * sunrpc/des_crypt.c: Likewise.
37440 * sunrpc/des_soft.c: Likewise.
37441 * sunrpc/get_myaddr.c: Likewise.
37442 * sunrpc/key_call.c: Likewise.
37443 * sunrpc/key_prot.c: Likewise.
37444 * sunrpc/netname.c: Likewise.
37445 * sunrpc/pm_getmaps.c: Likewise.
37446 * sunrpc/pm_getport.c: Likewise.
37447 * sunrpc/pmap_clnt.c: Likewise.
37448 * sunrpc/pmap_prot.c: Likewise.
37449 * sunrpc/pmap_prot2.c: Likewise.
37450 * sunrpc/pmap_rmt.c: Likewise.
37451 * sunrpc/publickey.c: Likewise.
37452 * sunrpc/rpc_cmsg.c: Likewise.
37453 * sunrpc/rpc_common.c: Likewise.
37454 * sunrpc/rpc_dtable.c: Likewise.
37455 * sunrpc/rpc_prot.c: Likewise.
37456 * sunrpc/rpc_thread.c: Likewise.
37457 * sunrpc/rtime.c: Likewise.
37458 * sunrpc/svc.c: Likewise.
37459 * sunrpc/svc_auth.c: Likewise.
37460 * sunrpc/svc_authux.c: Likewise.
37461 * sunrpc/svc_raw.c: Likewise.
37462 * sunrpc/svc_run.c: Likewise.
37463 * sunrpc/svc_simple.c: Likewise.
37464 * sunrpc/svc_tcp.c: Likewise.
37465 * sunrpc/svc_udp.c: Likewise.
37466 * sunrpc/svc_unix.c: Likewise.
37467 * sunrpc/svcauth_des.c: Likewise.
37468 * sunrpc/xcrypt.c: Likewise.
37469 * sunrpc/xdr.c: Likewise.
37470 * sunrpc/xdr_array.c: Likewise.
37471 * sunrpc/xdr_float.c: Likewise.
37472 * sunrpc/xdr_intXX_t.c: Likewise.
37473 * sunrpc/xdr_mem.c: Likewise.
37474 * sunrpc/xdr_rec.c: Likewise.
37475 * sunrpc/xdr_ref.c: Likewise.
37476 * sunrpc/xdr_sizeof.c: Likewise.
37477 * sunrpc/xdr_stdio.c: Likewise.
37479 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37482 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37483 * sysdeps/ia64/dl-tls.h: Likewise.
37484 * sysdeps/powerpc/dl-tls.h: Likewise.
37485 * sysdeps/s390/dl-tls.h: Likewise.
37486 * sysdeps/sh/dl-tls.h: Likewise.
37487 * sysdeps/sparc/dl-tls.h: Likewise.
37488 * sysdeps/x86_64/dl-tls.h: Likewise.
37489 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37491 2011-03-14 Andreas Schwab <schwab@redhat.com>
37493 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37494 rpath element also skip the following colon.
37495 (expand_dynamic_string_token): Add is_path parameter and pass
37496 down to DL_DST_REQUIRED and _dl_dst_substitute.
37497 (decompose_rpath): Call expand_dynamic_string_token with
37498 non-zero is_path. Ignore empty rpaths.
37499 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37502 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37507 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37510 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37511 Patch by Filipe David Manana <fdmanana@apache.org>.
37513 2011-04-07 Andreas Schwab <schwab@redhat.com>
37515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37516 Maintain aligned stack.
37517 (CHECK_RSP): Remove unused macro.
37519 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37521 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37522 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37524 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37526 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37528 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37530 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37533 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37534 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37535 * sysdeps/x86_64/memmove.c: New file.
37536 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37537 (memcpy): Renamed to ...
37538 (__new_memcpy): This.
37539 (memcpy): Provide GLIBC_2_14 memcpy.
37540 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37541 (memcpy): Provide GLIBC_2_2_5 memcpy.
37543 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37546 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37548 2011-03-30 Andreas Schwab <schwab@redhat.com>
37550 * misc/syncfs.c: New file.
37551 * misc/Makefile (routines): Add syncfs.
37552 * posix/unistd.h: Declare syncfs.
37553 * sysdeps/unix/syscalls.list: Add syncfs.
37555 2011-04-01 Andreas Schwab <schwab@redhat.com>
37557 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37564 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37567 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37569 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37570 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37571 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37577 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37578 sync_file_range.c with -fexceptions.
37579 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37580 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37581 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37582 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37583 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37584 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37586 sync_file_range as cancellation point
37587 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37588 now a wrapper around __call_sync_file_range with cancellation handling.
37589 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37590 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37591 function name to __call_sync_file_range.
37592 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37593 Add call_sync_file_range.
37595 2011-04-01 Andreas Schwab <schwab@redhat.com>
37597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37600 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37602 * iconv/iconv.h: Fix typo in comment.
37603 * io/fcntl.h: Likewise.
37604 * libio/stdio.h: Likewise.
37605 * posix/spawn.h: Likewise.
37606 * posix/unistd.h: Likewise.
37607 * stdlib/stdlib.h: Likewise.
37608 * time/time.h: Likewise.
37609 * wcsmbs/wchar.h: Likewise.
37611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37612 open_by_handle): Add.
37613 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37614 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37615 Augment a few comments.
37616 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37621 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37624 * io/fcntl.h (AT_EMPTY_PATH): Define.
37626 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37628 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37629 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37630 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37632 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37633 * Versions.def: Add GLIBC_2.14.
37634 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37637 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37639 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37641 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37643 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37646 * string/test-strncmp.c (do_page_test): New function.
37647 (check2): Likewise.
37648 (test_main): Call check2.
37649 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37651 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37654 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37655 Handle cache information in CPU leaf 4.
37656 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37658 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37661 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37662 character representation.
37663 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37665 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37667 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37668 END(__isnan) to END(__isnanf) to match function entry point/label
37669 EALIGN(__isnanf,...).
37671 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37673 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37675 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37678 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37679 copy from the symbol referenced in the relocation to initialize the
37681 Patch by Piotr Bury <pbury@goahead.com>.
37682 * elf/Makefile: Add rules to build and tst-unique3.
37683 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37684 * elf/tst-unique3.cc: New file.
37685 * elf/tst-unique3.h: New file.
37686 * elf/tst-unique3lib.cc: New file.
37687 * elf/tst-unique3lib2.cc: New file.
37689 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37691 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37693 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37694 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37697 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37699 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37700 to-be-loaded object along a path to loader is ld.so.
37702 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37703 Ulrich Drepper <drepper@gmail.com>
37705 * sysdeps/x86_64/memset.S: After aligning destination, code
37706 branches to different locations depending on the value of
37707 misalignment, when multiarch is enabled. Fix this.
37709 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37711 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37712 Set _x86_64_preferred_memory_instruction for AMD processsors.
37713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37714 Set bit_Prefer_SSE_for_memop for AMD processors.
37716 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37718 * libio/fmemopen.c (fmemopen): Optimize a bit.
37720 2011-03-03 Andreas Schwab <schwab@redhat.com>
37722 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37724 2011-03-03 Roland McGrath <roland@redhat.com>
37726 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37728 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37730 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37731 __bzero_ultra1 instead of __memset_ultra1.
37733 2011-02-23 Andreas Schwab <schwab@redhat.com>
37734 Ulrich Drepper <drepper@gmail.com>
37737 * include/link.h (struct link_map): Add l_orig_initfini.
37738 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37739 returning unsuccessfully.
37740 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37741 close of a file loaded at startup, restore the original l_initfini
37743 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37744 list, store the pointer.
37745 * elf/Makefile ($(objpfx)noload-mem): New rule.
37746 (noload-ENV): Define.
37747 (tests): Add $(objpfx)noload-mem.
37748 * elf/noload.c: Include <memcheck.h>.
37749 (main): Call mtrace. Close all opened handles.
37751 2011-02-17 Andreas Schwab <schwab@redhat.com>
37754 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37755 dependencies are missing.
37757 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37759 Fix __if_freereq crash: Unlike the generic version which uses free,
37761 * sysdeps/mach/hurd/ifreq.h: New file.
37763 2011-01-27 Petr Baudis <pasky@suse.cz>
37764 Ulrich Drepper <drepper@gmail.com>
37767 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37768 to extend_alloca().
37769 * stdio-common/bug23.c: New file.
37770 * stdio-common/Makefile (tests): Add bug23.
37772 2010-09-28 Andreas Schwab <schwab@redhat.com>
37773 Ulrich Drepper <drepper@gmail.com>
37776 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37777 before performing relro protection. At old place add assertion
37778 to make sure nothing changed.
37780 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37781 Glauber de Oliveira Costa <glommer@gmail.com>
37783 * elf/elf.h: Add new ARM TLS relocs.
37785 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37788 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37790 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37792 * sysdeps/wordsize-64/tst-writev.c: New file.
37794 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37796 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37797 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37798 insns in _dl_start to prevent a TOC reference before relocs are
37801 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37804 * Makeconfig: Remove RANLIB definition.
37805 * Makerules: Don't use RANLIB.
37806 * aclocal.m4: Remove ranlib test.
37807 * configure.in: No need to check for ranlib.
37808 * elf/rtld-Rules: Don't use RANLIB.
37810 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37812 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37814 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37815 inclusion protection macro.
37817 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37818 SIGRTMIN and SIGRTMAX and print information in that case only when
37819 SIGRTMIN is defined.
37821 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37823 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37824 arginfo fn returning -1.
37826 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37827 and thousands string is zero terminated.
37829 2011-02-03 Andreas Schwab <schwab@redhat.com>
37831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37832 sysdeps/unix/sysv/linux/bits/socket.h.
37834 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37836 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37837 (__CPU_COUNT): Remove old macros.
37838 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37839 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37840 (__CPU_ALLOC, __CPU_FREE): Add macros.
37841 (__sched_cpualloc, __sched_cpufree): Add declarations.
37843 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37845 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37846 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37847 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37848 (readdhstai): Return value of addhstaiX call.
37849 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37850 (addgrbyX): Return value returned by cache_addgr.
37851 (readdgrbyname): Return value returned by addgrbyX.
37852 (readdgrbygid): Likewise.
37853 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37854 (addpwbyX): Return value returned by cache_addpw.
37855 (readdpwbyname): Return value returned by addhstbyX.
37856 (readdpwbyuid): Likewise.
37857 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37858 (addservbyX): Return value returned by cache_addserv.
37859 (readdservbyname): Return value returned by addservbyX:
37860 (readdservbyport): Likewise.
37861 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37862 (addhstbyX): Return value returned by cache_addhst.
37863 (readdhstbyname): Return value returned by addhstbyX.
37864 (readdhstbyaddr): Likewise.
37865 (readdhstbynamev6): Likewise.
37866 (readdhstbyaddrv6): Likewise.
37867 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37868 (readdinitgroups): Return value returned by addinitgroupsX.
37869 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37870 (prune_cache): Keep track of timeout value of re-added entries.
37871 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37872 * nscd/nscd.h: Adjust prototypes of readd* functions.
37874 2011-02-04 Roland McGrath <roland@redhat.com>
37876 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37877 (nis_stats): Likewise.
37878 * nis/nis_modify.c (nis_modify): Likewise.
37879 * nis/nis_remove.c (nis_remove): Likewise.
37880 * nis/nis_add.c (nis_add): Likewise.
37882 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37884 * posix/fnmatch_loop.c: Add some consts.
37886 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37888 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37891 * config.make.in (config-cflags-novzeroupper): Define.
37892 * configure.in: Substitute libc_cv_cc_novzeroupper.
37893 * elf/Makefile (AVX-CFLAGS): Define.
37894 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37895 (CFLAGS-tst-auditmod4a.c): Likewise.
37896 (CFLAGS-tst-auditmod4b.c): Likewise.
37897 (CFLAGS-tst-auditmod6b.c): Likewise.
37898 (CFLAGS-tst-auditmod6c.c): Likewise.
37899 (CFLAGS-tst-auditmod7b.c): Likewise.
37900 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37902 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37904 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37905 function to the callback.
37906 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37908 2011-02-02 Andreas Schwab <schwab@redhat.com>
37910 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37913 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37916 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37918 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37920 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37923 * elf/Makefile: Add rules to build and run new test.
37924 * elf/tst-initorder.c: New file.
37925 * elf/tst-initorder.exp: New file.
37926 * elf/tst-initordera1.c: New file.
37927 * elf/tst-initordera2.c: New file.
37928 * elf/tst-initordera3.c: New file.
37929 * elf/tst-initordera4.c: New file.
37930 * elf/tst-initorderb1.c: New file.
37931 * elf/tst-initorderb2.c: New file.
37932 * elf/tst-order-a1.c: New file.
37933 * elf/tst-order-a2.c: New file.
37934 * elf/tst-order-a3.c: New file.
37935 * elf/tst-order-a4.c: New file.
37936 * elf/tst-order-b1.c: New file.
37937 * elf/tst-order-b2.c: New file.
37938 * elf/tst-order-main.c: New file.
37939 New test case by George Gensure <werkt0@gmail.com>.
37941 2010-10-01 Andreas Schwab <schwab@redhat.com>
37943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37944 decoding ACE if AI_CANONIDN.
37946 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37948 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37950 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37952 * version.h (RELEASE): Bump for 2.13 release.
37953 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37955 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37957 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37959 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37960 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37961 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37962 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37963 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37966 * posix/getconf.c: Update copyright year.
37967 * catgets/gencat.c: Likewise.
37968 * csu/version.c: Likewise.
37969 * debug/catchsegv.sh: Likewise.
37970 * debug/xtrace.sh: Likewise.
37971 * elf/ldconfig.c: Likewise.
37972 * elf/ldd.bash.in: Likewise.
37973 * elf/sprof.c (print_version): Likewise.
37974 * iconv/iconv_prog.c: Likewise.
37975 * iconv/iconvconfig.c: Likewise.
37976 * locale/programs/locale.c: Likewise.
37977 * locale/programs/localedef.c: Likewise.
37978 * malloc/memusage.sh: Likewise.
37979 * malloc/mtrace.pl: Likewise.
37980 * nscd/nscd.c (print_version): Likewise.
37981 * nss/getent.c: Likewise.
37983 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37984 PF_CAIF, and PF_ALG.
37985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37987 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37989 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37990 (modules-names): Use them.
37991 (ifunc-test-modules, ifunc-pie-tests): Define.
37992 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37993 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37994 (test-extras): Likewise.
37995 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37996 $(compile-command.c).
37997 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37998 (all-built-dso): Define.
37999 (check-textrel.out, check-execstack.out): Depend on it.
38001 * configure.in: Don't override --enable-multi-arch.
38003 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38006 * nscd/hstcache.c (tryagain): Define.
38007 (cache_addhst): Return tryagain not notfound for temporary errors.
38008 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38011 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38014 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38015 to make the syscall.
38016 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38019 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38020 and fall back to matching as normal character if the string ends before
38021 the matching ']' is found. This is what POSIX requires.
38022 * posix/testfnm.c: Adjust test result.
38023 * posix/globtest.sh: Adjust test result. Add new test.
38024 * posix/tst-fnmatch.input: Likewise.
38025 * posix/tst-fnmatch2.c: Add new test.
38027 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38029 * elf/Makefile (check-execstack): Revert last change. Depend on
38031 (check-execstack.h): New target.
38032 (generated): Add check-execstack.h.
38033 * elf/check-execstack.c: Include "check-execstack.h".
38034 (main): Revert last change.
38035 (handle_file): Return zero if GNU_STACK is absent and
38036 DEFAULT_STACK_PERMS doesn't include PF_X.
38038 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38040 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38041 in child fails because the descriptor is already closed.
38042 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38043 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38044 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38047 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38051 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38052 temporary buffer used to handle multi lookups locally.
38053 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38055 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38057 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38060 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38062 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38063 alignment for SSE2.
38065 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38068 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38069 characters. When rounding increased number of integer digits recompute
38071 * stdio-common/tst-grouping.c: New file.
38072 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38074 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38076 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38077 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38079 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38081 * bits/select.h: Likewise.
38083 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38085 * po/ja.po: Update from translation team.
38087 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38090 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38091 implementation just like for lxstat, fxstatat, et al.
38093 2010-12-27 Jim Meyering <meyering@redhat.com>
38096 * posix/regexec.c (build_trtable): Return failure indication upon
38097 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38099 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38102 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38103 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38104 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38105 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38108 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38111 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38112 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38114 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38116 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38117 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38118 script has SORT_BY_INIT_PRIORITY.
38119 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38120 NO_CTORS_DTORS_SECTIONS is defined.
38121 * elf/soinit.c: Likewise.
38122 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38123 NO_CTORS_DTORS_SECTIONS is defined.
38124 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38125 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38126 * sysdeps/sh/init-first.c: Likewise.
38127 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38129 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38131 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38132 always use the slow path.
38134 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38136 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38137 similar rule which adds the sysdep directories to the header search in
38138 order to pick up the correct platform stackinfo.h.
38139 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38140 perform test if it is, otherwise return successfully without testing.
38141 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38142 DEFAULT_STACK_PERMS define in stackinfo.h.
38143 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38144 defined in stackinfo.h.
38145 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38146 DEFAULT_STACK_PERMS defined in stackinfo.h.
38147 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38148 * sysdeps/ia64/stackinfo.h: Likewise.
38149 * sysdeps/s390/stackinfo.h: Likewise.
38150 * sysdeps/sh/stackinfo.h: Likewise.
38151 * sysdeps/sparc/stackinfo.h: Likewise.
38152 * sysdeps/x86_64/stackinfo.h: Likewise.
38153 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38154 PF_X for powerpc64. Retain PF_X for powerpc32.
38156 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38158 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38160 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38161 GETDENTS_64BIT_ALIGNED.
38163 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38165 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38167 2010-12-10 Andreas Schwab <schwab@redhat.com>
38169 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38172 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38173 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38175 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38176 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38178 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38181 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38184 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38186 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38188 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38190 * po/it.po: Update from translation team.
38192 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38197 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38199 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38201 2010-11-24 Andreas Schwab <schwab@redhat.com>
38203 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38205 (gaih_getanswer_slice): Likewise.
38207 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38211 2010-05-31 Petr Baudis <pasky@suse.cz>
38214 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38215 silently even in the chroot mode.
38217 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38219 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38220 last patch a bit. Pretty printing
38222 2010-05-31 Petr Baudis <pasky@suse.cz>
38225 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38226 initialization of skip_initgroups_dyn.
38228 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38230 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38231 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38233 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38235 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38237 2010-11-11 Andreas Schwab <schwab@redhat.com>
38239 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38240 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38241 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38242 ($(objpfx)tst-fnmatch-mem): New rule.
38243 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38244 * posix/tst-fnmatch.c (main): Call mtrace.
38246 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38249 Support Intel processor model 6 and model 0x2c.
38251 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38256 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38259 * string/test-strncasecmp.c (check_result): New function.
38260 (do_one_test): Use it.
38261 (check1): New function.
38262 (test_main): Use it.
38263 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38264 Support strcasecmp and strncasecmp.
38266 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38269 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38270 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38272 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38274 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38278 * sysdeps/x86_64/multiarch/bzero.S: New file.
38279 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38280 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38281 * sysdeps/x86_64/multiarch/memset.S: New file.
38282 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38284 Set bit_Prefer_SSE_for_memop for Intel processors.
38285 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38287 (index_Prefer_SSE_for_memop): Define.
38288 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38290 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38292 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38293 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38295 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38298 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38299 (__x86_64_raw_data_cache_size_half): Likewise.
38300 (__x86_64_raw_shared_cache_size): Likewise.
38301 (__x86_64_raw_shared_cache_size_half): Likewise.
38303 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38304 (__x86_64_raw_data_cache_size_half): Likewise.
38305 (__x86_64_raw_shared_cache_size): Likewise.
38306 (__x86_64_raw_shared_cache_size_half): Likewise.
38307 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38308 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38309 and __x86_64_raw_shared_cache_size_half. Round
38310 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38311 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38312 to multiple of 256 bytes.
38314 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38317 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38318 of inacessible symlinks. Verify result of symlink before returning it.
38319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38320 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38322 2010-10-28 Erich Ritz <erichritz@gmail.com>
38324 * math/math.h (isinf): Fix typo in comment.
38326 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38328 * po/da.po: Update from translation team.
38330 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38332 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38333 is added to the list.
38335 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38336 Ulrich Drepper <drepper@gmail.com>
38338 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38339 the global list here. Move code to...
38340 (_dl_add_to_namespace_list): ...here. New function.
38341 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38342 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38343 * elf/dl-load.c (lose): Don't remove the element from the list.
38344 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38345 (_dl_map_object): Likewise.
38347 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38350 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38351 into all bytes of SSE register.
38352 Patch by Richard Li <richardpku@gmail.com>.
38354 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38357 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38360 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38362 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38363 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38364 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38365 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38370 2010-10-22 Andreas Schwab <schwab@redhat.com>
38372 * include/dlfcn.h (__RTLD_SECURE): Define.
38373 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38374 mode & __RTLD_SECURE instead.
38375 (open_path): Rename preloaded parameter to secure.
38376 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38377 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38378 * elf/dl-deps.c (openaux): Likewise.
38379 * elf/rtld.c (struct map_args): Remove is_preloaded.
38380 (map_doit): Don't use it.
38381 (dl_main): Likewise.
38382 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38383 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38385 2010-09-09 Andreas Schwab <schwab@redhat.com>
38387 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38388 (sysd-rules-targets): Remove duplicates.
38389 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38390 rtld-%.$o dependency.
38392 2010-10-18 Andreas Schwab <schwab@redhat.com>
38394 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38395 _dl_map_object do it.
38397 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38399 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38400 fast fma builtins, define the macros in the C99 standard.
38401 (FP_FAST_FMAF): Likewise.
38402 (FP_FAST_FMAL): Likewise.
38403 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38405 * bits/mathdef.h: Update copyright year.
38406 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38408 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38410 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38411 builtins, define the macros in the C99 standard.
38412 (FP_FAST_FMAF): Likewise.
38413 (FP_FAST_FMAL): Likewise.
38414 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38416 (FP_FAST_FMAF): Likewise.
38418 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38421 * math/libm-test.inc (fma_test): Some new testcases.
38422 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38423 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38424 y and infinite z. Do multiplication by C already in long double.
38425 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38427 y and infinite z. Do bitwise or of inexact bit into u.d.
38428 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38429 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38430 * sysdeps/i386/fpu/s_fma.S: Removed.
38431 * sysdeps/i386/fpu/s_fmal.S: Removed.
38433 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38436 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38438 computation is not scheduled after fetestexcept. Fix value
38439 of minimum denormal long double.
38441 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38444 * math/libm-test.inc (fma_test): Add some more tests.
38445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38448 2010-10-15 Andreas Schwab <schwab@redhat.com>
38450 * scripts/data/localplt-s390-linux-gnu.data: New file.
38451 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38453 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38456 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38457 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38459 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38461 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38463 if one of x and y is very large and the other is subnormal.
38464 * sysdeps/s390/fpu/s_fmaf.c: New file.
38465 * sysdeps/s390/fpu/s_fma.c: New file.
38466 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38467 * sysdeps/powerpc/fpu/s_fma.S: New file.
38468 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38469 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38470 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38472 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38475 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38478 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38479 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38480 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38481 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38482 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38485 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38488 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38489 * posix/bug-regex31.input: Add test case.
38491 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38493 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38494 * posix/bug-regex31.input: New file.
38497 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38498 (parse_sub_exp): Fix last change, use postorder.
38500 * posix/bug-regex31.c: New file.
38501 * posix/Makefile: Add rules to build and run bug-regex31.
38503 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38506 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38509 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38510 to have entries in sys_siglist.
38513 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38516 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38519 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38520 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38521 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38522 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38523 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38524 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38525 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38526 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38527 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38528 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38529 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38530 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38531 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38532 * math/ftestexcept.c (fetestexcept): Likewise.
38533 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38534 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38535 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38536 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38537 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38538 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38539 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38541 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38544 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38547 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38549 * string/bug-strstr1.c: New file.
38550 * string/Makefile: Add rules to build and run bug-strstr1.
38552 2010-10-05 Eric Blake <eblake@redhat.com>
38555 * string/str-two-way.h (two_way_long_needle): Always clear memory
38556 when skipping input due to the shift table.
38558 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38561 * malloc/mcheck.c: Handle large requests.
38564 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38565 for strncmp and strncasecmp.
38566 * string/stratcliff.c: Add tests for strcmp and strncmp.
38567 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38569 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38571 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38574 2010-09-30 Andreas Jaeger <aj@suse.de>
38576 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38577 (CGROUP_SUPER_MAGIC): Define.
38578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38579 Handle btrfs and cgroup file systems.
38580 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38583 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38585 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38586 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38588 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38591 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38592 trying to locate the ELF header.
38594 2010-09-27 Andreas Schwab <schwab@redhat.com>
38597 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38598 Mask out sign-bit copies when constructing f_fsid.
38600 2010-09-24 Petr Baudis <pasky@suse.cz>
38602 * debug/stack_chk_fail_local.c: Add missing licence exception.
38603 * debug/warning-nop.c: Likewise.
38605 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38607 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38608 implementing getdents64 using getdents syscall, set d_type if
38609 __ASSUME_GETDENTS32_D_TYPE.
38611 2010-09-16 Andreas Schwab <schwab@redhat.com>
38613 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38614 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38616 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38619 * posix/unistd.h: Undo change of feature selection for ftruncate from
38622 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38624 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38627 2010-09-20 Andreas Schwab <schwab@redhat.com>
38629 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38631 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38633 2010-09-14 Andreas Schwab <schwab@redhat.com>
38635 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38636 variables after CHECK_SP call.
38637 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38639 2010-09-13 Andreas Schwab <schwab@redhat.com>
38640 Ulrich Drepper <drepper@redhat.com>
38642 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38643 re-relocationg ld.so.
38644 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38645 _dl_init_paths call.
38646 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38649 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38651 * resolv/res_init.c (__res_vinit): Count the default server we added.
38653 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38654 Ulrich Drepper <drepper@redhat.com>
38657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38658 (____longjmp_chk): Use %ebx for saving value across system call.
38661 2010-09-06 Andreas Schwab <schwab@redhat.com>
38663 * manual/Makefile: Don't mix pattern rules with normal rules.
38665 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38667 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38669 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38670 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38671 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38672 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38676 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38679 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38680 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38682 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38684 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38685 * sysdeps/x86_64/addmul_1.S: Likewise.
38686 * sysdeps/x86_64/lshift.S: Likewise.
38687 * sysdeps/x86_64/mul_1.S: Likewise.
38688 * sysdeps/x86_64/rshift.S: Likewise.
38689 * sysdeps/x86_64/sub_n.S: Likewise.
38690 * sysdeps/x86_64/submul_1.S: Likewise.
38692 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38694 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38695 Define __sched_param instead of SCHED_* and sched_param when
38696 <bits/sched.h> is included with __need_schedparam defined.
38697 * bits/sched.h [__need_schedparam]
38698 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38699 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38700 (__defined_schedparam): Define to 1.
38701 (__sched_param): New structure, identical to sched_param.
38702 (__need_schedparam): Undefine.
38704 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38707 (epoll_create1): Declare.
38709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38711 2010-08-31 Andreas Schwab <schwab@redhat.com>
38714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38715 shifting retval into place.
38717 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38719 * nis/rpcsvc/nis.h: Update copyright notice.
38720 * nis/rpcsvc/nis.x: Likewise.
38721 * nis/rpcsvc/nis_callback.h: Likewise.
38722 * nis/rpcsvc/nis_callback.x: Likewise.
38723 * nis/rpcsvc/nis_object.x: Likewise.
38724 * nis/rpcsvc/nis_tags.h: Likewise.
38725 * nis/rpcsvc/yp.h: Likewise.
38726 * nis/rpcsvc/yp.x: Likewise.
38727 * nis/rpcsvc/ypupd.h: Likewise.
38728 * nis/yp_xdr.c: Likewise.
38729 * nis/ypupdate_xdr.c: Likewise.
38731 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38732 mainly the body of pmap_getport. Add parameters to specify timeouts.
38733 (pmap_getport): Use __libc_rpc_getport.
38734 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38735 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38736 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38738 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38743 2010-08-27 Roland McGrath <roland@redhat.com>
38745 * sysdeps/i386/i686/multiarch/Makefile
38746 (CFLAGS-varshift.c): New variable.
38748 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38750 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38751 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38755 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38757 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38759 * sysdeps/x86_64/strlen.S: Unroll the loop.
38760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38761 strlen-sse2 strlen-sse2-bsf.
38762 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38763 __strlen_no_bsf if bit_Slow_BSF is set.
38764 (__strlen_sse42): Removed.
38765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38766 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38768 2010-08-25 Roland McGrath <roland@redhat.com>
38770 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38771 * sysdeps/x86_64/multiarch/varshift.c: New file.
38772 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38773 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38774 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38775 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38777 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38780 strlen-sse2 strlen-sse2-bsf.
38781 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38782 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38783 (__strlen_sse2): Removed.
38784 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38785 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38787 bit_Slow_BSF for Atom.
38788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38789 (index_Slow_BSF): Define.
38790 (HAS_SLOW_BSF): Define.
38792 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38795 * resolv/res_init.c (__res_vinit): When no server address at all
38796 is given default to loopback.
38798 2010-08-24 Roland McGrath <roland@redhat.com>
38800 * configure.in: Remove config-name.h generation.
38801 * configure: Regenerated.
38802 * config-name.in: File removed.
38803 * scripts/config-uname.sh: New file.
38804 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38805 ($(objdir)config-name.h): New target.
38807 * sunrpc/rpc_parse.h: Avoid nested comment.
38809 2010-08-24 Richard Henderson <rth@redhat.com>
38810 Ulrich Drepper <drepper@redhat.com>
38811 H.J. Lu <hongjiu.lu@intel.com>
38813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38815 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38816 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38817 _mm_alignr_epi8 with _mm_loadu_si128.
38818 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38819 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38820 (__m128i_shift_right): Removed.
38821 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38822 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38823 * sysdeps/x86_64/multiarch/varshift.h: New file.
38824 * sysdeps/x86_64/multiarch/varshift.S: New file.
38826 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38828 * configure.in: Move assembler checks to before sysdep dir checking.
38830 2010-08-20 Petr Baudis <pasky@suse.cz>
38832 * LICENSES: Sync the sunrpc license.
38834 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38836 * sunrpc/auth_des.c: Update copyright notice once again.
38837 * sunrpc/auth_none.c: Likewise.
38838 * sunrpc/auth_unix.c: Likewise.
38839 * sunrpc/authdes_prot.c: Likewise.
38840 * sunrpc/authuxprot.c: Likewise.
38841 * sunrpc/bindrsvprt.c: Likewise.
38842 * sunrpc/clnt_gen.c: Likewise.
38843 * sunrpc/clnt_perr.c: Likewise.
38844 * sunrpc/clnt_raw.c: Likewise.
38845 * sunrpc/clnt_simp.c: Likewise.
38846 * sunrpc/clnt_tcp.c: Likewise.
38847 * sunrpc/clnt_udp.c: Likewise.
38848 * sunrpc/clnt_unix.c: Likewise.
38849 * sunrpc/des_crypt.c: Likewise.
38850 * sunrpc/des_soft.c: Likewise.
38851 * sunrpc/get_myaddr.c: Likewise.
38852 * sunrpc/getrpcport.c: Likewise.
38853 * sunrpc/key_call.c: Likewise.
38854 * sunrpc/key_prot.c: Likewise.
38855 * sunrpc/openchild.c: Likewise.
38856 * sunrpc/pm_getmaps.c: Likewise.
38857 * sunrpc/pm_getport.c: Likewise.
38858 * sunrpc/pmap_clnt.c: Likewise.
38859 * sunrpc/pmap_prot.c: Likewise.
38860 * sunrpc/pmap_prot2.c: Likewise.
38861 * sunrpc/pmap_rmt.c: Likewise.
38862 * sunrpc/rpc/auth.h: Likewise.
38863 * sunrpc/rpc/auth_unix.h: Likewise.
38864 * sunrpc/rpc/clnt.h: Likewise.
38865 * sunrpc/rpc/des_crypt.h: Likewise.
38866 * sunrpc/rpc/key_prot.h: Likewise.
38867 * sunrpc/rpc/netdb.h: Likewise.
38868 * sunrpc/rpc/pmap_clnt.h: Likewise.
38869 * sunrpc/rpc/pmap_prot.h: Likewise.
38870 * sunrpc/rpc/pmap_rmt.h: Likewise.
38871 * sunrpc/rpc/rpc.h: Likewise.
38872 * sunrpc/rpc/rpc_des.h: Likewise.
38873 * sunrpc/rpc/rpc_msg.h: Likewise.
38874 * sunrpc/rpc/svc.h: Likewise.
38875 * sunrpc/rpc/svc_auth.h: Likewise.
38876 * sunrpc/rpc/types.h: Likewise.
38877 * sunrpc/rpc/xdr.h: Likewise.
38878 * sunrpc/rpc_clntout.c: Likewise.
38879 * sunrpc/rpc_cmsg.c: Likewise.
38880 * sunrpc/rpc_common.c: Likewise.
38881 * sunrpc/rpc_cout.c: Likewise.
38882 * sunrpc/rpc_dtable.c: Likewise.
38883 * sunrpc/rpc_hout.c: Likewise.
38884 * sunrpc/rpc_main.c: Likewise.
38885 * sunrpc/rpc_parse.c: Likewise.
38886 * sunrpc/rpc_parse.h: Likewise.
38887 * sunrpc/rpc_prot.c: Likewise.
38888 * sunrpc/rpc_sample.c: Likewise.
38889 * sunrpc/rpc_scan.c: Likewise.
38890 * sunrpc/rpc_scan.h: Likewise.
38891 * sunrpc/rpc_svcout.c: Likewise.
38892 * sunrpc/rpc_tblout.c: Likewise.
38893 * sunrpc/rpc_util.c: Likewise.
38894 * sunrpc/rpc_util.h: Likewise.
38895 * sunrpc/rpcinfo.c: Likewise.
38896 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38897 * sunrpc/rpcsvc/key_prot.x: Likewise.
38898 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38899 * sunrpc/rpcsvc/mount.x: Likewise.
38900 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38901 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38902 * sunrpc/rpcsvc/rex.x: Likewise.
38903 * sunrpc/rpcsvc/rstat.x: Likewise.
38904 * sunrpc/rpcsvc/rusers.x: Likewise.
38905 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38906 * sunrpc/rpcsvc/spray.x: Likewise.
38907 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38908 * sunrpc/rtime.c: Likewise.
38909 * sunrpc/svc.c: Likewise.
38910 * sunrpc/svc_auth.c: Likewise.
38911 * sunrpc/svc_authux.c: Likewise.
38912 * sunrpc/svc_raw.c: Likewise.
38913 * sunrpc/svc_run.c: Likewise.
38914 * sunrpc/svc_simple.c: Likewise.
38915 * sunrpc/svc_tcp.c: Likewise.
38916 * sunrpc/svc_udp.c: Likewise.
38917 * sunrpc/svc_unix.c: Likewise.
38918 * sunrpc/svcauth_des.c: Likewise.
38919 * sunrpc/xcrypt.c: Likewise.
38920 * sunrpc/xdr.c: Likewise.
38921 * sunrpc/xdr_array.c: Likewise.
38922 * sunrpc/xdr_float.c: Likewise.
38923 * sunrpc/xdr_mem.c: Likewise.
38924 * sunrpc/xdr_rec.c: Likewise.
38925 * sunrpc/xdr_ref.c: Likewise.
38926 * sunrpc/xdr_sizeof.c: Likewise.
38927 * sunrpc/xdr_stdio.c: Likewise.
38929 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38932 2010-08-19 Andreas Schwab <schwab@redhat.com>
38934 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38936 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38938 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38939 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38940 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38941 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38942 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38943 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38944 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38945 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38946 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38947 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38948 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38949 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38950 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38951 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38953 2010-07-26 Anton Blanchard <anton@samba.org>
38955 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38956 * malloc/arena.c (heap_trim): Likewise.
38958 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38960 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38963 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38965 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38967 * sysdeps/i386/elf/Makefile: New file.
38969 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38971 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38972 from fanotify_init.
38973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38974 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38976 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38978 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38980 * sysdeps/multiarch/strcmp.S: Likewise.
38982 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38984 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38985 strncase_l-nonascii.
38986 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38987 Add strncase_l-ssse3.
38988 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38989 * sysdeps/x86_64/strcmp.S: Likewise.
38990 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38991 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38992 * sysdeps/x86_64/strncase.S: New file.
38993 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38994 * sysdeps/x86_64/strncase_l.S: New file.
38995 * string/Makefile (strop-tests): Add strncasecmp.
38996 * string/test-strncasecmp.c: New file.
38998 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39001 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39002 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39004 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39006 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39008 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39010 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39012 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39014 2010-05-01 Alan Modra <amodra@gmail.com>
39016 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39017 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39018 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39019 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39020 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39021 tidying. Don't tail-call __sigjmp_save for static lib.
39022 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39024 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39025 (CALL_MCOUNT): Add eh info, and nop after bl.
39026 (TAIL_CALL_SYSCALL_ERROR): New macro.
39027 (PSEUDO_RET): Use it.
39028 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39029 Correct save location of integer regs and cr.
39030 (_dl_profile_resolve): Correct cr save location. Delete nops
39031 after bl when SHARED. Reduce cfi size a little by better
39032 placement of cfi directives.
39033 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39034 make a stack frame. Instead use parm save area as a temp.
39035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39036 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39038 Don't make a stack frame for parent, use parm save area.
39039 Increase child stack frame to 112 bytes. Don't save unused reg,
39040 and adjust reg usage. Set up cfi on error recovery and
39041 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39043 (__makecontext): Add dummy nop after jump to exit.
39044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39045 Use correct parm save area and cr save, reduce stack frame.
39046 Correct cfi for possible PSEUDO_RET frame setup.
39047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39048 Branch to local label emitted by PSEUDO_RET rather than
39051 2010-08-12 Andreas Schwab <schwab@redhat.com>
39054 * locale/programs/locale.c (print_assignment): New function.
39055 (show_locale_vars): Use it.
39057 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39059 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39061 (struct statfs64): Likewise.
39062 (_STATFS_F_FLAGS): Define.
39063 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39064 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39065 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39066 (ST_VALID): Define locally.
39067 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39068 __statvfs_getflags, use the provided value.
39069 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39070 __ASSUME_STATFS_F_FLAGS.
39072 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39074 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39075 Add sys/fanotify.h.
39076 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39077 fanotify_mask for GLIBC_2.13.
39078 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39079 fanotify_init and fanotify_mark.
39080 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39081 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39083 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39085 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39086 prlimit64 for GLIBC_2.13.
39087 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39093 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39097 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39100 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39101 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39103 * nss/Makefile: Add rules to build and run tst-nss-test1.
39104 * shlib-versions: Add entry for libnss_test1.
39105 * nss/nss_test1.c: New file.
39106 * nss/tst-nss-test1.c: New file.
39108 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39109 (__nss_configure_lookup): Set appropriate entry in
39110 __nss_configure_lookup to true.
39111 * nss/nsswitch.h: Define enum with indeces of databases in
39112 databases and __nss_database_custom arrays. Declare
39113 __nss_database_custom.
39114 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39115 to avoid using nscd when custom rules are installed.
39116 * nss/getXXbyYY_r.c: Likewise.
39117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39119 * nss/nss_files/files-parse.c: Whitespace fixes.
39121 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39124 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39125 * posix/fnmatch_loop.c: Likewise.
39127 2010-07-17 Andi Kleen <ak@linux.intel.com>
39129 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39130 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39131 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39132 * Versions.def [GLIBC_2.13]: Add.
39134 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39137 Also fail if tpwd after pwuid call is NULL.
39139 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39141 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39142 when converting to ms.
39144 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39146 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39147 EOPNOTSUPP errors with ENOTTY.
39148 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39149 EOPNOTSUPP errors with ENOTTY.
39151 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39153 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39154 Add strcasecmp_l-ssse3.
39155 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39157 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39158 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39159 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39161 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39163 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39165 * string/Makefile (strop-tests): Add strcasecmp.
39166 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39167 strcasecmp_l-nonascii.
39168 (gen-as-const-headers): Add locale-defines.sym.
39169 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39170 * sysdeps/x86_64/strcasecmp.S: New file.
39171 * sysdeps/x86_64/strcasecmp_l.S: New file.
39172 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39173 * sysdeps/x86_64/locale-defines.sym: New file.
39174 * string/test-strcasecmp.c: New file.
39176 * string/test-strcasestr.c: Test both ends of the range of characters.
39177 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39179 2010-07-29 Roland McGrath <roland@redhat.com>
39182 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39184 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39186 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39189 2010-07-27 Andreas Schwab <schwab@redhat.com>
39191 * manual/memory.texi (Malloc Tunable Parameters): Document
39194 2010-07-26 Roland McGrath <roland@redhat.com>
39197 * configure.in (-fgnu89-inline check): Set and substitute
39198 gnu89_inline, not libc_cv_gnu89_inline.
39199 * configure: Regenerated.
39200 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39202 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39204 * string/test-strnlen.c: New file.
39205 * string/Makefile (strop-tests): Add strnlen.
39206 * string/tester.c (test_strnlen): Add a few more test cases.
39207 * string/tst-strlen.c: Better error reporting.
39209 * sysdeps/x86_64/strnlen.S: New file.
39211 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39213 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39214 lower-latency instructions.
39216 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39218 * string/test-strcasestr.c: New file.
39219 * string/test-strstr.c: New file.
39220 * string/Makefile (strop-tests): Add strstr and strcasestr.
39221 * string/str-two-way.h: Don't undefine MAX.
39222 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39224 2010-07-21 Andreas Schwab <schwab@redhat.com>
39226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39227 strcasestr-nonascii.
39228 (CFLAGS-strcasestr-nonascii.c): Define.
39229 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39230 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39231 Remove unused attribute.
39233 2010-07-20 Roland McGrath <roland@redhat.com>
39235 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39236 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39237 ld.so.cache was broken. With it, there is no way to disable dsocaps
39238 like LD_HWCAP_MASK can disable hwcaps.
39240 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39242 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39244 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39246 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39247 call in strcasestr.
39248 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39249 __strcasestr_sse42_nonascii.
39250 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39251 strcasestr-nonascii.c.
39252 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39254 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39256 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39257 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39258 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39259 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39261 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39263 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39266 2010-07-06 Andreas Schwab <schwab@redhat.com>
39269 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39272 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39275 _PC_PIPE_BUF using F_GETPIPE_SZ.
39277 2010-07-05 Roland McGrath <roland@redhat.com>
39279 * manual/arith.texi (Rounding Functions): Fix rint description
39280 implicit in round description.
39282 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39284 * elf/Makefile: Fix linking for a few tests to make recent linker
39287 2010-06-30 Andreas Schwab <schwab@redhat.com>
39289 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39290 $(common-objpfx)libc_nonshared.a.
39292 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39294 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39295 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39296 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39297 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39298 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39299 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39300 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39301 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39316 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39317 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39318 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39319 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39320 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39321 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39322 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39323 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39324 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39325 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39326 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39327 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39343 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39345 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39346 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39347 * string/memmove.c (memmove): Renamed to ...
39348 (MEMMOVE): ...this. Default to memmove.
39349 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39350 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39353 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39354 mempcpy-ssse3-back memmove-ssse3-back.
39355 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39358 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39359 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39360 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39361 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39362 * sysdeps/x86_64/multiarch/memmove.c: New file.
39363 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39364 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39365 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39366 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39367 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39368 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39370 (index_Fast_Copy_Backward): Define.
39371 (HAS_ARCH_FEATURE): Define.
39372 (HAS_FAST_REP_STRING): Define.
39373 (HAS_FAST_COPY_BACKWARD): Define.
39375 2010-06-21 Andreas Schwab <schwab@redhat.com>
39377 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39378 Restore proper fallback handling.
39380 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39383 * posix/group_member.c (__group_member): Correct checking loop.
39385 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39386 OOM in getpwuid_r correctly. Return error number when the caller
39387 should return, otherwise -1.
39388 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39389 call returning > 0 value.
39390 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39392 2010-06-07 Andreas Schwab <schwab@redhat.com>
39394 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39395 libc_nonshared.a from targets in modules-names.
39397 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39399 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39402 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39404 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39405 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39407 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39409 2010-06-02 Andreas Schwab <schwab@redhat.com>
39411 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39413 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39415 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39421 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39424 2010-06-14 Roland McGrath <roland@redhat.com>
39426 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39428 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39430 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39431 __REDIRECT followed by __THROW.
39432 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39433 * posix/getopt.h (getopt): Likewise.
39435 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39437 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39438 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39439 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39441 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39442 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39444 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39446 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39448 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39452 Properly check family and model.
39454 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39456 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39458 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39460 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39462 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39464 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39467 2010-05-19 Andreas Schwab <schwab@redhat.com>
39469 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39472 2010-05-21 Andreas Schwab <schwab@redhat.com>
39474 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39475 and internal_recvmmsg.
39476 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39477 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39478 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39479 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39481 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39482 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39483 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39485 2010-05-20 Andreas Schwab <schwab@redhat.com>
39487 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39489 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39491 POWER7 optimizations.
39492 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39493 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39495 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39497 * version.h: Update for 2.13 development version.
39499 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39501 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39502 exceptions. Return 0.
39504 2010-05-07 Roland McGrath <roland@redhat.com>
39506 * elf/ldconfig.c (main): Add a const.
39508 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39510 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39511 (args_options): Add no-idn option.
39512 (ahosts_keys_int): Add idn_flags to ai_flags.
39513 (parse_option): Handle 'i' option to clear idn_flags.
39515 * malloc/malloc.c (_int_free): Possible race in the most recently
39516 added check. Only act on the data if no current modification
39519 See ChangeLog.17 for earlier changes.