1 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3 * mach/err_boot.sub: Remove trailing whitespace.
4 * mach/err_ipc.sub: Likewise.
5 * mach/err_mach.sub: Likewise.
7 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8 (ROUNDING_TESTS_double): Likewise.
9 (ROUNDING_TESTS_long_double): Likewise.
10 (ROUNDING_TESTS): Likewise.
11 * math/libm-test.inc: Include <math-tests.h>.
12 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25 otherwise empty TRANS lines.
26 * sysdeps/gnu/errlist.c: Regenerated.
28 * catgets/gencat.c (error_print): Use (void) in function
30 * crypt/crypt_util.c (__init_des): Likewise.
31 * crypt/speeds.c (Stop): Likewise.
33 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34 * inet/ruserpass.c (token): Likewise.
35 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
36 * intl/localealias.c (extend_alias_table): Likewise.
37 * intl/plural-exp.c (init_germanic_plural): Likewise.
38 * libio/fcloseall.c (__fcloseall): Likewise.
39 * libio/genops.c (_IO_flush_all): Likewise.
40 (_IO_flush_all_linebuffered): Likewise.
41 (_IO_cleanup): Likewise.
42 (_IO_iter_begin): Likewise.
43 (_IO_iter_end): Likewise.
44 (_IO_list_lock): Likewise.
45 (_IO_list_unlock): Likewise.
46 (_IO_list_resetlock): Likewise.
47 * libio/getchar.c (getchar): Likewise.
48 * libio/getchar_u.c (getchar_unlocked): Likewise.
49 * libio/getwchar.c (getwchar): Likewise.
50 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52 * login/getpt.c (__getpt): Likewise.
53 * login/tst-utmp.c (main): Likewise.
54 * malloc/hooks.c (__malloc_check_init): Likewise.
55 * malloc/malloc.c (__malloc_stats): Likewise.
56 * malloc/mtrace.c (tr_break): Likewise.
59 * misc/fstab.c (endfsent): Likewise.
60 * misc/getclktck.c (__getclktck): Likewise.
61 * misc/getdtsz.c (__getdtablesize): Likewise.
62 * misc/gethostid.c (gethostid): Likewise.
63 * misc/getpagesize.c (__getpagesize): Likewise.
64 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65 (__get_nprocs): Likewise.
66 (__get_phys_pages): Likewise.
67 (__get_avphys_pages): Likewise.
68 * misc/getttyent.c (getttyent): Likewise.
69 (setttyent): Likewise.
70 (endttyent): Likewise.
71 * misc/getusershell.c (getusershell): Likewise.
72 (endusershell): Likewise.
73 (setusershell): Likewise.
74 (initshells): Likewise.
75 * misc/hsearch.c (__hdestroy): Likewise.
76 * misc/sync.c (sync): Likewise.
77 * misc/syslog.c (closelog_internal): Likewise.
79 * misc/ttyslot.c (ttyslot): Likewise.
80 * misc/vhangup.c (vhangup): Likewise.
81 * posix/fork.c (__fork): Likewise.
82 * posix/getegid.c (__getegid): Likewise.
83 * posix/geteuid.c (__geteuid): Likewise.
84 * posix/getgid.c (__getgid): Likewise.
85 * posix/getpid.c (__getpid): Likewise.
86 * posix/getppid.c (__getppid): Likewise.
87 * posix/getuid.c (__getuid): Likewise.
88 * posix/pause.c (pause): Likewise.
89 * posix/setpgrp.c (setpgrp): Likewise.
90 * posix/setsid.c (__setsid): Likewise.
91 * posix/test-vfork.c (noop): Likewise.
92 * resolv/gethnamaddr.c (_endhtent): Likewise.
93 (_gethtent): Likewise.
94 (ht_endhostent): Likewise.
95 (gethostent): Likewise.
96 (dns_service): Likewise.
97 * stdlib/drand48.c (drand48): Likewise.
98 * stdlib/lrand48.c (lrand48): Likewise.
99 * stdlib/mrand48.c (mrand48): Likewise.
100 * stdlib/rand.c (rand): Likewise.
101 * stdlib/random.c (__random): Likewise.
102 * stdlib/setenv.c (clearenv): Likewise.
103 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
104 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
105 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
106 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
107 (__get_nprocs): Likewise.
108 (__get_phys_pages): Likewise.
109 (__get_avphys_pages): Likewise.
110 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
111 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
112 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
113 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
114 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
115 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
116 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
117 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
118 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
119 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
120 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
121 * sysdeps/mach/hurd/sync.c (sync): Likewise.
122 * sysdeps/posix/clock.c (clock): Likewise.
123 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
124 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
125 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
126 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
127 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
129 (__get_nprocs_conf): Likewise.
130 (__get_phys_pages): Likewise.
131 (__get_avphys_pages): Likewise.
132 * time/clock.c (clock): Likewise.
133 * time/tzset.c (__tzname_max): Likewise.
135 2013-06-07 Joseph Myers <joseph@codesourcery.com>
137 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
138 (__bswap_32): Do not use "register".
139 * crypt/crypt.c (_ufc_doit_r): Likewise.
140 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
141 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
142 * gmon/gmon.c (__monstartup): Likewise.
143 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
144 * hurd/hurdmalloc.c (more_memory): Likewise.
148 (malloc_fork_prepare): Likewise.
149 (malloc_fork_parent): Likewise.
150 (malloc_fork_child): Likewise.
151 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
152 (_svcauth_des): Likewise.
153 * inet/inet_lnaof.c (inet_lnaof): Likewise.
154 * inet/inet_net.c (inet_network): Likewise.
155 * inet/inet_netof.c (inet_netof): Likewise.
156 * inet/rcmd.c (__validuser2_sa): Likewise.
157 * io/fts.c (fts_open): Likewise.
158 (fts_load): Likewise.
159 (fts_close): Likewise.
160 (fts_read): Likewise.
161 (fts_children): Likewise.
162 (fts_build): Likewise.
163 (fts_stat): Likewise.
164 (fts_sort): Likewise.
165 (fts_alloc): Likewise.
166 (fts_lfree): Likewise.
167 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
168 (_IO_file_xsgetn): Likewise.
169 (_IO_file_xsgetn_mmap): Likewise.
170 * libio/iofopncook.c (_IO_cookie_read): Likewise.
171 (_IO_cookie_write): Likewise.
172 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
173 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
174 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
175 * malloc/obstack.c (_obstack_begin): Likewise.
176 (_obstack_begin_1): Likewise.
177 (_obstack_newchunk): Likewise.
178 (_obstack_allocated_p): Likewise.
179 (obstack_free): Likewise.
180 (_obstack_memory_used): Likewise.
181 * misc/getttyent.c (getttynam): Likewise.
182 (getttyent): Likewise.
185 * misc/getusershell.c (initshells): Likewise.
186 * misc/syslog.c (__vsyslog_chk): Likewise.
187 * misc/ttyslot.c (ttyslot): Likewise.
188 * nis/nis_hash.c (__nis_hash): Likewise.
189 * posix/fnmatch_loop.c (FCT): Likewise.
190 * posix/getconf.c (print_all): Likewise.
192 * posix/getopt.c (exchange): Likewise.
193 * posix/glob.c (globfree): Likewise.
194 (prefix_array): Likewise.
195 (__glob_pattern_type): Likewise.
196 * resolv/arpa/nameser.h (NS_GET16): Likewise.
197 (NS_GET32): Likewise.
198 (NS_PUT16): Likewise.
199 (NS_PUT32): Likewise.
200 * resolv/gethnamaddr.c (getanswer): Likewise.
201 (gethostbyname2): Likewise.
202 (gethostbyaddr): Likewise.
203 (_gethtent): Likewise.
204 (_gethtbyname2): Likewise.
205 (_gethtbyaddr): Likewise.
206 * resolv/ns_print.c (dst_s_get_int16): Likewise.
207 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
208 * resolv/res_init.c (__res_vinit): Likewise.
209 (net_mask): Likewise.
210 * resolv/res_mkquery.c (outchar): Likewise.
212 * stdio-common/printf_fp.c (outchar): Likewise.
214 * stdio-common/printf_fphex.c (outchar): Likewise.
216 * stdio-common/printf_size.c (outchar): Likewise.
218 * stdio-common/test_rdwr.c (main): Likewise.
219 * stdio-common/tfformat.c (matches): Likewise.
220 * stdio-common/vfprintf.c (outchar): Likewise.
221 (printf_unknown): Likewise.
222 (buffered_vfprintf): Likewise.
223 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
224 * stdio-common/xbug.c (AppendToBuffer): Likewise.
225 (ReadFile): Likewise.
226 * stdlib/qsort.c (SWAP): Likewise.
227 (_quicksort): Likewise.
228 * stdlib/setenv.c (__add_to_environ): Likewise.
229 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
230 * stdlib/strtol_l.c (__strtol_l): Likewise.
231 * stdlib/tst-strtod.c (main): Likewise.
232 * stdlib/tst-strtol.c (main): Likewise.
233 * stdlib/tst-strtoll.c (main): Likewise.
234 * string/bits/string2.h (__strcmp_cc): Likewise.
235 (__strcmp_cg): Likewise.
236 (__strcspn_c1): Likewise.
237 (__strcspn_c2): Likewise.
238 (__strcspn_c3): Likewise.
239 (__strspn_c1): Likewise.
240 (__strspn_c2): Likewise.
241 (__strspn_c3): Likewise.
242 (__strsep_1c): Likewise.
243 (__strsep_2c): Likewise.
244 (__strsep_3c): Likewise.
245 * string/memccpy.c (__memccpy): Likewise.
246 * string/stpcpy.c (__stpcpy): Likewise.
247 * string/strcmp.c (strcmp): Likewise.
248 * string/strrchr.c (strrchr): Likewise.
249 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
251 * sysdeps/mach/hurd/getcwd.c
252 (_hurd_canonicalize_directory_name_internal): Likewise.
253 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
254 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
255 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
256 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
257 Likewise, in both definitions.
258 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
260 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
261 64] (__bswap_64): Likewise.
262 * time/test_time.c (main): Likewise.
263 * time/tzfile.c (__tzfile_read): Likewise.
264 (__tzfile_compute): Likewise.
265 * time/tzset.c (__tzset_parse_tz): Likewise.
266 (tzset_internal): Likewise.
267 (compute_change): Likewise.
268 * wcsmbs/wcscat.c (__wcscat): Likewise.
269 * wcsmbs/wcschr.c (wcschr): Likewise.
270 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
271 * wcsmbs/wcscspn.c (wcscspn): Likewise.
272 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
273 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
274 * wcsmbs/wcsspn.c (wcsspn): Likewise.
275 * wcsmbs/wcsstr.c (wcsstr): Likewise.
276 * wcsmbs/wmemchr.c (wmemchr): Likewise.
277 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
278 * wcsmbs/wmemset.c (wmemset): Likewise.
280 2013-06-06 Joseph Myers <joseph@codesourcery.com>
282 * scripts/config.guess: Update to version 2013-05-16.
283 * scripts/config.sub: Update to version 2013-04-24.
284 * scripts/install-sh: Update to version 2011-11-20.07.
285 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
286 * scripts/move-if-change: Update to version 2012-01-06 07:23.
288 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
290 * debug/fgetws_u_chk.c: Fix leading whitespaces.
291 * elf/sln.c: Likewise.
292 * hurd/hurd/ioctl.h: Likewise.
293 * hurd/hurdmalloc.c: Likewise.
294 * hurd/xattr.c: Likewise.
295 * include/shlib-compat.h: Likewise.
296 * inet/ruserpass.c: Likewise.
297 * libio/iofgets_u.c: Likewise.
298 * libio/iofgetws_u.c: Likewise.
299 * locale/programs/ld-identification.c: Likewise.
300 * locale/programs/ld-time.c: Likewise.
301 * mach/msg-destroy.c: Likewise.
302 * nss/nss_files/files-netgrp.c: Likewise.
303 * resolv/res_data.c: Likewise.
304 * soft-fp/op-1.h: Likewise.
305 * soft-fp/op-2.h: Likewise.
306 * soft-fp/op-4.h: Likewise.
307 * soft-fp/op-common.h: Likewise.
308 * stdio-common/printf_fphex.c: Likewise.
309 * stdlib/strtod_l.c: Likewise.
310 * sunrpc/rpc/clnt.h: Likewise.
311 * sysdeps/generic/framestate.c: Likewise.
312 * sysdeps/i386/bsd-_setjmp.S: Likewise.
313 * sysdeps/i386/bsd-setjmp.S: Likewise.
314 * sysdeps/i386/__longjmp.S: Likewise.
315 * sysdeps/i386/setjmp.S: Likewise.
316 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
317 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
318 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
319 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
321 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
324 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
325 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
326 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
327 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
328 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
329 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
330 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
332 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
333 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
334 * sysdeps/ieee754/support.c: Likewise.
335 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
336 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
337 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
338 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
339 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
340 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
341 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
342 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
343 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
344 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
345 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
346 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
347 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
348 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
349 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
350 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
351 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
354 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
356 * posix/transbug.c: Remove executable mode.
358 2013-06-05 Joseph Myers <joseph@codesourcery.com>
360 * crypt/speeds.c: Remove trailing whitespace.
361 * dlfcn/default.c: Likewise.
362 * elf/ifuncdep2.c: Likewise.
363 * elf/ifuncmain1.c: Likewise.
364 * elf/ifuncmain1vis.c: Likewise.
365 * elf/testobj.h: Likewise.
366 * elf/tst-stackguard1.c: Likewise.
367 * gmon/sys/gmon.h: Likewise.
368 * hurd/hurdmsg.c: Likewise.
369 * hurd/new-fd.c: Likewise.
370 * hurd/ports-get.c: Likewise.
371 * iconvdata/ibm1008_420.c: Likewise.
372 * inet/tst-getni1.c: Likewise.
373 * inet/tst-getni2.c: Likewise.
374 * libio/ioungetc.c: Likewise.
375 * libio/wfiledoalloc.c: Likewise.
376 * manual/libm-err-tab.pl: Likewise.
377 * math/w_dremf.c: Likewise.
378 * misc/ftruncate.c: Likewise.
379 * posix/bug-glob2.c: Likewise.
380 * posix/tst-pcre.c: Likewise.
381 * posix/wait4.c: Likewise.
382 * resolv/README: Likewise.
383 * resolv/res_debug.h: Likewise.
384 * resolv/tst-inet_ntop.c: Likewise.
385 * setjmp/bug269-setjmp.c: Likewise.
386 * soft-fp/extended.h: Likewise.
387 * soft-fp/op-1.h: Likewise.
388 * soft-fp/op-2.h: Likewise.
389 * soft-fp/op-4.h: Likewise.
390 * soft-fp/op-8.h: Likewise.
391 * soft-fp/testit.c: Likewise.
392 * stdio-common/bug16.c: Likewise.
393 * stdlib/random.c: Likewise.
394 * sunrpc/rpcsvc/rquota.x: Likewise.
395 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
396 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
397 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
398 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
399 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
400 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
401 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
402 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
403 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
404 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
405 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
406 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
407 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
408 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
411 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
413 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
414 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
415 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
416 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
417 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
418 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
423 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
424 * sysdeps/ieee754/s_lib_version.c: Likewise.
425 * sysdeps/mach/hurd/check_fds.c: Likewise.
426 * sysdeps/mach/hurd/getsockname.c: Likewise.
427 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
428 * sysdeps/mach/hurd/recvfrom.c: Likewise.
429 * sysdeps/powerpc/bits/link.h: Likewise.
430 * sysdeps/powerpc/dl-procinfo.c: Likewise.
431 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
432 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
433 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
434 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
435 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
436 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
437 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
438 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
439 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
440 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
441 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
442 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
443 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
444 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
445 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
446 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
447 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
448 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
449 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
450 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
451 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
452 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
453 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
454 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
455 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
456 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
457 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
458 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
459 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
460 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
462 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
463 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
464 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
465 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
466 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
467 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
468 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
469 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
470 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
471 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
472 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
473 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
474 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
475 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
476 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
477 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
478 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
479 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
482 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
484 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
485 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
486 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
487 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
488 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
489 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
490 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
491 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
492 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
493 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
494 * sysdeps/powerpc/sysdep.h: Likewise.
495 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
496 * sysdeps/s390/s390-64/sub_n.S: Likewise.
497 * sysdeps/sh/dl-trampoline.S: Likewise.
498 * sysdeps/sh/memset.S: Likewise.
499 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
500 * sysdeps/sh/strlen.S: Likewise.
501 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
502 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
503 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
504 * sysdeps/sparc/sparc32/rem.S: Likewise.
505 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
506 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
507 * sysdeps/sparc/sparc32/strchr.S: Likewise.
508 * sysdeps/sparc/sparc32/udiv.S: Likewise.
509 * sysdeps/sparc/sparc32/urem.S: Likewise.
510 * sysdeps/sparc/sparc64/add_n.S: Likewise.
511 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
512 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
513 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
515 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
516 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
517 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
518 * sysdeps/unix/bsd/times.c: Likewise.
519 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
520 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
526 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
528 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
530 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
531 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
532 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
533 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
534 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
535 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
536 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
537 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
538 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
539 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
540 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
541 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
542 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
543 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
544 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
545 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
547 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
548 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
549 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
550 * sysdeps/x86_64/strcspn.S: Likewise.
552 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
554 * locale/C-translit.h: Revert #include <stdint.h> because this is a
555 generated file. Regenerate properly from gen-translit.pl.
556 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
559 2013-06-05 Andreas Schwab <schwab@suse.de>
562 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
563 week as 6 instead of -1.
564 * time/tst-strptime.c (day_tests): Add test case.
566 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
568 * sysdeps/generic/math_private.h
569 (libc_feholdexcept_setround_53bit): Replace with
570 libc_feholdsetround_53bit.
571 (libc_feupdateenv_53bit): Replace with
572 libc_feresetround_53bit.
573 (SET_RESTORE_ROUND_53BIT): Adjust.
575 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
577 * string/test-strchrnul.c: Add copyright header.
579 * posix/tst-getaddrinfo4.c: Increase test timeout.
581 2013-06-03 Carlos O'Donell <carlos@redhat.com>
584 * math/libm-test.inc (MAX_EXP): Remove
586 (ulp): Use MIN_EXP - MANT_DIG.
587 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
589 2013-05-31 Carlos O'Donell <carlos@redhat.com>
591 * po/be.po: Revert last change.
592 * po/zh_CN.po: Likewise.
593 * po/header.pot: Likewise.
595 2013-05-31 Joseph Myers <joseph@codesourcery.com>
597 * Makefile ($(common-objpfx)linkobj/libc.so): Define
598 link-libc-deps to empty as target-specific variable.
599 * Makerules (link-libc-args): New variable.
600 (libc-for-link): Likewise.
601 (link-libc-deps): Likewise.
602 (lib%.so): Depend on $(link-libc-deps). Link with
604 (build-module): Link with $(link-libc-args).
605 (build-module-asneeded): Likewise.
606 (build-module-helper-objlist): Filter out $(link-libc-deps) from
608 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
609 target-specific variable.
610 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
611 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
612 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
614 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
616 ($(objpfx)libpcprofile.so): Likewise.
617 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
619 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
620 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
621 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
623 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
624 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
625 * login/Makefile ($(objpfx)libutil.so): Likewise.
626 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
627 * math/Makefile ($(objpfx)libm.so): Likewise.
628 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
629 $(objpfx)libnsl.so): Define libc-for-link as target-specific
630 variable instead of depending directly on libc.
631 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
632 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
634 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
636 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
637 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
638 ($(objpfx)libanl.so): Likewise.
639 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
641 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
643 * sysdeps/i386/fpu/Makefile: Remove file.
644 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
645 ($(objpfx)libm.so): Remove dependency on ld.so.
647 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
650 * nis/yp_xdr.c (XDRMAXNAME): Define.
651 (XDRMAXRECORD): Define.
652 (xdr_domainname): Use XDRMAXNAME.
653 (xdr_mapname): Likewise.
654 (xdr_peername): Likewise.
655 (xdr_keydat): Use XDRMAXRECORD.
656 (xdr_valdat): Likewise.
658 2013-05-30 Jeff Law <law@redhat.com>
661 * manual/errno.texi (ESTALE): Update to account for more than
662 just NFS file systems.
663 * sysdeps/gnu/errlist.c: Regenerated.
665 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * elf/Makefile (tests): Add tst-null-argv.
669 (modules-names): Add tst-null-argv-lib.
670 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
671 (tst-null-argv-ENV): Set environment for tst-null-argv.
672 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
673 (RTLD_PROGNAME): New macro.
674 * elf/tst-null-argv.c: New test case.
675 * elf/tst-null-argv-lib.c: Library for test case.
676 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
677 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
678 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
679 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
680 * elf/dl-init.c (call_init): Likewise.
681 (_dl_init): Likewise.
682 * elf/dl-load.c (print_search_path): Likewise.
683 (_dl_map_object): Likewise.
684 * elf/dl-lookup.c (do_lookup_x): Likewise.
685 (add_dependency): Likewise.
686 (_dl_lookup_symbol_x): Likewise.
687 (_dl_debug_bindings): Likewise.
688 * elf/dl-open.c (_dl_show_scope): Likewise.
689 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
690 * elf/dl-version.c (match_symbol): Likewise.
691 (_dl_check_map_versions): Likewise.
692 * elf/rtld.c (dl_main): Likewise.
693 (print_unresolved): Use RTLD_PROGNAME.
694 (print_missing_version): Likewise.
695 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
696 (elf_machine_rela): Likewise.
697 * sysdeps/powerpc/powerpc32/dl-machine.c
698 (__process_machine_rela): Likewise.
699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
701 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
703 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
705 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
712 2013-05-28 Carlos O'Donell <carlos@redhat.com>
714 * po/be.po: Add descriptive title.
715 * po/zh_CN.po: Likewise.
716 * po/header.pot: Likewise.
718 2013-05-28 Mike Frysinger <vapier@gentoo.org>
720 * locale/programs/locarchive.c (create_archive): Inlucde fname in
722 (enlarge_archive): Likewise.
724 2013-05-28 Ben North <ben@redfrontdoor.org>
726 * manual/arith.texi (frexp): It is the magnitude of the return
727 value which lies in [0.5, 1), not the return value itself.
729 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
733 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
735 * stdio-common/bug26.c (main): Correct fscanf template.
737 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
738 declare _dl_skip_args.
740 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
743 * manual/platform.texi: Add missing @end deftypefun.
745 2013-05-24 Joseph Myers <joseph@codesourcery.com>
748 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
749 bit of mantissa of 2^16382.
750 * math/libm-test.inc (hypot_test_data): Add more tests.
752 * math/libm-test.inc: Add drem and pow10 to list of tested
754 (pow10_test): New function.
755 (drem_test): Likewise.
756 (drem_test_tonearest): Likewise.
757 (drem_test_towardzero): Likewise.
758 (drem_test_downward): Likewise.
759 (drem_test_upward): Likewise.
760 (main): Call the new functions.
762 * math/libm-test.inc (finite_test_data): Remove.
763 (finite_test): Run tests from isfinite_test_data.
764 (gamma_test_data): Remove.
765 (gamma_test): Run tests from lgamma_test_data.
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
769 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771 * manual/platform.texi: Add PowerPC PPR function set documentation.
772 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
775 2013-05-24 Carlos O'Donell <carlos@redhat.com>
777 * math/libm-test.inc (MAX_EXP): Define.
780 (check_float_internal): Use ULPDIFF.
781 (cpow_test): Disable failing test.
782 (check_ulp): Test ulp() implemetnation.
783 (main): Call check_ulp before starting tests.
785 2013-05-24 Joseph Myers <joseph@codesourcery.com>
787 * math/gen-libm-test.pl (generate_testfile): Do not handle
788 START_DATA and END_DATA.
789 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
791 (acos_tonearest_test_data): Likewise.
792 (acos_towardzero_test_data): Likewise.
793 (acos_downward_test_data): Likewise.
794 (acos_upward_test_data): Likewise.
795 (acosh_test_data): Likewise.
796 (asin_test_data): Likewise.
797 (asin_tonearest_test_data): Likewise.
798 (asin_towardzero_test_data): Likewise.
799 (asin_downward_test_data): Likewise.
800 (asin_upward_test_data): Likewise.
801 (asinh_test_data): Likewise.
802 (atan_test_data): Likewise.
803 (atanh_test_data): Likewise.
804 (atan2_test_data): Likewise.
805 (cabs_test_data): Likewise.
806 (cacos_test_data): Likewise.
807 (cacosh_test_data): Likewise.
808 (carg_test_data): Likewise.
809 (casin_test_data): Likewise.
810 (casinh_test_data): Likewise.
811 (catan_test_data): Likewise.
812 (catanh_test_data): Likewise.
813 (cbrt_test_data): Likewise.
814 (ccos_test_data): Likewise.
815 (ccosh_test_data): Likewise.
816 (ceil_test_data): Likewise.
817 (cexp_test_data): Likewise.
818 (cimag_test_data): Likewise.
819 (clog_test_data): Likewise.
820 (clog10_test_data): Likewise.
821 (conj_test_data): Likewise.
822 (copysign_test_data): Likewise.
823 (cos_test_data): Likewise.
824 (cos_tonearest_test_data): Likewise.
825 (cos_towardzero_test_data): Likewise.
826 (cos_downward_test_data): Likewise.
827 (cos_upward_test_data): Likewise.
828 (cosh_test_data): Likewise.
829 (cosh_tonearest_test_data): Likewise.
830 (cosh_towardzero_test_data): Likewise.
831 (cosh_downward_test_data): Likewise.
832 (cosh_upward_test_data): Likewise.
833 (cpow_test_data): Likewise.
834 (cproj_test_data): Likewise.
835 (creal_test_data): Likewise.
836 (csin_test_data): Likewise.
837 (csinh_test_data): Likewise.
838 (csqrt_test_data): Likewise.
839 (ctan_test_data): Likewise.
840 (ctan_tonearest_test_data): Likewise.
841 (ctan_towardzero_test_data): Likewise.
842 (ctan_downward_test_data): Likewise.
843 (ctan_upward_test_data): Likewise.
844 (ctanh_test_data): Likewise.
845 (ctanh_tonearest_test_data): Likewise.
846 (ctanh_towardzero_test_data): Likewise.
847 (ctanh_downward_test_data): Likewise.
848 (ctanh_upward_test_data): Likewise.
849 (erf_test_data): Likewise.
850 (erfc_test_data): Likewise.
851 (exp_test_data): Likewise.
852 (exp_tonearest_test_data): Likewise.
853 (exp_towardzero_test_data): Likewise.
854 (exp_downward_test_data): Likewise.
855 (exp_upward_test_data): Likewise.
856 (exp10_test_data): Likewise.
857 (exp2_test_data): Likewise.
858 (expm1_test_data): Likewise.
859 (fabs_test_data): Likewise.
860 (fdim_test_data): Likewise.
861 (finite_test_data): Likewise.
862 (floor_test_data): Likewise.
863 (fma_test_data): Likewise.
864 (fma_towardzero_test_data): Likewise.
865 (fma_downward_test_data): Likewise.
866 (fma_upward_test_data): Likewise.
867 (fmax_test_data): Likewise.
868 (fmin_test_data): Likewise.
869 (fmod_test_data): Likewise.
870 (fpclassify_test_data): Likewise.
871 (frexp_test_data): Likewise.
872 (gamma_test_data): Likewise.
873 (hypot_test_data): Likewise.
874 (ilogb_test_data): Likewise.
875 (isfinite_test_data): Likewise.
876 (isgreater_test_data): Likewise.
877 (isgreaterequal_test_data): Likewise.
878 (isinf_test_data): Likewise.
879 (isless_test_data): Likewise.
880 (islessequal_test_data): Likewise.
881 (islessgreater_test_data): Likewise.
882 (isnan_test_data): Likewise.
883 (isnormal_test_data): Likewise.
884 (issignaling_test_data): Likewise.
885 (isunordered_test_data): Likewise.
886 (j0_test_data): Likewise.
887 (j1_test_data): Likewise.
888 (jn_test_data): Likewise.
889 (ldexp_test_data): Likewise.
890 (lgamma_test_data): Likewise.
891 (lrint_test_data): Likewise.
892 (lrint_tonearest_test_data): Likewise.
893 (lrint_towardzero_test_data): Likewise.
894 (lrint_downward_test_data): Likewise.
895 (lrint_upward_test_data): Likewise.
896 (llrint_test_data): Likewise.
897 (llrint_tonearest_test_data): Likewise.
898 (llrint_towardzero_test_data): Likewise.
899 (llrint_downward_test_data): Likewise.
900 (llrint_upward_test_data): Likewise.
901 (log_test_data): Likewise.
902 (log10_test_data): Likewise.
903 (log1p_test_data): Likewise.
904 (log2_test_data): Likewise.
905 (logb_test_data): Likewise.
906 (logb_downward_test_data): Likewise.
907 (lround_test_data): Likewise.
908 (llround_test_data): Likewise.
909 (modf_test_data): Likewise.
910 (nearbyint_test_data): Likewise.
911 (nextafter_test_data): Likewise.
912 (nexttoward_test_data): Likewise.
913 (pow_test_data): Likewise.
914 (pow_tonearest_test_data): Likewise.
915 (pow_towardzero_test_data): Likewise.
916 (pow_downward_test_data): Likewise.
917 (pow_upward_test_data): Likewise.
918 (remainder_test_data): Likewise.
919 (remainder_tonearest_test_data): Likewise.
920 (remainder_towardzero_test_data): Likewise.
921 (remainder_downward_test_data): Likewise.
922 (remainder_upward_test_data): Likewise.
923 (remquo_test_data): Likewise.
924 (rint_test_data): Likewise.
925 (rint_tonearest_test_data): Likewise.
926 (rint_towardzero_test_data): Likewise.
927 (rint_downward_test_data): Likewise.
928 (rint_upward_test_data): Likewise.
929 (round_test_data): Likewise.
930 (scalb_test_data): Likewise.
931 (scalbn_test_data): Likewise.
932 (scalbln_test_data): Likewise.
933 (signbit_test_data): Likewise.
934 (sin_test_data): Likewise.
935 (sin_tonearest_test_data): Likewise.
936 (sin_towardzero_test_data): Likewise.
937 (sin_downward_test_data): Likewise.
938 (sin_upward_test_data): Likewise.
939 (sincos_test_data): Likewise.
940 (sinh_test_data): Likewise.
941 (sinh_tonearest_test_data): Likewise.
942 (sinh_towardzero_test_data): Likewise.
943 (sinh_downward_test_data): Likewise.
944 (sinh_upward_test_data): Likewise.
945 (sqrt_test_data): Likewise.
946 (tan_test_data): Likewise.
947 (tan_tonearest_test_data): Likewise.
948 (tan_towardzero_test_data): Likewise.
949 (tan_downward_test_data): Likewise.
950 (tan_upward_test_data): Likewise.
951 (tanh_test_data): Likewise.
952 (tgamma_test_data): Likewise.
953 (trunc_test_data): Likewise.
954 (y0_test_data): Likewise.
955 (y1_test_data): Likewise.
956 (yn_test_data): Likewise.
957 (significand_test_data): Likewise.
959 * math/gen-libm-test.pl (@functions): Remove variable.
960 (generate_testfile): Don't handle START and END lines.
961 * math/libm-test.inc (START): New macro.
963 (END_COMPLEX): Likewise.
964 (acos_test): Use END macro without arguments.
965 (acos_test_tonearest): Likewise.
966 (acos_test_towardzero): Likewise.
967 (acos_test_downward): Likewise.
968 (acos_test_upward): Likewise.
969 (acosh_test): Likewise.
970 (asin_test): Likewise.
971 (asin_test_tonearest): Likewise.
972 (asin_test_towardzero): Likewise.
973 (asin_test_downward): Likewise.
974 (asin_test_upward): Likewise.
975 (asinh_test): Likewise.
976 (atan_test): Likewise.
977 (atanh_test): Likewise.
978 (atan2_test): Likewise.
979 (cabs_test): Likewise.
980 (cacos_test): Use END_COMPLEX macro without arguments.
981 (cacosh_test): Likewise.
982 (carg_test): Use END macro without arguments.
983 (casin_test): Use END_COMPLEX macro without arguments.
984 (casinh_test): Likewise.
985 (catan_test): Likewise.
986 (catanh_test): Likewise.
987 (cbrt_test): Use END macro without arguments.
988 (ccos_test): Use END_COMPLEX macro without arguments.
989 (ccosh_test): Likewise.
990 (ceil_test): Use END macro without arguments.
991 (cexp_test): Use END_COMPLEX macro without arguments.
992 (cimag_test): Use END macro without arguments.
993 (clog_test): Use END_COMPLEX macro without arguments.
994 (clog10_test): Likewise.
995 (conj_test): Likewise.
996 (copysign_test): Use END macro without arguments.
997 (cos_test): Likewise.
998 (cos_test_tonearest): Likewise.
999 (cos_test_towardzero): Likewise.
1000 (cos_test_downward): Likewise.
1001 (cos_test_upward): Likewise.
1002 (cosh_test): Likewise.
1003 (cosh_test_tonearest): Likewise.
1004 (cosh_test_towardzero): Likewise.
1005 (cosh_test_downward): Likewise.
1006 (cosh_test_upward): Likewise.
1007 (cpow_test): Use END_COMPLEX macro without arguments.
1008 (cproj_test): Likewise.
1009 (creal_test): Use END macro without arguments.
1010 (csin_test): Use END_COMPLEX macro without arguments.
1011 (csinh_test): Likewise.
1012 (csqrt_test): Likewise.
1013 (ctan_test): Likewise.
1014 (ctan_test_tonearest): Likewise.
1015 (ctan_test_towardzero): Likewise.
1016 (ctan_test_downward): Likewise.
1017 (ctan_test_upward): Likewise.
1018 (ctanh_test): Likewise.
1019 (ctanh_test_tonearest): Likewise.
1020 (ctanh_test_towardzero): Likewise.
1021 (ctanh_test_downward): Likewise.
1022 (ctanh_test_upward): Likewise.
1023 (erf_test): Use END macro without arguments.
1024 (erfc_test): Likewise.
1025 (exp_test): Likewise.
1026 (exp_test_tonearest): Likewise.
1027 (exp_test_towardzero): Likewise.
1028 (exp_test_downward): Likewise.
1029 (exp_test_upward): Likewise.
1030 (exp10_test): Likewise.
1031 (exp2_test): Likewise.
1032 (expm1_test): Likewise.
1033 (fabs_test): Likewise.
1034 (fdim_test): Likewise.
1035 (finite_test): Likewise.
1036 (floor_test): Likewise.
1037 (fma_test): Likewise.
1038 (fma_test_towardzero): Likewise.
1039 (fma_test_downward): Likewise.
1040 (fma_test_upward): Likewise.
1041 (fmax_test): Likewise.
1042 (fmin_test): Likewise.
1043 (fmod_test): Likewise.
1044 (fpclassify_test): Likewise.
1045 (frexp_test): Likewise.
1046 (gamma_test): Likewise.
1047 (hypot_test): Likewise.
1048 (ilogb_test): Likewise.
1049 (isfinite_test): Likewise.
1050 (isgreater_test): Likewise.
1051 (isgreaterequal_test): Likewise.
1052 (isinf_test): Likewise.
1053 (isless_test): Likewise.
1054 (islessequal_test): Likewise.
1055 (islessgreater_test): Likewise.
1056 (isnan_test): Likewise.
1057 (isnormal_test): Likewise.
1058 (issignaling_test): Likewise.
1059 (isunordered_test): Likewise.
1060 (j0_test): Likewise.
1061 (j1_test): Likewise.
1062 (jn_test): Likewise.
1063 (ldexp_test): Likewise.
1064 (lgamma_test): Likewise.
1065 (lrint_test): Likewise.
1066 (lrint_test_tonearest): Likewise.
1067 (lrint_test_towardzero): Likewise.
1068 (lrint_test_downward): Likewise.
1069 (lrint_test_upward): Likewise.
1070 (llrint_test): Likewise.
1071 (llrint_test_tonearest): Likewise.
1072 (llrint_test_towardzero): Likewise.
1073 (llrint_test_downward): Likewise.
1074 (llrint_test_upward): Likewise.
1075 (log_test): Likewise.
1076 (log10_test): Likewise.
1077 (log1p_test): Likewise.
1078 (log2_test): Likewise.
1079 (logb_test): Likewise.
1080 (logb_test_downward): Likewise.
1081 (lround_test): Likewise.
1082 (llround_test): Likewise.
1083 (modf_test): Likewise.
1084 (nearbyint_test): Likewise.
1085 (nextafter_test): Likewise.
1086 (nexttoward_test): Likewise.
1087 (pow_test): Likewise.
1088 (pow_test_tonearest): Likewise.
1089 (pow_test_towardzero): Likewise.
1090 (pow_test_downward): Likewise.
1091 (pow_test_upward): Likewise.
1092 (remainder_test): Likewise.
1093 (remainder_test_tonearest): Likewise.
1094 (remainder_test_towardzero): Likewise.
1095 (remainder_test_downward): Likewise.
1096 (remainder_test_upward): Likewise.
1097 (remquo_test): Likewise.
1098 (rint_test): Likewise.
1099 (rint_test_tonearest): Likewise.
1100 (rint_test_towardzero): Likewise.
1101 (rint_test_downward): Likewise.
1102 (rint_test_upward): Likewise.
1103 (round_test): Likewise.
1104 (scalb_test): Likewise.
1105 (scalbn_test): Likewise.
1106 (scalbln_test): Likewise.
1107 (signbit_test): Likewise.
1108 (sin_test): Likewise.
1109 (sin_test_tonearest): Likewise.
1110 (sin_test_towardzero): Likewise.
1111 (sin_test_downward): Likewise.
1112 (sin_test_upward): Likewise.
1113 (sincos_test): Likewise.
1114 (sinh_test): Likewise.
1115 (sinh_test_tonearest): Likewise.
1116 (sinh_test_towardzero): Likewise.
1117 (sinh_test_downward): Likewise.
1118 (sinh_test_upward): Likewise.
1119 (sqrt_test): Likewise.
1120 (tan_test): Likewise.
1121 (tan_test_tonearest): Likewise.
1122 (tan_test_towardzero): Likewise.
1123 (tan_test_downward): Likewise.
1124 (tan_test_upward): Likewise.
1125 (tanh_test): Likewise.
1126 (tgamma_test): Likewise.
1127 (trunc_test): Likewise.
1128 (y0_test): Likewise.
1129 (y1_test): Likewise.
1130 (yn_test): Likewise.
1131 (significand_test): Likewise.
1133 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1136 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1138 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1141 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1142 __ppc_mdoio and __ppc_mdoom.
1143 * manual/platform.texi: Document new functions __ppc_yield,
1144 __ppc_mdoio and __ppc_mdoom.
1146 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1148 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1149 (main): Mention "tls" pseudo-hwcap is legacy.
1150 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1152 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1154 * math/gen-libm-test.pl (parse_args): Output only string of
1155 arguments as text for test name, not full call or descriptions of
1156 tests for extra outputs.
1157 (generate_testfile): Do not pass function name to parse_args.
1158 Generate this_func variable from START.
1159 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1161 (struct test_ff_f_data): Likewise.
1162 (test_ff_f_data_nexttoward): Likewise.
1163 (struct test_fi_f_data): Likewise.
1164 (struct test_fl_f_data): Likewise.
1165 (struct test_if_f_data): Likewise.
1166 (struct test_fff_f_data): Likewise.
1167 (struct test_c_f_data): Likewise.
1168 (struct test_f_f1_data): Likewise. Remove field extra_name.
1169 (struct test_fF_f1_data): Likewise.
1170 (struct test_ffI_f1_data): Likewise.
1171 (struct test_c_c_data): Rename test_name field to arg_str.
1172 (struct test_cc_c_data): Likewise.
1173 (struct test_f_i_data): Likewise.
1174 (struct test_ff_i_data): Likewise.
1175 (struct test_f_l_data): Likewise.
1176 (struct test_f_L_data): Likewise.
1177 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1179 (COMMON_TEST_SETUP): New macro.
1180 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1181 (COMMON_TEST_CLEANUP): Likewise.
1182 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1183 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1185 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1186 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1188 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1189 (RUN_TEST_fff_f): Take argument string. Call new setup and
1191 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1192 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1194 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1195 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1197 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1198 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1200 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1201 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1203 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1204 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1206 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1207 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1209 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1210 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1212 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1213 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1215 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1216 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1218 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1219 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1221 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1222 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1224 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1225 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1227 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1228 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1230 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1231 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1233 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1234 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1236 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1238 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1240 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1241 to _sifields.sigfault.
1242 (si_addr_lsb): Define new macro.
1243 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1245 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1247 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1250 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1252 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1254 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1257 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1259 * math/gen-libm-test.pl (parse_args): Do not include expected
1260 result in test name.
1261 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1263 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1264 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1265 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1268 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1270 * benchtests/Makefile: Sort function entries.
1272 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1273 tanh, asinh, acosh, atanh.
1274 * benchtests/acos-inputs: New file.
1275 * benchtests/acosh-inputs: New file.
1276 * benchtests/asin-inputs: New file.
1277 * benchtests/asinh-inputs: New file.
1278 * benchtests/atanh-inputs: New file.
1279 * benchtests/cosh-inputs: New file.
1280 * benchtests/log-inputs: New file.
1281 * benchtests/sinh-inputs: New file.
1282 * benchtests/tanh-inputs: New file.
1284 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1287 * posix/tst-getaddrinfo4.c: New test.
1288 * posix/Makefile (tests): Add it.
1290 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1293 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1294 when no services were used.
1295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1296 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1298 2013-05-21 Andreas Schwab <schwab@suse.de>
1301 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1302 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1304 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1305 redundant variable declarations and reallocation of buffer when
1306 parsing as IPv6 address. Always set NSS status when called from
1307 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1308 buffer too small. Correct computation of needed size.
1309 * nss/Makefile (tests): Add test-digits-dots.
1310 * nss/test-digits-dots.c: New test.
1312 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1314 * benchtests/Makefile: Remove instructions for adding
1316 * benchtests/README: New file to explain how to execute and
1317 enhance the benchmark tests.
1319 2013-05-21 Andreas Schwab <schwab@suse.de>
1322 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1323 * setjmp/tst-sigsetjmp.c: New test.
1325 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1327 * sysdeps/x86_64/memset.S (memset): New implementation.
1328 (__bzero): Likewise.
1329 (__memset_tail): New function.
1331 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1333 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1334 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1335 __memcpy_sse2_unaligned ifunc selection.
1336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1337 Add memcpy-sse2-unaligned.S.
1338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1339 Add: __memcpy_sse2_unaligned.
1341 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1344 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1345 math_force_eval before restoring floating-point envrionment.
1346 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1349 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1351 (__nearbyintl): Use math_force_eval before restoring
1352 floating-point environment.
1353 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1355 * math/gen-libm-test.pl (special_functions): Remove.
1356 (parse_args): Don't handle TEST_extra. Handle functions with no
1358 * math/libm-test.inc (struct test_sincos_data): Replace with
1359 struct test_fFF_11_data.
1360 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1361 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1362 (sincos_test_data): Change element type to struct
1363 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1364 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1365 RUN_TEST_LOOP_sincos.
1366 * math/README.libm-test: Don't mention special handling of
1367 individual functions.
1368 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1370 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1371 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1372 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1375 * math/gen-libm-test.pl (get_variable): Remove function.
1376 (parse_args): Don't show pointer parameters to call in test
1377 names. Use "extra output N" in test names for extra outputs
1378 rather than naming variables.
1380 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1383 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1384 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1385 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1387 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1389 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1392 * math/gen-libm-test.pl (@tests): Remove variable.
1394 (new_test): Remove function.
1395 (show_exceptions): New function.
1396 (special_functions): Use show_exceptions instead of new_test.
1397 (parse_args): Likewise.
1398 (generate_testfile): Pass only function name in generated call to
1399 print_max_error or print_complex_max_error.
1400 (get_ulps): Do not handle complex tests specially.
1401 (output_test): Rename to ...
1402 (get_all_ulps_for_test): ... this. Return a string rather than
1403 printing to a file. Require ulps to be present.
1404 (output_ulps): Generate arrays rather than #defines.
1405 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1406 (struct ulp_data): New type.
1407 (BUILD_COMPLEX_ULP): Remove macro.
1408 (compare_ulp_data): New function.
1409 (find_ulps): Likewise.
1410 (find_test_ulps): Likewise.
1411 (find_function_ulps): Likewise.
1412 (find_complex_function_ulps): Likewise.
1413 (print_max_error): Determine allowed ulps using
1415 (print_complex_max_error): Determine allowed ulps using
1416 find_complex_function_ulps.
1417 (check_float_internal): Determine max ulps using find_test_ulps.
1418 (check_float): Do not take max_ulp parameter. Update call to
1419 check_float_internal.
1420 (check_complex): Likewise.
1421 (check_int): Do not take max_ulp parameter.
1422 (check_long): Likewise.
1423 (check_bool): Likewise.
1424 (check_longlong): Likewise.
1425 (struct test_f_f_data): Remove max_ulp field.
1426 (struct test_ff_f_data): Likewise.
1427 (struct test_ff_f_data_nexttoward): Likewise.
1428 (struct test_fi_f_data): Likewise.
1429 (struct test_fl_f_data): Likewise.
1430 (struct test_if_f_data): Likewise.
1431 (struct test_fff_f_data): Likewise.
1432 (struct test_c_f_data): Likewise.
1433 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1434 (struct test_fF_f1_data): Likewise.
1435 (struct test_ffI_f1_data): Likewise.
1436 (struct test_c_c_data): Remove max_ulp field.
1437 (struct test_cc_c_data): Likewise.
1438 (struct test_f_i_data): Likewise.
1439 (struct test_ff_i_data): Likewise.
1440 (struct test_f_l_data): Likewise.
1441 (struct test_f_L_data): Likewise.
1442 (struct test_sincos_data): Likewise.
1443 (RUN_TEST_f_f): Do not handle ulps.
1444 (RUN_TEST_LOOP_f_f): Likewise.
1445 (RUN_TEST_2_f): Likewise.
1446 (RUN_TEST_LOOP_2_f): Likewise.
1447 (RUN_TEST_fff_f): Likewise.
1448 (RUN_TEST_LOOP_fff_f): Likewise.
1449 (RUN_TEST_c_f): Likewise.
1450 (RUN_TEST_LOOP_c_f): Likewise.
1451 (RUN_TEST_f_f1): Likewise.
1452 (RUN_TEST_LOOP_f_f1): Likewise.
1453 (RUN_TEST_fF_f1): Likewise.
1454 (RUN_TEST_LOOP_fF_f1): Likewise.
1455 (RUN_TEST_fI_f1): Likewise.
1456 (RUN_TEST_LOOP_fI_f1): Likewise.
1457 (RUN_TEST_ffI_f1): Likewise.
1458 (RUN_TEST_LOOP_ffI_f1): Likewise.
1459 (RUN_TEST_c_c): Likewise.
1460 (RUN_TEST_LOOP_c_c): Likewise.
1461 (RUN_TEST_cc_c): Likewise.
1462 (RUN_TEST_LOOP_cc_c): Likewise.
1463 (RUN_TEST_f_i): Likewise.
1464 (RUN_TEST_LOOP_f_i): Likewise.
1465 (RUN_TEST_f_i_tg): Likewise.
1466 (RUN_TEST_LOOP_f_i_tg): Likewise.
1467 (RUN_TEST_ff_i_tg): Likewise.
1468 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1469 (RUN_TEST_f_b): Likewise.
1470 (RUN_TEST_LOOP_f_b): Likewise.
1471 (RUN_TEST_f_b_tg): Likewise.
1472 (RUN_TEST_LOOP_f_b_tg): Likewise.
1473 (RUN_TEST_f_l): Likewise.
1474 (RUN_TEST_LOOP_f_l): Likewise.
1475 (RUN_TEST_f_L): Likewise.
1476 (RUN_TEST_LOOP_f_L): Likewise.
1477 (RUN_TEST_sincos): Likewise.
1478 (RUN_TEST_LOOP_sincos): Likewise.
1480 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1484 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1485 main case of finite arguments, set rounding mode to FE_TONEAREST
1486 and discard exceptions.
1487 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1489 (remainder_tonearest_test_data): New variable.
1490 (remainder_test_tonearest): New function.
1491 (remainder_towardzero_test_data): New variable.
1492 (remainder_test_towardzero): New function.
1493 (remainder_downward_test_data): New variable.
1494 (remainder_test_downward): New function.
1495 (remainder_upward_test_data): New variable.
1496 (remainder_test_upward): New function.
1497 (main): Call the new test functions.
1499 * math/libm-test.inc (struct test_f_f1_data): Remove field
1501 (struct test_fF_f1_data): Likewise.
1502 (struct test_ffI_f1_data): Likewise.
1503 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1504 based on value of EXTRA_EXPECTED.
1505 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1506 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1507 EXTRA_VAR based on value of EXTRA_EXPECTED.
1508 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1509 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1510 EXTRA_VAR based on value of EXTRA_EXPECTED.
1511 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1512 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1513 EXTRA_VAR based on value of EXTRA_EXPECTED.
1514 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1515 * math/gen-libm-test.pl (parse_args): Don't output initializers
1516 for extra output values.
1518 * math/libm-test.inc (check_int): Expect result to be exactly
1519 equal to expected value and do not handle ulps.
1520 (check_long): Likewise.
1521 (check_longlong): Likewise.
1523 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1525 (cimag_test_data): Likewise.
1526 (conj_test_data): Likewise.
1527 (copysign_test_data): Likewise.
1528 (cproj_test_data): Likewise.
1529 (creal_test_data): Likewise.
1530 (fabs_test_data): Likewise.
1531 (fdim_test_data): Likewise.
1532 (finite_test_data): Likewise.
1533 (floor_test_data): Likewise.
1534 (fmax_test_data): Likewise.
1535 (fmin_test_data): Likewise.
1536 (fmod_test_data): Likewise.
1537 (fpclassify_test_data): Likewise.
1538 (frexp_test_data): Likewise.
1539 (ilogb_test_data): Likewise.
1540 (isfinite_test_data): Likewise.
1541 (isgreater_test_data): Likewise.
1542 (isgreaterequal_test_data): Likewise.
1543 (isinf_test_data): Likewise.
1544 (isless_test_data): Likewise.
1545 (islessequal_test_data): Likewise.
1546 (islessgreater_test_data): Likewise.
1547 (isnan_test_data): Likewise.
1548 (isnormal_test_data): Likewise.
1549 (issignaling_test_data): Likewise.
1550 (isunordered_test_data): Likewise.
1551 (ldexp_test_data): Likewise.
1552 (lrint_test_data): Likewise.
1553 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1554 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1555 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1556 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1557 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1558 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1560 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1561 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1562 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1563 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1565 (lrint_downward_test_data): Test for "inexact" exceptions.
1566 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1567 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1568 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1570 (lrint_upward_test_data): Test for "inexact" exceptions.
1571 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1573 (llrint_test_data): Test for "inexact" exceptions.
1574 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1575 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1576 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1577 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1578 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1579 (llrint_downward_test_data): Test for "inexact" exceptions.
1580 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1581 (llrint_upward_test_data): Test for "inexact" exceptions.
1582 (logb_test_data): Likewise.
1583 (logb_downward_test_data): Likewise.
1584 (nextafter_test_data): Likewise.
1585 (nexttoward_test_data): Likewise.
1586 (remainder_test_data): Likewise.
1587 (remquo_test_data): Likewise.
1588 (scalbn_test_data): Likewise.
1589 (scalbln_test_data): Likewise.
1590 (signbit_test_data): Likewise.
1591 (sqrt_test_data): Likewise.
1592 (significand_test_data): Likewise.
1594 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1597 * benchtests/bench-modf.c (struct args): Mark arg0 as
1599 * scripts/bench.pl: Mark members of struct args as volatile.
1601 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1604 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1605 negative infinity on POWER6 or lower.
1606 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1608 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1611 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1612 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1613 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1614 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1615 (_FP_SETQNAN): New macro.
1616 (_FP_SETQNAN_SEMIRAW): Likewise.
1617 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1618 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1619 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1620 (FP_EXTEND): Use _FP_FRAC_SNANP.
1621 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1622 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1624 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1626 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1629 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1631 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1632 with DIVIDE_BY_ZERO_EXCEPTION.
1633 (gamma_test_data): Likewise.
1634 (lgamma_test_data): Likewise.
1635 (log_test_data): Likewise.
1636 (log10_test_data): Likewise.
1637 (log2_test_data): Likewise.
1638 (tgamma_test_data): Likewise.
1640 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1641 (acos_test_tonearest): Likewise.
1642 (acos_test_towardzero): Likewise.
1643 (acos_test_downward): Likewise.
1644 (acos_test_upward): Likewise.
1645 (acosh_test): Likewise.
1646 (asin_test): Likewise.
1647 (asin_test_tonearest): Likewise.
1648 (asin_test_towardzero): Likewise.
1649 (asin_test_downward): Likewise.
1650 (asin_test_upward): Likewise.
1651 (asinh_test): Likewise.
1652 (atan_test): Likewise.
1653 (atanh_test): Likewise.
1654 (atan2_test): Likewise.
1655 (cabs_test): Likewise.
1656 (cacos_test): Likewise.
1657 (cacosh_test): Likewise.
1658 (casin_test): Likewise.
1659 (casinh_test): Likewise.
1660 (catan_test): Likewise.
1661 (catanh_test): Likewise.
1662 (cbrt_test): Likewise.
1663 (ccos_test): Likewise.
1664 (ccosh_test): Likewise.
1665 (cexp_test): Likewise.
1666 (clog_test): Likewise.
1667 (clog10_test): Likewise.
1668 (cos_test): Likewise.
1669 (cos_test_tonearest): Likewise.
1670 (cos_test_towardzero): Likewise.
1671 (cos_test_downward): Likewise.
1672 (cos_test_upward): Likewise.
1673 (cosh_test): Likewise.
1674 (cosh_test_tonearest): Likewise.
1675 (cosh_test_towardzero): Likewise.
1676 (cosh_test_downward): Likewise.
1677 (cosh_test_upward): Likewise.
1678 (cpow_test): Likewise.
1679 (csin_test): Likewise.
1680 (csinh_test): Likewise.
1681 (csqrt_test): Likewise.
1682 (ctan_test): Likewise.
1683 (ctan_test_tonearest): Likewise.
1684 (ctan_test_towardzero): Likewise.
1685 (ctan_test_downward): Likewise.
1686 (ctan_test_upward): Likewise.
1687 (ctanh_test): Likewise.
1688 (ctanh_test_tonearest): Likewise.
1689 (ctanh_test_towardzero): Likewise.
1690 (ctanh_test_downward): Likewise.
1691 (ctanh_test_upward): Likewise.
1692 (erf_test): Likewise.
1693 (erfc_test): Likewise.
1694 (exp_test): Likewise.
1695 (exp_test_tonearest): Likewise.
1696 (exp_test_towardzero): Likewise.
1697 (exp_test_downward): Likewise.
1698 (exp_test_upward): Likewise.
1699 (exp10_test): Likewise.
1700 (exp2_test): Likewise.
1701 (expm1_test): Likewise.
1702 (fmod_test): Likewise.
1703 (gamma_test): Likewise.
1704 (hypot_test): Likewise.
1705 (j0_test): Likewise.
1706 (j1_test): Likewise.
1707 (jn_test): Likewise.
1708 (lgamma_test): Likewise.
1709 (log_test): Likewise.
1710 (log10_test): Likewise.
1711 (log1p_test): Likewise.
1712 (log2_test): Likewise.
1713 (logb_test_downward): Likewise.
1714 (pow_test): Likewise.
1715 (pow_test_tonearest): Likewise.
1716 (pow_test_towardzero): Likewise.
1717 (pow_test_downward): Likewise.
1718 (pow_test_upward): Likewise.
1719 (remainder_test): Likewise.
1720 (remquo_test): Likewise.
1721 (sin_test): Likewise.
1722 (sin_test_tonearest): Likewise.
1723 (sin_test_towardzero): Likewise.
1724 (sin_test_downward): Likewise.
1725 (sin_test_upward): Likewise.
1726 (sincos_test): Likewise.
1727 (sinh_test): Likewise.
1728 (sinh_test_tonearest): Likewise.
1729 (sinh_test_towardzero): Likewise.
1730 (sinh_test_downward): Likewise.
1731 (sinh_test_upward): Likewise.
1732 (sqrt_test): Likewise.
1733 (tan_test): Likewise.
1734 (tan_test_tonearest): Likewise.
1735 (tan_test_towardzero): Likewise.
1736 (tan_test_downward): Likewise.
1737 (tan_test_upward): Likewise.
1738 (tanh_test): Likewise.
1739 (tgamma_test): Likewise.
1740 (y0_test): Likewise.
1741 (y1_test): Likewise.
1742 (yn_test): Likewise.
1744 * math/gen-libm-test.pl (adjust_arg): Remove function.
1745 (special_function): Remove argument $in_func. Only handle
1746 generating output for tables of tests, not inside functions.
1747 (parse_args): Likewise.
1748 (generate_testfile): Remove variable $in_func. Update call to
1750 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1751 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1752 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1753 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1754 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1755 (MAX_VALUE_INIT): Rename macro to max_value.
1756 (MIN_VALUE_INIT): Rename macro to min_value.
1757 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1758 (plus_zero): Remove variable.
1759 (minus_zero): Likewise.
1760 (plus_infty): Likewise.
1761 (minus_infty): Likewise.
1762 (qnan_value): Likewise.
1763 (max_value): Likewise.
1764 (min_value): Likewise.
1765 (min_subnorm_value): Likewise.
1767 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1769 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1770 uint64_t or uint32_t usage.
1771 * crypt/sha256-block.c: Likewise.
1772 * crypt/sha256-crypt.c: Likewise.
1773 * crypt/sha256.c: Likewise.
1774 * crypt/sha512-block.c: Likewise.
1775 * crypt/sha512-crypt.c: Likewise.
1776 * crypt/sha512.c: Likewise.
1777 * debug/backtrace-tst.c: Likewise.
1778 * debug/pcprofiledump.c: Likewise.
1779 * elf/cache.c: Likewise.
1780 * elf/dl-cache.c: Likewise.
1781 * elf/dl-misc.c: Likewise.
1782 * elf/dl-profile.c: Likewise.
1783 * elf/dl-support.c: Likewise.
1784 * elf/ldconfig.c: Likewise.
1785 * elf/sprof.c: Likewise.
1786 * iconv/dummy-repertoire.c: Likewise.
1787 * iconv/iconv_charmap.c: Likewise.
1788 * iconv/skeleton.c: Likewise.
1789 * iconvdata/8bit-generic.c: Likewise.
1790 * iconvdata/cp737.h: Likewise.
1791 * iconvdata/cp775.h: Likewise.
1792 * iconvdata/ibm1008.h: Likewise.
1793 * iconvdata/ibm1025.h: Likewise.
1794 * iconvdata/ibm1046.h: Likewise.
1795 * iconvdata/ibm1097.h: Likewise.
1796 * iconvdata/ibm1112.h: Likewise.
1797 * iconvdata/ibm1122.h: Likewise.
1798 * iconvdata/ibm1123.h: Likewise.
1799 * iconvdata/ibm1124.h: Likewise.
1800 * iconvdata/ibm1129.h: Likewise.
1801 * iconvdata/ibm1130.h: Likewise.
1802 * iconvdata/ibm1132.h: Likewise.
1803 * iconvdata/ibm1133.h: Likewise.
1804 * iconvdata/ibm1137.h: Likewise.
1805 * iconvdata/ibm1140.h: Likewise.
1806 * iconvdata/ibm1141.h: Likewise.
1807 * iconvdata/ibm1142.h: Likewise.
1808 * iconvdata/ibm1143.h: Likewise.
1809 * iconvdata/ibm1144.h: Likewise.
1810 * iconvdata/ibm1145.h: Likewise.
1811 * iconvdata/ibm1146.h: Likewise.
1812 * iconvdata/ibm1147.h: Likewise.
1813 * iconvdata/ibm1148.h: Likewise.
1814 * iconvdata/ibm1149.h: Likewise.
1815 * iconvdata/ibm1153.h: Likewise.
1816 * iconvdata/ibm1154.h: Likewise.
1817 * iconvdata/ibm1155.h: Likewise.
1818 * iconvdata/ibm1156.h: Likewise.
1819 * iconvdata/ibm1157.h: Likewise.
1820 * iconvdata/ibm1158.h: Likewise.
1821 * iconvdata/ibm1160.h: Likewise.
1822 * iconvdata/ibm1161.h: Likewise.
1823 * iconvdata/ibm1162.h: Likewise.
1824 * iconvdata/ibm1163.h: Likewise.
1825 * iconvdata/ibm1164.h: Likewise.
1826 * iconvdata/ibm1166.h: Likewise.
1827 * iconvdata/ibm1167.h: Likewise.
1828 * iconvdata/ibm12712.h: Likewise.
1829 * iconvdata/ibm1390.h: Likewise.
1830 * iconvdata/ibm1399.h: Likewise.
1831 * iconvdata/ibm16804.h: Likewise.
1832 * iconvdata/ibm4517.h: Likewise.
1833 * iconvdata/ibm4899.h: Likewise.
1834 * iconvdata/ibm4909.h: Likewise.
1835 * iconvdata/ibm4971.h: Likewise.
1836 * iconvdata/ibm5347.h: Likewise.
1837 * iconvdata/ibm803.h: Likewise.
1838 * iconvdata/ibm856.h: Likewise.
1839 * iconvdata/ibm901.h: Likewise.
1840 * iconvdata/ibm902.h: Likewise.
1841 * iconvdata/ibm9030.h: Likewise.
1842 * iconvdata/ibm9066.h: Likewise.
1843 * iconvdata/ibm921.h: Likewise.
1844 * iconvdata/ibm922.h: Likewise.
1845 * iconvdata/ibm9448.h: Likewise.
1846 * iconvdata/isiri-3342.h: Likewise.
1847 * iconvdata/jis0201.h: Likewise.
1848 * include/link.h: Likewise.
1849 * include/netdb.h: Likewise.
1850 * inet/check_native.c: Likewise.
1851 * inet/check_pf.c: Likewise.
1852 * inet/getipv4sourcefilter.c: Likewise.
1853 * inet/getnameinfo.c: Likewise.
1854 * inet/getsourcefilter.c: Likewise.
1855 * inet/htonl.c: Likewise.
1856 * inet/setipv4sourcefilter.c: Likewise.
1857 * inet/setsourcefilter.c: Likewise.
1858 * inet/test-inet6_opt.c: Likewise.
1859 * inet/tst-network.c: Likewise.
1860 * locale/C-collate.c: Likewise.
1861 * locale/C-ctype.c: Likewise.
1862 * locale/C-time.c: Likewise.
1863 * locale/C-translit.h: Likewise.
1864 * locale/loadarchive.c: Likewise.
1865 * locale/programs/3level.h: Likewise.
1866 * locale/programs/charmap.c: Likewise.
1867 * locale/programs/charmap.h: Likewise.
1868 * locale/programs/ld-address.c: Likewise.
1869 * locale/programs/ld-collate.c: Likewise.
1870 * locale/programs/ld-ctype.c: Likewise.
1871 * locale/programs/ld-identification.c: Likewise.
1872 * locale/programs/ld-measurement.c: Likewise.
1873 * locale/programs/ld-messages.c: Likewise.
1874 * locale/programs/ld-monetary.c: Likewise.
1875 * locale/programs/ld-name.c: Likewise.
1876 * locale/programs/ld-numeric.c: Likewise.
1877 * locale/programs/ld-paper.c: Likewise.
1878 * locale/programs/ld-telephone.c: Likewise.
1879 * locale/programs/ld-time.c: Likewise.
1880 * locale/programs/linereader.c: Likewise.
1881 * locale/programs/locale.c: Likewise.
1882 * locale/programs/locarchive.c: Likewise.
1883 * locale/programs/locfile.h: Likewise.
1884 * locale/programs/repertoire.c: Likewise.
1885 * locale/programs/simple-hash.c: Likewise.
1886 * locale/programs/simple-hash.h: Likewise.
1887 * malloc/memusage.c: Likewise.
1888 * malloc/memusagestat.c: Likewise.
1889 * nis/nis_defaults.c: Likewise.
1890 * nis/nis_hash.c: Likewise.
1891 * nis/nis_print.c: Likewise.
1892 * nis/nis_xdr.c: Likewise.
1893 * nscd/connections.c: Likewise.
1894 * nscd/hstcache.c: Likewise.
1895 * nscd/nscd_gethst_r.c: Likewise.
1896 * nscd/nscd_getserv_r.c: Likewise.
1897 * nscd/nscd_helper.c: Likewise.
1898 * nscd/servicescache.c: Likewise.
1899 * nss/makedb.c: Likewise.
1900 * nss/nss_db/db-XXX.c: Likewise.
1901 * nss/nss_db/db-initgroups.c: Likewise.
1902 * nss/nss_db/db-netgrp.c: Likewise.
1903 * nss/nss_files/files-network.c: Likewise.
1904 * nss/nss_files/files-parse.c: Likewise.
1905 * posix/bug-regex5.c: Likewise.
1906 * posix/fnmatch_loop.c: Likewise.
1907 * posix/regcomp.c: Likewise.
1908 * posix/regexec.c: Likewise.
1909 * posix/tst-rfc3484-2.c: Likewise.
1910 * posix/tst-rfc3484-3.c: Likewise.
1911 * posix/tst-rfc3484.c: Likewise.
1912 * resolv/nss_dns/dns-canon.c: Likewise.
1913 * resolv/nss_dns/dns-network.c: Likewise.
1914 * resolv/res_init.c: Likewise.
1915 * resolv/res_mkquery.c: Likewise.
1916 * resolv/tst-aton.c: Likewise.
1917 * stdlib/cxa_atexit.c: Likewise.
1918 * stdlib/cxa_finalize.c: Likewise.
1919 * stdlib/gen-fpioconst.c: Likewise.
1920 * stdlib/strtol_l.c: Likewise.
1921 * string/tst-endian.c: Likewise.
1922 * sunrpc/auth_des.c: Likewise.
1923 * sunrpc/clnt_udp.c: Likewise.
1924 * sunrpc/rtime.c: Likewise.
1925 * sunrpc/svcauth_des.c: Likewise.
1926 * sunrpc/xdr.c: Likewise.
1927 * sunrpc/xdr_intXX_t.c: Likewise.
1928 * sunrpc/xdr_rec.c: Likewise.
1929 * sysdeps/generic/ldconfig.h: Likewise.
1930 * sysdeps/generic/ldsodefs.h: Likewise.
1931 * sysdeps/generic/memusage.h: Likewise.
1932 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1942 * sysdeps/posix/getaddrinfo.c: Likewise.
1943 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1944 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1945 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1946 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1947 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1948 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1949 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1950 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1951 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1952 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1953 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1954 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1955 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1956 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1958 * sysdeps/x86_64/dl-tls.h: Likewise.
1959 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1960 * time/alt_digit.c: Likewise.
1961 * time/era.c: Likewise.
1962 * wcsmbs/tst-c16c32-1.c: Likewise.
1964 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1966 * math/libm-test.inc (struct test_sincos_data): New type.
1967 (RUN_TEST_LOOP_sincos): New macro.
1968 (sincos_test_data): New variable.
1969 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1971 2013-05-16 Richard Henderson <rth@redhat.com>
1973 * math/atest-exp2.c (LIMB64): New macro.
1974 (CONSTSZ): New macro.
1975 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1977 (print_mpn_fp): ... to function scope.
1978 (read_mpn_hex): Remove.
1980 (exp2_mpn): Use mp_log2.
1981 (main): Use mp_exp1.
1983 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1985 * math/libm-test.inc: Remove comment about not testing "inexact"
1987 (INEXACT_EXCEPTION): New macro.
1988 (NO_INEXACT_EXCEPTION): Likewise.
1989 (INVALID_EXCEPTION_OK): Update value.
1990 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1991 (OVERFLOW_EXCEPTION_OK): Likewise.
1992 (UNDERFLOW_EXCEPTION_OK): Likewise.
1993 (IGNORE_ZERO_INF_SIGN): Likewise.
1994 (ERRNO_UNCHANGED): Likewise.
1995 (ERRNO_EDOM): Likewise.
1996 (ERRNO_ERANGE): Likewise.
1997 (test_exceptions): Handle testing "inexact" exceptions.
1998 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1999 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2000 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2001 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2003 (rint_towardzero_test_data): Likewise.
2004 (rint_downward_test_data): Likewise.
2005 (rint_upward_test_data): Likewise.
2007 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2008 with OVERFLOW_EXCEPTION.
2009 (exp10_test_data): Likewise.
2010 (exp2_test_data): Likewise.
2011 (expm1_test_data): Likewise.
2012 (lgamma_test_data): Likewise.
2013 (pow_test_data): Likewise.
2014 (tgamma_test_data): Likewise.
2015 (yn_test_data): Remove duplicate test of overflow.
2017 * math/libm-test.inc (struct test_cc_c_data): New type.
2018 (RUN_TEST_LOOP_cc_c): New macro.
2019 (cpow_test_data): New variable.
2020 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2022 * math/libm-test.inc (struct test_f_L_data): New type.
2023 (RUN_TEST_LOOP_f_L): New macro.
2024 (llrint_test_data): New variable.
2025 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2026 (llrint_tonearest_test_data): New variable.
2027 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2028 (llrint_towardzero_test_data): New variable.
2029 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2030 (llrint_downward_test_data): New variable.
2031 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2032 (llrint_upward_test_data): New variable.
2033 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2034 (llround_test_data): New variable.
2035 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2037 2013-05-13 Peter Collingbourne <pcc@google.com>
2039 * math/atest-exp2.c (get_log2): Remove const attribute.
2041 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2043 * math/libm-test.inc (struct test_f_l_data): New type.
2044 (RUN_TEST_LOOP_f_l): New macro.
2045 (lrint_test_data): New variable.
2046 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2047 (lrint_tonearest_test_data): New variable.
2048 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2049 (lrint_towardzero_test_data): New variable.
2050 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2051 (lrint_downward_test_data): New variable.
2052 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2053 (lrint_upward_test_data): New variable.
2054 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2055 (lround_test_data): New variable.
2056 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2058 2013-05-15 Peter Collingbourne <pcc@google.com>
2060 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2061 (EXTRACT_WORDS64) Use where appropriate.
2062 (INSERT_WORDS64) Likewise.
2064 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2065 constraints with x constraints.
2066 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2068 * malloc/obstack.c (_obstack_compat): Add initializer.
2070 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2072 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2073 si_trapno and add si_addr_lsb to _sifields.sigfault.
2074 (si_trapno): Remove macro.
2075 (si_addr_lsb): Define new macro.
2076 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2078 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2080 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2081 instead of TEST_f_l.
2082 (llrint_test_tonearest): Likewise.
2083 (llrint_test_towardzero): Likewise.
2084 (llrint_test_downward): Likewise.
2085 (llrint_test_upward): Likewise.
2086 (llround_test): Likewise.
2088 * math/libm-test.inc (struct test_f_i_data): Add comment.
2089 (RUN_TEST_LOOP_f_b): New macro.
2090 (RUN_TEST_LOOP_f_b_tg): Likewise.
2091 (finite_test_data): New variable.
2092 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2093 (isfinite_test_data): New variable.
2094 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2095 (isinf_test_data): New variable.
2096 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2097 (isnan_test_data): New variable.
2098 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2099 (isnormal_test_data): New variable.
2100 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2101 (issignaling_test_data): New variable.
2102 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2103 (signbit_test_data): New variable.
2104 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2106 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2107 with INVALID_EXCEPTION.
2108 (acosh_test_data): Likewise.
2109 (asin_test_data): Likewise.
2110 (atanh_test_data): Likewise.
2111 (fmod_test_data): Likewise.
2112 (log_test_data): Likewise.
2113 (log10_test_data): Likewise.
2114 (log2_test_data): Likewise.
2115 (pow_test_data): Likewise.
2116 (sqrt_test_data): Likewise.
2117 (y0_test_data): Likewise.
2118 (y1_test_data): Likewise.
2119 (yn_test_data): Likewise.
2121 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2124 * math/libm-test.inc (struct test_ff_i_data): New type.
2125 (RUN_TEST_LOOP_ff_i_tg): New macro.
2126 (isgreater_test_data): New variable.
2127 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2128 (isgreaterequal_test_data): New variable.
2129 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2130 (isless_test_data): New variable.
2131 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2132 (islessequal_test_data): New variable.
2133 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2134 (islessgreater_test_data): New variable.
2135 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2136 (isunordered_test_data): New variable.
2137 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2139 2013-05-14 David S. Miller <davem@davemloft.net>
2141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2143 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2145 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2147 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2149 (struct test_f_i_data): Change type of max_ulp to int.
2151 * math/libm-test.inc (test_ffI_f1_data): New type.
2152 (RUN_TEST_LOOP_ffI_f1): New macro.
2153 (remquo_test_data): New variable.
2154 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2156 * setjmp/tst-setjmp-fp.c: New file.
2157 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2158 (link-libm): New variable.
2159 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2161 * math/libm-test.inc (struct test_f_i_data): New type.
2162 (RUN_TEST_LOOP_f_i): New macro.
2163 (RUN_TEST_LOOP_f_i_tg): Likewise.
2164 (fpclassify_test_data): New variable.
2165 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2166 (ilogb_test_data): New variable.
2167 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2169 * math/libm-test.inc (scalbln_test): Correct function name in END
2172 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2173 (RUN_TEST_LOOP_fI_f1): New macro.
2174 (frexp_test_data): New variable.
2175 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2177 * math/libm-test.inc (struct test_fF_f1_data): New type.
2178 (RUN_TEST_LOOP_fF_f1): New macro.
2179 (modf_test_data): New variable.
2180 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2182 * math/libm-test.inc (struct test_f_f1_data): New type.
2183 (RUN_TEST_LOOP_f_f1): New macro.
2184 (gamma_test_data): New variable.
2185 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2186 (lgamma_test_data): New variable.
2187 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2189 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2191 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2192 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2193 (main): Comment "tls" pseudo-hwcap.
2195 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2197 * math/libm-test.inc (struct test_fl_f_data): New type.
2198 (RUN_TEST_LOOP_fl_f): New variable.
2199 (scalbln_test_data): New variable.
2200 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2202 * math/libm-test.inc (struct test_fi_f_data): New type.
2203 (RUN_TEST_LOOP_fi_f): New macro.
2204 (ldexp_test_data): New variable.
2205 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2206 (scalbn_test_data): New variable.
2207 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2209 * math/libm-test.inc (struct test_c_f_data): New type.
2210 (RUN_TEST_LOOP_c_f): New macro.
2211 (cabs_test_data): New variable.
2212 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2213 (carg_test_data): New variable.
2214 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2215 (cimag_test_data): New variable.
2216 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2217 (creal_test_data): New variable.
2218 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2220 * math/libm-test.inc (struct test_if_f_data): New type.
2221 (RUN_TEST_LOOP_if_f): New macro.
2222 (jn_test_data): New variable.
2223 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2224 (yn_test_data): New variable.
2225 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2227 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2229 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2232 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2234 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2236 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2237 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2238 (bench-deps): Add bench-timing.h.
2239 * benchtests-bench-skeleton.c: Include bench-timing.h.
2240 (main): Use TIMING_* macros instead of clock_gettime.
2241 * benchtests/bench-timing.h: New file.
2244 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2245 Renamed from _LIB_VERSION.
2246 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2248 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2250 * math/libm-test.inc (struct test_fff_f_data): New type.
2251 (RUN_TEST_LOOP_fff_f): New macro.
2252 (fma_test_data): New variable.
2253 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2254 (fma_towardzero_test_data): New variable.
2255 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2256 (fma_downward_test_data): New variable.
2257 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2258 (fma_upward_test_data): New variable.
2259 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2261 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2262 (struct test_c_c_data): New type.
2263 (RUN_TEST_LOOP_c_c): New macro.
2264 (cacos_test_data): New variable.
2265 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2266 (cacosh_test_data): New variable.
2267 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2268 (casin_test_data): New variable.
2269 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2270 (casinh_test_data): New variable.
2271 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2272 (catan_test_data): New variable.
2273 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2274 (catanh_test_data): New variable.
2275 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2276 (ccos_test_data): New variable.
2277 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2278 (ccosh_test_data): New variable.
2279 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2280 (cexp_test_data): New variable.
2281 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2282 (clog_test_data): New variable.
2283 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2284 (clog10_test_data): New variable.
2285 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2286 (conj_test_data): New variable.
2287 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2288 (cproj_test_data): New variable.
2289 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2290 (csin_test_data): New variable.
2291 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2292 (csinh_test_data): New variable.
2293 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2294 (csqrt_test_data): New variable.
2295 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2296 (ctan_test_data): New variable.
2297 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2298 (ctan_tonearest_test_data): New variable.
2299 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2300 (ctan_towardzero_test_data): New variable.
2301 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2302 (ctan_downward_test_data): New variable.
2303 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2304 (ctan_upward_test_data): New variable.
2305 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2306 (ctanh_test_data): New variable.
2307 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2308 (ctanh_tonearest_test_data): New variable.
2309 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2310 (ctanh_towardzero_test_data): New variable.
2311 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2312 (ctanh_downward_test_data): New variable.
2313 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2314 (ctanh_upward_test_data): New variable.
2315 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2316 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2319 * math/libm-test.inc (struct test_ff_f_data): New type.
2320 (struct test_ff_f_data_nexttoward): Likewise.
2321 (RUN_TEST_LOOP_2_f): New macro.
2322 (RUN_TEST_LOOP_ff_f): Likewise.
2323 (atan2_test_data): New variable.
2324 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2325 (copysign_test_data): New variable.
2326 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2327 (fdim_test_data): New variable.
2328 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2329 (fmax_test_data): New variable.
2330 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2331 (fmin_test_data): New variable.
2332 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2333 (fmod_test_data): New variable.
2334 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2335 (hypot_test_data): New variable.
2336 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2337 (nextafter_test_data): New variable.
2338 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2339 (nexttoward_test_data): New variable.
2340 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2341 (pow_test_data): New variable.
2342 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2343 (pow_tonearest_test_data): New variable.
2344 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2345 (pow_towardzero_test_data): New variable.
2346 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2347 (pow_downward_test_data): New variable.
2348 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2349 (pow_upward_test_data): New variable.
2350 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2351 (remainder_test_data): New variable.
2352 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2353 (scalb_test_data): New variable.
2354 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2355 * sysdeps/i386/fpu/libm-test-ulps: Update.
2357 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2359 * math/libm-test.inc (fma_test): Use max_value instead of local
2361 (nextafter_test): Likewise.
2363 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2364 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2365 (acos_downward_test_data): New variable.
2366 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2367 (acos_upward_test_data): New variable.
2368 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2369 (acosh_test_data): New variable.
2370 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2371 (asin_test_data): New variable.
2372 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2373 (asin_tonearest_test_data): New variable.
2374 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2375 (asin_towardzero_test_data): New variable.
2376 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2377 (asin_downward_test_data): New variable.
2378 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2379 (asin_upward_test_data): New variable.
2380 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2381 (asinh_test_data): New variable.
2382 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2383 (atan_test_data): New variable.
2384 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2385 (atanh_test_data): New variable.
2386 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2387 (cbrt_test_data): New variable.
2388 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2389 (ceil_test_data): New variable.
2390 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2391 (cos_test_data): New variable.
2392 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2393 (cos_tonearest_test_data): New variable.
2394 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2395 (cos_towardzero_test_data): New variable.
2396 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2397 (cos_downward_test_data): New variable.
2398 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2399 (cos_upward_test_data): New variable.
2400 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2401 (cosh_test_data): New variable.
2402 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2403 (cosh_tonearest_test_data): New variable.
2404 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2405 (cosh_towardzero_test_data): New variable.
2406 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2407 (cosh_downward_test_data): New variable.
2408 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2409 (cosh_upward_test_data): New variable.
2410 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2411 (erf_test_data): New variable.
2412 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2413 (erfc_test_data): New variable.
2414 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2415 (exp_test_data): New variable.
2416 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2417 (exp_tonearest_test_data): New variable.
2418 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2419 (exp_towardzero_test_data): New variable.
2420 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2421 (exp_downward_test_data): New variable.
2422 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2423 (exp_upward_test_data): New variable.
2424 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2425 (exp10_test_data): New variable.
2426 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2427 (exp2_test_data): New variable.
2428 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2429 (expm1_test_data): New variable.
2430 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2431 (fabs_test_data): New variable.
2432 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2433 (floor_test_data): New variable.
2434 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2435 (j0_test_data): New variable.
2436 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2437 (j1_test_data): New variable.
2438 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2439 (log_test_data): New variable.
2440 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2441 (log10_test_data): New variable.
2442 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2443 (log1p_test_data): New variable.
2444 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2445 (log2_test_data): New variable.
2446 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2447 (logb_test_data): New variable.
2448 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2449 (logb_downward_test_data): New variable.
2450 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2451 (nearbyint_test_data): New variable.
2452 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2453 (rint_test_data): New variable.
2454 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2455 (rint_tonearest_test_data): New variable.
2456 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2457 (rint_towardzero_test_data): New variable.
2458 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2459 (rint_downward_test_data): New variable.
2460 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2461 (rint_upward_test_data): New variable.
2462 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2463 (round_test_data): New variable.
2464 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2465 (sin_test_data): New variable.
2466 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2467 (sin_tonearest_test_data): New variable.
2468 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2469 (sin_towardzero_test_data): New variable.
2470 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2471 (sin_downward_test_data): New variable.
2472 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2473 (sin_upward_test_data): New variable.
2474 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2475 (sinh_test_data): New variable.
2476 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2477 (sinh_tonearest_test_data): New variable.
2478 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2479 (sinh_towardzero_test_data): New variable.
2480 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2481 (sinh_downward_test_data): New variable.
2482 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2483 (sinh_upward_test_data): New variable.
2484 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2485 (sqrt_test_data): New variable.
2486 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2487 (tan_test_data): New variable.
2488 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2489 (tan_tonearest_test_data): New variable.
2490 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2491 (tan_towardzero_test_data): New variable.
2492 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2493 (tan_downward_test_data): New variable.
2494 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2495 (tan_upward_test_data): New variable.
2496 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2497 (tanh_test_data): New variable.
2498 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2499 (tgamma_test_data): New variable.
2500 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2501 (trunc_test_data): New variable.
2502 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2503 (y0_test_data): New variable.
2504 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2505 (y1_test_data): New variable.
2506 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2507 (significand_test_data): New variable.
2508 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2510 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2513 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2515 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2517 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2519 2013-05-10 Andreas Jaeger <aj@suse.de>
2522 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2523 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2525 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2527 * math/gen-libm-test.pl (adjust_arg): New function.
2528 (special_functions): Handle generating output in both functions
2530 (parse_args): Likewise.
2531 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2532 $in_func argument to parse_args.
2533 * math/libm-test.inc (struct test_f_f_data): New type.
2534 (IF_ROUND_INIT_): New macro.
2535 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2536 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2537 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2538 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2539 (ROUND_RESTORE_): Likewise.
2540 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2541 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2542 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2543 (ROUND_RESTORE_FE_UPWARD): Likewise.
2544 (RUN_TEST_LOOP_f_f): New macro.
2545 (acos_test_data): New variable.
2546 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2547 (acos_tonearest_test_data): New variable.
2548 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2550 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2552 * benchtests/bench-skeleton.c (startup): Fix coding style.
2554 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2557 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2558 negative infinity argument.
2559 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2560 negative infinity argument.
2561 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2562 negative infinity argument.
2563 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2566 2013-05-10 Florian Weimer <fweimer@redhat.com>
2568 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2569 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2570 * iconv/iconv_prog.c (main): Likewise.
2571 * locale/programs/charmap-dir.c (charmap_readdir)
2572 (fopen_uncompressed): Likewise.
2573 * locale/programs/locfile.c (siblings_uncached)
2574 (write_locale_data): Use lstat64 instead of lstat.
2575 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2578 2013-05-10 Andreas Jaeger <aj@suse.de>
2581 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2585 2013-05-09 Carlos O'Donell <carlos@redhat.com>
2587 * elf/dl-close.c (_dl_close_worker): Add comments.
2589 2013-05-09 Joseph Myers <joseph@codesourcery.com>
2592 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2594 (__ieee754_rem_pio2l): Update comments.
2597 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2599 (__ieee754_rem_pio2l): Update comments.
2601 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2602 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2604 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2607 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2608 (M_PI_34_LOG10El): Likewise.
2609 (M_PI2_LOG10El): Likewise.
2610 (M_PI4_LOG10El): Likewise.
2611 (M_PI_LOG10El): Likewise.
2613 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2617 2013-05-08 Joseph Myers <joseph@codesourcery.com>
2619 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2620 (MINUS_ZERO_INIT): Likewise.
2621 (PLUS_INFTY_INIT): Likewise.
2622 (MINUS_INFTY_INIT): Likewise.
2623 (QNAN_VALUE_INIT): Likewise.
2624 (MAX_VALUE_INIT): Likewise.
2625 (MIN_VALUE_INIT): Likewise.
2626 (MIN_SUBNORM_VALUE_INIT): Likewise.
2627 (plus_zero): Initialize with PLUS_ZERO_INIT.
2628 (minus_zero): Initialize with MINUS_ZERO_INIT.
2629 (plus_infty): Initialize with PLUS_INFTY_INIT.
2630 (minus_infty): Initialize with MINUS_INFTY_INIT.
2631 (qnan_value): Initialize with QNAN_VALUE_INIT.
2632 (max_value): Initialize with MAX_VALUE_INIT.
2633 (min_value): Initialize with MIN_VALUE_INIT.
2634 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2636 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2637 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2638 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2639 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2641 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2642 (RUN_TEST_2_f): Likewise.
2643 (RUN_TEST_ff_f): Likewise.
2644 (RUN_TEST_fi_f): Likewise.
2645 (RUN_TEST_fl_f): Likewise.
2646 (RUN_TEST_fff_f): Likewise.
2647 (RUN_TEST_c_f): Likewise.
2648 (RUN_TEST_f_f1): Likewise.
2649 (RUN_TEST_fF_f1): Likewise.
2650 (RUN_TEST_fI_f1): Likewise.
2651 (RUN_TEST_ffI_f1): Likewise.
2652 (RUN_TEST_c_c): Likewise.
2653 (RUN_TEST_cc_c): Likewise.
2654 (RUN_TEST_f_i): Likewise.
2655 (RUN_TEST_f_i_tg): Likewise.
2656 (RUN_TEST_ff_i_tg): Likewise.
2657 (RUN_TEST_f_b): Likewise.
2658 (RUN_TEST_f_b_tg): Likewise.
2659 (RUN_TEST_f_l): Likewise.
2660 (RUN_TEST_f_L): Likewise.
2661 (RUN_TEST_sincos): Likewise.
2662 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2663 whether to show exceptions. Do not include ");\n" in return
2665 (special_functions): Output call to RUN_TEST_sincos instead of
2666 check_float calls. Update calls to new_test.
2667 (parse_args): Output call to single RUN_TEST_* macro instead of
2668 check_* calls and other assignments. Update calls to new_test.
2674 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2675 input to result for tgamma overflow.
2676 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2677 (gamma_coeff): New variable.
2678 (NCOEFF): New macro.
2679 (gamma_positive): New function.
2680 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2681 underflow here. Use gamma_positive instead of exp (lgamma) for
2683 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2684 (gamma_coeff): New variable.
2685 (NCOEFF): New macro.
2686 (gammaf_positive): New function.
2687 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2688 underflow here. Use gamma_positive instead of exp (lgamma) for
2690 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2691 (gamma_coeff): New variable.
2692 (NCOEFF): New macro.
2693 (gammal_positive): New function.
2694 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2695 underflow here. Use gamma_positive instead of exp (lgamma) for
2697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2698 (gamma_coeff): New variable.
2699 (NCOEFF): New macro.
2700 (gammal_positive): New function.
2701 (__ieee754_gammal_r): Handle positive infinity, overflow and
2702 underflow here. Handle NaN the same as positive infinity. Remove
2703 check x < 0xffffffff for negative integers. Use gamma_positive
2704 instead of exp (lgamma) for other arguments.
2705 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2706 (gamma_coeff): New variable.
2707 (NCOEFF): New macro.
2708 (gammal_positive): New function.
2709 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2710 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2711 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2714 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2715 * sysdeps/generic/math_private.h (__gamma_productf): New
2717 (__gamma_product): Likewise.
2718 (__gamma_productl): Likewise.
2719 * math/Makefile (libm-calls): Add gamma_product.
2720 * math/libm-test.inc (tgamma_test): Add more tests.
2721 * sysdeps/i386/fpu/libm-test-ulps: Update.
2722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2724 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2726 * benchtests/bench-skeleton.c (main): Preheat CPU.
2728 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2730 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2732 2013-05-07 Roland McGrath <roland@hack.frob.com>
2734 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2735 and _dl_skip_args_internal.
2737 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2739 * manual/message.texi (Message Translation): Talk about users.
2740 Message to key mapping impacts design.
2742 2013-05-06 Roland McGrath <roland@hack.frob.com>
2744 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2746 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2748 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2749 * sysdeps/wordsize-64/glob64.c: ... here.
2751 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2752 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2755 * debug/getlogin_r_chk.c: Moved to ...
2756 * login/getlogin_r_chk.c: ... here.
2757 * debug/Makefile (routines): Move getlogin_r_chk to ...
2758 * login/Makefile (routines): ... here.
2759 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2760 * login/Versions (libc: GLIBC_2.4): ... here.
2762 * io/poll.c (__poll): Renamed from poll.
2763 Add libc_hidden_def.
2764 (poll): Define as weak alias.
2766 * debug/ptsname_r_chk.c: Moved to ...
2767 * login/ptsname_r_chk.c: ... here.
2768 * debug/Makefile (routines): Move ptsname_r_chk to ...
2769 * login/Makefile (routines): ... here.
2770 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2771 * login/Versions (libc: GLIBC_2.4): ... here.
2773 * posix/getlogin.c: Moved to ...
2774 * login/getlogin.c: ... here.
2775 * posix/getlogin_r.c: Moved to ...
2776 * login/getlogin_r.c: ... here.
2777 * posix/getlogin_r.c: Moved to ...
2778 * login/getlogin_r.c: ... here.
2779 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2780 * login/Makefile (routines): ... here.
2781 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2782 * login/Versions (libc: GLIBC_2.0): ... here.
2784 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2785 (setrlimit): Define as weak alias.
2787 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2788 Call __ names for open, ftruncate, and close.
2789 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2790 (truncate): Define as weak alias.
2792 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2794 * math/gen-libm-test.pl (parse_args): Initialize x before each
2795 test of frexp, modf and remquo.
2797 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2800 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2804 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2806 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2808 2013-05-06 Roland McGrath <roland@hack.frob.com>
2810 * elf/dl-writev.h: New file.
2811 * elf/dl-misc.c: Include it.
2812 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2813 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2815 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2817 * math/libm-test.inc (noXFails): Remove variable.
2818 (noXPasses): Likewise.
2819 (BUILD_COMPLEX_INT): Remove macro.
2820 (print_screen): Remove xfail argument.
2821 (print_screen_max_error): Likewise.
2822 (update_stats): Likewise.
2823 (print_max_error): Likewise. Update calls to other affected
2825 (print_complex_max_error): Likewise.
2826 (test_single_exception): Update calls to print_screen.
2827 (test_single_errno): Likewise.
2828 (check_float_internal): Remove xfail argument. Update calls to
2829 other affected functions.
2830 (check_float): Likewise.
2831 (check_complex): Likewise.
2832 (check_int): Likewise.
2833 (check_long): Likewise.
2834 (check_bool): Likewise.
2835 (check_longlong): Likewise.
2836 (main): Don't print noXFails and noXPasses.
2837 * math/gen-libm-test.pl (top level): Don't mention expected
2838 failure handling in comment.
2839 (new_test): Don't handle expected failures.
2840 (parse_args): Don't mention expected failure handling in comment.
2841 (generate_testfile): Don't handle expected failures.
2842 (parse_ulps): Likewise.
2843 (print_ulps_file): Likewise.
2844 (get_failure): Remove function.
2845 (output_test): Don't handle expected failures.
2846 * make/README.libm-test: Don't mention expected failure handling.
2848 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2849 (minus_zero): Likewise.
2850 (plus_infty): Likewise.
2851 (minus_infty): Likewise.
2852 (qnan_value): Likewise.
2853 (max_value): Likewise.
2854 (min_value): Likewise.
2855 (min_subnorm_value): Likewise.
2856 (initialize): Do not initialize those variables dynamically.
2858 2013-05-03 Roland McGrath <roland@hack.frob.com>
2860 * io/open.c (__open_2): Moved to ...
2861 * io/open_2.c: ... this new file.
2862 * io/open64.c (__open64_2): Moved to ...
2863 * io/open64_2.c: ... this new file.
2864 * io/openat.c (__openat_2): Moved to ...
2865 * io/openat_2.c: ... this new file.
2866 * io/openat64.c (__openat64_2): Moved to ...
2867 * io/openat64_2.c: ... this new file.
2868 * io/Makefile (routines): Add them.
2869 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2870 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2871 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2872 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2873 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2874 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2875 (__openat64): Add hidden_ver.
2876 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2877 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2879 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2880 Separately conditionalize setting of GLRO(dl_sysinfo) so
2881 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2882 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2884 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2889 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2890 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2891 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2892 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2893 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2895 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2897 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2900 * math/libm-test.inc (hypot_test): Do not use
2901 IGNORE_ZERO_INF_SIGN.
2903 2013-05-03 Andreas Jaeger <aj@suse.de>
2905 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2907 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2908 (PF_MAX): Adjust for VSOCK change.
2910 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2914 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2917 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2918 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2919 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2921 2013-05-02 David S. Miller <davem@davemloft.net>
2923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2925 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2927 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2929 2013-05-01 Roland McGrath <roland@hack.frob.com>
2931 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2933 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2936 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2937 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2938 Use __attribute__ ((__gnu_inline__)).
2939 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2940 Don't use __attribute__ ((__gnu_inline__)).
2942 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2945 * math/s_catan.c (__catan): Handle small real or imaginary part of
2946 input specially to avoid spurious underflow.
2947 * math/s_catanf.c (__catanf): Likewise.
2948 * math/s_catanh.c (__catanh): Likewise.
2949 * math/s_catanhf.c (__catanhf): Likewise.
2950 * math/s_catanhl.c (__catanhl): Likewise.
2951 * math/s_catanl.c (__catanl): Likewise.
2952 * math/libm-test.inc (catan_test): Add more tests.
2953 (catanh_test): Likewise.
2954 * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2957 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2961 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2964 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2965 accurately for denominator in atan2.
2966 * math/s_catanf.c (__catanf): Likewise.
2967 * math/s_catanh.c (__catanh): Likewise.
2968 * math/s_catanhf.c (__catanhf): Likewise.
2969 * math/s_catanhl.c (__catanhl): Likewise.
2970 * math/s_catanl.c (__catanl): Likewise.
2971 * math/libm-test.inc (catan_test): Add more tests.
2972 (catanh_test): Likewise.
2973 * sysdeps/i386/fpu/libm-test-ulps: Update.
2974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2976 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2978 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2980 * benchtests/Makefile (bench): Remove slow benchmarks.
2981 * benchtests/atan-inputs: Add slow benchmark inputs.
2982 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2983 (BENCH_FUNC): Accept variant offset.
2985 * benchtests/bench-skeleton.c (main): Run benchmark for each
2987 * benchtests/cos-inputs: Add slow benchmark inputs.
2988 * benchtests/exp-inputs: Likewise.
2989 * benchtests/pow-inputs: Likewise.
2990 * benchtests/sin-inputs: Likewise.
2991 * benchtests/slowatan-inputs: Remove.
2992 * benchtests/slowatan.c: Remove.
2993 * benchtests/slowcos-inputs: Remove.
2994 * benchtests/slowcos.c: Remove.
2995 * benchtests/slowexp-inputs: Remove.
2996 * benchtests/slowexp.c: Remove.
2997 * benchtests/slowpow-inputs: Remove.
2998 * benchtests/slowpow.c: Remove.
2999 * benchtests/slowsin-inputs: Remove.
3000 * benchtests/slowsin.c: Remove.
3001 * benchtests/slowtan-inputs: Remove.
3002 * benchtests/slowtan.c: Remove.
3003 * benchtests/tan-inputs: Add slow benchmark inputs.
3004 * scripts/bench.pl: Parse comments and directives.
3006 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3008 ($(objpfx)bench-%.c): Remove *-ITER.
3009 * benchtests/bench-modf.c: Remove definition of ITER.
3010 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3011 (main): Loop for DURATION seconds instead of fixed number of
3013 * scripts/bench.pl: Don't expect iterations in parameters.
3015 2013-04-29 Roland McGrath <roland@hack.frob.com>
3017 * io/fchdir.c (__fchdir): Renamed from fchdir.
3018 (fchdir): Define as weak alias.
3020 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3022 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3023 (ERRNO_EDOM): Likewise.
3024 (ERRNO_ERANGE): Likewise.
3025 (noErrnoTests): New variable.
3026 (init_max_error): Set errno to 0.
3027 (test_single_errno): New function.
3028 (test_errno): Likewise.
3029 (check_float_internal): Call test_errno. Set errno to 0.
3030 (check_complex): Refer to errno tests in comment.
3031 (check_int): Call test_errno. Set errno to 0.
3032 (check_long): Likewise.
3033 (check_bool): Likewise.
3034 (check_longlong): Likewise.
3035 (cos_test): Use ERRNO_* flags for errno tests instead of
3037 (expm1_test): Likewise.
3038 (fmod_test): Likewise.
3039 (ilogb_test): Likewise.
3040 (lgamma_test): Likewise.
3041 (pow_test): Likewise.
3042 (remainder_test): Likewise.
3043 (sin_test): Likewise.
3044 (tan_test): Likewise.
3045 (yn_test): Likewise.
3046 (initialize): Set errno to 0.
3047 (main): Print number of errno tests.
3048 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3050 2013-04-29 Andreas Jaeger <aj@suse.de>
3053 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3057 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3058 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3062 * stdlib/random.c (__initstate): Return NULL if
3066 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3067 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3070 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3074 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3076 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3077 of individual tests.
3078 (casin_test): Likewise.
3079 (casinh_test): Likewise.
3081 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3084 * math/s_catan.c (__catan): Handle arguments with large real or
3085 imaginary part separately without squaring.
3086 * math/s_catanf.c (__catanf): Likewise.
3087 * math/s_catanh.c (__catanh): Likewise.
3088 * math/s_catanhf.c (__catanhf): Likewise.
3089 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3091 (__catanhl): Handle arguments with large real or imaginary part
3092 separately without squaring.
3093 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3095 (__catanl): Handle arguments with large real or imaginary part
3096 separately without squaring.
3097 * math/libm-test.inc (catan_test): Add more tests.
3098 (catanh_test): Likewise.
3099 * sysdeps/i386/fpu/libm-test-ulps: Update.
3100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3102 2013-04-27 Andreas Jaeger <aj@suse.de>
3105 * stdlib/stdlib.h: Update guards for qecvt.
3106 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3109 2013-04-27 Allan McRae <allan@archlinux.org>
3111 * sysdeps/i386/fpu/libm-test-ulps: Update.
3113 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3116 * math/s_catan.c: Include <float.h>.
3117 (__catan): Ensure underflow exception occurs for underflowed
3119 * math/s_catanf.c: Include <float.h>.
3120 (__catanf): Ensure underflow exception occurs for underflowed
3122 * math/s_catanh.c: Include <float.h>.
3123 (__catanh): Ensure underflow exception occurs for underflowed
3125 * math/s_catanhf.c: Include <float.h>.
3126 (__catanhf): Ensure underflow exception occurs for underflowed
3128 * math/s_catanhl.c: Include <float.h>.
3129 (__catanhl): Ensure underflow exception occurs for underflowed
3131 * math/s_catanl.c: Include <float.h>.
3132 (__catanl): Ensure underflow exception occurs for underflowed
3134 * math/libm-test.inc (catan_test): Add more tests.
3135 (catanh_test): Likewise.
3138 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3140 * math/s_ccoshf.c (__ccoshf): Likewise.
3141 * math/s_ccoshl.c (__ccoshl): Likewise.
3142 * math/s_csin.c (__csin): Likewise.
3143 * math/s_csinf.c (__csinf): Likewise.
3144 * math/s_csinh.c (__csinh): Likewise.
3145 * math/s_csinhf.c (__csinhf): Likewise.
3146 * math/s_csinhl.c (__csinhl): Likewise.
3147 * math/s_csinl.c (__csinl): Likewise.
3148 * math/libm-test.inc (ccos_test): Add more tests.
3149 (ccosh_test): Likewise.
3150 (csin_test): Likewise.
3151 (csinh_test): Likewise.
3153 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3156 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3157 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3158 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3159 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3160 powerpc/power5+/fpu folders.
3161 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3164 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3168 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3170 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3171 additions to variable.
3172 [$(config-machine) = x86_64] (modules-names): Likewise.
3173 ($(objpfx)tst-audit3): Remove dependency.
3174 ($(objpfx)tst-audit3.out): Likewise.
3175 ($(objpfx)tst-audit4): Likewise.
3176 ($(objpfx)tst-audit4.out): Likewise.
3177 ($(objpfx)tst-audit5): Likewise.
3178 ($(objpfx)tst-audit5.out): Likewise.
3179 ($(objpfx)tst-audit6): Likewise.
3180 ($(objpfx)tst-audit6.out): Likewise.
3181 ($(objpfx)tst-audit7): Likewise.
3182 ($(objpfx)tst-audit7.out): Likewise.
3183 (tst-audit3-ENV): Remove variable.
3184 (tst-audit4-ENV): Likewise.
3185 (tst-audit5-ENV): Likewise.
3186 (tst-audit6-ENV): Likewise.
3187 (tst-audit7-ENV): Likewise.
3188 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3189 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3190 addition to variable.
3191 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3192 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3193 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3194 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3195 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3196 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3197 tst-audit3, tst-audit4 and tst-audit5.
3198 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3199 tst-audit6 and tst-audit7.
3200 [$(subdir) = elf] (modules-names): Add audit modules for those
3202 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3203 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3204 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3205 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3206 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3207 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3208 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3209 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3210 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3211 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3212 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3213 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3214 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3215 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3216 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3217 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3219 [$(subdir) = elf && $(config-cflags-avx) = yes]
3220 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3221 [$(subdir) = elf && $(config-cflags-avx) = yes]
3222 (CFLAGS-tst-auditmod4a.c): Likewise.
3223 [$(subdir) = elf && $(config-cflags-avx) = yes]
3224 (CFLAGS-tst-auditmod4b.c): Likewise.
3225 [$(subdir) = elf && $(config-cflags-avx) = yes]
3226 (CFLAGS-tst-auditmod6b.c): Likewise.
3227 [$(subdir) = elf && $(config-cflags-avx) = yes]
3228 (CFLAGS-tst-auditmod6c.c): Likewise.
3229 [$(subdir) = elf && $(config-cflags-avx) = yes]
3230 (CFLAGS-tst-auditmod7b.c): Likewise.
3231 * elf/tst-audit3.c: Move to ...
3232 * sysdeps/x86_64/tst-audit3.c: ... here.
3233 * elf/tst-audit4.c: Move to ...
3234 * sysdeps/x86_64/tst-audit4.c: ... here.
3235 * elf/tst-audit5.c: Move to ...
3236 * sysdeps/x86_64/tst-audit5.c: ... here.
3237 * elf/tst-audit6.c: Move to ...
3238 * sysdeps/x86_64/tst-audit6.c: ... here.
3239 * elf/tst-audit7.c: Move to ...
3240 * sysdeps/x86_64/tst-audit7.c: ... here.
3241 * elf/tst-auditmod3a.c: Move to ...
3242 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3243 * elf/tst-auditmod3b.c: Move to ...
3244 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3245 * elf/tst-auditmod4a.c: Move to ...
3246 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3247 * elf/tst-auditmod4b.c: Move to ...
3248 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3249 * elf/tst-auditmod5a.c: Move to ...
3250 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3251 * elf/tst-auditmod5b.c: Move to ...
3252 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3253 * elf/tst-auditmod6a.c: Move to ...
3254 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3255 * elf/tst-auditmod6b.c: Move to ...
3256 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3257 * elf/tst-auditmod6c.c: Move to ...
3258 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3259 * elf/tst-auditmod7a.c: Move to ...
3260 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3261 * elf/tst-auditmod7b.c: Move to ...
3262 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3264 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3267 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3268 define unconditionally.
3269 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3270 define unconditionally.
3271 (INT8_C, INT16_C, etc.): Likewise.
3273 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3275 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3276 __ehdr_start with hidden visibility.
3278 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3280 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3282 * math/libm-test.inc (cos_test): Use accurate hex constants.
3283 (sincost_test): Likewise.
3285 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3287 * math/libm-test.inc (catan_test): Add more tests.
3288 (catanh_test): Likewise.
3290 * math/s_catanf.c (__catanf): Use suffixed floating-point
3292 * math/s_catanhf.c (__catanhf): Likewise.
3293 * math/s_catanhl.c (__catanhl): Likewise.
3294 * math/s_catanl.c (__catanl): Likewise.
3297 * math/s_catan.c (__catan): Calculate imaginary part of result
3298 with log1p not log unless computing log of number close to 0.
3299 * math/s_catanf.c (__catanf): Likewise.
3300 * math/s_catanl.c (__catanl): Likewise.
3301 * math/s_catanh.c (__catanh): Calculate real part of result with
3302 log1p not log unless computing log of number close to 0.
3303 * math/s_catanhf.c (__catanhf): Likewise.
3304 * math/s_catanhl.c (__catanhl): Likewise.
3305 * math/libm-test.inc (catan_test): Add more tests.
3306 (catanh_test): Likewise.
3307 * sysdeps/i386/fpu/libm-test-ulps: Update.
3308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3310 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3312 * benchtests/Makefile: Mention files in which fast and slow
3313 paths of math functions are implemented.
3315 2013-04-23 Roland McGrath <roland@hack.frob.com>
3317 * sysdeps/posix/timespec_get.c: New file.
3319 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3321 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3323 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3325 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3326 powerpc/power5/fpu folders.
3327 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3328 * benchtests/Makefile: Add modf testcase.
3329 * benchtests/bench-modf.c: New file: Benchmark test for mo
3331 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3334 * time/Makefile (tests): Add tst-strptime-whitespace.
3335 * time/strptime_l.c (get_number): Use ISSPACE.
3336 (__strptime_internal): Likewise.
3337 * time/tst-strptime-whitespace.c: New test case.
3339 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3341 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3343 (_nss_files_init): Set it here.
3345 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3347 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3348 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3351 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3353 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3355 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3360 2013-04-21 David S. Miller <davem@davemloft.net>
3362 * po/ru.po: Update Russion translation from translation project.
3364 2013-04-17 Adam Conrad <adconrad@0c3.net>
3366 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3369 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3371 * configure.in: Remove i386 configure warning. Remove i386 case.
3372 * configure: Regenerate.
3373 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3374 Add example to error message.
3375 * sysdeps/i386/configure: Regenerate.
3377 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3381 * benchtests/cos-inputs: New file.
3382 * benchtests/slowcos-inputs: New file.
3383 * benchtests/slowcos.c: New file.
3384 * benchtests/slowtan-inputs: New file.
3385 * benchtests/slowtan.c: New file.
3386 * benchtests/tan-inputs: New file.
3388 2013-04-16 Roland McGrath <roland@hack.frob.com>
3390 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3393 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3395 * benchtests/Makefile: Include cppflags-iterator.mk to add
3396 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3398 * Makefile.in (bench-clean): New target.
3399 * benchtests/Makefile (bench-clean): Likewise.
3401 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3403 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3405 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3407 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3409 2013-04-15 Andreas Schwab <schwab@suse.de>
3411 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3413 * nscd/pwdcache.c (cache_addpw): Likewise.
3414 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3417 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3419 * benchtests/Makefile (bench): Write all output to
3420 bench-out.tmp together.
3422 2013-04-15 Andreas Schwab <schwab@suse.de>
3424 * nscd/nscd.c (main): Don't fork again after closing files.
3426 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3430 * benchtests/Rules (bench-deps): Collect dependencies into a
3431 single variable. Add Makefile to dependencies.
3432 ($(objpfx)bench-%.c): Depend on bench-deps.
3434 2013-04-12 Roland McGrath <roland@hack.frob.com>
3435 Xavier Roche <roche+kml2@exalead.com>
3438 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3439 just that it's a file descriptor.
3440 * manual/llio.texi (Synchronizing AIO Operations): Update description
3441 for EBADF error from aio_fsync.
3443 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3445 * Rules (bench): Move target definition...
3446 * benchtests/Makefile: ... here.
3448 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3450 * math/libm-test.inc (cos_test): Fix PI/2 test.
3451 (sincos_test): Likewise.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3453 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3455 2013-04-11 Andreas Schwab <schwab@suse.de>
3458 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3459 accept exponent character only when digits were seen.
3460 * stdio-common/Makefile (tests): Add bug26.
3461 * stdio-common/bug26.c: New file.
3464 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3467 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3469 * Makeconfig (rtld-prefix): Define built linker prefix.
3470 * Rules (run-bench): Use it.
3471 * math/Makefile (run-regen-ulps): Likewise.
3473 * Rules (bench): Remove eval.
3475 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3476 Roland McGrath <roland@hack.frob.com>
3477 Ondrej Bilka <neleai@seznam.cz>
3480 * time/getdate.c: Include ctype.h and alloca.h.
3481 (__getdate_r): Trim leading and trailing spaces of input.
3482 * time/tst-getdate.c (tests): Add tests with leading and
3485 2013-04-08 Roland McGrath <roland@hack.frob.com>
3488 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3489 when computing value.
3491 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3493 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3494 Use testrun.sh to run libm tests.
3497 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3499 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3502 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3504 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3506 * Makefile.in (regen-ulps): New target.
3507 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3508 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3509 [ifneq (no,$(PERL)] (regen-ulps): New target.
3510 [ifeq (no,$(PERL)] (regen-ulps): New target.
3511 * math/libm-test.inc (ulps_file_name): Define.
3512 (output_dir): New variable.
3513 (options): Add "output-dir" option.
3514 (parse_opt): Handle 'o' case.
3515 (main): If output_dir is non-NULL use it as a prefix
3517 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3519 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3522 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3523 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3524 fail configure if __sync_val_compare_and_swap is not inlined.
3525 * sysdeps/i386/configure: Regenerate.
3526 * configure.in: Build for i686 when configured for i386.
3527 * configure: Regenerate.
3528 * README: Remove i386 reference.
3530 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3532 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3533 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3535 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3537 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3538 (lmsnanval): New variables.
3539 (F): Add conversion tests.
3540 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3541 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3543 * stdio-common/tstdiomisc.c (F): Properly collect individual
3547 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3548 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3549 Instead, use input NaN values or generate a qNaN by arithmetic
3550 operation. Also fix bugs to comply with the standard.
3551 * math/libm-test.inc (remainder_test): Add more tests.
3554 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3556 input NaN values or generate a qNaN by arithmetic operation.
3558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3561 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3564 2013-04-03 Joseph Myers <joseph@codesourcery.com>
3567 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3569 * math/s_cexpf.c (__cexpf): Likewise.
3570 * math/s_cexpl.c (__cexpl): Likewise.
3571 * math/libm-test.inc (cexp_test): Add more tests.
3573 2013-04-03 Andreas Schwab <schwab@suse.de>
3576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3577 order arrays from heap if bigger than alloca cutoff.
3579 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3581 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3582 (SNAN_TESTS_double): Refer to GCC PR56831.
3583 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3586 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3588 * Rules (bench): Move bench.out after the run is complete.
3590 * Rules (bench): Echo currently running benchmark.
3592 * benchtests/Makefile (bench): Add atan and slowatan.
3593 * benchtests/atan-inputs: New file.
3594 * benchtests/slowatan-inputs: New file.
3595 * benchtests/slowatan.c: New file.
3597 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3602 * sysdeps/unix/sysv/linux/kernel-features.h
3603 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3604 __ASSUME_XFS_RESTRICTED_CHOWN.
3605 * sysdeps/unix/sysv/linux/pathconf.c
3606 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3607 Save and restore errno.
3609 2013-04-02 Joseph Myers <joseph@codesourcery.com>
3612 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3613 arguments using __kernel_casinh.
3614 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3615 arguments using __kernel_casinhf.
3616 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3617 arguments using __kernel_casinhl.
3618 * math/libm-test.inc (cacosh_test): Add more tests.
3619 * sysdeps/i386/fpu/libm-test-ulps: Update.
3620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3622 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3624 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3627 * bench/Makefile (bench): Add sin and slowsin.
3628 * benchtests/sin-inputs: New file.
3629 * benchtests/slowsin-inputs: New file.
3630 * benchtests/slowsin.c: New file.
3632 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3633 (bench): Add slowexp and slowpow.
3634 (exp-ITER): Increase iterations.
3635 (pow-ITER): Likewise.
3636 * benchtests/exp-inputs: Change input.
3637 * benchtests/pow-inputs: Likewise.
3638 * benchtests/slowexp-inputs: New file.
3639 * benchtests/slowexp.c: New file.
3640 * benchtests/slowpow-inputs: New file.
3641 * benchtests/slowpow.c: New file.
3643 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3645 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3647 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3648 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3649 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3650 * benchtests/Makefile: Add rint benchtest.
3651 * benchtests/rint-inputs: Input for rint benchtest.
3653 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3655 * Versions.def (libm): Add GLIBC_2.18.
3656 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3657 hidden libm prototypes.
3658 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3659 * math/Makefile (libm-calls): Add s_issignaling.
3660 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3661 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3662 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3664 * math/math.h [__USE_GNU] (issignaling): New macro.
3665 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3666 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3668 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3671 * manual/arith.texi (issignaling): New section.
3672 * manual/libm-err-tab.pl (@all_functions): Update comment.
3673 * math/gen-libm-test.pl (parse_args): Apply special handling for
3675 * math/libm-test.inc (print_float, issignaling_test): New
3677 (check_float_internal): Add issignaling checks.
3678 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3680 * sysdeps/powerpc/math-tests.h: New file.
3681 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3683 * math/test-snan.c (TEST_FUNC): Likewise.
3685 2013-03-30 David S. Miller <davem@davemloft.net>
3687 * po/de.po: Update from translation team.
3689 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3692 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3693 imaginary part less than 1.0 and real part less than 0.5
3695 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3696 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3697 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3698 (cacos_test): Add more tests.
3699 (casin_test): Likewise.
3700 (casinh_test): Likewise.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3704 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3706 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3709 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3710 (__pow_mp): Replace ONE and MONE with their values.
3711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3712 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3713 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3714 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3715 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3716 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3718 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3720 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3721 (__pow_mp): Replace ZERO and MZERO with their values.
3722 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3723 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3724 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3726 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3727 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3730 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3732 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3734 2013-03-28 Roland McGrath <roland@hack.frob.com>
3736 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3737 Declare with __attribute__ ((weak)).
3738 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3739 Call __call_tls_dtors only if it's not NULL.
3741 2013-03-28 Roland McGrath <roland@hack.frob.com>
3743 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3744 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3745 magic __ehdr_start linker symbol if it's defined.
3746 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3747 them up here if it was already done.
3749 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3750 (_dl_aux_init): Use const in cast when setting it.
3751 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3752 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3753 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3755 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3757 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3758 * csu/libc-tls.c: Nor here.
3759 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3761 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3762 (__libc_message): Never call vsyslog.
3764 2013-03-28 Alan Modra <amodra@gmail.com>
3766 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3768 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3771 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3778 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3781 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3782 Don't add gid passed as argument.
3784 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3786 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3789 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3790 imaginary part between 1.0 and 1.5 and real part less than 0.5
3792 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3793 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3794 * math/libm-test.inc (cacos_test): Add more tests.
3795 (casin_test): Likewise.
3796 (casinh_test): Likewise.
3797 * sysdeps/i386/fpu/libm-test-ulps: Update.
3798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3806 (__dbl_mp): Likewise.
3807 (add_magnitudes): Likewise.
3808 (sub_magnitudes): Likewise.
3816 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3818 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3819 (__dubcos): Likewise.
3820 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3821 (__ieee754_acos): Likewise.
3822 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3823 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3825 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3828 (my_log2): Likewise.
3829 (checkint): Likewise.
3830 * sysdeps/ieee754/dbl-64/e_remainder.c
3831 (__ieee754_remainder): Likewise.
3832 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3835 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3837 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3838 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3839 MANTISSA_STORE_T to store computations on mantissa. Use
3840 macros for rounding and division.
3842 (__dbl_mp): Likewise.
3843 (add_magnitudes): Likewise.
3844 (sub_magnitudes): Likewise.
3847 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3848 powers of two in terms of TWOPOW macro.
3849 (mp_no): Make type of mantissa as MANTISSA_T.
3850 [!RADIXI]: Define RADIXI.
3851 [!TWO52]: Define TWO52.
3852 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3854 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3857 llroundl symbol when building for PPC32.
3859 2013-03-24 Mark H Weaver <mhw@netris.org>
3861 * manual/arith.texi (Normalization Functions): Fix prototypes for
3862 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3864 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3868 high value to check if expl overflow.
3869 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3870 to check for underflow and overflow.
3871 * math/libm-test.inc: Add exp test.
3873 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3876 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3879 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3881 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3884 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3886 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3887 wrap blocks consisting of several statements.
3889 * sysdeps/generic/math-tests.h: New file.
3890 * sysdeps/i386/fpu/math-tests.h: Likewise.
3891 * math/test-snan.c: Include it.
3892 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3894 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3897 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3898 (__ieee754_j0l): Do not improve calculations using cos of twice
3899 input for inputs above LDBL_MAX / 2.0L.
3900 (__ieee754_y0l): Likewise.
3901 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3902 (__ieee754_j1l): Do not improve calculations using cos of twice
3903 input for inputs above LDBL_MAX / 2.0L.
3904 (__ieee754_y1l): Likewise.
3905 * math/libm-test.inc (j0_test): Add another test.
3906 (j1_test): Likewise.
3907 (y0_test): Likewise.
3908 (y1_test): Likewise.
3909 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3913 * Rules ($(objpfx)bench-%.c): Include code from a C source
3916 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3919 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3920 imaginary part 1.0 and real part less than 0.5 specially.
3921 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3922 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3923 * math/libm-test.inc (cacos_test): Add more tests.
3924 (casin_test): Likewise.
3925 (casinh_test): Likewise.
3926 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3929 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3931 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3932 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3934 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3936 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3937 * config.make.in (config-cflags-sse4): Remove variable.
3938 (config-cflags-avx): Likewise.
3939 (config-cflags-sse2avx): Likewise.
3940 (config-cflags-novzeroupper): Likewise.
3941 (config-asflags-i686): Likewise.
3942 (have-mfma4): Likewise.
3943 (have-as-vis3): Likewise.
3945 * configure.in (MIG): Do not AC_SUBST.
3946 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3947 (libc_cv_cc_sse4): Do not AC_SUBST.
3948 (libc_cv_cc_avx): Likewise.
3949 (libc_cv_cc_sse2avx): Likewise.
3950 (libc_cv_cc_novzeroupper): Likewise.
3951 (libc_cv_cc_fma4): Likewise.
3952 (libc_cv_as_i686): Likewise.
3953 (libc_cv_sparc_as_vis3): Likewise.
3954 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3956 (config-asflags-i686): Likewise.
3957 (config-cflags-avx): Likewise.
3958 (config-cflags-sse2avx): Likewise.
3959 (have-mfma4): Likewise.
3960 (config-cflags-novzeroupper): Likewise.
3961 * sysdeps/mach/configure.in (MIG): Likewise.
3962 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3963 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3965 (config-cflags-avx): Likewise.
3966 (config-cflags-sse2avx): Likewise.
3967 (have-mfma4): Likewise.
3968 (config-cflags-novzeroupper): Likewise.
3969 * configure: Regenerated.
3970 * sysdeps/i386/configure: Likewise.
3971 * sysdeps/mach/configure: Likewise.
3972 * sysdeps/sparc/configure: Likewise.
3973 * sysdeps/x86_64/configure: Likewise.
3975 2013-03-20 Roland McGrath <roland@hack.frob.com>
3978 * locale/programs/localedef.c (options): Put N_ translation marker
3979 on argument names, not just descriptions.
3981 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3983 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3985 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
3988 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3990 2013-03-19 Roland McGrath <roland@hack.frob.com>
3992 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3993 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3994 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3995 [!BEFORE_ABORT] (before_abort): New function.
3996 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3997 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3998 (writev_for_fatal): New function.
3999 (WRITEV_FOR_FATAL): New macro; call that.
4000 (backtrace_and_maps): New function.
4001 (BEFORE_ABORT): New macro; call that.
4002 (struct str_list): Type removed.
4003 (__libc_message, __libc_fatal): Functions removed.
4004 Include <sysdeps/posix/libc_fatal.c> instead.
4006 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4008 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4010 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4013 2013-03-19 Andreas Schwab <schwab@suse.de>
4015 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4016 * sysdeps/gnu/configure: Regenerate.
4018 * configure.in: Substitute libc_cv_rtlddir.
4019 * configure: Regenerate.
4020 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4021 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4022 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4023 * elf/Makefile (install-others, CFLAGS-interp.c)
4024 (ldso_install, common-ldd-rewrite): Likewise.
4025 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4026 $(inst_slibdir)/$(rtld-installed-name).
4027 * scripts/rellns-sh: Add -p option.
4028 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4031 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4033 * manual/nptl.texi: Renamed to ...
4034 * manual/threads.texi: ... this.
4035 * manual/Makefile (chapters): Update.
4037 2013-03-18 Roland McGrath <roland@hack.frob.com>
4040 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4041 on argument names, not just descriptions.
4042 * malloc/memusagestat.c (options): Likewise.
4043 * nss/getent.c (options): Likewise.
4045 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4048 * iconv/iconv_prog.c (options): Put N_ translation marker
4049 on argument names, not just descriptions.
4050 * iconv/iconvconfig.c (options): Likewise.
4052 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4054 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4055 implementation which is faster on all x86_64 architectures.
4056 Tested on AMD, Intel Nehalem, SNB, IVB.
4057 * sysdeps/x86_64/strnlen.S: Likewise.
4059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4060 Remove all multiarch strlen and strnlen versions.
4061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4062 Remove strlen and strnlen related parts.
4064 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4066 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4068 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4069 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4070 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4071 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4072 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4073 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4075 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4077 * manual/memory.texi (Malloc Tunable Parameters):
4078 Sort parameters alphabetically. Add comments for missing entries.
4080 2013-03-17 David S. Miller <davem@davemloft.net>
4082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4084 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4087 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4088 for arguments at most half maximum finite value.
4089 * math/libm-test.inc (j0_test): Add more tests.
4090 (j1_test): Likewise.
4091 (y0_test): Likewise.
4092 (y1_test): Likewise.
4093 * sysdeps/i386/fpu/libm-test-ulps: Update.
4094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4097 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4098 1 / x and functions P and Q for arguments above 0x1p256L.
4099 (__ieee754_y0l): Likewise.
4100 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4101 (__ieee754_y1l): Likewise.
4102 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4103 (j1_test): Likewise.
4104 (y0_test): Likewise.
4105 (y1_test): Likewise.
4107 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4109 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4112 2013-03-15 Roland McGrath <roland@hack.frob.com>
4114 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4115 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4116 zero since it's initialized to EXEC_PAGESIZE.
4118 * sysdeps/unix/sysv/linux/ldsodefs.h
4119 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4120 * sysdeps/generic/ldsodefs.h: ... here.
4122 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4124 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4126 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4128 * math/test-snan.c: Renamed from
4129 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4130 * math/Makefile (tests): Add test-snan.
4131 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4134 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4135 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4137 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4138 __builtin_nan family of functions.
4139 * math/libm-test.inc (initialize): Initialize qnan_value with
4140 __builtin_nan family of functions.
4141 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4143 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4145 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4146 storage class. Initialize qNaN_var and sNaN_var with
4147 __builtin_nan and __builtin_nans families of functions,
4150 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4151 (sqrt_test): Remove duplicate test with qNaN input.
4152 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4153 (round_test, signbit_test, significand_test): Note missing +/-Inf
4154 as well as qNaN tests.
4156 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4157 qNaN_var. Fix a few strings, too.
4158 * math/libm-test.inc (nan_value): Rename to qnan_value.
4159 * math/gen-libm-test.pl (%beautify): Adjust to that.
4160 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4161 * math/test-misc.c (main): Likewise.
4162 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4163 to __qnan_bytes, and __qnan_union, respectively.
4164 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4166 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4167 and lqnanval, respectively.
4168 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4169 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4170 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4171 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4173 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4174 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4177 * math/test-misc.c (main): Fix copy'n'pastos.
4178 * misc/tst-efgcvt.c (special): Likewise.
4180 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4181 Remove declarations.
4183 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4185 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4186 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4187 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4188 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4190 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4193 macro to return vdso values correctly in IFUNC implementations.
4194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4195 Optimization by using IFUNC.
4197 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4198 Richard Henderson <rth@redhat.com>
4199 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4201 * Makefile.in (bench): New target.
4202 * NEWS: Mention the benchmark framework.
4203 * Rules (bench): Likewise.
4204 (binaries-bench): Generate binaries for functions to
4206 * benchtests/Makefile: New makefile for benchmark tests.
4207 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4209 * benchtests/exp-inputs: New input file for EXP function.
4210 * benchtests/pow-inputs: New input file for POW function.
4211 * scripts/bench.pl: New script to generate source files for
4214 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4216 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4217 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4218 computations on mantissa. Use macros for rounding and
4221 (__dbl_mp): Likewise.
4222 (add_magnitudes): Likewise.
4223 (sub_magnitudes): Likewise.
4226 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4227 powers of two in terms of TWOPOW macro.
4228 (mp_no): Make type of mantissa as MANTISSA_T.
4229 [!RADIXI]: Define RADIXI.
4230 [!TWO52]: Define TWO52.
4231 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4233 * manual/nptl.texi (cindex): Modify threads to pthreads.
4235 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4237 * sysdeps/x86_64/preconfigure: Regenerated.
4239 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4242 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4244 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4245 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4247 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4248 * math/libm-test.inc (j0_test): Do not allow one spurious
4249 underflow exception.
4250 (y1_test): Likewise.
4252 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4254 * manual/Makefile (chapters): Add nptl.
4255 * manual/debug.texi (Debugging Support): Add link to Threads
4257 * manual/nptl.texi: New file.
4259 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4261 2013-03-14 Petr Baudis <pasky@ucw.cz>
4263 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4264 for non-NULL pointer before the memory validity test. Pointed
4265 out by Holger Brunck <holger.brunck@keymile.com>.
4267 2013-03-13 Andreas Schwab <schwab@suse.de>
4269 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4272 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4274 * timezone/zic.c: Update from tzcode 2013b.
4276 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4278 * manual/install.texi (Configuring and compiling):
4279 Mention i686 and i586.
4280 * INSTALL: Regenerate.
4282 2013-03-12 Roland McGrath <roland@hack.frob.com>
4284 * sysdeps/init_array/elf-init.c: New file.
4286 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4287 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4289 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4290 __gmon_start__ as global, but as static with a .preinit_array pointer.
4291 * sysdeps/init_array/gmon-start.c: New file. Use that.
4292 * sysdeps/init_array/crti.S: New file, empty except for comments.
4293 * sysdeps/init_array/crtn.S: Likewise.
4295 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4297 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4300 Remove Prefer_SSE_for_memop.
4301 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4302 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4303 HAS_PREFER_SSE_FOR_MEMOP.
4304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4307 Remove bzero, memset ifunc support.
4308 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4309 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4310 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4311 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4313 2013-03-11 Andreas Schwab <schwab@suse.de>
4316 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4319 (GLIBC_2.16): Remove pthread_atfork.
4321 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4323 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4324 (ptestcases.h): Likewise.
4326 2013-03-08 Roland McGrath <roland@hack.frob.com>
4328 * Makeconfig ($(common-objpfx)config.status): Depend on
4329 sysdeps/*/preconfigure{,.in} too.
4331 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4333 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4334 (__free_hook): Use void * instead of __malloc_ptr_t.
4335 (__malloc_hook): Likewise.
4336 (__realloc_hook): Likewise.
4337 (__memalign_hook): Likewise.
4338 (__after_morecore_hook): Likewise.
4339 * malloc/arena.c (save_malloc_hook): Likewise.
4340 (save_free_hook): Likewise.
4341 * malloc/hooks.c (malloc_hook_ini): Likewise.
4342 (realloc_hook_ini): Likewise.
4343 (memalign_hook_ini): Likewise.
4344 * malloc/malloc.c (malloc_hook_ini): Likewise.
4345 (realloc_hook_ini): Likewise.
4346 (memalign_hook_ini): Likewise.
4347 (__free_hook): Likewise.
4348 (__malloc_hook): Likewise.
4349 (__realloc_hook): Likewise.
4350 (__memalign_hook): Likewise.
4351 (__libc_malloc): Likewise.
4352 (__libc_free): Likewise.
4353 (__libc_realloc): Likewise.
4354 (__libc_memalign): Likewise.
4355 (__libc_valloc): Likewise.
4356 (__libc_pvalloc): Likewise.
4357 (__libc_calloc): Likewise.
4358 (__posix_memalign): Likewise.
4359 * malloc/morecore.c (__sbrk): Likewise.
4360 (__default_morecore): Likewise.
4362 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4364 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4365 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4368 * malloc/malloc.h (__malloc_size_t): Remove macro.
4369 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4371 (old_memalign_hook): Likewise.
4372 (old_realloc_hook): Likewise.
4373 (struct hdr): Likewise.
4375 (mallochook): Likewise.
4376 (memalignhook): Likewise.
4377 (reallochook): Likewise.
4378 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4379 (tr_old_realloc_hook): Likewise.
4380 (tr_old_memalign_hook): Likewise.
4381 (tr_mallochook): Likewise.
4382 (tr_reallochook): Likewise.
4383 (tr_memalignhook): Likewise.
4385 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4387 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4388 default_ldbl_pack and using as default implementation.
4389 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4391 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4392 redundant definition.
4393 (ldbl_insert_mantissa): Likewise.
4394 (ldbl_canonicalize): Likewise.
4395 (ldbl_nearbyint): Likewise.
4396 (ldbl_pack): Rename to ldbl_pack_ppc.
4397 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4398 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4399 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4401 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4404 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4405 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4406 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4408 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4409 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4410 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4412 2013-03-07 Andreas Jaeger <aj@suse.de>
4414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4417 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4419 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4420 Include mpa.h and declare __MPEXP.
4421 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4422 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4423 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4425 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4426 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4427 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4429 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4430 (__slowpow): Use long double EXPL and LOGL functions to
4432 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4433 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4434 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4436 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4437 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4440 intermediate variable to calculate exponent.
4442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4446 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4447 [!NO__SQR]: Define __sqr.
4448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4449 and NO__SQR. Remove all code except __mul and __sqr. Include
4450 sysdeps/ieee754/dbl-64/mpa.c.
4451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4454 * posix/Makefile (tests): Add tst-pathconf.
4455 * posix/tst-pathconf.c: New test case.
4456 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4458 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4460 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4462 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4464 2013-03-06 Andreas Jaeger <aj@suse.de>
4466 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4467 definition via __MAP_ANONYMOUS.
4469 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4470 it's not part of Linux headers.
4472 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4473 (MAP_HUGE_MASK): Define.
4475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4477 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4480 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4481 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4483 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4486 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4488 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4489 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4490 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4491 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4492 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4498 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4499 Handle f2fs and efivarfs.
4501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4504 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4505 (EFIVARFS_MAGIC): Add.
4506 (F2FS_LINK_MAX): Add.
4508 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4510 * stdio-common/vfprintf.c: Replace __builtin_expect with
4513 2013-03-06 Joseph Myers <joseph@codesourcery.com>
4516 * sysdeps/generic/bp-sym.h: Remove file.
4517 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4518 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4519 <bp-sym.h> and <bp-asm.h>.
4520 (__longjmp): Don't use BP_SYM.
4521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4523 (memcpy): Don't use BP_SYM.
4524 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4525 <bp-sym.h> and <bp-asm.h>.
4526 (memcpy): Don't use BP_SYM.
4527 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4529 (memcpy): Don't use BP_SYM.
4530 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4532 (memset): Don't use BP_SYM.
4533 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4534 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4535 (__bzero): Don't use BP_SYM.
4536 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4537 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4538 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4539 <bp-sym.h> and <bp-asm.h>.
4540 (memcmp): Don't use BP_SYM. Remove comment about bounded
4542 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4543 <bp-sym.h> and <bp-asm.h>.
4544 (memcpy): Don't use BP_SYM.
4545 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4546 <bp-sym.h> and <bp-asm.h>.
4547 (memset): Don't use BP_SYM.
4548 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4549 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4550 (__bzero): Don't use BP_SYM.
4551 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4552 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4553 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4554 <bp-sym.h> and <bp-asm.h>.
4555 (strncmp): Don't use BP_SYM. Remove comment about bounded
4557 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4558 <bp-sym.h> and <bp-asm.h>.
4559 (memcpy): Don't use BP_SYM.
4560 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4561 <bp-sym.h> and <bp-asm.h>.
4562 (memset): Don't use BP_SYM.
4563 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4564 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4565 (__bzero): Don't use BP_SYM.
4566 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4567 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4568 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4569 <bp-sym.h> and <bp-asm.h>.
4570 (__memchr): Don't use BP_SYM.
4571 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4572 <bp-sym.h> and <bp-asm.h>.
4573 (memcmp): Don't use BP_SYM. Remove comment about bounded
4575 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4576 <bp-sym.h> and <bp-asm.h>.
4577 (memcpy): Don't use BP_SYM.
4578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4579 <bp-sym.h> and <bp-asm.h>.
4580 (__mempcpy): Don't use BP_SYM.
4581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4582 <bp-sym.h> and <bp-asm.h>.
4583 (__memrchr): Don't use BP_SYM.
4584 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4585 <bp-sym.h> and <bp-asm.h>.
4586 (memset): Don't use BP_SYM.
4587 (__bzero): Likewise.
4588 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4589 <bp-sym.h> and <bp-asm.h>.
4590 (__rawmemchr): Don't use BP_SYM.
4591 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4592 <bp-sym.h> and <bp-asm.h>.
4593 (__STRCMP): Don't use BP_SYM.
4594 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4595 <bp-sym.h> and <bp-asm.h>.
4596 (strchr): Don't use BP_SYM.
4597 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4598 <bp-sym.h> and <bp-asm.h>.
4599 (__strchrnul): Don't use BP_SYM.
4600 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4601 <bp-sym.h> and <bp-asm.h>.
4602 (strlen): Don't use BP_SYM.
4603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4604 <bp-sym.h> and <bp-asm.h>.
4605 (strncmp): Don't use BP_SYM. Remove comment about bounded
4607 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4608 <bp-sym.h> and <bp-asm.h>.
4609 (__strnlen): Don't use BP_SYM.
4610 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4611 <bp-sym.h> and <bp-asm.h>.
4612 (__GI__setjmp): Don't use BP_SYM.
4613 (_setjmp): Likewise.
4614 (__sigsetjmp): Likewise.
4615 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4616 (L(start_addresses)): Don't use BP_SYM.
4618 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4620 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4621 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4622 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4623 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4624 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4626 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4627 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4628 about bounded pointers.
4629 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4630 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4631 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4633 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4634 about bounded pointers. Remove GKM FIXME comments.
4635 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4636 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4638 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4639 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4640 Remove GKM FIXME comments.
4641 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4642 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4643 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4645 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4646 about bounded pointers. Remove GKM FIXME comment.
4647 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4649 (strncmp): Don't use BP_SYM. Remove comment about bounded
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4652 <bp-sym.h> and <bp-asm.h>.
4653 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4655 <bp-sym.h> and <bp-asm.h>.
4656 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4659 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4661 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4664 2013-03-05 David S. Miller <davem@davemloft.net>
4666 * po/es.po: Update from translation team.
4668 2013-03-05 Andreas Jaeger <aj@suse.de>
4670 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4671 <bits/mman-linux.h>.
4672 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4674 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4675 <bits/mman-linux.h> to end of file.
4676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4678 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4679 <bits/mman-linux.h> to end of file.
4680 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4682 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4683 <bits/mman-linux.h> to end of file.
4685 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4686 (MCL_CURRENT, MCL_FUTURE): Define here.
4688 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4691 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4693 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4695 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4697 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4698 fourth parameter needed for rt_sigprocmask syscall.
4699 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4700 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4702 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4703 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4704 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4706 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4710 comment about bounded pointers.
4711 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4712 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4714 2013-03-04 Andreas Jaeger <aj@suse.de>
4716 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4719 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4720 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4721 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4723 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4724 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4726 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4730 __ieee754_sqrl instead of __sqrl.
4732 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4734 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4735 * sysdeps/powerpc/fpu_control.h: ... here.
4736 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4737 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4738 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4739 * sysdeps/powerpc/bits/mathinline.h: ... here.
4741 2013-03-01 Roland McGrath <roland@hack.frob.com>
4743 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4744 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4745 to just [NEED_DL_SYSINFO_DSO].
4746 * elf/dl-support.c: Likewise.
4747 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4748 * elf/rtld.c (dl_main): Likewise.
4749 * elf/setup-vdso.h (setup_vdso): Likewise.
4750 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4751 * sysdeps/unix/sysv/linux/dl-sysdep.c
4752 (_dl_discover_osversion): Likewise.
4754 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4756 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4757 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4759 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4761 * NEWS: Mention libm performance improvements and non-x86 PI
4764 * csu/libc-start.c (__pthread_initialize_minimal): Change
4766 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4768 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4771 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4772 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4773 <bp-sym.h> and <bp-asm.h>.
4774 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4775 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4777 (memcpy): Don't use BP_SYM.
4778 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4780 (__mpn_add_n): Don't use BP_SYM.
4781 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4782 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4784 (__mpn_addmul_1): Don't use BP_SYM.
4785 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4786 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4788 (_setjmp): Don't use BP_SYM.
4789 (__novmx_setjmp): Likewise.
4790 (__GI__setjmp): Likewise.
4791 (__vmx_setjmp): Likewise.
4792 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4794 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4795 (__bzero): Don't use BP_SYM.
4796 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4797 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4798 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4799 <bp-sym.h> and <bp-asm.h>.
4800 (memcpy): Don't use BP_SYM.
4801 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4802 <bp-sym.h> and <bp-asm.h>.
4803 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4804 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4805 <bp-sym.h> and <bp-asm.h>.
4806 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4807 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4809 (__mpn_lshift): Don't use BP_SYM.
4810 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4811 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4813 (memset): Don't use BP_SYM.
4814 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4815 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4816 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4818 (__mpn_mul_1): Don't use BP_SYM.
4819 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4820 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4821 <bp-sym.h> and <bp-asm.h>.
4822 (memcmp): Don't use BP_SYM.
4823 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4824 <bp-sym.h> and <bp-asm.h>.
4825 (memcpy): Don't use BP_SYM.
4826 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4827 <bp-sym.h> and <bp-asm.h>.
4828 (memset): Don't use BP_SYM.
4829 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4830 <bp-sym.h> and <bp-asm.h>.
4831 (strncmp): Don't use BP_SYM.
4832 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4833 <bp-sym.h> and <bp-asm.h>.
4834 (memcpy): Don't use BP_SYM.
4835 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4836 <bp-sym.h> and <bp-asm.h>.
4837 (memset): Don't use BP_SYM.
4838 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4839 <bp-sym.h> and <bp-asm.h>.
4840 (__memchr): Don't use BP_SYM.
4841 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4842 <bp-sym.h> and <bp-asm.h>.
4843 (memcmp): Don't use BP_SYM.
4844 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4845 <bp-sym.h> and <bp-asm.h>.
4846 (memcpy): Don't use BP_SYM.
4847 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4848 <bp-sym.h> and <bp-asm.h>.
4849 (__mempcpy): Don't use BP_SYM.
4850 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4851 <bp-sym.h> and <bp-asm.h>.
4852 (__memrchr): Don't use BP_SYM.
4853 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4854 <bp-sym.h> and <bp-asm.h>.
4855 (memset): Don't use BP_SYM.
4856 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4857 <bp-sym.h> and <bp-asm.h>.
4858 (__rawmemchr): Don't use BP_SYM.
4859 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4860 <bp-sym.h> and <bp-asm.h>.
4861 (__STRCMP): Don't use BP_SYM.
4862 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4863 <bp-sym.h> and <bp-asm.h>.
4864 (strchr): Don't use BP_SYM.
4865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4866 <bp-sym.h> and <bp-asm.h>.
4867 (__strchrnul): Don't use BP_SYM.
4868 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4869 <bp-sym.h> and <bp-asm.h>.
4870 (strlen): Don't use BP_SYM.
4871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4872 <bp-sym.h> and <bp-asm.h>.
4873 (strncmp): Don't use BP_SYM.
4874 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4875 <bp-sym.h> and <bp-asm.h>.
4876 (__strnlen): Don't use BP_SYM.
4877 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4879 (__mpn_rshift): Don't use BP_SYM.
4880 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4881 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4882 <bp-sym.h> and <bp-asm.h>.
4883 (__sigsetjmp): Don't use BP_SYM.
4884 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4885 (L(start_addresses)): Don't use BP_SYM.
4887 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4889 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4890 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4891 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4892 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4894 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4895 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4896 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4897 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4899 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4901 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4902 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4904 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4906 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4907 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4908 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4910 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4912 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4914 (strncmp): Don't use BP_SYM,
4915 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4917 (__mpn_sub_n): Don't use BP_SYM.
4918 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4919 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4921 (__mpn_submul_1): Don't use BP_SYM.
4922 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4924 <bp-sym.h> and <bp-asm.h>.
4925 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4927 <bp-sym.h> and <bp-asm.h>.
4928 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4931 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4934 Use ZK to minimize writes to Z.
4935 (sub_magnitudes): Simplify code a bit.
4936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4937 Use ZK to minimize writes to Z.
4938 (sub_magnitudes): Simplify code a bit.
4940 2013-02-27 Roland McGrath <roland@hack.frob.com>
4942 * csu/gmon-start.c: Add special exception to license text.
4944 2013-02-27 Richard Henderson <rth@redhat.com>
4946 * scripts/config.guess: Update from config.git.
4947 * scripts/config.sub: Likewise.
4949 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4951 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4953 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4955 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4957 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4959 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4961 2013-02-26 Roland McGrath <roland@hack.frob.com>
4963 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4964 [$(build-shared = yes].
4966 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4968 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4969 (__mul): Reduce iterations for calculating mantissa.
4971 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4973 (__mpranred): Likewise.
4976 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4977 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4979 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4981 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4982 Define __attribute__.
4984 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4986 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4988 * posix/regex_internal.h (__attribute): Remove.
4989 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4990 (re_string_context_at): Likewise.
4991 (bitset_not): Use __attribute__ and mark function as possibly
4993 (bitset_merge): Likewise.
4994 (bitset_mask): Likewise.
4995 (re_string_char_size_at): Likewise.
4996 (re_string_wchar_at): Likewise.
4997 (re_string_elem_size_at): Likewise.
4999 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5001 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5005 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5010 (__dbl_mp): Likewise.
5011 (add_magnitudes): Likewise.
5012 (sub_magnitudes): Likewise.
5016 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5019 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5022 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5026 up changes with default code.
5027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5030 2013-02-24 Allan McRae <allan@archlinux.org>
5032 * manual/socket.texi (The Internet Namespace): Order menu items
5033 to match that in the file.
5035 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5036 node listing of the info page menu.
5038 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5041 * sysdeps/i386/bp-asm.h: Remove file.
5042 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5043 (PARMS): Do not use macros from bp-asm.h.
5047 (__mpn_add_n): Do not use BP_SYM
5048 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5050 (PARMS): Do not use macros from bp-asm.h.
5053 (__mpn_addmul_1): Do not use BP_SYM
5054 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5056 (PARMS): Do not use macros from bp-asm.h.
5058 (_setjmp): Likewise. Do not use BP_SYM.
5059 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5061 (PARMS): Do not use macros from bp-asm.h.
5063 (setjmp): Likewise. Do not use BP_SYM.
5064 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5066 (PARMS): Do not use macros from bp-asm.h.
5067 (__frexp): Do not use BP_SYM.
5069 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5071 (PARMS): Do not use macros from bp-asm.h.
5072 (__frexpf): Do not use BP_SYM.
5074 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5076 (PARMS): Do not use macros from bp-asm.h.
5077 (__frexpl): Do not use BP_SYM.
5079 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5081 (PARMS): Do not use macros from bp-asm.h.
5082 (__remquo): Do not use BP_SYM.
5084 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5086 (PARMS): Do not use macros from bp-asm.h.
5087 (__remquof): Do not use BP_SYM.
5088 (remquof): Likewise.
5089 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5091 (PARMS): Do not use macros from bp-asm.h.
5092 (__remquol): Do not use BP_SYM.
5093 (remquol): Likewise.
5094 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5096 (PARMS): Do not use macros from bp-asm.h.
5099 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5100 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5102 (PARMS): Do not use macros from bp-asm.h.
5103 (strlen): Do not use BP_SYM.
5104 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5106 (PARMS): Do not use macros from bp-asm.h.
5110 (__mpn_add_n): Do not use BP_SYM.
5111 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5113 (PARMS): Do not use macros from bp-asm.h.
5116 (__mpn_addmul_1): Do not use BP_SYM.
5117 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5120 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5122 (PARMS): Do not use macros from bp-asm.h.
5125 (__mpn_lshift): Do not use BP_SYM.
5126 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5128 (PARMS): Do not use macros from bp-asm.h.
5132 (memcpy): Likewise. Do not use BP_SYM.
5133 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5134 libc_hidden_def and weak_alias.
5135 (mempcpy): Do not use BP_SYM in weak_alias.
5136 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5138 (PARMS): Do not use macros from bp-asm.h.
5141 [!BZERO_P] (CHR): Likewise.
5142 (memset): Likewise. Do not use BP_SYM.
5143 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5145 (PARMS): Do not use macros from bp-asm.h.
5148 (__mpn_mul_1): Do not use BP_SYM.
5149 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5151 (PARMS): Do not use macros from bp-asm.h.
5154 (__mpn_rshift): Do not use BP_SYM.
5155 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5157 (PARMS): Do not use macros from bp-asm.h.
5160 (strchr): Likewise. Do not use BP_SYM.
5161 (index): Do not use BP_SYM in weak_alias.
5162 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5164 (PARMS): Do not use macros from bp-asm.h.
5167 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5168 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5170 (PARMS): Do not use macros from bp-asm.h.
5171 (strlen): Do not use BP_SYM.
5172 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5174 (PARMS): Do not use macros from bp-asm.h.
5178 (__mpn_sub_n): Do not use BP_SYM.
5179 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5181 (PARMS): Do not use macros from bp-asm.h.
5184 (__mpn_submul_1): Do not use BP_SYM.
5185 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5187 (PARMS): Do not use macros from bp-asm.h.
5191 (__mpn_add_n): Do not use BP_SYM.
5192 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5195 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5197 (PARMS): Do not use macros from bp-asm.h.
5200 (memcmp): Do not use BP_SYM.
5201 (bcmp): Do not use BP_SYM in weak_alias.
5202 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5204 (PARMS): Do not use macros from bp-asm.h.
5208 (memcpy): Likewise. Do not use BP_SYM.
5209 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5211 (PARMS): Do not use macros from bp-asm.h.
5215 (memmove): Likewise. Do not use BP_SYM.
5216 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5218 (PARMS): Do not use macros from bp-asm.h.
5222 (__mempcpy): Likewise. Do not use BP_SYM.
5223 (mempcpy): Do not use BP_SYM in weak_alias.
5224 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5226 (PARMS): Do not use macros from bp-asm.h.
5229 [!BZERO_P] (CHR): Likewise.
5230 (memset): Likewise. Do not use BP_SYM.
5231 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5233 (PARMS): Do not use macros from bp-asm.h.
5235 (strcmp): Do not use BP_SYM.
5236 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5238 (PARMS): Do not use macros from bp-asm.h.
5241 [USE_AS_STRTOK_R] (SAVE): Likewise.
5242 (FUNCTION): Likewise. Do not use BP_SYM.
5243 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5245 (strtok_r): Likewise.
5246 (__GI___strtok_r): Likewise.
5247 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5248 (PARMS): Do not use macros from bp-asm.h.
5251 (__mpn_lshift): Do not use BP_SYM.
5252 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5253 (PARMS): Do not use macros from bp-asm.h.
5256 (__memchr): Do not use BP_SYM.
5257 (memchr): Do not use BP_SYM in weak_alias.
5258 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5259 (PARMS): Do not use macros from bp-asm.h.
5262 (memcmp): Do not use BP_SYM.
5263 (bcmp): Do not use BP_SYM in weak_alias.
5264 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5265 (PARMS): Do not use macros from bp-asm.h.
5268 (__mpn_mul_1): Do not use BP_SYM.
5269 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5271 (PARMS): Do not use macros from bp-asm.h.
5274 (__rawmemchr): Do not use BP_SYM.
5275 (rawmemchr): Do not use BP_SYM in weak_alias.
5276 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5277 (PARMS): Do not use macros from bp-asm.h.
5280 (__mpn_rshift): Do not use BP_SYM.
5281 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5282 (PARMS): Do not use macros from bp-asm.h.
5284 (__sigsetjmp): Likewise. Do not use BP_SYM.
5285 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5286 (_start): Do not use BP_SYM.
5287 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5288 (PARMS): Do not use macros from bp-asm.h.
5291 (__stpcpy): Likewise. Do not use BP_SYM.
5292 (stpcpy): Do not use BP_SYM in weak_alias.
5293 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5295 (PARMS): Do not use macros from bp-asm.h.
5299 (__stpncpy): Likewise. Do not use BP_SYM.
5300 (stpncpy): Do not use BP_SYM in weak_alias.
5301 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5302 (PARMS): Do not use macros from bp-asm.h.
5305 (strchr): Likewise. Do not use BP_SYM.
5306 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5308 (PARMS): Do not use macros from bp-asm.h.
5311 (__strchrnul): Likewise. Do not use BP_SYM.
5312 (strchrnul): Do not use BP_SYM in weak_alias.
5313 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5315 (PARMS): Do not use macros from bp-asm.h.
5317 (strcspn): Do not use BP_SYM.
5318 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5320 (PARMS): Do not use macros from bp-asm.h.
5323 (strpbrk): Likewise. Do not use BP_SYM.
5324 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5326 (PARMS): Do not use macros from bp-asm.h.
5329 (strrchr): Likewise. Do not use BP_SYM.
5330 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5331 (PARMS): Do not use macros from bp-asm.h.
5333 (strspn): Do not use BP_SYM.
5334 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5335 (PARMS): Do not use macros from bp-asm.h.
5339 (FUNCTION): Likewise. Do not use BP_SYM.
5340 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5342 (strtok_r): Likewise.
5343 (__GI___strtok_r): Likewise.
5344 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5345 (PARMS): Do not use macros from bp-asm.h.
5349 (__mpn_sub_n): Do not use BP_SYM.
5350 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5352 (PARMS): Do not use macros from bp-asm.h.
5355 (__mpn_submul_1): Do not use BP_SYM.
5356 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5358 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5360 (PARMS): Do not use macros from bp-asm.h.
5365 (__clone): Do not use BP_SYM.
5366 (clone): Do not use BP_SYM in weak_alias.
5367 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5369 (PARMS): Do not use macros from bp-asm.h.
5371 (__mmap64): Do not use BP_SYM.
5372 (mmap64): Do not use BP_SYM in weak_alias.
5373 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5374 <bp-sym.h> and <bp-asm.h>.
5375 (PARMS): Do not use macros from bp-asm.h.
5376 (__posix_fadvise64_l64): Do not use BP_SYM.
5377 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5378 (PARMS): Do not use macros from bp-asm.h.
5380 (semtimedop): Do not use BP_SYM.
5381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5384 2013-02-21 Allan McRae <allan@archlinux.org>
5386 * manual/message.texi (Charset conversion in gettext):
5387 Move @end statement to beginning of line.
5389 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5396 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5401 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5403 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5404 tail-call to the resolved function if pltexit isn't needed.
5406 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5409 or Y being zero as being unlikely.
5410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5413 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5415 * manual/nss.texi (System Databases and Name Service Switch):
5416 Remove frobnicate @pxref.
5418 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5420 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5421 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5423 2013-02-20 Petr Machata <pmachata@redhat.com>
5425 * elf/elf.h (R_ARM_TARGET1): New macro.
5426 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5427 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5428 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5429 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5430 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5431 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5432 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5433 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5434 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5435 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5436 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5437 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5438 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5439 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5440 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5441 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5442 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5443 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5444 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5445 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5446 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5447 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5448 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5449 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5450 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5451 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5452 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5453 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5454 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5455 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5456 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5457 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5458 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5459 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5460 (R_ARM_THM_GOT_BREL12): Likewise.
5461 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5462 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5463 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5464 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5465 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5466 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5467 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5468 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5469 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5471 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5473 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5474 __attribute_used__ to __attribute__ ((unused)).
5476 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5478 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5484 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5487 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5489 (ENTER): Remove both macro definitions.
5491 (CHECK_BOUNDS_LOW): Likewise.
5492 (CHECK_BOUNDS_HIGH): Likewise.
5493 (CHECK_BOUNDS_BOTH): Likewise.
5494 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5495 (RETURN_BOUNDED_POINTER): Likewise.
5496 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5497 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5498 (POP_ERRNO_LOCATION_RETURN): Likewise.
5499 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5500 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5501 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5503 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5504 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5505 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5506 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5507 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5508 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5509 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5510 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5511 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5512 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5513 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5514 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5515 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5516 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5518 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5519 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5521 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5522 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5523 * sysdeps/i386/i586/memset.S (memset): Likewise.
5524 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5525 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5526 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5528 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5529 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5530 Change uses of L(2) to L(out).
5531 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5532 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5533 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5534 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5535 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5537 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5538 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5541 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5542 (RETURN): Do not use macro LEAVE.
5543 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5544 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5545 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5546 * sysdeps/i386/i686/memset.S (memset): Likewise.
5547 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5548 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5549 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5550 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5552 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5553 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5554 L(1_2) and L(1_3) into L(1).
5555 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5556 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5557 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5558 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5559 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5560 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5561 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5562 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5563 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5565 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5566 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5567 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5568 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5569 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5570 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5571 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5572 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5573 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5574 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5575 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5576 * sysdeps/i386/strspn.S (strspn): Likewise.
5577 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5579 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5580 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5581 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5582 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5584 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5585 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5586 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5588 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5590 2013-02-19 Jakub Jelinek <jakub@redhat.com>
5592 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5595 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5597 * math/atest-exp.c (exp_mpn): Remove ROUND.
5598 * math/atest-exp2.c (exp_mpn): Likewise.
5599 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5601 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5602 * stdlib/tst-tls-atexit-lib.c: Likewise.
5603 * stdlib/tst-tls-atexit.c: Likewise.
5605 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5607 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5608 and __attribute_alloc_size__.
5610 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5612 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5613 __attribute_alloc_size__.
5614 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5615 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5617 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5619 * include/programs/xmalloc.h: New file.
5620 * catgets/gencat.c: Include it.
5621 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5622 * elf/pldd.c: Likewise.
5623 * iconv/iconv_charmap.c: Likewise.
5624 * iconv/iconvconfig.c: Likewise.
5625 * iconv/strtab.c: Likewise.
5626 * locale/programs/locale.c: Likewise.
5627 * locale/programs/localedef.h: Likewise.
5628 * locale/programs/simple-hash.c: Likewise.
5629 * nscd/nscd.h: Likewise.
5630 * nss/makedb.c: Likewise.
5631 * sysdeps/generic/ldconfig.h: Likewise.
5633 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5635 * Versions.def: Add GLIBC_2.18.
5636 * include/link.h (struct link_map): New member l_tls_dtor_count.
5637 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5638 (__call_tls_dtors): Likewise.
5639 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5640 __cxa_thread_atexit_impl.
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5657 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5658 (tests): Add test case tst-tls-atexit.
5659 (modules-names): Add shared library for tst-tls-atexit.
5660 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5661 (GLIBC_PRIVATE): Add __call_tls_dtors.
5662 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5664 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5665 * stdlib/tst-tls-atexit.c: New test case.
5666 * stdlib/tst-tls-atexit-lib.c: New test case.
5668 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5670 * elf/Versions (ld): Add _dl_find_dso_for_object.
5671 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5672 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5673 (dl_open_worker): Use _dl_find_dso_for_object.
5674 * elf/dl-sym.c (do_sym): Likewise.
5675 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5677 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5679 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5680 Syntactic changes only.
5681 (_dl_runtime_profile): Do a tail-call to the resolved function.
5683 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5686 * sysdeps/x86_64/bp-asm.h: Remove file.
5687 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5688 <bp-sym.h> and <bp-asm.h>.
5689 (__clone): Do not use BP_SYM.
5690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5691 <bp-sym.h> and <bp-asm.h>.
5692 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5693 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5695 (_setjmp): Do not use BP_SYM.
5696 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5698 (setjmp): Do not use BP_SYM.
5699 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5701 (mempcpy): Do not use BP_SYM in weak_alias.
5702 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5704 (strchr): Do not use BP_SYM.
5705 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5707 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5708 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5709 (_start): Do not use BP_SYM.
5710 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5712 (strcat): Do not use BP_SYM.
5713 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5715 (STRCMP): Do not use BP_SYM.
5716 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5718 (STRCPY): Do not use BP_SYM.
5719 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5721 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5723 (FUNCTION): Do not use BP_SYM.
5724 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5726 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5728 2013-02-17 Andreas Jaeger <aj@suse.de>
5730 * time/Versions: Sort entries.
5731 * string/Versions: Likewise.
5732 * resolv/Versions: Likewise.
5733 * posix/Versions: Likewise.
5734 * iconv/Versions: Likewise.
5735 * elf/Versions: Likewise.
5736 * wcsmbs/Versions: Likewise.
5738 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5740 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5741 loop termination condition.
5743 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5744 variable to calculate EZ.
5747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5748 the lower precision input.
5750 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5753 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5754 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5755 (run-via-rtld-prefix): Do not handle %-bp tests.
5756 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5757 (all-object-suffixes): Remove .ob.
5758 (bppfx): Remove variable.
5759 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5760 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5761 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5762 [$(build-bounded) = yes] (libtype.ob): Likewise.
5763 * Makerules (elide-routines.ob): Remove variable.
5764 (do-tests-clean): Do not handle *-bp.out.
5765 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5766 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5767 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5768 (tests): Do not include $(tests-bp.out).
5769 (xtests): Do not include $(xtests-bp.out).
5770 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5771 [$(build-bounded) = yes] ($(addprefix
5772 $(objpfx),$(binaries-bounded))): Remove rule.
5773 ($(objpfx)%-bp.out): Remove rule.
5774 * config.make.in (build-bounded): Remove variable.
5775 * crypt/Makefile [$(build-bounded) = yes]
5776 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5777 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5779 [$(build-bounded) = yes] (install-lib): Likewise.
5780 [$(build-bounded) = yes] (generated): Likewise.
5781 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5783 * intl/Makefile [$(build-bounded) = yes]
5784 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5785 * math/Makefile [$(build-bounded) = yes]
5786 ($(tests:%=$(objpfx)%-bp): Likewise.
5787 * misc/Makefile [$(build-bounded) = yes]
5788 ($(objpfx)tst-tsearch-bp): Likewise.
5789 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5790 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5792 * string/Makefile (o-objects.ob): Remove variable.
5793 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5794 (CFLAGS-.ob): Remove variable.
5795 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5797 both definitions of variable.
5798 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5799 (ASFLAGS-.ob): Remove variable.
5801 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5804 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5805 Remove __BOUNDED_POINTERS__ from condition.
5806 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5807 * string/bits/string2.h [!__NO_STRING_INLINES &&
5808 !__BOUNDED_POINTERS__]: Likewise.
5809 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5811 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5812 Remove conditional code.
5813 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5814 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5815 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5819 * csu/libc-start.c: Do not include <bp-sym.h>.
5820 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5821 * elf/dl-open.c: Do not include <bp-sym.h>.
5822 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5823 * math/fegetenv.c: Do not include <bp-sym.h>.
5824 (fegetenv): Do not use BP_SYM in versioned symbols.
5825 * nptl/sysdeps/pthread/bits/libc-lockP.h
5826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5829 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5831 (__pthread_mutex_destroy): Likewise.
5832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5833 (__pthread_mutex_lock): Likewise.
5834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5835 (__pthread_mutex_trylock): Likewise.
5836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5837 (__pthread_mutex_unlock): Likewise.
5838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5839 (__pthread_mutexattr_init): Likewise.
5840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5841 (__pthread_mutexattr_destroy): Likewise.
5842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5843 (__pthread_mutexattr_settype): Likewise.
5844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5845 (__pthread_rwlock_init): Likewise.
5846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5847 (__pthread_rwlock_destroy): Likewise.
5848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5849 (__pthread_rwlock_rdlock): Likewise.
5850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5851 (__pthread_rwlock_tryrdlock): Likewise.
5852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5853 (__pthread_rwlock_wrlock): Likewise.
5854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5855 (__pthread_rwlock_trywrlock): Likewise.
5856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5857 (__pthread_rwlock_unlock): Likewise.
5858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5859 (__pthread_key_create): Likewise.
5860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5861 (__pthread_setspecific): Likewise.
5862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5863 (__pthread_getspecific): Likewise.
5864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5867 (_pthread_cleanup_push_defer): Likewise.
5868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5869 (_pthread_cleanup_pop_restore): Likewise.
5870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5871 (pthread_setcancelstate): Likewise.
5872 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5874 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5875 (memchr): Do not use BP_SYM in weak_alias.
5876 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5877 (fegetenv): Do not use BP_SYM in versioned symbols.
5878 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5879 (fesetenv): Do not use BP_SYM in versioned symbols.
5880 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5881 (feupdateenv): Do not use BP_SYM in versioned symbols.
5882 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5883 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5884 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5885 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5886 (open64): Do not use BP_SYM in weak_alias.
5887 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5888 (fegetenv): Do not use BP_SYM in versioned symbols.
5889 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5890 (fesetenv): Do not use BP_SYM in versioned symbols.
5891 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5892 (feupdateenv): Do not use BP_SYM in versioned symbols.
5893 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5894 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5895 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5896 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5897 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5898 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5899 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5901 (__libc_start_main): Do not use BP_SYM.
5903 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5906 redundant return line.
5910 (sub_magnitudes): Likewise.
5916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5920 (sub_magnitudes): Likewise.
5927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5929 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5930 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5933 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5934 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5936 of __mul for squares.
5937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5941 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5944 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5947 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5949 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5950 prototype or function definition. Rename ubp_* variables and
5951 parameters. Remove argv definitions conditional on
5952 [__BOUNDED_POINTERS__].
5953 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5954 * elf/dl-runtime.c (_dl_fixup): Likewise.
5955 * include/set-hooks.h (RUN_HOOK): Likewise.
5956 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5958 * string/strcpy.c (strcpy): Do not use __unbounded.
5959 * sysdeps/generic/frame.h (struct layout): Likewise.
5960 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5961 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5962 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5963 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5964 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5965 (__backtrace): Likewise.
5966 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5968 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5969 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5970 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5972 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5973 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5974 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5975 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5976 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5977 Do not use __unbounded.
5978 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5979 Rename __unboundedrlimits parameter to rlimits in prototype.
5980 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5981 Do not use __unbounded.
5982 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5984 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5985 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5986 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5987 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5988 __ptrvalue or __unbounded.
5989 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5990 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5992 (__new_msgctl): Do not use __ptrvalue.
5993 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5995 (__libc_msgrcv): Do not use __ptrvalue.
5996 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5997 startup_info): Do not use __unbounded.
5998 (__libc_start_main): Likewise. Rename ubp_* variables and
5999 parameters. Remove argv definitions conditional on
6000 [__BOUNDED_POINTERS__].
6001 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6003 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6005 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6007 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6009 (__new_shmctl): Do not use __ptrvalue.
6010 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6011 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6013 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6015 (__libc_sigaction): Likewise.
6016 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6017 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6019 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6021 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6023 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6025 * string/mempcpy.c: Implement by calling memcpy.
6027 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6034 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6035 values in the mantissa.
6037 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6038 minimize writes to Z.
6039 (sub_magnitudes): Simplify code a bit.
6041 2013-02-12 Roland McGrath <roland@hack.frob.com>
6043 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6044 from the message. The linker prefixes all warnings with that already.
6046 2013-02-12 Andreas Schwab <schwab@suse.de>
6049 * posix/regexec.c (extend_buffers): Add parameter min_len.
6050 (check_matching): Pass minimum needed length.
6051 (clean_state_log_if_needed): Likewise.
6052 (get_subexp): Likewise.
6053 * posix/Makefile (tests): Add bug-regex34.
6054 (bug-regex34-ENV): Define.
6055 * posix/bug-regex34.c: New file.
6058 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6059 elements compare against the byte sequence of it, not its name.
6060 * posix/Makefile (tests): Add bug-regex35.
6061 (bug-regex35-ENV): Define.
6062 * posix/bug-regex35.c: New file.
6064 2013-02-11 Tom de Vries <tom@codesourcery.com>
6066 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6068 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6069 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6070 (CHECK_EOL): Add undef.
6072 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6074 * bits/stdlib-bsearch.h: New file.
6075 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6076 * stdlib/stdlib.h: Likewise.
6078 2013-02-11 Roland McGrath <roland@hack.frob.com>
6080 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6081 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6083 * manual/search.texi (Array Search Function): Add missing const in
6085 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6086 declaration to use rlim_t.
6087 (Basic Scheduling Functions): Remove erroneous const from
6088 sched_getparam prototype. Remove erroneous * from
6089 sched_get_priority_max and sched_get_priority_min prototypes.
6090 (Resource Usage): Fix summary @comment on vtimes to refer to
6091 sys/vtimes.h rather than vtimes.h.
6092 Add missing *s in vtimes prototype.
6093 (Limits on Resources): Fix ulimit prototype to return long int.
6094 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6095 prototypes to use long int rather than double.
6096 (BSD Random): Fix initstate and setstate to use char *, not void *.
6097 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6098 prototype to make second argument 'struct aiocb64 *const[]'.
6099 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6100 (Status of AIO Operations): Remove erroneous const in aio_return and
6101 aio_return64 prototypes.
6102 (Synchronizing I/O): Fix sync prototype to return void.
6103 * manual/startup.texi (Suboptions): Remove an erroneous const in
6104 getsubopt prototype.
6105 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6106 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6107 use size_t rather than int.
6108 (Scanning All Users): Likewise for getpwent_r.
6109 (Setting Groups): Add missing const to setgroups prototype.
6110 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6111 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6112 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6113 'const void *' rather than 'const char *'.
6114 (Host Address Functions): Likewise for inet_ntop.
6115 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6116 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6117 ssize_t for return value.
6118 (Sending Data): Likewise for send, sendto, sendmsg.
6119 (Socket Option Functions): Add a missing const in setsockopt prototype.
6120 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6121 use wchar_t for the argument.
6122 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6123 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6125 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6126 double/float/long double for second argument.
6127 Fix return types of significand, significandf, significandl.
6128 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6129 argument in fchmod prototype.
6130 (File Owner): Use uid_t and gid_t in fchown prototype.
6131 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6132 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6133 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6134 use 'const struct dirent **' as argument types to CMP function pointer
6136 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6137 (File Times): Fix summary magic @comment for struct utimbuf and utime
6138 to refer to utime.h, not time.h.
6139 * manual/string.texi (Argz Functions): Add missing const in
6140 argz_extract and argz_next prototypes.
6141 (Finding Tokens in a String): Likewise for basename.
6142 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6143 (Copying and Concatenation): Fix typo in wmemmove prototype.
6144 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6145 (Signal Stack): Remove erroneous const in sigstack prototype.
6146 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6148 (Simple Calendar Time): Likewise for stime.
6149 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6151 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6152 say sys/sysctl.h instead.
6153 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6154 and vsyslog prototypes.
6156 2013-02-11 Tom de Vries <tom@codesourcery.com>
6158 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6161 2013-02-11 Roland McGrath <roland@hack.frob.com>
6163 * misc/sys/mman.h: Fix typo in mremap comment.
6165 2013-02-08 Roland McGrath <roland@hack.frob.com>
6167 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6168 the '\0' terminator.
6170 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6173 * debug/segfault.c: Don't include <bp-checks.h>.
6174 * sysdeps/generic/bp-checks.h: Remove file.
6175 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6176 (__GETDENTS): Don't use CHECK_N.
6177 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6178 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6179 (__getgroups): Don't use CHECK_N.
6180 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6181 (setgroups): Don't use CHECK_N.
6182 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6183 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6184 (__libc_msgrcv): Don't use CHECK_N.
6185 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6186 (__libc_msgsnd): Don't use CHECK_N.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6189 (__libc_pread): Don't use CHECK_N.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6191 include <bp-checks.h>.
6192 (__libc_pread64): Don't use CHECK_N.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6194 include <bp-checks.h>.
6195 (__libc_pwrite): Don't use CHECK_N.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6197 include <bp-checks.h>.
6198 (__libc_pwrite64): Don't use CHECK_N.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6201 (__libc_pread): Don't use CHECK_N.
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6203 include <bp-checks.h>.
6204 (__libc_pread64): Don't use CHECK_N.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6206 include <bp-checks.h>.
6207 (__libc_pwrite): Don't use CHECK_N.
6208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6209 include <bp-checks.h>.
6210 (__libc_pwrite64): Don't use CHECK_N.
6211 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6212 (do_pread): Don't use CHECK_N.
6213 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6214 (do_pread64): Don't use CHECK_N.
6215 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6216 (do_pwrite): Don't use CHECK_N.
6217 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6218 (do_pwrite64): Don't use CHECK_N.
6219 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6220 (__libc_readv): Don't use CHECK_N.
6221 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6222 (semop): Don't use CHECK_N.
6223 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6225 (semtimedop): Don't use CHECK_N.
6226 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6227 (__libc_pread): Don't use CHECK_N.
6228 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6230 (__libc_pread64): Don't use CHECK_N.
6231 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6233 (__libc_pwrite): Don't use CHECK_N.
6234 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6236 (__libc_pwrite64): Don't use CHECK_N.
6237 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6239 (__libc_msgrcv): Don't use CHECK_N.
6240 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6241 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6242 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6243 (__libc_writev): Don't use CHECK_N.
6245 2013-02-08 Roland McGrath <roland@hack.frob.com>
6247 * string/strcpy.c: Removed unused variable.
6249 * Makeconfig (+sysdep-includes): Define with := rather than =.
6250 Use an existing include/ subdir of each sysdeps dir before it.
6252 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6254 * nscd/connection.c (register_traced_file): Comment function.
6255 [HAVE_INOTIFY] (union __inev): Define.
6256 [HAVE_INOTIFY] (inotify_check_files): New function.
6257 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6258 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6260 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6262 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6264 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6265 loaded if not already and that a failure is permanent.
6267 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6270 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6271 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6273 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6276 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6277 (CHECK_1_NULL_OK): Likewise.
6278 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6279 (__fxstat): Do not use CHECK_1.
6280 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6282 (___fxstat64): Do not use CHECK_1.
6283 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6285 (__fxstatat): Do not use CHECK_1.
6286 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6288 (__fxstatat64): Do not use CHECK_1.
6289 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6291 (__fxstat): Do not use CHECK_1.
6292 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6294 (__fxstatat): Do not use CHECK_1.
6295 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6297 (__getresgid): Do not use CHECK_1.
6298 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6300 (__getresuid): Do not use CHECK_1.
6301 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6303 (__lxstat): Do not use CHECK_1.
6304 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6306 (__old_msgctl): Do not use CHECK_1.
6307 (__new_msgctl): Likewise.
6308 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6310 (__new_setrlimit): Do not use CHECK_1.
6311 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6313 (__old_shmctl): Do not use CHECK_1.
6314 (__new_shmctl): Likewise.
6315 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6317 (__xstat): Do not use CHECK_1.
6318 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6319 (__lxstat): Do not use CHECK_1.
6320 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6322 (___lxstat64): Do not use CHECK_1.
6323 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6324 (__old_msgctl): Do not use CHECK_1.
6325 (__new_msgctl): Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6328 (__gettimeofday): Do not use CHECK_1.
6329 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6330 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6331 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6333 (__gettimeofday): Do not use CHECK_1.
6334 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6335 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6336 (__new_shmctl): Do not use CHECK_1.
6337 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6339 (do_sigtimedwait): Do not use CHECK_1.
6340 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6342 (do_sigwaitinfo): Do not use CHECK_1.
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6345 (msgctl): Do not use CHECK_1.
6346 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6348 (shmctl): Do not use CHECK_1.
6349 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6350 (ustat): Do not use CHECK_1.
6351 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6353 (__fxstat): Do not use CHECK_1.
6354 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6356 (__fxstatat): Do not use CHECK_1.
6357 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6359 (__lxstat): Do not use CHECK_1.
6360 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6362 (__xstat): Do not use CHECK_1.
6363 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6364 (__xstat): Do not use CHECK_1.
6365 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6366 (___xstat64): Do not use CHECK_1.
6369 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6371 (CHECK_BOUNDS_HIGH): Likewise.
6372 * string/strcpy.c: Do not include <bp-checks.h>.
6373 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6375 2013-02-07 Roland McGrath <roland@hack.frob.com>
6377 * nscd/nscd-client.h (__nscd_drop_map_ref):
6378 Add __attribute__ ((unused)).
6379 * nis/nss-nisplus.h (niserr2nss): Likewise.
6381 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6382 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6384 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6385 Remove inline keyword.
6386 * include/rounding-mode.h (round_away): Likewise.
6387 * libio/wfileops.c (adjust_wide_data): Likewise.
6388 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6389 (__m128i_strloadu_tolower): Likewise.
6390 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6391 (__m128i_strloadu_tolower): Likewise.
6392 * time/mktime.c (ydhms_diff): Likewise.
6393 * locale/elem-hash.h (elem_hash): Likewise.
6394 * locale/setlocale.c (setdata): Likewise.
6395 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6396 (re_string_wchar_at): Likewise.
6397 (bitset_not, bitset_merge, bitset_mask): Likewise.
6398 [!(__GNUC__ > 3)] (inline): Remove macro.
6399 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6400 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6401 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6402 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6403 * string/memcmp.c (memcmp_bytes): Likewise.
6404 * locale/programs/locarchive.c (compute_hashval): Likewise.
6405 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6406 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6407 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6408 * nss/getent.c (print_rpc, print_protocols): Likewise.
6409 (print_passwd, print_group, print_aliases): Likewise.
6410 * nis/nss-nisplus.h (niserr2nss): Likewise.
6411 * nscd/connections.c (restart_p): Likewise.
6412 Change return type to bool.
6414 2013-02-05 Roland McGrath <roland@hack.frob.com>
6416 * Makeconfig (all-Depend-files): Add existing
6417 $(sorted-subdirs:=/Depend) files.
6418 (all-subdirs): Remove nss.
6419 * sysdeps/unix/inet/Subdirs: Add it here instead.
6420 * hesiod/Depend: New file.
6422 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6423 instead of calling alloca.
6425 * io/lseek.c (__lseek): Rename to __libc_lseek.
6426 Define __lseek as an alias.
6428 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6430 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6432 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6433 else clause and remove check for non-standard endianness.
6435 2013-02-04 David S. Miller <davem@davemloft.net>
6437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6439 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6442 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6443 (__ubp_memchr): Remove prototype.
6444 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6445 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6446 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6447 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6448 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6450 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6451 (__ubp_memchr): Likewise.
6452 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6453 (__ubp_memchr): Likewise.
6454 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6455 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6456 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6457 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6459 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6460 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6461 (__getcwd): Do not use CHECK_STRING.
6462 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6464 (__real_chown): Do not use CHECK_STRING.
6465 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6467 (fchownat): Do not use CHECK_STRING.
6468 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6470 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6472 (__lchown): Do not use CHECK_STRING.
6473 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6474 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6475 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6476 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6478 include <bp-checks.h>.
6479 (truncate64): Do not use CHECK_STRING.
6480 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6482 (__real_chown): Do not use CHECK_STRING.
6483 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6485 (__lchown): Do not use CHECK_STRING.
6486 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6488 (__chown): Do not use CHECK_STRING.
6489 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6491 (truncate64): Do not use CHECK_STRING.
6492 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6494 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6495 (__xmknod): Do not use CHECK_STRING.
6496 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6498 (__xmknodat): Do not use CHECK_STRING.
6499 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6500 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6502 2013-02-04 Andreas Schwab <schwab@suse.de>
6505 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6506 * include/netdb.h: Likewise for h_errno.
6507 * elf/tst-stackguard1.c: Include <tls.h>.
6509 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6511 * elf/link.h (struct link_map): Extend the l_addr comment.
6512 * include/link.h (struct link_map): Likewise.
6514 2013-02-01 Joseph Myers <joseph@codesourcery.com>
6517 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6518 (BOUNDED_1): Remove macro.
6519 * debug/backtrace.c: Don't include <bp-checks.h>.
6520 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6521 (__backtrace): Likewise.
6522 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6524 (__backtrace): Don't use BOUNDED_1.
6525 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6527 (__backtrace): Don't use BOUNDED_1.
6528 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6529 (__backtrace): Don't use BOUNDED_1.
6530 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6531 (shmat): Don't use BOUNDED_N.
6533 2013-01-31 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/generic/bp-start.h: Remove file.
6537 * csu/libc-start.c: Don't include <bp-start.h>.
6538 (LIBC_START_MAIN): Set up __environ directly instead of using
6539 INIT_ARGV_and_ENVIRON.
6540 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6544 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6546 (CHECK_FCNTL): Likewise.
6547 (CHECK_N_PAGES): Likewise.
6550 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6552 (CHECK_SIGSET_NULL_OK): Likewise.
6553 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6555 (sigpending): Don't use CHECK_SIGSET.
6556 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6558 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6559 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6561 (do_sigsuspend): Don't use CHECK_SIGSET.
6562 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6564 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6565 (do_sigwait): Don't use CHECK_SIGSET.
6566 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6568 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6569 include <bp-checks.h>.
6570 (sigpending): Don't use CHECK_SIGSET.
6571 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6572 include <bp-checks.h>.
6573 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6574 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6576 (sigpending): Don't use CHECK_SIGSET.
6577 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6579 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6582 * sysdeps/generic/bp-semctl.h: Remove file.
6583 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6584 <bp-checks.h> and <bp-semctl.h>.
6585 (__old_semctl): Don't use CHECK_SEMCTL.
6586 (__new_semctl): Likewise.
6587 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6589 (__old_semctl): Don't use CHECK_SEMCTL.
6590 (__new_semctl): Likewise.
6591 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6592 <bp-checks.h> and <bp-semctl.h>.
6593 (__old_semctl): Don't use CHECK_SEMCTL.
6594 (__new_semctl): Likewise.
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6596 <bp-checks.h> and <bp-semctl.h>.
6597 (semctl): Don't use CHECK_SEMCTL.
6600 * Makerules (elide-bp-thunks): Remove variable.
6601 (elide-routines.oS): Don't use $(elide-bp-thunks).
6602 (elide-routines.os): Likewise.
6603 (elide-routines.o): Likewise.
6604 (elide-routines.op): Likewise.
6605 (elide-routines.og): Likewise.
6606 (objects): Don't use $(bp-thunks).
6607 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6609 (common-generated): Do not add s-proto-bp.d.
6610 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6613 Do not generate makefile rules for bounded-pointer thunks.
6614 * sysdeps/generic/bp-thunks.h: Remove file.
6615 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6616 * sysdeps/unix/s-proto-bp.S: Likewise.
6619 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6620 parts of result separately when argument is not close to line from
6621 -i to i and one part of argument is small.
6622 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6623 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6624 * math/libm-test.inc (cacos_test): Add more tests.
6625 (casin_test): Likewise.
6626 (casinh_test): Likewise.
6627 * sysdeps/i386/fpu/libm-test-ulps: Update.
6628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630 2013-01-31 David S. Miller <davem@davemloft.net>
6632 * po/de.po: Update from translation team.
6634 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6636 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6638 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6640 * configure.in (_AC_PROG_CC_C89): New definition.
6641 * configure: Regenerate.
6643 * configure.in (AC_PROG_CPP): New definition.
6644 * configure: Regenerate.
6646 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6648 * debug/tst-backtrace.h: New file.
6649 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6650 (ret): Remove variable.
6652 (FAIL): Remove macro.
6653 (NO_INLINE): Likewise.
6654 (fn1): Use match function instead of strstr.
6655 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6656 (ret): Remove variable.
6658 (FAIL): Remove macro.
6659 (NO_INLINE): Likewise.
6660 (fn): Use match function instead of strstr.
6661 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6662 (ret): Remove variable.
6664 (FAIL): Remove macro.
6665 (NO_INLINE): Likewise.
6666 (handle_signal): Use match function instead of strstr.
6667 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6668 (ret): Remove variable.
6670 (FAIL): Remove macro.
6671 (NO_INLINE): Likewise.
6672 (handle_signal): Use match function instead of strstr.
6674 2013-01-23 Roland McGrath <roland@hack.frob.com>
6676 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6678 2013-01-23 David S. Miller <davem@davemloft.net>
6680 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6681 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6682 argument of CAS if possible.
6683 * sysdeps/sparc/sparc64/bits/atomic.h
6684 (__arch_compare_and_exchange_val_32_acq): Likewise.
6685 (__arch_compare_and_exchange_val_64_acq): Likewise.
6687 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6689 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6690 * sysdeps/posix/ulimit.c: ... this.
6692 * sysdeps/unix/bsd/ulimit.c: Remove file.
6694 2013-01-23 Adam Conrad <adconrad@0c3.net>
6696 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6697 (LDFLAGS-tst-array5): Likewise.
6699 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6702 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6703 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6704 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6705 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6707 2013-01-21 David S. Miller <davem@davemloft.net>
6709 * sysdeps/sparc/backtrace.c: New file.
6710 * sysdeps/sparc/sparc32/backtrace.h: New file.
6711 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6712 * sysdeps/sparc/sparc64/backtrace.h: New file.
6713 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6714 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6717 2013-01-21 Andreas Schwab <schwab@suse.de>
6720 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6723 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6729 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6730 Mark Mitchell <mark@codesourcery.com>
6731 Tom de Vries <tom@codesourcery.com>
6732 Paul Pluzhnikov <ppluzhnikov@google.com>
6734 * debug/tst-backtrace2.c: New file.
6735 * debug/tst-backtrace3.c: Likewise.
6736 * debug/tst-backtrace4.c: Likewise.
6737 * debug/tst-backtrace5.c: Likewise.
6738 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6739 (CFLAGS-tst-backtrace3.c): Likewise.
6740 (CFLAGS-tst-backtrace4.c): Likewise.
6741 (CFLAGS-tst-backtrace5.c): Likewise.
6742 (LDFLAGS-tst-backtrace2): Likewise.
6743 (LDFLAGS-tst-backtrace3): Likewise.
6744 (LDFLAGS-tst-backtrace4): Likewise.
6745 (LDFLAGS-tst-backtrace5): Likewise.
6746 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6747 tst-backtrace4 and tst-backtrace5.
6749 2013-01-18 Anton Blanchard <anton@samba.org>
6750 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6752 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6753 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6754 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6755 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6757 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6758 "+r" and remove output regs list as redundant. Add explicit inline
6759 asm to specify register of return val to work around compiler codegen
6760 bug. Remove (int) cast on return value. Add return type parameter to
6761 use in macro so that this macro does not truncate return value for
6763 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6764 pass to INTERNAL_VSYSCALL_NCS.
6765 (INLINE_VSYSCALL): Add 'long int' as return type to
6766 INTERNAL_VSYSCALL_NCS macro invocation.
6767 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6768 INTERNAL_VSYSCALL_NCS macro invocation.
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6771 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6774 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6775 Fix application of SIMD FP exception mask.
6777 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6778 mp_no from a power of two.
6779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6780 __mpexp_twomm1. Use __pow_mp.
6782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6785 2013-01-17 David S. Miller <davem@davemloft.net>
6787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6789 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6792 * include/complex.h: Condition contents on [!_COMPLEX_H].
6793 (__kernel_casinhf): New prototype.
6794 (__kernel_casinh): Likewise.
6795 (__kernel_casinhl): Likewise.
6796 * math/Makefile (libm_calls): Add k_casinh.
6797 * math/k_casinh.c: New file.
6798 * math/k_casinhf.c: Likewise.
6799 * math/k_casinhl.c: Likewise.
6800 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6801 finite nonzero arguments.
6802 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6803 finite nonzero arguments.
6804 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6805 finite nonzero arguments.
6806 * math/s_casinh.c: Do not include <float.h>.
6807 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6808 * math/s_casinhf.c: Do not include <float.h>.
6809 (__casinhf): Move code for finite nonzero arguments to
6811 * math/s_casinhl.c: Do not include <float.h>.
6812 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6814 (__casinhl): Move code for finite nonzero arguments to
6816 * math/libm-test.inc (cacos_test): Add more tests.
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6820 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6822 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6823 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6824 [!HAVE_MREMAP]: Remove [defined linux] case.
6825 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6827 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6829 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6831 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6833 * elf/elf.h (R_386_SIZE32): New relocation.
6834 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6836 (elf_machine_rela): Likewise.
6837 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6838 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6840 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6842 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6843 (FP_FAST_FMA): Do not define.
6844 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6845 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6846 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6847 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6848 !_SOFT_FLOAT]: Likewise.
6849 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6852 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6853 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6854 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6855 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6856 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6857 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6860 2013-01-16 Andreas Schwab <schwab@suse.de>
6863 * include/stdlib.h (__mktemp): Add declaration.
6864 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6865 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6867 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6869 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6871 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6872 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6873 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6875 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6876 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6878 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6880 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6881 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6882 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6884 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6885 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6887 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6889 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6891 2013-01-15 David S. Miller <davem@davemloft.net>
6893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6894 trunc{,f} to libm-sysdep_routes.
6895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6905 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6906 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6907 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6908 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6909 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6910 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6913 nearbyint{,f} to libm-sysdep_routes.
6914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6927 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6928 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6930 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6931 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6932 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6934 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6935 libc_feholdexcept and libc_fesetenv.
6937 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6939 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6941 2013-01-14 David S. Miller <davem@davemloft.net>
6943 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6944 (SPARC_ASM_VIS2_IFUNC): Likewise.
6945 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6947 use of 'siam' instruction.
6948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6981 routines to libm-sysdep_routines.
6982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6985 fdim/fdimf to libm-sysdep_routines.
6986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6994 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6995 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6996 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6997 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6999 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7004 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7009 local variable MPTWO.
7010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7013 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7015 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7018 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7020 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7022 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7024 * manual/pattern.texi (glob_t): Document gl_flags.
7025 (glob64_t): Likewise.
7027 2013-01-11 David S. Miller <davem@davemloft.net>
7029 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7030 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7031 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7032 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7033 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7034 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7035 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7036 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7037 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7038 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7039 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7040 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7041 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7043 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7044 sparc V9 rather than using V8 code.
7045 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7046 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7050 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7053 2013-01-11 Roland McGrath <roland@hack.frob.com>
7055 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7056 not in the main loop.
7057 * configure: Regenerated.
7059 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7061 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7062 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7064 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7065 [!__GLIBC_HAVE_LONG_LONG] case.
7066 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7067 condition to just #else.
7068 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7069 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7070 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7071 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7073 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7074 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7075 #elif condition to just #else.
7076 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7077 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7078 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7079 #elif condition to just #else.
7081 2013-01-11 Steve Ellcey <sellcey@mips.com>
7083 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7084 (EF_MIPS_ARCH_64): Fix value.
7085 (EF_MIPS_ARCH_32R2): New.
7086 (EF_MIPS_ARCH_64R2): New.
7088 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7090 * Makeconfig (+link-pie-before-libc): New.
7091 (+link-pie-after-libc): Likewise.
7092 (+link-pie-tests): Likewise.
7093 (+link-pie): Rewritten.
7094 (link-before-libc): Remove $(config-LDFLAGS).
7095 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7096 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7097 (config-LDFLAGS): Renamed to ...
7098 (rtld-LDFLAGS): This.
7099 (rtld-tests-LDFLAGS): New macro.
7100 (link-libc-rpath-link): Likewise.
7101 (link-libc-tests-rpath-link): Likewise.
7102 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7103 (link-libc): Prepand $(link-libc-rpath-link).
7104 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7105 (test-program-prefix): New macro.
7106 (test-via-rtld-prefix): Likewise.
7107 (test-program-cmd): Likewise.
7108 (host-test-program-cmd): Likewise.
7109 * Makefile ($(common-objpfx)testrun.sh): Replace
7110 $(run-program-prefix) with $(test-program-prefix).
7111 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7113 ($(common-objpfx)shlib.lds): Likewise.
7114 (build-module-helper): Likewise.
7115 ($(common-objpfx)format.lds): Likewise.
7116 * Rules (binaries-pie-tests): New.
7117 (binaries-pie-notests): Likewise.
7118 (binaries-pie): Rewritten.
7119 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7120 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7121 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7122 (make-test-out): Replace $(host-built-program-cmd) with
7123 $(host-test-program-cmd).
7124 * config.make.in (build-hardcoded-path-in-tests): New variable.
7125 * configure.in (--enable-hardcoded-path-in-tests): New configure
7127 (hardcoded_path_in_tests): New AC_SUBST.
7128 * configure: Regenerated.
7129 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7130 $(built-program-cmd) with $(test-program-cmd).
7131 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7132 (test_program_cmd): This.
7133 * elf/Makefile ($(objpfx)order.out): Run test with
7134 $(test-program-prefix).
7135 ($(objpfx)order2.out): Likewise.
7136 ($(objpfx)tst-initorder.out): Likewise.
7137 ($(objpfx)tst-initorder2.out): Likewise.
7138 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7139 $(test-program-cmd).
7140 ($(objpfx)tst-array1-static.out): Likewise.
7141 ($(objpfx)tst-array2.out): Likewise.
7142 ($(objpfx)tst-array3.out): Likewise.
7143 ($(objpfx)tst-array4.out): Likewise.
7144 ($(objpfx)tst-array5.out): Likewise.
7145 ($(objpfx)tst-array5-static.out): Likewise.
7146 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7147 $(test-program-cmd).
7148 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7149 $(run-program-prefix) with $(test-program-prefix).
7150 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7151 (test_program_prefix): This.
7152 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7153 $(run-program-prefix) with $(test-program-prefix).
7154 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7155 (test_program_prefix): This.
7156 * iconvdata/tst-tables.sh: Likewise.
7157 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7158 $(run-program-prefix) with $(test-program-prefix).
7159 ($(objpfx)tst-translit.out): Likewise.
7160 ($(objpfx)tst-gettext2.out): Likewise.
7161 ($(objpfx)tst-gettext4.out): Likewise.
7162 ($(objpfx)tst-gettext6.out): Likewise.
7163 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7164 (test_program_prefix): This.
7165 * intl/tst-gettext2.sh: Likewise.
7166 * intl/tst-gettext4.sh Likewise.
7167 * intl/tst-gettext6.sh: Likewise.
7168 * intl/tst-translit.sh: Likewise.
7169 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7170 with $(test-program-cmd).
7171 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7172 $(run-program-prefix) with $(test-program-prefix).
7173 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7174 (test_program_prefix): This.
7175 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7176 $(run-program-prefix) with $(test-program-prefix).
7177 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7178 (test_program_prefix): This.
7179 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7180 * posix/Makefile ($(objpfx)globtest.out): Replace
7181 $(run-via-rtld-prefix) and $(test-wrapper) with
7182 $(test-program-prefix) and $(test-via-rtld-prefix).
7183 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7184 $(test-program-prefix).
7185 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7186 $(host-test-program-cmd).
7187 (tst-spawn-ARGS): Likewise.
7188 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7189 $(test-program-prefix).
7190 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7191 (test_via_rtld_prefix): This.
7192 (test_wrapper): Renamed to ...
7193 (test_program_prefix): This.
7194 (run_program_prefix): Replaced by test_program_prefix.
7195 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7196 (test_program_prefix): This.
7197 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7198 with $(host-test-program-cmd).
7199 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7200 $(run-program-prefix) with $(test-program-prefix).
7201 ($(objpfx)tst-printf.out): Likewise.
7202 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7203 $(test-program-cmd).
7204 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7205 (test_program_prefix): This.
7206 * stdio-common/tst-unbputc.sh: Likewise.
7207 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7208 $(run-program-prefix) with $(test-program-prefix).
7209 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7210 (test_program_prefix): This.
7211 * string/Makefile ($(objpfx)tst-svc.out): Replace
7212 $(built-program-cmd) with $(test-program-cmd).
7214 2013-01-11 Andreas Jaeger <aj@suse.de>
7217 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7218 value. Sync with Linux 3.7.
7220 2013-01-10 David S. Miller <davem@davemloft.net>
7222 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7223 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7224 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7226 2013-01-10 Roland McGrath <roland@hack.frob.com>
7228 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7230 * configure: Regenerated.
7232 2013-01-10 David S. Miller <davem@davemloft.net>
7234 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7235 sparc V9 rather than using V8 code.
7236 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7237 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7239 2013-01-10 Roland McGrath <roland@hack.frob.com>
7241 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7242 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7243 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7244 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7245 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7246 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7247 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7248 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7249 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7250 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7251 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7252 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7253 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7254 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7255 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7256 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7257 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7258 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7259 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7260 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7261 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7262 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7263 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7264 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7265 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7266 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7267 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7269 2013-01-10 David S. Miller <davem@davemloft.net>
7271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7273 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7275 * posix/Makefile (tests-static): New variable.
7276 (tests): Add $(tests-static).
7277 (tst-exec-static-ARGS): New variable.
7278 (tst-spawn-static-ARGS): Likewise.
7279 * posix/tst-exec-static.c: New file.
7280 * posix/tst-spawn-static.c: Likewise.
7281 * posix/tst-exec.c: Support run directly.
7282 * posix/tst-spawn.c: Likewise.
7284 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7286 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7288 * math/bits/mathcalls.h (llrint): Likewise.
7289 (llround): Likewise.
7290 * stdlib/stdlib.h (struct drand48_data): Likewise.
7291 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7292 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7293 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7295 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7297 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7298 (elf_greg_t): Likewise.
7299 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7300 (__jmp_buf): Likewise.
7301 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7303 (llrint): Likewise, for all definitions.
7304 (llrintl): Likewise.
7306 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7307 Remove [__GNUC__] condition.
7308 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7309 condition to just [__USE_ISOC99].
7310 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7312 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7315 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7316 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7318 (_POSIX_V6_ILP32_OFF32): Likewise.
7319 (_XBS5_ILP32_OFF32): Likewise.
7320 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7321 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7323 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7325 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7328 doubles __mpexp_twomm1. Adjust usage.
7329 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7332 2013-01-10 Andreas Schwab <schwab@suse.de>
7335 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7336 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7338 2013-01-09 David S. Miller <davem@davemloft.net>
7341 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7342 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7343 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7344 TCP_FASTOPEN): Define.
7345 (tcp_repair_opt): New structure.
7346 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7348 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7349 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7350 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7351 (tcp_cookie_transactions): New structure.
7353 2013-01-09 Anton Blanchard <anton@samba.org>
7355 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7356 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7357 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7360 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7362 * include/features.h (__USE_ANSI): Remove.
7364 2013-01-09 Roland McGrath <roland@hack.frob.com>
7366 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7368 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7370 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7372 * sysdeps/s390/fpu/libm-test-ulps: Update.
7374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7376 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7381 (__mp_dbl): Likewise.
7382 (__dbl_mp): Likewise.
7383 (add_magnitudes): Likewise.
7384 (sub_magnitudes): Likewise.
7390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7395 (__mp_dbl): Likewise.
7396 (__dbl_mp): Likewise.
7397 (add_magnitudes): Likewise.
7398 (sub_magnitudes): Likewise.
7404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7409 (__mp_dbl): Likewise.
7410 (__dbl_mp): Likewise.
7411 (add_magnitudes): Likewise.
7412 (sub_magnitudes): Likewise.
7419 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7421 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7422 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7423 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7424 2 && __USE_EXTERN_INLINES]: Likewise.
7426 2013-01-08 Andreas Jaeger <aj@suse.de>
7429 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7431 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7432 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7434 2013-01-07 Anton Blanchard <anton@samba.org>
7436 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7437 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7438 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7439 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7440 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7441 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7442 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7443 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7445 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7446 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7447 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7448 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7450 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7451 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7453 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7454 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7455 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7456 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7457 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7459 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7460 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7461 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7462 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7463 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7464 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7465 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7466 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7468 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7469 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7470 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7472 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7473 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7474 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7475 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7476 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7478 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7480 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7482 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7483 (__MALLOC_PMT): Likewise.
7484 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7485 [__GNUC__], only on [_LIBC].
7486 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7487 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7488 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7489 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7490 forward declaration.
7491 (realloc_hook_ini): Likewise.
7492 (memalign_hook_ini): Likewise.
7493 (__libc_memalign): Do not use __MALLOC_PMT in variable
7495 (__libc_valloc): Likewise.
7496 (__libc_pvalloc): Likewise.
7497 (__libc_calloc): Likewise.
7498 (__posix_memalign): Likewise.
7501 * math/s_casinh.c: Include <float.h>.
7502 (__casinh): Do not do computation with squaring and square root
7503 for large arguments.
7504 * math/s_casinhf.c: Include <float.h>.
7505 (__casinhf): Do not do computation with squaring and square root
7506 for large arguments.
7507 * math/s_casinhl.c: Include <float.h>.
7508 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7509 (__casinhl): Do not do computation with squaring and square root
7510 for large arguments.
7511 * math/libm-test.inc (casin_test): Add more tests.
7512 (casinh_test): Likewise.
7513 * sysdeps/i386/fpu/libm-test-ulps: Update.
7514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7516 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7518 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7519 (__x86_64_raw_data_cache_size): Likewise.
7520 (__x86_64_data_cache_size_half): Likewise.
7521 (__x86_64_raw_data_cache_size_half): Likewise.
7522 (__x86_64_shared_cache_size): Likewise.
7523 (__x86_64_raw_shared_cache_size): Likewise.
7524 (__x86_64_shared_cache_size_half): Likewise.
7525 (__x86_64_raw_shared_cache_size_half): Likewise.
7526 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7528 (__x86_data_cache_size): This.
7529 (__x86_64_raw_data_cache_size): Renamed to ...
7530 (__x86_raw_data_cache_size): This.
7531 (__x86_64_data_cache_size_half): Renamed to ...
7532 (__x86_data_cache_size_half): This.
7533 (__x86_64_raw_data_cache_size_half): Renamed to ...
7534 (__x86_raw_data_cache_size_half): This.
7535 (__x86_64_shared_cache_size): Renamed to ...
7536 (__x86_shared_cache_size): This.
7537 (__x86_64_raw_shared_cache_size): Renamed to ...
7538 (__x86_raw_shared_cache_size): This.
7539 (__x86_64_shared_cache_size_half): Renamed to ...
7540 (__x86_shared_cache_size_half): This.
7541 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7542 (__x86_raw_shared_cache_size_half): This.
7543 * sysdeps/x86_64/memcpy.S: Updated.
7544 * sysdeps/x86_64/memset.S: Likewise.
7545 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7546 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7549 2013-01-04 David S. Miller <davem@davemloft.net>
7551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7553 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7555 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7556 1 to avoid redefinition warning.
7557 (__USE_GNU): Don't define.
7558 (init_signaling_nan): Protoize.
7560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7562 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7564 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7566 (__cpymn): Likewise.
7567 (norm): Remove commented code.
7569 (__mp_dbl): Likewise.
7571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7572 (__cpymn): Likewise.
7573 (norm): Remove commented code.
7575 (__mp_dbl): Likewise.
7578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7579 mp_no value for 1.0 and 2.0.
7580 (norm): Use RADIXI instead of radixi.d.
7582 (__mul): Use 0.0 instead of zero.d.
7583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7584 mp_no value for 1.0 and 2.0.
7585 (norm): Use RADIXI instead of radixi.d.
7587 (__mul): Use 0.0 instead of zero.d.
7589 2013-01-04 Joseph Myers <joseph@codesourcery.com>
7592 * math/s_casinh.c (__casinh): Reduce finite argument to first
7593 quadrant then set signs of results at the end.
7594 * math/s_casinhf.c (__casinhf): Likewise.
7595 * math/s_casinhl.c (__casinhl): Likewise.
7596 * math/libm-test.inc (casin_test): Add more tests.
7597 (casinh_test): Likewise.
7598 * sysdeps/i386/fpu/libm-test-ulps: Update.
7599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7601 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7603 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7605 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7607 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7610 (__mp_dbl): Likewise.
7613 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7614 and adjust the header comment.
7616 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7617 variable name from declaration.
7619 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7622 Initialize COMMON_CPUID_INDEX_7 element.
7623 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7624 (CPUID_RTM): Likewise.
7625 (HAS_RTM): Likewise.
7626 (COMMON_CPUID_INDEX_7): New enum.
7628 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7631 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7632 size is zero, record memory as freed.
7634 2013-01-03 Andreas Jaeger <aj@suse.de>
7636 * po/ia.po: Add new Interlingua translation.
7638 2012-01-03 Allan McRae <allan@archlinux.org>
7640 * locale/programs/localedef.c: Fix description of '--posix' flag.
7642 2013-01-02 Joseph Myers <joseph@codesourcery.com>
7644 * NEWS: Update dates in second copyright notice.
7645 * README: Update copyright dates in example.
7646 * manual/libc.texinfo: Update copyright dates.
7647 * scripts/test-installation.pl: Update copyright date in --version
7650 * hurd/ctty-input.c: Fix copyright notice formatting.
7651 * hurd/ctty-output.c: Likewise.
7652 * hurd/dtable.c: Likewise.
7653 * hurd/hurd-raise.c: Likewise.
7654 * hurd/hurdprio.c: Likewise.
7655 * hurd/msgportdemux.c: Likewise.
7656 * misc/sys/file.h: Likewise.
7657 * misc/sys/ioctl.h: Likewise.
7658 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7659 * sysdeps/mach/hurd/chdir.c: Likewise.
7660 * sysdeps/mach/hurd/fchdir.c: Likewise.
7661 * sysdeps/mach/hurd/rename.c: Likewise.
7662 * sysdeps/mach/hurd/rmdir.c: Likewise.
7663 * sysdeps/mach/hurd/seekdir.c: Likewise.
7664 * sysdeps/mach/hurd/setsid.c: Likewise.
7665 * sysdeps/posix/wait3.c: Likewise.
7667 * All files with FSF copyright notices: Update copyright dates
7668 using scripts/update-copyrights.
7669 * intl/plural.c: Regenerated.
7670 * locale/programs/charmap-kw.h: Likewise.
7671 * locale/programs/locfile-kw.h: Likewise.
7673 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7675 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7679 calculation loop and add branch prediction.
7681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7682 check access beyond bounds of m1np.
7684 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7686 (__inv): Remove local variable MPTWO to use the global
7688 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7689 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7692 MP3HALFS static const.
7694 2013-01-01 David S. Miller <davem@davemloft.net>
7696 * po/ca.po: Update from translation team.
7698 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7700 * scripts/update-copyrights: New file.
7701 * Makeconfig: Reformat copyright notice.
7702 * ctype/ctype.h: Likewise.
7703 * debug/swprintf_chk.c: Likewise.
7704 * elf/dl-cache.c: Likewise.
7705 * elf/dl-debug.c: Likewise.
7706 * elf/dl-object.c: Likewise.
7707 * grp/initgroups.c: Likewise.
7708 * hurd/Makefile: Likewise.
7709 * hurd/hurd/signal.h: Likewise.
7710 * hurd/hurdfault.c: Likewise.
7711 * hurd/hurdioctl.c: Likewise.
7712 * hurd/hurdlookup.c: Likewise.
7713 * hurd/intr-msg.c: Likewise.
7714 * iconv/gconv_open.c: Likewise.
7715 * libio/swprintf.c: Likewise.
7716 * locale/lc-ctype.c: Likewise.
7717 * locale/nl_langinfo.c: Likewise.
7718 * mach/Machrules: Likewise.
7719 * mach/Makefile: Likewise.
7720 * malloc/obstack.h: Likewise.
7721 * manual/Makefile: Likewise.
7722 * manual/tsort.awk: Likewise.
7723 * misc/bits/stab.def: Likewise.
7724 * nis/nis_print_group_entry.c: Likewise.
7725 * nis/nis_table.c: Likewise.
7726 * nis/nss_compat/compat-pwd.c: Likewise.
7727 * nis/nss_compat/compat-spwd.c: Likewise.
7728 * po/Makefile: Likewise.
7729 * posix/fnmatch.c: Likewise.
7730 * posix/regex.h: Likewise.
7731 * resolv/Makefile: Likewise.
7732 * resolv/nss_dns/dns-network.c: Likewise.
7733 * resolv/res_hconf.c: Likewise.
7734 * scripts/gen-sorted.awk: Likewise.
7735 * soft-fp/soft-fp.h: Likewise.
7736 * stdio-common/printf.h: Likewise.
7737 * stdlib/monetary.h: Likewise.
7738 * stdlib/random.c: Likewise.
7739 * stdlib/random_r.c: Likewise.
7740 * sysdeps/generic/Makefile: Likewise.
7741 * sysdeps/gnu/Makefile: Likewise.
7742 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7770 * sysdeps/mach/hurd/errnos.awk: Likewise.
7771 * sysdeps/mach/hurd/fork.c: Likewise.
7772 * sysdeps/mach/hurd/getcwd.c: Likewise.
7773 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7774 * sysdeps/mach/hurd/mmap.c: Likewise.
7775 * sysdeps/mach/hurd/utimes.c: Likewise.
7776 * sysdeps/mach/hurd/xmknod.c: Likewise.
7777 * sysdeps/posix/profil.c: Likewise.
7778 * sysdeps/posix/readdir_r.c: Likewise.
7779 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7780 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7781 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7782 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7784 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7786 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7788 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7789 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7790 * sysdeps/pthread/lio_listio.c: Likewise.
7791 * sysdeps/sparc/dl-procinfo.h: Likewise.
7792 * sysdeps/unix/i386/sysdep.S: Likewise.
7793 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7794 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7795 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7796 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7798 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7799 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7800 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7801 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7802 * sysdeps/wordsize-32/divdi3.c: Likewise.
7803 * time/sys/time.h: Likewise.
7804 * wcsmbs/Makefile: Likewise.
7806 2013-01-01 David S. Miller <davem@davemloft.net>
7808 * po/fr.po: Update from translation team.
7810 * catgets/gencat.c: Update copyright year.
7811 * csu/version.c: Likewise.
7812 * debug/catchsegv.sh: Likewise.
7813 * debug/pcprofiledump.c: Likewise.
7814 * debug/xtrace.sh: Likewise.
7815 * elf/ldconfig.c: Likewise.
7816 * elf/ldd.bash.in: Likewise.
7817 * elf/pldd.c: Likewise.
7818 * elf/sotruss.ksh: Likewise.
7819 * elf/sprof.c: Likewise.
7820 * iconv/iconv_prog.c: Likewise.
7821 * iconv/iconvconfig.c: Likewise.
7822 * locale/programs/locale.c: Likewise.
7823 * locale/programs/localedef.c: Likewise.
7824 * login/programs/pt_chown.c: Likewise.
7825 * malloc/memusage.sh: Likewise.
7826 * malloc/memusagestat.c: Likewise.
7827 * malloc/mtrace.pl: Likewise.
7828 * nscd/nscd.c: Likewise.
7829 * nss/getent.c: Likewise.
7830 * nss/makedb.c: Likewise.
7831 * posix/getconf.c: Likewise.
7833 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7835 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7838 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7840 * math/bits/mathcalls.h (modf): Use __nonnull.
7842 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7844 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7845 (split): Use macro CN instead of the bare value.
7846 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7849 instead of the bare value.
7852 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7854 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7858 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7860 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7861 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7862 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7863 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7865 2012-12-28 Andreas Jaeger <aj@suse.de>
7867 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7868 values are from Linux 3.7.
7870 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7871 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7873 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7875 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7878 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7880 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7881 variables with preprocessor constants.
7882 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7883 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7884 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7886 2012-12-27 Bruno Haible <bruno@clisp.org>
7889 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7892 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7895 and use variable directly.
7896 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7898 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7900 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7903 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7905 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7906 include directive. Remove local variable MPONE.
7907 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7908 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7909 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7911 2012-12-25 David S. Miller <davem@davemloft.net>
7913 * version.h (RELEASE): Set to "development".
7914 (VERSION): Set to "2.17.90".
7915 * NEWS: Add 2.18 section.
7917 2012-12-21 David S. Miller <davem@davemloft.net>
7919 * po/hr.po: Update from translation team.
7921 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7923 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7925 2012-12-19 Steve Ellcey <sellcey@mips.com>
7927 * NEWS: Mention new memcpy for MIPS.
7929 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7931 * manual/contrib.texi (Contributors): Spelling correction.
7933 2012-12-15 David S. Miller <davem@davemloft.net>
7935 * po/ru.po: Update from translation team.
7937 2012-12-13 David S. Miller <davem@davemloft.net>
7939 * NEWS: Mention IFUNC testsuite enhancements.
7941 * po/pl.po: Update from translation team.
7942 * po/bg.po: Likewise.
7944 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7945 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7947 2012-12-11 David S. Miller <davem@davemloft.net>
7949 * po/sv.po: Update from translation team.
7951 * po/vi.po: Update from translation team.
7953 * po/cs.po: Update from translation team.
7955 * po/de.po: Update from translation team.
7956 * po/eo.po: Likewise.
7957 * po/nl.po: Likewise.
7959 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7962 * manual/argp.texi (Argp Helper Functions): Move node to follow
7966 * manual/conf.texi (Limits on File System Capacity): Mention if
7967 terminating null is included in the max size.
7969 2012-12-10 Andreas Jaeger <aj@suse.de>
7971 * po/cs.po: Update from translation team.
7973 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7975 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7976 void pointer and cast to uintptr_t.
7977 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7979 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7980 * sysdeps/s390/s390-64/memset.S: Likewise.
7982 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
7985 * menual/message.texi (Message Translation): Fix typos.
7986 (Helper programs for gettext): Likewise.
7988 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7991 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7994 2012-12-07 David S. Miller <davem@davemloft.net>
7996 * po/libc.pot: Update.
7998 2012-12-07 Richard Henderson <rth@redhat.com>
8001 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8002 normal/normal case to before the switch.
8003 (_FP_DIV): Likewise.
8005 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8006 Mike Frysinger <vapier@gentoo.org>
8008 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8009 check for __NR_fadvise64_64.
8011 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8013 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8014 0, not just to plain "0" as a statement.
8015 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8018 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8020 * NEWS: Use sourceware.org in Bugzilla URL.
8022 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8025 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8027 * stdio-common/tst-put-error.c (do_test): Add newline to the
8028 padded test to ensure flush.
8030 2012-12-05 Jeff Law <law@redhat.com>
8032 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8034 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8036 * README: Don't refer to ports add-on as distributed separately.
8037 Mention AArch64 in list of systems supported in the ports add-on.
8039 * LICENSES: Add more non-FSF copyright and license notices.
8041 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8044 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8046 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8047 10000 as width of padded output.
8049 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8053 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8054 variable LX with __attribute__ ((unused)).
8055 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8058 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8060 with __attribute__ ((unused)).
8062 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8064 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8066 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8068 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8069 (CFLAGS-nldbl-acos.c): New variable.
8070 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8071 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8072 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8073 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8074 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8075 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8076 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8077 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8078 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8079 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8080 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8081 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8082 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8083 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8084 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8085 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8086 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8087 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8088 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8089 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8090 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8091 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8092 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8093 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8094 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8095 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8096 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8097 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8098 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8099 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8100 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8101 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8102 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8103 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8104 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8105 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8106 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8107 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8108 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8109 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8110 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8111 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8112 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8113 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8114 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8115 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8116 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8117 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8118 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8119 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8120 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8121 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8122 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8123 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8124 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8125 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8126 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8127 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8128 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8129 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8130 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8131 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8132 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8137 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8138 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8139 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8140 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8141 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8142 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8143 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8144 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8145 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8146 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8147 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8148 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8149 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8150 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8151 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8152 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8153 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8154 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8155 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8156 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8157 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8158 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8159 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8160 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8161 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8162 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8163 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8164 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8165 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8166 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8169 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8173 whole low double instead of just low 47 bits when splitting values
8176 2012-12-03 Allan McRae <allan@archlinux.org>
8178 * manual/stdio.texi (Predefined Printf Handlers): Remove
8179 @hsep and @vsep usage.
8181 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8183 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8184 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8186 2012-12-03 Jeff Law <law@redhat.com>
8188 * time/sys/time.h (settimeofday): Do not mark TV argument
8191 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8193 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8194 when currently writing and seek to current position when not.
8195 * libio/Makefile (tests): Remove bug-fclose1.
8196 * libio/bug-fclose1.c: Delete.
8198 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8200 * manual/arith.texi (feenableexcept): Fix typo.
8201 (fedisableexcept): Likewise.
8203 2012-11-30 Roland McGrath <roland@hack.frob.com>
8205 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8206 second, differently-typed declaration, rather than a cast.
8208 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8210 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8211 * include/rpc/svc.h: ... here.
8213 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8216 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8217 depending n and resplen2 to catch cases where answer
8220 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8222 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8223 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8225 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8227 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8229 2012-11-29 Roland McGrath <roland@hack.frob.com>
8231 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8233 2012-11-28 Jeff Law <law@redhat.com>
8236 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8237 dataset_temporary. Track alloca usage into alloca_used.
8238 If dataset is large allocate and release it via malloc/free.
8240 2012-06-04 Florian Weimer <fweimer@redhat.com>
8243 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8245 2012-11-28 David S. Miller <davem@davemloft.net>
8247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8249 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8252 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8253 of pi/2 rounded to nearest to 64 bits.
8254 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8256 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8259 2012-11-28 Jeff Law <law@redhat.com>
8260 Martin Osvald <mosvald@redhat.com>
8263 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8264 * sunrpc/svc.c: Include time.h.
8265 (__svc_accept_failed): New function.
8266 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8267 any reason other than EINTR, call __svc_accept_failed.
8268 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8269 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8271 2012-11-28 Andreas Schwab <schwab@suse.de>
8273 * scripts/abilist.awk: Also handle indirect functions in .opd
8276 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8279 * sysdeps/x86/fpu/powl_helper.c: New file.
8280 * sysdeps/x86/fpu/Makefile: Likewise.
8281 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8283 (__ieee754_powl): Use __powl_helper for finite arguments except
8284 integer exponents below 8.
8285 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8287 (__ieee754_powl): Use __powl_helper for finite arguments except
8288 integer exponents below 8.
8289 * math/libm-test.inc (pow_test): Add more tests and enable some
8290 previously disabled tests.
8291 * sysdeps/i386/fpu/libm-test-ulps: Update.
8292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8294 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8295 Carlos O'Donell <carlos_odonell@mentor.com>
8297 * nss/makedb.c (is_prime): Assert that input is odd and greater
8298 than 4. Note that fact in a comment too.
8299 (next_prime): Add 4 to input.
8301 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8304 * libio/Makefile (tests): Add test case tst-fwrite-error.
8305 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8306 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8307 * libio/tst-fwrite-error.c: New test case.
8309 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8311 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8312 before casting to void *.
8313 * include/libc-internal.h (__pointer_type): New macro.
8314 (__integer_if_pointer_type_sub): Likewise.
8315 (__integer_if_pointer_type): Likewise.
8316 (cast_to_integer): Likewise.
8317 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8318 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8319 before casting to atomic64_t.
8320 (atomic_exchange_acq): Likewise.
8321 (__arch_exchange_and_add_body): Likewise.
8322 (__arch_add_body): Likewise.
8323 (atomic_add_negative): Likewise.
8324 (atomic_add_zero): Likewise.
8326 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8328 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8329 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8330 (add_fdes): Likewise.
8331 (linear_search_fdes): Likewise.
8332 (binary_search_unencoded_fdes): Likewise.
8334 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8336 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8338 2012-11-24 Adam Conrad <adconrad@0c3.net>
8340 * configure.in: Autodetect C++ header directories.
8341 * configure: Regenerated.
8343 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8345 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8347 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8351 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8353 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8354 LDBL_MANT_DIG == 106]: Disable some tests.
8355 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8357 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8361 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8362 input for small inputs. Return +/- pi/2 for large inputs.
8363 * math/libm-test.inc (atan_test): Add more tests.
8365 * sysdeps/generic/unwind-dw2-fde-glibc.c
8366 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8367 __attribute__ ((unused)).
8370 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8371 x * y if x and y are nonzero and z is zero.
8374 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8375 nonzero exponents with absolute value below 0x1p-117 to +/-
8379 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8380 up arguments below 2**-450, not just those below 2**-500.
8381 * math/libm-test.inc (hypot_test): Add another test.
8384 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8385 Return a+b for ratio over 2**120, not 2**60.
8386 * math/libm-test.inc (hypot_test): Add another test.
8388 * math/libm-test.inc (clog_test): Use
8389 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8390 (clog10_test): Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8395 2012-11-22 Andreas Schwab <schwab@suse.de>
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8399 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8401 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8402 printf output with newline.
8404 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8407 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8408 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8409 -z nodlopen, -z initfirst and -z execstack support.
8410 * configure: Regenerated.
8412 * elf/elf.h (DF_1_NODIRECT): New macro.
8413 (DF_1_IGNMULDEF): Likewise.
8414 (DF_1_NOKSYMS): Likewise.
8415 (DF_1_NOHDR): Likewise.
8416 (DF_1_EDITED): Likewise.
8417 (DF_1_NORELOC): Likewise.
8418 (DF_1_SYMINTPOSE): Likewise.
8419 (DF_1_GLOBAUDIT): Likewise.
8420 (DF_1_SINGLETON): Likewise.
8421 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8422 DT_1_SUPPORTED_MASK bits.
8423 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8425 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8427 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8429 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8431 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8434 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8435 (sendmmsg): Move declarations...
8436 * socket/sys/socket.h: ... here.
8437 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8438 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8440 * socket/recvmmsg.c: ... this new file.
8441 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8442 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8443 definition of __sendmmsg hidden.
8444 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8445 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8446 Move ENOSYS stub into and include it from...
8447 * socket/sendmmsg.c: ... this new file.
8448 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8449 (sysdep_routines): Move recvmmsg and sendmmsg...
8450 * socket/Makefile (routines): ... here.
8451 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8452 (GLIBC_PRIVATE): Add __sendmmsg.
8453 * include/sys/socket.h (__sendmmsg): Add declarations.
8454 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8457 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8459 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8460 variable I1 with __attribute__ ((unused)).
8461 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8463 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8465 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8466 DUMMY variables with __attribute__ ((unused)).
8468 * bits/byteswap.h: Include <bits/types.h>.
8469 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8471 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8473 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8474 string_t. Do not manually set errno.
8475 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8476 length with __strnlen. Make sure to both set errno and return it on
8479 2012-11-19 David S. Miller <davem@davemloft.net>
8481 With help from Joseph Myers.
8482 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8483 very large arguments properly.
8484 * math/libm-test.inc (atan_test): New tests.
8485 (atan2_test): New tests.
8486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8489 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8492 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8495 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8496 [POSIX] (EADDRNOTAVAIL): Likewise.
8497 [POSIX] (EAFNOSUPPORT): Likewise.
8498 [POSIX] (EALREADY): Likewise.
8499 [POSIX] (ECONNABORTED): Likewise.
8500 [POSIX] (ECONNREFUSED): Likewise.
8501 [POSIX] (ECONNRESET): Likewise.
8502 [POSIX] (EDESTADDRREQ): Likewise.
8503 [POSIX] (EDQUOT): Likewise.
8504 [POSIX] (EHOSTUNREACH): Likewise.
8505 [POSIX] (EIDRM): Likewise.
8506 [POSIX] (EISCONN): Likewise.
8507 [POSIX] (ELOOP): Likewise.
8508 [POSIX] (EMULTIHOP): Likewise.
8509 [POSIX] (ENETDOWN): Likewise.
8510 [POSIX] (ENETUNREACH): Likewise.
8511 [POSIX] (ENOBUFS): Likewise.
8512 [POSIX] (ENODATA): Likewise.
8513 [POSIX] (ENOLINK): Likewise.
8514 [POSIX] (ENOMSG): Likewise.
8515 [POSIX] (ENOPROTOOPT): Likewise.
8516 [POSIX] (ENOSR): Likewise.
8517 [POSIX] (ENOSTR): Likewise.
8518 [POSIX] (ENOTCONN): Likewise.
8519 [POSIX] (ENOTSOCK): Likewise.
8520 [POSIX] (EOPNOTSUPP): Likewise.
8521 [POSIX] (EOVERFLOW): Likewise.
8522 [POSIX] (EPROTO): Likewise.
8523 [POSIX] (EPROTONOSUPPORT): Likewise.
8524 [POSIX] (EPROTOTYPE): Likewise.
8525 [POSIX] (ESTALE): Likewise.
8526 [POSIX] (ETIME): Likewise.
8527 [POSIX] (ETXTBSY): Likewise.
8528 [POSIX] (EWOULDBLOCK): Likewise.
8529 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8530 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8531 [POSIX] (SEEK_CUR): Likewise.
8532 [POSIX] (SEEK_END): Likewise.
8533 [POSIX || UNIX98] (mode_t): Do not require.
8534 [POSIX] (off_t): Likewise.
8535 [POSIX] (pid_t): Likewise.
8536 [POSIX] (sys/stat.h): Do not allow header.
8537 [POSIX] (unistd.h): Likewise.
8538 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8539 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8540 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8541 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8543 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8544 sigevent): Specify elements.
8545 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8547 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8548 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8550 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8551 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8552 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8553 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8554 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8555 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8556 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8557 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8558 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8559 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8560 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8561 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8562 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8569 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8571 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8572 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8573 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8574 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8575 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8576 Specify lower bound on value.
8577 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8578 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8579 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8580 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8581 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8582 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8583 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8584 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8586 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8588 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8589 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8590 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8591 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8592 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8593 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8594 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8595 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8596 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8597 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8598 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8599 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8600 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8601 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8602 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8603 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8605 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8607 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8608 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8609 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8610 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8611 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8612 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8614 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8615 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8616 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8617 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8618 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8619 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8622 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8623 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8625 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8626 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8627 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8628 specify as optional.
8629 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8630 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8631 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8632 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8633 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8634 [XPG3] (NL_LANGMAX): Likewise.
8635 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8636 [POSIX || XPG3] (NL_NMAX): Likewise.
8637 [POSIX || XPG3] (NL_SETMAX): Likewise.
8638 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8639 [XPG3] (NZERO): Likewise.
8640 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8641 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8642 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8643 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8644 (REG_ERANGE): Expect.
8645 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8647 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8648 Use (void) in prototype.
8649 [POSIX] (*_t): Allow.
8650 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8651 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8652 (WRDE_BADVAL): Expect.
8654 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8656 [XPG3 || XPG4] (O_RSYNC): Likewise.
8657 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8659 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8660 [XPG3 || XPG4] (sigqueue): Likewise.
8661 [XPG3 || XPG4] (sigtimedwait): Likewise.
8662 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8663 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8664 [XPG3 || XPG4] (vsnprintf): Likewise.
8665 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8667 [XPG3 || XPG4] (blksize_t): Likewise.
8668 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8670 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8671 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8672 [XPG3 || XPG4] (struct itimerspec): Likewise.
8673 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8674 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8675 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8676 [XPG3 || XPG4] (clockid_t): Likewise.
8677 [XPG3 || XPG4] (timer_t): Likewise.
8678 [XPG3 || XPG4] (clock_getres): Likewise.
8679 [XPG3 || XPG4] (clock_gettime): Likewise.
8680 [XPG3 || XPG4] (clock_settime): Likewise.
8681 [XPG3 || XPG4] (nanosleep): Likewise.
8682 [XPG3 || XPG4] (timer_create): Likewise.
8683 [XPG3 || XPG4] (timer_delete): Likewise.
8684 [XPG3 || XPG4] (timer_gettime): Likewise.
8685 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8686 [XPG3 || XPG4] (timer_settime): Likewise.
8687 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8688 [XPG3 || XPG4] (getlogin_r): Likewise.
8689 [XPG3 || XPG4] (pread): Likewise.
8690 [XPG3 || XPG4] (pthread_atfork): Likewise.
8691 [XPG3 || XPG4] (pwrite): Likewise.
8694 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8697 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8699 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8700 finalizing MALLSTREAM.
8702 * sysdeps/mach/hurd/syncfs.c: New file.
8704 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8707 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8708 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8709 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8710 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8711 (_nss_dns_gethostbyname4_r): Likewise.
8712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8713 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8715 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8718 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8720 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8722 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8723 * elf/cache.c (print_entry): Print ",AArch64" for
8726 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8727 * elf/cache.c (print_entry): Print ",hard-float" for
8730 2012-11-18 David S. Miller <davem@davemloft.net>
8732 With help from Joseph Myers.
8733 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8735 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8737 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8738 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8740 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8741 * math/libm-test.inc (y0_test): New tests.
8742 (y1_test): New tests.
8743 * sysdeps/i386/fpu/libm-test-ulps: Update.
8744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8747 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8749 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8751 * configure: Regenerated.
8753 2012-11-17 David S. Miller <davem@davemloft.net>
8756 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8757 nonzero exponents with absolute value below 0x1p-128 to +/-
8760 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8764 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8766 * posix/getconf-speclist.c: New file.
8767 * posix/posix-envs.def: Likewise.
8768 * posix/confstr.c (START_ENV_GROUP): New macro.
8769 (END_ENV_GROUP): Likewise.
8770 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8771 (KNOWN_PRESENT_ENV_STRING): Likewise.
8772 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8773 (UNKNOWN_ENVIRONMENT): Likewise.
8774 (confstr): Include posix-envs.def instead of handling
8775 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8776 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8777 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8778 (END_ENV_GROUP): Likewise.
8779 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8780 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8781 (UNKNOWN_ENVIRONMENT): Likewise.
8782 (__sysconf): Include posix-envs.def instead of handling associated
8783 cases directly here.
8784 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8785 preprocessing getconf-speclist.c rather than running getconf or
8786 generating empty file.
8788 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8790 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8792 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8795 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8797 2012-11-16 David S. Miller <davem@davemloft.net>
8799 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8800 smaller than LDBL_EPSILON/2.0L, just return xm1.
8802 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8804 * elf/tst-array1.c (init): Set constructor priority to 1000.
8805 (fini): Set destructor priority to 1000.
8806 * elf/tst-array2dep.c: Likewise.
8808 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8811 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8812 (_IO_new_file_xsputn): Also return EOF if none of the input
8813 data was written when overflow failed.
8814 * libio/iopadn.c (_IO_padn): Likewise.
8815 * libio/iowpadn.c (_IO_wpadn): Likewise.
8816 * stdio-common/tst-put-error.c: Add copyright notice.
8817 (do_test): Add case for printing padded string.
8818 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8819 _IO_padn returned error.
8820 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8821 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8824 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * libio/libioP.h: Add comment note that the references to C++
8827 bits are now obsolete.
8829 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8831 * math/libm-test.inc (check_complex): Use asprintf.
8833 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8835 * debug/pcprofiledump.c (print_version): Update copyright year.
8836 * malloc/memusagestat.c (print_version): Likewise.
8838 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8841 * elf/Makefile (tests): Add tst-audit8.
8842 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8843 ($(objpfx)tst-audit8.out): New target.
8844 (tst-audit8-ENV): New variable.
8845 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8846 audit if l_reloc_result is NULL.
8847 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8848 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8849 * elf/tst-audit8.c: New file.
8851 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8853 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8854 * misc/Makefile (CFLAGS-select.c): Define.
8855 * posix/Makefile (CFLAGS-pause.c): Define.
8857 2012-11-13 David S. Miller <davem@davemloft.net>
8859 * crypt/Makefile: Move test targets after toplevel Rules
8860 inclusion. Grab any necessary sysdep routines when linking.
8861 * crypt/md5.c (md5_process_block): Remove define, we will always
8862 name it __md5_process_block.
8863 (md5_finish_ctx): Update md5_process_block call.
8864 (md5_stream): Likewise.
8865 (md5_process_bytes): Likewise.
8866 (md5_process_block): Rename to __md5_process_block and move to ...
8867 * crypt/md5-block.c: ... here.
8868 * crypt/sha256.c (sha256_process_block): Move to ...
8869 * crypt/sha256-block.c: ... here.
8870 * crypt/sha512.c (sha512_process_block): Move to ...
8871 * crypt/sha512-block.c: ... here.
8872 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8874 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8875 * sysdeps/sparc/sparc64/multiarch/Makefile
8876 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8878 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8879 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8881 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8882 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8883 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8884 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8885 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8886 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8887 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8888 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8889 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8891 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8892 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8894 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8896 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8898 * timezone/tzselect.ksh: Update from tzcode git revision
8899 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8900 * timezone/zdump.c: Likewise.
8901 * timezone/zic.c: Likewise.
8902 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8903 in TZVERSION setting, not $(PKGVERSION).
8904 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8905 REPORT_BUGS_TO settings.
8908 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8911 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8913 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8914 detection to immediately after _FP_ROUND().
8915 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8918 2012-11-11 David S. Miller <davem@davemloft.net>
8920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8922 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8923 __close rather than their public counterparts.
8925 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8927 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8929 [UNIX98] (sem_timedwait): Do not expect.
8930 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8931 [XPG4 || UNIX98] (sockatmark): Do not expect.
8932 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8933 (clock_getcpuclockid): Do not expect.
8934 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8935 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8937 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8938 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8939 [UNIX98] (vwscanf): Likewise.
8940 [UNIX98] (vswscanf): Likewise.
8942 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8944 * timezone/version.h: Remove file.
8945 * timezone/README: Do not refer to version.h.
8946 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8948 ($(objpfx)zdump.o): Likewise.
8949 ($(objpfx)version.h): New target.
8951 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8953 * timezone/README: Don't mention modification to tzselect.ksh.
8954 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8955 work on unmodified tzselect.ksh. Substitute version numbers in
8958 * Makefile (format-me): Remove.
8959 (INSTALL): Adjust indentation. Use commands directly instead of
8962 * aclocal.m4 (ACX_PKGVERSION): New macro.
8963 (ACX_BUGURL): Likewise.
8964 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8965 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8966 (REPORT_BUGS_TO): Likewise.
8967 * configure: Regenerated.
8968 * config.h.in (PKGVERSION): New macro.
8969 (REPORT_BUGS_TO): Likewise.
8970 * config.make.in (PKGVERSION): New variable.
8971 (PKGVERSION_TEXI): Likewise.
8972 (REPORT_BUGS_TO): Likewise.
8973 (REPORT_BUGS_TEXI): Likewise.
8974 * Makefile (format-me): Use -I$(common-objpfx)manual.
8975 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8976 ($(common-objpfx)manual/%): New target.
8977 (manual/%): Remove target.
8978 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8979 (print_version): Use PKGVERSION.
8980 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8981 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8983 ($(objpfx)xtrace): Likewise.
8984 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8985 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8986 (print_version): Use PKGVERSION.
8987 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8988 (do_version): Use PKGVERSION.
8989 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8991 (common-ldd-rewrite): Likewise.
8992 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8993 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8994 (print_version): Use PKGVERSION.
8995 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8996 * elf/pldd.c (argp_program_bug_address): Remove variable.
8997 (more_help): New function.
8998 (argp): Use more_help.
8999 (print_version): Use PKGVERSION.
9000 * elf/sln.c (main): Use PKGVERSION.
9001 (usage): Use REPORT_BUGS_TO.
9002 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9003 (top level): Use PKGVERSION.
9004 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9005 (print_version): Use PKGVERSION.
9006 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9007 (print_version): Use PKGVERSION.
9008 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9009 (print_version): Use PKGVERSION.
9010 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9011 (print_version): Use PKGVERSION.
9012 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9013 (print_version): Use PKGVERSION.
9014 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9015 (print_version): Use PKGVERSION.
9016 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9018 ($(objpfx)memusage): Likewise.
9019 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9020 (do_version): Use PKGVERSION.
9021 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9022 (print_version): Use PKGVERSION.
9023 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9024 ($PKGVERSION): New variable.
9025 ($REPORT_BUGS_TO): Likewise.
9026 (usage): Use $REPORT_BUGS_TO.
9027 (top level): Use $PKGVERSION.
9028 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9029 ($(objpfx)pkgvers.texi): New rule.
9030 ($(objpfx)stamp-pkgvers): Likewise.
9031 * manual/install.texi: Include pkgvers.texi.
9032 (--with-pkgversion): Document new configure option.
9033 (--with-bugurl): Likewise.
9034 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9035 than necessarily for this particular distribution. Use
9036 REPORT_BUGS_TO for where to report bugs.
9037 * INSTALL: Regenerated.
9038 * manual/libc.texinfo: Include pkgvers.texi.
9039 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9040 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9041 (print_version): Use PKGVERSION.
9042 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9043 (print_version): Use PKGVERSION.
9044 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9045 (print_version): Use PKGVERSION.
9046 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9047 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9049 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9050 (print_version): Use PKGVERSION.
9051 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9052 (print_version): Use PKGVERSION.
9053 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9056 * timezone/checktab.awk: Update from tzcode 2012i.
9057 * timezone/ialloc.c: Likewise.
9058 * timezone/private.h: Likewise.
9059 * timezone/scheck.c: Likewise.
9060 * timezone/tzfile.h: Likewise.
9061 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9062 (TZVERSION): Hardcode tzcode version number.
9063 * timezone/zdump.c: Update from tzcode 2012i.
9064 * timezone/zic.c: Likewise.
9065 * timezone/version.h: New file.
9066 * timezone/README: Describe version.h. Update upstream location.
9069 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9070 (mktemp): Enable declaration.
9071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9088 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9089 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9090 for copies of such integer values.
9091 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9092 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9094 2012-11-09 Andreas Jaeger <aj@suse.de>
9096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9097 definitions and declarations that are provided by
9098 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9100 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9102 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9103 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9104 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9107 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9109 * elf/elf.h: Update comment before AArch64 relocations.
9111 2012-11-07 David S. Miller <davem@davemloft.net>
9113 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9114 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9115 (__start_context): Declare.
9116 (__makecontext_ret): Delete.
9117 (__makecontext): Hook up __start_context instead of
9119 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9120 (sysdep_routines): Add __start_context when in stdlib.
9122 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9125 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9126 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9128 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9129 (READELF): New variable. Use it instead of hardcoded "readelf".
9131 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9133 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9134 * sysdeps/x86/Makefile: Here.
9135 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9136 * sysdeps/x86/tst-xmmymm.sh: This.
9138 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9140 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9142 [UNIX98] (pthread_barrier_t): Do not expect.
9143 [UNIX98] (pthread_barrierattr_t): Likewise.
9144 [UNIX98] (pthread_spinlock_t): Likewise.
9145 [UNIX98] (pthread_barrier_destroy): Likewise.
9146 [UNIX98] (pthread_barrier_init): Likewise.
9147 [UNIX98] (pthread_barrier_wait): Likewise.
9148 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9149 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9150 [UNIX98] (pthread_barrierattr_init): Likewise.
9151 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9152 [UNIX98] (pthread_getcpuclockid): Likewise.
9153 [UNIX98] (pthread_mutex_timedlock): Likewise.
9154 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9155 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9156 [UNIX98] (pthread_sigmask): Likewise.
9157 [UNIX98] (pthread_spin_destroy): Likewise.
9158 [UNIX98] (pthread_spin_init): Likewise.
9159 [UNIX98] (pthread_spin_lock): Likewise.
9160 [UNIX98] (pthread_spin_trylock): Likewise.
9161 [UNIX98] (pthread_spin_unlock): Likewise.
9162 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9164 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9165 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9166 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9167 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9168 [XPG3 || XPG4] (pthread_key_t): Likewise.
9169 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9170 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9171 [XPG3 || XPG4] (pthread_once_t): Likewise.
9172 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9173 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9174 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9175 [XPG3 || XPG4] (pthread_t): Likewise.
9177 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9179 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9182 Change function return type to int.
9184 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9185 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9186 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9187 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9188 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9189 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9190 [!POSIX] (posix_madvise): Likewise.
9191 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9193 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9194 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9196 (posix_mem_offset): Likewise.
9197 (posix_typed_mem_get_info): Likewise.
9198 (posix_typed_mem_open): Likewise.
9200 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9201 Change condition to [XOPEN2K8].
9203 * conform/conformtest.pl: Preprocess allow-header data with -x c
9204 instead of from stdin.
9205 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9206 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9207 [C99-based standards] (cerfc): Likewise.
9208 [C99-based standards] (cexp2): Likewise.
9209 [C99-based standards] (cexpm1): Likewise.
9210 [C99-based standards] (clog10): Likewise.
9211 [C99-based standards] (clog1p): Likewise.
9212 [C99-based standards] (clog2): Likewise.
9213 [C99-based standards] (clgamma): Likewise.
9214 [C99-based standards] (ctgamma): Likewise.
9215 [C99-based standards] (cerff): Likewise.
9216 [C99-based standards] (cerfcf): Likewise.
9217 [C99-based standards] (cexp2f): Likewise.
9218 [C99-based standards] (cexpm1f): Likewise.
9219 [C99-based standards] (clog10f): Likewise.
9220 [C99-based standards] (clog1pf): Likewise.
9221 [C99-based standards] (clog2f): Likewise.
9222 [C99-based standards] (clgammaf): Likewise.
9223 [C99-based standards] (ctgammaf): Likewise.
9224 [C99-based standards] (cerfl): Likewise.
9225 [C99-based standards] (cerfcl): Likewise.
9226 [C99-based standards] (cexp2l): Likewise.
9227 [C99-based standards] (cexpm1l): Likewise.
9228 [C99-based standards] (clog10l): Likewise.
9229 [C99-based standards] (clog1pl): Likewise.
9230 [C99-based standards] (clog2l): Likewise.
9231 [C99-based standards] (clgammal): Likewise.
9232 [C99-based standards] (ctgammal): Likewise.
9233 * conform/data/inttypes.h-data [C99-based standards]: Include
9234 stdint.h-data. Remove all expectations for stdint.h contents.
9235 [C99-based standards] (PRI*): Do not allow.
9236 [C99-based standards] (SCN*): Likewise.
9237 [C99-based standards] (*_t): Likewise.
9238 [C99-based-standards] (PRId8): Expect macro.
9239 [C99-based-standards] (PRIi8): Likewise.
9240 [C99-based-standards] (PRIo8): Likewise.
9241 [C99-based-standards] (PRIu8): Likewise.
9242 [C99-based-standards] (PRIx8): Likewise.
9243 [C99-based-standards] (PRIX8): Likewise.
9244 [C99-based-standards] (SCNd8): Likewise.
9245 [C99-based-standards] (SCNi8): Likewise.
9246 [C99-based-standards] (SCNo8): Likewise.
9247 [C99-based-standards] (SCNu8): Likewise.
9248 [C99-based-standards] (SCNx8): Likewise.
9249 [C99-based-standards] (PRIdLEAST8): Likewise.
9250 [C99-based-standards] (PRIiLEAST8): Likewise.
9251 [C99-based-standards] (PRIoLEAST8): Likewise.
9252 [C99-based-standards] (PRIuLEAST8): Likewise.
9253 [C99-based-standards] (PRIxLEAST8): Likewise.
9254 [C99-based-standards] (PRIXLEAST8): Likewise.
9255 [C99-based-standards] (SCNdLEAST8): Likewise.
9256 [C99-based-standards] (SCNiLEAST8): Likewise.
9257 [C99-based-standards] (SCNoLEAST8): Likewise.
9258 [C99-based-standards] (SCNuLEAST8): Likewise.
9259 [C99-based-standards] (SCNxLEAST8): Likewise.
9260 [C99-based-standards] (PRIdFAST8): Likewise.
9261 [C99-based-standards] (PRIiFAST8): Likewise.
9262 [C99-based-standards] (PRIoFAST8): Likewise.
9263 [C99-based-standards] (PRIuFAST8): Likewise.
9264 [C99-based-standards] (PRIxFAST8): Likewise.
9265 [C99-based-standards] (PRIXFAST8): Likewise.
9266 [C99-based-standards] (SCNdFAST8): Likewise.
9267 [C99-based-standards] (SCNiFAST8): Likewise.
9268 [C99-based-standards] (SCNoFAST8): Likewise.
9269 [C99-based-standards] (SCNuFAST8): Likewise.
9270 [C99-based-standards] (SCNxFAST8): Likewise.
9271 [C99-based-standards] (PRId16): Likewise.
9272 [C99-based-standards] (PRIi16): Likewise.
9273 [C99-based-standards] (PRIo16): Likewise.
9274 [C99-based-standards] (PRIu16): Likewise.
9275 [C99-based-standards] (PRIx16): Likewise.
9276 [C99-based-standards] (PRIX16): Likewise.
9277 [C99-based-standards] (SCNd16): Likewise.
9278 [C99-based-standards] (SCNi16): Likewise.
9279 [C99-based-standards] (SCNo16): Likewise.
9280 [C99-based-standards] (SCNu16): Likewise.
9281 [C99-based-standards] (SCNx16): Likewise.
9282 [C99-based-standards] (PRIdLEAST16): Likewise.
9283 [C99-based-standards] (PRIiLEAST16): Likewise.
9284 [C99-based-standards] (PRIoLEAST16): Likewise.
9285 [C99-based-standards] (PRIuLEAST16): Likewise.
9286 [C99-based-standards] (PRIxLEAST16): Likewise.
9287 [C99-based-standards] (PRIXLEAST16): Likewise.
9288 [C99-based-standards] (SCNdLEAST16): Likewise.
9289 [C99-based-standards] (SCNiLEAST16): Likewise.
9290 [C99-based-standards] (SCNoLEAST16): Likewise.
9291 [C99-based-standards] (SCNuLEAST16): Likewise.
9292 [C99-based-standards] (SCNxLEAST16): Likewise.
9293 [C99-based-standards] (PRIdFAST16): Likewise.
9294 [C99-based-standards] (PRIiFAST16): Likewise.
9295 [C99-based-standards] (PRIoFAST16): Likewise.
9296 [C99-based-standards] (PRIuFAST16): Likewise.
9297 [C99-based-standards] (PRIxFAST16): Likewise.
9298 [C99-based-standards] (PRIXFAST16): Likewise.
9299 [C99-based-standards] (SCNdFAST16): Likewise.
9300 [C99-based-standards] (SCNiFAST16): Likewise.
9301 [C99-based-standards] (SCNoFAST16): Likewise.
9302 [C99-based-standards] (SCNuFAST16): Likewise.
9303 [C99-based-standards] (SCNxFAST16): Likewise.
9304 [C99-based-standards] (PRId32): Likewise.
9305 [C99-based-standards] (PRIi32): Likewise.
9306 [C99-based-standards] (PRIo32): Likewise.
9307 [C99-based-standards] (PRIu32): Likewise.
9308 [C99-based-standards] (PRIx32): Likewise.
9309 [C99-based-standards] (PRIX32): Likewise.
9310 [C99-based-standards] (SCNd32): Likewise.
9311 [C99-based-standards] (SCNi32): Likewise.
9312 [C99-based-standards] (SCNo32): Likewise.
9313 [C99-based-standards] (SCNu32): Likewise.
9314 [C99-based-standards] (SCNx32): Likewise.
9315 [C99-based-standards] (PRIdLEAST32): Likewise.
9316 [C99-based-standards] (PRIiLEAST32): Likewise.
9317 [C99-based-standards] (PRIoLEAST32): Likewise.
9318 [C99-based-standards] (PRIuLEAST32): Likewise.
9319 [C99-based-standards] (PRIxLEAST32): Likewise.
9320 [C99-based-standards] (PRIXLEAST32): Likewise.
9321 [C99-based-standards] (SCNdLEAST32): Likewise.
9322 [C99-based-standards] (SCNiLEAST32): Likewise.
9323 [C99-based-standards] (SCNoLEAST32): Likewise.
9324 [C99-based-standards] (SCNuLEAST32): Likewise.
9325 [C99-based-standards] (SCNxLEAST32): Likewise.
9326 [C99-based-standards] (PRIdFAST32): Likewise.
9327 [C99-based-standards] (PRIiFAST32): Likewise.
9328 [C99-based-standards] (PRIoFAST32): Likewise.
9329 [C99-based-standards] (PRIuFAST32): Likewise.
9330 [C99-based-standards] (PRIxFAST32): Likewise.
9331 [C99-based-standards] (PRIXFAST32): Likewise.
9332 [C99-based-standards] (SCNdFAST32): Likewise.
9333 [C99-based-standards] (SCNiFAST32): Likewise.
9334 [C99-based-standards] (SCNoFAST32): Likewise.
9335 [C99-based-standards] (SCNuFAST32): Likewise.
9336 [C99-based-standards] (SCNxFAST32): Likewise.
9337 [C99-based-standards] (PRId64): Likewise.
9338 [C99-based-standards] (PRIi64): Likewise.
9339 [C99-based-standards] (PRIo64): Likewise.
9340 [C99-based-standards] (PRIu64): Likewise.
9341 [C99-based-standards] (PRIx64): Likewise.
9342 [C99-based-standards] (PRIX64): Likewise.
9343 [C99-based-standards] (SCNd64): Likewise.
9344 [C99-based-standards] (SCNi64): Likewise.
9345 [C99-based-standards] (SCNo64): Likewise.
9346 [C99-based-standards] (SCNu64): Likewise.
9347 [C99-based-standards] (SCNx64): Likewise.
9348 [C99-based-standards] (PRIdLEAST64): Likewise.
9349 [C99-based-standards] (PRIiLEAST64): Likewise.
9350 [C99-based-standards] (PRIoLEAST64): Likewise.
9351 [C99-based-standards] (PRIuLEAST64): Likewise.
9352 [C99-based-standards] (PRIxLEAST64): Likewise.
9353 [C99-based-standards] (PRIXLEAST64): Likewise.
9354 [C99-based-standards] (SCNdLEAST64): Likewise.
9355 [C99-based-standards] (SCNiLEAST64): Likewise.
9356 [C99-based-standards] (SCNoLEAST64): Likewise.
9357 [C99-based-standards] (SCNuLEAST64): Likewise.
9358 [C99-based-standards] (SCNxLEAST64): Likewise.
9359 [C99-based-standards] (PRIdFAST64): Likewise.
9360 [C99-based-standards] (PRIiFAST64): Likewise.
9361 [C99-based-standards] (PRIoFAST64): Likewise.
9362 [C99-based-standards] (PRIuFAST64): Likewise.
9363 [C99-based-standards] (PRIxFAST64): Likewise.
9364 [C99-based-standards] (PRIXFAST64): Likewise.
9365 [C99-based-standards] (SCNdFAST64): Likewise.
9366 [C99-based-standards] (SCNiFAST64): Likewise.
9367 [C99-based-standards] (SCNoFAST64): Likewise.
9368 [C99-based-standards] (SCNuFAST64): Likewise.
9369 [C99-based-standards] (SCNxFAST64): Likewise.
9370 [C99-based-standards] (PRIdMAX): Likewise.
9371 [C99-based-standards] (PRIiMAX): Likewise.
9372 [C99-based-standards] (PRIoMAX): Likewise.
9373 [C99-based-standards] (PRIuMAX): Likewise.
9374 [C99-based-standards] (PRIxMAX): Likewise.
9375 [C99-based-standards] (PRIXMAX): Likewise.
9376 [C99-based-standards] (SCNdMAX): Likewise.
9377 [C99-based-standards] (SCNiMAX): Likewise.
9378 [C99-based-standards] (SCNoMAX): Likewise.
9379 [C99-based-standards] (SCNuMAX): Likewise.
9380 [C99-based-standards] (SCNxMAX): Likewise.
9381 [C99-based-standards] (PRIdPTR): Likewise.
9382 [C99-based-standards] (PRIiPTR): Likewise.
9383 [C99-based-standards] (PRIoPTR): Likewise.
9384 [C99-based-standards] (PRIuPTR): Likewise.
9385 [C99-based-standards] (PRIxPTR): Likewise.
9386 [C99-based-standards] (PRIXPTR): Likewise.
9387 [C99-based-standards] (SCNdPTR): Likewise.
9388 [C99-based-standards] (SCNiPTR): Likewise.
9389 [C99-based-standards] (SCNoPTR): Likewise.
9390 [C99-based-standards] (SCNuPTR): Likewise.
9391 [C99-based-standards] (SCNxPTR): Likewise.
9392 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9394 * conform/data/stdint.h-data: Update comments to clarify
9396 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9398 [C99-based standards] (INT8_MAX): Likewise.
9399 [C99-based standards] (INT16_MIN): Likewise.
9400 [C99-based standards] (INT16_MAX): Likewise.
9401 [C99-based standards] (INT32_MIN): Likewise.
9402 [C99-based standards] (INT32_MAX): Likewise.
9403 [C99-based standards] (INT64_MIN): Likewise.
9404 [C99-based standards] (INT64_MAX): Likewise.
9405 [C99-based standards] (UINT8_MAX): Likewise.
9406 [C99-based standards] (UINT16_MAX): Likewise.
9407 [C99-based standards] (UINT32_MAX): Likewise.
9408 [C99-based standards] (UINT64_MAX): Likewise.
9409 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9410 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9411 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9412 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9413 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9414 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9415 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9416 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9417 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9418 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9419 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9420 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9421 [C99-based standards] (INT_FAST8_MIN): Likewise.
9422 [C99-based standards] (INT_FAST8_MAX): Likewise.
9423 [C99-based standards] (INT_FAST16_MIN): Likewise.
9424 [C99-based standards] (INT_FAST16_MAX): Likewise.
9425 [C99-based standards] (INT_FAST32_MIN): Likewise.
9426 [C99-based standards] (INT_FAST32_MAX): Likewise.
9427 [C99-based standards] (INT_FAST64_MIN): Likewise.
9428 [C99-based standards] (INT_FAST64_MAX): Likewise.
9429 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9430 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9431 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9432 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9433 [C99-based standards] (INTPTR_MIN): Likewise.
9434 [C99-based standards] (INTPTR_MAX): Likewise.
9435 [C99-based standards] (UINTPTR_MAX): Likewise.
9436 [C99-based standards] (INTMAX_MIN): Likewise.
9437 [C99-based standards] (INTMAX_MAX): Likewise.
9438 [C99-based standards] (UINTMAX_MAX): Likewise.
9439 [C99-based standards] (PTRDIFF_MIN): Likewise.
9440 [C99-based standards] (PTRDIFF_MAX): Likewise.
9441 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9442 [C99-based standards] (SIZE_MAX): Likewise.
9443 [C99-based standards] (WCHAR_MAX): Likewise.
9444 [C99-based standards] (WINT_MAX): Likewise.
9445 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9446 constraint on value.
9447 [C99-based standards] (WCHAR_MIN): Likewise.
9448 [C99-based standards] (WINT_MIN): Likewise.
9449 [C99-based standards] (*_t): Allow.
9450 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9451 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9452 Include math.h-data and complex.h-data. Remove all expectations
9453 of math.h and complex.h contents.
9454 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9456 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9457 (struct tm): Expect tag.
9458 [C99-based-standards] (wcstof): Expect function.
9459 [C99-based-standards] (wcstold): Likewise.
9460 [C99-based-standards] (wcstoll): Likewise.
9461 [C99-based-standards] (wcstoull): Likewise.
9462 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9463 macro-int-constant. Specify type.
9464 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9465 constraint on value.
9466 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9468 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9470 [ISO C standards]: Do not allow headers.
9471 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9472 wcs[abcdefghijklmnopqrstuvwxyz]*.
9473 [ISO C standards] (*_t): Do not allow.
9474 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9476 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9477 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9479 [ISO C standards]: Do not allow headers.
9480 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9481 is[abcdefghijklmnopqrstuvwxyz]*.
9482 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9483 to[abcdefghijklmnopqrstuvwxyz]*.
9484 [ISO C standards] (*_t): Do not allow.
9485 * conform/data/stdalign.h-data: New file.
9486 * conform/data/stdbool.h-data: Likewise.
9487 * conform/data/stdnoreturn.h-data: Likewise.
9489 2012-11-07 Roland McGrath <roland@hack.frob.com>
9492 * manual/filesys.texi (Directory Entries): Typo fix.
9493 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9495 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9497 * elf/elf.h (EM_AARCH64): New macro.
9498 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9499 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9500 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9501 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9502 (R_AARCH64_TLSDESC): Likewise.
9503 (NT_ARM_TLS): Likewise.
9504 (NT_ARM_HW_BREAK): Likewise.
9505 (NT_ARM_HW_WATCH): Likewise.
9507 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9510 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9511 (__ieee754_powl): Saturate nonzero exponents with absolute value
9512 below 0x1p-79 to +/- 0x1p-79.
9513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9514 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9515 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9516 nonzero exponents with absolute value below 0x1p-32 to +/-
9518 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9519 (__ieee754_powl): Saturate nonzero exponents with absolute value
9520 below 0x1p-79 to +/- 0x1p-79.
9521 * math/libm-test.inc (pow_test): Add more tests.
9523 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9525 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9526 _dl_s390_cap_flags with kernel. Increase string length.
9527 (_dl_s390_platforms): Add z196 and zEC12.
9529 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9531 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9532 Change XOPEN21K to XOPEN2K.
9534 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9536 * string/memmove.c: Use memcpy when possible.
9538 2012-11-06 Andreas Jaeger <aj@suse.de>
9540 * po/eo.po: Update from translation team.
9542 2012-11-06 Joseph Myers <joseph@codesourcery.com>
9545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9546 exponent and small x and y exponents, scale x or y up. Increase
9547 by 2 the exponent used in scaling up.
9548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9550 * math/libm-test.inc (fma_test): Add more tests.
9551 (fma_test_towardzero): Likewise.
9552 (fma_test_downward): Likewise.
9553 (fma_test_upward): Likewise.
9555 2012-11-05 Joseph Myers <joseph@codesourcery.com>
9558 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9562 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9563 namespace for names of struct fields.
9564 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9566 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9567 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9569 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9572 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9574 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9576 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9580 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9583 2012-11-04 Joseph Myers <joseph@codesourcery.com>
9586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9587 definitely overflow as x * y not x * y + z.
9588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9590 * math/libm-test.inc (fma_test): Add more tests.
9591 (fma_test_towardzero): Likewise.
9592 (fma_test_downward): Likewise.
9593 (fma_test_upward): Likewise.
9595 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9599 * include/stub-tag.h: Remove file.
9600 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9602 * manual/maint.texi (Porting): Don't reference it.
9603 * Makerules ($(objpfx)stubs): Likewise.
9604 * dirent/closedir.c: Don't include <stub-tag.h>.
9605 * dirent/dirfd.c: Likewise.
9606 * dirent/fdopendir.c: Likewise.
9607 * dirent/getdents.c: Likewise.
9608 * dirent/getdents64.c: Likewise.
9609 * dirent/opendir.c: Likewise.
9610 * dirent/readdir.c: Likewise.
9611 * dirent/readdir64.c: Likewise.
9612 * dirent/readdir64_r.c: Likewise.
9613 * dirent/readdir_r.c: Likewise.
9614 * dirent/rewinddir.c: Likewise.
9615 * dirent/seekdir.c: Likewise.
9616 * dirent/telldir.c: Likewise.
9617 * gmon/profil.c: Likewise.
9618 * grp/setgroups.c: Likewise.
9619 * inet/if_index.c: Likewise.
9620 * io/access.c: Likewise.
9621 * io/chdir.c: Likewise.
9622 * io/chmod.c: Likewise.
9623 * io/chown.c: Likewise.
9624 * io/close.c: Likewise.
9625 * io/dup.c: Likewise.
9626 * io/dup2.c: Likewise.
9627 * io/dup3.c: Likewise.
9628 * io/euidaccess.c: Likewise.
9629 * io/faccessat.c: Likewise.
9630 * io/fchdir.c: Likewise.
9631 * io/fchmod.c: Likewise.
9632 * io/fchmodat.c: Likewise.
9633 * io/fchown.c: Likewise.
9634 * io/fchownat.c: Likewise.
9635 * io/fcntl.c: Likewise.
9636 * io/flock.c: Likewise.
9637 * io/fstatfs.c: Likewise.
9638 * io/fstatfs64.c: Likewise.
9639 * io/fstatvfs.c: Likewise.
9640 * io/fstatvfs64.c: Likewise.
9641 * io/futimens.c: Likewise.
9642 * io/fxstat.c: Likewise.
9643 * io/fxstat64.c: Likewise.
9644 * io/fxstatat.c: Likewise.
9645 * io/fxstatat64.c: Likewise.
9646 * io/getcwd.c: Likewise.
9647 * io/isatty.c: Likewise.
9648 * io/lchmod.c: Likewise.
9649 * io/lchown.c: Likewise.
9650 * io/link.c: Likewise.
9651 * io/linkat.c: Likewise.
9652 * io/lseek.c: Likewise.
9653 * io/lseek64.c: Likewise.
9654 * io/lxstat64.c: Likewise.
9655 * io/mkdir.c: Likewise.
9656 * io/mkdirat.c: Likewise.
9657 * io/mkfifo.c: Likewise.
9658 * io/mkfifoat.c: Likewise.
9659 * io/open.c: Likewise.
9660 * io/open64.c: Likewise.
9661 * io/openat.c: Likewise.
9662 * io/openat64.c: Likewise.
9663 * io/pipe.c: Likewise.
9664 * io/pipe2.c: Likewise.
9665 * io/poll.c: Likewise.
9666 * io/posix_fadvise.c: Likewise.
9667 * io/posix_fadvise64.c: Likewise.
9668 * io/posix_fallocate.c: Likewise.
9669 * io/posix_fallocate64.c: Likewise.
9670 * io/read.c: Likewise.
9671 * io/readlink.c: Likewise.
9672 * io/readlinkat.c: Likewise.
9673 * io/rmdir.c: Likewise.
9674 * io/sendfile.c: Likewise.
9675 * io/sendfile64.c: Likewise.
9676 * io/statfs.c: Likewise.
9677 * io/statfs64.c: Likewise.
9678 * io/statvfs.c: Likewise.
9679 * io/statvfs64.c: Likewise.
9680 * io/symlink.c: Likewise.
9681 * io/symlinkat.c: Likewise.
9682 * io/ttyname.c: Likewise.
9683 * io/ttyname_r.c: Likewise.
9684 * io/umask.c: Likewise.
9685 * io/unlink.c: Likewise.
9686 * io/unlinkat.c: Likewise.
9687 * io/utime.c: Likewise.
9688 * io/utimensat.c: Likewise.
9689 * io/write.c: Likewise.
9690 * io/xmknod.c: Likewise.
9691 * io/xmknodat.c: Likewise.
9692 * io/xstat.c: Likewise.
9693 * io/xstat64.c: Likewise.
9694 * login/getpt.c: Likewise.
9695 * login/grantpt.c: Likewise.
9696 * login/unlockpt.c: Likewise.
9697 * math/e_acoshl.c: Likewise.
9698 * math/e_acosl.c: Likewise.
9699 * math/e_asinl.c: Likewise.
9700 * math/e_atan2l.c: Likewise.
9701 * math/e_atanhl.c: Likewise.
9702 * math/e_coshl.c: Likewise.
9703 * math/e_expl.c: Likewise.
9704 * math/e_fmodl.c: Likewise.
9705 * math/e_gammal_r.c: Likewise.
9706 * math/e_hypotl.c: Likewise.
9707 * math/e_j0l.c: Likewise.
9708 * math/e_j1l.c: Likewise.
9709 * math/e_jnl.c: Likewise.
9710 * math/e_lgammal_r.c: Likewise.
9711 * math/e_log10l.c: Likewise.
9712 * math/e_log2l.c: Likewise.
9713 * math/e_logl.c: Likewise.
9714 * math/e_powl.c: Likewise.
9715 * math/e_rem_pio2l.c: Likewise.
9716 * math/e_sinhl.c: Likewise.
9717 * math/e_sqrtl.c: Likewise.
9718 * math/fclrexcpt.c: Likewise.
9719 * math/fedisblxcpt.c: Likewise.
9720 * math/feenablxcpt.c: Likewise.
9721 * math/fegetenv.c: Likewise.
9722 * math/fegetexcept.c: Likewise.
9723 * math/fegetround.c: Likewise.
9724 * math/feholdexcpt.c: Likewise.
9725 * math/fesetenv.c: Likewise.
9726 * math/fesetround.c: Likewise.
9727 * math/feupdateenv.c: Likewise.
9728 * math/fgetexcptflg.c: Likewise.
9729 * math/fraiseexcpt.c: Likewise.
9730 * math/fsetexcptflg.c: Likewise.
9731 * math/ftestexcept.c: Likewise.
9732 * math/k_cosl.c: Likewise.
9733 * math/k_rem_pio2l.c: Likewise.
9734 * math/k_sinl.c: Likewise.
9735 * math/k_tanl.c: Likewise.
9736 * math/s_asinhl.c: Likewise.
9737 * math/s_atanl.c: Likewise.
9738 * math/s_cbrtl.c: Likewise.
9739 * math/s_erfl.c: Likewise.
9740 * math/s_expm1l.c: Likewise.
9741 * math/s_log1pl.c: Likewise.
9742 * math/s_tanhl.c: Likewise.
9743 * misc/acct.c: Likewise.
9744 * misc/brk.c: Likewise.
9745 * misc/chflags.c: Likewise.
9746 * misc/chroot.c: Likewise.
9747 * misc/fchflags.c: Likewise.
9748 * misc/fgetxattr.c: Likewise.
9749 * misc/flistxattr.c: Likewise.
9750 * misc/fremovexattr.c: Likewise.
9751 * misc/fsetxattr.c: Likewise.
9752 * misc/fsync.c: Likewise.
9753 * misc/ftruncate.c: Likewise.
9754 * misc/futimes.c: Likewise.
9755 * misc/futimesat.c: Likewise.
9756 * misc/getdomain.c: Likewise.
9757 * misc/getdtsz.c: Likewise.
9758 * misc/gethostid.c: Likewise.
9759 * misc/gethostname.c: Likewise.
9760 * misc/getloadavg.c: Likewise.
9761 * misc/getpagesize.c: Likewise.
9762 * misc/getsysstats.c: Likewise.
9763 * misc/getxattr.c: Likewise.
9764 * misc/gtty.c: Likewise.
9765 * misc/ioctl.c: Likewise.
9766 * misc/lgetxattr.c: Likewise.
9767 * misc/listxattr.c: Likewise.
9768 * misc/llistxattr.c: Likewise.
9769 * misc/lremovexattr.c: Likewise.
9770 * misc/lsetxattr.c: Likewise.
9771 * misc/lutimes.c: Likewise.
9772 * misc/madvise.c: Likewise.
9773 * misc/mincore.c: Likewise.
9774 * misc/mlock.c: Likewise.
9775 * misc/mlockall.c: Likewise.
9776 * misc/mmap.c: Likewise.
9777 * misc/mprotect.c: Likewise.
9778 * misc/msync.c: Likewise.
9779 * misc/munlock.c: Likewise.
9780 * misc/munlockall.c: Likewise.
9781 * misc/munmap.c: Likewise.
9782 * misc/preadv.c: Likewise.
9783 * misc/preadv64.c: Likewise.
9784 * misc/ptrace.c: Likewise.
9785 * misc/pwritev.c: Likewise.
9786 * misc/pwritev64.c: Likewise.
9787 * misc/readv.c: Likewise.
9788 * misc/reboot.c: Likewise.
9789 * misc/remap_file_pages.c: Likewise.
9790 * misc/removexattr.c: Likewise.
9791 * misc/revoke.c: Likewise.
9792 * misc/select.c: Likewise.
9793 * misc/setdomain.c: Likewise.
9794 * misc/setegid.c: Likewise.
9795 * misc/seteuid.c: Likewise.
9796 * misc/sethostid.c: Likewise.
9797 * misc/sethostname.c: Likewise.
9798 * misc/setregid.c: Likewise.
9799 * misc/setreuid.c: Likewise.
9800 * misc/setxattr.c: Likewise.
9801 * misc/sstk.c: Likewise.
9802 * misc/stty.c: Likewise.
9803 * misc/swapoff.c: Likewise.
9804 * misc/swapon.c: Likewise.
9805 * misc/sync.c: Likewise.
9806 * misc/syncfs.c: Likewise.
9807 * misc/syscall.c: Likewise.
9808 * misc/truncate.c: Likewise.
9809 * misc/ualarm.c: Likewise.
9810 * misc/usleep.c: Likewise.
9811 * misc/ustat.c: Likewise.
9812 * misc/utimes.c: Likewise.
9813 * misc/vhangup.c: Likewise.
9814 * misc/writev.c: Likewise.
9815 * posix/_exit.c: Likewise.
9816 * posix/alarm.c: Likewise.
9817 * posix/execve.c: Likewise.
9818 * posix/fexecve.c: Likewise.
9819 * posix/fork.c: Likewise.
9820 * posix/fpathconf.c: Likewise.
9821 * posix/getaddrinfo.c: Likewise.
9822 * posix/getegid.c: Likewise.
9823 * posix/geteuid.c: Likewise.
9824 * posix/getgid.c: Likewise.
9825 * posix/getgroups.c: Likewise.
9826 * posix/getlogin.c: Likewise.
9827 * posix/getlogin_r.c: Likewise.
9828 * posix/getpgid.c: Likewise.
9829 * posix/getpid.c: Likewise.
9830 * posix/getppid.c: Likewise.
9831 * posix/getresgid.c: Likewise.
9832 * posix/getresuid.c: Likewise.
9833 * posix/getsid.c: Likewise.
9834 * posix/getuid.c: Likewise.
9835 * posix/glob64.c: Likewise.
9836 * posix/nanosleep.c: Likewise.
9837 * posix/pathconf.c: Likewise.
9838 * posix/pause.c: Likewise.
9839 * posix/posix_madvise.c: Likewise.
9840 * posix/pread.c: Likewise.
9841 * posix/pread64.c: Likewise.
9842 * posix/pwrite.c: Likewise.
9843 * posix/pwrite64.c: Likewise.
9844 * posix/sched_getaffinity.c: Likewise.
9845 * posix/sched_getp.c: Likewise.
9846 * posix/sched_gets.c: Likewise.
9847 * posix/sched_primax.c: Likewise.
9848 * posix/sched_primin.c: Likewise.
9849 * posix/sched_rr_gi.c: Likewise.
9850 * posix/sched_setaffinity.c: Likewise.
9851 * posix/sched_setp.c: Likewise.
9852 * posix/sched_sets.c: Likewise.
9853 * posix/sched_yield.c: Likewise.
9854 * posix/setgid.c: Likewise.
9855 * posix/setlogin.c: Likewise.
9856 * posix/setpgid.c: Likewise.
9857 * posix/setresgid.c: Likewise.
9858 * posix/setresuid.c: Likewise.
9859 * posix/setsid.c: Likewise.
9860 * posix/setuid.c: Likewise.
9861 * posix/sleep.c: Likewise.
9862 * posix/spawni.c: Likewise.
9863 * posix/sysconf.c: Likewise.
9864 * posix/times.c: Likewise.
9865 * posix/wait.c: Likewise.
9866 * posix/wait3.c: Likewise.
9867 * posix/wait4.c: Likewise.
9868 * posix/waitpid.c: Likewise.
9869 * resolv/gai_sigqueue.c: Likewise.
9870 * resource/getpriority.c: Likewise.
9871 * resource/getrlimit.c: Likewise.
9872 * resource/getrusage.c: Likewise.
9873 * resource/nice.c: Likewise.
9874 * resource/setpriority.c: Likewise.
9875 * resource/setrlimit.c: Likewise.
9876 * resource/ulimit.c: Likewise.
9877 * rt/aio_cancel.c: Likewise.
9878 * rt/aio_fsync.c: Likewise.
9879 * rt/aio_read.c: Likewise.
9880 * rt/aio_sigqueue.c: Likewise.
9881 * rt/aio_suspend.c: Likewise.
9882 * rt/aio_write.c: Likewise.
9883 * rt/clock_getres.c: Likewise.
9884 * rt/clock_gettime.c: Likewise.
9885 * rt/clock_nanosleep.c: Likewise.
9886 * rt/clock_settime.c: Likewise.
9887 * rt/lio_listio.c: Likewise.
9888 * rt/mq_close.c: Likewise.
9889 * rt/mq_getattr.c: Likewise.
9890 * rt/mq_notify.c: Likewise.
9891 * rt/mq_open.c: Likewise.
9892 * rt/mq_receive.c: Likewise.
9893 * rt/mq_send.c: Likewise.
9894 * rt/mq_setattr.c: Likewise.
9895 * rt/mq_timedreceive.c: Likewise.
9896 * rt/mq_timedsend.c: Likewise.
9897 * rt/mq_unlink.c: Likewise.
9898 * rt/shm_open.c: Likewise.
9899 * rt/shm_unlink.c: Likewise.
9900 * rt/timer_create.c: Likewise.
9901 * rt/timer_delete.c: Likewise.
9902 * rt/timer_getoverr.c: Likewise.
9903 * rt/timer_gettime.c: Likewise.
9904 * rt/timer_settime.c: Likewise.
9905 * setjmp/__longjmp.c: Likewise.
9906 * setjmp/setjmp.c: Likewise.
9907 * signal/kill.c: Likewise.
9908 * signal/killpg.c: Likewise.
9909 * signal/raise.c: Likewise.
9910 * signal/sigaction.c: Likewise.
9911 * signal/sigaltstack.c: Likewise.
9912 * signal/sigblock.c: Likewise.
9913 * signal/sigignore.c: Likewise.
9914 * signal/sigintr.c: Likewise.
9915 * signal/signal.c: Likewise.
9916 * signal/sigpause.c: Likewise.
9917 * signal/sigpending.c: Likewise.
9918 * signal/sigqueue.c: Likewise.
9919 * signal/sigreturn.c: Likewise.
9920 * signal/sigset.c: Likewise.
9921 * signal/sigsetmask.c: Likewise.
9922 * signal/sigstack.c: Likewise.
9923 * signal/sigsuspend.c: Likewise.
9924 * signal/sigtimedwait.c: Likewise.
9925 * signal/sigvec.c: Likewise.
9926 * signal/sigwait.c: Likewise.
9927 * signal/sigwaitinfo.c: Likewise.
9928 * signal/sysv_signal.c: Likewise.
9929 * socket/accept.c: Likewise.
9930 * socket/accept4.c: Likewise.
9931 * socket/bind.c: Likewise.
9932 * socket/connect.c: Likewise.
9933 * socket/getpeername.c: Likewise.
9934 * socket/getsockname.c: Likewise.
9935 * socket/getsockopt.c: Likewise.
9936 * socket/isfdtype.c: Likewise.
9937 * socket/listen.c: Likewise.
9938 * socket/recv.c: Likewise.
9939 * socket/recvfrom.c: Likewise.
9940 * socket/recvmsg.c: Likewise.
9941 * socket/send.c: Likewise.
9942 * socket/sendmsg.c: Likewise.
9943 * socket/sendto.c: Likewise.
9944 * socket/setsockopt.c: Likewise.
9945 * socket/shutdown.c: Likewise.
9946 * socket/sockatmark.c: Likewise.
9947 * socket/socket.c: Likewise.
9948 * socket/socketpair.c: Likewise.
9949 * stdio-common/ctermid.c: Likewise.
9950 * stdio-common/cuserid.c: Likewise.
9951 * stdio-common/remove.c: Likewise.
9952 * stdio-common/rename.c: Likewise.
9953 * stdio-common/renameat.c: Likewise.
9954 * stdio-common/tempname.c: Likewise.
9955 * stdlib/getcontext.c: Likewise.
9956 * stdlib/makecontext.c: Likewise.
9957 * stdlib/setcontext.c: Likewise.
9958 * stdlib/swapcontext.c: Likewise.
9959 * stdlib/system.c: Likewise.
9960 * streams/fattach.c: Likewise.
9961 * streams/fdetach.c: Likewise.
9962 * streams/getmsg.c: Likewise.
9963 * streams/getpmsg.c: Likewise.
9964 * streams/putmsg.c: Likewise.
9965 * streams/putpmsg.c: Likewise.
9966 * sysdeps/unix/bsd/getpt.c: Likewise.
9967 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9968 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9969 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9972 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9973 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9974 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9975 * sysvipc/msgctl.c: Likewise.
9976 * sysvipc/msgget.c: Likewise.
9977 * sysvipc/msgrcv.c: Likewise.
9978 * sysvipc/msgsnd.c: Likewise.
9979 * sysvipc/semctl.c: Likewise.
9980 * sysvipc/semget.c: Likewise.
9981 * sysvipc/semop.c: Likewise.
9982 * sysvipc/semtimedop.c: Likewise.
9983 * sysvipc/shmat.c: Likewise.
9984 * sysvipc/shmctl.c: Likewise.
9985 * sysvipc/shmdt.c: Likewise.
9986 * sysvipc/shmget.c: Likewise.
9987 * termios/tcdrain.c: Likewise.
9988 * termios/tcflow.c: Likewise.
9989 * termios/tcflush.c: Likewise.
9990 * termios/tcgetattr.c: Likewise.
9991 * termios/tcgetpgrp.c: Likewise.
9992 * termios/tcsendbrk.c: Likewise.
9993 * termios/tcsetattr.c: Likewise.
9994 * termios/tcsetpgrp.c: Likewise.
9995 * time/adjtime.c: Likewise.
9996 * time/clock.c: Likewise.
9997 * time/getitimer.c: Likewise.
9998 * time/gettimeofday.c: Likewise.
9999 * time/setitimer.c: Likewise.
10000 * time/settimeofday.c: Likewise.
10001 * time/stime.c: Likewise.
10002 * time/time.c: Likewise.
10004 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10006 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10009 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10011 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10013 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10017 FE_TONEAREST before applying Dekker multiplication and Knuth
10018 addition. Clear inexact exceptions and check for exact zero
10019 results afterwards.
10020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10023 * math/libm-test.inc (fma_test): Add more tests.
10024 (fma_test_towardzero): Likewise.
10025 (fma_test_downward): Likewise.
10026 (fma_test_upward): Likewise.
10027 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10029 (libc_fesetround): New macro.
10030 (libc_fesetroundf): Likewise.
10031 (libc_fesetroundl): Likewise.
10032 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10034 (libc_fesetround_387): Likewise.
10035 (libc_fesetroundf): New macro.
10036 (libc_fesetround): Likewise.
10037 (libc_fesetroundl): Likewise.
10038 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10040 (libc_fesetroundf): New macro.
10041 (libc_fesetround): Likewise.
10042 (libc_fesetroundl): Likewise.
10043 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10044 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10045 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10047 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10048 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10050 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10051 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10053 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10057 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10058 integer constant usable in #if and use that to give value to enum
10060 (FE_DIVBYZERO): Likewise.
10061 (FE_UNDERFLOW): Likewise.
10062 (FE_OVERFLOW): Likewise.
10063 (FE_INVALID): Likewise.
10064 (FE_INVALID_SNAN): Likewise.
10065 (FE_INVALID_ISI): Likewise.
10066 (FE_INVALID_IDI): Likewise.
10067 (FE_INVALID_ZDZ): Likewise.
10068 (FE_INVALID_IMZ): Likewise.
10069 (FE_INVALID_COMPARE): Likewise.
10070 (FE_INVALID_SOFTWARE): Likewise.
10071 (FE_INVALID_SQRT): Likewise.
10072 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10073 (FE_TONEAREST): Likewise.
10074 (FE_TOWARDZERO): Likewise.
10075 (FE_UPWARD): Likewise.
10076 (FE_DOWNWARD): Likewise.
10077 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10078 (FE_DIVBYZERO): Likewise.
10079 (FE_OVERFLOW): Likewise.
10080 (FE_UNDERFLOW): Likewise.
10081 (FE_INEXACT): Likewise.
10082 (FE_TONEAREST): Likewise.
10083 (FE_DOWNWARD): Likewise.
10084 (FE_UPWARD): Likewise.
10085 (FE_TOWARDZERO): Likewise.
10086 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10087 (FE_UNDERFLOW): Likewise.
10088 (FE_OVERFLOW): Likewise.
10089 (FE_DIVBYZERO): Likewise.
10090 (FE_INVALID): Likewise.
10091 (FE_TONEAREST): Likewise.
10092 (FE_TOWARDZERO): Likewise.
10093 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10094 (FE_OVERFLOW): Likewise.
10095 (FE_UNDERFLOW): Likewise.
10096 (FE_DIVBYZERO): Likewise.
10097 (FE_INEXACT): Likewise.
10098 (FE_TONEAREST): Likewise.
10099 (FE_TOWARDZERO): Likewise.
10100 (FE_UPWARD): Likewise.
10101 (FE_DOWNWARD): Likewise.
10102 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10103 (FE_DIVBYZERO): Likewise.
10104 (FE_OVERFLOW): Likewise.
10105 (FE_UNDERFLOW): Likewise.
10106 (FE_INEXACT): Likewise.
10107 (FE_TONEAREST): Likewise.
10108 (FE_DOWNWARD): Likewise.
10109 (FE_UPWARD): Likewise.
10110 (FE_TOWARDZERO): Likewise.
10112 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10114 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10116 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10118 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10119 commands. Quote $PWD.
10120 (blacklist_exports): Don't use remove_newlines. Replace "declare
10122 (remove_newlines): Remove.
10124 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10126 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10127 * stdlib/stdlib.h (atof): Moved to ...
10128 * include/bits/stdlib-float.h: Here. New file.
10129 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10130 * stdlib/bits/stdlib-float.h: New file.
10131 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10133 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10136 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10138 * conform/conformtest.pl (@headers): Add fenv.h.
10139 * conform/data/fenv.h-data: New file.
10140 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10141 include of <math/fenv.h>.
10143 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10144 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10145 && !UNIX98]. Enables tests for XOPEN2K8.
10146 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10147 POSIX2008]: Likewise.
10149 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10150 (struct rusage): Do not expect type or its members.
10153 * math/math.h (FP_NAN): Define macro to integer constant usable in
10154 #if and use that to give value to enum constant.
10155 (FP_INFINITE): Likewise.
10156 (FP_ZERO): Likewise.
10157 (FP_SUBNORMAL): Likewise.
10158 (FP_NORMAL): Likewise.
10160 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10162 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10163 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10166 2012-11-02 Roland McGrath <roland@hack.frob.com>
10168 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10169 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10170 autoconf-time if not.
10171 * configure.in: Remove AC_PREREQ.
10173 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10175 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10176 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10177 of the internal implementation.
10179 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10181 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10182 except include of <misc/sys/syslog.h>.
10184 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10187 function returns with a NULL context exit with zero.
10189 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10191 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10193 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10195 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10196 (run_program_cmd): This.
10197 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10198 (tst_langinfo): New variable. Use it.
10200 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10202 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10203 floating point opcodes.
10205 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10207 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10210 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10212 * sysdeps/mach/hurd/powerpc: Remove directory.
10213 * sysdeps/mach/powerpc: Likewise.
10215 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10217 * scripts/check-local-headers.sh: Ignore c++ headers.
10219 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10221 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10222 __libc_cleanup_region_start argument.
10224 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10229 x * y using scaling, not as x * y + z.
10230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10232 * math/libm-test.inc (fma_test): Add more tests.
10233 (fma_test_towardzero): Likewise.
10234 (fma_test_downward): Likewise.
10235 (fma_test_upward): Likewise.
10237 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10239 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10241 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10246 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10248 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10250 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10257 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10260 Fix the order of the list for glibc 2.17.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10264 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10268 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10271 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10272 for low part of x being zero before using __atanl (y).
10273 * math/libm-test.inc (atan2_test): Add another test.
10275 * manual/install.texi (Configuring and compiling): Document
10276 general use of test-wrapper and test-wrapper-env.
10277 * INSTALL: Regenerated.
10279 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10280 (__fma): Do not extract and scale down low bits on after-rounding
10281 systems when result rounded to normal precision would have normal
10283 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10284 (__fmal): Do not extract and scale down low bits on after-rounding
10285 systems when result rounded to normal precision would have normal
10287 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10288 (__fmal): Do not extract and scale down low bits on after-rounding
10289 systems when result rounded to normal precision would have normal
10291 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10293 (fma_test): Add more tests.
10294 (fma_test_towardzero): Likewise.
10295 (fma_test_downward): Likewise.
10296 (fma_test_upward): Likewise.
10298 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10300 * sysdeps/i386/tininess.h: Renamed to ...
10301 * sysdeps/x86/tininess.h: This.
10302 * sysdeps/x86_64/tininess.h: Removed.
10304 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10306 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10307 input. Use $(build-program-cmd).
10308 ($(objpfx)tst-array1-static.out): Likewise.
10309 ($(objpfx)tst-array2.out): Likewise.
10310 ($(objpfx)tst-array3.out): Likewise.
10311 ($(objpfx)tst-array4.out): Likewise.
10312 ($(objpfx)tst-array5.out): Likewise.
10313 ($(objpfx)tst-array5-static.out): Likewise.
10315 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10317 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10320 * nss/nsswitch.h (nss_interface_function): Provide new
10321 macro for use with NSS functions.
10322 * grp/initgroups.c: Use new macro.
10323 * nss/getXXbyYY.c: Likewise.
10324 * nss/getXXbyYY_r.c: Likewise.
10325 * nss/getXXent.c: Likewise.
10326 * nss/getXXent_r.c: Likewise.
10327 * sysdeps/posix/getaddrinfo.c: Likewise.
10329 2012-10-30 Andreas Jaeger <aj@suse.de>
10331 * po/ru.po: Update Russion translation from translation project.
10333 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10338 result and shift together with sticky bit instead of replicating
10339 round-to-nearest rounding.
10340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10342 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10343 missing underflow exceptions.
10344 (fma_test_towardzero): Add more tests.
10345 (fma_test_downward): Likewise.
10346 (fma_test_upward): Likewise.
10349 * sysdeps/generic/tininess.h: New file.
10350 * sysdeps/i386/tininess.h: Likewise.
10351 * sysdeps/sh/tininess.h: Likewise.
10352 * sysdeps/x86_64/tininess.h: Likewise.
10353 * stdlib/tst-strtod-underflow.c: Likewise.
10354 * stdlib/tst-tininess.c: Likewise.
10355 * stdlib/strtod_l.c: Include <tininess.h>.
10356 (round_and_return): Do not set errno for exact underflow cases.
10357 Force an underflow exception when setting errno for underflow.
10358 Determine underflow based on rounding to normal precision if
10359 TININESS_AFTER_ROUNDING.
10360 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10361 ERANGE for exact underflow cases.
10362 * stdlib/Makefile (tests): Add tst-tininess and
10363 tst-strtod-underflow.
10364 ($(objpfx)tst-tininess): Use $(link-libm).
10365 ($(objpfx)tst-strtod-underflow): Likewise.
10367 2012-10-30 Andreas Jaeger <aj@suse.de>
10370 * elf/Makefile (tests): Remove conditional for have-initfini-array
10371 since this is now always required and the variable does not exist
10373 (tests-static): Likewise.
10374 (modules-names): Likewise.
10376 * po/eo.po: Add Esperanto translation from translation project.
10378 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10379 merged with constructor/destructor.
10380 (init_array): Likewise.
10381 * elf/tst-array2dep.c (fini_array): Likewise.
10382 (init_array): Likewise.
10384 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10386 * manual/message.texi: Delete @cartouche tags.
10388 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10390 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10392 * sysdeps/mach/hurd/fsync.c: Likewise.
10394 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10395 [_POSIX_REALTIME_SIGNALS]: Change condition to
10396 [_POSIX_REALTIME_SIGNALS > 0].
10398 2012-10-27 Andreas Jaeger <aj@suse.de>
10400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10401 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10403 [__WORDSIZE != 64]: Likewise.
10405 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10407 * iconvdata/tst-table.sh: Remove ${SHELL}.
10408 * iconvdata/tst-tables.sh: Likewise.
10410 2012-10-25 David S. Miller <davem@davemloft.net>
10412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10413 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10418 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10419 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10420 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10423 2012-10-25 Roland McGrath <roland@hack.frob.com>
10425 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10426 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10429 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10430 Jim Blandy <jimb@codesourcery.com>
10432 * scripts/cross-test-ssh.sh: New file.
10433 * manual/install.texi (Configuring and compiling): Document use of
10435 * INSTALL: Regenerated.
10437 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10439 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10442 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10444 * Makeconfig (run-program-prefix): Fix comment.
10446 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10447 Jim Blandy <jimb@codesourcery.com>
10449 * Makeconfig (test-wrapper): New variable,
10450 (test-wrapper-env): Likewise.
10451 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10452 (run-built-tests): Define to yes.
10453 (run-program-prefix): Use $(test-wrapper).
10454 (built-program-cmd): Likewise.
10455 * Rules (make-test-out): Use $(test-wrapper-env) and
10456 $(host-built-program-cmd).
10457 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10458 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10460 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10461 $(test-wrapper-env) to tst-rtld-load-self.sh.
10462 ($(objpfx)order2.out): Use $(test-wrapper).
10463 ($(objpfx)tst-initorder.out): Likewise.
10464 ($(objpfx)tst-initorder2.out): Likewise.
10465 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10466 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10467 (test_wrapper_env): New variable. Use it to run ld.so.
10468 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10469 Use it to run ld.so.
10470 (test_wrapper_env): Likewise.
10471 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10472 $(test-wrapper) to run-iconv-test.sh.
10473 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10474 (ICONV): Use $test_wrapper.
10475 * posix/Makefile ($(objpfx)globtest.out): Pass
10476 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10477 globtest.sh, not $(run-program-prefix).
10478 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10479 (test_wrapper): Likewise.
10480 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10481 set together with run_via_rtld_prefix.
10482 (run_program_prefix): Define in terms of test_wrapper and
10483 run_via_rtld_prefix.
10485 2012-10-24 Roland McGrath <roland@hack.frob.com>
10487 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10488 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10492 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10493 Declare __clock_getres, __clock_gettime, __clock_settime,
10494 __clock_nanosleep, and __clock_getcpuclockid.
10495 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10496 Remove librt_hidden_def (clock_gettime).
10497 * sysdeps/unix/clock_gettime.c: Likewise.
10498 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10500 * rt/clock_getres.c: Define __clock_getres as an alias.
10501 * sysdeps/posix/clock_getres.c: Likewise.
10502 * rt/clock_settime.c: Define __clock_settime as an alias.
10503 * sysdeps/unix/clock_settime.c: Likewise.
10504 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10505 * sysdeps/unix/clock_nanosleep.c: Likewise.
10506 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10507 * rt/clock-compat.c: New file.
10508 * rt/Makefile (librt-routines): Add clock-compat and move
10509 $(clock-routines) to ...
10510 (routines): ... here, new variable.
10511 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10512 Don't add get_clockfreq here.
10513 * rt/Versions (libc: GLIBC_2.17): New version set.
10514 Add clock_* symbols here.
10515 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10517 (GLIBC_2.17): Add clock_* symbols.
10518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10529 * NEWS: Mention the move.
10531 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10532 Use __open, __read, __close rather than their public counterparts.
10533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10534 (__get_clockfreq_via_cpuinfo): Likewise.
10535 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10536 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10538 * config.h.in (HAVE_IFUNC): New #undef.
10539 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10541 * configure: Regenerated.
10543 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10545 * configure.in: Move READELF check to start of file.
10546 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10547 libc_cv_asm_gnu_indirect_function in the process.
10548 * configure: Regenerated.
10550 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10552 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10553 send the output to /dev/null.
10554 (libc_cv_cc_with_libunwind): Likewise.
10555 (libc_cv_as_noexecstack): Likewise.
10556 * configure: Regenerate.
10558 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10560 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10562 * posix/globtest.sh (TMPDIR): Do not set.
10563 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10564 (testout): Likewise.
10566 2012-10-24 Andreas Jaeger <aj@suse.de>
10568 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10569 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10570 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10571 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10572 posix_fadvise64, posix_fallocate64.
10574 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10575 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10576 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10578 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10580 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10583 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10584 <bits/fcntl-linux.h>.
10585 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10587 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10588 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10589 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10590 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10591 [__WORDSIZE != 64]: Likewise.
10593 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10595 * Makeconfig (run-built-tests): New variable.
10596 * Rules [$(cross-compiling) = yes]: Change condition to
10597 [$(run-built-tests) = no].
10598 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10599 to [$(run-built-tests) = yes].
10600 * elf/Makefile [$(cross-compiling) = no]: Likewise
10601 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10602 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10603 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10604 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10605 * io/Makefile [$(cross-compiling) = no]: Likewise.
10606 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10607 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10608 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10609 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10610 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10611 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10612 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10613 * string/Makefile [$(cross-compiling) = no]: Likewise.
10615 * posix/Makefile ($(objpfx)globtest.out): Pass
10616 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10617 $(rtld-installed-name).
10618 * posix/globtest.sh (elf_objpfx): Remove variable.
10619 (rtld_installed_name): Likewise.
10620 (library_path): Likewise.
10621 (run_program_prefix): New variable. Use for running globtest
10624 2012-10-23 Jim Blandy <jimb@codesourcery.com>
10625 Joseph Myers <joseph@codesourcery.com>
10627 * Makeconfig (host-built-program-cmd): New variable.
10628 * elf/Makefile (tst-stackguard1-ARGS): Use
10629 $(host-built-program-cmd).
10630 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10631 (tst-spawn-ARGS): Likewise.
10632 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10634 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10635 Jim Blandy <jimb@codesourcery.com>
10637 * Makeconfig (run-via-rtld-prefix): New variable.
10638 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10639 (built-program-cmd): Likewise.
10641 2012-10-22 Andreas Jaeger <aj@suse.de>
10643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10644 __O_RSYNC if it exists, otherwise to O_SYNC.
10646 2012-10-22 Jim Blandy <jimb@codesourcery.com>
10647 Joseph Myers <joseph@codesourcery.com>
10649 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10651 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10653 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10656 2012-10-22 Andreas Jaeger <aj@suse.de>
10658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10663 bits/fcntl-linux.h.
10665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10666 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10673 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10674 Joseph Myers <joseph@codesourcery.com>
10676 * config.make.in (NM): New variable.
10678 2012-10-21 Andreas Jaeger <aj@suse.de>
10680 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10681 definitions and declarations that are provided by
10682 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10684 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10687 * elf/Makefile (tests-static): Add tst-leaks1-static.
10688 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10689 ($(objpfx)tst-leaks1-static): New rule.
10690 ($(objpfx)tst-leaks1-static-mem): Likewise.
10691 (tst-leaks1-static-ENV): New macro.
10692 * elf/dl-open.c (dl_open_worker): Check the main application
10693 only if SHARED is defined.
10694 * elf/tst-leaks1-static.c: New file.
10696 2012-10-20 Andreas Jaeger <aj@suse.de>
10698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10699 generic values for Linux.
10700 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10701 and declarations that are provided by <bits/fcntl-linux.h> and
10702 include <bits/fcntl-linux.h>.
10703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10706 2012-10-20 Roland McGrath <roland@hack.frob.com>
10708 * io/fcntl.h: Move include of <bits/types.h> to the top and
10709 include it unconditionally.
10711 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10713 * wcsmbs/Makefile (tests-ifunc): New variable.
10714 (tests): Add $(tests-ifunc).
10715 * wcsmbs/test-wcschr-ifunc.c: New file.
10716 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10717 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10718 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10719 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10720 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10722 * string/Makefile (tests-ifunc): New variable.
10723 (tests): Add $(tests-ifunc).
10724 * string/test-memccpy.c (TEST_NAME): New macro.
10725 * string/test-memchr.c (TEST_NAME): Likewise.
10726 * string/test-memcmp.c (TEST_NAME): Likewise.
10727 * string/test-memcpy.c (TEST_NAME): Likewise.
10728 * string/test-memmem.c (TEST_NAME): Likewise.
10729 * string/test-memmove.c (TEST_NAME): Likewise.
10730 * string/test-memset.c (TEST_NAME): Likewise.
10731 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10732 * string/test-stpcpy.c (TEST_NAME): Likewise.
10733 * string/test-stpncpy.c (TEST_NAME): Likewise.
10734 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10735 * string/test-strcasestr.c (TEST_NAME): Likewise.
10736 * string/test-strcat.c (TEST_NAME): Likewise.
10737 * string/test-strchr.c (TEST_NAME): Likewise.
10738 * string/test-strcmp.c(TEST_NAME): Likewise.
10739 * string/test-strcpy.c (TEST_NAME): Likewise.
10740 * string/test-strcspn.c (TEST_NAME): Likewise.
10741 * string/test-strlen.c (TEST_NAME): Likewise.
10742 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10743 * string/test-strncmp.c (TEST_NAME): Likewise.
10744 * string/test-strncpy.c (TEST_NAME): Likewise.
10745 * string/test-strnlen.c (TEST_NAME): Likewise.
10746 * string/test-strpbrk.c (TEST_NAME): Likewise.
10747 * string/test-strrchr.c (TEST_NAME): Likewise.
10748 * string/test-strspn.c (TEST_NAME): Likewise.
10749 * string/test-strstr.c (TEST_NAME): Likewise.
10750 * string/test-bcopy-ifunc.c: New file.
10751 * string/test-bzero-ifunc.c: Likewise.
10752 * string/test-memccpy-ifunc.c: Likewise.
10753 * string/test-memchr-ifunc.c: Likewise.
10754 * string/test-memcmp-ifunc.c: Likewise.
10755 * string/test-memcpy-ifunc.c: Likewise.
10756 * string/test-memmem-ifunc.c: Likewise.
10757 * string/test-memmove-ifunc.c: Likewise.
10758 * string/test-mempcpy-ifunc.c: Likewise.
10759 * string/test-memset-ifunc.c: Likewise.
10760 * string/test-rawmemchr-ifunc.c: Likewise.
10761 * string/test-stpcpy-ifunc.c: Likewise.
10762 * string/test-stpncpy-ifunc.c: Likewise.
10763 * string/test-strcasecmp-ifunc.c: Likewise.
10764 * string/test-strcasestr-ifunc.c: Likewise.
10765 * string/test-strcat-ifunc.c: Likewise.
10766 * string/test-strchr-ifunc.c: Likewise.
10767 * string/test-strchrnul-ifunc.c: Likewise.
10768 * string/test-strcmp-ifunc.c: Likewise.
10769 * string/test-strcpy-ifunc.c: Likewise.
10770 * string/test-strcspn-ifunc.c: Likewise.
10771 * string/test-strlen-ifunc.c: Likewise.
10772 * string/test-strncasecmp-ifunc.c: Likewise.
10773 * string/test-strncat-ifunc.c: Likewise.
10774 * string/test-strncmp-ifunc.c: Likewise.
10775 * string/test-strncpy-ifunc.c: Likewise.
10776 * string/test-strnlen-ifunc.c: Likewise.
10777 * string/test-strpbrk-ifunc.c: Likewise.
10778 * string/test-strrchr-ifunc.c: Likewise.
10779 * string/test-strspn-ifunc.c: Likewise.
10780 * string/test-strstr-ifunc.c: Likewise.
10782 * debug/Makefile (tests-ifunc): New variable.
10783 (tests): Add $(tests-ifunc).
10784 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10785 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10786 * debug/test-stpcpy_chk-ifunc.c: New file.
10787 * debug/test-strcpy_chk-ifunc.c: Likewise.
10789 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10792 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10793 header is not read in.
10795 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10797 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10798 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10799 directly. Pass built executable to script as
10800 $(built-program-cmd).
10801 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10802 $testprogram without using LD_LIBRARY_PATH and $ldso.
10804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10805 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10806 $(rtld-installed-name).
10807 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10808 (rtld_installed_name): Likewise.
10809 (library_path): Likewise.
10810 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10811 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10812 $(run-program-prefix) to tst-tables.sh.
10813 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10814 it to run tst-table-from and tst-table-to.
10815 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10816 Pass it to tst-table.sh.
10817 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10818 $(run-program-prefix) to tst-gettext.sh.
10819 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10821 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10823 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10824 to run tst-gettext.
10825 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10826 to run tst-gettext2.
10827 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10828 to run tst-translit.
10829 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10830 $(run-program-prefix) to tst-mtrace.sh.
10831 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10833 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10834 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10835 $(rtld-installed-name).
10836 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10837 (rtld_installed_name): Likewise.
10838 (run_program_prefix): New variable. Use it to run wordexp-test.
10840 * Makeconfig (ARCH): Remove all definitions.
10841 (machine): Likewise.
10842 [ARCH]: Remove conditional code.
10843 [!objdir]: Give error.
10844 [!objdir] (objpfx): Remove.
10845 [!objdir] (common-objpfx): Likewise.
10846 [!objdir] (common-objdir): Likewise.
10847 * configure.in (config_makefile): Remove. Hardcode Makefile in
10848 AC_CONFIG_FILES call.
10849 * configure: Regenerated.
10852 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10854 (testout): Likewise.
10856 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10857 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10858 $(rtld-installed-name).
10859 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10860 (rtld_installed_name): Likwise.
10861 (runit): Remove function.
10862 (run_getconf): New variable, Use it for running getconf binary.
10864 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10867 * string/test-memmem.c (check_result): New function.
10868 (do_one_test): Use it.
10869 (check1): New function.
10870 (test_main): Use it.
10872 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10874 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10876 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10879 (_G_LSEEK64): Likewise.
10880 (_G_MMAP64): Likewise.
10881 (_G_FSTAT64): Likewise.
10882 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10883 (_G_LSEEK64): Likewise.
10884 (_G_MMAP64): Likewise.
10885 (_G_FSTAT64): Likewise.
10886 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10887 unconditional. Call __mmap64 directly.
10888 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10889 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10890 __lseek64 directly.
10891 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10892 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10894 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10895 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10896 __lseek64 directly.
10897 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10898 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10899 __lseek64 directly.
10900 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10901 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10902 __lseek64 directly.
10903 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10904 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10905 __fxstat64 directly.
10906 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10907 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10909 (freopen64) [!_G_OPEN64]: Remove conditional code.
10910 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10912 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10913 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10915 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10916 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10918 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10919 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10921 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10922 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10924 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10925 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10927 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10928 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10930 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10932 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10935 * manual/memory.texi (Malloc Tunable Parameters): Add note
10936 about free list pointers overwriting some perturb bytes.
10937 Wording suggested by Roland McGrath.
10939 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10941 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10942 (lgamma_test): Likewise.
10943 (tgamma_test): Likewise.
10945 2012-10-16 Florian Weimer <fweimer@redhat.com>
10948 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10949 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10951 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10953 * NEWS: Mention BZ #14716.
10954 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10955 when removing AVAILABLE1_USES_J macro.
10957 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10959 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10960 (__bswap_64): __uint64_t for unsigned 64-bit int.
10962 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10964 * include/string.h (memmem): Declare libc hidden alias.
10965 * string/memmem.c (memmem): Define libc hidden alias.
10966 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10967 __read, __close instead of open, read, close.
10969 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10972 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10974 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10975 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10976 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10978 (__rawmemchr_sse2): Likewise.
10979 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10980 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10981 (__strchr_sse2): Likewise.
10982 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10983 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10984 (__strcasecmp_sse2): Likewise.
10985 (__strncasecmp_sse2): Likewise.
10986 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10987 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10988 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10989 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10990 (__strrchr_sse2): Likewise.
10991 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10993 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10994 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10995 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10996 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10997 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10998 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10999 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11000 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11001 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11002 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11003 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11004 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11005 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11006 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11007 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11008 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11009 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11010 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11011 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11012 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11013 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11014 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11015 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11016 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11017 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11018 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11019 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11020 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11021 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11022 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11024 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11026 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11027 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11028 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11029 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11031 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11033 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11034 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11035 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11036 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11038 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11039 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11040 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11041 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11042 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11043 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11044 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11045 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11046 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11047 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11048 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11049 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11050 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11051 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11052 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11053 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11054 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11055 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11056 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11057 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11058 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11059 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11060 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11061 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11062 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11063 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11064 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11065 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11066 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11067 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11068 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11069 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11070 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11071 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11072 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11076 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11077 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11078 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11080 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11081 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11082 * include/ifunc-impl-list.h: New file.
11083 * misc/ifunc-impl-list.c: Likewise.
11084 * misc/Makefile (routines): Add ifunc-impl-list.
11085 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11086 * string/test-string.h: Include <ifunc-impl-list.h>.
11087 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11088 impl_array): New variables.
11089 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11091 (test_init): Call __libc_ifunc_impl_list to initialize
11092 func_list if TEST_IFUNC and TEST_NAME are defined.
11094 * string/Makefile (strop-tests): Add bcopy and bzero.
11095 * string/test-bcopy.c: New file.
11096 * string/test-bzero.c: Likewise.
11097 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11099 * string/test-memset.c: Support bzero test if TEST_BZERO is
11101 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11103 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11105 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11108 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11110 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11111 * configure: Regenerated.
11113 * Makeconfig (+link-static-before-libc): Don't include
11114 $(link-static-libc).
11116 * libio/libio.h (_IO_pos_t): Remove.
11118 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11120 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11123 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11125 * crypt/crypt-entry.c: Include fips-private.h.
11126 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11127 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11128 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11129 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11131 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11133 * crypt/crypt-private.h: Include stdbool.h.
11134 (_ufc_setup_salt_r): Return bool.
11135 * crypt/crypt-entry.c: Include errno.h.
11136 (__crypt_r): Return NULL with EINVAL for bad salt.
11137 * crypt/crypt_util.c (bad_for_salt): New.
11138 (_ufc_setup_salt_r): Check that salt is long enough and within
11139 the specified alphabet.
11140 * crypt/badsalttest.c: New file.
11141 * crypt/Makefile (tests): Add it.
11142 ($(objpfx)badsalttest): New.
11144 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11146 * NEWS: Add entry for BZ #14602.
11148 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11150 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11152 * math/libm-test.inc: Update comment listing what functions and
11154 (isgreater_test): New function.
11155 (isgreaterequal_test): Likewise.
11156 (isless_test): Likewise.
11157 (islessequal_test): Likewise.
11158 (islessgreater_test): Likewise.
11159 (isunordered_test): Likewise.
11160 (main): Call the new functions.
11162 2012-10-09 Roland McGrath <roland@hack.frob.com>
11164 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11165 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11166 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11167 * sysdeps/i386/configure: Regenerated.
11168 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11169 * sysdeps/mach/configure: Regenerated.
11170 * sysdeps/mach/hurd/configure: Regenerated.
11171 * sysdeps/powerpc/configure: Regenerated.
11172 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11173 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11174 * sysdeps/s390/s390-32/configure: Regenerated.
11175 * sysdeps/s390/s390-64/configure: Regenerated.
11176 * sysdeps/sh/configure: Regenerated.
11177 * sysdeps/sparc/configure: Regenerated.
11178 * sysdeps/unix/sysv/linux/configure: Regenerated.
11179 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11180 * sysdeps/x86_64/configure: Regenerated.
11182 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11183 defined. Don't check if MAP is NULL.
11185 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11187 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11188 (_G_stat64): Likewise.
11189 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11190 (_G_stat64): Likewise.
11191 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11192 instead of struct _G_stat64.
11193 * libio/fileops.c (mmap_remap_check): Likewise.
11194 (decide_maybe_mmap): Likewise.
11195 (_IO_new_file_seekoff): Likewise.
11196 (_IO_file_stat): Likewise.
11197 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11199 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11200 instead of struct _G_stat64.
11201 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11203 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11206 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11208 (CHECK_EOL): New macro.
11209 (two_way_short_needle): Check beginning of haystack for EOL. Use
11211 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11212 Replace with CHECK_EOL.
11213 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11214 Replace with CHECK_EOL.
11216 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11218 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11220 * math/libm-test.inc: Update comment listing what functions and
11222 (finite_test): New function.
11223 (isinf_test): Likewise.
11224 (isnan_test): Likewise.
11225 (fpclassify_test): Test subnormal input.
11226 (isfinite_test): Likewise.
11227 (isnormal_test): Likewise.
11228 (main): Call the new functions.
11230 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11233 * Makerules (%.dynsym): Force C locale when running
11234 $(OBJDUMP) --dynamic-syms.
11236 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11238 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11241 2012-10-06 David S. Miller <davem@davemloft.net>
11243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11244 upper 32-bits of the length value in %o2 since we use branch-on-register
11245 tests which consider the entire 64-bit register.
11247 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11249 * string/test-strstr.c (check2): Add a test for page boundary.
11251 2012-10-05 David S. Miller <davem@davemloft.net>
11253 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11254 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11256 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11258 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11259 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11260 and bzero when HWCAP_SPARC_CRYPTO is present.
11262 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11265 * string/test-strstr.c (check2): New function.
11266 (test_main): Call check2.
11268 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11270 * string/bug-strcasestr1.c (do_test): Moved to ...
11271 * string/test-strcasestr.c (check1): Here. New function.
11272 (do_one_test): Break out result checking code into ...
11273 (check_result): This. New function.
11274 (do_one_test): Call check_result.
11275 (test_main): Call check1.
11276 * string/bug-strchr1.c (do_test): Moved to ...
11277 * string/test-strchr.c (check1): Here. New function.
11278 (do_one_test): Break out result checking code into ...
11279 (check_result): This. New function.
11280 (do_one_test): Call check_result.
11281 (test_main): Call check1.
11282 * string/bug-strstr1.c (main): Moved to ...
11283 * string/test-strstr.c (check1): Here. New function.
11284 (do_one_test): Break out result checking code into ...
11285 (check_result): This. New function.
11286 (do_one_test): Call check_result.
11287 (test_main): Call check1.
11288 * string/bug-strcasestr1.c: Removed.
11289 * string/bug-strchr1.c: Likewise.
11290 * string/bug-strstr1.c: Likewise.
11292 * elf/Makefile (dl-routines): Add hwcaps.
11293 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11294 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11295 (_dl_important_hwcaps): Moved to ...
11296 * elf/dl-hwcaps.c: Here. New file.
11297 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11300 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11301 if IS_IN_rtld isn't defined.
11303 * elf/dl-support.c (_dl_sysinfo_map): New.
11304 Include "get-dynamic-info.h" and "setup-vdso.h".
11305 (_dl_non_dynamic_init): Call setup_vdso.
11306 * elf/dynamic-link.h: Don't include <assert.h>.
11307 (elf_get_dynamic_info): Moved to ...
11308 * elf/get-dynamic-info.h: Here. New file.
11309 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11310 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11311 * elf/setup-vdso.h: Here. New file.
11312 * elf/rtld.c: Include "setup-vdso.h".
11313 (dl_main): Call setup_vdso.
11315 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11317 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11318 creal in comment listing functions tested. List finite, isinf,
11319 isnan, isless, islessequal, isgreater, isgreaterequal,
11320 islessgreater, isunordered, lgamma_r and pow10 as functions and
11321 macros not tested. Mention which functions not tested are aliases
11322 for other functions. Fix typo. Note that signs of NaNs are not
11325 * scripts/config.guess: Update from config.git.
11326 * scripts/config.sub: Likewise.
11328 2012-10-04 Roland McGrath <roland@hack.frob.com>
11330 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11331 * misc/madvise.c (madvise): Renamed to __madvise.
11332 Make madvise a weak alias.
11333 * include/sys/mman.h: Declare __madvise.
11334 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11335 * sysdeps/unix/syscalls.list
11336 (madvise): Make __madvise the strong name, and madvise a weak alias.
11337 * sysdeps/unix/sysv/linux/syscalls.list
11338 (madvise, mmap): Remove redundant entries.
11339 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11340 * malloc/malloc.c (mtrim): Likewise.
11341 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11343 2012-10-03 Roland McGrath <roland@hack.frob.com>
11345 * sysdeps/mach/hurd/dl-cache.c: File removed.
11346 * config.h.in (USE_LDCONFIG): New #undef.
11347 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11348 * configure: Regenerated.
11349 * elf/Makefile (dl-routines): Add dl-cache only under
11350 [$(use-ldconfig) = yes].
11351 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11352 cache on [USE_LDCONFIG].
11353 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11355 * elf/rtld.c (dl_main): Likewise.
11357 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11359 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11360 _SC_LEVEL4_CACHE_LINESIZE.
11362 2012-10-03 Roland McGrath <roland@hack.frob.com>
11364 * sysdeps/unix/bsd/confstr.h: File removed.
11366 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11368 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11371 2012-10-02 Roland McGrath <roland@hack.frob.com>
11373 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11374 Make 'mapoff' field ElfW(Off) rather than off_t.
11376 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11378 * nscd/Makefile: Remove nscd-cflags and all its users.
11379 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11380 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11383 * malloc.c (malloc_printerr): Clarify error message.
11385 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11389 Set bit_FMA_Usable if FMA is supported.
11390 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11392 (bit_FMA4_Usable): Updated.
11393 (index_FMA_Usable): New macro.
11394 (CPUID_FMA): Likewise
11395 (HAS_FMA): Defined with bit_FMA_Usable.
11397 2012-10-01 Roland McGrath <roland@hack.frob.com>
11399 * bits/types.h (__swblk_t): Type removed.
11400 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11401 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11403 (__SWBLK_T_TYPE): Likewise.
11404 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11405 (__SWBLK_T_TYPE): Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11407 (__SWBLK_T_TYPE): Likewise.
11408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11409 (__SWBLK_T_TYPE): Likewise.
11411 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11412 Honza Horak <hhorak@redhat.com>
11414 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11415 (xdr_mapname): Use YPMAXMAP as maxsize.
11416 (xdr_peername): Use YPMAXPEER as maxsize.
11417 (xdr_keydat): Use YPAXRECORD as maxsize.
11418 (xdr_valdat): Use YPMAXRECORD as maxsize.
11420 2012-10-01 Roland McGrath <roland@hack.frob.com>
11422 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11424 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11425 * csu/init-first.c: ... here.
11426 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11427 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11428 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11429 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11430 * sysdeps/i386/init-first.c: File removed.
11431 * sysdeps/sh/init-first.c: File removed.
11433 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11437 if x * y might underflow to zero and z is zero.
11438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11440 * math/libm-test.inc (min_subnorm_value): New variable.
11441 (fma_test): Add more tests.
11442 (fma_test_towardzero): Likewise.
11443 (fma_test_downward): Likewise
11444 (fma_test_upward): Likewise.
11445 (initialize): Set min_subnorm_value.
11447 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11453 mode for addition resulting in exact zero.
11454 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11457 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11459 * math/libm-test.inc (fma_test): Add more tests.
11460 (fma_test_towardzero): New function.
11461 (fma_test_downward): Likewise.
11462 (fma_test_upward): Likewise.
11463 (main): Call the new functions.
11465 2012-09-28 David S. Miller <davem@davemloft.net>
11467 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11469 2012-09-28 Roland McGrath <roland@hack.frob.com>
11471 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11472 instead of SIGALRM.
11474 * sysdeps/gnu/_G_config.h: Moved to ...
11475 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11476 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11477 * sysdeps/generic/_G_config.h: ... here.
11479 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11481 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11483 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11484 Conditionalize target on [libnss_test1.so-version].
11486 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11488 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11489 (elfobjdir): Move out of conditionals.
11491 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11492 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11493 (__nss_lookup_function): Conditionalize label remove_from_tree on
11494 [!DO_STATIC_NSS || SHARED], matching its only use.
11496 2012-09-28 David S. Miller <davem@davemloft.net>
11498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11499 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11501 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11503 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11505 when HWCAP_SPARC_CRYPTO is present.
11507 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11509 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11511 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11514 * stdio-common/vfprintf.c (process_string_arg): Revert
11517 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11519 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11521 * stdio-common/tst-sprintf.c: Include <locale.h>
11522 (main): Test sprintf's handling of incomplete multibyte
11525 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11527 * elf/dl-runtime.c (VERSYMIDX): Removed.
11528 * elf/dl-version.c (VERSYMIDX): Likewise.
11529 * elf/do-rel.h (VERSYMIDX): Likewise.
11530 (VALIDX): Likewise.
11531 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11532 * elf/rtld.c (VALIDX): Likewise.
11533 (ADDRIDX): Likewise.
11534 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11535 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11536 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11537 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11538 (VALIDX): Likewise.
11539 (ADDRIDX): Likewise.
11541 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11543 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11545 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11548 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11550 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11551 addresses are in the same scope as 192.0.2/24.
11552 * posix/gai.conf: Document new scope table defaults.
11554 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11557 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11558 for ftell. Compute offsets from write pointers instead.
11559 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11561 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11564 * libio/Makefile (tests): New test case tst-fseek.
11565 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11566 combination works in wide mode.
11567 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11568 state when the external buffer state changes.
11570 2012-09-27 David S. Miller <davem@davemloft.net>
11573 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11574 pass reloc->r_addend in as the 'high' argument to
11575 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11579 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11581 * rt/tst-aio2.c: Include <pthread.h>.
11582 * rt/tst-aio3.c: Likewise.
11584 2012-09-27 Steve Ellcey <sellcey@mips.com>
11586 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11588 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11590 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11591 contents on [SHARED].
11593 2012-09-26 Marek Polacek <polacek@redhat.com>
11597 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11598 for C++ and GCC <4.3 as well as for non GCC compilers.
11600 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11604 2012-09-25 Roland McGrath <roland@hack.frob.com>
11606 * Makefile.in (all, install): Declare with .PHONY.
11607 Reported by Michael Hope <michael.hope@linaro.org>.
11609 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11611 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11612 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11614 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11616 (sydep_routines): Add the new and the internal functions.
11617 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11618 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11620 (GLIBC_2.17): Add the new function.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11622 (GLIBC_2.17): Likewise.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11624 (GLIBC_2.17): Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11626 (GLIBC_2.17): Likewise.
11627 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11629 2012-09-25 Alan Modra <amodra@gmail.com>
11631 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11632 Add release barrier before setting once_control to say
11633 initialisation is done. Add hints on lwarx. Use macro in
11635 (clear_once_control): Add release barrier.
11637 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11640 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11642 * math/s_clog10.c (__clog10): Likewise.
11643 * math/s_clog10f.c (__clog10f): Likewise.
11644 * math/s_clog10l.c (__clog10l): Likewise.
11645 * math/s_clogf.c (__clogf): Likewise.
11646 * math/s_clogl.c (__clogl): Likewise.
11647 * math/Makefile (libm-calls): Add x2y2m1.
11648 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11649 (__x2y2m1): Likewise.
11650 (__x2y2m1l): Likewise.
11651 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11652 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11657 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11658 * sysdeps/i386/fpu/libm-test-ulps: Update.
11659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11662 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11663 int as type of variable DEPTH.
11664 (glob): Use size_t instead of int as type of variables NEWCOUNT
11667 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11669 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11670 Add s_sincosf-sse2.
11671 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11672 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11673 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11674 macros for using routine as __sincosf_ia32.
11675 Use macro for function declaration and weak_alias.
11676 * sysdeps/i386/fpu/libm-test-ulps: Update.
11678 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11681 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11682 subnormal argument.
11683 * math/s_cexpf.c (__cexpf): Likewise.
11684 * math/s_csinf.c (__csinf): Likewise.
11685 * math/s_csinhf.c (__csinhf): Likewise.
11686 * math/s_ctanf.c (__ctanf): Likewise.
11687 * math/s_ctanhf.c (__ctanhf): Likewise.
11688 * math/s_ccosh.c (__ccoshf): Likewise.
11689 * math/s_cexp.c (__cexpl): Likewise.
11690 * math/s_csin.c (__csin): Likewise.
11691 * math/s_csinh.c (__csinh): Likewise.
11692 * math/s_ctan.c (__ctan): Likewise.
11693 * math/s_ctanh.c (ctanh): Likewise.
11694 * math/s_ccoshl.c (__ccoshl): Likewise.
11695 * math/s_cexpl.c (__cexpl): Likewise.
11696 * math/s_csinl.c (__csinl): Likewise.
11697 * math/s_csinhl.c (__csinhl): Likewise.
11698 * math/s_ctanl.c (__ctanl): Likewise.
11699 * math/s_ctanhl.c (__ctanhl): Likewise.
11701 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11703 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11704 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11705 (_IO_off_t): Define to __off_t, not _G_off_t.
11706 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11707 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11708 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11709 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11710 type of __dummy and __dummy2 fields.
11711 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11712 (_G_ssize_t): Likewise.
11713 (_G_off_t): Likewise.
11714 (_G_pid_t): Likewise.
11715 (_G_uid_t): Likewise.
11716 (_G_wchar_t): Likewise.
11717 (_G_wint_t): Likewise.
11718 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11719 (_G_ssize_t): Likewise.
11720 (_G_off_t): Likewise.
11721 (_G_pid_t): Likewise.
11722 (_G_uid_t): Likewise.
11723 (_G_wchar_t): Likewise.
11724 (_G_wint_t): Likewise.
11725 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11726 (_G_ssize_t): Likewise.
11727 (_G_off_t): Likewise.
11728 (_G_pid_t): Likewise.
11729 (_G_uid_t): Likewise.
11730 (_G_wchar_t): Likewise.
11731 (_G_wint_t): Likewise.
11733 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11735 * malloc/arena.c: Include malloc-sysdep.h.
11736 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11737 is sufficient to shrink the heap or an unmap is needed.
11738 * sysdeps/generic/malloc-sysdep.h: New file. Define
11739 new function check_may_shrink_heap.
11740 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11741 new function check_may_shrink_heap.
11743 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11745 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11748 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11750 * catgets/test-gencat.sh: Add "set -e".
11751 * elf/tst-pathopt.sh: Likewise.
11752 * grp/tst_fgetgrent.sh: Likewise.
11753 * iconvdata/run-iconv-test.sh: Likewise.
11754 * intl/tst-gettext.sh: Likewise.
11755 * intl/tst-gettext2.sh: Likewise.
11756 * intl/tst-gettext4.sh: Likewise.
11757 * intl/tst-gettext6.sh: Likewise.
11758 * intl/tst-translit.sh: Likewise.
11759 * io/ftwtest-sh: Likewise.
11760 * libio/test-freopen.sh: Likewise.
11761 * malloc/tst-mtrace.sh: Likewise.
11762 * posix/globtest.sh: Likewise.
11763 * posix/tst-getconf.sh: Likewise.
11764 * posix/wordexp-tst.sh: Likewise.
11765 * stdio-common/tst-printf.sh: Likewise.
11766 * stdio-common/tst-unbputc.sh: Likewise.
11767 * stdlib/tst-fmtmsg.sh: Likewise.
11768 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11769 * catgets/Makefile: Do not specify -e option when running
11770 testsuite shell scripts.
11771 * elf/Makefile: Likewise.
11772 * grp/Makefile: Likewise.
11773 * iconvdata/Makefile: Likewise.
11774 * intl/Makefile: Likewise.
11775 * io/Makefile: Likewise.
11776 * libio/Makefile: Likewise.
11777 * malloc/Makefile: Likewise.
11778 * posix/Makefile: Likewise.
11779 * stdio-common/Makefile: Likewise.
11780 * stdlib/Makefile: Likewise.
11781 * sysdeps/x86_64/Makefile: Likewise.
11783 * io/ftwtest-sh: Add copyright header.
11784 * posix/globtest.sh: Likewise.
11785 * posix/tst-getconf.sh: Likewise.
11786 * posix/wordexp-tst.sh: Likewise.
11787 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11789 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11792 * Makeconfig (+link): Defined as $(+link-static) if
11793 $(build-shared) isn't yes.
11794 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11796 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11798 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11801 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11802 new chunk size with MALLOC_ALIGN_MASK.
11804 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11807 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11809 (__printf_fphex): Determine rounding using get_rounding_mode and
11811 * stdio-common/tst-printf-round.c (struct hex_test): New
11813 (hex_tests): New variable.
11814 (test_hex_in_one_mode): New function.
11815 (do_test): Also run tests for hex float output.
11817 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11819 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11820 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11821 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11822 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11823 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11824 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11825 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11826 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11828 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11830 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11831 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11832 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11833 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11835 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11838 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11840 * elf/tst-rtld-load-self.sh: New test.
11841 * elf/Makefile: Run it.
11843 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11845 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11846 (tst-writev-ENV): Remove.
11847 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11849 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11851 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11853 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11855 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11857 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11859 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11860 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11864 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11867 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11868 * config.make.in (have-cpp-asm-debuginfo): Removed.
11869 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11870 * configure: Regenerated.
11872 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11875 * stdio-common/printf_fp.c: Include <stdbool.h> and
11877 (___printf_fp): Determine rounding using get_rounding_mode and
11879 * stdio-common/tst-printf-round.c: New file.
11880 * stdio-common/Makefile (tests): Add tst-printf-round.
11881 (link-libm): New variable.
11882 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11884 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11887 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11888 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11890 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11893 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11895 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11896 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11897 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11898 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11900 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11903 * include/rounding-mode.h: New file.
11904 * sysdeps/generic/get-rounding-mode.h: Likewise.
11905 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11906 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11907 (MAX_VALUE): New macro.
11908 (MIN_VALUE): Likewise.
11909 (overflow_value): New function.
11910 (underflow_value): Likewise.
11911 (round_and_return): Use overflow_value and underflow_value to
11912 determine return values in overflow and underflow cases. Use
11913 round_away to determine rounding depending on rounding mode.
11914 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11915 determine return values in overflow and underflow cases.
11916 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11917 (struct test_results): New structure.
11918 (struct test): Use struct test_results to store expected results
11919 for all rounding modes.
11920 (TEST): Include expected results for all rounding modes.
11921 (test_in_one_mode): New function.
11922 (do_test): Use test_in_one_mode to compute and check results.
11923 Check results for all rounding modes.
11924 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11927 2012-12-09 Allan McRae <allan@archlinux.org>
11929 * sysdeps/i386/fpu/libm-test-ulps: Update
11931 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11933 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11934 (_G_int32_t): Likewise.
11935 (_G_uint16_t): Likewise.
11936 (_G_uint32_t): Likewise.
11937 (_G_HAVE_BOOL): Likewise.
11938 (_G_HAVE_ATEXIT): Likewise.
11939 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11940 (_G_HAVE_IO_FILE_OPEN): Likewise.
11941 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11942 (_G_int32_t): Likewise.
11943 (_G_uint16_t): Likewise.
11944 (_G_uint32_t): Likewise.
11945 (_G_HAVE_BOOL): Likewise.
11946 (_G_HAVE_ATEXIT): Likewise.
11947 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11948 (_G_HAVE_IO_FILE_OPEN): Likewise.
11949 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11950 (_G_int32_t): Likewise.
11951 (_G_uint16_t): Likewise.
11952 (_G_uint32_t): Likewise.
11953 (_G_HAVE_BOOL): Likewise.
11954 (_G_HAVE_ATEXIT): Likewise.
11955 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11956 (_G_HAVE_IO_FILE_OPEN): Likewise.
11958 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11960 * csu/libc-tls.c: Update copyright years.
11962 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11964 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11965 [!_G_USING_THUNKS]: Remove conditional code.
11966 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11967 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11969 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11970 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11971 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11972 (_G_VTABLE_LABEL_PREFIX): Likewise.
11973 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11974 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11975 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11976 (_G_VTABLE_LABEL_PREFIX): Likewise.
11977 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11978 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11979 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11980 (_G_VTABLE_LABEL_PREFIX): Likewise.
11981 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11983 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11985 * libio/Makefile: Include ../Makeconfig before tests.
11986 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11987 only if $(build-shared) is yes.
11989 * iconv/gconv_db.c: Update copyright years.
11991 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11993 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11994 unwind info if defined PIC. Fix special cases description.
11995 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11997 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11999 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12001 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12003 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12005 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12008 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12009 (LDLIBS-tst-chk4): This.
12010 (LDFLAGS-tst-chk5): Renamed to ...
12011 (LDLIBS-tst-chk5): This.
12012 (LDFLAGS-tst-chk6): Renamed to ...
12013 (LDLIBS-tst-chk6): This.
12014 (LDFLAGS-tst-lfschk4): Renamed to ...
12015 (LDLIBS-tst-lfschk4): This.
12016 (LDFLAGS-tst-lfschk5): Renamed to ...
12017 (LDLIBS-tst-lfschk5): This.
12018 (LDFLAGS-tst-lfschk6): Renamed to ...
12019 (LDLIBS-tst-lfschk6): This.
12021 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12022 on $(common-objpfx)soversions.mk.
12024 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12027 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12030 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12032 * malloc/arena.c (arena_get_retry): New function that gets
12033 another arena for the caller to try its request on.
12034 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12035 current arena cannot fulfill the request.
12036 (__libc_memalign): Likewise.
12037 (__libc_memalign): Likewise.
12038 (__libc_pvalloc): Likewise.
12039 (__libc_calloc): Likewise.
12041 2012-09-05 John Tobey <john.tobey@gmail.com>
12044 * manual/arith.texi (Operations on Complex): Fix description
12045 of carg branch cut.
12047 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12050 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12054 * manual/memory.texi (Memory): Make order of menu items match
12057 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12059 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12060 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12061 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12063 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12065 * csu/libc-tls.c (static_dtv): Renamed to ...
12066 (_dl_static_dtv): This. Make it global.
12067 (_dl_initial_dtv): Removed.
12068 (__libc_setup_tls): Updated.
12069 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12070 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12073 2012-09-06 Petr Machata <pmachata@redhat.com>
12075 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12076 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12077 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12078 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12080 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12083 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12084 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12087 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12090 * Makeconfig (link-static-before-libc): Replace $(+prector)
12092 (link-static-after-libc): Replace $(+postctor) with
12094 (link-bounded): Replace $(+prector)/$(+postctor) with
12095 $(+prectorT)/$(+postctorT).
12096 (+prectorT): New macro.
12097 (+postctorT): Likewise.
12099 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12101 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12102 (round_str): Handle values above the maximum for IBM long double
12104 * stdlib/tst-strtod-round.c (tests): Regenerated.
12106 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12108 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12110 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12111 zarch_nohighgprs around the zarch optimized routines.
12112 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12113 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12114 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12117 2012-09-05 David S. Miller <davem@davemloft.net>
12119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12121 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12122 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12123 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12124 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12127 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12129 * malloc/arena.c: Fold copyright years.
12130 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12132 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12134 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12136 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12138 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12140 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12142 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12143 change internal state upon failure.
12145 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12147 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12148 * malloc/memusage.c (mmap): Likewise.
12149 (mmap64, mremap): Likewise. Adjust name in comment.
12151 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12153 * libio/fileops.c: Fix typos in comments.
12154 * libio/oldfileops.c: Likewise.
12155 * libio/wfileops.c: Likewise.
12157 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12160 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12161 (tst-malloc-usable-ENV): Set environment for test case.
12162 * malloc/hooks.c (malloc_check_get_size): New function to get
12164 * malloc/malloc.c (musable): Use malloc_check_get_size.
12165 * malloc/tst-malloc-usable.c: New test case.
12167 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12169 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12171 2012-09-05 Allan McRae <allan@archlinux.org>
12174 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12175 determine header location.
12176 * configure: Regenerated.
12178 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12180 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12182 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12183 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12185 (test): Regenerate.
12187 2012-09-04 David S. Miller <davem@davemloft.net>
12189 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12190 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12193 2012-09-04 Florian Weimer <fweimer@redhat.com>
12195 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12198 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12200 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12203 * libio/iogetdelim.c: Include <limits.h>.
12204 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12205 + len + 1 would overflow.
12207 2012-09-03 Andreas Jaeger <aj@suse.de>
12209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12210 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12214 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12215 Add s_sinf-sse2, s_conf-sse2.
12217 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12218 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12219 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12220 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12222 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12223 for using routine as __sinf_ia32.
12224 Use macro for function declaration and weak_alias.
12225 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12226 for using routine as __cosf_ia32.
12227 Use macro for function declaration and weak_alias.
12229 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12230 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12232 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12233 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12236 * math/libm-test.inc (cos_test): Add more test cases.
12237 (sin_test): Likewise.
12238 (sincos_test): Likewise.
12240 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12242 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12243 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12245 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12247 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12250 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12251 first element of the GOT.
12252 (elf_machine_load_address): Return the difference between
12253 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12255 2012-09-01 Allan McRae <allan@archlinux.org>
12258 * configure.in (AWK): Require gawk version 3.0 or later.
12259 * configure: Regenerated.
12261 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12263 * sysdeps/unix/sysv/linux/kernel-features.h
12264 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12266 [__NR_clock_getres]: Make code unconditional.
12267 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12268 (clock_getcpuclockid): Remove code left unreachable by removal of
12270 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12271 code unconditional.
12272 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12273 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12274 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12275 Make code unconditional.
12276 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12277 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12278 * sysdeps/unix/sysv/linux/clock_settime.c
12279 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12281 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12282 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12284 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12287 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12288 scripts/test-installation.pl.
12290 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12291 and $ld_so_version if it is set.
12293 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12296 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12297 failure if reading from procfs failed.
12298 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12300 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12302 * sysdeps/unix/sysv/linux/kernel-features.h
12303 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12304 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12305 Remove conditional code.
12306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12307 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12308 Remove conditional code.
12309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12310 * sysdeps/unix/sysv/linux/i386/fxstat.c
12311 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12313 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12314 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12316 * sysdeps/unix/sysv/linux/i386/lxstat.c
12317 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12319 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12320 Remove conditional code.
12321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12322 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12323 Remove conditional code.
12324 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12325 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12326 <kernel-features.h>.
12327 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12329 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12330 Remove conditional code.
12331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12332 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12333 Remove conditional.
12335 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12338 * NEWS: Add fixed bug number.
12340 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12343 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12344 underflowing exponent in case of negative sign.
12345 * stdlib/tst-strtod-round-data: Add more tests.
12346 * stdlib/tst-strtod-round.c (tests): Regenerated.
12349 * stdlib/strtod_l.c (NDIG): Remove.
12350 (HEXNDIG): Likewise.
12351 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12352 smallest representable value.
12353 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12354 lie within an exact representation of 1/2 ulp of the result.
12355 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12357 (TENS_P9_IDX): Define unconditionally.
12358 (TENS_P9_SIZE): Likewise.
12359 (TENS_P10_IDX): Likewise.
12360 (TENS_P10_SIZE): Likewise.
12361 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12362 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12363 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12364 entries for 10^2^13 and 10^2^14.
12365 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12366 (TENS_P13_IDX): Define.
12367 (TENS_P13_SIZE): Likewise.
12368 (TENS_P14_IDX): Likewise.
12369 (TENS_P14_SIZE): Likewise.
12370 (_fpioconst_pow10): Change array size to
12371 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12373 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12374 1024]: Add entries for 10^2^13 and 10^2^14.
12375 [LAST_POW10 > _LAST_POW10]: Remove #error.
12376 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12377 (_fpioconst_pow10): Change array size to
12378 FPIOCONST_POW10_ARRAY_SIZE.
12379 * stdlib/gen-fpioconst.c: New file.
12380 * stdlib/gen-tst-strtod-round.c: Likewise.
12381 * stdlib/tst-strtod-round-data: Likewise.
12382 * stdlib/tst-strtod-round.c: Likewise.
12383 * stdlib/Makefile (tests): Add tst-strtod-round.
12386 * stdlib/strtod_l.c: Include <stdint.h>.
12387 (NDEBUG): Do not define.
12388 (round_and_return): Change EXPONENT parameter to type intmax_t.
12389 Rearrange calculations to avoid internal overflow possibilities.
12390 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12391 Rearrange calculations to avoid internal overflow possibilities.
12392 Assert that number fits inside MPNSIZE limbs.
12393 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12394 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12395 calculations and add assertions to avoid internal overflow
12396 possibilities. Add casts to avoid signed/unsigned operations.
12397 * stdlib/tst-strtod-overflow.c: New file.
12398 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12400 2012-08-25 Marek Polacek <polacek@redhat.com>
12402 * time/time.h: Fix some typos in comments.
12404 2012-08-23 Roland McGrath <roland@hack.frob.com>
12406 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12407 * posix/tst-rfc3484-2.c: Likewise.
12408 * posix/tst-rfc3484-3.c: Likewise.
12410 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12412 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12413 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12415 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12417 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12418 #include of fxstatat64.c.
12420 2012-08-22 Roland McGrath <roland@hack.frob.com>
12422 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12423 * shadow/getspent_r.c: Likewise.
12424 * shadow/getspnam.c: Likewise.
12425 * shadow/getspnam_r.c: Likewise.
12426 * gshadow/getsgent.c: Likewise.
12427 * gshadow/getsgent_r.c: Likewise.
12428 * gshadow/getsgnam.c: Likewise.
12429 * gshadow/getsgnam_r.c: Likewise.
12430 * inet/getnetbyad.c: Likewise.
12431 * inet/getnetbyad_r.c: Likewise.
12432 * inet/getnetbynm.c: Likewise.
12433 * inet/getnetbynm_r.c: Likewise.
12434 * inet/getnetent.c: Likewise.
12435 * inet/getnetent_r.c: Likewise.
12436 * inet/getproto.c: Likewise.
12437 * inet/getproto_r.c: Likewise.
12438 * inet/getprtent.c: Likewise.
12439 * inet/getprtent_r.c: Likewise.
12440 * inet/getprtname.c: Likewise.
12441 * inet/getprtname_r.c: Likewise.
12442 * inet/getrpcbyname.c: Likewise.
12443 * inet/getrpcbyname_r.c: Likewise.
12444 * inet/getrpcbynumber.c: Likewise.
12445 * inet/getrpcbynumber_r.c: Likewise.
12446 * inet/getrpcent.c: Likewise.
12447 * inet/getrpcent_r.c: Likewise.
12448 * inet/getaliasent.c: Likewise.
12449 * inet/getaliasent_r.c: Likewise.
12450 * inet/getaliasname.c: Likewise.
12451 * inet/getaliasname_r.c: Likewise.
12452 * nscd/getgrgid_r.c: Likewise.
12453 * nscd/getgrnam_r.c: Likewise.
12454 * nscd/gethstbyad_r.c: Likewise.
12455 * nscd/gethstbynm3_r.c: Likewise.
12456 * nscd/getpwnam_r.c: Likewise.
12457 * nscd/getpwuid_r.c: Likewise.
12458 * nscd/getsrvbynm_r.c: Likewise.
12459 * nscd/getsrvbypt_r.c: Likewise.
12460 * nscd/gai.c: Likewise.
12462 * configure.in (build_nscd): New substituted variable, set
12463 by --disable-build-nscd and defaults to $use_nscd.
12464 * configure: Regenerated.
12465 * config.make.in (build-nscd): New substituted variable.
12466 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12467 Change conditional to require [$(build-nscd) = yes] as well.
12468 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12471 * configure.in (use_nscd): New substituted variable, set by
12472 --disable-nscd. If enabled, define USE_NSCD.
12473 * configure: Regenerated.
12474 * config.h.in: Add USE_NSCD.
12475 * config.make.in (use-nscd): New substituted variable.
12476 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12477 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12478 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12479 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12480 (CFLAGS-getgrnam_r.c): Likewise.
12481 (CFLAGS-initgroups.c): Likewise.
12482 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12483 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12485 * inet/getnetgrent_r.c
12486 (nscd_setnetgrent): New function, broken out of ...
12487 (setnetgrent): ... here. Call it.
12488 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12489 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12490 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12491 * nscd/Makefile (routines, aux): Move definitions after include of
12492 Makeconfig. Conditionalize on [$(use-nscd) != no].
12493 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12494 Conditionalize on [USE_NSCD].
12495 (is_nscd, nscd_init_cb): Likewise.
12496 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12497 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12498 * nss/nss_db/db-init.c: Likewise.
12499 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12501 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12502 (make_request): Use it.
12503 (cache_valid_p): New function.
12504 (__check_pf): Use it.
12505 * NEWS: Add item for --disable-nscd.
12507 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12509 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12510 to support sed >= 4.2.1-20-ga9bf076.
12511 * configure: Regenerated.
12513 2012-08-22 Roland McGrath <roland@hack.frob.com>
12515 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12516 Conditionalize whole body on [IREL].
12518 2012-08-22 Jeff Law <law@redhat.com>
12521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12522 if the family is PF_UNSPEC.
12524 2012-08-22 Mike Frysinger <vapier@gentoo.org>
12526 * Makerules (lib-version): Rename from V.
12527 (install-lib-nosubdir): Change V to lib-version.
12529 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12532 * powerpc32/power6/wcschr.c: New file.
12533 * powerpc32/power6/wcscpy.c: New file.
12534 * powerpc32/power6/wcsrchr.c: New file.
12535 * powerpc64/power6/wcschr.c: New file.
12536 * powerpc64/power6/wcscpy.c: New file.
12537 * powerpc64/power6/wcsrchr.c: New file.
12539 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12541 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12542 (two_way_short_needle): Use it.
12543 * string/strstr.c (AVAILABLE1_USES_J): Define.
12544 * string/strcasestr.c: Likewise.
12546 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12548 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12551 * NEWS: Add an entry.
12552 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12553 define their defaults.
12554 (two_way_short_needle): Detect end-of-string on-the-fly.
12555 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12556 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12557 * string/bug-strcasestr1.c: New test.
12558 * string/Makefile: Run it.
12560 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12563 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12564 the first character.
12566 2012-08-21 Roland McGrath <roland@hack.frob.com>
12568 * csu/elf-init.c (__libc_csu_irel): Function removed.
12569 * csu/libc-start.c (apply_irel): New function.
12570 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12572 2012-08-21 Joseph Myers <joseph@codesourcery.com>
12574 * sysdeps/unix/sysv/linux/kernel-features.h
12575 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12576 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12577 <kernel-features.h>.
12578 [__NR_fadvise64_64]: Make code unconditional.
12579 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12580 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12581 !__NR_fadvise64_64)]: Likewise.
12582 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12583 !__NR_fadvise64_64))]: Likewise.
12584 [__NR_fadvise64]: Make code unconditional.
12585 [!__NR_fadvise64]: Remove conditional code.
12586 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12587 <kernel-features.h>.
12588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12593 not include <kernel-features.h>.
12594 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12596 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12598 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12599 include <kernel-features.h>.
12600 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12602 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12605 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12608 slight instruction rearrangements per scrollpipe analysis.
12609 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12611 2012-08-20 Roland McGrath <roland@hack.frob.com>
12613 * manual/syslog.texi (syslog; vsyslog, closelog):
12614 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12615 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12617 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12618 DSOCAPS to match condition on defining it.
12620 2012-08-20 Joseph Myers <joseph@codesourcery.com>
12622 * sysdeps/unix/sysv/linux/kernel-features.h
12623 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12625 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12626 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12628 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12629 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12631 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12632 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12634 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12635 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12637 * sysdeps/unix/sysv/linux/kernel-features.h
12638 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12639 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12641 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12642 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12643 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12644 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12645 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12646 Make code unconditional.
12647 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12648 (__mmap64) [!__NR_mmap2]: Likewise.
12649 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12650 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12651 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12652 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12653 [__NR_mmap2]: Make code unconditional.
12654 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12655 (__mmap64) [!__NR_mmap2]: Likewise.
12657 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12659 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12661 2012-08-18 Andreas Jaeger <aj@suse.de>
12663 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12665 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12667 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12668 * include/unistd.h (__have_sock_cloexec): Likewise.
12669 (__have_pipe2): Likewise.
12670 (__have_dup3): Likewise.
12672 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12675 * include/unistd.h (__have_pipe2): Change define into an extern int.
12676 (__have_dup3): Likewise.
12677 * socket/have_sock_cloexec.c: Include fcntl.h.
12678 (__have_pipe2): New variable.
12679 (__have_dup3): Likewise.
12681 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12683 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12685 2012-08-17 Marek Polacek <polacek@redhat.com>
12687 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12688 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12690 2012-08-17 Roland McGrath <roland@hack.frob.com>
12692 * configure.in: Add AC_SUBST for sysheaders.
12693 * configure: Regenerated.
12694 * config.make.in (sysheaders): New substituted variable.
12696 * sysdeps/unix/mkfifo.c: Moved ...
12697 * sysdeps/posix/mkfifo.c: ... here.
12698 * sysdeps/unix/mkfifoat.c: Moved ...
12699 * sysdeps/posix/mkfifoat.c: ... here.
12701 * sysdeps/unix/utime.c: Moved ...
12702 * sysdeps/posix/utime.c: ... here.
12704 * sysdeps/unix/time.c: Moved ...
12705 * sysdeps/posix/time.c: ... here.
12706 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12707 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12709 * sysdeps/unix/nice.c: Moved ...
12710 * sysdeps/posix/nice.c: ... here.
12712 * sysdeps/unix/alarm.c: Moved ...
12713 * sysdeps/posix/alarm.c: ... here.
12715 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12717 2012-08-17 Jeff Law <law@redhat.com>
12719 * intl/Makefile (codeset_mo): New variable.
12720 ($(codeset_mo)): New target.
12721 (tst-codeset.out): Depend on that. Remove explicit rule.
12722 (tst-gettext3.out, tst-gettext5.out): Likewise.
12723 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12724 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12725 * intl/tst-codeset.sh: Remove.
12726 * intl/tst-gettext3.sh: Likewise.
12727 * intl/tst-gettext5.sh: Likewise.
12729 2012-08-17 Roland McGrath <roland@hack.frob.com>
12731 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12732 * sysdeps/unix/syscalls.list: ... here.
12734 * sysdeps/posix/getaddrinfo.c
12735 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12736 (gaiconf_init, gaiconf_reload): Use them.
12737 [!_STATBUF_ST_NSEC]
12738 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12739 Define using time_t rather than struct timespec.
12741 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12742 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12744 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12746 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12747 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12750 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12751 __libc_cleanup_push argument.
12753 * bits/param.h: New file.
12754 * misc/sys/param.h: New file.
12755 * include/sys/param.h: New file.
12756 * misc/Makefile (headers): Add bits/param.h.
12757 * sysdeps/generic/sys/param.h: File removed.
12758 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12759 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12760 * sysdeps/mach/hurd/bits/param.h: New file.
12761 * sysdeps/mach/hurd/sys/param.h: File removed.
12763 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12766 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12768 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12769 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12772 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12773 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12774 rather than -D_IO_MTSAFE_IO conditionally.
12775 * stdio-common/Makefile (CPPFLAGS): Likewise.
12776 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12777 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12778 Use $(libio-mtsafe).
12779 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12780 of -D_IO_MTSAFE_IO.
12781 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12782 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12783 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12784 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12785 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12786 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12787 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12788 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12789 (CFLAGS-fread_u_chk.c): Likewise.
12790 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12791 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12792 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12793 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12794 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12795 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12796 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12797 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12798 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12800 * libio/Makefile: Test [$(libc-reentrant) = yes]
12801 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12804 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12805 * sysdeps/pthread/configure: File removed.
12806 * sysdeps/pthread/Makeconfig: New file.
12807 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12808 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12810 2012-08-16 Gary Benson <gbenson@redhat.com>
12812 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12813 unmapping the first object in a namespace.
12815 2012-08-16 Roland McGrath <roland@hack.frob.com>
12817 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12818 (__internal_setnetgrent): ... this. Add internal_function to
12819 definition. Add libc_hidden_def.
12820 (setnetgrent): Update caller.
12821 (internal_endnetgrent): Renamed to ...
12822 (__internal_endnetgrent): ... this. Add internal_function to
12823 definition. Add libc_hidden_def.
12824 (endnetgrent): Update caller.
12825 (internal_getnetgrent_r): Renamed to ...
12826 (__internal_getnetgrent_r): ... this. Add internal_function to
12827 definition. Add libc_hidden_def.
12828 (__getnetgrent_r): Update caller.
12829 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12831 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12833 * stdlib/longlong.h: Update from GCC.
12835 2012-08-16 Roland McGrath <roland@hack.frob.com>
12837 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12838 on _QL, which is set by umul_ppmm but never used.
12839 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12840 variables, which are set by GMP macros but never used.
12841 * stdio-common/_itowa.c (_itowa): Likewise.
12842 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12843 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12845 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12847 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12848 struct La_sh_regs is not constant.
12849 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12850 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12851 and struct La_sparc64_regs are not constant.
12853 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12855 * sysdeps/unix/sysv/linux/kernel-features.h
12856 (__ASSUME_POSIX_TIMERS): Remove.
12857 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12859 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12860 Make code unconditional.
12861 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12862 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12863 Make code unconditional.
12864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12865 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12866 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12867 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12868 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12869 Make code unconditional.
12870 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12871 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12872 (__libc_missing_posix_timers): Remove.
12874 2012-08-15 Roland McGrath <roland@hack.frob.com>
12876 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12877 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12879 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12881 * elf/dl-sym.c: Include <stdlib.h>.
12883 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12884 constants, which avoids warnings in 32-bit builds.
12886 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12887 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12889 * misc/lseek.c: File moved to ...
12890 * io/lseek.c: ... here.
12892 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12894 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12895 shifting LEN more than 31 bits at once.
12897 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12900 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12901 segmentation fault for a case of two empty input strings.
12902 * string/test-strncasecmp.c (check1): Renamed to...
12903 (bz12205): ...this.
12904 (bz14195): Add new testcase for two empty input strings and N > 0.
12905 (test_main): Call new testcase, adapt for renamed function.
12907 2012-08-15 Andreas Jaeger <aj@suse.de>
12910 * crypt/md5test2.c: New test, based on test supplied by Serge
12911 Belyshev <belyshev@depni.sinp.msu.ru>.
12912 * crypt/Makefile (xtests): Add md5test-giant..
12913 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12915 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12918 * crypt/md5.c (md5_process_block): Don't assume the buffer
12919 length is less than 2**32.
12920 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12921 length is less than 2**64.
12923 2012-08-15 Roland McGrath <roland@hack.frob.com>
12925 * string/str-two-way.h: Include <sys/param.h>.
12926 (MAX): Macro removed.
12928 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12929 Move #define and #undef of memmove to just before and after
12930 including <string.h>.
12932 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12933 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12934 and after including <string.h>. Move declarations of
12935 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12936 to before #include "string/memmove.c".
12938 * include/dirent.h: Declare __getdirentries.
12940 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12941 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12943 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12945 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12946 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12947 * sysdeps/i386/configure: Regenerated.
12948 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12949 STABS_CURRENT_FILE, and STABS_FUN.
12950 (END): Remove call to STABS_FUN_END.
12951 (STABS_CURRENT_FILE1): Delete.
12952 (STABS_CURRENT_FILE): Likewise.
12953 (STABS_FUN): Likewise.
12954 (STABS_FUN_END): Likewise.
12955 (STABS_FUN2): Likewise.
12956 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12957 * sysdeps/x86_64/configure: Regenerated.
12959 2012-08-14 Roland McGrath <roland@hack.frob.com>
12961 * elf/dl-open.c: Include <atomic.h>.
12962 * elf/dl-lookup.c: Likewise.
12964 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12966 * sysdeps/unix/sysv/linux/kernel-features.h
12967 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12968 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12970 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12972 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12973 condition on __ASSUME_CLONE_THREAD_FLAGS.
12975 2012-08-14 Andreas Jaeger <aj@suse.de>
12977 * sysdeps/i386/fpu/libm-test-ulps: Update.
12979 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12981 * include/atomic.h (atomic_exchange_and_add): Split into ...
12982 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12985 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12989 2012-08-13 Jeff Law <law@redhat.com>
12991 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12992 null byte in the output string.
12994 2012-08-10 Joseph Myers <joseph@codesourcery.com>
12996 * sysdeps/unix/sysv/linux/kernel-features.h
12997 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12998 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12999 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13000 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13001 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13002 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13003 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13005 2012-08-09 Jeff Law <law@redhat.com>
13008 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13009 When avoid_arena is set, don't retry in the that arena. Pick the
13010 next one, whatever it might be.
13011 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13012 (arena_lock): Pass in new parameter to arena_get2.
13013 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13015 (__libc_malloc): Unify retrying after main arena failure with
13016 __libc_memalign version.
13017 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13019 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13022 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13023 to __redirect_strstr.
13024 (__strstr_sse42): Use typeof __redirect_strstr.
13025 (__strstr_ia32): Likewise.
13026 (__libc_strstr): New prototype.
13027 (strstr): Renamed to ...
13028 (__libc_strstr): This.
13029 (strstr): New strong alias of __libc_strstr.
13030 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13034 (__libc_time): New prototype.
13035 (time_ifunc): Replace time with __libc_time.
13036 (time): New strong alias and hidden definition of __libc_time.
13037 (__GI_time): Remove strong alias.
13038 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13039 Include <stddef.h>.
13040 (memmove): Redefined to __redirect_memmove.
13041 (__memmove_sse2): Use typeof __redirect_memmove.
13042 (__memmove_ssse3): Likewise.
13043 (__memmove_ssse3_back): Likewise.
13044 (__libc_memmove): New prototype.
13045 (memmove): Renamed to ...
13046 (__libc_memmove): This.
13047 (memmove): New strong alias of __libc_memmove.
13049 2012-08-08 Mark Salter <msalter@redhat.com>
13052 (R_MN10300_TLS_GD): Define.
13053 (R_MN10300_TLS_LD): Likewise.
13054 (R_MN10300_TLS_LDO): Likewise.
13055 (R_MN10300_TLS_GOTIE): Likewise.
13056 (R_MN10300_TLS_IE): Likewise.
13057 (R_MN10300_TLS_LE): Likewise.
13058 (R_MN10300_TLS_DTPMOD): Likewise.
13059 (R_MN10300_TLS_DTPOFF): Likewise.
13060 (R_MN10300_TLS_TPOFF): Likewise.
13061 (R_MN10300_SYM_DIFF): Likewise.
13062 (R_MN10300_ALIGN): Likewise.
13063 (R_MN10300_NUM): Update.
13065 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13067 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13070 2012-08-08 Roland McGrath <roland@hack.frob.com>
13072 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13074 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13075 sysdeps/unix -> sysdeps/posix move.
13076 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13078 2012-08-07 Allan McRae <allan@archlinux.org>
13081 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13082 (SUNOS_CPP): Likewise.
13083 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13085 (open_input): Call CPP using execvp.
13087 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13089 * sysdeps/unix/sysv/linux/kernel-features.h
13090 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13091 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13092 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13093 (__ASSUME_WAITID_SYSCALL): Likewise.
13094 * sysdeps/unix/sysv/linux/dl-execstack.c
13095 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13096 code unconditional.
13097 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13099 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13100 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13101 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13103 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13105 [__ASSUME_WAITID_SYSCALL]: Likewise.
13106 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13108 2012-08-07 Roland McGrath <roland@hack.frob.com>
13110 * sysdeps/unix/closedir.c: Renamed to ...
13111 * sysdeps/posix/closedir.c: ... here.
13112 * sysdeps/unix/dirfd.c: Renamed to ...
13113 * sysdeps/posix/dirfd.c: ... here.
13114 * sysdeps/unix/dirstream.h: Renamed to ...
13115 * sysdeps/posix/dirstream.h: ... here.
13116 * sysdeps/unix/fdopendir.c: Renamed to ...
13117 * sysdeps/posix/fdopendir.c: ... here.
13118 * sysdeps/unix/opendir.c: Renamed to ...
13119 * sysdeps/posix/opendir.c: ... here.
13120 * sysdeps/unix/readdir.c: Renamed to ...
13121 * sysdeps/posix/readdir.c: ... here.
13122 * sysdeps/unix/readdir_r.c: Renamed to ...
13123 * sysdeps/posix/readdir_r.c: ... here.
13124 * sysdeps/unix/rewinddir.c: Renamed to ...
13125 * sysdeps/posix/rewinddir.c: ... here.
13126 * sysdeps/unix/seekdir.c: Renamed to ...
13127 * sysdeps/posix/seekdir.c: ... here.
13128 * sysdeps/unix/telldir.c: Renamed to ...
13129 * sysdeps/posix/telldir.c: ... here.
13130 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13131 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13132 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13133 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13135 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13136 * bits/fcntl.h: ... here.
13138 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13140 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13141 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13142 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13143 (struct flock): Move l_start, l_len to the beginning.
13144 Use __pid_t for l_pid.
13145 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13146 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13147 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13148 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13149 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13150 [__USE_LARGEFILE64] (struct flock64): New type.
13151 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13153 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13154 * bits/dirent.h: ... here.
13156 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13157 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13159 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13161 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13162 Change from 2.6.0 to 2.6.16.
13163 * sysdeps/unix/sysv/linux/configure: Regenerated.
13164 * sysdeps/unix/sysv/linux/kernel-features.h
13165 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13166 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13168 (__ASSUME_UTIMES): Likewise.
13169 (__ASSUME_CLONE_STOPPED): Remove.
13170 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13171 architectures, not kernel version.
13172 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13173 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13174 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13175 (__ASSUME_WAITID_SYSCALL): Likewise.
13176 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13177 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13178 * README: State 2.6.16 as minimum Linux kernel version. Do not
13179 refer to older versions.
13181 2012-08-06 Roland McGrath <roland@hack.frob.com>
13183 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13184 Define alphasort64 as an alias.
13185 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13186 Define versionsort64 as an alias.
13187 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13188 Define scandir64 as an alias.
13189 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13190 Define scandirat64 as an alias.
13191 * dirent/alphasort64.c (alphasort64):
13192 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13193 * dirent/versionsort64.c: Likewise.
13194 * dirent/scandir64.c: Likewise.
13195 * dirent/scandirat64.c: Likewise.
13196 * sysdeps/wordsize-64/alphasort.c: File removed.
13197 * sysdeps/wordsize-64/alphasort64.c: File removed.
13198 * sysdeps/wordsize-64/scandir.c: File removed.
13199 * sysdeps/wordsize-64/scandir64.c: File removed.
13200 * sysdeps/wordsize-64/scandirat.c: File removed.
13201 * sysdeps/wordsize-64/scandirat64.c: File removed.
13202 * sysdeps/wordsize-64/versionsort.c: File removed.
13203 * sysdeps/wordsize-64/versionsort64.c: File removed.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13205 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13206 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13211 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13213 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13215 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13217 [defined __arch64__ || defined __sparcv9]
13218 (__INO_T_MATCHES_INO64_T): New macro.
13219 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13220 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13221 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13222 * sysdeps/unix/sysv/linux/bits/dirent.h
13223 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13224 (_DIRENT_MATCHES_DIRENT64): New macro.
13226 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13227 Define lockf64 as an alias.
13228 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13229 Define fseeko64 as an alias.
13230 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13231 Define ftello64 as an alias.
13232 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13233 Define _IO_fgetpos64 and fgetpos64 as aliases.
13234 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13235 Define _IO_fsetpos64 and fsetpos64 as aliases.
13236 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13237 Conditionalize body on this.
13238 * libio/fseeko64.c: Likewise.
13239 * libio/ftello64.c: Likewise.
13240 * libio/iofgetpos64.c: Likewise.
13241 * libio/iofsetpos64.c: Likewise.
13242 * sysdeps/wordsize-64/lockf.c: File removed.
13243 * sysdeps/wordsize-64/lockf64.c: File removed.
13244 * sysdeps/wordsize-64/fseeko.c: File removed.
13245 * sysdeps/wordsize-64/fseeko64.c: File removed.
13246 * sysdeps/wordsize-64/ftello.c: File removed.
13247 * sysdeps/wordsize-64/ftello64.c: File removed.
13248 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13249 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13250 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13251 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13252 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13260 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13261 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13263 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13265 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13267 [defined __arch64__ || defined __sparcv9]
13268 (__OFF_T_MATCHES_OFF64_T): New macro.
13269 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13270 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13272 (__OFF_T_MATCHES_OFF64_T): New macro.
13274 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13276 * stdlib/secure-getenv.c (__secure_getenv): Replace
13277 GLIBC_2_16 with GLIBC_2_17.
13279 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13281 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13284 2012-08-03 David S. Miller <davem@davemloft.net>
13286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13288 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13292 (__ASSUME_CORRECT_SI_PID): Likewise.
13293 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13294 (__ASSUME_TMPFS_NAME): Likewise.
13295 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13296 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13297 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13298 (HAVE_AUX_SECURE): Make definition unconditional.
13299 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13300 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13302 2012-08-03 Roland McGrath <roland@hack.frob.com>
13304 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13305 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13306 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13307 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13308 __eloop_threshold instead of SYMLOOP_MAX.
13310 * sysdeps/generic/eloop-threshold.h: New file.
13311 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13313 * elf/chroot_canon.c (chroot_canon): Likewise.
13315 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13318 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13319 Change to 2.6.0 everywhere.
13320 * sysdeps/unix/sysv/linux/configure: Regenerated.
13321 * sysdeps/unix/sysv/linux/kernel-features.h
13322 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13323 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13325 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13326 (__ASSUME_FUTEX_REQUEUE): Remove.
13327 (__ASSUME_STATFS64): Define unconditionally.
13328 (__ASSUME_AT_SECURE): Likewise.
13329 (__ASSUME_CORRECT_SI_PID): Likewise.
13330 (__ASSUME_TGKILL): Define without depending on kernel version for
13332 (__ASSUME_UTIMES): Likewise.
13333 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13335 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13336 (__ASSUME_TMPFS_NAME): Likewise.
13337 * README: Update reference to Linux kernel versions.
13339 2012-08-02 Marek Polacek <polacek@redhat.com>
13342 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13343 libc_cv_asm_type_prefix with %.
13344 * configure: Regenerated.
13345 * include/libc-symbols.h: Remove comment about
13346 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13347 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13348 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13349 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13350 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13351 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13352 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13353 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13354 * elf/tst-unique2mod1.c: Likewise.
13355 * elf/tst-unique1mod2.c: Likewise.
13356 * elf/tst-unique1mod1.c: Likewise.
13357 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13358 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13359 Replace ASM_TYPE_DIRECTIVE with .type.
13360 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13361 * sysdeps/i386/sysdep.h: Likewise.
13362 * sysdeps/x86_64/sysdep.h: Likewise.
13363 * sysdeps/sh/sysdep.h: Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13365 Do not define ASM_TYPE_DIRECTIVE.
13366 * sysdeps/powerpc/sysdep.h: Likewise.
13367 * sysdeps/powerpc/powerpc32/sysdep.h:
13368 Replace ASM_TYPE_DIRECTIVE with .type.
13369 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13370 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13371 * sysdeps/i386/fpu/e_powf.S: Likewise.
13372 * sysdeps/i386/fpu/e_expl.S: Likewise.
13373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13374 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13375 * sysdeps/i386/fpu/e_pow.S: Likewise.
13376 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13378 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13379 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13380 * sysdeps/i386/fpu/e_log2.S: Likewise.
13381 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13382 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13383 * sysdeps/i386/fpu/e_powl.S: Likewise.
13384 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13385 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13386 * sysdeps/i386/fpu/e_logl.S: Likewise.
13387 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13388 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13389 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13390 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13391 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13392 * sysdeps/i386/fpu/e_log.S: Likewise.
13393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13394 * sysdeps/i386/fpu/e_logf.S: Likewise.
13395 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13396 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13397 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13398 * sysdeps/i386/fpu/e_log10.S: Likewise.
13399 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13400 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13401 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13402 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13404 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13405 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13406 * sysdeps/i386/i686/strtok.S: Likewise.
13407 * sysdeps/i386/i386-mcount.S: Likewise.
13408 * sysdeps/i386/strtok.S: Likewise.
13409 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13410 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13411 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13412 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13413 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13414 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13415 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13416 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13417 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13418 * sysdeps/x86_64/_mcount.S: Likewise.
13419 * sysdeps/x86_64/strtok.S: Likewise.
13420 * sysdeps/sh/_mcount.S: Likewise.
13422 2012-08-01 Roland McGrath <roland@hack.frob.com>
13424 * libio/iofopen.c: Include <fcntl.h>.
13425 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13426 (_IO_fopen64, fopen64): Define as aliases.
13427 * libio/iofopen64.c: Include <fcntl.h>.
13428 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13429 Conditionalize body on this.
13430 * sysdeps/wordsize-64/iofopen.c: File removed.
13431 * sysdeps/wordsize-64/iofopen64.c: File removed.
13433 2012-08-01 Marek Polacek <polacek@redhat.com>
13435 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13436 Use dlfcn directly instead of a variable.
13437 (binfmt-subdir): Do not define.
13440 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13442 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13443 Remove all definitions.
13444 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13445 <kernel-features.h>.
13446 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13447 (miss_F_GETOWN_EX): Remove all definitions.
13448 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13450 [!__ASSUME_FCNTL64]: Remove conditional code.
13451 [__ASSUME_FCNTL64]: Make code unconditional.
13452 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13453 <kernel-features.h>.
13454 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13455 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13456 (lockf64) [__NR_fcntl64]: Make code unconditional.
13457 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13459 * sysdeps/unix/sysv/linux/kernel-features.h
13460 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13461 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13462 Make code unconditional.
13463 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13464 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13466 [__NR_vfork]: Make code unconditional.
13467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13470 [__NR_vfork]: Make code unconditional.
13471 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13472 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13474 2012-08-01 Roland McGrath <roland@hack.frob.com>
13476 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13477 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13479 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13480 Define mkstemp64 as an alias.
13481 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13482 Define mkstemps64 as an alias.
13483 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13484 Define mkostemp64 as an alias.
13485 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13486 Define mkostemps64 as an alias.
13487 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13488 Conditionalize body on this.
13489 * misc/mkostemp64.c: Likewise.
13490 * misc/mkostemps64.c: Likewise.
13491 * misc/mkstemps64.c: Likewise.
13492 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13493 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13494 * sysdeps/wordsize-64/mkostemp.c: File removed.
13495 * sysdeps/wordsize-64/mkstemp.c: File removed.
13496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13497 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13498 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13499 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13502 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13503 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13504 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13505 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13507 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13508 compat_symbol macros from <shlib-compat.h> rather than the underlying
13509 default_symbol_version and symbol_version macros, so that DEFAULT
13510 lines in shlib-versions are respected.
13511 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13513 2012-08-01 Florian Weimer <fweimer@redhat.com>
13515 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13516 Declare with warn_unused_result.
13517 (setgid, setregid, setegid, setresgid): Likewise.
13518 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13520 * WUR-REPORT: Remove set*id functions.
13522 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13524 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13526 2012-07-31 Roland McGrath <roland@hack.frob.com>
13529 * include/sys/socket.h (__libc_accept, __libc_accept4):
13530 Add attribute_hidden.
13531 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13535 * inet/getnetgrent_r.c (setup): Likewise.
13537 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13539 2012-07-31 David S. Miller <davem@davemloft.net>
13541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13543 2012-07-31 Joseph Myers <joseph@codesourcery.com>
13546 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13547 value between 1.0 and 2.0 and smaller part has absolute value less
13549 * math/s_clog10.c (__clog10): Likewise.
13550 * math/s_clog10f.c (__clog10f): Likewise.
13551 * math/s_clog10l.c (__clog10l): Likewise.
13552 * math/s_clogf.c (__clogf): Likewise.
13553 * math/s_clogl.c (__clogl): Likewise.
13554 * math/libm-test.inc (clog_test): Add more tests.
13555 (clog10_test): Likewise.
13556 * sysdeps/i386/fpu/libm-test-ulps: Update.
13557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13559 2012-07-31 Florian Weimer <fweimer@redhat.com>
13561 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13562 Exit with zero in case no suitable GID is found, and write a
13563 message to standard error.
13565 2012-07-30 Roland McGrath <roland@hack.frob.com>
13567 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13569 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13570 (MAXPATHLEN): Removed.
13571 (NOGROUP, NODEV): New macros.
13572 (setbit, clrbit, isset, isclr): New macros.
13573 (howmany, roundup, powerof2): New macros.
13574 (DEV_BSIZE): New macro.
13576 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13577 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13579 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13580 definition on [!__NO_LONG_DOUBLE_MATH].
13582 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13583 PTR_MANGLE and PTR_DEMANGLE.
13585 * socket/accept4.c (accept4): Rename to __libc_accept4.
13586 Define accept4 as a weak alias.
13588 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13589 on [_DIRENT_HAVE_D_TYPE].
13590 * io/ftw.c (ftw_dir): Likewise.
13592 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13594 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13596 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13597 Use the BSD numbers rather than the arbitrary ones we had.
13598 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13599 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13600 (SIGXCPU, SIGXFSZ): New macros.
13603 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13604 initializer on [_LIBC_REENTRANT].
13606 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13607 definitions inside [_POSIX_MAPPED_FILES].
13609 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13611 * dirent/opendir.c: Include <fcntl.h>.
13613 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13614 (__libc_getspecific): Likewise.
13615 (__libc_key_create): Likewise.
13617 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13618 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13619 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13620 (tmpfile64): Define as alias.
13621 * sysdeps/wordsize-64/tmpfile.c: File removed.
13622 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13623 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13626 * stdio-common/vfscanf.c: Include <stdbool.h>.
13627 * nss/makedb.c: Likewise.
13628 * stdio-common/_i18n_number.h: Likewise.
13629 * argp/argp-help.c: Likewise.
13630 * posix/wordexp.c: Likewise.
13631 * sysdeps/posix/spawni.c: Likewise.
13632 * nss/nss_files/files-initgroups.c: Likewise.
13633 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13634 * nss/nss_files/files-initgroups.c: Likewise.
13635 * nss/nss_db/db-netgrp.c: Likewise.
13636 * nss/nss_db/db-initgroups.c: Likewise.
13637 * io/fchmodat.c: Include <sys/stat.h>.
13639 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13640 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13642 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13645 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13646 Add multiple inclusion protection.
13648 2012-07-27 David S. Miller <davem@davemloft.net>
13650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13652 2012-07-27 Gary Benson <gbenson@redhat.com>
13655 * elf/rtld.c: Include <stap-probe.h>.
13656 (dl_main): Added static probes "init_start" and "init_complete".
13657 * elf/dl-load.c: Include <stap-probe.h>.
13658 (lose): Take new parameter "nsid".
13659 Added static probe "map_failed".
13660 (_dl_map_object_from_fd): Pass namespace id to lose.
13661 Added static probe "map_start".
13662 (open_verify): Pass namespace id to lose.
13663 * elf/dl-open.c: Include <stap-probe.h>.
13664 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13665 and "reloc_complete".
13666 * elf/dl-close.c: Include <stap-probe.h>.
13667 (_dl_close_worker): Added static probes "unmap_start" and
13669 * elf/rtld-debugger-interface.txt: New file documenting the above.
13671 2012-07-26 Roland McGrath <roland@hack.frob.com>
13673 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13674 rather than a string variable.
13675 * sunrpc/rpc_main.c (h_output): Likewise.
13676 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13678 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13680 * inet/check_native.c: New file.
13682 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13685 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13686 if larger part has absolute value 1.0.
13687 * math/s_clog10.c (__clog10): Likewise.
13688 * math/s_clog10f.c (__clog10f): Likewise.
13689 * math/s_clog10l.c (__clog10l): Likewise.
13690 * math/s_clogf.c (__clogf): Likewise.
13691 * math/s_clogl.c (__clogl): Likewise.
13692 * math/libm-test.inc (clog_test): Add more tests.
13693 (clog10_test): Likewise.
13694 * sysdeps/i386/fpu/libm-test-ulps: Update.
13695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13697 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13698 (pltexit): Likewise.
13699 (La_regs): Likewise.
13700 (La_retval): Likewise.
13701 (int_retval): Likewise.
13702 Update #error for removed macros to refer only to definitions in
13704 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13706 (pltexit): Likewise.
13707 (La_regs): Likewise.
13708 (La_retval): Likewise.
13709 (int_retval): Likewise.
13710 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13712 (pltexit): Likewise.
13713 (La_regs): Likewise.
13714 (La_retval): Likewise.
13715 (int_retval): Likewise.
13716 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13718 (pltexit): Likewise.
13719 (La_regs): Likewise.
13720 (La_retval): Likewise.
13721 (int_retval): Likewise.
13722 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13724 (pltexit): Likewise.
13725 (La_regs): Likewise.
13726 (La_retval): Likewise.
13727 (int_retval): Likewise.
13728 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13730 (pltexit): Likewise.
13731 (La_regs): Likewise.
13732 (La_retval): Likewise.
13733 (int_retval): Likewise.
13734 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13736 (pltexit): Likewise.
13737 (La_regs): Likewise.
13738 (La_retval): Likewise.
13739 (int_retval): Likewise.
13740 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13741 macro definitions in tst-audit.h.
13742 * sysdeps/i386/tst-audit.h: New file.
13743 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13744 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13745 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13746 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13747 * sysdeps/sh/tst-audit.h: Likewise.
13748 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13749 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13750 * sysdeps/x86_64/tst-audit.h: Likewise.
13752 2012-07-26 Andreas Jaeger <aj@suse.de>
13754 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13757 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13758 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13759 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13761 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13762 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13765 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13768 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13770 (si_call_addr, si_syscall, si_arch): Define new macro.
13771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13773 (si_call_addr, si_syscall, si_arch): Define new marcro.
13774 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13776 (si_call_addr, si_syscall, si_arch): Define new macro.
13777 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13779 (si_call_addr, si_syscall, si_arch): Define new macro.
13781 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13785 Change to 2.4.21 where previously 2.4.1.
13786 * sysdeps/unix/sysv/linux/configure: Regenerated.
13787 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13788 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13789 Linux kernel version.
13790 (__ASSUME_STD_AUXV): Remove.
13791 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13793 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13794 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13795 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13796 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13797 (__ASSUME_NETLINK_SUPPORT): Likewise.
13798 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13799 (__no_netlink_support): Remove conditional definition.
13800 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13802 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13803 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13804 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13805 (if_nameindex_ioctl): Remove.
13806 (if_nameindex_netlink): Do not handle __no_netlink_support.
13807 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13809 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13810 Remove conditional code.
13811 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13813 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13815 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13816 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13817 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13819 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13820 [!__ASSUME_STD_AUXV]: Remove conditional code.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13822 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13823 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13825 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13826 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13828 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13830 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13831 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13833 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13835 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13838 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13841 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13842 code unconditional.
13843 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13845 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13847 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13850 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13852 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13855 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13856 code unconditional.
13857 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13859 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13861 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13864 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13865 code unconditional.
13866 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13868 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13870 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13873 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13875 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13876 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13877 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13878 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13879 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13880 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13881 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13882 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13883 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13884 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13885 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13886 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13887 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13888 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13890 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13891 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13893 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13896 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13897 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13899 2012-07-25 Florian Weimer <fweimer@redhat.com>
13901 * Versions.def: Add GLIBC_2.17.
13902 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13903 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13904 Introduce __libc_secure_getenv.
13905 * stdlib/Versions (2.17): Add secure_getenv
13906 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13907 * stdlib/secure-getenv.c: Rename __secure_getenv to
13908 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13909 symbol __secure_getenv for GLIBC_2.0.
13910 * stdlib/tst-secure-getenv.c: New.
13911 * stdlib/Makefile (tests): Add testcase.
13912 * manual/startup.texi (Environment Access): Document
13914 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13915 __libc_secure_getenv.
13916 * inet/ruserpass.c (ruserpass): Likewise.
13917 * malloc/mtrace.c (mtrace): Likewise.
13918 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13919 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13920 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13921 * sysdeps/posix/tempname.c: Likewise. Evaluate
13922 HAVE_SECURE_GETENV.
13923 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13924 __secure_getenv to __libc_secure_getenv.
13925 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13938 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13940 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13941 (struct La_i86_retval): Likewise.
13942 (struct La_x86_64_regs): Likewise.
13943 (struct La_x86_64_retval): Likewise.
13944 (struct La_x32_regs): Likewise.
13945 (struct La_x32_retval): Likewise.
13946 (struct La_ppc32_regs): Likewise.
13947 (struct La_ppc32_retval): Likewise.
13948 (struct La_ppc64_regs): Likewise.
13949 (struct La_ppc64_retval): Likewise.
13950 (struct La_sh_regs): Likewise.
13951 (struct La_sh_retval): Likewise.
13952 (struct La_s390_32_regs): Likewise.
13953 (struct La_s390_32_retval): Likewise.
13954 (struct La_s390_64_regs): Likewise.
13955 (struct La_s390_64_retval): Likewise.
13956 (struct La_sparc32_regs): Likewise.
13957 (struct La_sparc32_retval): Likewise.
13958 (struct La_sparc64_regs): Likewise.
13959 (struct La_sparc64_retval): Likewise.
13960 (struct audit_ifaces): Remove architecture-specific pltenter and
13962 * sysdeps/i386/ldsodefs.h: New file.
13963 * sysdeps/powerpc/ldsodefs.h: Likewise.
13964 * sysdeps/s390/ldsodefs.h: Likewise.
13965 * sysdeps/sh/ldsodefs.h: Likewise.
13966 * sysdeps/sparc/ldsodefs.h: Likewise.
13967 * sysdeps/x86_64/ldsodefs.h: Likewise.
13969 2012-07-25 Marek Polacek <polacek@redhat.com>
13972 * math/libm-test.inc (yn_test): Add another test.
13973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13974 to ERANGE when the result is +-Inf.
13975 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13977 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13978 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13980 2012-07-24 Joseph Myers <joseph@codesourcery.com>
13982 * conform/data/time.h-data (NULL): Use macro-constant. Require
13984 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13986 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13988 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13990 * configure.in <sysdeps resolving>: Correct printing
13992 * configure: Regenerate.
13994 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13996 * math/w_ilogb.c: Include <limits.h>.
13997 * math/w_ilogbl.c: Likewise.
13999 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14001 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14002 va_copy. Document allowing for unavailable va_copy only as
14003 pre-C99 compatibility.
14004 * manual/string.texi (Copying and Concatenation): Use va_copy
14005 instead of __va_copy in concat example.
14007 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14009 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14010 (__sendto): Use create_address_port. Initialize APORT and deallocate
14013 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14014 with O_NOLINK passed to __file_name_lookup.
14016 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14017 with O_NOLINK passed to __file_name_lookup.
14019 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14020 negative N or less than NGIDS.
14022 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14023 type to string_t. Set ERANGE as errno and return it if NAME is not big
14024 enough. Use memcpy instead of strncpy.
14026 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14028 * elf/Makefile (check-data): Remove.
14029 (localplt.data): New vpath directive.
14030 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14031 instead of $(check-data).
14032 * scripts/data/localplt-generic.data: Move to ...
14033 * sysdeps/generic/localplt.data: ... here.
14034 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14035 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14036 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14039 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14042 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14045 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14048 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14051 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14055 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14057 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14058 PPC32 and PPC64 files.
14059 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14060 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14062 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14064 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14065 __makecontext_ret to ...
14066 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14067 ... here and call exit if uc_link is NULL. New file.
14068 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14069 __makecontext_ret.S.
14070 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14071 __makecontext_ret to ...
14072 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14073 ... here and call exit if uc_link is NULL. New file.
14074 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14075 __makecontext_ret.S.
14077 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14079 * elf/elf.h (R_390_IRELATIVE): New definition.
14080 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14081 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14082 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14083 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14084 (elf_machine_lazy_rel): Likewise.
14085 * sysdeps/s390/dl-irel.h: New file.
14086 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14087 * sysdeps/s390/s390-64/memset.S: New asm code.
14088 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14089 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14090 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14091 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14092 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14093 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14094 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14095 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14096 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14097 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14098 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14099 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14100 * sysdeps/s390/s390-32/memset.S: New asm code.
14101 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14103 2012-07-17 Marek Polacek <polacek@redhat.com>
14106 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14107 * sysdeps/s390/s390-64/configure.in: Likewise.
14108 * sysdeps/sparc/configure.in: Likewise.
14109 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14110 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14111 * sysdeps/i386/configure.in: Likewise.
14112 * sysdeps/x86_64/configure.in: Likewise.
14113 * sysdeps/sh/configure.in: Likewise.
14114 * sysdeps/s390/s390-32/configure: Regenerated.
14115 * sysdeps/s390/s390-64/configure: Likewise.
14116 * sysdeps/x86_64/configure: Likewise.
14117 * sysdeps/sh/configure: Likewise.
14118 * sysdeps/powerpc/powerpc64/configure: Likewise.
14119 * sysdeps/powerpc/powerpc32/configure: Likewise.
14120 * sysdeps/sparc/configure: Likwise.
14121 * sysdeps/i386/configure: Likewise.
14123 * elf/dl-open.c: Comment fixes.
14125 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14127 * Makefile [CXX] (check-data): Remove.
14128 [CXX] (c++-types.data): New vpath directive.
14129 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14130 vpath. Do not allow for C++ type data being missing.
14131 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14132 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14133 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14134 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14135 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14136 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14137 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14140 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14143 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14146 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14149 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14152 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14155 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14158 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14161 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14162 definitions to architecture-specific files.
14163 (TLS_IE): Likewise.
14164 (TLS_LD): Likewise.
14165 (TLS_GD): Likewise.
14166 * sysdeps/i386/tls-macros.h: New file.
14167 * sysdeps/powerpc/tls-macros.h: Likewise.
14168 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14169 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14170 * sysdeps/sh/tls-macros.h: Likewise.
14171 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14172 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14173 * sysdeps/x86_64/tls-macros.h: Likewise.
14175 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14177 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14178 zero value for regular exit case.
14180 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14181 (__start_context): Preserve zero value for regular exit case.
14183 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14184 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14186 * manual/setjmp.texi (setcontext): Clarify normal process
14187 termination when uc_link is the null pointer.
14188 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14191 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14193 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14194 preprocessor. Test for each exception mask separately.
14196 2012-07-16 Andreas Jaeger <aj@suse.de>
14198 * po/ru.po: Update from translation team.
14200 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14202 * conform/data/string.h-data (NULL): Use macro-constant. Require
14204 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14205 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14206 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14207 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14210 2012-07-13 Andreas Jaeger <aj@suse.de>
14212 * po/fr.po: Update from translation team.
14214 2012-07-12 Marek Polacek <polacek@redhat.com>
14217 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14218 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14221 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14225 Change to 2.4.1 where previously 2.4.0.
14226 * sysdeps/unix/sysv/linux/configure: Regenerated.
14227 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14228 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14230 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14231 (__ASSUME_AT_CLKTCK): Remove.
14232 (__ASSUME_AT_PAGESIZE): Likewise.
14233 (__ASSUME_AT_XID): Likewise.
14234 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14235 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14236 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14238 (HAVE_AUX_PAGESIZE): Likewise.
14239 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14240 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14241 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14243 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14247 the temporary buffer used to invoke __gethostbyname2_r,
14248 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14249 host_data / struct gaih_addrtuple.
14250 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14251 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14252 header file nss/nsswitch.h.
14253 * nss/nsswitch.h (global scope): Add definition of implementation
14254 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14255 resolv/nss_dns/dns-host.c).
14257 2012-07-11 Andreas Jaeger <aj@suse.de>
14259 * po/fr.po: Update from translation team.
14261 * po/sv.po: Update from translation team
14262 * po/fr.po: Another update from translation team.
14264 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14266 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14267 for subnormals or multiply small sinh result by itself.
14268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14271 2012-07-11 David S. Miller <davem@davemloft.net>
14273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14275 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14278 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14279 (INTERNAL_MARK): Shift it here.
14281 2012-07-10 Marek Polacek <polacek@redhat.com>
14284 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14285 libc_cv_asm_global_directive with .globl.
14286 * configure: Regenerated.
14287 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14289 * sysdeps/i386/configure: Regenerated.
14290 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14292 * sysdeps/x86_64/configure: Regenerated.
14293 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14294 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14295 * elf/tst-unique2mod2.c: Likewise.
14296 * elf/tst-unique2mod1.c: Likewise.
14297 * elf/tst-unique1mod2.c: Likewise.
14298 * elf/tst-unique1mod1.c: Likewise.
14299 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14300 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14301 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14302 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14303 * sysdeps/mach/sysdep.h: Likewise.
14304 * sysdeps/i386/sysdep.h: Likewise.
14305 * sysdeps/i386/i386-mcount.S: Likewise.
14306 * sysdeps/x86_64/_mcount.S: Likewise.
14307 * sysdeps/x86_64/sysdep.h: Likewise.
14308 * sysdeps/sh/_mcount.S: Likewise.
14309 * sysdeps/sh/sysdep.h: Likewise.
14310 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14311 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14312 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14313 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14314 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14315 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14316 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14317 * locale/localeinfo.h: Likewise.
14318 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14319 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14321 2012-07-09 Roland McGrath <roland@hack.frob.com>
14324 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14326 * manual/message.texi (The Uniforum approach): Likewise.
14327 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14328 (glibc iconv Implementation): Likewise.
14330 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14333 * math/s_clog.c (__clog): Avoid scaling a value down where that
14334 could result in underflow.
14335 * math/s_clog10.c (__clog10): Likewise.
14336 * math/s_clog10f.c (__clog10f): Likewise.
14337 * math/s_clog10l.c (__clog10l): Likewise.
14338 * math/s_clogf.c (__clogf): Likewise.
14339 * math/s_clogl.c (__clogl): Likewise.
14340 * math/libm-test.inc (clog_test): Add more tests.
14341 (clog10_test): Likewise.
14342 * sysdeps/i386/fpu/libm-test-ulps: Update.
14343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14345 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14348 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14349 by 7 not 8 to examine high bit of fractional part.
14352 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14353 for call to __mcount_internal.
14354 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14355 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14356 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14358 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14361 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14362 approximation for values within 0x1p-13f of an odd multiple of
14364 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14365 exception. Add more tests.
14366 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14370 inputs and return -1 for them. Do not check for +Inf in case not
14371 reachable for +Inf.
14372 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14373 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14375 and return -1 for them. Do not check for +Inf in case not
14376 reachable for +Inf.
14377 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14379 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14380 and return -1 for them. Do not check for +Inf in case not
14381 reachable for +Inf.
14382 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14383 spurious underflow.
14384 * sysdeps/i386/fpu/libm-test-ulps: Update.
14385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14387 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14389 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14391 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14395 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14396 could result in spurious underflow. Scale down values above
14397 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14398 * math/s_csqrtf.c (__csqrtf): Likewise.
14399 * math/s_csqrtl.c (__csqrtl): Likewise.
14400 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14401 spurious underflow.
14402 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14405 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14407 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14409 * catgets/xopen-msg.awk: New file.
14410 * catgets/xopen-msg.sed: Removed.
14412 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14414 * intl/po2test.awk: New file.
14415 * intl/po2test.sed: Removed.
14417 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14420 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14421 or multiply small sinh result by itself.
14422 * math/s_ctanf.c (__ctanf): Likewise.
14423 * math/s_ctanh.c (__ctanh): Likewise.
14424 * math/s_ctanhf.c (__ctanhf): Likewise.
14425 * math/s_ctanhl.c (__ctanhl): Likewise.
14426 * math/s_ctanl.c (__ctanl): Likewise.
14427 * math/libm-test.inc (ctan_test_tonearest): New function.
14428 (ctan_test_towardzero): Likewise.
14429 (ctan_test_downward): Likewise.
14430 (ctan_test_upward): Likewise.
14431 (ctanh_test_tonearest): Likewise.
14432 (ctanh_test_towardzero): Likewise.
14433 (ctanh_test_downward): Likewise.
14434 (ctanh_test_upward): Likewise.
14435 (main): Call these new functions.
14436 * sysdeps/i386/fpu/libm-test-ulps: Update.
14437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14439 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14441 * .gitignore: Delete /ports entry.
14443 2012-07-03 Andreas Jaeger <aj@suse.de>
14445 * po/bg.po: Update from translation team.
14446 * po/cs.po: Likewise.
14447 * po/de.po: Likewise.
14448 * po/hr.po: Likewise.
14449 * po/nl.pl: Likewise.
14450 * po/pl.po: Likewise.
14451 * po/vi.po: Likewise.
14453 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14455 * Makeconfig [!+link] (+link-before-libc): New variable.
14456 [!+link] (+link-after-libc): Likewise.
14457 [!+link] (+link-tests): Likewise.
14458 [!+link] (+link): Define in terms of $(+link-before-libc) and
14459 $(+link-after-libc).
14460 [!+link-static] (+link-static-before-libc): New variable.
14461 [!+link-static] (+link-static-after-libc): Likewise.
14462 [!+link-static] (+link-static-tests): Likewise.
14463 [!+link-static] (+link-static): Define in terms of
14464 $(+link-static-before-libc) and $(+link-static-after-libc).
14465 [build-shared] (link-libc-before-gnulib): New variable.
14466 [build-shared] (link-libc-tests): Likewise.
14467 [build-shared] (link-libc): Define in terms of
14468 $(link-libc-before-gnulib).
14469 [!build-shared] (link-libc-tests): New variable.
14470 (link-libc-static-tests): New variable.
14471 [!gnulib] (gnulib-arch): New variable.
14472 [!gnulib] (gnulib-tests): Likewise.
14473 [!gnulib] (static-gnulib-arch): Likewise.
14474 [!gnulib] (static-gnulib-tests): Likewise.
14475 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14476 Define with "=" instead of ":=".
14477 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14478 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14479 * Rules (binaries-all-notests): New variable.
14480 (binaries-all-tests): Likewise.
14481 (binaries-static-notests): Likewise.
14482 (binaries-static-tests): Likewise.
14483 (binaries-all): Define using $(binaries-all-notests) and
14484 $(binaries-all-tests).
14485 (binaries-static): Define using $(binaries-static-notests) and
14486 $(binaries-static-tests).
14487 (binaries-shared-tests): New variable.
14488 (binaries-shared-notests): Likewise.
14489 (binaries-shared): Remove variable.
14490 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14491 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14492 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14493 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14494 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14495 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14496 * elf/Makefile (sln-modules): New variable.
14497 (extra-objs): Add $(sln-modules:=.o).
14498 (ldconfig-modules): Add static-stubs.
14499 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14500 * elf/static-stubs.c: New file.
14503 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14504 by 7 not 8 to examine high bit of fractional part. Use volatile
14505 variables when splitting into final array of floats if
14506 __FLT_EVAL_METHOD__ != 0.
14507 * math/libm-test.inc (cos_test): Add another test.
14508 (sin_test): Likewise.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14512 * math/libm-test.inc (cosh_test): Add more tests.
14514 * version.h (RELEASE): Set to "development".
14515 (VERSION): Set to "2.16.90".
14517 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14519 * NEWS: Update copyright. Remove last-updated date.
14520 Mention math library bug fixes and timezone data changes.
14521 * README: Mention GNU/Hurd, x32, and HPPA support status.
14523 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14525 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14527 2012-06-27 Andreas Jaeger <aj@suse.de>
14529 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14531 2012-06-25 Andreas Jaeger <aj@suse.de>
14533 * sysdeps/s390/fpu/libm-test-ulps: Update.
14535 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14536 Thomas Schwinge <thomas@codesourcery.com>
14538 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14539 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14543 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14545 * sysdeps/mach/start.c: Remove file.
14546 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14547 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14548 * sysdeps/sh/init-first.c: Likewise.
14550 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14551 registers for frame unwinding purposes, add CFI directives.
14552 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14554 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14557 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14558 __fortify_fail returning.
14559 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14561 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14562 sysdeps/sh/____longjmp_chk.S.
14563 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14564 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14565 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14566 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14568 * sysdeps/sh/abort-instr.h: New file.
14569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14570 process in case exit returns.
14572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14573 initialize the GOT register before use.
14575 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14576 calculation of ARGC > 4.
14578 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14579 meaningful names to some local labels.
14581 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14582 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14584 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14585 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14586 (__arch_compare_and_exchange_val_16_acq): Likewise.
14587 (__arch_compare_and_exchange_val_32_acq): Likewise.
14588 (atomic_exchange_and_add): Fix gUSA sequence.
14589 (atomic_add): Likewise.
14590 (atomic_add_negative): Likewise.
14591 (atomic_add_zero): Likewise.
14592 (atomic_bit_test_set): Likewise.
14594 2012-06-22 Andreas Schwab <schwab@redhat.com>
14597 * include/link.h (struct link_map): Add l_free_initfini.
14598 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14600 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14601 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14602 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14605 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14607 * configure.in: Use AC_LANG_SOURCE.
14608 * configure: Regenerate.
14610 2012-06-22 Roland McGrath <roland@hack.frob.com>
14612 * configure.in (libc_cv_localstatedir): New substituted variable.
14613 * configure: Regenerated.
14614 * config.make.in (localstatedir): New variable, substituted from
14615 libc_cv_localstatedir.
14616 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14617 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14618 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14619 * sysdeps/gnu/configure: Regenerated.
14621 2012-06-21 Jeff Law <law@redhat.com>
14624 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14625 free. Simplify list management for _LIBC case.
14627 2012-06-21 Joseph Myers <joseph@codesourcery.com>
14630 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14631 Clear sign bit of 64-bit integer value before comparing against
14634 * sysdeps/mach/configure: Regenerated.
14636 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14639 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14641 2012-06-21 Jeff Law <law@redhat.com>
14644 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14645 uint16_t for elements in the "seen" array to avoid char overflows.
14646 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14647 * elf/dl-open.c (dl_open_worker): Likewise.
14649 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14651 * scripts/list-sources.sh: Scan PORTS for translations.
14652 * po/libc.pot: Regenerated.
14654 2012-06-21 Andreas Jaeger <aj@suse.de>
14657 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14659 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14660 * bits/byteswap-16.h (__bswap_16): Likewise.
14661 * bits/byteswap.h (__bswap_constant_16): Likewise.
14663 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14666 * sysdeps/i386/fpu_control.h: Removed.
14667 * sysdeps/x86_64/fpu_control.h: Moved to ...
14668 * sysdeps/x86/fpu_control.h: Here.
14670 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14671 (_FPU_SETCW): Likewise.
14673 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14676 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14677 * sysdeps/x86/fpu/bits/mathinline.h: This.
14678 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14682 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14683 functions if __x86_64__ is defined.
14685 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14687 * string/endian.h: Add !__ASSEMBLER__ condition for including
14688 conversion interfaces.
14690 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14694 of ABS(x) in calculating zero to negative powers other than odd
14696 * math/libm-test.inc (pow_test): Add more tests.
14698 2012-06-15 Andreas Jaeger <aj@suse.de>
14700 * manual/contrib.texi (Contributors): Update entry of Liubov
14701 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14704 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14706 * string/string.h: Add __wur to GNU version of strerror_r.
14708 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14711 * string/Makefile (tests): Add tst-strtok_r.
14712 * string/tst-strtok_r.c: New file.
14713 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14714 RAX_LP/RDX_LP on SAVE_PTR.
14716 2012-06-14 Roland McGrath <roland@hack.frob.com>
14718 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14720 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14722 * libm_test.inc (csqrt_test): Allow more spurious underflow
14724 (j0_test): Likewise.
14725 (j1_test): Likewise.
14726 (y0_test): Likewise.
14727 (y1_test): Likewise.
14729 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14731 * po/Makefile (libc.pot): Use UTF-8 charset.
14733 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14736 Suppress sign-conversion warning from FD_SET.
14737 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14738 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14739 not unsigned long int.
14740 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14742 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14746 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14747 __extern_always_inline instead of __extern_inline.
14748 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14749 (__signbit): Likewise.
14750 (__signbitl): Support C++ namespace.
14751 (lrintf): New inline function.
14753 (llrintf): Likewise.
14754 (llrint): Likewise.
14764 (floorf): Likewise.
14765 (nearbyint): Likewise.
14766 (nearbyintf): Likewise.
14768 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14770 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14771 non-default versions.
14773 2012-06-11 Roland McGrath <roland@hack.frob.com>
14776 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14778 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14780 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14781 (FE_UPWARD, FE_DOWNWARD): Don't define.
14782 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14783 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14785 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14787 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14788 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14790 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14792 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14794 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14795 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14797 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14800 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14801 * sysdeps/i386/fpu/Implies: New file.
14802 * sysdeps/x86_64/fpu/Implies: Likewise.
14803 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14804 * sysdeps/x86/fpu/bits/fenv.h: This.
14806 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14809 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14812 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14813 character 0xffff that matches the last element of the
14816 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14821 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14824 values higher than 25.6283.
14826 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14829 subnormal exponent extraction and add some __builtin_expect.
14830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14831 Fix for subnormal mantissa calculation.
14833 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14835 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14836 cpu2 is -1 and errno is not ENOSYS.
14838 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14841 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14842 * sysdeps/x86/bits/string.h: This.
14843 * sysdeps/x86_64/bits/string.h: Removed.
14845 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14846 if not compiling for x86-64, but compiling for >= i486.
14848 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14849 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14851 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14852 New macro from Linux kernel 3.4.0.
14853 (FP_XSTATE_MAGIC2): Likewise.
14854 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14855 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14856 (struct _fpx_sw_bytes): New struct.
14857 (struct _xsave_hdr): Likewise.
14858 (struct _ymmh_state): Likewise.
14859 (struct _xstate): Likewise.
14861 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14862 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14864 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14865 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14866 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14868 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14869 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14870 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14871 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14872 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14873 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14875 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14878 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14879 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14880 (sysdep_headers): Include sys/platform/ppc.h.
14881 * sysdeps/powerpc/test-gettimebase.c: Test for
14882 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14883 * manual/Makefile (appendices): Include platform.texi.
14884 * manual/contrib.texi (Contributors): Update @node pointers.
14885 * manual/maint.texi (Maintenance): Likewise.
14886 (Platform): New node.
14887 * manual/platform.texi: New file. Document the new features.
14889 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14890 Jakub Jelinek <jakub@redhat.com>
14893 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14894 where __builtin_expect is unavailable.
14896 2012-06-03 David S. Miller <davem@davemloft.net>
14898 * stdlib/longlong.h: Updated from GCC.
14900 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14903 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14904 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14907 (GLIBC_2.16): Likewise.
14909 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14911 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14913 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14916 (default-abi): New variable.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14918 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14920 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14922 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14924 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14927 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14928 definition. Document in comment.
14930 2012-06-01 David S. Miller <davem@davemloft.net>
14932 * stdlib/longlong.h: Updated from GCC.
14934 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14937 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14938 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14939 sys/debugreg.h sys/io.h here.
14940 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14941 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14943 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14944 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14945 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14946 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14947 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14948 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14950 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14951 Define only if __x86_64__ is defined.
14953 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14956 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14957 Use int64_t for variable i.
14958 * math/libm-test.inc (fmod_test): Add more tests.
14960 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14961 z computation is not scheduled after fetestexcept.
14962 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14963 Use math_force_eval instead of asm to ensure calculation scheduled
14964 before exception test.
14965 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14966 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14968 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14971 computation is not scheduled after fetestexcept.
14973 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14976 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14977 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14979 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14981 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14982 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14984 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14989 (__WCHAR_MIN): Support __WORDSIZE == 64.
14990 (__WCHAR_MAX): Likewise.
14992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14997 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15000 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15001 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15003 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15004 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15006 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15007 Defined to 1 if __x86_64__ isn't defined.
15008 (_STAT_VER_LINUX_OLD): New.
15009 (st_atime): Remove duplicate.
15010 (st_mtime): Likewise.
15011 (st_ctime): Likewise.
15013 2012-05-31 David S. Miller <davem@davemloft.net>
15015 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15018 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15020 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15024 * elf/dl-reloc.c: Include <_itoa.h>.
15025 (_dl_reloc_bad_type): Remove use of INTUSE.
15026 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15027 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15028 * stdio-common/psiginfo.c (psiginfo): Likewise.
15029 * stdio-common/psignal.c (psignal): Likewise.
15030 * string/strsignal.c (strsignal): Likewise.
15031 * include/signal.h (_sys_siglist): Declare hidden proto.
15032 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15033 INTVARDEF with libc_hidden_data_def.
15034 * stdio-common/itoa-udigits.c: Likewise.
15035 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15036 (_itoa_lower_digits_internal): Remove declaration.
15037 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15038 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15039 (_sys_sigabbrev_internal): Remove aliases.
15040 (_sys_siglist): Define hidden alias.
15042 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15047 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15050 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15051 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15053 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15054 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15055 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15056 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15058 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15060 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15062 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15064 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15072 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15074 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15076 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15077 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15078 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15079 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15080 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15081 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15083 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15084 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15086 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15087 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15091 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15093 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15094 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15096 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15098 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15099 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15100 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15102 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15104 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15106 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15108 * math/math.h (M_El): Use two more decimal places.
15109 (M_LOG2El): Likewise.
15110 (M_LOG10El): Likewise.
15111 (M_LN2l): Likewise.
15112 (M_LN10l): Likewise.
15114 (M_PI_2l): Likewise.
15115 (M_PI_4l): Likewise.
15116 (M_1_PIl): Likewise.
15117 (M_2_PIl): Likewise.
15118 (M_2_SQRTPIl): Likewise.
15119 (M_SQRT2l): Likewise.
15120 (M_SQRT1_2l): Likewise.
15122 2012-05-31 David S. Miller <davem@davemloft.net>
15124 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15125 values between float registers.
15126 * sysdeps/sparc/sparc64/memset.S: Likewise.
15127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15129 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15131 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15132 -D_FORTIFY_SOURCE=1.
15133 (CPPFLAGS-tst-longjmp_chk.c): Define.
15134 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15135 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15136 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15137 CFLAGS-tst-wchar-h.c.
15139 2012-05-31 Marek Polacek <polacek@redhat.com>
15142 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15143 __endmntent_internal): Remove declaration.
15144 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15145 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15146 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15148 2012-05-30 David S. Miller <davem@davemloft.net>
15150 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15151 (___Q_simulate_exceptions): Use real FP ops rather than writing
15153 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15159 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15160 * sysdeps/x86/bits/xtitypes.h: This.
15162 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15163 * sysdeps/x86/bits/wordsize.h: This.
15165 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15166 * sysdeps/x86/bits/huge_vall.h: This.
15168 * sysdeps/i386/bits/select.h: Removed.
15169 * sysdeps/x86_64/bits/select.h: Renamed to ...
15170 * sysdeps/x86/bits/select.h: This.
15172 * sysdeps/i386/bits/setjmp.h: Removed.
15173 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15174 * sysdeps/x86/bits/setjmp.h: This.
15176 * sysdeps/i386/bits/mathdef.h: Removed.
15177 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15178 * sysdeps/x86/bits/mathdef.h: This.
15180 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15183 * include/sys/socket.h (__connect_internal)
15184 (__libc_sa_len_internal): Remove declaration.
15185 (__connect, __libc_sa_len): Declare hidden_proto.
15186 (SA_LEN): Remove use of INTUSE.
15187 * socket/connect.c: Add libc_hidden_def.
15188 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15189 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15190 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15192 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15193 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15194 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15195 of adding _internal alias.
15197 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15200 * sysdeps/i386/bits/link.h: Removed.
15201 * sysdeps/i386/bits/linkmap.h: Likewise.
15202 * sysdeps/x86_64/bits/link.h: Renamed to ...
15203 * sysdeps/x86/bits/link.h: This.
15204 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15205 * sysdeps/x86/bits/linkmap.h: This.
15207 * sysdeps/i386/bits/endian.h: Removed.
15208 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15209 * sysdeps/x86/bits/endian.h: This.
15211 * sysdeps/i386/bits/byteswap.h: Removed.
15212 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15213 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15214 * sysdeps/x86/bits/byteswap.h: This.
15215 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15216 * sysdeps/x86/bits/byteswap-16.h: This.
15217 * sysdeps/i386/Implies: Add x86.
15218 * sysdeps/x86_64/Implies: Likewise.
15220 2012-05-30 David S. Miller <davem@davemloft.net>
15222 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15223 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15224 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15225 (FP_TRAPPING_EXCEPTIONS): Define.
15226 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15227 (FP_TRAPPING_EXCEPTIONS): Define.
15228 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15229 subnormals only when inexact has been signalled or underflow
15230 exceptions are enabled.
15231 (_FP_PACK_CANONICAL): Likewise.
15233 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15237 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15239 2012-05-30 Richard Henderson <rth@twiddle.net>
15241 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15242 with #ifndef NOT_IN_libc.
15244 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15245 marked to avoid plt entry.
15247 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15250 * Makeconfig (default-abi): New macro.
15251 (abi-includes): Likewise.
15252 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15253 $(abi-$(default-abi)-lib-soname) for soname if defined.
15254 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15256 * Makefile (installed-stubs): Likewise.
15257 * include/stubs-biarch.h: Removed.
15258 * scripts/lib-names.awk: Only handle one library at a time.
15259 * scripts/soversions.awk: Remove WORDSIZE support.
15260 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15262 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15264 (syscall-list-default-condition): Likewise.
15265 (syscall-list-default-condition): Likewise.
15266 (syscall-list-includes): Likewise.
15267 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15268 syscall-list-* with abi-*. Handle undefined abi-variants.
15269 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15270 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15271 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15272 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15273 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15274 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15276 (syscall-list-32-options): Likewise.
15277 (syscall-list-32-condition): Likewise.
15278 (syscall-list-64-options): Likewise.
15279 (syscall-list-64-condition): Likewise.
15280 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15282 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15285 (abi-64-ld-soname): New macro.
15286 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15290 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15291 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15293 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15295 * sysdeps/unix/sysv/linux/kernel-features.h
15296 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15297 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15298 include <kernel-features.h>.
15299 [!__NR_ftruncate64]: Remove conditional code.
15300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15301 [__NR_ftruncate64]: Make code unconditional.
15302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15303 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15304 include <kernel-features.h>.
15305 [!__NR_ftruncate64]: Remove conditional code.
15306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15307 [__NR_ftruncate64]: Make code unconditional.
15308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15310 include <kernel-features.h>.
15311 [!__NR_ftruncate64]: Remove conditional code.
15312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15313 [__NR_ftruncate64]: Make code unconditional.
15314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15316 include <kernel-features.h>.
15317 [!__NR_ftruncate64]: Remove conditional code.
15318 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15319 [__NR_ftruncate64]: Make code unconditional.
15320 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15322 * configure.in (libc_cv_fpie): Weaken to a compile test using
15323 LIBC_TRY_CC_OPTION.
15324 * configure: Regenerated.
15326 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15341 2012-05-27 David S. Miller <davem@davemloft.net>
15343 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15345 (__Q_simulate_exceptions): Return void. Change to simulate
15346 exceptions by writing into the %fsr.
15347 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15348 (__Qp_handle_exceptions): Likewise.
15350 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15351 __Qp_handle_exceptions.
15352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15353 __Qp_handle_exceptions.
15354 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15355 as unused and give dummy FP_RND_NEAREST initializer.
15356 (FP_INHIBIT_RESULTS): Define.
15357 (___Q_simulate_exceptions): Update declaration.
15358 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15360 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15361 as unused and give dummy FP_RND_NEAREST initializer.
15362 (__Qp_handle_exceptions): Update declaration.
15363 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15366 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15368 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15369 the temporary FPU control word.
15370 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15371 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15373 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15374 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15375 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15376 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15378 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15379 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15380 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15382 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15384 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15387 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15389 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15390 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15391 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15392 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15394 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15395 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15398 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15400 * po/h.po: Update from translation team.
15402 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15404 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15406 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15407 handling of denormals.
15408 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15409 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15410 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15411 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15417 2012-05-26 Marek Polacek <polacek@redhat.com>
15420 * math/libm-test.inc (fma_test): Don't always expect underflow
15423 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15426 * elf/tst-execstack.c: Include stackinfo.h.
15427 (do_test): Adjust test case to ensure that pthread_getattr_np
15428 behaviour remains the same after marking stack executable.
15430 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15432 * sysdeps/unix/sysv/linux/kernel-features.h
15433 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15434 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15438 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15440 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15441 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15443 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15445 * configure.in: Define the default includes to being none.
15446 * configure: Regenerated.
15448 2012-05-25 Roland McGrath <roland@hack.frob.com>
15450 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15451 * sysdeps/x86_64/setjmp.S: Likewise.
15452 * sysdeps/i386/bsd-setjmp.S: Likewise.
15453 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15454 * sysdeps/i386/setjmp.S: Likewise.
15455 * sysdeps/i386/__longjmp.S: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15457 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15459 * include/stap-probe.h: New file.
15460 * configure.in: Handle --enable-systemtap.
15461 * configure: Regenerated.
15462 * config.h.in (USE_STAP_PROBE): New #undef.
15463 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15464 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15465 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15467 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15471 to 2.4.0 where earlier.
15472 * sysdeps/unix/sysv/linux/configure: Regenerated.
15473 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15474 <kernel-features.h>.
15475 [__ASSUME_32BITUIDS]: Make code unconditional.
15476 [!__ASSUME_32BITUIDS]: Remove conditional code.
15477 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15478 <kernel-features.h>.
15479 [__ASSUME_32BITUIDS]: Make code unconditional.
15480 [!__ASSUME_32BITUIDS]: Remove conditional code.
15481 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15482 [__ASSUME_32BITUIDS]: Make code unconditional.
15483 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15484 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15485 <kernel-features.h>.
15486 [__ASSUME_32BITUIDS]: Make code unconditional.
15487 [!__ASSUME_32BITUIDS]: Remove conditional code.
15488 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15489 <kernel-features.h>.
15490 [__ASSUME_32BITUIDS]: Make code unconditional.
15491 [!__ASSUME_32BITUIDS]: Remove conditional code.
15492 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15493 <kernel-features.h>.
15494 [__ASSUME_32BITUIDS]: Make code unconditional.
15495 [!__ASSUME_32BITUIDS]: Remove conditional code.
15496 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15497 <kernel-features.h>.
15498 [__ASSUME_32BITUIDS]: Make code unconditional.
15499 [!__ASSUME_32BITUIDS]: Remove conditional code.
15500 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15501 <kernel-features.h>.
15502 [__ASSUME_32BITUIDS]: Make code unconditional.
15503 [!__ASSUME_32BITUIDS]: Remove conditional code.
15504 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15505 <kernel-features.h>.
15506 [__ASSUME_32BITUIDS]: Make code unconditional.
15507 [!__ASSUME_32BITUIDS]: Remove conditional code.
15508 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15509 <kernel-features.h>.
15510 [__ASSUME_32BITUIDS]: Make code unconditional.
15511 [!__ASSUME_32BITUIDS]: Remove conditional code.
15512 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15513 <kernel-features.h>.
15514 [__ASSUME_32BITUIDS]: Make code unconditional.
15515 [!__ASSUME_32BITUIDS]: Remove conditional code.
15516 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15517 <kernel-features.h>.
15518 [__ASSUME_32BITUIDS]: Make code unconditional.
15519 [!__ASSUME_32BITUIDS]: Remove conditional code.
15520 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15521 <kernel-features.h>.
15522 [__ASSUME_32BITUIDS]: Make code unconditional.
15523 [!__ASSUME_32BITUIDS]: Remove conditional code.
15524 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15525 <kernel-features.h>.
15526 [__NR_setresgid] (__setresgid): Do not declare.
15527 [__ASSUME_32BITUIDS]: Make code unconditional.
15528 [!__ASSUME_32BITUIDS]: Remove conditional code.
15529 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15530 <kernel-features.h>.
15531 [__NR_setresuid] (__setresuid): Do not declare.
15532 [__ASSUME_32BITUIDS]: Make code unconditional.
15533 [!__ASSUME_32BITUIDS]: Remove conditional code.
15534 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15535 <kernel-features.h>.
15536 [__ASSUME_32BITUIDS]: Make code unconditional.
15537 [!__ASSUME_32BITUIDS]: Remove conditional code.
15538 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15539 <kernel-features.h>.
15540 [__ASSUME_32BITUIDS]: Make code unconditional.
15541 [!__ASSUME_32BITUIDS]: Remove conditional code.
15542 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15543 <kernel-features.h>.
15544 [__ASSUME_32BITUIDS]: Make code unconditional.
15545 [!__ASSUME_32BITUIDS]: Remove conditional code.
15546 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15547 <kernel-features.h>.
15548 [__ASSUME_32BITUIDS]: Make code unconditional.
15549 [!__ASSUME_32BITUIDS]: Remove conditional code.
15550 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15551 <kernel-features.h>.
15552 [__ASSUME_32BITUIDS]: Make code unconditional.
15553 [!__ASSUME_32BITUIDS]: Remove conditional code.
15554 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15555 <kernel-features.h>.
15556 [__ASSUME_32BITUIDS]: Make code unconditional.
15557 [!__ASSUME_32BITUIDS]: Remove conditional code.
15558 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15559 <kernel-features.h>.
15560 [__ASSUME_32BITUIDS]: Make code unconditional.
15561 [!__ASSUME_32BITUIDS]: Remove conditional code.
15562 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15563 <kernel-features.h>.
15564 [__ASSUME_32BITUIDS]: Make code unconditional.
15565 [!__ASSUME_32BITUIDS]: Remove conditional code.
15566 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15567 <kernel-features.h>.
15568 [__ASSUME_32BITUIDS]: Make code unconditional.
15569 [!__ASSUME_32BITUIDS]: Remove conditional code.
15570 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15571 <kernel-features.h>.
15572 [__ASSUME_32BITUIDS]: Make code unconditional.
15573 [!__ASSUME_32BITUIDS]: Remove conditional code.
15574 * sysdeps/unix/sysv/linux/kernel-features.h
15575 (__ASSUME_SETRESUID_SYSCALL): Remove.
15576 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15577 (__ASSUME_32BITUIDS): Likewise.
15578 (__ASSUME_LDT_WORKS): Likewise.
15579 (__ASSUME_O_DIRECTORY): Likewise.
15580 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15581 architecture but not kernel version.
15582 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15583 (__ASSUME_MMAP2_SYSCALL): Likewise.
15584 (__ASSUME_STAT64_SYSCALL): Likewise.
15585 (__ASSUME_IPC64): Likewise.
15586 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15587 <kernel-features.h>.
15588 [__ASSUME_32BITUIDS]: Make code unconditional.
15589 [!__ASSUME_32BITUIDS]: Remove conditional code.
15590 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15591 <kernel-features.h>.
15592 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15593 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15594 132096]: Remove conditional code.
15595 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15596 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15597 <kernel-features.h>.
15598 [__ASSUME_32BITUIDS]: Make code unconditional.
15599 [!__ASSUME_32BITUIDS]: Remove conditional code.
15600 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15601 <kernel-features.h>.
15602 [__ASSUME_32BITUIDS]: Make code unconditional.
15603 [!__ASSUME_32BITUIDS]: Remove conditional code.
15604 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15605 <kernel-features.h>.
15606 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15608 (__setresgid): Do not declare.
15609 [__ASSUME_32BITUIDS]: Make code unconditional.
15610 [!__ASSUME_32BITUIDS]: Remove conditional code.
15611 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15612 <kernel-features.h>.
15613 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15615 (__setresuid): Do not declare.
15616 [__ASSUME_32BITUIDS]: Make code unconditional.
15617 [!__ASSUME_32BITUIDS]: Remove conditional code.
15618 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15619 <kernel-features.h>.
15620 [__ASSUME_32BITUIDS]: Make code unconditional.
15621 [!__ASSUME_32BITUIDS]: Remove conditional code.
15622 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15623 <kernel-features.h>.
15624 [__ASSUME_32BITUIDS]: Make code unconditional.
15625 [!__ASSUME_32BITUIDS]: Remove conditional code.
15627 2012-05-25 Richard Henderson <rth@twiddle.net>
15629 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15630 dl_hwcap to ifunc resolver.
15631 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15633 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15634 dl_hwcap to ifunc resolver.
15635 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15637 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15640 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15641 for |x| <= 2**-26, not 2**-57.
15642 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15645 2012-05-24 Jeff Law <law@redhat.com>
15647 * stdio-common/Makefile (tests): Add bug25.
15648 * stdio-common/bug25.c: New test.
15650 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15653 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15654 multiple of MALLOC_ALIGNMENT in size.
15655 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15657 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15659 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15661 (FILENAME_MAX): Use macro-int-constant.
15662 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15663 (_IOFBF): Use macro-int-constant.
15664 (_IOLBF): Likewise.
15665 (_IONBF): Likewise.
15666 (SEEK_CUR): Likewise.
15667 (SEEK_END): Likewise.
15668 (SEEK_SET): Likewise.
15669 (TMP_MAX): Likewise.
15670 (EOF): Use macro-int-constant. Require < 0.
15671 (NULL): Use macro-constant. Require == 0.
15672 (stdin): Require type to be FILE *.
15673 (stdout): Likewise.
15674 (stderr): Likewise.
15675 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15676 macro-int-constant.
15677 (EXIT_SUCCESS): Likewise.
15678 (NULL): Use macro-constant. Require == 0.
15679 (RAND_MAX): Use macro-int-constant.
15680 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15681 [C99-based standards] (strtof): Require function.
15682 [C99-based standards] (strtold): Likewise.
15683 [C99-based standards] (strtoll): Likewise.
15684 [C99-based standards] (strtoull): Likewise.
15685 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15686 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15687 [ISO || ISO99 || ISO11] (math.h): Likewise.
15688 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15689 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15692 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15695 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15696 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15697 * intl/dgettext.c (DCGETTEXT): Likewise.
15698 * intl/gettext.c (DCGETTEXT): Likewise.
15699 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15700 * posix/regex_internal.h (gettext): Likewise.
15701 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15702 Remove declaration.
15703 * include/argz.h (__argz_count_internal)
15704 (__argz_stringify_internal): Remove declaration.
15705 (__argz_count, __argz_stringify): Declare hidden proto.
15706 * intl/dcgettext.c: Remove use of INTDEF.
15707 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15708 * string/argz-stringify.c: Likewise.
15709 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15710 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15711 Declare hidden proto.
15712 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15713 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15714 Declare hidden proto.
15715 * include/stdio.h (__asprintf_internal): Don't declare.
15716 (__asprintf): Don't define as macro. Declare hidden proto.
15717 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15718 (__fsetlocking): Declare hidden proto.
15719 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15720 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15722 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15723 (_IO_setlinebuf): Remove use of INTUSE.
15724 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15725 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15726 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15727 Remove declaration.
15728 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15729 (_IO_do_flush): Remove use of INTUSE.
15730 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15731 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15732 (_IO_adjust_column, _IO_least_wmarker)
15733 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15734 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15735 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15736 (_IO_default_doallocate, _IO_wdefault_doallocate)
15737 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15738 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15739 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15740 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15741 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15742 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15743 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15744 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15745 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15746 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15747 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15748 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15749 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15751 (_IO_flush_all_internal, _IO_adjust_column_internal)
15752 (_IO_default_uflow_internal, _IO_default_finish_internal)
15753 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15754 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15755 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15756 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15757 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15758 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15759 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15760 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15761 (_IO_file_close_internal, _IO_file_close_it_internal)
15762 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15763 (_IO_file_init_internal, _IO_file_attach_internal)
15764 (_IO_file_fopen_internal, _IO_file_read_internal)
15765 (_IO_file_sync_internal, _IO_file_seek_internal)
15766 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15767 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15768 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15769 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15770 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15771 (_IO_list_all_internal, _IO_link_in_internal)
15772 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15773 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15774 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15775 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15776 (_IO_do_write_internal, _IO_padn_internal)
15777 (_IO_getline_info_internal, _IO_getline_internal)
15778 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15779 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15780 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15781 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15782 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15783 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15784 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15785 with libc_hidden_ver, remove use of INTUSE.
15786 * libio/genops.c: Likewise.
15787 * libio/freopen.c: Likewise.
15788 * libio/freopen64.c: Likewise.
15789 * libio/iofclose.c: Likewise.
15790 * libio/iofdopen.c: Likewise.
15791 * libio/iofflush.c: Likewise.
15792 * libio/iofflush_u.c: Likewise.
15793 * libio/iofgets.c: Likewise.
15794 * libio/iofgets_u.c: Likewise.
15795 * libio/iofopen.c: Likewise.
15796 * libio/iofopncook.c: Likewise.
15797 * libio/iofread.c: Likewise.
15798 * libio/iofread_u.c: Likewise.
15799 * libio/ioftell.c: Likewise.
15800 * libio/iofwrite.c: Likewise.
15801 * libio/iogetline.c: Likewise.
15802 * libio/iogets.c: Likewise.
15803 * libio/iogetwline.c: Likewise.
15804 * libio/iopadn.c: Likewise.
15805 * libio/iopopen.c: Likewise.
15806 * libio/ioseekoff.c: Likewise.
15807 * libio/ioseekpos.c: Likewise.
15808 * libio/iosetbuffer.c: Likewise.
15809 * libio/iosetvbuf.c: Likewise.
15810 * libio/ioungetc.c: Likewise.
15811 * libio/ioungetwc.c: Likewise.
15812 * libio/iovdprintf.c: Likewise.
15813 * libio/iovsprintf.c: Likewise.
15814 * libio/iovsscanf.c: Likewise.
15815 * libio/memstream.c: Likewise.
15816 * libio/obprintf.c: Likewise.
15817 * libio/oldfileops.c: Likewise.
15818 * libio/oldiofclose.c: Likewise.
15819 * libio/oldiofdopen.c: Likewise.
15820 * libio/oldiofopen.c: Likewise.
15821 * libio/oldiopopen.c: Likewise.
15822 * libio/oldstdfiles.c: Likewise.
15823 * libio/putc.c: Likewise.
15824 * libio/setbuf.c: Likewise.
15825 * libio/setlinebuf.c: Likewise.
15826 * libio/stdfiles.c: Likewise.
15827 * libio/strops.c: Likewise.
15828 * libio/vasprintf.c: Likewise.
15829 * libio/vscanf.c: Likewise.
15830 * libio/vsnprintf.c: Likewise.
15831 * libio/vswprintf.c: Likewise.
15832 * libio/wfiledoalloc.c: Likewise.
15833 * libio/wfileops.c: Likewise.
15834 * libio/wgenops.c: Likewise.
15835 * libio/wmemstream.c: Likewise.
15836 * libio/wstrops.c: Likewise.
15837 * libio/__fpurge.c: Likewise.
15838 * libio/__fsetlocking.c: Likewise.
15839 * assert/assert.c: Likewise.
15840 * debug/fgets_chk.c: Likewise.
15841 * debug/fgets_u_chk.c: Likewise.
15842 * debug/fread_chk.c: Likewise.
15843 * debug/fread_u_chk.c: Likewise.
15844 * debug/gets_chk.c: Likewise.
15845 * debug/obprintf_chk.c: Likewise.
15846 * debug/vasprintf_chk.c: Likewise.
15847 * debug/vdprintf_chk.c: Likewise.
15848 * debug/vsnprintf_chk.c: Likewise.
15849 * debug/vsprintf_chk.c: Likewise.
15850 * malloc/mtrace.c: Likewise.
15851 * misc/error.c: Likewise.
15852 * misc/syslog.c: Likewise.
15853 * stdio-common/asprintf.c: Likewise.
15854 * stdio-common/fxprintf.c: Likewise.
15855 * stdio-common/getw.c: Likewise.
15856 * stdio-common/isoc99_fscanf.c: Likewise.
15857 * stdio-common/isoc99_scanf.c: Likewise.
15858 * stdio-common/isoc99_vfscanf.c: Likewise.
15859 * stdio-common/isoc99_vscanf.c: Likewise.
15860 * stdio-common/isoc99_vsscanf.c: Likewise.
15861 * stdio-common/printf-prs.c: Likewise.
15862 * stdio-common/printf_fp.c: Likewise.
15863 * stdio-common/printf_fphex.c: Likewise.
15864 * stdio-common/printf_size.c: Likewise.
15865 * stdio-common/putw.c: Likewise.
15866 * stdio-common/scanf.c: Likewise.
15867 * stdio-common/sprintf.c: Likewise.
15868 * stdio-common/tmpfile.c: Likewise.
15869 * stdio-common/vfprintf.c: Likewise.
15870 * stdio-common/vfscanf.c: Likewise.
15871 * stdlib/strfmon_l.c: Likewise.
15872 * sunrpc/openchild.c: Likewise.
15873 * sunrpc/xdr_stdio.c: Likewise.
15874 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15875 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15877 2012-05-24 Roland McGrath <roland@hack.frob.com>
15879 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15881 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15882 in the third column, to generate for the shared library an IFUNC
15883 that uses _dl_vdso_vsym.
15884 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15885 * Makeconfig (object-suffixes-noshared): New variable.
15887 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15888 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15889 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15890 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15893 * include/sys/time.h (__gettimeofday): Remove macro.
15894 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15895 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15897 (__gettimeofday): Add libc_hidden_def.
15898 (gettimeofday): Add libc_hidden_weak.
15899 * sysdeps/mach/gettimeofday.c: Likewise.
15900 * sysdeps/posix/gettimeofday.c: Likewise.
15901 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15902 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15904 (__gettimeofday_internal): Remove strong_alias.
15905 (__gettimeofday): Add libc_hidden_def.
15906 (gettimeofday): Add libc_hidden_weak.
15907 * sysdeps/unix/syscalls.list (gettimeofday):
15908 Remove __gettimeofday_internal alias.
15910 2012-05-24 Daniel Jacobowitz <drow@false.org>
15911 H.J. Lu <hongjiu.lu@intel.com>
15914 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15915 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15916 (largebin_index_32_big): New.
15917 (largebin_index): Use it for 16-byte alignment.
15918 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15919 correction with front_misalign.
15921 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15949 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15950 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15952 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15956 * math/libm-test.inc (exp_test): Add test from bug 14036.
15957 (pow_test): Add test from bug 10846.
15959 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15961 (special_function): Do not include flags in test name.
15962 (parse_args): Likewise.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15965 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15966 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15969 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15971 * math/libm-test.inc ("Philosophy"): Update comment about
15973 (UNDERFLOW_EXCEPTION): New macro.
15974 (UNDERFLOW_EXCEPTION_OK): Likewise.
15975 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15976 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15977 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15978 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15979 (INVALID_EXCEPTION_OK): Update value.
15980 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15981 (OVERFLOW_EXCEPTION_OK): Likewise.
15982 (IGNORE_ZERO_INF_SIGN): Likewise.
15983 (test_exceptions): Handle underflow exceptions.
15984 (acos_test): Update for underflow exception expectations.
15985 (cexp_test): Likewise.
15986 (clog_test): Likewise.
15987 (clog10_test): Likewise.
15988 (csqrt_test): Likewise.
15989 (ctan_test): Likewise.
15990 (ctanh_test): Likewise.
15991 (exp_test): Likewise.
15992 (exp10_test): Likewise.
15993 (exp2_test): Likewise.
15994 (expm1_test): Likewise.
15995 (fma_test): Likewise.
15996 (j0_test): Likewise.
15997 (jn_test): Likewise.
15998 (nexttoward_test): Likewise.
15999 (pow_test): Likewise.
16000 (scalbn_test): Likewise.
16001 (scalbln_test): Likewise.
16002 (tan_test): Likewise.
16003 (y1_test): Likewise.
16004 * sysdeps/i386/fpu/libm-test-ulps: Update.
16005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16007 2012-05-23 David S. Miller <davem@davemloft.net>
16009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16010 (__libc_sigaction): Remove unused local variables.
16012 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16014 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16016 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16018 mktime: avoid signed integer overflow
16019 * time/mktime.c (__mktime_internal): Do not mishandle the case
16020 where diff == INT_MIN.
16022 mktime: simplify computation of average
16023 * time/mktime.c (ranged_convert): Use new time_t_avg function
16024 instead of rolling our own (probably-slower) code.
16026 mktime: do not assume signed right shift propagates sign bit
16027 * time/mktime.c (isdst_differ): New static function.
16028 (__mktime_internal): No need to normalize tm_isdst now.
16029 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16032 mktime: merge another wrapv change from gnulib
16033 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16034 from some compilers.
16036 mktime: remove incorrect attempt at unusual arithmetics
16037 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16038 The code didn't really work on such machines anyway.
16039 (TYPE_MINIMUM): Assume two's complement.
16040 (twos_complement_arithmetic): Verify that long_int and time_t
16041 are two's complement (or unsigned, in the latter case).
16043 mktime: check signed shifts on long_int and time_t, too
16044 * time/mktime.c (SHR): Check that shifts work as desired
16045 on the types long_int and time_t too, as SHR is used on
16048 mktime: do not assume 'long' is wide enough
16049 * time/mktime.c (verify): Move decl up.
16050 (long_int): New type.
16051 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16052 to remove assumption in the code that 'long' is wide enough to
16053 store year values. This assumption is not true on x32 and on
16054 some non-glibc platforms.
16056 mktime: merge wrapv change from gnulib
16057 * time/mktime.c (WRAPV): New macro.
16058 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16059 (guess_time_tm, __mktime_internal): Do not assume that signed
16060 integer overflow wraps around; modern compilers generate code
16061 where this assumption is no longer valid.
16063 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16065 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16066 Replace "jmp L(pseudo_end)" with "ret".
16067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16070 2012-05-23 Andreas Jaeger <aj@suse.de>
16072 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16073 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16075 2012-05-23 Andreas Jaeger <aj@suse.de>
16076 Maximilian Attems <max@stro.at>
16078 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16081 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16083 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16084 code so that pseudo_end is just ret and the stack pointer is
16085 correct also for static library in error case.
16087 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16089 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16090 move to syscalls.list.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16096 * manual/install.texi (Running make install): Do not mention Linux
16097 kernel version for which pt_chown is not needed.
16098 (Linux): Do not mention problems with nscd with 2.0 kernels.
16099 * INSTALL: Regenerated.
16101 2012-05-23 Andreas Jaeger <aj@suse.de>
16103 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16104 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16106 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16108 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16110 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16112 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16114 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16116 * sysdeps/unix/sysv/linux/bits/in.h
16117 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16119 2012-05-22 Roland McGrath <roland@hack.frob.com>
16121 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16122 (PREPARE_VERSION): Just use assert instead, it will be elided
16123 under [NDEBUG] anyway.
16125 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16127 * sysdeps/unix/sysv/linux/Makefile: Include
16128 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16129 (sysdep_routines): Remove sysctl.
16130 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16131 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16132 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16133 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16134 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16136 2012-05-22 Andreas Jaeger <aj@suse.de>
16138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16139 that pseudo_end is just ret and the stack pointer is correct also
16140 for static library in error case.
16142 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16145 * nss/nsswitch.c (defconfig_entries): New variable.
16146 (__nss_database_lookup): Don't leak defconfig entries.
16147 (nss_parse_service_list): Don't leak on error paths.
16148 (free_database_entries): New function.
16149 (free_defconfig): New function.
16150 (free_mem): Move common code to free_database_entries.
16152 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16154 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16156 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16158 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16159 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16162 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16163 (INTERNAL_SYSCALL_TYPES): Likewise.
16164 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16165 (LOAD_REGS_TYPES_[1-6]): Likewise.
16166 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16167 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16169 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16171 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16172 copysignl for GLIBC_2_0.
16173 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16174 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16176 logbl for GLIBC_2_0.
16177 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16178 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16180 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16183 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16185 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16188 * time/mktime.c: Update copyright years.
16190 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16192 mktime: merge comment-quoting-style change from gnulib
16193 * time/mktime.c: Quote 'like this' in comments.
16194 The GNU coding standards suggest that we no longer quote `like this',
16195 as "`" and "'" are typically rendered asymmetrically nowadays.
16196 The typical gnulib style is to quote 'like this' when quoting
16197 code, and "like this" when quoting English.
16199 * time/mktime.c (compile-command): Add "-I.".
16201 mktime: merge mktime-internal.h change from gnulib
16202 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16204 mktime: merge time_r change from gnulib
16205 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16207 mktime: merge DEBUG change from gnulib
16208 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16209 case system <time.h> has a #define.
16211 mktime: merge <sys/types.h> change from gnulib
16212 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16213 since <time.t> is now guaranteed to define time_t.
16215 mktime: merge HAVE_CONFIG_H change from gnulib
16216 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16218 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16223 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16225 (struct rusage): Use anonymous union to pad each field to
16228 2012-05-21 David S. Miller <davem@davemloft.net>
16230 * Makefules (o-iterator): Remove .s cases.
16231 (compile-command.s): Delete.
16232 (COMPILE.s): Delete.
16233 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16235 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16237 * configure.in (libc_cv_predef_stack_protector): Only consider
16238 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16239 * configure: Regenerated.
16241 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16244 New macro. Use R*LP on int and pointer.
16245 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16246 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16247 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16248 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16250 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16251 [__WORDSIZE_TIME64_COMPAT32] instead of
16252 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16253 (struct utmp): Likewise.
16254 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16255 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16257 (__WORDSIZE_TIME64_COMPAT32): This.
16258 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16259 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16260 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16261 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16262 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16263 (__WORDSIZE_TIME64_COMPAT32): New macro.
16265 2012-05-21 Andreas Jaeger <aj@suse.de>
16267 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16268 only if [SHARED]. Add prototype for __wcschr_ia32.
16270 2012-05-21 Roland McGrath <roland@hack.frob.com>
16272 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16273 of %rbp unmolested in the jmp_buf while mangling the low bits.
16274 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16275 unmolested high bits of %rbp while demangling the low bits.
16276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16278 2012-05-21 Andreas Jaeger <aj@suse.de>
16280 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16281 * sunrpc/svc_simple.c: Use it for registerrpc.
16282 * sunrpc/xcrypt.c: Use it for passwd2des.
16284 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16286 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16288 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16289 Don't define if [__SYSCALL_WORDSIZE != 32].
16290 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16293 2012-05-21 Bruno Haible <bruno@clisp.org>
16294 Andreas Jaeger <aj@suse.de>
16296 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16297 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16298 inptr and inend for must_buffer_ch.
16299 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16300 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16301 * stdio-common/Makefile (tests): Remove bug15.
16302 (bug15-ENV): Remove macro.
16303 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16306 2012-05-19 Andreas Jaeger <aj@suse.de>
16307 Roland McGrath <roland@hack.frob.com>
16309 * manual/contrib.texi: Completely rewritten. It contains now an
16310 alphabetical list of contributors and their contributions.
16312 2012-05-21 Richard Henderson <rth@twiddle.net>
16314 * misc/getauxval.c (__getauxval): Use unsigned long int.
16315 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16316 (getauxval): Use unsigned long int.
16318 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16320 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16322 2012-05-21 Roland McGrath <roland@hack.frob.com>
16324 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16325 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16326 __alignof__ (long double).
16328 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16332 2012-05-20 Richard Henderson <rth@twiddle.net>
16334 * misc/getauxval.c: New file.
16335 * misc/sys/auxv.h: New file.
16336 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16337 (routines): Add getauxval.
16338 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16339 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16340 * elf/dl-sysdep.c (_dl_auxv): Remove.
16341 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16342 * elf/dl-support.c (_dl_auxv): New variable.
16343 (_dl_aux_init): Initialize it.
16344 * manual/startup.texi (Auxiliary Vector): New node.
16345 * sysdeps/generic/bits/hwcap.h: New file.
16346 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16347 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16348 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16349 * sysdeps/sparc/sysdep.h: ... here. Include it.
16350 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16357 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16363 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16367 2012-05-19 David S. Miller <davem@davemloft.net>
16369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16371 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16374 * math/s_ccosh.c: Include <float.h>
16375 (__ccosh): Avoid internal overflow calculating sinh and cosh
16376 values before multiplying by sin and cos values.
16377 * math/s_ccoshf.c: Likewise.
16378 * math/s_ccoshl.c: Likewise.
16379 * math/s_csin.c: Likewise.
16380 * math/s_csinf.c: Likewise.
16381 * math/s_csinl.c: Likewise.
16382 * math/s_csinh.c: Likewise.
16383 * math/s_csinhf.c: Likewise.
16384 * math/s_csinhl.c: Likewise.
16385 * math/libm-test.inc (ccos_test): Add more tests.
16386 (ccosh_test): Likewise.
16387 (csin_test): Likewise.
16388 (csinh_test): Likewise.
16389 * sysdeps/i386/fpu/libm-test-ulps: Update.
16390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16394 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16395 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16397 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16399 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16401 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16402 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16403 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16404 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16405 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16406 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16407 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16408 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16409 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16410 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16411 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16412 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16413 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16414 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16415 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16416 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16417 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16418 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16419 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16420 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16421 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16422 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16423 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16424 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16425 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16426 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16427 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16428 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16429 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16430 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16431 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16433 2012-05-18 Andreas Jaeger <aj@suse.de>
16435 * csu/.gitignore: Delete.
16437 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16439 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16440 (timex): Use __syscall_slong_t.
16442 2012-05-18 Andreas Jaeger <aj@suse.de>
16443 Carlos O'Donell <carlos_odonell@mentor.com>
16445 * manual/install.texi (Configuring and compiling): Update
16446 description about files modified in the source directory.
16447 * INSTALL: Regenerated.
16449 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16451 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16452 value. Use "or" to set return value to -1.
16453 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16454 negate return value.
16456 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16458 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16459 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16460 failure if the compiler has Graphite support disabled.
16461 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16463 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16464 CFLAGS-memmove.c): Likewise.
16465 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16468 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16470 * sysdeps/x86_64/x32/_itoa.h: New file.
16472 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16473 getdents system call only if kernel and user dirents have the
16474 same d_ino and d_off.
16476 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16477 LLONG_MAX != LONG_MAX.
16478 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16479 (_fitoa_word): Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16487 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16488 include <bits/wordsize.h>. Check __x86_64__ instead of
16490 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16491 if __x86_64__ is defined. Use anonymous union on fpstate.
16493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16496 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16498 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16499 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16500 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16501 Refer to _rtld_local_ro instead of _rtld_global_ro.
16502 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16504 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16506 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16508 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16509 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16510 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16512 * sysdeps/powerpc/powerpc32/dl-machine.c
16513 (__elf_machine_runtime_setup) [PROF]: Don't reference
16516 2012-05-18 Andreas Jaeger <aj@suse.de>
16518 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16519 function only available for GCCs before 3.4 since GCC 3.4
16520 introduced a builtin.
16522 (llrintf): Likewise.
16523 (llrint): Likewise.
16530 (nearbyint): Likewise.
16531 (nearbyintf): Likewise.
16535 (floorf): Likewise.
16537 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16539 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16540 on both fields and cast pointer to __syscall_ulong_t.
16542 * bits/types.h (__fsword_t): New type.
16543 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16544 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16546 (__FSWORD_T_TYPE): Likewise.
16547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16548 (__FSWORD_T_TYPE): Likewise.
16549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16550 (__FSWORD_T_TYPE): Likewise.
16551 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16552 (__FSWORD_T_TYPE): Likewise.
16553 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16554 __SWORD_TYPE with __fsword_t.
16555 (statfs64): Likewise.
16557 2012-05-17 David S. Miller <davem@davemloft.net>
16559 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16561 2012-05-17 Andreas Jaeger <aj@suse.de>
16563 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16566 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16568 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16570 2012-05-17 Andreas Jaeger <aj@suse.de>
16572 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16575 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16577 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16579 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16581 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16582 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16584 2012-05-17 Andreas Jaeger <aj@suse.de>
16585 Carlos O'Donell <carlos_odonell@mentor.com>
16588 * sysdeps/x86_64/multiarch/init-arch.h
16589 (bit_YMM_Usable): Rename to...
16590 (bit_AVX_Usable): ... this.
16591 (bit_FMA4_Usable): New macro.
16592 (bit_XMM_state): New macro.
16593 (bit_YMM_state): New macro.
16594 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16595 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16596 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16597 (CPUID_OSXSAVE): New macro.
16598 (CPUID_AVX): New macro.
16599 (CPUID_FMA4): New macro.
16600 (index_YMM_Usable): Rename to...
16601 (index_AVX_Usable): ... this.
16602 (HAS_AVX): Use HAS_ARCH_FEATURE.
16603 (HAS_FMA4): Likewise.
16604 (HAS_YMM_USABLE): Remove.
16605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16606 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16608 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16609 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16610 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16611 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16612 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16614 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16616 * math/libm-test.c: Support platforms without multiple rounding modes.
16617 * math/bug-nextafter.c: Support platforms without FP exceptions.
16618 * math/bug-nexttoward.c: Likewise.
16619 * math/test-fenv.c: Likewise.
16620 * math/test-misc.c: Likewise.
16621 * stdlib/bug-getcontext.c: Likewise.
16623 2012-05-17 Andreas Jaeger <aj@suse.de>
16625 * manual/examples/search.c (critter_cmp): Change signature to
16627 * manual/string.texi (Collation Functions): Likewise.
16629 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16631 * bits/types.h: Fold copyright years.
16632 * bits/typesizes.h: Likewise.
16633 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16636 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16637 * time/time.h: Likewise.
16639 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16642 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16643 in instead of returning them. Return void.
16644 (__libc_mallinfo): Accumulate over all arenas.
16645 (__malloc_stats): Adjust for change in int_mallinfo interface.
16647 2012-05-16 Roland McGrath <roland@hack.frob.com>
16650 * configure.in (NM): Add AC_CHECK_TOOL for it.
16651 (libc_extra_cflags): New substituted variable.
16652 Check for -fstack-protector being used implicitly.
16653 * configure: Regenerated.
16654 * config.make.in (config-extra-cflags): New variable,
16655 gets @libc_extra_cflags@.
16656 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16659 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16660 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16661 * configure: Regenerated.
16662 * config.make.in (CPPUNDEFS): New substituted variable.
16663 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16664 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16665 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16669 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16670 (mq_attr): Use __syscall_slong_t.
16672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16674 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16675 Check __x86_64__ instead of __WORDSIZE.
16676 (_STAT_VER_LINUX): Likewise.
16677 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16678 __syscall_ulong_t and __syscall_slong_t.
16679 (stat64): Likewise.
16681 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16683 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16687 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16691 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16694 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16695 include <bits/wordsize.h>. Check __x86_64__ instead of
16697 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16699 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16702 include <bits/wordsize.h>. Check __x86_64__ instead of
16704 (user_regs_struct): Use "__extension__ unsigned long long"
16705 instead of "unsigned long" if __x86_64__ is defined.
16706 (user): Likewise. Pad after pointer field if __ILP32__ is
16709 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16711 * configure.in (makeinfo): Require version 4.5 or later. Allow
16713 * configure: Regenerated.
16714 * manual/install.texi (texinfo): Increase version requirement to
16716 * INSTALL: Regenerated.
16718 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16720 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16722 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16724 * sysdeps/x86_64/x32/ffs.c: New file.
16726 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16728 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16729 defined. Use __syscall_ulong_t.
16730 (shminfo): Use __syscall_ulong_t.
16731 (shm_info): Likewise.
16733 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16736 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16738 (msgqnum_t): Use __syscall_ulong_t.
16739 (msglen_t): Likewise.
16740 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16743 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16746 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16748 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16749 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16751 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16754 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16755 include <bits/wordsize.h>. Check __x86_64__ instead of
16758 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16759 "unsigned long long int" if __x86_64__ is defined.
16760 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16762 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16763 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16764 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16766 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16768 (GET_PC): Cast to uintptr_t first.
16769 (GET_FRAME): Likewise.
16770 (GET_STACK): Likewise.
16772 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16774 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16776 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16780 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16782 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16783 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16787 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16789 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16790 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16791 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16792 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16797 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16799 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16802 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16804 * Makerules (+depfiles): Also collect depfiles from .oS in
16806 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16807 .oS, $(libnldbl-routines)).
16809 * Makerules (native-compile-mkdep-flags): Define.
16810 * sunrpc/Makefile (extra-objs): Add $(addprefix
16811 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16812 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16813 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16814 calling $(make-target-directory).
16816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16818 * bits/types.h (__snseconds_t): Removed.
16819 * time/time.h (struct timespec): Replace __snseconds_t with
16821 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16822 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16825 (__SNSECONDS_T_TYPE): Likewise.
16826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16827 (__SNSECONDS_T_TYPE): Likewise.
16828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16829 (__SNSECONDS_T_TYPE): Likewise.
16831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16833 * sysdeps/mach/hurd/bits/typesizes.h
16834 (__SYSCALL_SLONG_TYPE): New macro.
16835 (__SYSCALL_ULONG_TYPE): Likewise.
16837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16839 * bits/types.h (__syscall_slong_t): New type.
16840 (__syscall_ulong_t): Likewise.
16842 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16843 (__SYSCALL_ULONG_TYPE): Likewise.
16844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16845 (__SYSCALL_SLONG_TYPE): Likewise.
16846 (__SYSCALL_ULONG_TYPE): Likewise.
16847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16848 (__SYSCALL_SLONG_TYPE): Likewise.
16849 (__SYSCALL_ULONG_TYPE): Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16851 (__SYSCALL_SLONG_TYPE): Likewise.
16852 (__SYSCALL_ULONG_TYPE): Likewise.
16854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16856 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16857 Add sigaltstack-offsets.sym.
16858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16859 <sigaltstack-offsets.h>.
16860 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16861 longjmp_msg pointer.
16862 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16863 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16865 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16867 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16869 * elf/stackguard-macros.h: Remove file.
16870 * sysdeps/generic/stackguard-macros.h: New file.
16871 * sysdeps/i386/stackguard-macros.h: Likewise.
16872 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16873 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16874 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16875 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16876 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16877 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16878 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16879 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16880 <elf/stackguard-macros.h>.
16883 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16884 __aligned__ in attribute.
16885 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16886 (gregset_t): Likewise.
16888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16890 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16891 * sysdeps/x86_64/64/Implies-after: Here. New file.
16892 * sysdeps/x86_64/x32/Implies-after: New file.
16894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16896 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16897 and access return value for _dl_profile_fixup. Use R10_LP to
16900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16902 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16906 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16907 * sysdeps/x86_64/x32/sysdep.h: New file.
16909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16911 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16912 * sysdeps/x86_64/setjmp.S: Likewise.
16914 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16916 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16918 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16919 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16920 remove unused global constant.
16922 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16924 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16925 include of <not-cancel.h>.
16927 2012-05-15 Roland McGrath <roland@hack.frob.com>
16929 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16931 2012-05-15 Jeff Law <law@redhat.com>
16932 Andreas Jaeger <aj@suse.de>
16935 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16937 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16938 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16939 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16940 code changing __hst_map_handle.map.
16942 2012-05-15 Roland McGrath <roland@hack.frob.com>
16944 * configure.in (sysnames): Look for Implies-before and Implies-after
16946 * configure: Regenerated.
16948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16950 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16951 8-byte data alignment with LP_SIZE alignment.
16953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16955 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16960 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16964 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16965 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16968 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16972 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16973 (stackinfo_sub_sp): Likewise.
16975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16977 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16982 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16987 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16992 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16996 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16997 into R11_LP and load __x86_64_shared_cache_size_half into
17000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17002 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17005 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17014 powerpc32/power7/fpu/s_logb.c via #include.
17015 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17016 powerpc32/power7/fpu/s_logbf.c via #include.
17017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17018 powerpc32/power7/fpu/s_logbl.c via #include.
17020 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17022 * README.libm: Remove file.
17024 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17026 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17027 count for x32. Use R*_LP and omit operand-size suffix.
17029 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17031 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17032 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17033 * sysdeps/x86_64/x32/shlib-versions: New file.
17035 2012-05-14 Roland McGrath <roland@hack.frob.com>
17037 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17038 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17039 Use _dl_fatal_printf instead.
17041 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17043 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17044 set if not set by the user. Do not allow for being unset.
17045 * sysdeps/unix/sysv/linux/configure: Regenerated.
17047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17049 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17050 the `q' suffix from lea and replace .quad with ASM_ADDR.
17052 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17055 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17057 (PTR_DEMANGLE): Likewise.
17059 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17061 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17063 (ASM_ADDR): Likewise.
17064 (RAX_LP): Likewise.
17065 (RBP_LP): Likewise.
17066 (RBX_LP): Likewise.
17067 (RCX_LP): Likewise.
17068 (RDI_LP): Likewise.
17069 (RSI_LP): Likewise.
17070 (RSP_LP): Likewise.
17073 (R10_LP): Likewise.
17074 (R10_LP): Likewise.
17075 (R11_LP): Likewise.
17076 (R12_LP): Likewise.
17077 (R13_LP): Likewise.
17078 (R14_LP): Likewise.
17079 (R15_LP): Likewise.
17081 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17083 * sysdeps/x86_64/x32/dl-machine.h: New file.
17085 2012-05-14 Andreas Jaeger <aj@suse.de>
17087 * manual/Makefile (subdir): Remove export of subdir.
17088 (all): Remove target.
17089 (.PHONY): Remove all from list.
17090 (mkinstalldirs): Remove.
17091 (.PHONY): Remove installdirs from list.
17092 ($(inst_infodir)/libc.info): Use make-target-directory.
17093 (installdirs): Remove.
17094 (subdir_%): Remove.
17095 (glibc-targets): Remove.
17098 ($(objpfx)stubs ../po/manual.pot): Remove.
17099 ($(objpfx)stamp%): Remove.
17100 (make-target-directory): Remove.
17101 (subdir_install): Remove.
17102 (routines): Remove.
17109 * manual/.gitignore: Remove, it's not needed anymore.
17110 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17112 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17114 (texis): Renamed to $(objpfx)texis.
17115 (texis-path): New, contains path to generated files.
17116 (chapters.%): Use texis-path for complete path, add extra argument
17118 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17119 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17120 (summary,texi, stamp-summary): Use complete path of
17121 files. Generate files in build dir.
17122 (dir-add.texi): Build in build dir.
17123 (libm-err.texi,stamp-libm-err): Likewise.
17124 (version.texi, stamp-version): Likewise.
17125 (.%c.texi): Likewise.
17126 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17127 (mostlyclean): Remove target.
17128 (realclean): Remove target.
17129 (generated): Add new variable with contents from mostlyclean and
17130 realclean, remove entries duplicated in common-mostlyclean, add
17131 stamp-libm-err and stamp-version.
17132 (generated-dirs): Add libc directory.
17133 ($(inst_infodir)/libc.info): Install files from build dir.
17135 * manual/install.texi (Configuring and compiling): Adjust since
17136 the info files are not part of the tar ball anymore.
17138 2012-05-14 Andreas Jaeger <aj@suse.de>
17140 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17143 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17146 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17147 to 2.2.0 where earlier.
17148 * sysdeps/unix/sysv/linux/configure: Regenerated.
17149 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17150 Remove conditional code.
17151 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17152 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17153 Remove conditional code.
17154 [!__NR_lchown]: Likewise.
17155 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17156 [__NR_lchown]: Likewise.
17157 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17158 comment referencing __ASSUME_LCHOWN_SYSCALL.
17159 * sysdeps/unix/sysv/linux/i386/sigaction.c
17160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17162 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17163 Remove conditional code.
17164 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17165 (__protocol_available): Remove #if 0 code.
17166 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17168 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17169 * sysdeps/unix/sysv/linux/kernel-features.h
17170 (__ASSUME_GETCWD_SYSCALL): Don't define.
17171 (__ASSUME_REALTIME_SIGNALS): Likewise.
17172 (__ASSUME_PREAD_SYSCALL): Likewise.
17173 (__ASSUME_PWRITE_SYSCALL): Likewise.
17174 (__ASSUME_POLL_SYSCALL): Likewise.
17175 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17176 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17178 (__ASSUME_SIOCGIFNAME): Don't define.
17179 (__ASSUME_MSG_NOSIGNAL): Likewise.
17180 (__ASSUME_SENDFILE): Define unconditionally.
17181 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17182 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17184 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17185 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17186 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17187 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17188 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17189 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17190 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17195 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17201 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17204 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17207 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17210 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17213 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17215 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17216 Remove conditional code.
17217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17218 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17219 Remove conditional code.
17220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17221 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17222 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17223 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17224 Remove conditional code.
17225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17226 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17227 Remove conditional code.
17228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17229 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17230 Remove conditional code.
17231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17232 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17233 Remove conditional code.
17234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17235 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17236 Remove conditional code.
17237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17238 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17241 * sysdeps/unix/sysv/linux/sigaction.c
17242 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17243 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17244 * sysdeps/unix/sysv/linux/sigpending.c
17245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17247 * sysdeps/unix/sysv/linux/sigprocmask.c
17248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17250 * sysdeps/unix/sysv/linux/sigsuspend.c
17251 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17252 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17253 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17254 (__libc_missing_rt_sigs): Remove.
17255 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17256 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17257 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17258 Remove conditional code.
17259 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17260 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17262 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17263 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17264 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17265 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17267 2012-05-14 Andreas Jaeger <aj@suse.de>
17269 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17270 it's not used in glibc.
17271 (__coshm1): Likewise.
17272 (__acosh1p): Likewise.
17275 * manual/string.texi (Copying and Concatenation): Add missing
17276 variable in concat example.
17277 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17283 __builtin_clzl with __builtin_clzll.
17285 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17288 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17291 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17293 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17294 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17295 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17296 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17298 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17300 * NEWS: Update ia64 info.
17302 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17304 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17307 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17309 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17310 * sysdeps/unix/syscalls.list (dup3): Likewise.
17311 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17312 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17314 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17316 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17317 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17319 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17321 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17323 (TLS_IE): Use mov/add instead of movq/addq to load thread
17325 (TLS_GD_PREFIX): New.
17328 2012-05-11 David S. Miller <davem@davemloft.net>
17330 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17331 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17332 (_FPU_SETCW): Likewise.
17334 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17336 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17337 is 32-byte aligned.
17339 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17342 * iconvdata/gb18030.c: Update tables.
17343 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17344 characters specially.
17345 (BODY for TO_LOOP): Add encoding of missing ranges.
17347 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17350 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17351 * sysdeps/mach/hurd/dup3.c: Likewise.
17352 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17353 * sysdeps/powerpc/memmove.c:: Likewise.
17355 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17358 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17360 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17362 * elf/elf.h (R_X86_64_RELATIVE64): New.
17363 (R_X86_64_NUM): Updated.
17364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17365 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17366 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17367 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17368 tst-quad1pie tst-quad2pie
17369 (modules-names): Add tst-quadmod1 tst-quadmod2.
17370 ($(objpfx)tst-quad1): New dependency.
17371 ($(objpfx)tst-quad2): Likewise.
17372 ($(objpfx)tst-quad1pie): Likewise.
17373 ($(objpfx)tst-quad2pie): Likewise.
17374 * sysdeps/x86_64/tst-quad1.c: New file.
17375 * sysdeps/x86_64/tst-quad1pie.c: New file.
17376 * sysdeps/x86_64/tst-quad2.c: Likewise.
17377 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17378 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17379 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17380 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17381 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17385 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17386 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17387 * streams/stropts.h (t_scalar_t): Define type.
17389 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17390 (_PATH_PRESERVE): Set to "/var/lib".
17391 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17393 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17396 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17397 if __dir_mkfile succeeded.
17399 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17400 checking for _hurd_dtablesize. Unlock it right after having
17401 finished _hurd_dtable allocation.
17403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17405 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17406 * sysdeps/mach/hurd/configure: Regenerated.
17407 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17408 special-casing to...
17409 * sysdeps/gnu/configure.in: ... this new file.
17410 * sysdeps/unix/sysv/linux/configure: Regenerated.
17411 * sysdeps/gnu/configure: New generated file.
17413 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17414 for Linux: use nsec instead of usec, as well as:
17415 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17416 members of type struct timespec.
17417 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17419 (struct stat64): Likewise.
17420 (_STATBUF_ST_NSEC): New macro.
17421 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17423 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17424 __strtoul_internal rather than strtoul.
17426 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17428 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17433 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17434 which preserves existing values.
17435 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17439 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17440 TIMEOUT values. Return EINVAL for NFDS values either negative or
17441 greater than FD_SETSIZE.
17443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17445 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17446 allocated, call __vm_protect to finish enabling the existing space, and
17447 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17448 allocate the remainder.
17450 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17452 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17453 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17455 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17457 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17458 sysdeps/mach/hurd/readlink.c.
17460 * posix/tst-sysconf.c (posix_options): Only use
17461 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17462 _POSIX_SYNCHRONIZED_IO when they are defined
17463 * sysdeps/mach/hurd/bits/posix_opt.h:
17464 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17465 (_XOPEN_REALTIME): Undefine macro.
17466 (_XOPEN_REALTIME_THREADS): Undefine macro.
17467 (_XOPEN_SHM): Undefine macro.
17468 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17470 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17472 (_POSIX_ASYNC_IO): Undefine macro.
17473 (_POSIX_PRIORITIZED_IO): Undefine macro.
17474 (_POSIX_SPIN_LOCKS): Define macro to -1.
17476 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17477 SA_NODEFER, SA_RESETHAND.
17478 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17479 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17484 * elf/Makefile (pldd-modules): Define unconditionally.
17486 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17488 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17492 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17493 Return ENOENT when name is empty.
17494 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17496 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17498 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17500 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17504 Fix mlock in all cases except non-readable pages.
17505 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17506 instead of VM_PROT_ALL as parameter to __vm_wire function.
17508 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17509 (__mkdir): When path is `/', just fail with EEXIST.
17510 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17514 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17515 <sys/uio.h> (for writev).
17516 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17517 and <sys/param.h> (for MIN).
17519 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17521 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17522 REQUESTED_TIME. Properly set the remaining time and return EINTR
17525 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17527 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17528 Depend on against $(link-rpcuserlibs).
17530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17532 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17533 (__libc_stack_end): Do not use attribute_relro.
17534 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17535 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17536 to libthread-provided value.
17537 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17540 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17543 * bits/libc-lock.h (__libc_once_get): New macro.
17544 * sysdeps/mach/bits/libc-lock.h: Likewise.
17545 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17547 instead of using implementation details.
17549 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17550 * libio/freopen.c: Likewise.
17551 * libio/freopen64.c: Likewise.
17552 * misc/syslog.c: Likewise.
17553 * nscd/connections.c: Likewise.
17554 * nscd/netgroupcache.c: Likewise.
17555 * sysdeps/posix/getcwd.c: Likewise.
17557 2012-05-10 Roland McGrath <roland@hack.frob.com>
17559 * math/w_ilogbf.c: Add #include <limits.h>.
17561 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17563 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17564 path instead of returning without unlocking.
17566 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17567 immediate-write ioctls.
17568 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17572 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17573 __builtin_frame_address instead of making assumptions about the
17574 location of the return address relative to DATA. Force early load of
17575 the return address.
17576 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17577 __builtin_frame_address.
17580 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17581 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17582 implement dup3 and do some further code clean-ups.
17583 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17584 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17586 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17588 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17590 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17591 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17592 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17593 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17594 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17597 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17598 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17599 when handler == SIG_ERR, not when handler != SIG_ERR.
17601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17603 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17604 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17607 accept4 for GNU Hurd.
17608 * include/sys/socket.h (__libc_accept4): New prototype.
17609 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17610 to implement __libc_accept4.
17611 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17613 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17615 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17616 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17617 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17618 signal-defines.sym.
17620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17622 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17626 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17627 assertion on O_CLOEXEC flag.
17628 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17629 * hurd/intern-fd.c: Likewise.
17630 * hurd/port2fd.c: Likewise.
17632 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17635 * bits/in.h (IPV6_PKTINFO): Define new macro.
17636 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17638 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17643 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17645 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17646 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17648 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17649 * math/libm-test.inc (logb_test) : Additional logb tests.
17651 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17652 Andreas Jaeger <aj@suse.de>
17654 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17655 * configure: Regenerated.
17656 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17657 * config.make.in (link-obsolete-rpc): New substituted variable.
17658 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17659 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17660 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17661 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17662 so that libc.a contains the symbols.
17663 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17664 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17665 * sunrpc/auth_none.c: Likewise.
17666 * sunrpc/auth_unix.c: Likewise.
17667 * sunrpc/authdes_prot.c: Likewise.
17668 * sunrpc/authuxprot.c: Likewise.
17669 * sunrpc/clnt_gen.c: Likewise.
17670 * sunrpc/clnt_perr.c: Likewise.
17671 * sunrpc/clnt_raw.c: Likewise.
17672 * sunrpc/clnt_simp.c: Likewise.
17673 * sunrpc/clnt_tcp.c: Likewise.
17674 * sunrpc/clnt_udp.c: Likewise.
17675 * sunrpc/clnt_unix.c: Likewise.
17676 * sunrpc/des_crypt.c: Likewise.
17677 * sunrpc/des_soft.c: Likewise.
17678 * sunrpc/get_myaddr.c: Likewise.
17679 * sunrpc/key_call.c: Likewise.
17680 * sunrpc/key_prot.c: Likewise.
17681 * sunrpc/netname.c: Likewise.
17682 * sunrpc/pm_getmaps.c: Likewise.
17683 * sunrpc/pm_getport.c: Likewise.
17684 * sunrpc/pmap_clnt.c: Likewise.
17685 * sunrpc/pmap_prot.c: Likewise.
17686 * sunrpc/pmap_prot2.c: Likewise.
17687 * sunrpc/pmap_rmt.c: Likewise.
17688 * sunrpc/publickey.c: Likewise.
17689 * sunrpc/rpc_cmsg.c: Likewise.
17690 * sunrpc/rpc_common.c: Likewise.
17691 * sunrpc/rpc_dtable.c: Likewise.
17692 * sunrpc/rpc_prot.c: Likewise.
17693 * sunrpc/rpc_thread.c: Likewise.
17694 * sunrpc/rtime.c: Likewise.
17695 * sunrpc/svc.c: Likewise.
17696 * sunrpc/svc_auth.c: Likewise.
17697 * sunrpc/svc_raw.c: Likewise.
17698 * sunrpc/svc_run.c: Likewise.
17699 * sunrpc/svc_tcp.c: Likewise.
17700 * sunrpc/svc_udp.c: Likewise.
17701 * sunrpc/svc_unix.c: Likewise.
17702 * sunrpc/svcauth_des.c: Likewise.
17703 * sunrpc/xcrypt.c: Likewise.
17704 * sunrpc/xdr.c: Likewise.
17705 * sunrpc/xdr_array.c: Likewise.
17706 * sunrpc/xdr_float.c: Likewise.
17707 * sunrpc/xdr_intXX_t.c: Likewise.
17708 * sunrpc/xdr_mem.c: Likewise.
17709 * sunrpc/xdr_rec.c: Likewise.
17710 * sunrpc/xdr_ref.c: Likewise.
17711 * sunrpc/xdr_sizeof.c: Likewise.
17712 * sunrpc/xdr_stdio.c: Likewise.
17714 2012-05-10 Roland McGrath <roland@hack.frob.com>
17716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17717 change. Update copyright years.
17719 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17721 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17723 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17724 Joseph Myers <joseph@codesourcery.com>
17725 Paul Pluzhnikov <ppluzhnikov@google.com>
17728 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17730 [cross-compiling] (extra-libs): Likewise.
17731 [cross-compiling] (extra-libs-others): Likewise.
17732 [cross-compiling] (librpcsvc-routines): Likewise.
17733 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17734 [cross-compiling] (omit-deps): Likewise.
17735 (sunrpc-CPPFLAGS): New variable.
17736 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17737 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17738 (cross-rpcgen-objs): New variable.
17739 (extra-objs): Append $(cross-rpcgen-objs).
17740 ($(cross-rpcgen-objs)): New rule.
17741 ($(objpfx)cross-rpcgen): Likewise.
17742 (rpcgen-cmd): Define to use $(built-program-file). Expand
17744 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17745 ($(objpfx)x%.stmp): Likewise.
17746 * sunrpc/proto.h [IS_IN_build] (_): Define.
17747 [IS_IN_build] (_libc_intl_domainname): Likewise.
17749 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17752 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17753 and R_X86_64_TPOFF64.
17755 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17757 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17758 sysdeps/unix/sysv/syscalls.list.
17761 * sysdeps/unix/sysv/syscalls.list: Remove file.
17763 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17766 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17767 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17768 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17769 (__LC_IDENTIFICATION): Make these macros useful in #if
17770 expressions, as required by C99.
17772 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17774 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17775 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17778 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17780 * stdlib/longlong.h: Updated from GCC.
17782 2012-05-09 Andreas Jaeger <aj@suse.de>
17784 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17785 default is first entry.
17786 (run_mode): Set type.
17787 (main): Remove informal message about syslog.
17788 (options): Fix typo.
17791 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17794 (llrintf): Likewise.
17795 (llrint): Likewise.
17798 (nearbyint): Likewise.
17799 (nearbyintf): Likewise.
17801 2012-05-09 Andreas Jaeger <aj@suse.de>
17802 Pedro Alves <palves@redhat.com>
17804 * nscd/nscd.c (run_mode): Use enum.
17805 (main): Cleanup coding style issue.
17807 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17808 Andreas Jaeger <aj@suse.de>
17810 * nscd/nscd.c (go_background): Replaced with...
17811 (run_mode): ... this.
17812 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17813 (options): Add -F --foreground.
17814 (main): Implement it.
17815 (parse_opt): Parse it.
17817 2012-05-09 Andreas Jaeger <aj@suse.de>
17820 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17821 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17822 -Wconversion warning.
17823 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17826 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17828 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17830 (LC_ALL): Use macro-int-constant.
17831 (LC_COLLATE): Likewise.
17832 (LC_CTYPE): Likewise.
17833 (LC_MESSAGES): Likewise.
17834 (LC_MONETARY): Likewise.
17835 (LC_NUMERIC): Likewise.
17836 (LC_TIME): Likewise.
17837 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17838 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17840 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17842 [C99-based standards] (float_t): Expect type.
17843 [C99-based standards] (double_t): Expect type.
17844 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17846 [C99-based standards] (HUGE_VALL): Likewise.
17847 [C99-based standards] (INFINITY): Likewise.
17848 [C99-based standards] (NAN): Likewise.
17849 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17850 [C99-based standards] (FP_NAN): Likewise.
17851 [C99-based standards] (FP_NORMAL): Likewise.
17852 [C99-based standards] (FP_SUBNORMAL): Likewise.
17853 [C99-based standards] (FP_ZERO): Likewise.
17854 [C99-based standards] (FP_FAST_FMA): Use
17855 optional-macro-int-constant. Specify type. Require == 1.
17856 [C99-based standards] (FP_FAST_FMAF): Likewise.
17857 [C99-based standards] (FP_FAST_FMAL): Likewise.
17858 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17859 [C99-based standards] (FP_ILOGBNAN): Likewise.
17860 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17862 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17863 [C99-based standards] (math_errhandling): Specify type.
17864 [ISO99 || ISO11] (signgam): Do not allow.
17865 [non-C99-based standards] (copysignf): Do not allow.
17866 [non-C99-based standards] (exp2f): Likewise.
17867 [non-C99-based standards] (log2f): Likewise.
17868 [non-C99-based standards] (modff): Allow.
17869 [non-C99-based standards] (erff): Do not allow.
17870 [non-C99-based standards] (erfcf): Likewise.
17871 [non-C99-based standards] (gammaf): Likewise.
17872 [non-C99-based standards] (hypotf): Likewise.
17873 [non-C99-based standards] (j0f): Likewise.
17874 [non-C99-based standards] (j1f): Likewise.
17875 [non-C99-based standards] (jnf): Likewise.
17876 [non-C99-based standards] (lgammaf): Likewise.
17877 [non-C99-based standards] (tgammaf): Likewise.
17878 [non-C99-based standards] (y0f): Likewise.
17879 [non-C99-based standards] (y1f): Likewise.
17880 [non-C99-based standards] (ynf): Likewise.
17881 [non-C99-based standards] (isnanf): Likewise.
17882 [non-C99-based standards] (acoshf): Likewise.
17883 [non-C99-based standards] (asinhf): Likewise.
17884 [non-C99-based standards] (atanhf): Likewise.
17885 [non-C99-based standards] (cbrtf): Likewise.
17886 [non-C99-based standards] (expm1f): Likewise.
17887 [non-C99-based standards] (ilogbf): Likewise.
17888 [non-C99-based standards] (log1pf): Likewise.
17889 [non-C99-based standards] (logbf): Likewise.
17890 [non-C99-based standards] (nextafterf): Likewise.
17891 [non-C99-based standards] (remainderf): Likewise.
17892 [non-C99-based standards] (rintf): Likewise.
17893 [non-C99-based standards] (scalbf): Likewise.
17894 [non-C99-based standards] (copysignl): Likewise.
17895 [non-C99-based standards] (exp2l): Likewise.
17896 [non-C99-based standards] (log2l): Likewise.
17897 [non-C99-based standards] (modfl): Allow.
17898 [non-C99-based standards] (erfl): Do not allow.
17899 [non-C99-based standards] (erfcl): Likewise.
17900 [non-C99-based standards] (gammal): Likewise.
17901 [non-C99-based standards] (hypotl): Likewise.
17902 [non-C99-based standards] (j0l): Likewise.
17903 [non-C99-based standards] (j1l): Likewise.
17904 [non-C99-based standards] (jnl): Likewise.
17905 [non-C99-based standards] (lgammal): Likewise.
17906 [non-C99-based standards] (tgammal): Likewise.
17907 [non-C99-based standards] (y0l): Likewise.
17908 [non-C99-based standards] (y1l): Likewise.
17909 [non-C99-based standards] (ynl): Likewise.
17910 [non-C99-based standards] (isnanl): Likewise.
17911 [non-C99-based standards] (acoshl): Likewise.
17912 [non-C99-based standards] (asinhl): Likewise.
17913 [non-C99-based standards] (atanhl): Likewise.
17914 [non-C99-based standards] (cbrtl): Likewise.
17915 [non-C99-based standards] (expm1l): Likewise.
17916 [non-C99-based standards] (ilogbl): Likewise.
17917 [non-C99-based standards] (log1pl): Likewise.
17918 [non-C99-based standards] (logbl): Likewise.
17919 [non-C99-based standards] (nextafterl): Likewise.
17920 [non-C99-based standards] (remainderl): Likewise.
17921 [non-C99-based standards] (rintl): Likewise.
17922 [non-C99-based standards] (scalbl): Likewise.
17923 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17924 [non-C99-based standards] (FP_*): Do not allow.
17925 [C99-based standards] (FP_*): Change to
17926 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17927 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17929 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17930 (SIG_ERR): Likewise.
17931 [X/Open-based standards] (SIG_HOLD): Likewise.
17932 (SIG_IGN): Likewise.
17933 (SIGABRT): Use macro-int-constant. Specify type. Require
17935 (SIGFPE): Likewise.
17936 (SIGILL): Likewise.
17937 (SIGINT): Likewise.
17938 (SIGSEGV): Likewise.
17939 (SIGTER): Likewise.
17940 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17941 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17942 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17943 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17944 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17945 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17946 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17947 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17948 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17949 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17950 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17951 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17952 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17953 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17954 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17955 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17956 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17957 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17958 [X/Open-based standards] (SIGTRAP): Likewise.
17959 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17960 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17961 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17962 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17963 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17966 2012-05-08 Ian Wienand <ianw@vmware.com>
17969 * time/tzset.c (__tzset_parse_tz): Update default rules for
17970 daylight time changes in the Energy Policy Act of 2005.
17972 2012-05-09 Andreas Jaeger <aj@suse.de>
17975 * elf/ldconfig.c (parse_conf): Change string to make clear that
17976 ldconfig only issued a warning if ld.so.conf does not exist.
17978 2012-05-08 David S. Miller <davem@davemloft.net>
17980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17981 movxtod instead of popping the value on the stack.
17983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17985 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17987 * config.h.in: Add HAVE_ARM_PCS_VFP.
17989 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
17992 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17993 checking but the checks are disabled for any reason.
17995 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17997 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17998 and ELF64_R_TYPE with ELFW(R_TYPE).
18000 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18002 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18003 (ulimit): Likewise.
18005 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18006 (settimeofday): Likewise.
18008 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18010 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18011 a struct th_u2 inside the union, and move tu_block/tu_code into
18012 a new th_u3 union of tu_block/tu_code inside of that. Move
18013 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18014 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18015 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18016 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18017 (th_stuff): Change to th_u1.tu_stuff.
18019 (th_msg): Change to th_u1.th_u2.tu_data.
18021 2012-05-07 David S. Miller <davem@davemloft.net>
18023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18026 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18027 (SETUP_PIC_REG): Use it.
18028 (SETUP_PIC_REG_LEAF): Use it.
18030 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18036 (EXPL_FINITE): Likewise.
18037 (FLDLOG): Likewise.
18038 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18039 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18043 (EXPL_FINITE): Likewise.
18044 (FLDLOG): Likewise.
18045 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18046 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18048 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18049 test of -max_value argument for long double.
18050 * sysdeps/i386/fpu/libm-test-ulps: Update.
18051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053 2012-05-06 David S. Miller <davem@davemloft.net>
18055 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18056 quad soft-float symbols whose references which are compiler
18058 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18060 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18064 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18066 (EXPL_FINITE): Likewise.
18067 (FLDLOG): Likewise.
18070 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18071 Adjust comments for base varying.
18072 (__expl_finite): Change alias to EXPL_FINITE.
18073 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18075 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18076 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18077 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18078 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18079 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18081 (EXPL_FINITE): Likewise.
18082 (FLDLOG): Likewise.
18085 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18086 Adjust comments for base varying.
18087 (__expl_finite): Change alias to EXPL_FINITE.
18088 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18093 * math/libm-test.inc (check_float_internal): Correct ulp
18094 calculation for subnormal expected results.
18096 2012-05-06 Andreas Jaeger <aj@suse.de>
18098 * Makeconfig (+math-flags): New, set to -frounding-math.
18099 (+cflags): Add +math-flags so that all of glibc gets compiled with
18102 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18104 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18106 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18112 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18113 (__ieee754_expl): Allow for and saturate large arguments.
18114 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18115 (u_threshold): Likewise.
18116 (__exp): Call __ieee754_exp before checking for overflow and
18118 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18119 (u_threshold): Likewise.
18120 (__expf): Call __ieee754_expf before checking for overflow and
18122 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18123 (u_threshold): Likewise.
18124 (__expl): Call __ieee754_expl before checking for overflow and
18126 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18127 (__ieee754_expl): Allow for and saturate large arguments.
18128 * math/libm-test.inc (exp_test): Add another test. Do not allow
18129 missing overflow exception on overflow.
18130 (expm1_test): Do not allow missing overflow exception on overflow.
18132 * sysdeps/i386/fpu/e_expl.c: Move to ...
18133 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18134 rather than using inline asm.
18135 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18136 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18137 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18139 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18142 (signal): Likewise.
18146 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18148 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18149 sysdeps/unix/common/syscalls.list.
18150 (fchmod): Likewise.
18151 (fchown): Likewise.
18152 (ftruncate): Likewise.
18153 (getrusage): Likewise.
18154 (gettimeofday): Likewise.
18155 (setpgid): Likewise.
18156 (setregid): Likewise.
18157 (setreuid): Likewise.
18158 (sigaction): Likewise.
18159 (truncate): Likewise.
18160 (vhangup): Likewise.
18161 * sysdeps/unix/common/syscalls.list: Remove file.
18162 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18163 * sysdeps/unix/sysv/linux/Implies: Likewise.
18165 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18167 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18169 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18173 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18176 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18179 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18182 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18185 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18188 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18191 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18195 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18199 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18202 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18206 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18210 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18212 * sysdeps/unix/common/bits/dirent.h: Remove file.
18213 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18215 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18216 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18217 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18218 * sysdeps/unix/bsd/isatty.c: Likewise.
18219 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18220 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18221 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18223 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18227 long double comparison inaccuracies.
18228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18231 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18233 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18236 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18240 nonzero digits before rounding a hex value.
18241 * stdlib/tst-strtod.c (tests): Add another test.
18243 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18245 * sysdeps/s390/fpu/libm-test-ulps: Update.
18247 2012-05-03 Andreas Jaeger <aj@suse.de>
18249 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18250 does not get optimized out.
18251 (malloc_opt_barrier): New.
18253 2012-05-03 Andreas Jaeger <aj@suse.de>
18254 Roland McGrath <roland@hack.frob.com>
18256 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18257 intermediate file deletion.
18258 (generated): Add .symlist files.
18260 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18263 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18264 Redirect under this condition.
18265 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18266 [__USE_GNU] (__dprintf_chk): Not under this condition.
18267 [__USE_GNU] (__vdprintf_chk): Likewise.
18268 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18269 under this condition.
18270 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18271 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18272 [__USE_XOPEN2K8] (vdprintf): Likewise.
18273 [__USE_GNU] (__dprintf_chk): Not under this condition.
18274 [__USE_GNU] (__vdprintf_chk): Likewise.
18275 [__USE_GNU] (dprintf): Likewise.
18276 [__USE_GNU] (vdprintf): Likewise.
18278 2012-05-03 Roland McGrath <roland@hack.frob.com>
18280 * elf/Makefile (common-generated): Set this instead of generated for
18281 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18282 $(all-built-dso)-derived lists.
18284 2012-05-03 Andreas Jaeger <aj@suse.de>
18286 * sysdeps/i386/fpu/libm-test-ulps: Update.
18289 * FAQ.in: Likewise.
18290 * scripts/gen-FAQ.pl: Likewise.
18291 * manual/install.texi (Installation): Point to online location of
18293 * Makefile (files-for-dist): Remove FAQ.
18296 2012-05-02 Allan McRae <allan@archlinux.org>
18298 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18299 (LDFLAGS-reldepmod5.so): Likewise.
18300 (LDFLAGS-reldep6mod1.so): Likewise.
18301 (LDFLAGS-reldep6mod4.so): Likewise.
18302 (LDFLAGS-reldep8mod3.so): Likewise.
18303 (LDFLAGS-unload4mod1.so): Likewise.
18304 (LDFLAGS-unload4mod2.so): Likewise.
18305 (LDFLAGS-tst-initorder): Likewise.
18306 (LDFLAGS-tst-initordera2.so): Likewise.
18307 (LDFLAGS-tst-initordera3.so): Likewise.
18308 (LDFLAGS-tst-initordera4.so): Likewise.
18309 (LDFLAGS-tst-initorderb2.so): Likewise.
18310 (LDFLAGS-noload): Likewise.
18311 (LDFLAGS-next): Likewise.
18312 (LDFLAGS-order2mod1.so): Likewise.
18313 (LDFLAGS-order2mod2.so): Likewise.
18314 (LDFLAGS-tst-initorder2): Likewise.
18315 (LDFLAGS-tst-initorder2a.so): Likewise.
18316 (LDFLAGS-tst-initorder2b.so): Likewise.
18317 (LDFLAGS-tst-initorder2c.so): Likewise.
18318 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18320 2012-05-02 David S. Miller <davem@davemloft.net>
18322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18324 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18327 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18329 2012-05-02 Andreas Jaeger <aj@suse.de>
18331 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18332 since we manipulate rounding mode.
18333 (CPPFLAGS-test-idouble.c): Likewise.
18334 (CPPFLAGS-test-ifloat.c): Likewise.
18335 (CFLAGS-test-ldouble.c): Likewise.
18336 (CFLAGS-test-double.c): Likewise.
18337 (CFLAGS-test-float.c): Likewise.
18338 (CFLAGS-test-misc.c): Likewise.
18339 (CFLAGS-test-test-fenv.c): Likewise.
18341 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18345 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18346 comparisons to determine direction to adjust input.
18348 2012-05-01 Roland McGrath <roland@hack.frob.com>
18350 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18351 output to the target.
18353 * scripts/localplt.awk: New file.
18354 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18355 (check-localplt-CFLAGS): Variable removed.
18356 ($(all-built-dso:=.jmprel)): New static pattern rule.
18357 (generated): Add those targets.
18358 (localplt-built-dso): New variable.
18359 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18361 * elf/check-localplt.c: File removed.
18363 * scripts/check-execstack.awk: New file.
18364 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18365 (check-execstack-CFLAGS): Variable removed.
18366 ($(objpfx)check-execstack.h): Target removed.
18367 ($(objpfx)execstack-default): New target.
18368 (generated): Add that instead of check-execstack.h.
18369 ($(all-built-dso:=.phdr)): New static pattern rule.
18370 (generated): Add those targets.
18371 * elf/check-execstack.c: File removed.
18373 * scripts/check-textrel.awk: New file.
18374 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18375 (check-textrel-CFLAGS): Variable removed.
18376 (all-built-dso): Use := to define.o
18377 ($(all-built-dso:=.dyn)): New static pattern rule.
18378 (generated): Add those targets.
18379 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18380 * config.make.in (READELF): New substituted variable.
18381 * elf/check-textrel.c: File removed.
18383 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18385 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18387 * conform/data/ctype.h-data [C99-based standards] (isblank):
18389 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18390 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18392 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18393 Specify type. Require positive value.
18394 (EILSEQ): Likewise.
18395 (ERANGE): Likewise.
18396 [ISO || POSIX] (EILSEQ): Do not expect.
18397 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18398 Specify type. Require positive value.
18399 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18400 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18401 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18402 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18403 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18404 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18405 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18406 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18407 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18408 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18409 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18410 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18411 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18412 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18413 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18414 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18415 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18416 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18417 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18418 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18419 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18420 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18421 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18422 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18423 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18424 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18425 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18426 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18456 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18457 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18458 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18459 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18460 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18461 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18462 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18463 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18464 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18465 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18466 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18467 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18468 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18469 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18470 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18471 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18472 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18473 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18474 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18475 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18477 (FLT_ROUNDS): Expect as macro, not constant.
18478 (FLT_MANT_DIG): Use macro-int-constant.
18479 (DBL_MANT_DIG): Likewise.
18480 (LDBL_MANT_DIG): Likewise.
18481 (FLT_DIG): Likewise.
18482 (DBL_DIG): Likewise.
18483 (LDBL_DIG): Likewise.
18484 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18485 (DBL_MIN_EXP): Likewise.
18486 (LDBL_MIN_EXP): Likewise.
18487 (FLT_MAX_EXP): Use macro-int-constant.
18488 (DBL_MAX_EXP): Likewise.
18489 (LDBL_MAX_EXP): Likewise.
18490 (FLT_MAX_10_EXP): Likewise.
18491 (DBL_MAX_10_EXP): Likewise.
18492 (LDBL_MAX_10_EXP): Likewise.
18493 (FLT_MAX): Use macro-constant.
18494 (DBL_MAX): Likewise.
18495 (LDBL_MAX): Likewise.
18496 (FLT_EPSILON): Use macro-constant. Give upper bound.
18497 (DBL_EPSILON): Likewise.
18498 (LDBL_EPSILON): Likewise.
18499 (FLT_MIN): Likewise.
18500 (DBL_MIN): Likewise.
18501 (LDBL_MIN): Likewise.
18502 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18503 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18504 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18505 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18506 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18507 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18508 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18509 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18510 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18511 [ISO11] (FLT_TRUE_MIN): Likewise.
18512 [ISO11] (LDBL_TRUE_MIN): Likewise.
18513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18514 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18515 (SCHAR_MIN): Use macro-int-constant. Specify type.
18516 (SCHAR_MAX): Likewise.
18517 (UCHAR_MAX): Likewise.
18518 (CHAR_MIN): Likewise.
18519 (CHAR_MAX): Likewise.
18520 (MB_LEN_MAX): Use macro-int-constant.
18521 (SHRT_MIN): Use macro-int-constant. Specify type.
18522 (SHRT_MAX): Likewise.
18523 (USHRT_MAX): Likewise.
18524 (INT_MAX): Likewise.
18525 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18527 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18529 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18531 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18532 bound negative. Suffix upper bound with "L".
18533 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18535 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18537 [C99-based standards] (LLONG_MAX): Likewise.
18538 [C99-based standards] (ULLONG_MAX): Likewise.
18539 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18541 [ISO11] (max_align_t): Require type.
18542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18544 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18545 from $CFLAGS, without defining away __attribute__ calls.
18546 (checknamespace): Use $CFLAGS_namespace.
18548 * conform/conformtest.pl (@keywords): Only include C99 keywords
18549 for standards based on C99 or C11.
18551 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18553 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18556 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18557 usability of symbols in #if.
18559 * conform/conformtest.pl: If macro or constant types start
18560 "promoted:", expect the symbol to be of the following type
18561 promoted by the integer promotions.
18563 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18564 in one place. Also handle "macro-constant".
18566 * conform/conformtest.pl: Only accept expected macro values with
18567 "==". Parse all "macro" lines in one place.
18568 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18570 * conform/conformtest.pl: Handle braced types on "constant" lines
18571 instead of handling "typed-constant".
18572 * conform/data/signal.h-data: Use "constant" instead of
18575 * conform/conformtest.pl: Handle "optional-" at start of lines in
18576 one place rather than duplicating several cases. Handle each
18577 format of "macro" line with initial "optional-".
18579 * conform/conformtest.pl: Only accept expected constant or
18580 optional-constant values with "==". Parse all "constant" lines in
18581 one place. Parse all "optional-constant" lines in one place.
18582 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18583 * conform/data/fmtmsg.h-data: Likewise.
18584 * conform/data/netinet/in.h-data: Likewise.
18585 * conform/data/tar.h-data: Likewise.
18586 * conform/data/limits.h-data: Use "==" form on "constant" and
18587 "optional-constant" lines.
18589 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18590 Use -std=c99 for XOPEN2K.
18591 (@knownproblems): Remove.
18592 (newtoken): Don't check %isknown.
18594 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18595 Do not expect macro.
18596 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18597 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18598 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18599 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18600 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18601 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18602 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18603 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18604 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18605 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18606 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18607 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18608 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18609 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18610 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18611 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18612 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18613 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18614 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18615 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18616 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18617 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18618 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18619 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18620 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18621 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18622 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18623 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18626 [XPG3] (acosh): Likewise.
18627 [XPG3] (asinh): Likewise.
18628 [XPG3] (atanh): Likewise.
18629 [XPG3] (cbrt): Likewise.
18630 [XPG3] (expm1): Likewise.
18631 [XPG3] (ilogb): Likewise.
18632 [XPG3] (log1p): Likewise.
18633 [XPG3] (logb): Likewise.
18634 [XPG3] (nextafter): Likewise.
18635 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18636 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18637 [XPG3] (remainder): Likewise.
18638 [XPG3] (rint): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18646 [UNIX98 || XOPEN2K] (scalb): Expect.
18647 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18648 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18650 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18651 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18652 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18653 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18654 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18655 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18656 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18657 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18658 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18659 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18660 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18661 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18662 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18663 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18664 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18665 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18666 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18667 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18668 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18669 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18670 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18671 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18672 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18673 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18674 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18675 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18676 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18677 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18678 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18679 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18680 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18681 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18682 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18683 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18684 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18685 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18686 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18687 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18688 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18689 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18690 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18691 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18692 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18693 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18694 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18695 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18696 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18697 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18698 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18699 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18700 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18701 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18702 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18703 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18704 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18705 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18706 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18707 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18719 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18720 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18737 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18738 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18739 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18740 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18741 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18742 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18743 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18744 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18745 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18748 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18749 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18757 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18758 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18759 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18768 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18769 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18770 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18771 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18772 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18773 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18774 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18775 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18776 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18777 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18778 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18779 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18780 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18781 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18782 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18783 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18785 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18786 _XOPEN_SOURCE_EXTENDED for XPG4.
18788 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18790 * Makeconfig (localtime): Remove variable.
18791 (inst_localtime-file): Likewise.
18793 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18814 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18818 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18819 comparisons to determine direction to adjust input.
18820 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18821 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18822 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18828 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18829 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18831 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18833 * math/libm-test.inc (nexttoward_test): Add more tests.
18835 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18839 in version GLIBC_2.1, not GLIBC_2.0.
18840 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18843 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18846 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18848 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18849 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18850 * math/libm-test.inc (acos_test): Add more tests.
18851 (asin_test): Likewise.
18852 * sysdeps/i386/fpu/libm-test-ulps: Update.
18853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18858 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18859 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18860 * math/libm-test.inc (acos_test_tonearest): New function.
18861 (acos_test_towardzero): Likewise.
18862 (acos_test_downward): Likewise.
18863 (acos_test_upward): Likewise.
18864 (asin_test_tonearest): Likewise.
18865 (asin_test_towardzero): Likewise.
18866 (asin_test_downward): Likewise.
18867 (asin_test_upward): Likewise.
18868 (main): Call the new functions.
18869 * sysdeps/i386/fpu/libm-test-ulps: Update.
18870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18874 * math/e_exp10.c: Include <float.h>.
18875 (__ieee754_exp10): Handle underflow here rather than multiplying
18876 large negative argument by M_LN10.
18877 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18879 * math/e_exp10l.c: Include <float.h>.
18880 (__ieee754_exp10l): Handle underflow here rather than multiplying
18881 large negative argument by M_LN10l.
18882 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18883 spurious overflow exception on underflow.
18885 2012-04-29 Marek Polacek <polacek@redhat.com>
18887 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18888 (__fortify_function): New macro.
18889 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18890 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18891 __extern_always_inline.
18892 * libio/bits/stdio2.h: Likewise.
18893 * libio/bits/stdio.h: Likewise.
18894 * string/string.h: Likewise.
18895 * string/bits/string3.h: Likewise.
18896 * include/stdio.h: Likewise.
18897 * stdlib/bits/stdlib.h: Likewise.
18898 * stdlib/stdlib.h: Likewise.
18899 * rt/bits/mqueue2.h: Likewise.
18900 * rt/mqueue.h: Likewise.
18901 * posix/bits/unistd.h: Likewise.
18902 * posix/unistd.h: Likewise.
18903 * io/bits/poll2.h: Likewise.
18904 * io/bits/fcntl2.h: Likewise.
18905 * io/fcntl.h: Likewise.
18906 * io/sys/poll.h: Likewise.
18907 * misc/bits/syslog.h: Likewise.
18908 * misc/bits/syslog-ldbl.h: Likewise.
18909 * misc/sys/syslog.h: Likewise.
18910 * socket/bits/socket2.h: Likewise.
18911 * socket/sys/socket.h: Likewise.
18912 * debug/tst-chk1.c: Likewise.
18913 * wcsmbs/bits/wchar2.h: Likewise.
18914 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18915 * wcsmbs/wchar.h: Likewise.
18917 2012-04-29 Andreas Jaeger <aj@suse.de>
18919 * Makerules (tests): Remove enable-check-abi protection.
18920 (check-abi-warn): Remove.
18921 (check-abi-%): Remove check-abi-warn usage.
18923 * configure.in: Remove check-abi configure option.
18924 * configure: Regenerated.
18925 * config.make.in (enable-check-abi): Remove.
18927 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18930 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18931 double functions to double *_finite functions.
18934 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18935 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18937 * stdio-common/Makefile (tests): Add tst-sprintf3.
18938 * stdio-common/tst-sprintf3.c: New file.
18940 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18941 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18943 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18945 * conform/conformtest.pl: Remove duplicate typed-constant
18948 2012-04-28 David S. Miller <davem@davemloft.net>
18950 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18951 (check-abi-%): Remove AWK script prerequisite and explicit
18953 (check-abi): Rewrite to just diff the symlist with the abilist.
18954 (config-tls, config-abi-config): Delete, no longer used.
18955 (update-abi-%): Remove AWK script and explicit abilist directory.
18956 (update-abi): Rewrite to simply compare and conditionally copy the
18957 symlist and the sysdep abilist file. Remove update-abi-config
18959 * abilist/ld.abilist: Remove.
18960 * abilist/libBrokenLocale.abilist: Remove.
18961 * abilist/libanl.abilist: Remove.
18962 * abilist/libcrypt.abilist: Remove.
18963 * abilist/libdl.abilist: Remove.
18964 * abilist/librt.abilist: Remove.
18965 * abilist/libthread_db.abilist: Remove.
18966 * abilist/libutil.abilist: Remove.
18967 * scripts/extract-abilist.awk: Remove.
18968 * scripts/merge-abilist.awk: Remove.
18969 * sysdeps/generic/libcidn.abilist: New file.
18970 * sysdeps/generic/libnss_compat.abilist: New file.
18971 * sysdeps/generic/libnss_db.abilist: New file.
18972 * sysdeps/generic/libnss_dns.abilist: New file.
18973 * sysdeps/generic/libnss_files.abilist: New file.
18974 * sysdeps/generic/libnss_hesiod.abilist: New file.
18975 * sysdeps/generic/libnss_nis.abilist: New file.
18976 * sysdeps/generic/libnss_nisplus.abilist: New file.
18977 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18978 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18979 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18982 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18983 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18984 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18985 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18986 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18987 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18988 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18989 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18991 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18992 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18993 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18994 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18996 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18997 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18998 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18999 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19000 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19001 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19003 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19004 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19005 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19007 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19110 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19111 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19112 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19115 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19116 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19117 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19118 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19119 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19120 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19121 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19122 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19123 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19175 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19177 * conform/conformtest.pl: Fix typo in handling typed-constant from
19180 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19182 * README: Cut down references to pre-2.6 Linux kernels and
19183 Linuxthreads. Update lists of configurations in libc and ports
19184 and sort alphabetically. Say "or newer" with Linux kernel version
19187 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19189 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19192 * math/libm-test.inc (logb_test_downward): New test to expose
19193 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19196 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19199 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19201 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19202 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19204 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19206 * sysdeps/unix/i386/brk.S: Remove file.
19207 * sysdeps/unix/i386/dl-brk.S: Likewise.
19208 * sysdeps/unix/i386/pipe.S: Likewise.
19209 * sysdeps/unix/i386/sigreturn.S: Likewise.
19210 * sysdeps/unix/i386/syscall.S: Likewise.
19211 * sysdeps/unix/i386/vfork.S: Likewise.
19212 * sysdeps/unix/i386/wait.S: Likewise.
19214 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19215 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19217 * configure.in (arm*-none*): Do not allow without
19218 --enable-hacker-mode.
19219 (netbsd*): Remove case setting base_os.
19220 (386bsd*): Likewise.
19221 (freebsd*): Likewise.
19224 (sunos*): Likewise.
19225 (ultrix*): Likewise.
19226 (newsos*): Likewise.
19227 (dynix*): Likewise.
19233 (minix*): Likewise.
19234 (irix4*): Likewise.
19235 (irix6*): Likewise.
19236 (solaris[2-9]*): Likewise.
19238 * configure: Regenerated.
19240 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19244 overflow or cancellation in calculating denominator.
19245 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19247 down expression to avoid unexpected rounding in newer GCCs.
19248 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19250 2012-04-26 David S. Miller <davem@davemloft.net>
19252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19253 long-double compat symbols.
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19268 2012-04-25 David S. Miller <davem@davemloft.net>
19270 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19271 HWCAP_* values only after the memory barriers have been defined.
19272 (atomic_full_barrier): Define.
19273 (atomic_read_barrier): Define.
19274 (atomic_write_barrier): Define.
19276 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19278 * shlib-versions: Add libgcc_s version information.
19279 * sysdeps/generic/libgcc_s.h: Remove.
19280 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19282 * sysdeps/gnu/unwind-resume.c: Likewise.
19283 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19285 2012-04-25 David S. Miller <davem@davemloft.net>
19287 * sysdeps/unix/sparc/brk.S: Delete.
19288 * sysdeps/unix/sparc/dl-brk.S: Delete.
19289 * sysdeps/unix/sparc/pipe.S: Delete.
19290 * sysdeps/unix/sparc/sysdep.S: Delete.
19291 * sysdeps/unix/sparc/sysdep.h: Delete.
19292 * sysdeps/unix/sparc/vfork.S: Delete.
19293 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19294 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19296 ret_ERRVAL, r0, r1, MOVE): Define.
19297 (JUMPTARGET): Remove.
19298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19299 sysdeps/unix/sparc/sysdep.h
19300 (ENTRY, END): Remove.
19301 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19303 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19305 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19306 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19309 * timezone/README: Update upstream location and email address for
19311 * timezone/zdump.c: Update from tzcode 2012b.
19312 * timezone/zic.c: Likewise.
19314 * configure.in (libc_cv_as_needed): Remove test.
19315 * configure: Regenerated.
19316 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19317 conditional definition.
19318 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19319 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19320 * config.make.in (have-as-needed): Remove variable.
19322 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19323 Paul Pluzhnikov <ppluzhnikov@google.com>
19325 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19328 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19330 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19331 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19332 * sysdeps/sh/strlen.S: Likewise.
19334 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19336 * sysdeps/unix/fork.S: Remove file.
19337 * sysdeps/unix/i386/fork.S: Likewise.
19338 * sysdeps/unix/sparc/fork.S: Likewise.
19340 * sysdeps/unix/system.c: Remove file.
19341 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19343 * sysdeps/unix/getegid.S: Remove file.
19344 * sysdeps/unix/geteuid.S: Likewise.
19346 2012-04-24 Roland McGrath <roland@hack.frob.com>
19348 * scripts/check-localplt.awk: New file.
19349 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19351 * scripts/data/localplt-generic.data: Add a comment.
19353 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19354 NODE when __dir_mkfile failed.
19355 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19356 Reported by Ludovic Courtès <ludo@gnu.org>.
19358 2012-04-24 Andreas Jaeger <aj@suse.de>
19360 * Makerules (common-clean): Also remove gen-as-const-headers
19363 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19365 * Makerules (native-compile): Do not change working directory for
19366 build. Use $(OUTPUT_OPTION) in command.
19367 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19369 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19372 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19373 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19374 * math/libm-test.inc (floor_test): Add more tests.
19375 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19377 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19379 * sysdeps/unix/getdents.c: Remove file.
19380 * sysdeps/unix/sysv/getdents.c: Likewise.
19381 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19383 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19384 sysdeps/unix/mman/syscalls.list.
19386 (mprotect): Likewise.
19388 (munmap): Likewise.
19389 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19390 * sysdeps/unix/mman/syscalls.list: Remove.
19391 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19393 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19394 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19395 * configure: Regenerated.
19396 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19397 $(libgcc_s_suffix).
19398 * config.make.in (libgcc_s_suffix): Remove variable.
19400 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19402 * sysdeps/unix/sysv/gethostname.c: Move to ...
19403 * sysdeps/posix/gethostname.c: ... here.
19405 * sysdeps/unix/execve.S: Remove file.
19407 * sysdeps/unix/_exit.S: Remove file.
19409 2012-04-23 Andreas Jaeger <aj@suse.de>
19412 * manual/Makefile: Remove make dist support, there's no
19413 need for a stand-alone documentation tar ball.
19414 (TEXI2DVI): Define always, it's not in Makeconfig.
19417 (edition): Removed.
19418 (glibc-doc-$(edition).tar): Removed
19422 (ETAGS): Remove, it's in Makeconfig.
19423 (move-if-change): Remove, it's in Makeconfig.
19425 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19428 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19429 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19430 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19431 (strtod_l, strtof_l, strtold_l): Remove __wur.
19432 It is not necessarily an error to ignore strtol's return value.
19433 One can reliably look at the stored endptr to decide whether
19434 the number had valid syntax.
19436 2012-04-21 Andreas Jaeger <aj@suse.de>
19439 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19441 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19443 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19444 * sysdeps/unix/sysv/Versions: Remove file.
19446 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19451 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19455 version from __vm86.
19457 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19459 * sysdeps/unix/common/lxstat.c: Remove file.
19460 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19462 * sysdeps/unix/sysv/Makefile: Remove file.
19464 * sysdeps/unix/sysv/direct.h: Remove file.
19466 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19467 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19468 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19469 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19470 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19471 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19472 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19474 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19476 * sysdeps/unix/xmknod.c: Remove file.
19477 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19479 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19481 * sysdeps/unix/sysv/i386/time.S: Remove file.
19483 * sysdeps/unix/fxstat.c: Remove file.
19484 * sysdeps/unix/xstat.c: Likewise.
19485 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19487 * sysdeps/unix/sysv/sigaction.c: Remove file.
19489 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19490 (sysdep_headers): Remove variable.
19491 [termio.h not in sysdep_headers] (generated): Likewise.
19492 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19493 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19494 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19495 * sysdeps/unix/sysv/tcflow.c: Likewise.
19496 * sysdeps/unix/sysv/tcflush.c: Likewise.
19497 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19498 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19499 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19500 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19501 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19503 * sysdeps/unix/siglist.c: Remove file.
19505 * sysdeps/unix/getppid.S: Remove file.
19507 * sysdeps/unix/mkdir.c: Remove file.
19508 * sysdeps/unix/rmdir.c: Likewise.
19510 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19512 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19514 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19515 errlist-compat value.
19517 2012-04-18 David S. Miller <davem@davemloft.net>
19519 * sysdeps/generic/memcopy.h (reg_char): Delete.
19520 * debug/strcat_chk.c: Use char, not reg_char.
19521 * debug/strcpy_chk.c: Likewise.
19522 * debug/strncat_chk.c: Likewise.
19523 * debug/strncpy_chk.c: Likewise.
19524 * string/memchr.c: Likewise.
19525 * string/memrchr.c: Likewise.
19526 * string/rawmemchr.c: Likewise.
19527 * string/strcat.c: Likewise.
19528 * string/strchr.c: Likewise.
19529 * string/strchrnul.c: Likewise.
19530 * string/strcmp.c: Likewise.
19531 * string/strcpy.c: Likewise.
19532 * string/strncat.c: Likewise.
19533 * string/strncmp.c: Likewise.
19534 * string/strncpy.c: Likewise.
19536 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19538 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19539 __builtin_memcopy is called when src and dest ranges are known to not
19542 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19544 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19545 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19546 fwd_align_merge macro call.
19547 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19548 bwd_align_merge macro call.
19549 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19551 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19553 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19554 bwd_align_merge macros.
19555 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19556 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19557 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19559 2012-04-18 David S. Miller <davem@davemloft.net>
19561 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19563 2012-04-18 Andreas Jaeger <aj@suse.de>
19566 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19567 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19570 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19571 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19572 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19574 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19575 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19576 Adjust for changed ldbl-128 files.
19578 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19579 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19580 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19582 2012-04-17 David S. Miller <davem@davemloft.net>
19584 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19586 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19588 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19589 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19590 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19591 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19592 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19593 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19595 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19598 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19599 * math/libm-test.inc: Add ilogb errno and exception tests.
19600 * math/w_ilogb.c: New file: ilogb wrapper.
19601 * math/w_ilogbf.c: New file: ilogbf wrapper.
19602 * math/w_ilogbl.c: New file: ilogbl wrapper.
19603 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19604 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19605 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19606 exception being thrown with 0.0 as argument.
19607 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19608 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19609 exception being thrown with 0.0 as argument.
19610 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19611 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19612 exception being thrown with 0.0 as argument.
19613 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19614 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19615 exception being thrown with 0.0 as argument.
19616 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19617 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19618 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19619 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19620 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19621 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19622 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19623 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19624 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19626 2012-04-17 Petr Baudis <pasky@ucw.cz>
19628 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19631 2012-04-16 Marek Polacek <polacek@redhat.com>
19633 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19635 2012-04-16 Marek Polacek <polacek@redhat.com>
19637 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19638 operands of fdivp instruction.
19640 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19642 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19643 * elf/tst-auditmod3b.c: Likewise.
19644 * elf/tst-auditmod4b.c: Likewise.
19645 * elf/tst-auditmod5b.c: Likewise.
19646 * elf/tst-auditmod6b.c: Likewise.
19647 * elf/tst-auditmod6c.c: Likewise.
19648 * elf/tst-auditmod7b.c: Likewise.
19649 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19650 * sysdeps/x86_64/preconfigure.in: Likewise.
19651 * sysdeps/x86_64/preconfigure: Regenerated.
19653 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19655 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19658 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19661 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19663 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19666 * locale/iso-639.def: Fix gl language name. Spotted by
19669 2012-04-12 Roland McGrath <roland@hack.frob.com>
19672 * libio/libio.h (__io_write_fn): Update comment.
19674 2012-04-12 Petr Baudis <pasky@ucw.cz>
19677 * stdio.texi (Hook Functions): The user provided writer function
19678 is not allowed to return -1.
19680 2012-04-11 David S. Miller <davem@davemloft.net>
19682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19684 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19686 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19687 Add a leading slash to rtkaio.
19689 2012-04-11 Jim Meyering <meyering@redhat.com>
19692 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19693 It is not necessarily an error to ignore fwrite's return
19694 value. One can reliably use ferror to test for errors after
19697 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19699 * bits/types.h (__snseconds_t): New type.
19700 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19702 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19704 (__SNSECONDS_T_TYPE): Likewise.
19705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19706 (__SNSECONDS_T_TYPE): Likewise.
19707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19708 (__SNSECONDS_T_TYPE): Likewise.
19710 2012-04-10 Andreas Jaeger <aj@suse.de>
19713 * manual/time.texi (Processor Time): Return type of times is
19714 elapsed real time since an arbitrary point in the past.
19715 (CPU Time): Move CLK_TCK from here...
19716 (Processor Time): ...to here. Correct description.
19717 * manual/conf.texi (Constants for Sysconf): Correct description of
19720 2012-04-10 David S. Miller <davem@davemloft.net>
19723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19724 where the is a gap between DT_REL(A) and DT_JMPREL.
19726 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19728 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19729 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19730 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19732 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19734 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19735 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19736 (dl_main): Handle --inhibit-cache.
19737 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19739 * elf/dl-load.c (_dl_map_object): Use it.
19740 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19742 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19745 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19746 (__ieee754_powl): Saturate large exponents rather than testing for
19747 overflow of y*log2(x).
19748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19749 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19753 * math/s_ctan.c: Include <float.h>.
19754 (__ctan): Avoid internal overflow or cancellation in calculating
19756 * math/s_ctanf.c: Likewise.
19757 * math/s_ctanl.c: Likewise.
19758 * math/s_ctanh.c: Likewise.
19759 * math/s_ctanhf.c: Likewise.
19760 * math/s_ctanhl.c: Likewise.
19761 * math/libm-test.inc (ctan_test): Add more tests.
19762 (ctanh_test): Likewise.
19763 * sysdeps/i386/fpu/libm-test-ulps: Update.
19764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19766 2012-04-09 Andreas Jaeger <aj@suse.de>
19769 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19770 is an optional BSD extension.
19773 * manual/stdio.texi (Opening Streams): Document additional fopen
19776 2012-04-09 Roland McGrath <roland@hack.frob.com>
19778 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19779 %eax without telling the compiler.
19781 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19784 * manual/install.texi: Use sourceware.org.
19786 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19789 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19790 (__ieee754_pow): Generate overflow and underflow using huge*huge
19791 and tiny*tiny rather than just returning constant infinity or zero
19792 for large exponents.
19793 * math/libm-test.inc (pow_test): Require overflow exceptions for
19794 applicable cases of large exponents.
19797 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19798 (__ieee754_pow): Use iterative multiplication algorithm only for
19799 integer exponents with absolute value below 1024. Check for odd
19800 integer exponents when using algorithm for real exponents.
19801 * math/libm-test.inc (pow_test): Add more tests.
19802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19804 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19807 * math/libm-test.inc (exp_test): Do not allow overflow exception
19810 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19813 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19814 instead of __kernel_standard_f.
19816 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19818 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19819 * sysdeps/x86_64/memset_chk.S: Likewise.
19821 2012-04-08 Andreas Jaeger <aj@suse.de>
19824 * manual/startup.texi (Environment Access): Describe return value
19825 for putenv and setenv.
19828 * manual/filesys.texi (Directory Entries): Add description for
19832 * manual/filesys.texi (Directory Entries): Clarify that it's file
19833 system not operating system in the description of DT_UNKNOWN.
19836 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19838 2012-04-08 Stephen Compall <s11@member.fsf.org>
19841 * manual/llio.texi (Opening and Closing Files): Add cross
19842 reference to explain mode argument.
19844 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19846 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19847 * sysdeps/x86_64/memset_chk.S: Likewise.
19849 2012-04-07 David S. Miller <davem@davemloft.net>
19851 * elf/elf.h (R_SPARC_WDISP10): Define.
19852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19855 R_SPARC_SIZE64 and R_SPARC_H34.
19857 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19860 conditions and remove no longer applicable assertion.
19862 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19864 * bits/byteswap.h: Include <features.h>.
19865 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19866 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19868 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19870 * bits/byteswap.h (__bswap_16): Removed.
19871 Include <bits/byteswap-16.h> to get __bswap_16.
19872 * sysdeps/i386/bits/byteswap.h: Likewise.
19873 * sysdeps/s390/bits/byteswap.h: Likewise.
19874 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19875 * bits/byteswap-16.h: New file.
19876 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19877 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19878 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19879 * string/Makefile (headers): Add bits/byteswap-16.h.
19881 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19884 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19886 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19887 * nss/tst-nss-static.c: New.
19889 2012-04-06 Robert Millan <rmh@gnu.org>
19892 * manual/llio.texi (File Position Primitive): lseek
19893 refers to WHENCE when it really means OFFSET.
19895 2012-04-06 Andreas Jaeger <aj@suse.de>
19897 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19898 strncmp declarations.
19900 * abilist/libc.abilist: Add __poll and __ppoll.
19902 2012-04-05 David S. Miller <davem@davemloft.net>
19904 * scripts/check-local-headers.sh: Accept a host triplet in the
19905 path matched by the exclude regexp.
19907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19909 * sysdeps/powerpc/powerpc32/dl-machine.h
19910 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19911 * sysdeps/s390/s390-32/dl-machine.h
19912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19913 * sysdeps/sparc/sparc32/dl-machine.h
19914 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19915 * sysdeps/sparc/sparc64/dl-machine.h
19916 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19918 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19920 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19921 undefined symbol errors.
19923 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19926 2012-04-05 Michael Matz <matz@suse.de>
19929 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19931 2012-04-05 Andreas Jaeger <aj@suse.de>
19934 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19937 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19939 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19940 which ROUND is no valid rounding mode.
19942 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19944 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19946 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19950 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19951 an exception using FPU order intentionally.
19953 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19955 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19956 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19957 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19958 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19960 2012-04-05 Simon Josefsson <simon@josefsson.org>
19963 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19964 EINVAL when BUFLEN is too smal.
19966 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19969 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19970 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19972 2012-04-03 Andreas Jaeger <aj@suse.de>
19975 * manual/setjmp.texi (System V contexts): Fix sentence.
19978 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19979 New macro for this case.
19980 [!__GNUC__] (__bswap_64): New inline function for this case.
19981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19982 * bits/byteswap.h: Likewise.
19983 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19984 ull, guard with __GLIBC_HAVE_LONG_LONG.
19986 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19987 __GLIBC_HAVE_LONG_LONG.
19989 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19990 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19992 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19995 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19996 inptr and inend, rather than using last_ch.
19998 2012-04-02 David S. Miller <davem@davemloft.net>
20000 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20001 * stdio-common/printf-parse.h (read_int): Change return type to
20002 'int', return -1 on INT_MAX overflow.
20003 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20004 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20005 overflows INT_MAX. Check for overflow of in-format-string precision
20006 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20007 SIZE_MAX not INT_MAX for integer overflow test.
20008 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20009 skip the construct in the format string but do not record anything.
20010 * stdio-common/bug22.c: Adjust to test both width/prevision
20011 INT_MAX overflow as well as total length INT_MAX overflow. Check
20012 explicitly for proper errno values.
20014 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20016 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20018 * string/test-strcmp.c [! WIDE]: Likewise.
20019 * time/tst-mktime2.c: Likewise for INT_MAX.
20020 * string/test-string.h: #include <sys/param.h> for MIN.
20022 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20023 * sysdeps/i386/init-first.c (init): Likewise.
20024 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20025 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20026 * sysdeps/sh/init-first.c (init): Likewise.
20028 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20030 * po/ru.po: Update from translation team.
20031 * po/vi.po: Likewise.
20033 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20035 * resolv/nss_dns/dns-host.c: Merge copyright years.
20037 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20040 Optimize memcpy with prefetch if
20041 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20042 src, dst pointers have unequal 16 byte alignments.
20044 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20047 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20048 from a CNAME entry and return the minimum ttl for the query.
20049 (gaih_getanswer_slice): Likewise.
20051 2012-03-30 Jeff Law <law@redhat.com>
20053 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20055 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20056 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20058 * resolv/nss_dns/dns-host.c: Update copyright year.
20060 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20062 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20063 requests to save a system call. Fix check that all bytes are sent.
20065 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20066 comments for sendmmsg.
20068 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20071 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20072 with only 1 character between 0x0041 and 0x01b0.
20073 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20074 * wcsmbs/tst-mbsnrtowcs.c: New file.
20076 2012-03-29 David S. Miller <davem@davemloft.net>
20078 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20079 small copies by hand.
20081 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20084 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20085 _nss_compat_initgroups_dyn): Fall back to malloc/free
20086 for large group memberships.
20088 2012-03-28 David S. Miller <davem@davemloft.net>
20090 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20091 that branches into memcpy.
20092 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20093 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20095 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20098 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20099 implementation too.
20100 * sysdeps/sparc/mempcpy.S: New file.
20102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20103 the IFUNC routine in the libc case.
20104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20106 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20107 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20108 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20109 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20110 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20111 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20112 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20113 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20115 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20116 loop to 256 bytes instead of 64 bytes and fix test signedness.
20118 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20119 * sysdeps/sparc/sparc32/Makefile: rather than here...
20120 * sysdeps/sparc/sparc64/Makefile: and here.
20122 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20124 * malloc/mallocbug.c: Avoid warnings about unused variables.
20126 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20129 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20130 in the right place. Discard and retry query if response is
20131 larger than input buffer size.
20133 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20138 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20139 x for large integer exponent.
20140 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20141 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20142 sign of result as needed afterwards.
20143 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20144 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20145 result for underflowing pow the same as for overflow.
20146 (__kernel_standard_l): Handle powl overflow and underflow here
20147 rather than calling __kernel_standard.
20148 * math/libm-test.inc (pow_test): Add more tests.
20163 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20164 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20165 (__kernel_standard_l): New function.
20166 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20168 * math/w_acosl.c (__acosl): Likewise.
20169 * math/w_asinl.c (__asinl): Likewise.
20170 * math/w_atan2l.c (__atan2l): Likewise.
20171 * math/w_atanhl.c (__atanhl): Likewise.
20172 * math/w_coshl.c (__coshl): Likewise.
20173 * math/w_exp10l.c (__exp10l): Likewise.
20174 * math/w_exp2l.c (__exp2l): Likewise.
20175 * math/w_fmodl.c (__fmodl): Likewise.
20176 * math/w_hypotl.c (__hypotl): Likewise.
20177 * math/w_j0l.c (__j0l, __y0l): Likewise.
20178 * math/w_j1l.c (__j1l, __y1l): Likewise.
20179 * math/w_jnl.c (__jnl, __ynl): Likewise.
20180 * math/w_lgammal.c (__lgammal): Likewise.
20181 * math/w_log10l.c (__log10l): Likewise.
20182 * math/w_log2l.c (__log2l): Likewise.
20183 * math/w_logl.c (__logl): Likewise.
20184 * math/w_powl.c (__powl): Likewise.
20185 * math/w_remainderl.c (__remainderl): Likewise.
20186 * math/w_scalbl.c (sysv_scalbl): Likewise.
20187 * math/w_sinhl.c (__sinhl): Likewise.
20188 * math/w_sqrtl.c (__sqrtl): Likewise.
20189 * math/w_tgammal.c (__tgammal): Likewise.
20190 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20191 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20192 * math/libm-test.inc (acos_test): Add more tests.
20193 (acosh_test): Likewise.
20194 (asin_test): Likewise.
20195 (atanh_test): Likewise.
20196 (exp_test): Likewise.
20197 (exp10_test): Likewise.
20198 (exp2_test): Likewise.
20199 (expm1_test): Likewise.
20200 (lgamma_test): Likewise.
20201 (log_test): Likewise.
20202 (log10_test): Likewise.
20203 (log1p_test): Likewise.
20204 (log2_test): Likewise.
20205 (pow_test): Do not allow some spurious overflow exceptions.
20206 (sqrt_test): Add more tests.
20207 (tgamma_test): Likewise.
20208 (y0_test): Likewise.
20209 (y1_test): Likewise.
20210 (yn_test): Likewise.
20212 2012-03-27 Anton Blanchard <anton@samba.org>
20214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20216 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20217 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20220 2012-03-27 David S. Miller <davem@davemloft.net>
20222 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20224 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20225 have-as-vis3 check.
20227 2012-03-27 Andreas Jaeger <aj@suse.de>
20229 * sysdeps/x86_64/elf/configure.in: Moved to ...
20230 * sysdeps/x86_64/configure.in: ... here.
20231 * sysdeps/x86_64/elf/start.S: Moved to ...
20232 * sysdeps/x86_64/start.S: ... here.
20233 * sysdeps/x86_64/elf/configure: Delete.
20235 * sysdeps/x86_64/configure.in: Merge contents from
20236 sysdeps/i386/configure.in (without i686 check).
20238 * sysdeps/i386/elf/Versions: Merge into ...
20239 * sysdeps/i386/Versions: ... this.
20240 * sysdeps/i386/elf/Versions: Delete file.
20241 * sysdeps/i386/elf/start.S: Moved to ...
20242 * sysdeps/i386/start.S: ...here.
20243 * sysdeps/i386/elf/configure.in: Merge into...
20244 * sysdeps/i386/configure.in: ...here.
20245 * sysdeps/i386/elf/configure.in: Delete file.
20246 * sysdeps/i386/elf/configure: Delete file.
20248 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20249 * debug/backtracesyms.c: ... here.
20250 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20251 * debug/backtracesymsfd.c: ... here.
20252 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20253 * sysdeps/generic/ifunc-sel.h: ... here.
20255 * sysdeps/unix/i386/start.c: Delete file.
20256 * sysdeps/unix/sparc/start.c: Delete file.
20257 * sysdeps/unix/start.c: Delete file.
20259 * sysdeps/sh/elf/configure.in: Moved to ...
20260 * sysdeps/sh/configure.in: ... here.
20261 * sysdeps/sh/elf/start.S: Moved to ...
20262 * sysdeps/sh/start.S: ... here.
20263 * sysdeps/sh/elf/configure: Delete file.
20265 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20266 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20267 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20268 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20269 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20270 * sysdeps/powerpc/powerpc64/start.S: here.
20271 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20272 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20273 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20274 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20275 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20277 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20278 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20279 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20280 * sysdeps/powerpc/powerpc32/start.S: ... here.
20281 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20282 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20283 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20285 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20286 * sysdeps/powerpc/ifunc-sel.h: ... here.
20287 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20288 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20290 * sysdeps/sparc/elf/configure.in: Moved to ...
20291 * sysdeps/sparc/configure.in: ... here.
20292 * sysdeps/sparc/elf/configure: Delete file.
20293 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20294 * sysdeps/sparc/sparc32/start.S: ... here.
20295 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20296 * sysdeps/sparc/sparc64/start.S: ... here.
20297 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20298 * sysdeps/sparc/sparc32/Makefile: ... this.
20299 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20300 * sysdeps/sparc/sparc64/Makefile: ... this.
20302 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20303 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20304 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20305 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20306 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20307 * sysdeps/s390/s390-32/setjmp.S: ... here.
20308 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20309 * sysdeps/s390/s390-32/configure.in: ... here.
20310 * sysdeps/s390/s390-32/elf/configure: Delete file.
20311 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20312 * sysdeps/s390/s390-32/start.S: ... here.
20314 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20315 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20316 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20317 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20318 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20319 * sysdeps/s390/s390-64/setjmp.S: ... here.
20320 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20321 * sysdeps/s390/s390-64/configure.in: ... here
20322 * sysdeps/s390/s390-64/elf/configure: Delete file.
20323 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20324 * sysdeps/s390/s390-64/start.S: ... here.
20325 * sysdeps/s390/s390-64/elf/configure: Delete.
20327 * configure.in: Remove support for elf directories in sysdeps.
20329 * configure: Regenerated.
20330 * sysdeps/i386/configure: Regenerated.
20331 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20332 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20333 * sysdeps/s390/s390-32/configure: Regenerated.
20334 * sysdeps/s390/s390-64/configure: Regenerated.
20335 * sysdeps/sh/configure: Regenerated.
20336 * sysdeps/sparc/configure: Regenerated.
20337 * sysdeps/x86_64/configure: Regenerated.
20339 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20344 denormal result into account.
20346 2012-03-25 Roland McGrath <roland@hack.frob.com>
20348 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20349 Reported by Allan McRae <allan@archlinux.org>.
20351 2012-03-23 Jeff Law <law@redhat.com>
20353 * nss/getnssent.c (__nss_getent): Fix typo.
20355 2012-03-23 David S. Miller <davem@davemloft.net>
20357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20359 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20361 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20362 to pad to uint64_t for each field.
20363 (dl_tls_index): Replace unsigned long with uint64_t.
20365 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20366 Paul Pluzhnikov <ppluzhnikov@google.com>
20369 * grp/Makefile (otherlibs): Don't set it.
20370 * inet/Makefile (otherlibs): Likewise.
20371 * login/Makefile (otherlibs): Likewise.
20372 * nscd/Makefile (otherlibs): Likewise.
20373 * posix/Makefile (otherlibs): Likewise.
20374 * pwd/Makefile (otherlibs): Likewise.
20375 * rt/Makefile (otherlibs): Likewise.
20376 * sunrpc/Makefile (otherlibs): Likewise.
20377 * nss/Makefile (otherlibs): Likewise.
20378 Add libnss_files to routines and static-only-routines.
20379 ($(objpfx)getent): Remove rule.
20380 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20381 static-only-routines.
20383 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20386 * math/s_cexp.c: Include <float.h>.
20387 (__cexp): Handle exp result overflowing not necessarily
20388 overflowing both real and imaginary parts of result.
20389 * math/s_cexpf.c: Likewise.
20390 * math/s_cexpl.c: Likewise.
20391 * math/libm-test.inc (cexp_test): Add more tests.
20392 * sysdeps/i386/fpu/libm-test-ulps: Update.
20393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20395 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20397 * include/link.h (ELFW): New macro.
20398 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20399 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20401 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20403 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20406 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20408 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20410 (struct La_x32_retval): Likewise.
20412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20414 * sysdeps/x86_64/preconfigure.in: New file.
20415 * sysdeps/x86_64/preconfigure: New generated file.
20417 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20420 * math/e_exp2l.c: Include <float.h>.
20421 (__ieee754_exp2l): Handle overflow and underflow cases
20422 separately. Only pass fractional part of argument to
20424 * math/libm-test.inc (exp2_test): Add more tests.
20426 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20427 negating x to take absolute value.
20428 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20430 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20433 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20434 computing low part if x was negated.
20435 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20437 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20439 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20440 la_x32_gnu_pltexit.
20441 (pltexit): Cast int_retval to ptrdiff_t.
20442 * elf/tst-auditmod3b.c: Likewise.
20443 * elf/tst-auditmod4b.c: Likewise.
20444 * elf/tst-auditmod5b.c: Likewise.
20445 * elf/tst-auditmod6b.c: Likewise.
20446 * elf/tst-auditmod6c.c: Likewise.
20447 * elf/tst-auditmod7b.c: Likewise.
20449 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20450 and x32_gnu_pltexit.
20452 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20453 __ELF_NATIVE_CLASS.
20454 (La_x32_regs): New macro.
20455 (La_x32_retval): Likewise.
20456 (la_x32_gnu_pltenter): New function prototype.
20457 (la_x32_gnu_pltexit): Likewise.
20459 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20461 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20466 * configure.in (libc_cv_cc_nofma): Check for option to disable
20467 generation of FMA instructions.
20468 * configure: Regenerate.
20469 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20470 * sysdeps/ieee754/dbl-64/Makefile: New file.
20471 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20472 Remove brandred-fma4.
20473 (CFLAGS-brandred-fma4.c): Remove.
20474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20477 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20480 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20482 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20483 LLONG_MAX != LONG_MAX.
20484 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20485 (_fitoa_word): Likewise.
20486 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20487 LLONG_MAX != LONG_MAX.
20488 * stdio-common/_itowa.h: Include <_itoa.h>.
20489 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20490 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20491 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20492 only if not defined.
20493 (_ITOA_WORD_TYPE): Likewise.
20494 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20495 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20497 2012-03-21 David S. Miller <davem@davemloft.net>
20499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20501 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20503 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20504 of x86_64 when setting libc_cv_slibdir, libdir and
20506 * sysdeps/unix/sysv/linux/configure: Regenerated.
20508 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20510 * manual/lang.texi (Old Varargs): Remove section.
20511 (How Variadic): Update menu.
20512 (va_start): Do not mention varargs.h.
20514 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20515 Joseph Myers <joseph@codesourcery.com>
20517 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20519 * configure: Regenerated.
20521 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20523 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20524 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20527 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20530 * Makefile (files-for-dist): Remove NOTES.
20531 (NOTES): Remove rule.
20532 * README: Don't refer to NOTES.
20533 * manual/creature.texi: Don't include macros.texi.
20534 * manual/intro.texi (creature.texi): Remove comment referring to
20537 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20538 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20539 * configure: Regenerated.
20540 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20541 LIBC_TRY_CC_OPTION.
20542 (libc_cv_as_i686): Likewise.
20543 (libc_cv_cc_avx): Likewise.
20544 (libc_cv_cc_sse2avx): Likewise.
20545 (libc_cv_cc_fma4): Likewise.
20546 (libc_cv_cc_novzeroupper): Likewise.
20547 * sysdeps/i386/configure: Regenerated.
20550 * sysdeps/i386/fpu/s_cexp.S: Remove.
20551 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20552 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20553 * math/libm-test.inc (cexp_test): Add more tests.
20554 * sysdeps/i386/fpu/libm-test-ulps: Update.
20555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20557 2012-03-21 Allan McRae <allan@archlinux.org>
20559 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20561 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20564 * math/w_exp2.c: Do not include <float.h>.
20565 (o_threshold, u_threshold): Remove.
20566 (__exp2): Calculate result before checking finiteness and calling
20568 * math/w_exp2f.c: Likewise.
20569 * math/w_exp2l.c: Likewise.
20570 * math/libm-test.inc (exp2_test): Require overflow exception for
20574 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20575 range of signed 64-bit integers before using fistpll. Remove
20576 checks for whether integers fit in mantissa bits.
20577 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20578 the range of signed 32-bit integers before using fistpl. Remove
20579 checks for whether integers fit in mantissa bits.
20580 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20581 (__ieee754_powl): Test for y outside the range of signed 64-bit
20582 integers before using fistpll. Reduce 64-bit values to 63-bit
20584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20585 divide-by-zero is raised for zero to large negative powers.
20586 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20587 (__ieee754_powl): Test for y outside the range of signed 64-bit
20588 integers before using fistpll. Reduce 64-bit values to 63-bit
20590 * math/libm-test.inc (pow_test): Add more tests.
20592 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20594 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20595 <stdio-common/_itoa.h>.
20596 * debug/segfault.c: Likewise.
20597 * elf/dl-cache.c: Likewise.
20598 * elf/dl-minimal.c: Likewise.
20599 * elf/dl-misc.c: Likewise.
20600 * elf/dl-sysdep.c: Likewise.
20601 * elf/dl-version.c: Likewise.
20602 * elf/rtld.c: Likewise.
20603 * hurd/hurdsock.c: Likewise.
20604 * hurd/lookup-retry.c: Likewise.
20605 * malloc/malloc.c: Likewise.
20606 * malloc/mtrace.c: Likewise.
20607 * nscd/nscd_getgr_r.c: Likewise.
20608 * nscd/nscd_getpw_r.c: Likewise.
20609 * nscd/nscd_getserv_r.c: Likewise.
20610 * posix/getopt_init.c: Likewise.
20611 * posix/wordexp.c: Likewise.
20612 * stdio-common/_itoa.c: Likewise.
20613 * stdio-common/printf_fphex.c: Likewise.
20614 * stdio-common/vfprintf.c: Likewise.
20615 * string/_strerror.c: Likewise.
20616 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20617 * sysdeps/i386/i686/hp-timing.h: Likewise.
20618 * sysdeps/mach/_strerror.c: Likewise.
20619 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20620 * sysdeps/mach/hurd/sethostid.c: Likewise.
20621 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20622 * sysdeps/mach/xpg-strerror.c: Likewise.
20623 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20624 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20625 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20626 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20627 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20628 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20629 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20630 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20631 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20632 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20633 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20634 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20635 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20636 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20638 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20640 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20641 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20642 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20643 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20645 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20647 * stdio-common/_itoa.h: Moved to ...
20648 * sysdeps/generic/_itoa.h: Here.
20650 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20652 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20653 instead of "_itoa.h" and "_itowa.h".
20654 * stdio-common/vfprintf.: Likewise.
20656 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20658 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20660 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20661 (__signbit): Likwise.
20662 (llrintf): Likwise.
20665 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20667 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20670 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20672 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20673 OVERFLOW_EXCEPTION_OK.
20674 * math/libm-test.inc ("Philosophy"): Update comment about
20676 (OVERFLOW_EXCEPTION): Define.
20677 (OVERFLOW_EXCEPTION_OK): Likewise.
20678 (INVALID_EXCEPTION_OK): Renumber.
20679 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20680 (IGNORE_ZERO_INF_SIGN): Likewise.
20681 (test_exceptions): Handle FE_OVERFLOW.
20682 (exp10_test): Expect overflow exceptions.
20683 (exp2_test): Likewise.
20684 (expm1_test): Likewise.
20685 (nextafter_test): Likewise.
20686 (pow_test): Likewise.
20687 (scalbn_test): Likewise.
20688 (scalbln_test): Likewise.
20690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20692 * sysdeps/x86_64/bits/atomic.h
20693 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20695 (atomic_exchange_acq): Likewise.
20696 (__arch_exchange_and_add_body): Likewise.
20697 (__arch_add_body): Likewise.
20698 (atomic_add_negative): Likewise.
20699 (atomic_add_zero): Likewise.
20701 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20703 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20704 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20706 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20708 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20709 Check __x86_64__ instead of __WORDSIZE.
20711 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20713 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20715 2012-03-19 David S. Miller <davem@davemloft.net>
20717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20719 * sysdeps/sparc/fpu/fenv_private.h: New file.
20720 * sysdeps/sparc/fpu/math_private.h: Use it.
20721 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20723 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20724 (libc_feholdexcept_setroundl): Remove.
20725 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20727 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20728 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20730 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20732 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20733 int64_t instead of long int.
20734 (INSERT_WORDS64): Likwise.
20736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20738 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20739 _Unwind_GetCFA return to _Unwind_Ptr first.
20741 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20744 * math/s_clog.c: Include <float.h>.
20745 (__clog): Scale large or subnormal inputs.
20746 * math/s_clogf.c: Likewise.
20747 * math/s_clogl.c: Likewise.
20748 * math/s_clog10.c: Include <float.h>.
20749 (M_LOG10_2): Define.
20750 (__clog10): Scale large or subnormal inputs.
20751 * math/s_clog10f.c: Likewise.
20752 * math/s_clog10l.c: Likewise.
20753 * math/libm-test.inc (clog_test): Add more tests.
20754 (clog10_test): Likewise.
20755 * sysdeps/i386/fpu/libm-test-ulps: Update.
20756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20759 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20761 * math/libm-test.inc (atan2_test): Add another test.
20763 * Makerules (common-objdir-compile): Remove.
20764 * sysdeps/unix/Makefile (config-generated): Do not add
20765 $(unix-generated) to variable.
20766 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20767 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20769 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20771 [generic bits/local_lim.h] (before-compile): Do not append to
20773 [generic bits/local_lim.h] (common-generated): Likewise.
20774 [generic sys/param.h] (before-compile): Do not append to variable.
20775 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20776 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20777 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20778 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20780 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20781 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20782 [generic sys/param.h] ($(addprefix
20783 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20784 [generic sys/param.h] (common-generated): Do not append to
20786 [generic sys/param.h] (sysdep_headers): Likewise.
20787 [generic bits/errno.h] (before-compile): Do not append to
20789 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20791 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20792 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20793 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20794 [generic bits/errno.h] (common-generated): Do not append to
20796 [generic bits/ioctls.h] (before-compile): Do not append to
20798 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20800 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20801 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20802 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20804 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20805 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20806 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20807 [generic bits/ioctls.h] (common-generated): Do not append to
20809 [generic sys/syscall.h] (syscall.h): Remove variable.
20810 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20812 [generic sys/syscall.h] (before-compile): Do not append to
20814 [generic sys/syscall.h] (common-generated): Likewise.
20815 * sysdeps/unix/errnos-tmpl.c: Remove file.
20816 * sysdeps/unix/errnos.awk: Likewise.
20817 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20818 * sysdeps/unix/ioctls.awk: Likewise.
20819 * sysdeps/unix/mk-local_lim.c: Likewise.
20820 * sysdeps/unix/snarf-ioctls: Likewise.
20822 2012-03-19 Richard Henderson <rth@twiddle.net>
20824 * sysdeps/i386/fpu/fenv_private.h: New file.
20825 * sysdeps/i386/fpu/math_private.h: Use it.
20826 (math_opt_barrier, math_force_eval): Remove.
20827 (libc_feholdexcept_setround_53bit): Remove.
20828 (libc_feupdateenv_53bit): Remove.
20829 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20830 (math_opt_barrier, math_force_eval): Remove.
20831 (libc_feholdexcept): Remove.
20832 (libc_feholdexcept_setround): Remove.
20833 (libc_fetestexcept, libc_fesetenv): Remove.
20834 (libc_feupdateenv_test): Remove.
20835 (libc_feupdateenv, libc_feholdsetround): Remove.
20836 (libc_feresetround): Remove.
20838 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20839 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20841 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20842 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20843 (libc_feupdateenv_testl): New.
20844 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20845 (libc_feupdateenv_testf): New.
20846 (libc_feupdateenv): Use libc_feupdateenv_test.
20847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20848 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20850 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20851 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20852 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20853 (libc_feresetround_noex): New.
20854 (libc_feresetround_noexf): New.
20855 (libc_feresetround_noexl): New.
20856 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20857 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20858 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20859 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20862 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20864 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20865 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20866 SET_RESTORE_ROUND_NOEX.
20867 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20868 SET_RESTORE_ROUND_NOEXF.
20869 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20870 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20871 (libc_feholdsetroundf): New.
20872 (libc_feresetround, libc_feresetroundf): New.
20874 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20875 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20876 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20878 * sysdeps/generic/math_private.h: Include <fenv.h>.
20879 (default_libc_feholdexcept): New.
20880 (default_libc_feholdexcept_setround): New.
20881 (default_libc_fesetenv, default_libc_feupdateenv): New.
20882 (libc_feholdexcept): Only define if undefined.
20883 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20884 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20885 (libc_feholdexcept_setroundl): Likewise.
20886 (libc_feholdexcept_setround_53bit): Likewise.
20887 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20888 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20889 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20890 (libc_feupdateenv_53bit): Likewise.
20891 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20892 (libc_feholdexcept): Convert from macro to inline function.
20893 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20894 (libc_fesetenv, libc_feupdateenv): Likewise.
20896 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20897 not previously defined.
20898 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20899 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20900 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20901 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20902 * sysdeps/ieee754/flt-32/math_private.h: New file.
20903 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20904 math_private.h below SET_FLOAT_WORD.
20905 (__isnan, __isinf_ns, __finite): Remove.
20906 (__isnanf, __isinf_nsf, __finitef): Remove.
20908 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20912 2012-03-17 David S. Miller <davem@davemloft.net>
20915 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20918 2012-03-16 David S. Miller <davem@davemloft.net>
20920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20924 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20926 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20927 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20928 sysdep_routines when subdir is sysvipc.
20929 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20930 __getshmlba helper.
20932 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20934 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20936 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20939 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20941 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20942 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20943 (__lround): Renamed to ...
20944 (__llround): This. Replace long int with long long int.
20945 Define lround functions as aliases of llround functions.
20946 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20948 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20950 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20951 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20952 adresses to uintptr_t. Replace "long int" and "unsigned long
20953 int" with "greg_t" on va_arg.
20955 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20957 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20958 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20960 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20961 Move e_machine check before EI_CLASS check. Handle x32
20962 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20963 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20964 SKIP_EM_IA_64 and include
20965 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20967 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20968 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20969 (add_system_dir): New macro.
20971 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20972 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20974 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20985 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20987 * math/w_j0f.c (j0f): Likewise.
20989 * math/w_j0l.c (__j0l): Likewise.
20991 * math/w_j1.c (j1): Likewise.
20993 * math/w_j1f.c (j1f): Likewise.
20995 * math/w_j1l.c (__j1l): Likewise.
20997 * math/w_jn.c (jn): Likewise.
20999 * math/w_jnf.c (jnf): Likewise.
21001 * math/w_jnl.c (__jnl): Likewise.
21003 * math/libm-test.inc (j0_test): Add more tests.
21004 (j1_test): Likewise.
21005 (jn_test): Likewise. Add trailing semicolon to existing test.
21006 (y0_test): Likewise.
21007 (y1_test): Likewise.
21008 * sysdeps/i386/fpu/libm-test-ulps: Update.
21009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21013 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21014 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21015 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21016 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21017 (__tanl): Set errno for infinite argument.
21018 * sysdeps/i386/fpu/mptan.c: Remove.
21019 * sysdeps/i386/fpu/s_tan.S: Likewise.
21020 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21021 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21022 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21023 * math/libm-test.inc (tan_test): Add more tests and enable more
21024 tests for double and long double.
21025 * sysdeps/i386/fpu/libm-test-ulps: Update.
21026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21028 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21030 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21031 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21033 2012-03-16 Roland McGrath <roland@hack.frob.com>
21035 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21036 * configure.in: Use it for both main tree and add-ons.
21037 * configure: Regenerated.
21039 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21041 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21043 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21045 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21049 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21050 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21055 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21057 != 0 for prec == 2.
21058 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21059 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21060 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21061 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21062 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21063 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21064 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21065 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21066 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21067 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21068 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21069 * math/libm-test.inc (cos_test): Add more tests and enable more
21070 tests for long double.
21071 (sin_test): Likewise.
21072 (sincos_test): Likewise.
21073 * sysdeps/i386/fpu/libm-test-ulps: Update.
21074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21076 2012-03-16 David S. Miller <davem@davemloft.net>
21078 * sysdeps/sparc/fpu/math_private.h: New file.
21080 2012-03-15 David S. Miller <davem@davemloft.net>
21082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21092 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21096 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21097 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21099 * sysdeps/sparc/sparc-ifunc.h: New file.
21100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21145 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21147 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21151 2012-03-15 Andreas Jaeger <aj@suse.de>
21154 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21155 ieee754/flt-32 implementation for sin, cos and sincos.
21156 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21157 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21158 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21159 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21160 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21161 ieee754/flt-32 implementation for tan.
21163 * math/libm-test.inc (cos_test): Enable some large input tests for
21165 (sin_test): Likewise.
21166 (sincos_test): Likewise.
21167 (tan_test): Add tests for large input.
21169 * sysdeps/i386/fpu/libm-test-ulps: Update.
21171 2012-03-15 Andreas Jaeger <aj@suse.de>
21174 * math/libm-test.inc (cos_test): Add more test cases.
21175 (sin_test): Likewise.
21176 (sincos_test): Likewise.
21178 2012-03-15 Andreas Jaeger <aj@suse.de>
21181 * math/libm-test.inc (cos_test): Add a test case for large input
21183 (sin_test): Likewise.
21184 (sincos_test): Likewise.
21186 2012-03-15 Andreas Jaeger <aj@suse.de>,
21187 Joseph Myers <joseph@codesourcery.com>
21190 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21191 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21192 * sysdeps/i386/fpu/branred.c: Likewise.
21193 * sysdeps/i386/fpu/dosincos.c: Likewise.
21194 * sysdeps/i386/fpu/mpa.c: Likewise.
21195 * sysdeps/i386/fpu/s_cos.S: Likewise.
21196 * sysdeps/i386/fpu/s_sin.S: Likewise.
21197 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21198 * sysdeps/i386/fpu/sincos32.c: Likewise.
21200 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21202 (libc_feupdateenv_53bit): Define.
21203 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21205 (libc_feupdateenv_53bit): Define.
21207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21208 53 bit (without extend i386 double precision).
21210 * math/libm-test.inc (sincos_test): Add tests for large input.
21214 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21216 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21220 2012-03-15 David S. Miller <davem@davemloft.net>
21222 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21223 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21224 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21225 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21250 fmin/fmax sysdep routines.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21253 2012-03-14 David S. Miller <davem@davemloft.net>
21255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21279 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21327 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21332 * sysdeps/sparc/configure.in: New file.
21333 * sysdeps/sparc/configure: Generate.
21334 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21335 * configure: Regenerate.
21336 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21337 * config.make.in (have-as-vis3): New.
21338 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21339 available use -Av9d instead of -Av9a.
21340 * sysdeps/sparc/sparc64/Makefile: Likewise.
21341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21356 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21357 fzeros/fnegs to load 0x80000000 into a float register instead of
21359 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21361 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21365 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21366 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21367 ($(inst_includedir)/bits/syscall.h): Remove rule.
21368 ($(objpfx)bits/syscall.d): Include instead of
21369 $(objpfx)syscall-list.d.
21370 (generated): Change syscall-list.h and syscall-list.d to
21371 bits/syscall.h and bits/syscall.d.
21373 2012-03-14 Roland McGrath <roland@hack.frob.com>
21376 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21378 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21381 * math/s_csqrt.c: Include <float.h>.
21382 (__csqrt): Scale large or subnormal inputs.
21383 * math/s_csqrtf.c: Likewise.
21384 * math/s_csqrtl.c: Likewise.
21385 * math/libm-test.inc (csqrt_test): Add more tests.
21386 * sysdeps/i386/fpu/libm-test-ulps: Update.
21387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21390 * math/libm-test.inc (hypot_test): Add more tests.
21392 2012-03-13 David S. Miller <davem@davemloft.net>
21395 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21396 double-precision for the calculation instead of scaling.
21398 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21400 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21401 manipulate bits before adding and subtracting TWO52[sx].
21402 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21405 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21407 2012-03-13 David S. Miller <davem@davemloft.net>
21409 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21410 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21412 rtld-global-offsets.h
21413 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21415 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21418 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21420 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21421 'err' in the ifdef scope in which it is actually used.
21423 * nss/nss_db/db-init.c: Include string.h
21425 2012-03-12 David S. Miller <davem@davemloft.net>
21427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21428 masking out of the most significant byte of random value used.
21429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21430 Fix coding style in previous change.
21432 * sysdeps/unix/sysv/linux/kernel-features.h
21433 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21434 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21436 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21439 2012-03-11 David S. Miller <davem@davemloft.net>
21441 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21442 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21443 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21444 for 'resultvar' otherwise things get truncated on 64-bit.
21446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21447 Fix masking out of the most significant byte of random value used.
21449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21451 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21455 2012-03-09 David S. Miller <davem@davemloft.net>
21457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21458 variables with appropriate CPP guards.
21459 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21460 frame pointer, not the stack pointer. Correct layout comments. Fix test
21461 on resulting framesize and the management of the outregs buffer for pltexit.
21462 Preserve floating point return values across _dl_call_pltexit call.
21463 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21464 framesize and the management of the outregs buffer for pltexit.
21465 Preserve floating point return values across _dl_call_pltexit
21467 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21468 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21469 (print_exit): Fix format string for return register value.
21471 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21473 * sunrpc/Makefile (others): Add rpcgen.
21474 ($(objpfx)rpcgen): Remove special build rule and dependency on
21476 * sunrpc/rpcgen.c: New file.
21478 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21481 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21482 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21483 * sysdeps/i386/crti.S: Likewise.
21484 * sysdeps/i386/crtn.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21486 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21487 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21488 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21489 * sysdeps/sh/crti.S: Likewise.
21490 * sysdeps/sh/crtn.S: Likewise.
21491 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21494 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21496 * locale/programs/locfile-kw.gperf: Likewise.
21497 * locale/programs/charmap-kw.h: Regenerated.
21498 * locale/programs/locfile-kw.h: Likewise.
21501 * intl/plural.y: Replace FSF snail mail address with URL.
21502 * intl/plural.c: Regenerated.
21504 2012-03-09 Richard Henderson <rth@twiddle.net>
21506 * include/math_private.h: Remove file.
21507 * math/math_private.h: Move file ...
21508 * sysdeps/generic/math_private.h: ... here.
21510 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21511 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21512 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21514 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21515 and <math_private.h>.
21516 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21517 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21518 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21519 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21520 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21522 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21524 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21527 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21528 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21531 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21532 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21533 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21535 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21537 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21604 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21605 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21606 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21607 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21608 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21609 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21610 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21611 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21612 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21613 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21616 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21617 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21618 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21619 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21620 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21621 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21622 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21623 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21624 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21626 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21627 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21628 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21629 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21630 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21631 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21633 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21635 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21636 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21637 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21638 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21639 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21640 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21641 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21642 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21643 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21644 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21645 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21646 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21647 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21648 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21649 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21650 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21651 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21653 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21654 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21657 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21658 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21662 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21663 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21665 * sysdeps/ieee754/k_standard.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21679 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21682 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21781 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21788 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21798 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21815 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21816 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21826 * sysdeps/ieee754/s_lib_version.c: Likewise.
21827 * sysdeps/ieee754/s_matherr.c: Likewise.
21828 * sysdeps/ieee754/s_signgam.c: Likewise.
21829 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21830 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21831 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21832 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21833 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21834 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21835 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21836 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21837 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21838 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21839 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21840 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21841 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21842 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21843 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21844 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21845 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21846 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21847 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21851 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21853 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21854 * sunrpc/rpc_main.c: Likewise.
21855 * sunrpc/rpc_svcout.c: Likewise.
21857 2012-03-09 David S. Miller <davem@davemloft.net>
21859 * include/math_private.h: New file.
21861 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21863 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21864 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21865 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21866 from <bits/socket_type.h>.
21867 (enum __socket_type): Don't define here.
21868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21870 bits/socket_type.h.
21873 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21874 checking __USE_GNU.
21876 * Makerules ($(inst_includedir)/%.h): New rule.
21877 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21878 (install-others): Remove variable setting.
21879 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21881 2012-03-08 Richard Henderson <rth@twiddle.net>
21883 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21884 from macro to inline function; merge with the
21885 !__LIBC_INTERNAL_MATH_INLINES version.
21886 (__ieee754_sqrtf): Likewise.
21888 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21889 to inline function.
21890 (__rintf, __floor, __floorf): Likewise.
21892 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21893 macro to inline function.
21894 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21897 not <math/math_private.h>.
21899 2012-03-08 David S. Miller <davem@davemloft.net>
21901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21903 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21905 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21907 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21909 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21910 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21912 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21914 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21915 be defined individually, they must be defined as a block. Define
21916 S for printing a string instead of hidint the different by using a
21917 macro for adding the 'l'.
21918 * stdio-common/tst-fphex-wide.c: Adjust.
21920 2012-03-07 Marek Polacek <polacek@redhat.com>
21922 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21924 2012-03-08 Marek Polacek <polacek@redhat.com>
21927 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21928 * stdio-common/tst-fphex.c: Define a few macros to make the
21929 test reusable. Use them.
21930 * stdio-common/tst-fphex-wide.c: New file.
21932 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21935 * manual/macros.texi (gnusystems): New macro.
21936 (nongnusystems): Likewise.
21937 (gnulinuxhurdsystems): Likewise.
21938 (gnuhurdsystems): Likewise..
21939 (gnulinuxsystems): Likewise.
21940 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21941 variants of the GNU system, not "GNU system".
21942 * manual/conf.texi: Likewise.
21943 * manual/errno.texi: Likewise. Update example of errno macro
21945 * manual/filesys.texi: Likewise.
21946 (getumask): Document as specific to GNU/Hurd.
21947 * manual/install.texi: Likewise. Reword some references to
21949 * manual/intro.texi: Likewise.
21950 * manual/io.texi: Likewise.
21951 (File Name Portability): Detail which constraints are inapplicable
21952 to all GNU systems and which are only inapplicable to GNU/Hurd.
21953 * manual/job.texi: Likewise.
21954 * manual/llio.texi: Likewise.
21955 (O_NOCTTY): Document as present on GNU/Linux.
21956 * manual/maint.texi: Likewise.
21957 * manual/memory.texi: Likewise.
21958 * manual/pattern.texi: Likewise.
21959 * manual/pipe.texi: Likewise.
21960 * manual/process.texi: Likewise.
21961 * manual/resource.texi: Likewise.
21962 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21964 * manual/setjmp.texi: Likewise.
21965 * manual/signal.texi: Likewise.
21966 * manual/startup.texi: Likewise.
21967 * manual/stdio.texi: Likewise.
21968 * manual/terminal.texi: Likewise.
21969 (ONLCR): Document as POSIX.
21970 (OXTABS): Document availability on GNU/Linux as XTABS.
21971 (ONOEOT): Document availability separately from other bits.
21972 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21973 * manual/time.texi: Likewise.
21974 * manual/users.texi: Likewise.
21975 * INSTALL: Regenerated.
21976 * sysdeps/gnu/errlist.c: Regenerated.
21978 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21979 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21980 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21982 * configure: Regenerated.
21984 2012-03-07 Joseph Myers <joseph@codesourcery.com>
21986 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21987 default includes instead of AC_HEADER_CHECK.
21988 * sysdeps/i386/configure: Regenerated.
21991 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21992 * math/s_cacoshf.c (__cacoshf): Likewise.
21993 * math/s_cacoshl.c (__cacoshl): Likewise.
21994 * math/s_casinh.c (__casinh): Set signs of result from argument.
21995 * math/s_casinhf.c (__casinhf): Likewise.
21996 * math/s_casinhl.c (__casinhl): Likewise.
21997 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21998 (casinh_test): Add more tests.
21999 * sysdeps/i386/fpu/libm-test-ulps: Update.
22000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22002 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22004 * po/zh_TW.po: Update from translation team.
22006 * login/Makefile (distribute): Remove variable.
22007 * catgets/Makefile: Likewise.
22008 * mach/Makefile: Likewise.
22009 * malloc/Makefile: Likewise.
22010 * misc/Makefile: Likewise.
22011 * iconv/Makefile: Likewise.
22012 * nscd/Makefile: Likewise.
22013 * hurd/Makefile: Likewise.
22014 * manual/Makefile: Likewise.
22015 * locale/Makefile: Likewise.
22016 * intl/Makefile: Likewise.
22017 * conform/Makefile: Likewise.
22018 * nss/Makefile: Likewise.
22019 * time/Makefile: Likewise.
22020 * soft-fp/Makefile: Likewise.
22021 * dirent/Makefile: Likewise.
22022 * gmon/Makefile: Likewise.
22023 * po/Makefile: Likewise.
22024 * rt/Makefile: Likewise.
22025 * socket/Makefile: Likewise.
22026 * math/Makefile: Likewise.
22027 * signal/Makefile: Likewise.
22028 * debug/Makefile: Likewise.
22029 * elf/Makefile: Likewise.
22030 * timezone/Makefile: Likewise.
22031 * stdlib/Makefile: Likewise.
22032 * iconvdata/Makefile: Likewise.
22033 * sunrpc/Makefile: Likewise.
22034 * io/Makefile: Likewise.
22035 * argp/Makefile: Likewise.
22036 * inet/Makefile: Likewise.
22037 * hesiod/Makefile: Likewise.
22038 * grp/Makefile: Likewise.
22039 * csu/Makefile: Likewise.
22040 * wctype/Makefile: Likewise.
22041 * crypt/Makefile: Likewise.
22042 * libio/Makefile: Likewise.
22043 * string/Makefile: Likewise.
22044 * nis/Makefile: Likewise.
22045 * resolv/Makefile: Likewise.
22046 * stdio-common/Makefile: Likewise.
22047 * wcsmbs/Makefile: Likewise.
22048 * dlfcn/Makefile: Likewise.
22049 * posix/Makefile: Likewise.
22052 * timezone/Makefile: Don't install timezone files, just the programs
22055 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22057 * nss/databases.def: Add missing gshadow entry.
22059 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22061 2012-03-06 Marek Polacek <polacek@redhat.com>
22064 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22065 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22066 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22067 * stdio-common/tst-long-dbl-fphex.c: New file.
22069 2012-03-06 David S. Miller <davem@davemloft.net>
22071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22072 (set_obp_int): New function.
22073 (get_obp_int): New function.
22074 (__get_clockfreq_via_dev_openprom): Likewise.
22075 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22076 Avoid unused variable warnings on 'val' and use builtin_expect.
22077 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22079 (INLINE_CLONE_SYSCALL): Likewise.
22081 2012-03-05 David S. Miller <davem@davemloft.net>
22083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22085 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22090 only for |x| >= 40.
22091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22093 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22096 Replace gettimeofday with __vdso_gettimeofday.
22098 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22099 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22100 __vdso_clock_gettime and __vdso_getcpu.
22102 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22103 time with __vdso_time.
22105 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22107 * manual/lang.texi (size_t): Note types to which size_t may be
22108 equivalent with the GNU C Library, but do not describe when
22109 differences between them are significant.
22111 2012-03-05 Andreas Jaeger <aj@suse.de>
22113 * sysdeps/i386/fpu/libm-test-ulps: Update.
22115 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22118 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22119 (__ieee754_pow): Save and restore rounding mode and use
22120 round-to-nearest for main computations.
22121 * math/libm-test.inc (pow_test_tonearest): New function.
22122 (pow_test_towardzero): Likewise.
22123 (pow_test_downward): Likewise.
22124 (pow_test_upward): Likewise.
22125 (main): Call the new functions.
22126 * sysdeps/i386/fpu/libm-test-ulps: Update.
22127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22130 * math/libm-test.inc (cosh_test_tonearest): New function.
22131 (cosh_test_towardzero): Likewise.
22132 (cosh_test_downward): Likewise.
22133 (cosh_test_upward): Likewise.
22134 (sinh_test_tonearest): Likewise.
22135 (sinh_test_towardzero): Likewise.
22136 (sinh_test_downward): Likewise.
22137 (sinh_test_upward): Likewise.
22138 (main): Call the new functions.
22139 * sysdeps/i386/fpu/libm-test-ulps: Update.
22140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22142 2012-03-05 Tom de Vries <tom@codesourcery.com>
22144 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22145 default stack guard is set in last bytes.
22146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22148 2012-03-05 Kees Cook <keescook@chromium.org>
22150 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22153 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22154 possibly allocate from heap instead of stack.
22155 * stdio-common/bug-vfprintf-nargs.c: New file.
22156 * stdio-common/Makefile (tests): Add nargs overflow test.
22158 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22162 2012-03-03 Marek Polacek <polacek@redhat.com>
22164 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22165 * math/math_private.h: Likewise.
22166 * stdlib/tst-strtod.c: Likewise.
22167 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22168 * sysdeps/x86_64/bits/atomic.h: Likewise.
22170 2012-03-02 David S. Miller <davem@davemloft.net>
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22176 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22177 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22178 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22179 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22181 2012-03-02 Roland McGrath <roland@hack.frob.com>
22184 * manual/examples/README: New file, says the example source files
22185 can be used under GPL>=2.
22186 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22187 line containing just "*/".
22188 * manual/examples/add.c: Add copyright header (GPL>=2).
22189 * manual/examples/argp-ex1.c: Likewise.
22190 * manual/examples/argp-ex2.c: Likewise.
22191 * manual/examples/argp-ex3.c: Likewise.
22192 * manual/examples/argp-ex4.c: Likewise.
22193 * manual/examples/atexit.c: Likewise.
22194 * manual/examples/db.c: Likewise.
22195 * manual/examples/dir.c: Likewise.
22196 * manual/examples/dir2.c: Likewise.
22197 * manual/examples/execinfo.c: Likewise.
22198 * manual/examples/filecli.c: Likewise.
22199 * manual/examples/filesrv.c: Likewise.
22200 * manual/examples/fmtmsgexpl.c: Likewise.
22201 * manual/examples/genpass.c: Likewise.
22202 * manual/examples/inetcli.c: Likewise.
22203 * manual/examples/inetsrv.c: Likewise.
22204 * manual/examples/isockad.c: Likewise.
22205 * manual/examples/longopt.c: Likewise.
22206 * manual/examples/memopen.c: Likewise.
22207 * manual/examples/memstrm.c: Likewise.
22208 * manual/examples/mkfsock.c: Likewise.
22209 * manual/examples/mkisock.c: Likewise.
22210 * manual/examples/mygetpass.c: Likewise.
22211 * manual/examples/pipe.c: Likewise.
22212 * manual/examples/popen.c: Likewise.
22213 * manual/examples/rprintf.c: Likewise.
22214 * manual/examples/search.c: Likewise.
22215 * manual/examples/select.c: Likewise.
22216 * manual/examples/setjmp.c: Likewise.
22217 * manual/examples/sigh1.c: Likewise.
22218 * manual/examples/sigusr.c: Likewise.
22219 * manual/examples/stpcpy.c: Likewise.
22220 * manual/examples/strdupa.c: Likewise.
22221 * manual/examples/strftim.c: Likewise.
22222 * manual/examples/strncat.c: Likewise.
22223 * manual/examples/subopt.c: Likewise.
22224 * manual/examples/swapcontext.c: Likewise.
22225 * manual/examples/termios.c: Likewise.
22226 * manual/examples/testopt.c: Likewise.
22227 * manual/examples/testpass.c: Likewise.
22228 * manual/examples/timeval_subtract.c: Likewise.
22231 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22233 * manual/timeval_subtract.c.texi: ... here, new file.
22235 2012-03-02 David S. Miller <davem@davemloft.net>
22237 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22239 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22242 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22243 (__sin): Save and restore rounding mode and use round-to-nearest
22244 for all computations.
22245 (__cos): Save and restore rounding mode and use round-to-nearest
22246 for all computations.
22247 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22249 (tan): Save and restore rounding mode and use round-to-nearest for
22251 * math/libm-test.inc (cos_test_tonearest): New function.
22252 (cos_test_towardzero): Likewise.
22253 (cos_test_downward): Likewise.
22254 (cos_test_upward): Likewise.
22255 (sin_test_tonearest): Likewise.
22256 (sin_test_towardzero): Likewise.
22257 (sin_test_downward): Likewise.
22258 (sin_test_upward): Likewise.
22259 (tan_test_tonearest): Likewise.
22260 (tan_test_towardzero): Likewise.
22261 (tan_test_downward): Likewise.
22262 (tan_test_upward): Likewise.
22263 (main): Call the new functions.
22264 * sysdeps/i386/fpu/libm-test-ulps: Update.
22265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22268 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22269 small n, then large n, before computing and testing k+n.
22270 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22275 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22276 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22281 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22283 * math/libm-test.inc (scalbn_test): Add more tests.
22284 (scalbln_test): Likewise.
22286 * manual/filesys.texi (mode_t): Describe constraints on size and
22287 signedness, not exact equivalence to a particular type.
22289 (ino64_t): Likewise.
22291 (nlink_t): Likewise.
22292 (blkcnt_t): Likewise.
22293 (blkcnt64_t): Likewise.
22294 * manual/llio.texi (off_t): Likewise.
22297 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22298 (__ieee754_exp): Save and restore rounding mode and use
22299 round-to-nearest for all computations.
22300 * math/libm-test.inc (exp_test_tonearest): New function.
22301 (exp_test_towardzero): Likewise.
22302 (exp_test_downward): Likewise.
22303 (exp_test_upward): Likewise.
22304 (main): Call the new functions.
22305 * sysdeps/i386/fpu/libm-test-ulps: Update.
22306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22308 2012-03-01 Chris Demetriou <cgd@google.com>
22310 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22311 have predictable order.
22313 2012-03-01 David S. Miller <davem@davemloft.net>
22315 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22317 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22318 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22319 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22320 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22322 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22323 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22324 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22326 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22327 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22328 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22329 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22330 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22335 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22336 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22338 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22339 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22341 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22342 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22345 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22346 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22347 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22348 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22349 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22354 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22355 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22356 * sysdeps/sparc/elf/configure: Regenerated.
22358 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22360 * configure.in (AS, LD): Require binutils 2.20 or later.
22361 * configure: Regenerated.
22362 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22363 as required minimum version.
22364 * INSTALL: Regenerated.
22368 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22369 before squaring exponent.
22370 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22371 bottom long double and 27 bits of top long double before squaring
22373 * math/libm-test.inc (erfc_test): Add more tests.
22374 * sysdeps/i386/fpu/libm-test-ulps: Update.
22375 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22378 2012-03-01 Kai Tietz <ktietz@redhat.com>
22380 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22381 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22382 containing bit-fields.
22383 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22384 * soft-fp/single.h (_FP_UNION_S): Likewise.
22385 * soft-fp/double.h (_FP_UNION_D): Likewise.
22387 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22390 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22391 not include ../strcmp.S.
22392 [USE_AS_STRNCASECMP_L]: Likewise.
22393 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22394 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22395 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22396 (__strncasecmp_l_ia32): Define as alias to
22397 __strncasecmp_l_nonascii.
22400 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22401 * sysdeps/i386/fpu/libm-test-ulps: Update.
22402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22407 2012-02-29 Jeff Law <law@redhat.com>
22409 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22410 out of bounds read.
22412 2012-02-29 Marek Polacek <polacek@redhat.com>
22415 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22416 * elf/Makefile: Add rules to run tst-unused-dep.out.
22418 2012-02-28 David S. Miller <davem@davemloft.net>
22420 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22421 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22425 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22427 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22429 * math/libm-test.inc (llround_test): Move one test from
22430 lround_test. Use TEST_f_L in moved test.
22431 (lround_test): Move misplaced test to llround_test. Add testcase
22434 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22436 * sysdeps/x86_64/fpu/e_expf.S: New file.
22437 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22439 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22442 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22443 of remain_len that may cause incomplete multi-byte character and
22445 * posix/bug-regex33.c: New file.
22446 * posix/Makefile (tests): Add bug-regex33.
22448 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22450 * manual/macros.texi: New file.
22451 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22452 * manual/libc.texinfo: Include macros.texi.
22453 * manual/creatute.texi: Likewise.
22454 * manual/install.texi: Likewise.
22455 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22456 @glibcadj{} in references to the GNU C Library.
22457 * manual/charset.texi: Likewise.
22458 * manual/conf.texi: Likewise.
22459 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22460 when not using those macros.
22461 * manual/creature.texi: Likewise.
22462 * manual/crypt.texi: Likewise.
22463 * manual/errno.texi: Likewise.
22464 * manual/filesys.texi: Likewise.
22465 * manual/header.texi: Likewise.
22466 * manual/install.texi: Likewise.
22467 * manual/intro.texi: Likewise.
22468 * manual/io.texi: Likewise.
22469 * manual/job.texi: Likewise.
22470 * manual/lang.texi: Likewise.
22471 * manual/libc.texiinfo: Likewise.
22472 * manual/llio.texi: Likewise.
22473 * manual/locale.texi: Likewise.
22474 * manual/maint.texi: Likewise.
22475 * manual/math.texi: Likewise.
22476 * manual/memory.texi: Likewise.
22477 * manual/message.texi: Likewise.
22478 * manual/nss.texi: Likewise.
22479 * manual/pattern.texi: Likewise.
22480 * manual/process.texi: Likewise.
22481 * manual/resource.texi: Likewise.
22482 * manual/search.texi: Likewise.
22483 * manual/setjmp.texi: Likewise.
22484 * manual/signal.texi: Likewise.
22485 * manual/socket.texi: Likewise.
22486 * manual/startup.texi: Likewise.
22487 * manual/stdio.texi: Likewise.
22488 * manual/string.texi: Likewise.
22489 * manual/sysinfo.texi: Likewise.
22490 * manual/syslog.texi: Likewise.
22491 * manual/terminal.texi: Likewise.
22492 * manual/time.texi: Likewise.
22493 * manual/users.texi: Likewise.
22494 * INSTALL: Regenerated.
22495 * NOTES: Regenerated.
22496 * sysdeps/gnu/errlist.c: Regenerated.
22498 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22500 * include/dirent.h: Include <dirstream.h> before
22503 2012-02-28 David S. Miller <davem@davemloft.net>
22505 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22506 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22507 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22508 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22510 2012-02-27 David S. Miller <davem@davemloft.net>
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22514 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22515 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22518 frame pointer instead of stack pointer relative arg slot.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22520 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22521 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22523 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22526 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22528 2012-02-27 David S. Miller <davem@davemloft.net>
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22534 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22535 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22536 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22537 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22539 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22541 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22542 later. Allow versions 5-9.
22543 * configure: Regenerated.
22544 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22545 required minimum version and 4.6 as recommended version. Do not
22546 mention bugs in GCC 2.7 and 2.8.
22547 * INSTALL: Regenerated.
22549 2012-02-27 David S. Miller <davem@davemloft.net>
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22557 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22561 manipulate bits before adding and subtracting TWO112[sx].
22562 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22564 2012-02-27 Roland McGrath <roland@hack.frob.com>
22567 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22568 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22569 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22570 being in POSIX, because they are in 1003.1-2008.
22572 * rt/tst-aio.c: Include <fcntl.h>.
22573 * rt/tst-aio7.c: Likewise.
22574 * rt/tst-aio64.c: Likewise.
22576 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22578 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22580 * manual/install.texi (--with-headers): Describe headers as
22581 interface headers, not private headers.
22582 (Specific advice for GNU/Linux systems): Describe use of headers
22583 from "make headers_install", not private headers from older
22585 * INSTALL: Regenerated.
22586 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22588 * sysdeps/unix/sysv/linux/configure: Regenerated.
22590 * manual/llio.texi (fclean): Remove documentation.
22592 * manual/Makefile (libc-texi-generated): New variable. Include
22594 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22595 $(libc-texi-generated), not duplicated list of files.
22596 (version.texi, stamp-version): New rules.
22597 (realclean): Remove $(libc-texi-generated), not individual files
22598 from that list. Do not remove dir-add.texinfo.
22599 * manual/libc.texinfo: Comment out uses of edition numbers and
22600 references to printed manual. Remove last-updated dates.
22601 (EDITION): Comment out.
22603 (VERSION, UPDATED): Remove.
22604 (version.texi): Include.
22606 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22608 * sysdeps/posix/spawni.c: Include <signal.h>.
22609 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22610 * sysdeps/pthread/aio_fsync.c: Likewise.
22612 2012-02-26 Ulrich Drepper <drepper@gmail.com>
22614 * conform/Makefile (tests): Run only when not cross-compiling and
22615 when fast-check is not defined.
22617 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22618 * conform/data/limits.h-data: Fixes for POSIX2008.
22619 * conform/run-conformtest.sh: Run all tests.
22620 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22622 * include/bits/dlfcn.h: Likewise.
22623 * include/langinfo.h: Likewise.
22624 * include/monetary.h: Likewise.
22625 * include/sys/poll.h: Likewise.
22627 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22629 * posix/spawn.h: Define __need_sigset_t.
22630 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22631 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22632 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22633 to get sigevent_t only.
22634 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22635 only for __USE_GNU.
22636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22637 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22638 process_vm_writev only for __USE_GNU.
22639 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22641 * conform/Makefile: For now ignore errors from run-conformtest.
22642 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22643 POSIX to avoid namespace pollution. Don't prepend headers.
22644 * conform/data/aio.h-data: Fixes for POSIX testing.
22645 * conform/data/fcntl.h-data: Likewise.
22646 * conform/data/glob.h-data: Likewise.
22647 * conform/data/grp.h-data: Likewise.
22648 * conform/data/pthread.h-data: Likewise.
22649 * conform/data/pwd.h-data: Likewise.
22650 * conform/data/signal.h-data: Likewise.
22651 * conform/data/spawn.h-data: Likewise.
22652 * conform/data/stdio.h-data: Likewise.
22653 * conform/data/stdlib.h-data: Likewise.
22654 * conform/data/stropts.h-data: Likewise.
22655 * conform/data/sys/mman.h-data: Likewise.
22656 * conform/data/sys/stat.h-data: Likewise.
22657 * conform/data/sys/types.h-data: Likewise.
22658 * conform/data/sys/wait.h-data: Likewise.
22659 * conform/data/time.h-data: Likewise.
22660 * conform/data/unistd.h-data: Likewise.
22661 * conform/data/utime.h-data: Likewise.
22663 * io/sys/stat.h: fchmod was always in POSIX.
22664 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22665 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22666 * rt/aio.h: Define __need_timespec before including <time.h>.
22667 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22668 struct. Add forward declaration of pthread_attr_t and use it in
22670 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22672 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22673 always remove CLK_TCK definition.
22675 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22677 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22679 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22681 * conform/run-conformtest.sh: New file.
22682 * conform/Makefile: Run run-conformtest for tests.
22683 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22686 * conform/data/uchar.h-data: New file.
22687 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22688 * conform/data/arpa/inet.h-data: Likewise.
22689 * conform/data/assert.h-data: Likewise.
22690 * conform/data/complex.h-data: Likewise.
22691 * conform/data/cpio.h-data: Likewise.
22692 * conform/data/ctype.h-data: Likewise.
22693 * conform/data/dirent.h-data: Likewise.
22694 * conform/data/dlfcn.h-data: Likewise.
22695 * conform/data/errno.h-data: Likewise.
22696 * conform/data/fcntl.h-data: Likewise.
22697 * conform/data/float.h-data: Likewise.
22698 * conform/data/fmtmsg.h-data: Likewise.
22699 * conform/data/fnmatch.h-data: Likewise.
22700 * conform/data/ftw.h-data: Likewise.
22701 * conform/data/glob.h-data: Likewise.
22702 * conform/data/grp.h-data: Likewise.
22703 * conform/data/iconv.h-data: Likewise.
22704 * conform/data/inttypes.h-data: Likewise.
22705 * conform/data/langinfo.h-data: Likewise.
22706 * conform/data/libgen.h-data: Likewise.
22707 * conform/data/limits.h-data: Likewise.
22708 * conform/data/locale.h-data: Likewise.
22709 * conform/data/math.h-data: Likewise.
22710 * conform/data/monetary.h-data: Likewise.
22711 * conform/data/mqueue.h-data: Likewise.
22712 * conform/data/ndbm.h-data: Likewise.
22713 * conform/data/net/if.h-data: Likewise.
22714 * conform/data/netdb.h-data: Likewise.
22715 * conform/data/netinet/in.h-data: Likewise.
22716 * conform/data/nl_types.h-data: Likewise.
22717 * conform/data/poll.h-data: Likewise.
22718 * conform/data/pthread.h-data: Likewise.
22719 * conform/data/pwd.h-data: Likewise.
22720 * conform/data/regex.h-data: Likewise.
22721 * conform/data/sched.h-data: Likewise.
22722 * conform/data/search.h-data: Likewise.
22723 * conform/data/semaphore.h-data: Likewise.
22724 * conform/data/setjmp.h-data: Likewise.
22725 * conform/data/signal.h-data: Likewise.
22726 * conform/data/spawn.h-data: Likewise.
22727 * conform/data/stdarg.h-data: Likewise.
22728 * conform/data/stdio.h-data: Likewise.
22729 * conform/data/stdlib.h-data: Likewise.
22730 * conform/data/string.h-data: Likewise.
22731 * conform/data/strings.h-data: Likewise.
22732 * conform/data/stropts.h-data: Likewise.
22733 * conform/data/sys/ipc.h-data: Likewise.
22734 * conform/data/sys/mman.h-data: Likewise.
22735 * conform/data/sys/msg.h-data: Likewise.
22736 * conform/data/sys/resource.h-data: Likewise.
22737 * conform/data/sys/select.h-data: Likewise.
22738 * conform/data/sys/sem.h-data: Likewise.
22739 * conform/data/sys/shm.h-data: Likewise.
22740 * conform/data/sys/socket.h-data: Likewise.
22741 * conform/data/sys/stat.h-data: Likewise.
22742 * conform/data/sys/statvfs.h-data: Likewise.
22743 * conform/data/sys/time.h-data: Likewise.
22744 * conform/data/sys/timeb.h-data: Likewise.
22745 * conform/data/sys/times.h-data: Likewise.
22746 * conform/data/sys/types.h-data: Likewise.
22747 * conform/data/sys/uio.h-data: Likewise.
22748 * conform/data/sys/un.h-data: Likewise.
22749 * conform/data/sys/utsname.h-data: Likewise.
22750 * conform/data/sys/wait.h-data: Likewise.
22751 * conform/data/syslog.h-data: Likewise.
22752 * conform/data/tar.h-data: Likewise.
22753 * conform/data/termios.h-data: Likewise.
22754 * conform/data/utime.h-data: Likewise.
22755 * conform/data/utmpx.h-data: Likewise.
22756 * conform/data/varargs.h-data: Likewise.
22757 * conform/data/wchar.h-data: Likewise.
22758 * conform/data/wctype.h-data: Likewise.
22759 * conform/data/wordexp.h-data: Likewise.
22761 * include/stropts.h: New file.
22762 * include/uchar.h: New file.
22763 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22764 * include/assert.h: Likewise.
22765 * include/ctype.h: Likewise.
22766 * include/dirent.h: Likewise.
22767 * include/dlfcn.h: Likewise.
22768 * include/fcntl.h: Likewise.
22769 * include/fnmatch.h: Likewise.
22770 * include/glob.h: Likewise.
22771 * include/grp.h: Likewise.
22772 * include/libio.h: Likewise.
22773 * include/locale.h: Likewise.
22774 * include/math.h: Likewise.
22775 * include/net/if.h: Likewise.
22776 * include/netdb.h: Likewise.
22777 * include/netinet/in.h: Likewise.
22778 * include/pthread.h: Likewise.
22779 * include/pwd.h: Likewise.
22780 * include/regex.h: Likewise.
22781 * include/sched.h: Likewise.
22782 * include/search.h: Likewise.
22783 * include/setjmp.h: Likewise.
22784 * include/signal.h: Likewise.
22785 * include/stdio.h: Likewise.
22786 * include/stdlib.h: Likewise.
22787 * include/string.h: Likewise.
22788 * include/sys/cdefs.h: Likewise.
22789 * include/sys/mman.h: Likewise.
22790 * include/sys/msg.h: Likewise.
22791 * include/sys/resource.h: Likewise.
22792 * include/sys/select.h: Likewise.
22793 * include/sys/socket.h: Likewise.
22794 * include/sys/stat.h: Likewise.
22795 * include/sys/statvfs.h: Likewise.
22796 * include/sys/time.h: Likewise.
22797 * include/sys/times.h: Likewise.
22798 * include/sys/uio.h: Likewise.
22799 * include/sys/utsname.h: Likewise.
22800 * include/sys/wait.h: Likewise.
22801 * include/termios.h: Likewise.
22802 * include/time.h: Likewise.
22803 * include/ulimit.h: Likewise.
22804 * include/unistd.h: Likewise.
22805 * include/utime.h: Likewise.
22806 * include/wchar.h: Likewise.
22807 * include/wctype.h: Likewise.
22808 * include/wordexp.h: Likewise.
22810 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22812 * time/time.h: TIME_UTC must be a macro.
22813 Make timespec_get available for ISO C11 only as well.
22815 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22817 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22818 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22822 * configure.in: Use -o not -a in test for unsupported multi-arch.
22824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22826 * manual/texinfo.tex: Update to version 2012-01-19.16.
22828 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22830 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22832 2012-02-24 Roland McGrath <roland@hack.frob.com>
22835 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22836 * manual/fdl-1.3.texi: New file.
22837 * manual/fdl-1.1.texi: File removed.
22840 * manual/libc.texinfo (FDL_VERSION): New @set.
22841 Use it for mention of FDL in cover text.
22842 (Documentation License): Use it in @include file name.
22844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22845 Roland McGrath <roland@hack.frob.com>
22848 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22849 not LONG_LONG_MAX and LONG_LONG_MIN.
22850 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22851 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22853 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22855 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22859 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22860 manipulate bits before adding and subtracting TWO23[sx].
22861 * math/libm-test.inc (nearbyint_test): Add more tests.
22863 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22866 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22867 bits before adding and subtracting TWO23[sx].
22868 * math/libm-test.inc (rint_test): Add more tests.
22869 (rint_test_tonearest): Likewise.
22870 (rint_test_towardzero): Likewise.
22871 (rint_test_downward): Likewise.
22872 (rint_test_upward: Likewise.
22874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22877 * include/stdc-predef.h: New file. Extracted from features.h.
22878 * include/features.h: Include stdc-predef.h.
22879 * Makefile (headers): Add stdc-predef.h.
22880 * CONFORMANCE (Compiler limitations): Update.
22882 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22884 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22886 2012-02-21 David S. Miller <davem@davemloft.net>
22888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22891 2012-02-20 David S. Miller <davem@davemloft.net>
22893 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22894 using a normal save/restore sequence, rather than allocating a
22895 dummy stack frame just to store a frame pointer and restore.
22896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22898 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22900 * manual/install.texi: Fix stray word in line-wrapped comment.
22902 2012-02-20 David S. Miller <davem@davemloft.net>
22904 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22905 both binutils and gcc support GOTDATA.
22907 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22908 "rd %pc" in the PIC register setup sequences.
22910 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22911 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22912 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22913 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22914 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22919 (SYSCALL_ERROR_HANDLER): Likewise.
22920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22921 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22923 (SYSCALL_ERROR_HANDLER): Likewise.
22925 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22926 (HAVE_GCC_GOTDATA): New.
22927 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22928 relocation support in both binutils and gcc.
22929 * sysdeps/sparc/elf/configure: Regenerate.
22931 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22932 * sysdeps/sparc/sparc32/elf/configure: Delete.
22933 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22934 * sysdeps/sparc/sparc64/elf/configure: Delete.
22935 * sysdeps/sparc/elf/configure.in: New file.
22936 * sysdeps/sparc/elf/configure: Generate.
22938 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22939 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22940 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22941 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22942 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22944 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22946 * manual/install.texi: Do not mention specific glibc version
22948 * manual/libc.texinfo (VERSION, UPDATED): Update.
22949 (@copying): Use @copyright{} and range of years.
22951 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22954 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22955 [crti.S not in sysdirs] (generated): Do not append.
22956 [crti.S not in sysdirs] (omit-deps): Likewise.
22957 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22958 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22959 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22960 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22961 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22963 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22964 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22965 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22966 * csu/defs.awk: Remove file.
22967 * sysdeps/generic/initfini.c: Likewise.
22968 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22970 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22973 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22975 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22976 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22977 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22979 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22980 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22982 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22983 (__EPOLL_PACKED): Define to empty if not defined by
22985 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22989 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22991 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22992 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22993 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22994 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22996 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23000 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23002 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23004 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23005 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23006 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23009 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23011 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23012 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23014 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23016 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23017 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23019 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23021 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23024 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23026 * math/w_acos.c: Use non-signaling floating-point comparisons.
23027 * math/w_acosf.c: Likewise.
23028 * math/w_acosh.c: Likewise.
23029 * math/w_acoshf.c: Likewise.
23030 * math/w_acoshl.c: Likewise.
23031 * math/w_acosl.c: Likewise.
23032 * math/w_asin.c: Likewise.
23033 * math/w_asinf.c: Likewise.
23034 * math/w_asinl.c: Likewise.
23035 * math/w_atanh.c: Likewise.
23036 * math/w_atanhf.c: Likewise.
23037 * math/w_atanhl.c: Likewise.
23038 * math/w_exp2.c: Likewise.
23039 * math/w_exp2f.c: Likewise.
23040 * math/w_exp2l.c: Likewise.
23041 * math/w_j0.c: Likewise.
23042 * math/w_j0f.c: Likewise.
23043 * math/w_j0l.c: Likewise.
23044 * math/w_j1.c: Likewise.
23045 * math/w_j1f.c: Likewise.
23046 * math/w_j1l.c: Likewise.
23047 * math/w_jn.c: Likewise.
23048 * math/w_jnf.c: Likewise.
23049 * math/w_log.c: Likewise.
23050 * math/w_log10.c: Likewise.
23051 * math/w_log10f.c: Likewise.
23052 * math/w_log10l.c: Likewise.
23053 * math/w_log2.c: Likewise.
23054 * math/w_log2f.c: Likewise.
23055 * math/w_log2l.c: Likewise.
23056 * math/w_logf.c: Likewise.
23057 * math/w_logl.c: Likewise.
23058 * math/w_sqrt.c: Likewise.
23059 * math/w_sqrtf.c: Likewise.
23060 * math/w_sqrtl.c: Likewise.
23061 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23062 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23064 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23065 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23067 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23070 * manual/string.texi (strnlen): Use correct parameter name in
23071 equivalent expression.
23073 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23076 * manual/users.texi (seteuid): Consistently use neweuid for
23079 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23082 * manual/nss.texi (Services in the NSS configuration): Correct
23083 list of services in example configuration file.
23085 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23088 * manual/arith.texi: Remove statements about negative zero
23089 behaving identically to zero.
23091 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23094 * manual/install.texi: Do not document upgrading from libc5.
23096 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23099 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23101 2012-02-18 David S. Miller <davem@davemloft.net>
23103 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23104 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23105 %o7 across the call.
23106 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23109 SETUP_PIC_REG_LEAF.
23110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23111 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23112 * sysdeps/sparc/crtn.S: Likewise.
23114 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23116 * aout/Makefile: Remove.
23118 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23121 * manual/examples/argp-ex1.c (main): Format definition in GNU
23123 * manual/examples/argp-ex2.c (main): Likewise.
23124 * manual/examples/argp-ex3.c (main): Likewise.
23125 * manual/examples/argp-ex4.c (main): Likewise.
23126 * manual/examples/longopt.c (main): Use new-style prototype
23128 * manual/examples/strncat.c (main): Specify return type and use
23129 (void) for arguments.
23130 * manual/examples/subopt.c (main): Use char **argv argument.
23132 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23135 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23138 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23141 * manual/string.texi (strchr): Change when strchrnul is
23144 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23147 * manual/locale.texi (setlocale): Document LOCPATH.
23149 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23152 * manual/process.texi (execle): Move @dots{} before last argument.
23154 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23157 * manual/charset.texi (Generic Charset Conversion): Fix typo
23158 (LC_TYPE -> LC_CTYPE).
23160 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23163 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23164 (scalbnf): Likewise.
23165 (scalbnl): Likewise.
23166 (scalbln): Likewise.
23167 (scalblnf): Likewise.
23168 (scalblnl): Likewise.
23169 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23170 (vwarnx): Likewise.
23173 * manual/filesys.texi (telldir): Use braces around return type.
23174 * manual/llio.texi (mmap): Add space after comma.
23175 (mmap64): Likewise.
23176 * manual/math.texi (jn): Use @var{} on parameter names.
23182 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23184 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23186 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23187 (sched_get_priority_max): Likewise.
23188 * manual/signal.texi (sigvec): Add space after comma.
23189 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23191 (if_indextoname): Likewise.
23192 (if_freenameindex): Likewise.
23193 (sendto): Use ',' instead of '.' in prototype.
23194 * manual/startup.texi (syscall): Use @dots{} instead of literal
23196 * manual/stdio.texi (__fpending): Separate initial words of
23197 paragraph from @deftypefun line.
23198 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23200 (vsyslog): Use @var{} on parameter names.
23201 * manual/terminal.texi (stty): Use @var{} on parameter names.
23202 * manual/users.texi (getutmp): Use @var{} on parameter names.
23203 (getutmpx): Likewise.
23205 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23208 * manual/stdio.texi (fopen): Fix typos in description of
23211 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23214 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23215 get clock_id definition.
23217 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23220 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23221 (madvise): Cast every argument to void on its own.
23223 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23226 * manual/startup.texi (Exit Status): Fix typo.
23228 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23231 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23232 * manual/examples/argp-ex2.c: Likewise.
23233 * manual/examples/argp-ex3.c: Likewise.
23235 2012-02-16 Richard Henderson <rth@redhat.com>
23237 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23238 * sysdeps/s390/s390-32/initfini.c: Remove.
23239 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23240 * sysdeps/s390/s390-64/initfini.c: Remove.
23242 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23244 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23245 compiler output for sysdeps/generic/initfini.c.
23246 * sysdeps/sh/elf/initfini.c: Remove file.
23248 2012-02-16 David S. Miller <davem@davemloft.net>
23251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23253 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23254 * sysdeps/sparc/crti.S: New file.
23255 * sysdeps/sparc/crtn.S: New file.
23256 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23257 * sysdeps/sparc/sparc64/Makefile: Likewise.
23259 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23262 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23264 2012-02-15 Roland McGrath <roland@hack.frob.com>
23267 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23269 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23270 (write, read, close): Likewise.
23271 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23273 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23275 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23276 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23277 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23278 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23280 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23284 2012-02-14 Marek Polacek <polacek@redhat.com>
23286 * sysdeps/x86_64/crti.S: New file.
23287 * sysdeps/x86_64/crtn.S: New file.
23288 * sysdeps/x86_64/elf/initfini.c: Remove file.
23290 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23292 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23293 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23294 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23295 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23297 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23301 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23303 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23304 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23305 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23306 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23308 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23312 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23314 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23315 __feraiseexcept instead of feraiseexcept.
23317 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23318 nanosleep invocations.
23319 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23320 strings, and add error checking for a nanosleep invocations.
23322 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23324 Replace FSF snail mail address with URLs, as per GNU coding standards.
23325 Most of the snail mail addresses were wrong anyway, and omitting
23326 them makes the source code easier to maintain. Almost all of the
23327 changes are to license notices and to locale LC_IDENTIFICATION
23328 addresses, except for this one:
23329 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23330 not its snail mail address.
23332 2012-02-09 Richard Henderson <rth@twiddle.net>
23334 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23335 of kernel-features.h.
23337 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23339 2012-02-08 Marek Polacek <polacek@redhat.com>
23341 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23342 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23343 * sysdeps/gnu/_G_config.h: Likewise.
23344 * sysdeps/generic/_G_config.h: Likewise.
23346 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23348 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23352 * sysdeps/powerpc/powerpc32/crti.S: New file.
23353 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23354 * sysdeps/powerpc/powerpc64/crti.S: New file.
23355 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23357 * Makeconfig (have-initfini): Don't set.
23358 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23359 * configure.in (nopic_initfini): Don't substitute.
23360 * config.h.in (HAVE_INITFINI): Don't #undef.
23361 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23362 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23364 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23366 Support crti.S and crtn.S provided directly by architectures.
23367 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23368 [crti.S in sysdirs] (omit-deps): Likewise.
23369 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23370 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23371 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23372 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23373 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23374 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23375 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23376 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23377 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23378 compiler output for sysdeps/generic/initfini.c.
23379 * sysdeps/i386/elf/Makefile: Remove file.
23380 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23382 2012-02-07 Marek Polacek <polacek@redhat.com>
23384 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23385 * sysdeps/gnu/_G_config.h: Likewise.
23386 * sysdeps/mach/hurd/_G_config.h: Likewise.
23388 2012-02-07 Marek Polacek <polacek@redhat.com>
23390 * math/Makefile (tests): Add tst-CMPLX2.
23391 * math/tst-CMPLX2.c: New file.
23393 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23395 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23397 * math/libm-test.inc (jn_test): Add missing L suffix.
23399 2012-02-06 Marek Polacek <polacek@redhat.com>
23401 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23402 * sysdeps/i386/fpu/e_powf.S: Likewise.
23403 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23404 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23405 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23406 * sysdeps/i386/fpu/e_pow.S: Likewise.
23407 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23408 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23409 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23410 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23411 * sysdeps/i386/fpu/e_log2.S: Likewise.
23412 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23414 * sysdeps/i386/fpu/e_powl.S: Likewise.
23415 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23416 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23417 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23418 * sysdeps/i386/fpu/e_logl.S: Likewise.
23419 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23420 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23421 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23422 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23423 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23424 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23425 * sysdeps/i386/fpu/e_log.S: Likewise.
23426 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23427 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23428 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23429 * sysdeps/i386/fpu/e_logf.S: Likewise.
23430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23432 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23433 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23434 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23435 * sysdeps/i386/fpu/e_log10.S: Likewise.
23436 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23438 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23439 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23441 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23442 * sysdeps/i386/asm-syntax.h: Likewise.
23443 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23444 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23445 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23446 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23447 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23448 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23449 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23450 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23451 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23452 * sysdeps/powerpc/sysdep.h: Likewise.
23453 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23454 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23456 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23459 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23461 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23463 * sysdeps/i386/sysdep.h: Include <features.h>.
23464 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23467 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23469 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23471 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23474 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23476 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23477 (SETUP_PIC_REG): Use GET_PC_THUNK.
23478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23481 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23483 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23484 for non-PIC compilation.
23485 (SETUP_PIC_REG): Add .p2align directive.
23486 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23487 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23492 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23494 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23495 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23496 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23497 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23498 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23499 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23500 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23501 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23502 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23503 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23504 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23505 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23506 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23508 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23509 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23510 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23512 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23514 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23515 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23516 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23517 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23521 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23522 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23523 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23524 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23525 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23526 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23528 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23530 * math/tst-CMPLX.c: Include <stdio.h>.
23532 2012-01-31 Joseph Myers <joseph@codesourcery.com>
23534 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23536 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23537 * sysdeps/sparc/bits/mathdef.h: Likewise.
23539 2012-01-31 Marek Polacek <polacek@redhat.com>
23541 * libio/libio.h: Don't define _PARAMS.
23542 * locale/programs/config.h: Don't define PARAMS.
23543 * stdlib/strtol_l.c: Likewise.
23544 (__strtol_l): Remove PARAMS from the prototype.
23546 2012-01-31 Ulrich Drepper <drepper@gmail.com>
23548 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23549 names. Just use the correct names. Remove unnecessary wrapper
23551 * malloc/arena.c: Likewise.
23552 * malloc/hooks.c: Likewise.
23554 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23555 ARENA_TEST says not to. Simplify test for creation of a new arena.
23556 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23558 2012-01-30 Ulrich Drepper <drepper@gmail.com>
23560 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23562 (update_get_addr): New function.
23563 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23564 GET_ADDR_MODULE parameter.
23566 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23568 * crypt/cert.c: Remove __STDC__ conditionals.
23569 * crypt/crypt-entry.c: Likewise.
23570 * crypt/crypt_util.c: Likewise.
23571 * libio/filedoalloc.c: Likewise.
23572 * libio/fileops.c: Likewise.
23573 * libio/genops.c: Likewise.
23574 * libio/iofclose.c: Likewise.
23575 * libio/iofdopen.c: Likewise.
23576 * libio/iofopen.c: Likewise.
23577 * libio/iofopen64.c: Likewise.
23578 * libio/iogetdelim.c: Likewise.
23579 * libio/iopopen.c: Likewise.
23580 * libio/obprintf.c: Likewise.
23581 * libio/oldfileops.c: Likewise.
23582 * libio/oldiofclose.c: Likewise.
23583 * libio/oldiofdopen.c: Likewise.
23584 * libio/oldiofopen.c: Likewise.
23585 * libio/oldiopopen.c: Likewise.
23586 * libio/wfiledoalloc.c: Likewise.
23587 * libio/wgenops.c: Likewise.
23588 * locale/programs/xmalloc.c: Likewise.
23589 * misc/syslog.c: Likewise.
23590 * stdio-common/xbug.c: Likewise.
23591 * string/memchr.c: Likewise.
23592 * string/memcmp.c: Likewise.
23593 * string/memrchr.c: Likewise.
23594 * string/rawmemchr.c: Likewise.
23595 * sysdeps/posix/getcwd.c: Likewise.
23596 * time/strftime_l.c: Likewise.
23598 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23600 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23601 * config.make.in (config-cflags-sse2avx): Define.
23602 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23605 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23607 * scripts/config.guess: Update from upstream config git repository.
23608 * scripts/config.sub: Likewise.
23610 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23612 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23614 (R_TILEPRO_*, R_TILEGX_*): New macros.
23616 * scripts/firstversions.awk: Fix bug in version range handling.
23618 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23620 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23622 * include/sys/epoll.h: New file.
23623 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23626 2012-01-28 Ulrich Drepper <drepper@gmail.com>
23628 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23629 Avoid unnecessary __WORDSIZE == 64 test.
23630 (fmaxf): Use VEX format if possible.
23635 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23636 * math/math_private.h: Remove libc_fegetround* and
23638 * sysdeps/i386/configure.in: Check for -msse2avx.
23639 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23640 also if SSE2AVX is defined.
23641 Remove libc_fegetround* and libc_fesetround*.
23642 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23643 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23652 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23654 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23658 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23660 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23663 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23665 * Makeconfig (libm): Define.
23666 * elf/Makefile: Add rules to build and run tst-relsort1.
23667 * elf/tst-relsort1.c: New file.
23668 * elf/tst-relsort1mod1.c: New file.
23669 * elf/tst-relsort1mod2.c: New file.
23671 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23673 * math/s_ldexp.c: Remove __STDC__ conditionals.
23674 * math/s_ldexpf.c: Likewise.
23675 * math/s_ldexpl.c: Likewise.
23676 * math/s_nextafter.c: Likewise.
23677 * math/s_nexttowardf.c: Likewise.
23678 * math/s_significand.c: Likewise.
23679 * math/s_significandf.c: Likewise.
23680 * math/s_significandl.c: Likewise.
23681 * math/w_jnl.c: Likewise.
23682 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23683 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23684 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23685 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23686 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23701 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23702 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23704 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23706 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23707 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23708 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23709 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23710 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23713 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23714 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23715 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23716 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23717 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23718 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23719 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23720 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23721 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23722 * sysdeps/ieee754/k_standard.c: Likewise.
23723 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23727 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23728 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23732 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23734 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23742 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23772 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23777 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23784 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23789 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23790 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23798 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23802 * sysdeps/ieee754/s_matherr.c: Likewise.
23803 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23804 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23805 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23808 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23810 * crypt/md5.h: Remove __STDC__ conditionals.
23811 * libio/libioP.h: Likewise.
23812 * locale/programs/config.h: Likewise.
23813 * sysdeps/generic/sysdep.h: Likewise.
23814 * sysdeps/i386/asm-syntax.h: Likewise.
23815 * sysdeps/s390/asm-syntax.h: Likewise.
23816 * sysdeps/unix/sysdep.h: Likewise.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23820 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23822 * libio/libio.h: Remove __STDC__ conditionals.
23823 * malloc/obstack.h: Likewise.
23824 * math/complex.h: Likewise.
23825 * math/math.h: Likewise.
23826 * sysdeps/generic/_G_config.h: Likewise.
23827 * sysdeps/gnu/_G_config.h: Likewise.
23828 * sysdeps/mach/hurd/_G_config.h: Likewise.
23829 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23830 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23831 * sysdeps/sparc/bits/mathdef.h: Likewise.
23833 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23836 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23837 Clean up HAS_* macros.
23838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23839 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23844 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23845 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23846 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23847 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23849 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23851 * elf/tst-unique3.cc (gets): Remove declaration.
23852 * elf/tst-unique3lib.cc (gets): Likewise.
23853 * elf/tst-unique3lib2.cc (gets): Likewise.
23854 * elf/tst-unique4.cc (gets): Likewise.
23856 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23858 * include/stdio.h: Add C++ protection. Add gets declarations and
23860 * debug/tst-chk1.c: Don't declare gets here.
23861 * stdio-common/tst-gets.c: Likewise.
23863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23865 * posix/glob: Remove directory.
23867 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23869 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23871 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23873 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23874 of the non-standard EPFNOSUPPORT.
23876 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23878 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23879 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23880 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23882 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23884 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23886 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23888 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23890 * nscd/grpcache.c (cache_addgr): Likewise.
23891 * nscd/hstcache.c (cache_addhst): Likewise.
23892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23893 * nscd/pwdcache.c (cache_addpw): Likewise.
23894 * nscd/servicescache.c (cache_addserv): Likewise.
23896 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23898 * malloc/malloc.c: Various cleanups.
23899 * malloc/hooks.c: Likewise.
23901 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23902 * stdlib/bug-fmtmsg1.c: New file.
23904 * stdlib/fmtmsg.c (init): Add missing unlock.
23905 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23907 2012-01-12 Marek Polacek <polacek@redhat.com>
23909 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23912 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23914 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23915 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23916 macro to ensure uniqueness of label name.
23917 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23918 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23920 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23922 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23924 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23929 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23931 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23933 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23935 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23937 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23939 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23940 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23941 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23944 * math/bits/math-finite.h: Add ldexp support.
23946 2012-01-10 Marek Polacek <polacek@redhat.com>
23948 * locale/programs/localedef.h (show_archive_content): Add noreturn
23951 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23953 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23955 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23957 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23959 * io/Makefile (headers): Add bits/poll2.h.
23961 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23964 typo #include statement.
23966 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23968 * include/sys/cdefs.h: Define __attribute_alloc_size.
23969 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23970 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23971 * elf/pldd.c: Likewise.
23972 * iconv/iconv_charmap.c: Likewise.
23973 * iconv/iconvconfig.c: Likewise.
23974 * iconv/strtab.c: Likewise.
23975 * locale/programs/locale.c: Likewise.
23976 * locale/programs/localedef.h: Likewise.
23977 * locale/programs/simple-hash.c: Likewise.
23978 * nscd/nscd.h: Likewise.
23979 * nss/makedb.c: Likewise.
23980 * sysdeps/generic/ldconfig.h: Likewise.
23981 * locale/programs/localedef.c: Remove xmalloc prototype.
23982 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23984 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23986 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23989 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23991 * math/Makefile (tests): Add tst-CMPLX.
23992 * math/tst-CMPLX.c: New file.
23994 * math/complex.h (CMPLXL): Fix typo.
23996 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23997 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23999 * debug/tst-chk1.c: Add poll and ppoll tests.
24000 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24001 * include/sys/poll.h: Add hidden proto for ppoll.
24002 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24003 * sysdeps/mach/hurd/ppoll.c: Likewise.
24004 * io/ppoll.c: Likewise.
24005 * debug/poll_chk.c: New file.
24006 * debug/ppoll_chk.c: New file.
24007 * include/bits/poll2.h: New file.
24008 * io/bits/poll2.h: New file.
24011 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24013 * configure.in: static is always set to yes. Remove.
24014 * config.make.in: Don't set build-static.
24015 * Makeconfig: Remove use of build-static.
24016 * dlfcn/Makefile: Likewise.
24017 * elf/Makefile: Likewise.
24018 * math/Makefile: Likewise.
24019 * misc/Makefile: Likewise.
24020 * nptl/Makefile: Likewise.
24021 * sysdeps/mach/hurd/Makefile: Likewise.
24023 * configure.in: PWD_P is not used anymore.
24024 * config.make.in: Remove PWD_P entry.
24026 * configure.in: Remove last remnants of RANLIB.
24027 No need to check for signed size_t anymore.
24028 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24030 Remove __builtin_expect test because we require at least gcc 3.4.
24031 * aclocal.m4: Likewise.
24033 * wcsmbs/mbrtoc16.c: Implement using towc function.
24034 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24035 * wcsmbs/wcsmbsload.c: Likewise.
24036 * iconv/gconv_simple.c: Likewise.
24037 * iconv/gconv_int.h: Likewise.
24038 * iconv/gconv_builtin.h: Likewise.
24039 * iconv/iconv_prog.c: Remove CHAR16 handling.
24041 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24043 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24045 * configure.in: Remove --with-elf and --enable-bounded options.
24046 Dont set base_machine for ia64. More non-ELF conditions removed.
24047 Remove testing and setting of leading underscore information.
24048 * config.make.in (build-bounded): Set to no.
24049 * config.h.in: Remove NO_UNDERSCORES entry.
24050 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24052 * csu/start.c: Remove !NO_UNDERSCORE code.
24053 * locale/localeinfo.h: Likewise.
24054 * sysdeps/generic/machine-gmon.h: Likewise.
24055 * sysdeps/generic/sysdep.h: Likewise.
24056 * sysdeps/i386/sysdep.h: Likewise.
24057 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24058 * sysdeps/mach/sysdep.h: Likewise.
24059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24061 * sysdeps/sh/sysdep.h: Likewise.
24062 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24063 * sysdeps/unix/i386/sysdep.S: Likewise.
24064 * sysdeps/unix/sparc/start.c: Likewise.
24065 * sysdeps/unix/sparc/sysdep.S: Likewise.
24066 * sysdeps/unix/sparc/sysdep.h: Likewise.
24067 * sysdeps/unix/start.c: Likewise.
24068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24069 * sysdeps/x86_64/sysdep.h: Likewise.
24071 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24074 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24076 * argp/argp-fmtstream.h: Use const instead __const.
24077 * argp/argp.h: Likewise.
24078 * assert/assert.h: Likewise.
24079 * bits/fenv.h: Likewise.
24080 * bits/sched.h: Likewise.
24081 * bits/sigset.h: Likewise.
24082 * bits/sigthread.h: Likewise.
24083 * catgets/nl_types.h: Likewise.
24084 * conform/data/pthread.h-data: Likewise.
24085 * crypt/crypt-private.h: Likewise.
24086 * crypt/crypt.h: Likewise.
24087 * crypt/crypt_util.c: Likewise.
24088 * ctype/ctype.h: Likewise.
24089 * debug/execinfo.h: Likewise.
24090 * debug/mbsnrtowcs_chk.c: Likewise.
24091 * debug/mbsrtowcs_chk.c: Likewise.
24092 * debug/wcsnrtombs_chk.c: Likewise.
24093 * debug/wcsrtombs_chk.c: Likewise.
24094 * debug/wcstombs_chk.c: Likewise.
24095 * dirent/dirent.h: Likewise.
24096 * dlfcn/dlfcn.h: Likewise.
24097 * elf/neededtest4.c: Likewise.
24098 * grp/grp.h: Likewise.
24099 * gshadow/gshadow.h: Likewise.
24100 * iconv/gconv.h: Likewise.
24101 * iconv/gconv_int.h: Likewise.
24102 * iconv/gconv_simple.c: Likewise.
24103 * iconv/iconv.h: Likewise.
24104 * iconv/loop.c: Likewise.
24105 * iconv/skeleton.c: Likewise.
24106 * include/aio.h: Likewise.
24107 * include/aliases.h: Likewise.
24108 * include/argz.h: Likewise.
24109 * include/arpa/inet.h: Likewise.
24110 * include/assert.h: Likewise.
24111 * include/dirent.h: Likewise.
24112 * include/dlfcn.h: Likewise.
24113 * include/execinfo.h: Likewise.
24114 * include/fcntl.h: Likewise.
24115 * include/fenv.h: Likewise.
24116 * include/glob.h: Likewise.
24117 * include/grp.h: Likewise.
24118 * include/libintl.h: Likewise.
24119 * include/mntent.h: Likewise.
24120 * include/netdb.h: Likewise.
24121 * include/pwd.h: Likewise.
24122 * include/rpc/netdb.h: Likewise.
24123 * include/sched.h: Likewise.
24124 * include/search.h: Likewise.
24125 * include/shadow.h: Likewise.
24126 * include/signal.h: Likewise.
24127 * include/stdio.h: Likewise.
24128 * include/stdlib.h: Likewise.
24129 * include/string.h: Likewise.
24130 * include/sys/socket.h: Likewise.
24131 * include/sys/stat.h: Likewise.
24132 * include/sys/statfs.h: Likewise.
24133 * include/sys/statvfs.h: Likewise.
24134 * include/sys/syslog.h: Likewise.
24135 * include/sys/time.h: Likewise.
24136 * include/sys/uio.h: Likewise.
24137 * include/time.h: Likewise.
24138 * include/unistd.h: Likewise.
24139 * include/utmp.h: Likewise.
24140 * include/wchar.h: Likewise.
24141 * include/wctype.h: Likewise.
24142 * inet/aliases.h: Likewise.
24143 * inet/arpa/inet.h: Likewise.
24144 * inet/netinet/ether.h: Likewise.
24145 * inet/netinet/in.h: Likewise.
24146 * intl/libintl.h: Likewise.
24147 * io/bits/fcntl2.h: Likewise.
24148 * io/fcntl.h: Likewise.
24149 * io/ftw.h: Likewise.
24150 * io/sys/poll.h: Likewise.
24151 * io/sys/stat.h: Likewise.
24152 * io/sys/statfs.h: Likewise.
24153 * io/sys/statvfs.h: Likewise.
24154 * io/utime.h: Likewise.
24155 * libio/bits/stdio.h: Likewise.
24156 * libio/bits/stdio2.h: Likewise.
24157 * libio/libio.h: Likewise.
24158 * libio/libioP.h: Likewise.
24159 * libio/stdio.h: Likewise.
24160 * locale/lc-ctype.c: Likewise.
24161 * locale/locale.h: Likewise.
24162 * login/utmp.h: Likewise.
24163 * malloc/arena.c: Likewise.
24164 * malloc/malloc.c: Likewise.
24165 * malloc/malloc.h: Likewise.
24166 * malloc/mcheck.c: Likewise.
24167 * malloc/mtrace.c: Likewise.
24168 * math/bits/mathcalls.h: Likewise.
24169 * math/fenv.h: Likewise.
24170 * math/math_private.h: Likewise.
24171 * misc/bits/error.h: Likewise.
24172 * misc/bits/syslog.h: Likewise.
24173 * misc/err.h: Likewise.
24174 * misc/error.h: Likewise.
24175 * misc/fstab.h: Likewise.
24176 * misc/mntent.h: Likewise.
24177 * misc/regexp.h: Likewise.
24178 * misc/search.h: Likewise.
24179 * misc/sgtty.h: Likewise.
24180 * misc/sys/mman.h: Likewise.
24181 * misc/sys/syslog.h: Likewise.
24182 * misc/sys/uio.h: Likewise.
24183 * misc/sys/xattr.h: Likewise.
24184 * misc/ttyent.h: Likewise.
24185 * nis/rpcsvc/ypclnt.h: Likewise.
24186 * nss/nss.h: Likewise.
24187 * posix/bits/unistd.h: Likewise.
24188 * posix/fnmatch.h: Likewise.
24189 * posix/glob.h: Likewise.
24190 * posix/sched.h: Likewise.
24191 * posix/spawn.h: Likewise.
24192 * posix/sys/wait.h: Likewise.
24193 * posix/unistd.h: Likewise.
24194 * posix/wordexp.h: Likewise.
24195 * pwd/pwd.h: Likewise.
24196 * resolv/netdb.h: Likewise.
24197 * resource/sys/resource.h: Likewise.
24198 * rt/aio.h: Likewise.
24199 * rt/bits/mqueue2.h: Likewise.
24200 * rt/mqueue.h: Likewise.
24201 * shadow/shadow.h: Likewise.
24202 * signal/signal.h: Likewise.
24203 * socket/send.c: Likewise.
24204 * socket/sendto.c: Likewise.
24205 * socket/sys/socket.h: Likewise.
24206 * stdio-common/printf.h: Likewise.
24207 * stdlib/bits/stdlib.h: Likewise.
24208 * stdlib/fmtmsg.h: Likewise.
24209 * stdlib/monetary.h: Likewise.
24210 * stdlib/stdlib.h: Likewise.
24211 * stdlib/ucontext.h: Likewise.
24212 * streams/stropts.h: Likewise.
24213 * string/argz.h: Likewise.
24214 * string/bits/string2.h: Likewise.
24215 * string/string.h: Likewise.
24216 * string/strings.h: Likewise.
24217 * sunrpc/rpc/auth.h: Likewise.
24218 * sunrpc/rpc/auth_des.h: Likewise.
24219 * sunrpc/rpc/clnt.h: Likewise.
24220 * sunrpc/rpc/netdb.h: Likewise.
24221 * sunrpc/rpc/pmap_clnt.h: Likewise.
24222 * sunrpc/rpc/xdr.h: Likewise.
24223 * sysdeps/generic/inttypes.h: Likewise.
24224 * sysdeps/generic/net/if.h: Likewise.
24225 * sysdeps/generic/sys/swap.h: Likewise.
24226 * sysdeps/gnu/net/if.h: Likewise.
24227 * sysdeps/gnu/utmpx.h: Likewise.
24228 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24229 * sysdeps/i386/i486/bits/string.h: Likewise.
24230 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24231 * sysdeps/s390/bits/string.h: Likewise.
24232 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24233 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24234 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24235 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24236 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24237 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24238 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24239 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24240 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24241 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24242 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24243 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24244 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24245 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24246 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24247 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24248 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24252 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24253 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24254 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24255 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24256 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24257 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24258 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24259 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24260 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24261 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24262 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24263 * sysvipc/sys/ipc.h: Likewise.
24264 * sysvipc/sys/msg.h: Likewise.
24265 * sysvipc/sys/sem.h: Likewise.
24266 * sysvipc/sys/shm.h: Likewise.
24267 * termios/termios.h: Likewise.
24268 * time/sys/time.h: Likewise.
24269 * time/time.h: Likewise.
24270 * wcsmbs/bits/wchar2.h: Likewise.
24271 * wcsmbs/uchar.h: Likewise.
24272 * wcsmbs/wchar.h: Likewise.
24273 * wctype/wctype.h: Likewise.
24276 * Makeconfig: Remove all but ELF support including AIX support.
24277 * Makerules: Likewise.
24278 * config.h.in: Likewise.
24279 * config.make.in: Likewise.
24280 * configure: Likewise.
24281 * configure.in: Likewise.
24282 * csu/Makefile: Likewise.
24283 * csu/version.c: Likewise.
24284 * debug/Makefile: Likewise.
24285 * dlfcn/Makefile: Likewise.
24286 * elf/Makefile: Likewise.
24287 * extra-lib.mk: Likewise.
24288 * iconv/Makefile: Likewise.
24289 * include/libc-symbols.h: Likewise.
24290 * include/shlib-compat.h: Likewise.
24291 * resolv/Makefile: Likewise.
24292 * resolv/res_libc.c: Likewise.
24293 * rt/Makefile: Likewise.
24294 * sysdeps/i386/asm-syntax.h: Likewise.
24295 * sysdeps/i386/sysdep.h: Likewise.
24296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24297 * sysdeps/mach/sysdep.h: Likewise.
24298 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24299 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24300 * sysdeps/s390/asm-syntax.h: Likewise.
24301 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24303 * sysdeps/sh/sysdep.h: Likewise.
24304 * sysdeps/unix/sparc/sysdep.h: Likewise.
24305 * sysdeps/wordsize-32/divdi3.c: Likewise.
24306 * sysdeps/x86_64/sysdep.h: Likewise.
24308 * argp/Versions: Remove _argp_unlock_xxx.
24311 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24312 * abilist/libBrokenLocale.abilist: Likewise.
24313 * abilist/libanl.abilist: Likewise.
24314 * abilist/libc.abilist: Likewise.
24315 * abilist/libcrypt.abilist: Likewise.
24316 * abilist/libdl.abilist: Likewise.
24317 * abilist/libm.abilist: Likewise.
24318 * abilist/libnsl.abilist: Likewise.
24319 * abilist/libpthread.abilist: Likewise.
24320 * abilist/libresolv.abilist: Likewise.
24321 * abilist/librt.abilist: Likewise.
24322 * abilist/libthread_db.abilist: Likewise.
24323 * abilist/libutil.abilist: Likewise.
24324 * abilist/libnss_db.abilist: New file.
24326 * scripts/abilist.awk: Add support for indirect functions.
24328 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24330 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24332 * shlib-versions: Remove entries for ports architectures.
24334 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24336 * elf/stackguard-macros.h: Remove support for IA-64.
24337 * elf/tst-auditmod1.c: Likewise.
24338 * sysdeps/generic/ldsodefs.h: Likewise.
24340 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24341 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24345 * configure.in: Remove --enable-omitfp support.
24347 * config.make.in: Likewise.
24348 * Makeconfig: Likewise.
24349 * manual/install.texi: Likewise.
24351 In case anyone cares, the IA-64 architecture could move to ports.
24352 * sysdeps/ia64/*: Removed.
24353 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24354 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24357 * configure.in: Remove entries for unsupported architectures.
24360 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24361 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24363 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24364 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24365 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24366 fall back to using wcrtomb.
24367 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24368 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24370 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24371 * wcsmbs/tst-c16c32-1.c: New file.
24373 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24376 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24378 * elf/tst-unique3.cc: Add explicit declaration of gets.
24379 * elf/tst-unique3lib.cc: Likewise.
24380 * elf/tst-unique3lib2.cc: Likewise.
24381 * elf/tst-unique4.cc: Likewise.
24383 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24385 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24388 * assert/assert.h (static_assert): Don't define for C++.
24389 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24390 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24392 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24394 * iconv/loop.c (single loop): Fix assertion in storing of
24397 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24399 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24401 * posix/getconf.c: Update copyright year.
24402 * nss/getent.c: Likewise.
24403 * nss/makedb.c: Likewise.
24404 * iconv/iconvconfig.c: Likewise.
24405 * iconv/iconv_prog.c: Likewise.
24406 * elf/ldconfig.c: Likewise.
24407 * elf/pldd.c: Likewise.
24408 * elf/sotruss.ksh: Likewise.
24409 * catgets/gencat.c: Likewise.
24410 * csu/version.c: Likewise.
24411 * elf/ldd.bash.in: Likewise.
24412 * elf/sprof.c (print_version): Likewise.
24413 * locale/programs/locale.c: Likewise.
24414 * locale/programs/localedef.c: Likewise.
24415 * login/programs/pt_chown.c: Likewise.
24416 * nscd/nscd.c (print_version): Likewise.
24417 * debug/xtrace.sh: Likewise.
24418 * malloc/memusage.sh: Likewise.
24419 * malloc/mtrace.pl: Likewise.
24420 * debug/catchsegv.sh: Likewise.
24422 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24424 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24427 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24430 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24431 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24433 * iconv/gconv_int.h: Likewise.
24434 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24435 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24436 from libc for GLIBC_2.16.
24437 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24438 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24439 * wcsmbs/uchar.h: Really define mbstate_t.
24440 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24441 * wcsmbs/c16rtomb.c: New file.
24442 * wcsmbs/mbrtoc16.c: New file.
24443 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24444 for C/POSIX locale.
24445 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24446 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24448 * wcsmbs/wchar.h: Add missing __restrict.
24450 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24453 * time/Makefile (routines): Add timespec_get.
24454 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24455 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24456 timespec for ISO C11.
24457 * time/timespec_get.c: New file.
24458 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24459 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24462 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24463 * stdlib/stdlib.h: Declare aligned_alloc.
24464 * Versions.def: Add GLIBC_2.16 for libc.
24465 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24468 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24471 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24475 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24478 * assert/assert.h (static_assert): Define.
24480 * version.h: Update for 2.16 development version.
24483 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24486 * version.h (RELEASE): Bump for 2.15 release.
24487 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24489 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24490 Patch by Marek Polacek <mpolacek@redhat.com>.
24492 * bits/byteswap.h: Protect long long constants with __extension__.
24493 * sysdeps/i386/bits/byteswap.h: Likewise.
24494 * sysdeps/ia64/bits/byteswap.h: Likewise.
24495 * sysdeps/s390/bits/byteswap.h: Likewise.
24496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24498 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24501 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24502 destination buffer.
24503 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24505 2011-12-23 Marek Polacek <polacek@redhat.com>
24507 * elf/dl-addr.c (determine_info): Add inline keyword.
24508 * elf/tst-auditmod4b.c (check_avx): Likewise.
24509 * elf/tst-auditmod6b.c (check_avx): Likewise.
24510 * elf/tst-auditmod6c.c (check_avx): Likewise.
24511 * elf/tst-auditmod7b.c (check_avx): Likewise.
24513 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24515 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24518 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24521 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24522 processing for last bytes.
24524 2011-08-06 Bruno Haible <bruno@clisp.org>
24527 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24528 U+0385, not to U+1FEE.
24531 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24532 entry for U+00A5 U+0301.
24534 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24537 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24538 buffer for the output is too small.
24540 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24544 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24545 SSE flags if possible.
24547 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24551 processing for last bytes.
24553 2011-12-22 Joseph Myers <joseph@codesourcery.com>
24555 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24556 (syscall-list-default-options, syscall-list-default-condition)
24557 (syscall-list-includes): Define.
24558 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24559 list of ABIs and options and #if conditions for each ABI. Do not
24560 handle common syscalls between ABIs specially.
24561 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24563 (syscall-list-variants, syscall-list-32bit-options)
24564 (syscall-list-32bit-condition, syscall-list-64bit-options)
24565 (syscall-list-64bit-condition): Define.
24566 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24567 (syscall-list-variants, syscall-list-32bit-options)
24568 (syscall-list-32bit-condition, syscall-list-64bit-options)
24569 (syscall-list-64bit-condition): Define.
24570 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24572 (syscall-list-variants, syscall-list-32bit-options)
24573 (syscall-list-32bit-condition, syscall-list-64bit-options)
24574 (syscall-list-64bit-condition): Define.
24575 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24577 (syscall-list-variants, syscall-list-32bit-options)
24578 (syscall-list-32bit-condition, syscall-list-64bit-options)
24579 (syscall-list-64bit-condition): Define.
24581 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24583 * locale/iso-639.def: Add brx entry.
24586 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24587 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24589 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24590 __feraiseexcept_renamed.
24592 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24595 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24596 EPOLLET with unsigned values.
24597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24600 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24601 to large cancellation.
24602 * math/s_cacoshf.c: Likewise.
24603 * math/s_cacoshl.c: Likewise.
24605 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24609 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24610 * math/s_cacoshf.c: Likewise.
24611 * math/s_cacoshl.c: Likewise.
24613 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24616 * iconv/gconv.h: Define __GCONV_SWAP.
24617 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24618 * iconvdata/utf-16.c: Likewise.
24619 * iconvdata/utf-32.c: Likewise.
24621 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24624 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24625 numerator after shifting it by one limb.
24627 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24629 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24630 under [__USE_EXTERN_INLINES].
24632 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24635 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24637 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24639 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24640 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24642 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24643 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24644 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24645 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24646 for strncasecmp/strncasecmp_l compilation.
24647 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24648 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24650 2011-12-08 Marek Polacek <mpolacek@redhat.com>
24653 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24656 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24659 * time/tzfile.c (__tzfile_read): Check values from file header.
24661 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24663 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24664 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24665 * powerpc/powerpc32/dl-start.S: Likewise.
24666 * powerpc/powerpc32/elf/start.S: Likewise.
24667 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24668 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24669 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24670 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24671 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24672 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24673 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24674 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24675 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24676 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24677 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24678 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24679 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24680 * powerpc/powerpc32/memset.S: Likewise.
24681 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24682 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24683 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24684 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24685 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24686 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24687 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24688 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24689 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24690 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24691 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24692 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24693 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24695 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24697 * math/libm-test.inc: Added more nearbyint tests.
24698 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24699 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24700 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24703 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24705 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24708 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24710 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24711 Add wcscpy-ssse3 wcscpy-c.
24712 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24713 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24714 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24715 * sysdeps/x86_64/wcschr.S: New file.
24716 * sysdeps/x86_64/wcsrchr.S: New file.
24717 * string/test-strcmp.c: Remove checking of wcscmp function for
24719 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24720 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24721 wcsrchr-sse2 wcsrchr-c.
24722 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24723 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24724 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24725 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24726 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24727 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24728 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24729 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24730 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24731 * wcsmbc/wcschr.c (WCSCHR): New macro.
24733 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24735 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24736 * wcsmbs/test-wcsrchr.c: New file.
24737 * string/test-strrchr.c: Add wcsrchr support.
24739 * wcsmbs/test-wcscpy.c: New file.
24740 * string/test-strcpy.c: Add wcscpy support.
24743 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24745 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24748 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24751 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24753 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24755 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24756 Minor optimizations.
24758 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24759 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24760 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24762 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24764 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24765 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24766 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24767 for gcc to avoid warnings.
24768 * inet/Makefile (tests): Add tst-checks.
24769 * inet/tst-checks.c: New file.
24771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24774 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24777 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24778 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24780 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24782 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24784 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24787 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24789 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24791 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24792 conditional on GCC version.
24793 (__arch_compare_and_exchange_val_8_acq)
24794 (__arch_compare_and_exchange_val_16_acq)
24795 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24796 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24797 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24799 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24801 * sysdeps/sh/backtrace.c: New file.
24803 2011-12-02 Andreas Schwab <schwab@redhat.com>
24805 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24808 2011-12-01 Andreas Schwab <schwab@redhat.com>
24810 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24811 falling back to utime.
24813 2011-11-30 Andreas Schwab <schwab@redhat.com>
24815 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24816 expectations for float.
24818 2011-11-29 Andreas Schwab <schwab@redhat.com>
24820 * locale/weight.h (findidx): Add parameter len.
24821 * locale/weightwc.h (findidx): Likewise.
24822 * posix/fnmatch_loop.c (FCT): Adjust caller.
24823 * posix/regcomp.c (build_equiv_class): Likewise.
24824 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24825 * posix/regexec.c (check_node_accept_bytes): Likewise.
24826 * string/strcoll_l.c (STRCOLL): Likewise.
24827 * string/strxfrm_l.c (STRXFRM): Likewise.
24829 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24831 * Makefile.in: Remove CVSOPT handling.
24832 * configure.in: Remove use of AC_REVISION.
24833 * iconvdata/Makefile (distribute): No need to filter out CVS.
24834 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24837 2011-11-16 Andreas Schwab <schwab@redhat.com>
24839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24840 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24841 [USE_AS_STRNCASECMP_L]: Likewise.
24842 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24843 NO_TLS_DIRECT_SEG_REFS.
24844 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24845 Fix argument offsets for non-PIC.
24846 [USE_AS_STRNCASECMP_L]: Likewise.
24847 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24848 NO_TLS_DIRECT_SEG_REFS.
24850 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24852 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24854 * locale/loadlocale.c (_nl_load_locale): Likewise.
24856 2011-11-15 Andreas Schwab <schwab@redhat.com>
24858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24859 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24861 (SYSCALL_GETTIME): Set errno on error.
24863 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24864 count references to noai6ai_cached.
24866 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24868 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24870 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24871 FD_CLOEXEC for /proc/self/maps.
24873 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24874 FD_CLOEXEC for /proc/meminfo.
24876 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24879 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24880 FD_CLOEXEC for given file.
24882 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24884 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24885 FD_CLOEXEC for /etc/hosts.
24886 (_gethtent): Likewise.
24888 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24890 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24891 cancellation and set FD_CLOEXEC for /etc/netgroup.
24893 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24894 reading /etc/publickey.
24896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24897 allow cancellation when reading /etc/group.
24899 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24901 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24903 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24904 when using data file.
24906 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24908 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24909 (write_nis_obj): Use "c" and "e" in fopen.
24911 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24913 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24915 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24917 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24919 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24922 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24924 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24926 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24928 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24929 file parsing and set FD_CLOEXEC.
24931 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24933 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24935 2011-11-14 Andreas Schwab <schwab@redhat.com>
24937 * malloc/arena.c (arena_get2): Don't call reused_arena when
24938 _int_new_arena failed.
24940 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24942 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24943 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24944 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24945 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24948 to compile strcasecmp and strncasecmp.
24949 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24950 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24954 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24956 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24957 locale-defines.sym to gen-as-const-headers.
24958 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24959 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24961 to compile strcasecmp and strncasecmp.
24962 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24963 strcasecmp_l and strncasecmp_l.
24964 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24965 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24966 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24967 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24968 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24969 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24970 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24971 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24972 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24973 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24974 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24976 2011-11-12 Ulrich Drepper <drepper@gmail.com>
24978 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24979 result of SYSDEP_GETTIME_CPU to retval.
24980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24981 parameter list to macro. Remove trailing semicolon. Adjust users.
24983 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24986 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24990 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24991 from unused variable.
24993 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24995 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24998 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25001 * sunrpc/rpc_prot.c (rejected): Fix case value.
25003 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25004 unsigned long long int to avoid warnings in shift.
25006 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25008 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25011 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25012 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25015 * nis/nis_table.c (nis_list): Use variable of correct type for
25016 result of __follow_path call.
25018 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25020 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25021 of math functions ceil, trunc, floor, round, and sqrt, when
25022 avaliable on the platform.
25023 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25025 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25026 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25027 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25029 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25031 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25034 2011-11-11 Roland McGrath <roland@hack.frob.com>
25036 * include/unistd.h: Fix __readlink return type.
25037 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25039 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25041 * stdlib/ucontext.h: Undo last change for makecontext.
25043 2011-11-11 Andreas Schwab <schwab@redhat.com>
25045 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25047 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25048 * setjmp/setjmp.h: Mark functions as non-leaf.
25049 * setjmp/bits/setjmp2.h: Likewise.
25050 * stdlib/ucontext.h: Likewise.
25052 2011-11-10 Andreas Schwab <schwab@redhat.com>
25054 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25055 (reused_arena): Don't check arena limit.
25056 (arena_get2): Atomically check arena limit.
25058 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25060 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25061 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25066 2011-11-07 Andreas Schwab <schwab@redhat.com>
25068 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25069 handler when locking.
25071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25072 Fix size of allocated buffer.
25074 2011-11-04 Andreas Schwab <schwab@redhat.com>
25077 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25078 declarations for long double functions.
25079 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25081 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25083 2011-11-03 Andreas Schwab <schwab@redhat.com>
25085 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25088 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25091 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25093 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25095 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25097 * include/alloca.h (stackinfo_alloca_round): Define.
25098 (extend_alloca): Use it.
25099 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25100 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25103 * scripts/check-local-headers.sh: Ignore libaudit.h.
25105 * nscd/Makefile (extra-objs): Make recursively expanded.
25107 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25109 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25112 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25113 * posix/tst-rfc3484-2.c: Likewise.
25114 * posix/tst-rfc3484-3.c: Likewise.
25116 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25118 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25120 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25121 process_vm_writev from libc using GLIBC_2.15 version.
25123 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25125 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25127 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25130 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25133 * nss/getent.c (initgroups_keys): Show error message in case no group
25136 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25137 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25138 __bump_nl_timestamp.
25139 * nscd/connections (nscd_init): When host database is served open
25140 netlink socket and request notification about configuration changes.
25141 (main_loop_poll): Track netlink file descriptor and bump timestamp
25142 in case data becomes available.
25143 (main_loop_epoll): Likewise.
25144 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25145 (database_pers_head): Add extra_data fileds.
25146 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25147 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25148 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25150 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25151 in6ai data, call __free_in6ai.
25152 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25153 Add -DHAVE_NETLINK.
25154 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25155 interface information. Reuse previous data if netlink timestamp
25157 (__bump_nl_timestamp): New function.
25158 (__free_in6ai): New function.
25160 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25163 close_not_cancel_no_status here.
25164 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25166 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25169 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25172 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25173 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25174 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25176 2011-07-03 Andreas Jaeger <aj@suse.de>
25179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25180 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25181 * math/libm-test.inc (sin_test): Add test case.
25183 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25186 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25187 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25189 * elf/chroot_canon.c (chroot_canon): Cleanups.
25191 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25194 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25195 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25197 * string/test-strchr.c: Make usable for strchrnul testing.
25198 * string/test-strchrnul.c: New file.
25199 * string/Makefile (strop-tests): Add strchrnul.
25201 * po/it.po: Update from translation team.
25202 * po/es.po: Likewise.
25204 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25206 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25207 the three constants needed as parameters. Drop the others.
25208 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25209 __m128i_strloadu_tolower.
25210 Create and initialize variable zero and use it in all the places
25211 where _mm_setzero_si128 was used.
25213 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25214 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25215 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25216 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25218 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25219 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25220 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25221 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25222 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25223 __mpranred, __mptan.
25224 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25225 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25226 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25227 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25228 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25229 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25230 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25231 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25232 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25234 2011-10-28 Andreas Schwab <schwab@redhat.com>
25236 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25237 redefine if SHARED.
25238 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25241 wide char related routines to wcsmbs subdir.
25243 2011-10-27 Andreas Schwab <schwab@redhat.com>
25246 * misc/sys/cdefs.h (__THROWNL): Define.
25247 * posix/unistd.h: Use __THREADNL instead of __THREAD
25248 for memory synchronization functions.
25250 2011-10-26 Roland McGrath <roland@hack.frob.com>
25253 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25255 * manual/stdio.texi (Obstack Streams): Node removed.
25257 2011-10-26 Andreas Schwab <schwab@redhat.com>
25259 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25260 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25261 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25263 * math/math_private.h (math_force_eval): Allow non-addressable
25265 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25267 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25269 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25270 file is not needed.
25272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25273 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25279 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25281 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25282 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25283 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25284 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25285 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25286 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25287 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25288 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25289 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25290 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25291 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25292 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25294 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25295 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25296 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25297 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25298 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25299 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25301 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25302 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25305 place. Use VEX encoding when compiling for AVX.
25307 2011-10-25 Andreas Schwab <schwab@redhat.com>
25309 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25310 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25312 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25314 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25316 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25317 useless if() expression.
25318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25319 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25327 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25328 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25329 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25330 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25331 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25332 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25333 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25334 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25336 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25338 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25340 2011-10-25 Andreas Schwab <schwab@redhat.com>
25342 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25344 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25346 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25348 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25349 .text section. Avoid duplicate constants.
25350 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25360 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25362 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25367 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25373 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25374 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25375 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25376 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25377 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25378 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25379 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25380 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25381 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25383 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25384 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25385 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25386 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25387 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25388 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25389 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25391 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25392 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25393 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25394 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25396 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25398 * sysdeps/x86_64/dla.h: Move to ...
25399 * sysdeps/x86_64/fpu/dla.h: ...here.
25400 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25401 situations. Use __builtin_fma only for gcc 4.6 and up.
25403 * config.make.in: Add have-mfma4 entry.
25404 * configure.in: Substitute libc_cv_cc_fma4.
25405 * math/Makefile (dbl-only-routines): Add sincostab.
25406 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25407 Use __sincostab not sincos.
25408 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25415 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25416 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25417 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25418 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25420 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25421 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25423 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25424 define aliases when function name is a macro.
25425 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25426 sysdeps/ieee754/dbl-64/sincos.tbl.
25427 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25428 fma4-enabled routines.
25429 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25430 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25431 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25432 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25433 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25434 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25436 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25437 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25438 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25439 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25440 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25441 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25442 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25444 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25445 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25446 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25447 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25449 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25450 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25452 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25453 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25456 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25458 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25460 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25471 2011-10-24 Andreas Schwab <schwab@redhat.com>
25473 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25475 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25479 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25481 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25483 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25484 Remove unused variable magic_bits.
25485 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25487 * string/strnlen.c: Define and use STRNLEN macro.
25488 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25489 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25490 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25491 * wcsmbs/wcslen.c: Define and use WCSLEN.
25492 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25493 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25494 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25495 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25496 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25497 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25498 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25500 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25503 strnlen-sse2-no-bsf.
25504 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25505 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25506 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25507 Add strnlen support.
25508 (USE_AS_STRNLEN): New macro.
25509 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25510 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25511 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25512 * sysdeps/x86_64/wcslen.S: New file.
25514 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25517 XMM-moves are used for copying on small sizes.
25519 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25521 * wcsmbs/Makefile (strop-tests): Add wcschr.
25522 * wcsmbs/test-wcschr.c: New file.
25523 * string/test-strchr.c: Update.
25524 Add wcschr support.
25527 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25529 * wcsmbs/Makefile (strop-tests): Add wcslen.
25530 * wcsmbs/test-wcslen.c: New file.
25531 * string/test-strlen.c: Update.
25532 Add wcslen support.
25535 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25537 * po/it.po: Update from translation team.
25539 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25541 * sysdeps/x86_64/wcscmp.S: Update.
25542 Fix wrong comparison semantics.
25543 wcscmp shall use signed comparison not unsigned.
25544 Don't use substraction to avoid overflow bug.
25545 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25546 * wcsmbc/wcscmp.c: Likewise.
25547 * string/test-strcmp.c: Likewise.
25548 Add new tests to check cases with negative values.
25550 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25552 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25553 * sysdeps/x86_64/dla.h: ...here. New file.
25554 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25564 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25567 __ynl_finite aliases.
25569 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25573 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25575 [DLA_FMA] (EMULV): Use DLA_FMA.
25576 [DLA_FMA] (MUL12): Use EMULV.
25577 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25578 that are not needed.
25579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25587 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25589 * math/s_nan.c: Undef __nan.
25590 * math/s_nanf.c: Undef __nanf.
25591 * math/s_nanl.c: Undef __nanl.
25592 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25595 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25597 * math/s_catan.c: Add branch predictions.
25598 * math/s_catanf.c: Likewise.
25599 * math/s_catanh.c: Likewise.
25600 * math/s_catanhf.c: Likewise.
25601 * math/s_catanhl.c: Likewise.
25602 * math/s_catanl.c: Likewise.
25603 * math/s_cexp.c: Likewise.
25604 * math/s_cexpf.c: Likewise.
25605 * math/s_cexpl.c: Likewise.
25606 * math/s_clog.c: Likewise.
25607 * math/s_clog10.c: Likewise.
25608 * math/s_clog10f.c: Likewise.
25609 * math/s_clog10l.c: Likewise.
25610 * math/s_clogf.c: Likewise.
25611 * math/s_clogl.c: Likewise.
25612 * math/s_csqrt.c: Likewise.
25613 * math/s_csqrtf.c: Likewise.
25614 * math/s_csqrtl.c: Likewise.
25615 * math/s_ctanf.c: Likewise.
25616 * math/s_ctanh.c: Likewise.
25617 * math/s_ctanhf.c: Likewise.
25618 * math/s_ctanhl.c: Likewise.
25619 * math/s_ctanl.c: Likewise.
25621 * math/math_private.h: Define __nan, __nanf, __nanl.
25622 * math/s_cacosh.c: Include <math_private.h>.
25623 * math/s_cacoshl.c: Likewise.
25624 * math/s_casinh.c: Likewise.
25625 * math/s_casinhf.c: Likewise.
25626 * math/s_casinhl.c: Likewise.
25627 * math/s_ccos.c: Rely entire on ccosh.
25628 * math/s_ccosf.c: Rely entire on ccoshf.
25629 * math/s_ccosl.c: Rely entirely on ccoshl.
25630 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25631 Remove tests for FE_INVALID.
25632 * math/s_ccoshf.c: Likewise.
25633 * math/s_ccoshl.c: Likewise.
25634 * math/s_csin.c: Likewise.
25635 * math/s_csinf.c: Likewise.
25636 * math/s_csinh.c Likewise.
25637 * math/s_csinhf.c: Likewise.
25638 * math/s_csinhl.c: Likewise.
25639 * math/s_csinl.c: Likewise.
25640 * math/s_ctan.c: Likewise.
25641 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25642 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25645 2011-10-21 Ulrich Drepper <drepper@gmail.com>
25647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25648 compilation problems.
25650 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25653 2011-10-20 Ulrich Drepper <drepper@gmail.com>
25655 * sysdeps/i386/configure.in: Test for -mfma4 option.
25656 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25657 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25658 COMMON_CPUID_INDEX_80000001.
25659 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25660 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25661 use it if FMA3 is not supported.
25662 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25664 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25665 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25667 2011-10-20 Andreas Schwab <schwab@redhat.com>
25670 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25671 it would create a cycle with a link time dependency.
25673 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25675 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25677 * string/Makefile (strop-tests): Add rawmemchr.
25678 * string/test-rawmemchr.c: New file.
25680 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25681 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25682 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25683 when compiling str{,n}casecmp and when AVX is available. Hook up
25684 new optimized code in initializers.
25686 2011-10-19 Andreas Schwab <schwab@redhat.com>
25688 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25689 __feraiseexcept instead of feraiseexcept.
25691 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25693 * math/math_private.h: Define defaults for libc_fetestexcept and
25695 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25696 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25697 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25698 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25699 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25700 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25701 libc_fetestexcept and libc_feupdateenv.
25703 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25704 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25705 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25706 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25707 libc_feholdexcept_setround.
25709 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25710 Add s_nearbyint-c and s_nearbyintf-c.
25711 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25712 nearbyintf inlines.
25713 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25715 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25716 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25718 * math/math_private.h: Define defaults for libc_fegetround,
25719 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25720 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25721 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25723 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25724 standard functions.
25725 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25726 Remove comments and hacks for old compiler versions.
25727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25728 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25729 libc_feholdexceptl.
25731 2011-10-18 Andreas Schwab <schwab@redhat.com>
25733 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25734 (__feraiseexcept_renamed): Add __NTH.
25735 (feraiseexcept): Add __NTH. Rename local variables to fix
25736 namespace violations.
25738 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25740 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25742 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25744 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25745 recently added interfaces.
25746 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25748 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25749 about macro parameter expansion.
25751 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25752 __NO_MATH_INLINES is defined. Cleanups.
25754 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25755 and __floorf is target has SSE4.1.
25756 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25757 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25758 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25759 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25761 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25763 (floorf): Likewise.
25765 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25767 2011-10-17 Andreas Schwab <schwab@redhat.com>
25769 * misc/sys/cdefs.h: Fix last change.
25771 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25774 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25776 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25778 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25780 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25786 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25787 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25788 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25789 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25790 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25791 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25792 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25793 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25794 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25795 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25796 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25797 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25798 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25799 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25801 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25802 ceil, ceilf, floor, floorf.
25804 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25805 Perform IRELATIVE relocations last.
25807 * elf/do-rel.h: Add another parameter nrelative, replacing the
25808 local variable with the same name. Change name of the function
25809 to end in Rel or Rela (uppercase).
25810 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25811 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25812 elf_dynamic_do_##reloc function.
25814 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25816 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25817 is sufficient, at least on modern CPUs.
25819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25821 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25822 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25824 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25826 * math/bits/math-finite.h: Add entries for exp.
25827 * math/e_expl.c: Add __*_finite alias.
25828 * sysdeps/i386/fpu/e_exp.S: Likewise.
25829 * sysdeps/i386/fpu/e_expf.S: Likewise.
25830 * sysdeps/i386/fpu/e_expl.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25832 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25833 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25836 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25837 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25839 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25840 is sufficient, at least on modern CPUs.
25842 * ctype/ctype-info.c (__ctype_init): Define.
25843 * include/ctype.h (__ctype_init): Declare.
25844 (__ctype_b_loc): The variable is always initialized.
25845 (__ctype_toupper_loc): Likewise.
25846 (__ctype_tolower_loc): Likewise.
25847 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25848 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25850 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25852 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25854 * configure.in: Also look in $cxxmachine/include for C++ system
25857 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25859 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25860 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25861 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25862 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25863 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25864 (USE_AS_WMEMCMP): New macro.
25866 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25867 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25868 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25869 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25871 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25872 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25873 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25874 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25875 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25876 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25877 (USE_AS_WMEMCMP): New macro.
25878 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25879 * sysdeps/string/test-memcmp.c: Update.
25880 Fix simple_wmemcmp.
25882 * wcsmbs/wmemcmp.c: Update.
25883 (WMEMCMP): New macro.
25886 2011-10-12 Andreas Jaeger <aj@suse.de>
25889 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25891 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25893 * libio/iofwide.c (do_length): Avoid warning.
25895 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25897 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25899 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25901 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25902 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25903 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25904 * sysdeps/i386/i686/fpu/e_log.S: New file.
25905 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25906 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25908 * ctype/ctype.h: Add support for inlined isXXX functions when
25909 compiling C++ code.
25911 2011-10-14 Andreas Schwab <schwab@redhat.com>
25913 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25915 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25917 2011-10-13 Roland McGrath <roland@hack.frob.com>
25920 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25922 2011-10-13 Andreas Schwab <schwab@redhat.com>
25924 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25925 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25928 * sysdeps/x86_64/memrchr.S: Check for zero size.
25930 * string/stratcliff.c: Add memrchr tests.
25932 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25935 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25936 rawmemchr-sse2 rawmemchr-sse2-bsf.
25937 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25938 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25939 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25940 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25941 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25942 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25943 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25944 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25945 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25946 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25947 * string/memrchr.c (MEMRCHR): New macro.
25949 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25951 Add integration with gcc's -ffinite-math-only and optimize wrapper
25953 * Versions.def: Define GLIBC_2.15 version for libm.
25954 * math/Makefile (headers): Add bits/math-finite.h.
25955 * math/bits/math-finite.h: New file.
25956 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25957 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25958 * math/e_acoshl.c: Add __*_finite alias.
25959 * math/e_acosl.c: Likewise.
25960 * math/e_asinl.c: Likewise.
25961 * math/e_atan2l.c: Likewise.
25962 * math/e_atanhl.c: Likewise.
25963 * math/e_coshl.c: Likewise.
25964 * math/e_exp10.c: Likewise.
25965 * math/e_exp10f.c: Likewise.
25966 * math/e_exp10l.c: Likewise.
25967 * math/e_exp2l.c: Likewise.
25968 * math/e_fmodl.c: Likewise.
25969 * math/e_gammal_r.c: Likewise.
25970 * math/e_hypotl.c: Likewise.
25971 * math/e_j0l.c: Likewise.
25972 * math/e_j1l.c: Likewise.
25973 * math/e_jnl.c: Likewise.
25974 * math/e_lgammal_r.c: Likewise.
25975 * math/e_log10l.c: Likewise.
25976 * math/e_log2l.c: Likewise.
25977 * math/e_logl.c: Likewise.
25978 * math/e_powl.c: Likewise.
25979 * math/e_sinhl.c: Likewise.
25980 * math/e_sqrtl.c: Likewise.
25981 * math/e_scalb.c: Completely rewritten and optimized.
25982 * math/e_scalbf.c: Likewise.
25983 * math/e_scalbl.c: Likewise.
25984 * math/w_acos.c: Likewise.
25985 * math/w_acosf.c: Likewise.
25986 * math/w_acosl.c: Likewise.
25987 * math/w_acosh.c: Likewise.
25988 * math/w_acoshf.c: Likewise.
25989 * math/w_acoshl.c: Likewise.
25990 * math/w_asin.c: Likewise.
25991 * math/w_asinf.c: Likewise.
25992 * math/w_asinl.c: Likewise.
25993 * math/w_atan2.c: Likewise.
25994 * math/w_atan2f.c: Likewise.
25995 * math/w_atan2l.c: Likewise.
25996 * math/w_atanh.c: Likewise.
25997 * math/w_atanhf.c: Likewise.
25998 * math/w_atanhl.c: Likewise.
25999 * math/w_exp10.c: Likewise.
26000 * math/w_exp10f.c: Likewise.
26001 * math/w_exp10l.c: Likewise.
26002 * math/w_fmod.c: Likewise.
26003 * math/w_fmodf.c: Likewise.
26004 * math/w_fmodl.c: Likewise.
26005 * math/w_j0.c: Likewise.
26006 * math/w_j0f.c: Likewise.
26007 * math/w_j0l.c: Likewise.
26008 * math/w_j1.c: Likewise.
26009 * math/w_j1f.c: Likewise.
26010 * math/w_j1l.c: Likewise.
26011 * math/w_jn.c: Likewise.
26012 * math/w_jnf.c: Likewise.
26013 * math/w_log.c: Likewise.
26014 * math/w_logf.c: Likewise.
26015 * math/w_logl.c: Likewise.
26016 * math/w_log10.c: Likewise.
26017 * math/w_log10f.c: Likewise.
26018 * math/w_log10l.c: Likewise.
26019 * math/w_log2.c: Likewise.
26020 * math/w_log2f.c: Likewise.
26021 * math/w_log2l.c: Likewise.
26022 * math/w_pow.c: Likewise.
26023 * math/w_powf.c: Likewise.
26024 * math/w_powl.c: Likewise.
26025 * math/w_remainder.c: Likewise.
26026 * math/w_remainderf.c: Likewise.
26027 * math/w_remainderl.c: Likewise.
26028 * math/w_scalb.c: Likewise.
26029 * math/w_scalbf.c: Likewise.
26030 * math/w_scalbl.c: Likewise.
26031 * math/w_sqrt.c: Likewise.
26032 * math/w_sqrtf.c: Likewise.
26033 * math/w_sqrtl.c: Likewise.
26034 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26035 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26037 * math/math_private.h: Declare __kernel_standard_f.
26038 * math/w_cosh.c: Remove cruft and optimize a bit.
26039 * math/w_coshf.c: Likewise.
26040 * math/w_coshl.c: Likewise.
26041 * math/w_exp2.c: Likewise.
26042 * math/w_exp2f.c: Likewise.
26043 * math/w_exp2l.c: Likewise.
26044 * math/w_hypot.c: Likewise.
26045 * math/w_hypotf.c: Likewise.
26046 * math/w_hypotl.c: Likewise.
26047 * math/w_lgamma.c: Likewise.
26048 * math/w_lgamma_r.c: Likewise.
26049 * math/w_lgammaf.c: Likewise.
26050 * math/w_lgammaf_r.c: Likewise.
26051 * math/w_lgammal.c: Likewise.
26052 * math/w_lgammal_r.c: Likewise.
26053 * math/w_sinh.c: Likewise.
26054 * math/w_sinhf.c: Likewise.
26055 * math/w_sinhl.c: Likewise.
26056 * math/w_tgamma.c: Likewise.
26057 * math/w_tgammaf.c: Likewise.
26058 * math/w_tgammal.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26061 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26062 Minor optimizations. Pretty printing. Remove cruft.
26063 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26064 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26065 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26066 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26067 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26068 * sysdeps/i386/fpu/e_asin.S: Likewise.
26069 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26070 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26071 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26072 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26073 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26074 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26076 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26077 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26078 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26079 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26080 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26081 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26082 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26083 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26084 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26085 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26086 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26087 * sysdeps/i386/fpu/e_log.S: Likewise.
26088 * sysdeps/i386/fpu/e_log10.S: Likewise.
26089 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26090 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26091 * sysdeps/i386/fpu/e_log2.S: Likewise.
26092 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26093 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26094 * sysdeps/i386/fpu/e_logf.S: Likewise.
26095 * sysdeps/i386/fpu/e_logl.S: Likewise.
26096 * sysdeps/i386/fpu/e_pow.S: Likewise.
26097 * sysdeps/i386/fpu/e_powf.S: Likewise.
26098 * sysdeps/i386/fpu/e_powl.S: Likewise.
26099 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26100 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26101 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26102 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26103 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26104 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26105 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26106 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26107 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26129 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26130 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26131 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26132 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26133 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26134 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26135 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26136 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26137 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26138 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26139 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26140 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26141 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26142 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26143 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26144 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26145 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26146 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26147 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26148 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26149 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26153 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26154 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26155 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26156 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26157 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26163 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26164 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26165 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26188 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26191 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26193 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26194 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26196 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26199 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26200 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26201 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26202 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26203 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26204 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26205 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26206 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26207 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26208 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26209 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26210 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26211 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26212 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26213 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26214 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26215 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26216 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26217 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26218 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26219 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26220 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26221 (__isnanf): Likewise.
26222 (__isinf_ns): Likewise.
26223 (__isinf_nsf): Likewise.
26224 (__finite): Likewise.
26225 (__finitef): Likewise.
26226 (__ieee754_sqrt): Define as macro.
26227 (__ieee754_sqrtf): Define as macro.
26228 (__ieee754_sqrtl): Define as macro.
26229 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26231 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26232 __FINITE_MATH_ONLY__ consistent.
26233 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26235 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26237 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26240 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26242 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26244 * po/ja.po: Update from translation team.
26246 2011-10-08 Roland McGrath <roland@hack.frob.com>
26248 * locale/programs/locarchive.c (prepare_address_space): New function.
26249 (create_archive, enlarge_archive, open_archive): Use it.
26251 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26252 inside [SHARED], where it is used.
26254 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26256 * nss/getent.c (netgroup_keys): Remove unused variable.
26257 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26259 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26261 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26262 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26264 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26265 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26266 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26267 * math/Makefile (libm-calls): Add s_isinf_ns.
26268 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26269 * math/multc3.c: Likewise.
26270 * math/s_casin.c: Likewise.
26271 * math/s_casinf.c: Likewise.
26272 * math/s_casinl.c: Likewise.
26273 * math/s_ccos.c: Likewise.
26274 * math/s_ccosf.c: Likewise.
26275 * math/s_ccosl.c: Likewise.
26276 * math/s_ctan.c: Likewise.
26277 * math/s_ctanf.c: Likewise.
26278 * math/s_ctanh.c: Likewise.
26279 * math/s_ctanhf.c: Likewise.
26280 * math/s_ctanhl.c: Likewise.
26281 * math/s_ctanl.c: Likewise.
26282 * math/w_fmod.c: Likewise.
26283 * math/w_fmodf.c: Likewise.
26284 * math/w_fmodl.c: Likewise.
26285 * math/w_remainder.c: Likewise.
26286 * math/w_remainderf.c: Likewise.
26287 * math/w_remainderl.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26289 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26290 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26292 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26293 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26294 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26295 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26297 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26299 * stdio-common/printf_fphex.c: Likewise.
26300 * stdio-common/printf_size.c: Likewise.
26302 * math/e_exp10.c: Include math_private.h using <...> not "...".
26303 * math/e_exp10f.c: Likewise.
26304 * math/e_exp10l.c: Likewise.
26305 * math/e_exp2l.c: Likewise.
26306 * math/e_j0l.c: Likewise.
26307 * math/e_j1l.c: Likewise.
26308 * math/e_jnl.c: Likewise.
26309 * math/e_lgammal_r.c: Likewise.
26310 * math/e_rem_pio2l.c: Likewise.
26311 * math/e_scalb.c: Likewise.
26312 * math/e_scalbf.c: Likewise.
26313 * math/e_scalbl.c: Likewise.
26314 * math/k_cosl.c: Likewise.
26315 * math/k_sinl.c: Likewise.
26316 * math/k_tanl.c: Likewise.
26317 * math/s_cacoshf.c: Likewise.
26318 * math/s_catan.c: Likewise.
26319 * math/s_catanf.c: Likewise.
26320 * math/s_catanh.c: Likewise.
26321 * math/s_catanhf.c: Likewise.
26322 * math/s_catanhl.c: Likewise.
26323 * math/s_catanl.c: Likewise.
26324 * math/s_ccosh.c: Likewise.
26325 * math/s_ccoshf.c: Likewise.
26326 * math/s_ccoshl.c: Likewise.
26327 * math/s_cexp.c: Likewise.
26328 * math/s_cexpf.c: Likewise.
26329 * math/s_cexpl.c: Likewise.
26330 * math/s_clog.c: Likewise.
26331 * math/s_clog10.c: Likewise.
26332 * math/s_clog10f.c: Likewise.
26333 * math/s_clog10l.c: Likewise.
26334 * math/s_clogf.c: Likewise.
26335 * math/s_clogl.c: Likewise.
26336 * math/s_csin.c: Likewise.
26337 * math/s_csinf.c: Likewise.
26338 * math/s_csinh.c: Likewise.
26339 * math/s_csinhf.c: Likewise.
26340 * math/s_csinhl.c: Likewise.
26341 * math/s_csinl.c: Likewise.
26342 * math/s_csqrt.c: Likewise.
26343 * math/s_csqrtf.c: Likewise.
26344 * math/s_csqrtl.c: Likewise.
26345 * math/s_ctan.c: Likewise.
26346 * math/s_ctanf.c: Likewise.
26347 * math/s_ctanh.c: Likewise.
26348 * math/s_ctanhf.c: Likewise.
26349 * math/s_ctanhl.c: Likewise.
26350 * math/s_ctanl.c: Likewise.
26351 * math/s_ldexp.c: Likewise.
26352 * math/s_ldexpf.c: Likewise.
26353 * math/s_ldexpl.c: Likewise.
26354 * math/s_significand.c: Likewise.
26355 * math/s_significandf.c: Likewise.
26356 * math/s_significandl.c: Likewise.
26357 * math/w_acos.c: Likewise.
26358 * math/w_acosf.c: Likewise.
26359 * math/w_acosh.c: Likewise.
26360 * math/w_acoshf.c: Likewise.
26361 * math/w_acoshl.c: Likewise.
26362 * math/w_acosl.c: Likewise.
26363 * math/w_asin.c: Likewise.
26364 * math/w_asinf.c: Likewise.
26365 * math/w_asinl.c: Likewise.
26366 * math/w_atan2.c: Likewise.
26367 * math/w_atan2f.c: Likewise.
26368 * math/w_atan2l.c: Likewise.
26369 * math/w_atanh.c: Likewise.
26370 * math/w_atanhf.c: Likewise.
26371 * math/w_atanhl.c: Likewise.
26372 * math/w_cosh.c: Likewise.
26373 * math/w_coshf.c: Likewise.
26374 * math/w_coshl.c: Likewise.
26375 * math/w_dremf.c: Likewise.
26376 * math/w_exp10.c: Likewise.
26377 * math/w_exp10f.c: Likewise.
26378 * math/w_exp10l.c: Likewise.
26379 * math/w_exp2.c: Likewise.
26380 * math/w_exp2f.c: Likewise.
26381 * math/w_fmod.c: Likewise.
26382 * math/w_fmodf.c: Likewise.
26383 * math/w_fmodl.c: Likewise.
26384 * math/w_hypot.c: Likewise.
26385 * math/w_hypotf.c: Likewise.
26386 * math/w_hypotl.c: Likewise.
26387 * math/w_j0.c: Likewise.
26388 * math/w_j0f.c: Likewise.
26389 * math/w_j0l.c: Likewise.
26390 * math/w_j1.c: Likewise.
26391 * math/w_j1f.c: Likewise.
26392 * math/w_j1l.c: Likewise.
26393 * math/w_jn.c: Likewise.
26394 * math/w_jnf.c: Likewise.
26395 * math/w_jnl.c: Likewise.
26396 * math/w_lgamma.c: Likewise.
26397 * math/w_lgamma_r.c: Likewise.
26398 * math/w_lgammaf.c: Likewise.
26399 * math/w_lgammaf_r.c: Likewise.
26400 * math/w_lgammal.c: Likewise.
26401 * math/w_lgammal_r.c: Likewise.
26402 * math/w_log.c: Likewise.
26403 * math/w_log10.c: Likewise.
26404 * math/w_log10f.c: Likewise.
26405 * math/w_log10l.c: Likewise.
26406 * math/w_log2.c: Likewise.
26407 * math/w_log2f.c: Likewise.
26408 * math/w_log2l.c: Likewise.
26409 * math/w_logf.c: Likewise.
26410 * math/w_logl.c: Likewise.
26411 * math/w_pow.c: Likewise.
26412 * math/w_powf.c: Likewise.
26413 * math/w_powl.c: Likewise.
26414 * math/w_remainder.c: Likewise.
26415 * math/w_remainderf.c: Likewise.
26416 * math/w_remainderl.c: Likewise.
26417 * math/w_scalb.c: Likewise.
26418 * math/w_scalbf.c: Likewise.
26419 * math/w_scalbl.c: Likewise.
26420 * math/w_sinh.c: Likewise.
26421 * math/w_sinhf.c: Likewise.
26422 * math/w_sinhl.c: Likewise.
26423 * math/w_sqrt.c: Likewise.
26424 * math/w_sqrtf.c: Likewise.
26425 * math/w_sqrtl.c: Likewise.
26426 * math/w_tgamma.c: Likewise.
26427 * math/w_tgammaf.c: Likewise.
26428 * math/w_tgammal.c: Likewise.
26430 * po/ja.po: Update from translation team.
26432 2011-09-29 Andreas Jaeger <aj@suse.de>
26435 * sunrpc/netname.c (netname2host): Fix logic.
26439 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26441 * math/w_remainder.c (__remainder): Likewise.
26442 * math/w_remainderf.c (__remainderf): Likewise.
26443 * math/libm-test.inc (remainder_test): Add test cases.
26445 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26447 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26450 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26452 * string/test-memcmp.c: Avoid unncessary #defines.
26453 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26455 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26457 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26458 Use new sse2 version for core i3 - i7 as it's faster
26459 than sse42 version.
26460 (bit_Prefer_PMINUB_for_stringop): New.
26461 * sysdeps/x86_64/rawmemchr.S: Update.
26462 Replace with faster SSE2 version.
26463 * sysdeps/x86_64/memrchr.S: New file.
26464 * sysdeps/x86_64/memchr.S: Update.
26465 Replace with faster SSE2 version.
26467 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26469 * elf/dl-load.c (lose): Add cast to avoid warning.
26471 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26473 * po/ca.po: Update from translation team.
26475 * inet/getnetgrent_r.c: Hook up nscd.
26476 * nscd/Makefile (routines): Add nscd_netgroup.
26477 (nscd-modules): Add netgroupcache.
26478 (CFLAGS-netgroupcache.c): Define.
26479 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26480 (cache_search): Add const to second parameter.
26481 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26483 (dbs): Add netgrdb entry.
26484 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26485 (verify_persistent_db): Handle netgrdb.
26486 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26487 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26489 (netgroup_response_header): Define.
26490 (innetgroup_response_header): Define.
26491 (datahead): Add netgroup_response_header and innetgroup_response_header
26493 * nscd/nscd.conf: Add entries for netgroup cache.
26494 * nscd/nscd.h (dbtype): Add netgrdb.
26495 (_PATH_NSCD_NETGROUP_DB): Define.
26496 (netgroup_iov_disabled): Declare.
26497 (xmalloc, xcalloc, xrealloc): Move declarations here.
26498 (cache_search): Adjust prototype.
26499 Add netgroup-related prototypes.
26500 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26501 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26502 (__nscd_innetgr): Declare.
26503 * nscd/selinux.c (perms): Use access_vector_t as element type and
26504 add netgroup-related initializers.
26505 * nscd/netgroupcache.c: New file.
26506 * nscd/nscd_netgroup.c: New file.
26507 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26508 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26509 For four parameters use innetgr.
26510 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26511 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26512 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26513 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26515 * nscd/connections.c (register_traced_file): Don't register file
26516 for disabled databases.
26518 2011-10-06 Ulrich Drepper <drepper@gmail.com>
26520 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26522 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26523 from tree and freeing node.
26525 2011-09-25 Jiri Olsa <jolsa@redhat.com>
26527 * nss/nsswitch.c (__nss_database_lookup): Handle
26528 nss_parse_service_list out of memory case.
26530 2011-09-15 Jiri Olsa <jolsa@redhat.com>
26532 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26533 out of memory case.
26535 2011-10-04 Andreas Schwab <schwab@redhat.com>
26537 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26538 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26540 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26541 elf_machine_rela, elf_machine_lazy_rel.
26542 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26543 (ELF_DYNAMIC_DO_REL): Likewise.
26544 (ELF_DYNAMIC_DO_RELA): Likewise.
26545 (ELF_DYNAMIC_RELOCATE): Likewise.
26546 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26547 to ELF_DYNAMIC_DO_REL.
26548 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26549 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26550 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26552 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26553 skip_ifunc, don't call ifunc function if non-zero.
26554 (elf_machine_rela): Likewise.
26555 (elf_machine_lazy_rel): Likewise.
26556 (elf_machine_lazy_rela): Likewise.
26557 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26558 (elf_machine_lazy_rel): Likewise.
26559 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26561 (elf_machine_lazy_rel): Likewise.
26562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26564 (elf_machine_lazy_rel): Likewise.
26565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26566 (elf_machine_lazy_rel): Likewise.
26567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26568 (elf_machine_lazy_rel): Likewise.
26569 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26570 (elf_machine_lazy_rel): Likewise.
26571 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26572 (elf_machine_lazy_rel): Likewise.
26573 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26574 (elf_machine_lazy_rel): Likewise.
26575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26576 (elf_machine_lazy_rel): Likewise.
26578 2011-09-28 Ulrich Drepper <drepper@gmail.com>
26580 * nss/nss_files/files-init.c (_nss_files_init): Use static
26581 initialization for all the *_traced_file variables.
26583 2011-09-28 Andreas Schwab <schwab@redhat.com>
26585 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26587 2011-09-27 Roland McGrath <roland@hack.frob.com>
26590 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26592 2011-09-27 Andreas Schwab <schwab@redhat.com>
26594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26595 Reread the line before reparsing it.
26597 2011-09-26 Andreas Schwab <schwab@redhat.com>
26599 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26601 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26602 Maxim Kuvyrkov <maxim@codesourcery.com>
26603 Joseph Myers <joseph@codesourcery.com>
26605 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26606 if needed for __stack_chk_guard.
26608 2011-09-19 Roland McGrath <roland@hack.frob.com>
26610 * sysdeps/posix/spawni.c (script_execute): Always define it.
26611 It will be optimized away if unused.
26612 (maybe_script_execute): New function.
26613 (__spawni): Call it.
26615 * Makerules: Don't include tls.make.
26616 (config-tls): Always set to thread.
26617 * tls.make.c: File removed.
26619 2011-09-19 Mike Frysinger <vapier@gentoo.org>
26621 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26622 * config.make.in (CPPFLAGS-config): New substituted variable.
26624 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26629 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26630 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26632 2011-09-15 Roland McGrath <roland@hack.frob.com>
26634 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26635 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26637 (CALL_FAIL): Likewise.
26638 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26639 (CALL_FAIL): Macro removed.
26640 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26642 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26644 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26645 for __FINITE_MATH_ONLY__ == 1.
26647 2011-09-15 Andreas Schwab <schwab@redhat.com>
26649 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26650 __ieee754_sqrt instead of sqrt.
26651 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26652 __ieee754_sqrtf instead of sqrtf.
26653 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26654 __floorf instead of floorf.
26655 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26656 __floorf, __truncf instead of floorf, truncf.
26658 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26660 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26662 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26663 __extern_always_inline.
26664 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26667 2011-09-14 Andreas Schwab <schwab@redhat.com>
26669 * elf/rtld.c (dl_main): Also relocate in dependency order when
26670 doing symbol dependency testing.
26672 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26675 Always define `refsym'.
26677 2011-09-13 Andreas Schwab <schwab@redhat.com>
26679 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26680 (__FD_ELT): Renamed from __FDELT.
26681 * misc/bits/select2.h (__FD_ELT): Likewise.
26682 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26683 __FD_MASK instead of __FDELT, __FDMASK.
26684 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26686 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26689 * elf/Makefile (gen-ldd): Fix pattern.
26691 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26692 (init_tls): Likewise.
26694 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26698 2011-09-12 Andreas Schwab <schwab@redhat.com>
26700 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26701 `struct cmsghdr *' instead of `void *'.
26702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26705 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26707 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26709 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26710 ldd_rewrite_script.
26712 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26714 * configure.in: Remove --with-tls option.
26715 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26716 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26717 out in case it is missing.
26718 * sysdeps/ia64/elf/configure.in: Likewise.
26719 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26720 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26721 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26722 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26723 * sysdeps/sh/elf/configure.in: Likewise.
26724 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26725 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26726 * sysdeps/x86_64/elf/configure.in: Likewise.
26727 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26728 * sysdeps/mach/hurd/tls.h: Likewise.
26731 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26734 * configure.in: Fix use of AC_INIT.
26736 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26738 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26740 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26742 * malloc/hooks.c: Likewise.
26745 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26746 variables statically.
26747 (narenas): Initialize.
26748 (list_lock): Initialize.
26749 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26750 initializtion of main_arena and list_lock. Small cleanups.
26751 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26752 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26753 Add initializers to main_arena and mp_.
26754 (malloc_state): Remove pagesize member. Change all users to use
26757 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26758 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26759 is always initialized.
26761 * malloc/malloc.c: Removed unused configurations and dead code.
26762 * malloc/arena.c: Likewise.
26763 * malloc/hooks.c: Likewise.
26764 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26766 * include/tls.h: Removed. USE___THREAD must always be defined.
26767 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26768 * elf/dl-libc.c: Likewise.
26769 * elf/dl-tsd.c: Likewise.
26770 * include/errno.h: Likewise.
26771 * include/netdb.h: Likewise.
26772 * include/resolv.h: Likewise.
26773 * inet/herrno-loc.c: Likewise.
26774 * inet/herrno.c: Likewise.
26775 * malloc/arena.c: Likewise.
26776 * malloc/hooks.c: Likewise.
26777 * malloc/malloc.c: Likewise.
26778 * resolv/res-state.c: Likewise.
26779 * resolv/res_libc.c: Likewise.
26780 * sysdeps/i386/dl-machine.h: Likewise.
26781 * sysdeps/ia64/dl-machine.h: Likewise.
26782 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26783 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26784 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26785 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26786 * sysdeps/sh/dl-machine.h: Likewise.
26787 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26788 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26789 * sysdeps/unix/i386/sysdep.S: Likewise.
26790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26791 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26796 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26801 * sysdeps/x86_64/dl-machine.h: Likewise.
26802 * tls.make.c: Likewise.
26804 * configure.in: Remove --with-__thread option. Make tests for
26805 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26806 tls_model attribute fail if no support is available. Remove
26808 * Makeconfig: Adjust for dropped configure option. All features are
26810 * Makerules: Likewise.
26811 * Versions.def: Likewise.
26812 * argp/argp-fmtstream.c: Likewise.
26813 * argp/argp-fmtstream.h: Likewise.
26814 * argp/argp-help.c: Likewise.
26815 * assert/assert.c: Likewise.
26816 * config.h.in: Likewise.
26817 * config.make.in: Likewise.
26818 * configure: Likewise.
26819 * configure.in: Likewise.
26820 * csu/Versions: Likewise.
26821 * csu/init.c: Likewise.
26822 * elf/tst-audit2.c: Likewise.
26823 * elf/tst-tls10.c: Likewise.
26824 * elf/tst-tls10.h: Likewise.
26825 * elf/tst-tls11.c: Likewise.
26826 * elf/tst-tls12.c: Likewise.
26827 * elf/tst-tls14.c: Likewise.
26828 * elf/tst-tlsmod11.c: Likewise.
26829 * elf/tst-tlsmod12.c: Likewise.
26830 * elf/tst-tlsmod13.c: Likewise.
26831 * elf/tst-tlsmod13a.c: Likewise.
26832 * elf/tst-tlsmod14a.c: Likewise.
26833 * elf/tst-tlsmod15b.c: Likewise.
26834 * elf/tst-tlsmod16a.c: Likewise.
26835 * elf/tst-tlsmod16b.c: Likewise.
26836 * elf/tst-tlsmod7.c: Likewise.
26837 * elf/tst-tlsmod8.c: Likewise.
26838 * elf/tst-tlsmod9.c: Likewise.
26839 * gmon/gmon.c: Likewise.
26840 * grp/fgetgrent_r.c: Likewise.
26841 * grp/putgrent.c: Likewise.
26842 * hurd/fopenport.c: Likewise.
26843 * include/libc-symbols.h: Likewise.
26844 * include/tls.h: Likewise.
26845 * intl/gettextP.h: Likewise.
26846 * intl/loadinfo.h: Likewise.
26847 * locale/global-locale.c: Likewise.
26848 * locale/localeinfo.h: Likewise.
26849 * mach/devstream.c: Likewise.
26850 * malloc/arena.c: Likewise.
26851 * malloc/set-freeres.c: Likewise.
26852 * misc/err.c: Likewise.
26853 * misc/getttyent.c: Likewise.
26854 * misc/mntent_r.c: Likewise.
26855 * posix/getopt.c: Likewise.
26856 * posix/wordexp.c: Likewise.
26857 * pwd/fgetpwent_r.c: Likewise.
26858 * resolv/Versions: Likewise.
26859 * resolv/res_hconf.c: Likewise.
26860 * shadow/fgetspent_r.c: Likewise.
26861 * shadow/putspent.c: Likewise.
26862 * stdio-common/printf_fphex.c: Likewise.
26863 * stdio-common/tmpfile.c: Likewise.
26864 * stdlib/abort.c: Likewise.
26865 * stdlib/fmtmsg.c: Likewise.
26866 * sunrpc/auth_unix.c: Likewise.
26867 * sunrpc/clnt_perr.c: Likewise.
26868 * sunrpc/clnt_tcp.c: Likewise.
26869 * sunrpc/clnt_udp.c: Likewise.
26870 * sunrpc/clnt_unix.c: Likewise.
26871 * sunrpc/openchild.c: Likewise.
26872 * sunrpc/svc_simple.c: Likewise.
26873 * sunrpc/svc_tcp.c: Likewise.
26874 * sunrpc/svc_udp.c: Likewise.
26875 * sunrpc/svc_unix.c: Likewise.
26876 * sunrpc/xdr.c: Likewise.
26877 * sunrpc/xdr_array.c: Likewise.
26878 * sunrpc/xdr_rec.c: Likewise.
26879 * sunrpc/xdr_ref.c: Likewise.
26880 * sunrpc/xdr_stdio.c: Likewise.
26882 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26884 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26886 2011-07-03 Andreas Jaeger <aj@suse.de>
26888 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26889 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26890 regenerate with gen-libm-tests.pl.
26892 2010-05-12 Petr Baudis <pasky@suse.cz>
26895 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26896 around j0() zero points by switching to j1().
26897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26902 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26904 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26906 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26909 Patch in part by Pavel Roskin <proski@gnu.org>.
26912 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26914 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26915 Free memory block if necessary.
26918 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26919 be NULL. Don't lock in this case.
26921 2011-09-09 Roland McGrath <roland@hack.frob.com>
26923 * elf/elf.h (ELFOSABI_GNU): New macro.
26924 (ELFOSABI_LINUX): Define to that.
26926 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26928 * string/strncat.c (strncat): Undef the symbol in case it has been
26929 defined in bits/string.h.
26931 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26933 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26935 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26938 2011-08-17 Andreas Jaeger <aj@suse.de>
26940 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26942 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26943 Ian Lance Taylor <iant@google.com>
26945 * math/libm-test.inc (lround_test): New testcase.
26946 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26948 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26950 * Makefile: Remove support for automatic cvs check-ins.
26951 * Makerules: Likewise.
26952 * config.make.in: Likewise.
26953 * configure.in: Likewise.
26954 * intl/Makefile: Likewise.
26955 * locale/Makefile: Likewise.
26956 * po/Makefile: Likewise.
26957 * posix/Makefile: Likewise.
26958 * sysdeps/gnu/Makefile: Likewise.
26959 * sysdeps/mach/hurd/Makefile: Likewise.
26960 * sysdeps/sparc/sparc32/Makefile: Likewise.
26963 * posix/Makefile (bug-regex32-ENV): Define.
26964 Patch by John Stanley <jpsinthemix@verizon.net>.
26966 * misc/Makefile (headers): Add bits/select2.h.
26967 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26968 * misc/bits/select2.h: New file.
26969 * include/bits/select2.h: New file.
26970 * debug/Makefile (routines): Add fdelt_chk.
26971 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26972 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26974 * debug/fdelt_chk.c: New file.
26976 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26977 * wcsmbs/test-wmemcmp.c: Likewise.
26978 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26979 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26981 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26983 * string/Makefile (strop-tests): Add memcmp.
26984 * string/test-wmemcmp.c: New file.
26985 * string/test-memcmp.c: Add wmemcmp support.
26987 2011-09-08 Roland McGrath <roland@hack.frob.com>
26990 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26993 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26994 garbage value in a __mach_port_mod_refs call in the cases of the
26995 task-self and thread-self ports.
26997 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26999 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27001 2011-09-08 Andreas Schwab <schwab@redhat.com>
27003 * elf/dl-load.c (lose): Check for non-null L.
27005 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27007 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27009 * elf/dl-libc.c (dlerror_run): Pass back error code from
27013 * elf/dl-load.c (lose): Free l_origin if it is valid.
27015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27017 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27020 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27021 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27022 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27024 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27026 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27027 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27028 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27029 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27030 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27031 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27032 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27033 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27034 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27035 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27037 2011-08-15 Alan Modra <amodra@gmail.com>
27040 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27041 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27042 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27043 ppc_mcount to static-only-routines.
27044 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27046 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27047 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27049 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27051 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27052 for finite and infinity parameters.
27054 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27057 and add nop instructions for throughput optimization.
27058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27060 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27062 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27063 aligned copy for power7 with vector-scalar instructions.
27064 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27066 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27071 2011-09-07 Andreas Schwab <schwab@redhat.com>
27074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27077 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27080 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27081 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27085 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27088 Forgot to demangle the pointer.
27090 * sysdeps/i386/sysdep.h: Define atom_text_section.
27091 * sysdeps/x86_64/sysdep.h: Likewise.
27092 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27093 section with atom_text_section.
27094 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27095 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27096 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27097 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27098 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27101 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27102 already be defined. Change to take two parameters and don't assign
27103 result to variable. Adjust all users.
27104 Define INTERNAL_GETTIME if not already defined.
27105 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27108 HAVE_CLOCK_GETTIME_VSYSCALL.
27109 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27112 gettimeofday vsyscall, just use time.
27114 2011-09-06 Andreas Schwab <schwab@redhat.com>
27116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27119 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27121 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27125 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27127 syscall if possible.
27129 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27131 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27132 e_ident. Don't pass to find_mapsXX.
27133 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27135 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27138 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27139 * sysdeps/x86_64/multiarch/strchr.S: Update.
27140 Check bit_slow_BSF bit.
27141 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27143 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27145 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27148 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27150 (tryshell): Define.
27151 (__spawni): Change last parameter to be flag. Test
27152 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27153 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27154 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27155 * posix/spawni.c: Likewise.
27156 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27157 * posix/spawnp.c: Likewise. Change normal version to use
27158 SPAWN_XFLAGS_USE_PATH.
27159 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27160 SPAWN_XFLAGS_TRY_SHELL.
27163 * posix/glob.h: Remove gcc 1.x support.
27166 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27168 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27171 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27173 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27174 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27175 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27176 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27177 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27180 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27182 * sysdeps/x86_64/wcscmp.S: New file.
27184 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27185 wcscmp-c wcscmp-sse2
27186 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27187 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27188 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27189 * wcsmbs/wcscmp.c: Allow renaming.
27191 2011-09-05 David S. Miller <davem@davemloft.net>
27193 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27194 stack slot, rather than the struct return pointer slot.
27195 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27196 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27198 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27200 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27202 * po/ja.po: Update from translation team.
27205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27206 kernel in 64-bit binaries.
27208 2011-09-01 David S. Miller <davem@davemloft.net>
27210 * elf/elf.h (HWCAP_SPARC_*): Move to..
27211 * sysdeps/sparc/sysdep.h: this new file and add new values.
27212 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27213 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27214 _DL_HWCAP_COUNT to 24.
27215 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27217 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27218 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27219 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27221 instead of magic constants.
27222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27224 2011-08-31 David S. Miller <davem@davemloft.net>
27226 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27228 Reimplement to do errno handling inline.
27229 (SYSCALL_ERROR_HANDLER): New macro.
27230 (__SYSCALL_STRING): Do not do errno handling in asm.
27231 (__CLONE_SYSCALL_STRING): Delete.
27232 (__INTERNAL_SYSCALL_STRING): Delete.
27233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27234 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27235 (PSEUDO): Reimplement to do errno handling inline.
27236 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27237 (SYSCALL_ERROR_HANDLER): New macro.
27238 (__SYSCALL_STRING): Do not do errno handling in asm.
27239 (__CLONE_SYSCALL_STRING): Delete.
27240 (__INTERNAL_SYSCALL_STRING): Delete.
27241 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27242 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27244 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27245 (inline_syscall*): Add 'err' argument.
27246 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27247 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27248 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27249 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27251 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27254 2011-08-30 Andreas Schwab <schwab@redhat.com>
27256 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27258 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27260 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27263 2011-08-24 David S. Miller <davem@davemloft.net>
27265 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27267 2011-08-24 Andreas Schwab <schwab@redhat.com>
27269 * elf/Makefile: Add rules to build and run unload8 test.
27270 * elf/unload8.c: New file.
27271 * elf/unload8mod1.c: New file.
27272 * elf/unload8mod1x.c: New file.
27273 * elf/unload8mod2.c: New file.
27274 * elf/unload8mod3.c: New file.
27276 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27279 2011-08-23 David S. Miller <davem@davemloft.net>
27281 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27282 subtract stack bias.
27283 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27284 %sp not %fp in calculations.
27285 (_JMPBUF_UNWINDS_ADJ): Likewise.
27287 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27288 (aio_suspend): Call it to force an exception region around the
27289 AIO_MISC_WAIT() invocation.
27291 2011-08-23 Andreas Schwab <schwab@redhat.com>
27293 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27296 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27298 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27300 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27301 and <dl-machine.h>.
27302 (Elf64_FuncDesc): Remove.
27304 2011-08-22 David S. Miller <davem@davemloft.net>
27306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27307 sigaltstack check, add missing cfi directives.
27308 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27309 missing cfi directives, and sigaltstack handling.
27311 2011-08-16 Andreas Schwab <schwab@redhat.com>
27314 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27315 object is seen twice.
27316 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27318 * elf/Makefile (distribute): Add tst-initorder2.c.
27319 (tests): Add tst-initorder2.
27320 (modules-names): Add tst-initorder2a tst-initorder2b
27321 tst-initorder2c tst-initorder2d. Add rules to build them.
27322 ($(objpfx)tst-initorder2.out): New rule.
27323 * elf/tst-initorder2.c: New file.
27324 * elf/tst-initorder2.exp: New file.
27326 2011-08-22 Andreas Schwab <schwab@redhat.com>
27328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27330 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27331 dependencies back to end of function.
27333 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27334 $(elfobjdir)/ld.so.
27336 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27339 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27340 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27341 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27342 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27343 of __vdso_gettimeofday.
27344 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27345 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27347 (_libc_vdso_platform_setup): Remove initialization of
27348 __vdso_gettimeofday and __vdso_time.
27350 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27352 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27353 and fgetc_unlocked.
27354 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27357 * elf/dl-open.c (add_to_global): Report additions to the global scope
27358 for LD_DEBUG=scopes.
27359 (dl_open_worker): Also print scope of newly loaded dependencies.
27360 (_dl_show_scope): Indicate if there is no scope.
27363 * stdio-common/Makefile (tests): Add bug24.
27364 * stdio-common/bug24.c: New file.
27366 2011-08-19 Andreas Jaeger <aj@suse.de>
27369 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27370 non-existant file when using close-on-exec mode.
27372 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27375 the very first instruction.
27377 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27378 the CFI state in the end.
27379 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27380 inclusion of dl-trampoline.h.
27381 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27383 2011-08-19 Andreas Schwab <schwab@redhat.com>
27385 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27386 expectations for long double.
27388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27389 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27391 2011-08-14 David S. Miller <davem@davemloft.net>
27393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27394 artificual limit depends upon the system page size.
27396 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27398 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27399 * resolv/Makefile: Define CFLAGS-libresolv.
27401 2011-08-17 Andreas Schwab <schwab@redhat.com>
27403 * nss/makedb.c (compute_tables): Make variables used in nested
27406 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27408 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27409 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27410 if buffer was too small.
27412 * elf/pldd.c (main): Attach to all threads in the process.
27413 Rewrite /proc handling to use *at functions.
27415 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27417 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27418 specifies first scope to show.
27419 (dl_open_worker): Update callers. Move printing scope of new
27420 object to before the relocation.
27421 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27422 * sysdeps/generic/ldsodefs.h: Update declaration.
27424 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27425 string for the scope number.
27427 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27429 * nscd/servicescache.c (cache_addserv): Make sure written is always
27432 2011-08-14 Roland McGrath <roland@hack.frob.com>
27434 * sysdeps/i386/i486/bits/atomic.h
27435 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27436 statement expression, so as to suppress "set but not used" warning.
27437 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27439 * string/strncat.c (STRNCAT): Use prototype definition.
27441 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27442 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27444 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27445 (localedef-modules): Add localedef.
27446 (locale-modules): Add locale.
27448 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27449 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27450 to avoid a warning.
27452 2011-08-14 David S. Miller <davem@davemloft.net>
27454 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27455 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27457 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27459 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27460 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27461 * elf/rtld.c (dl_main): Set l_name of vDSO.
27462 Call _dl_show_scope when DL_DEBUG_SCOPES.
27463 (process_dl_debug): Recognize scopes flag and also set it for all.
27464 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27465 Declare _dl_show_scope.
27467 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27468 (do_dlopen): Pass caller_dlopen to dl_open.
27469 (__libc_dlopen_mode): Initialize caller_dlopen.
27471 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27472 of libc. Make tolower call locale-independent. Optimize a bit by
27473 using isdigit instead of isalnum.
27474 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27476 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27478 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27479 was a dependency or dynamically loaded.
27481 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27483 * intl/l10nflist.c: Allow architecture-specific pop function.
27484 * sysdeps/x86_64/l10nflist.c: New file.
27486 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27489 2011-08-10 Andreas Schwab <schwab@redhat.com>
27491 * include/dirent.h: Add libc_hidden_proto for scandirat and
27492 scandirat64. Don't declare __scandirat64.
27493 * dirent/scandirat.c: Add libc_hidden_def.
27494 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27495 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27497 2011-08-10 David S. Miller <davem@davemloft.net>
27499 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27501 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27505 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27507 * Versions.def [libc]: Add GLIBC_2.15.
27508 * dirent/Makefile (routines): Add scandirat and scandirat64.
27509 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27511 * dirent/dirent.h: Declare scandirat and scandirat64.
27512 * dirent/scandirat.c: New file.
27513 * dirent/scandirat64.c: New file.
27514 * sysdeps/wordsize-64/scandirat.c: New file.
27515 * sysdeps/wordsize-64/scandirat64.c: New file.
27516 * dirent/opendir.c: Define opendirat.
27517 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27519 * dirent/scandir64.c: Adjust for scandir.c change.
27520 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27521 __scandirat64, and __scandir_cancel_handler.
27522 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27523 additional parameter and use openat instead of open (outside of ld.so).
27524 Add new __opendir as wrapper around __opendirat.
27525 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27526 here without requiring old scandirat implementation.
27528 2011-08-08 Ulrich Drepper <drepper@gmail.com>
27530 * dirent/scandir.c (cancel_handler): Renamed to
27531 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27532 defined. Adjust users.
27533 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27534 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27536 2011-08-04 Ulrich Drepper <drepper@gmail.com>
27538 * string/test-string.h (IMPL): Use __STRING to expand name and then
27541 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27544 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27546 * string/Makefile: Update.
27547 (strop-tests): Append strncat.
27548 * string/test-wcscmp.c: New file.
27549 New comprehensive test for wcscmp.
27550 * string/test-strcmp.c: Update.
27551 (WIDE): New define.
27553 2011-07-22 Andreas Schwab <schwab@redhat.com>
27555 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27558 2011-07-26 Andreas Schwab <schwab@redhat.com>
27560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27561 encoding to ACE if AI_IDN.
27563 2011-08-01 Jakub Jelinek <jakub@redhat.com>
27565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27566 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27568 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27571 Fix overflow bug in strncat.
27572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27574 * string/test-strncat.c: Update.
27575 Add new tests for checking overflow bugs.
27577 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27580 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27581 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27582 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27583 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27584 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27585 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27586 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27587 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27590 (USE_AS_STRCAT): Define.
27591 Add strcat and strncat support.
27592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27594 2011-07-25 Andreas Schwab <schwab@redhat.com>
27596 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27597 __n bigger than INT_MAX+1.
27598 (__strncmp_g): Likewise.
27600 2011-07-23 Ulrich Drepper <drepper@gmail.com>
27602 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27603 * libio/stido.h: Likewise.
27605 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27610 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27613 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27617 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27622 (_dl_x86_64_save_sse): Likewise.
27624 2011-07-22 Ulrich Drepper <drepper@gmail.com>
27626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27628 (_dl_x86_64_save_sse): Likewise.
27630 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27632 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27634 2011-07-21 Andreas Schwab <schwab@redhat.com>
27636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27638 (_dl_x86_64_save_sse): Use correct AVX check.
27640 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27643 bug in strncpy/strncat.
27644 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27646 2011-07-21 Ulrich Drepper <drepper@gmail.com>
27648 * string/tester.c (test_strcat): Add tests for different alignments
27649 of source and destination.
27650 (test_strncat): Likewise.
27652 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27655 * posix/glob.c (glob): Check passed in values before using them in
27656 expressions to avoid some overflows.
27657 (glob_in_dir): Likewise.
27660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27661 check for AVX enablement so that we don't crash with old kernels and
27663 * elf/tst-audit4.c: Add same checks here.
27664 * elf/tst-audit6.c: Likewise.
27666 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27668 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27670 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27672 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27674 * po/cs.po: Update from translation team.
27675 * po/bg.po: Likewise.
27677 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27679 * misc/sys/cdefs.h: Add support for const attribute.
27680 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27681 to gnu_dev_{major,minor,makedev} functions.
27683 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27685 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27687 2011-07-20 Andreas Schwab <schwab@redhat.com>
27689 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27692 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27695 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27696 register in order to avoid conflicts with the soft frame pointer
27697 being held in r11 when necessary.
27698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27699 (INTERNAL_VSYSCALL_NCS): Likewise.
27701 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27703 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27704 * elf/dl-fini.c (_dl_fini): Adjust caller.
27705 * elf/dl-close.c (_dl_close_worker): Likewise.
27706 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27708 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27710 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27711 "aux_cache->nlibs < 0".
27713 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27714 in the reload-count case.
27716 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27719 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27720 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27721 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27722 * sysdeps/x86_64/multiarch/strcat.S: New file.
27723 * sysdeps/x86_64/multiarch/strncat.S: New file.
27724 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27725 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27726 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27727 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27729 (USE_AS_STRCAT): Define.
27730 Add strcat and strncat support.
27731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27733 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27734 * string/strncat.c: Update.
27735 (USE_AS_STRNCAT): Define.
27736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27737 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27739 * sysdeps/x86_64/multiarch/init-arch.h
27740 (bit_Prefer_PMINUB_for_stringop): New.
27741 (index_Prefer_PMINUB_for_stringop): Likewise.
27742 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27743 bit_Prefer_PMINUB_for_stringop.
27745 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27747 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27749 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27750 of casting of buffer.
27751 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27752 buffer32 and buffer64.
27753 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27754 writes instead of casting of buffer.
27755 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27757 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27760 2011-07-19 Andreas Schwab <schwab@redhat.com>
27762 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27764 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27766 * nscd/nscd.c (termination_handler): Don't do anything for a database
27767 if it has not yet been initialized.
27769 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27771 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27773 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27775 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27777 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27779 * po/nl.po: Update from translation team.
27780 * po/sv.po: Likewise.
27782 2011-07-16 Roland McGrath <roland@hack.frob.com>
27784 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27785 now disallowed by GCC.
27787 * configure.in (use-default-link): Default to yes if a test -shared
27788 link meets our qualifications.
27789 * configure: Regenerated.
27791 * config.make.in (output-format): New variable.
27792 * configure.in: Check for ld --print-output-format support.
27793 * configure: Regenerated.
27794 * Makerules ($(common-objpfx)format.lds)
27795 [$(output-format) != unknown]: Just use $(output-format),
27796 instead of the linker-script munging.
27798 2011-07-14 Roland McGrath <roland@hack.frob.com>
27800 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27801 of $(common-objpfx)shlib.lds.
27802 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27804 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27805 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27807 * configure.in (-z relro check): Adjust test code to add a large
27808 writable data section after it.
27809 * configure: Regenerated.
27811 2011-07-11 Roland McGrath <roland@hack.frob.com>
27813 * configure.in (-z relro check): Fix test code to make the variable
27815 * configure: Regenerated.
27817 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27819 * nscd/nscd.h (struct traced_file): Define.
27820 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27821 elements. Add traced_files.
27822 (inotify_fd): Declare.
27823 (register_traced_file): Declare.
27824 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27825 (inotify_fd): Export.
27826 (resolv_conf_descr): Remove.
27827 (nscd_init): Move inotify descriptor creation to main.
27828 Don't register files for notification here.
27829 (register_traced_file): New function.
27830 (invalidate_cache): Don't use reset_res to determine whether to call
27831 res_init, go through the list of registered files.
27832 (main_loop_poll): The inotify descriptors are now stored in the
27833 structures for the traced files.
27834 (main_loop_epoll): Likewise
27835 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27836 to __nss_disable_nscd.
27837 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27838 for a database anymore. Check the records for all the registered
27840 * nss/Makefile (libnss_files-routines): Add files-init.
27841 (libnss_db-routines): Add db-init.
27842 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27843 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27844 * nss/nss_db/db-init.c: New file.
27845 * nss/nss_files/files-init.c: New file.
27846 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27847 __nss_lookup_function.
27848 (__nss_lookup_function): Call nss_load_library.
27849 (nss_load_all_libraries): New function.
27850 (__nss_disable_nscd): Take parameter with callback function for files
27851 to register. Set is_nscd. Load all the DSOs for the NSS modules
27852 used for the cached services.
27853 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27854 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27855 options for features to all the files in nscd.
27857 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27859 2011-07-10 Roland McGrath <roland@hack.frob.com>
27861 * csu/elf-init.c (__libc_csu_init): Comment typo.
27863 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27865 * po/pl.po: Update from translation team.
27866 * po/ja.po: Likewise.
27867 * po/ru.po: Likewise.
27868 * po/ko.po: Likewise.
27869 * po/fr.po: Likewise.
27871 2011-07-09 Roland McGrath <roland@hack.frob.com>
27873 * configure.in (.ctors/.dtors header and trailer check):
27874 Use an empirical test on a built program.
27875 * configure: Regenerated.
27877 * configure.in (-z relro check): Use an empirical test on a built DSO.
27878 Detect, but do not require, on ia64.
27879 * configure: Regenerated.
27881 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27882 Update tests that use readelf to use $READELF instead.
27883 * configure: Regenerated.
27885 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27887 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27888 if the result is not used.
27890 2011-07-05 Andreas Jaeger <aj@suse.de>
27893 * stdlib/tst-strtod.c: Add testcase.
27895 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27897 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27898 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27899 The latter has a higher limit. Take additional parameter to pass to
27901 (__pathconf): Pass file to __statfs_link_max.
27902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27904 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27908 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27909 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27911 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27912 (__statfs_filesize_max): Likewise.
27913 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27915 2011-07-05 Andreas Jaeger <aj@suse.de>
27917 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27919 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27921 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27923 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27926 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27928 * Makefile (strop-tests): Add strncat.
27929 * string/test-strncat.c: New file.
27931 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27933 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27935 2011-06-21 Andreas Jaeger <aj@suse.de>
27937 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27938 Copy rule from iconvdata/Makefile.
27940 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27943 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27944 but no long options are defined, just return 'W'.
27946 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27949 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27951 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27953 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27955 (innetgr): Likewise.
27957 2011-07-05 Roland McGrath <roland@hack.frob.com>
27959 * config.make.in (install_root): Default to $(DESTDIR).
27961 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27963 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27965 2011-07-02 Roland McGrath <roland@hack.frob.com>
27967 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27969 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27970 containing directory rather than embedding absolute directory names.
27972 * scripts/check-local-headers.sh: Rewritten using awk.
27973 Match by word, not by line. Print error messages for matches.
27974 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27976 * Makerules [shlib-lds-flags empty]:
27977 ($(common-objpfx)libc_pic.opts): New target.
27978 ($(common-objpfx)libc_pic.os.clean): New target.
27979 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27981 * config.make.in (OBJCOPY): New variable.
27982 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27983 * configure: Regenerated.
27985 * config.make.in (use-default-link): New variable.
27986 * configure.in (use_default_link): Grok --with-default-link to set it.
27987 * configure: Regenerated.
27988 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27989 (shlib-lds, shlib-lds-flags): Define to empty.
27991 * Makerules (shlib-lds): New variable.
27992 (shlib-lds-flags): New variable.
27993 (build-shlib, build-moduile, build-module-asneeded): Use it.
27994 ($(common-objpfx)libc.so): Use $(shlib-lds).
27995 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27996 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27998 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27999 DT_FLAGS/DT_FLAGS_1 with zero flags.
28001 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28002 linker script munging.
28004 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28006 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28008 * crypt/sha512.c (sha512_process_block): Perform total addition using
28009 128-bit if possible.
28010 (__sha512_finish_ctx): Likewise.
28011 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28013 * crypt/sha256.c (SWAP64): Define.
28014 (sha256_process_block): Perform total addition using 64-bit if
28016 (__sha256_finish_ctx): Likewise.
28018 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28020 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28021 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28022 * nscd/hstcache.c (cache_addhst): Likewise.
28023 * nscd/grpcache.c (cache_addgr): Likewise.
28024 * nscd/aicache.c (addhstaiX): Likewise
28025 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28027 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28029 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28030 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28031 * nscd/hstcache.c (cache_addhst): Likewise.
28032 * nscd/grpcache.c (cache_addgr): Likewise.
28033 * nscd/aicache.c (addhstaiX): Likewise
28035 2011-07-01 Andreas Schwab <schwab@redhat.com>
28037 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28038 domain only when needed.
28040 2011-06-30 Andreas Schwab <schwab@redhat.com>
28042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28043 is always restored.
28045 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28047 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28048 are re-adding the entry.
28049 * nscd/servicescache.c (cache_addserv): Likewise.
28051 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28053 * sysdeps/generic/dl-irel.h: fix protection against multiple
28055 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28057 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28060 * malloc/memusage.sh: Fix quoting in message.
28061 * debug/xtrace.sh: Likewise.
28063 * configure.in: Remove support for --experimental-malloc option, make
28065 * config.make.in: Likewise.
28066 * malloc/Makefile: Likewise.
28068 2011-06-27 Andreas Schwab <schwab@redhat.com>
28070 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28071 two-byte characters.
28073 2011-06-27 Roland McGrath <roland@hack.frob.com>
28075 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28076 AC_CACHE_CHECK invocation.
28077 * configure: Regenerated.
28079 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28081 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28084 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28085 bit from old_res_options.
28087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28089 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28090 value type for setfct.
28092 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28095 __gettimeofday instead of gettimeofday.
28097 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28099 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28101 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28108 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28111 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28112 strcpy-sse2-unaligned strncpy-sse2-unaligned
28113 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28114 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28115 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28116 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28117 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28118 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28120 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28121 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28122 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28123 (STRCPY): Support SSE2 and SSSE3 versions.
28125 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28128 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28129 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28130 kernels which artificially limit size of requests.
28132 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28135 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28136 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28137 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28138 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28139 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28140 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28141 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28142 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28144 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28145 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28146 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28147 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28148 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28150 Enable unaligned load optimization for Intel Core i3, i5 and i7
28152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28154 (index_Fast_Unaligned_Load): Define.
28155 (HAS_FAST_UNALIGNED_LOAD): Define.
28157 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28159 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28161 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28164 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28165 until it is clear that the information is realy needed.
28166 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28168 2011-06-22 Andreas Schwab <schwab@redhat.com>
28170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28172 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28175 /sys/devices/system/cpu/online if it is usable.
28177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28178 reading the information from the /proc filesystem to once a second.
28180 2011-06-21 Andreas Jaeger <aj@suse.de>
28182 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28183 NULL after inclusion of kernel headers.
28185 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28187 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28188 calls to internal_setent.
28191 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28192 addresses using gethostbyname4_r ignore IPv4 addresses.
28194 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28195 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28197 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28199 2011-06-20 David S. Miller <davem@davemloft.net>
28201 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28203 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28205 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28206 (elf_irel): Use it.
28207 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28208 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28209 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28210 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28211 * sysdeps/x86_64/dl-irel.h: Likewise.
28213 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28214 * elf/dl-sym.c: Likewise.
28216 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28218 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28219 need to dereference resplen2.
28221 2011-06-14 Andreas Schwab <schwab@redhat.com>
28223 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28225 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28227 * Makeconfig: Define vardbdir and inst_vardbdir.
28228 * nss/Makefile: Add rules to install db-Makefile.
28230 * nss/nss_db/db-XXX.c: Cleanup.
28232 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28233 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28235 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28236 * nss/makedb.c: Implement -g option to specify that value strings
28237 are generated and should not be added to table iterated over for
28239 * nss/nss_db/db-initgroups.c: New file.
28241 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28244 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28245 (internal_getgrouplist): Adjust to name change.
28246 Update use_initgroups_entry if this is not the first call.
28247 * nss/databases.def: Add initgroups entry.
28249 * nss/makedb.c (compute_tables): Check result of multiple hash table
28250 sizes to minimize maximum chain length.
28252 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28254 * Versions.def: Add entry for libnss_db.
28255 * shlib-versions: Likewise.
28256 * nss/Makefile: Add rules to build libnss_db.
28257 * nss/Versions: Add libnss_db information. Organize libnss_files
28259 * nss/db-Makefile: Add gshadow support. Change rules for the new
28260 makedb progra. Some minor improvements to generate smaller files.
28261 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28263 * nss/makedb.c: ...here.
28264 Improve database format to be smaller and require less memory at
28266 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28268 * nss/nss_db/db-netgrp.c: Likewise.
28269 * nss/nss_db/db-open.c: Likewise.
28270 * nss/nss_files/flies-XXX.x: Adjust comments.
28271 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28272 * nss/nss_files/files-grp.c: Likewise.
28273 * nss/nss_files/files-hosts.c: Likewise.
28274 * nss/nss_files/files-network.c: Likewise.
28275 * nss/nss_files/files-proto.c: Likewise.
28276 * nss/nss_files/files-pwd.c: Likewise.
28277 * nss/nss_files/files-rpc.c: Likewise.
28278 * nss/nss_files/files-service.c: Likewise.
28279 * nss/nss_files/files-sgrp.c: Likewise.
28280 * nss/nss_files/files-spwd.c: Likewise.
28281 * nss/nss_db/db-alias.c: Removed.
28282 * nss/nss_db/dummy-db.h: Removed.
28284 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28286 * nss/makedb.c: Rewritten to not use database library.
28287 * nss/Makefile: Update to build new makedb program.
28289 2011-06-14 Andreas Jaeger <aj@suse.de>
28291 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28292 memset declaration.
28294 2011-06-10 Andreas Schwab <schwab@redhat.com>
28296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28299 2011-06-10 Roland McGrath <roland@hack.frob.com>
28301 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28302 * elf/Makefile ($(objpfx)ld.so): Likewise.
28304 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28305 Don't list ld.so twice in dependencies.
28307 * posix/bug-regex31.c: Include <stdlib.h>.
28309 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28311 * nis/nss_compat/compat-spwd.c
28312 (getspent_next_nss_netgr): Remove unused variable.
28313 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28315 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28316 nonmembers" output to use the right array.
28318 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28320 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28322 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28323 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28324 * catgets/gencat.c (read_input_file): Likewise.
28325 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28327 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28328 variable definition inside #if's controlling its use.
28330 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28332 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28334 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28336 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28339 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28341 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28342 * configure: Regenerated.
28344 * Makerules: Revert last change.
28345 * elf/Makefile: Likewise.
28347 2011-06-09 Roland McGrath <roland@hack.frob.com>
28349 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28350 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28351 (reloc-link): Likewise.
28353 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28355 * elf/Makefile: Add rules to build pldd.
28356 * elf/pldd.c: New file.
28357 * elf/pldd-xx.c: New file.
28359 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28361 * version.h: Update for 2.15 development version.
28363 2011-06-07 David S. Miller <davem@davemloft.net>
28365 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28368 elf_machine_lazy_rel): Likewise.
28369 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28371 elf_machine_lazy_rel): Likewise.
28372 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28373 dl_hwcap via passed in argument.
28374 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28377 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28379 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28381 2011-06-06 Roland McGrath <roland@hack.frob.com>
28384 * manual/fdl-1.1.texi: New file, verbatim from:
28385 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28386 * manual/lgpl-2.1.texi: New file, verbatim from:
28387 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28388 * manual/Makefile (licenses): New variable, list those new file names.
28390 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28392 * manual/fdl.texi: File removed.
28393 * manual/lesser.texi: File removed.
28394 * manual/libc.texinfo (Copying, Documentation License):
28395 Use new @include file names, put @appendix directive before @include.
28397 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28400 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28401 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28402 (mq_open): Add __NTH.
28404 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28407 Assume Intel Core i3/i5/i7 processor if AVX is available.
28409 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28411 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28414 2011-05-31 Andreas Schwab <schwab@redhat.com>
28416 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28417 memory. Use alloca_account. Fix memory leak when retrying.
28419 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28421 * version.h (RELEASE): Bump for 2.14 release.
28422 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28424 * config.make.in (RANLIB): Remove entry.
28426 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28428 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28429 (libc.pot): Work around missing support for .ksh extension in xgettext.
28432 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28433 if both request failed.
28434 (send_dg): In case of server errors clear resplen or *resplen2.
28437 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28438 when there are multiple maps.
28439 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28440 (_dl_fini): Remove test here.
28442 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28444 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28447 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28448 bit from old_res_options.
28449 (gaih_inet): Likewise.
28452 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28455 * resolv/res_init.c (res_setoptions): Make the code more compact.
28458 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28462 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28464 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28467 * malloc/malloc.h: Declare malloc hook variables as volatile.
28469 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28473 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28474 raise in the comment.
28475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28477 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28479 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28482 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28483 grow the buffers more if it already has to be sufficient.
28484 (build_wcs_upper_buffer): Likewise.
28485 * posix/regexec.c (check_matching): Likewise.
28486 (clean_state_log_if_needed): Likewise.
28487 (extend_buffers): Don't enlarge buffers beyond size of the input
28489 Patches mostly by Emil Wojak <emil@wojak.eu>.
28490 * posix/bug-regex32.c: New file.
28491 * posix/Makefile (tests): Add bug-regex32.
28493 * locale/findlocale.c (_nl_find_locale): Return right away if
28494 _nl_explode_name failed.
28495 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28497 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28499 * debug/xtrace.sh: Unify messages.
28500 * malloc/memusage.sh: Likewise.
28503 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28504 time symbol from vDSO. Substitute with vsyscall if not available.
28505 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28508 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28509 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28510 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28511 Add sendmmsg and internal_sendmmsg.
28512 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28513 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28516 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28517 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28520 2011-05-27 Ulrich Drepper <drepper@gmail.com>
28523 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28524 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28530 * iconvdata/Makefile (tests): Add bug-iconv9.
28531 * iconvdata/bug-iconv9.c: New file.
28533 2011-05-27 Andreas Schwab <schwab@redhat.com>
28536 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28538 2011-05-25 Jakub Jelinek <jakub@redhat.com>
28540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28541 (struct user_regs_struct): Change intcs field back to cs.
28543 2011-05-25 Ulrich Drepper <drepper@gmail.com>
28545 * po/ja.po: Update from translation team.
28547 2011-05-23 Ulrich Drepper <drepper@gmail.com>
28550 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28553 2011-05-20 Andreas Schwab <schwab@redhat.com>
28555 * stdlib/longlong.h: Update from GCC.
28557 2011-05-23 Andreas Schwab <schwab@redhat.com>
28559 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28561 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28562 Add parameter name.
28563 (__sysconf): Pass it down.
28565 2011-05-22 Ulrich Drepper <drepper@gmail.com>
28568 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28570 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28571 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28572 add in in __libc_use_alloca calls. Adjust callers.
28573 (glob): Use malloc in some situations.
28575 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28576 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28579 2011-05-21 Ulrich Drepper <drepper@gmail.com>
28581 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28582 and CLOCK_BOOTTIME_ALARM.
28585 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28588 * string/_strerror.c (__strerror_r): Print negative errors as signed
28592 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28593 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28594 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28596 * configure.in: Fix typo in redirection and correct removal of test
28597 files in two cases.
28600 * locale/setlocale.c (new_composite_name): Fix test to check for
28601 identical name of all categories.
28604 * libio/filedoalloc.c (local_isatty): New function.
28605 (_IO_file_doallocate): Use local_isatty.
28606 * stdio-common/perror.c (perror): In case a new stream is used
28607 forward the stream error.
28608 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28611 2011-05-20 Ulrich Drepper <drepper@gmail.com>
28614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28616 * include/alloca.h (extend_alloca_account): Define.
28619 * posix/regex.h: Fix comments with documentation of user-accessible
28620 fields after compilation and describe correct free'ing of pattern
28621 after re_compile_pattern.
28622 Patch by Reuben Thomas <rrt@sc3d.org>.
28624 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28626 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28627 and -mno-altivec to prevent the compiler from using Altivec and/or
28628 VSX instructions when the corresponding registers are not available.
28630 2011-05-19 Andreas Schwab <schwab@redhat.com>
28632 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28634 2011-05-19 Ulrich Drepper <drepper@gmail.com>
28636 * libio/freopen.c (freopen): Use __dup2, not dup2.
28637 * libio/freopen64.c (freopen64): Likewise.
28639 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28642 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28643 * math/Makefile (tests): Add test-powl.
28644 (CFLAGS-test-powl.c): Define.
28645 * math/test-powl.c: New file.
28647 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28649 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28651 2011-05-17 Ulrich Drepper <drepper@gmail.com>
28654 * iconvdata/gb18030.c: Update to GB18020-2005.
28656 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28658 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28659 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28660 Patch by Aharon Robbins <arnold@skeeve.com>.
28663 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28667 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28668 through underflows.
28671 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28672 point to strings before performing equality test for error_one_per_line
28676 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28680 (struct user_fpregs_struct): Avoid __uint*_t types.
28683 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28684 symbol info. Use it instead of calling _dl_addr locally.
28685 (lock_and_info): New function.
28686 (tr_freehook): Call lock_and_info and pass symbol info as additional
28687 parameter to tr_where.
28688 (tr_mallochook): Likewise.
28689 (tr_reallochook): Likewise.
28690 (tr_memalignhook): Likewise.
28692 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28693 used and couldn't be at all thread-safe.
28695 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28697 * libio/freopen.c (freopen): Don't close old file descriptor
28698 before the new one is opened. Instead dup the new file descriptor
28699 to the old one after the new stream is created.
28700 * libio/freopen64.c (freopen64): Likewise.
28701 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28702 * libio/fileops.c (_IO_new_file_close_it): Handle new
28703 _IO_FLAGS2_NOCLOSE flag.
28704 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28705 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28706 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28707 _IO_FLAGS2_NOCLOSE flag.
28708 * include/unistd.h: Add hidden_proto for dup3.
28709 Define __have_dup3.
28710 * io/dup3.c: Define hidden symbol.
28711 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28714 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28715 when an incomplete long option is used.
28716 * posix/tst-getopt_long1.c: New file.
28717 * posix/Makefile (tests): Add tst-getopt_long1.
28720 * scripts/config.guess: Update from autoconf-2.68.
28721 * scripts/config.sub: Likewise.
28724 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28726 (has_cpuclock): ...this. New function.
28727 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28728 macro here based on has_cpuclock code.
28731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28732 First byte (not low byte) is now always NUL.
28733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28736 Use non-cancelable interfaces.
28739 * locale/iso-639.def: Add entry for Sorani.
28742 * include/stdlib.h: Move include protection to the right place.
28743 Define abort_msg_s. Declare __abort_msg with it.
28744 * stdlib/abort.c (__abort_msg): Adjust type.
28745 * assert/assert.c (__assert_fail_base): New function. Majority
28746 of code from __assert_fail. Allocate memory for __abort_msg with
28748 (__assert_fail): Now call __assert_fail_base.
28749 * assert/assert-perr.c: Remove bulk of implementation. Use
28750 __assert_fail_base.
28751 * include/assert.hL Declare __assert_fail_base.
28752 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28754 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28756 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28760 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28761 until all modules are registered in the DTV.
28762 * elf/Makefile: Add rules to build and run tst-tls19.
28763 * elf/tst-tls19.c: New file.
28764 * elf/tst-tls19mod1.c: New file.
28765 * elf/tst-tls19mod2.c: New file.
28766 * elf/tst-tls19mod3.c: New file.
28767 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28770 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28774 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28775 two-byte sequence errors.
28776 * iconvdata/Makefile (tests): Add bug-iconv8.
28777 * iconvdata/bug-iconv8.c: New file.
28780 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28783 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28786 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28787 (dummy_getcfa): New function.
28788 (init): Get _Unwind_GetCFA address, use dummy if not found.
28789 (backtrace_helper): In recursion check, also check whether CFA changes.
28790 (__backtrace): Completely initialize arg.
28792 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28793 storing incomplete byte sequence in state object. Avoid testing for
28794 guaranteed too small input if we know there is enough data available.
28796 2011-05-11 Andreas Schwab <schwab@redhat.com>
28798 * Makeconfig (+link-pie): Indent.
28799 * Rules (binaries-pie): Define if $(have-fpie) and
28801 (binaries-shared): Also filter out $(binaries-pie).
28802 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28803 * nscd/Makefile (others-pie): Add nscd.
28804 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28805 ($(objpfx)nscd): Remove command override.
28806 * login/Makefile (others-pie): Add pt_chown.
28807 ($(objpfx)pt_chown): Remove command override.
28808 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28809 remove command overrides.
28811 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28813 * libio/tst_putwc.c: Fix error messages.
28816 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28817 currently writing and seek to current position when not.
28818 * libio/Makefile (tests): Add bug-fclose1.
28819 * libio/bug-fclose1.c: New file.
28821 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28824 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28825 don't set DF_1_NODELETE here.
28826 (do_lookup_x): When entering new entry test for copy relocation
28827 and if necessary set DF_1_NODELETE flag.
28828 * elf/tst-unique4.cc: New file.
28829 * elf/tst-unique4.h: New file.
28830 * elf/tst-unique4lib.cc: New file.
28831 * elf/Makefile: Add rules to build and run tst-unique4.
28832 Patch by Piotr Bury <pbury@goahead.com>.
28834 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28837 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28840 * misc/mntent_r.c (addmntent): Flush the stream after the output
28843 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28844 (is_trusted_path_normalize): Skip initial colon. Append slash
28845 to empty buffer. Duplicate is_trusted_path code but allow
28846 constructed patch to be prefix.
28847 (is_dst): Allow $ORIGIN followed by /.
28848 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28849 Correct testing of result of is_trusted_path_normalize
28850 (decompose_rpath): Fix warning.
28852 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28855 * grp/initgroups.c (internal_getgrouplist): When we found the service
28856 list through the initgroups entry in nsswitch.conf do not always
28857 continue on a successful lookup. Don't always use the
28858 __nss_group_database value if it is set.
28859 * nss/nsswitch.conf (initgroups): Change action for successful db
28860 lookup to continue for compatibility.
28862 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28865 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28867 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28869 * iconvdata/tst-tables.sh: Likewise.
28870 * iconvdata/cp770.c: New file.
28871 * iconvdata/cp771.c: New file.
28872 * iconvdata/cp772.c: New file.
28873 * iconvdata/cp773.c: New file.
28874 * iconvdata/cp774.c: New file.
28875 * iconvdata/testdata/CP770: New file.
28876 * iconvdata/testdata/CP770..UTF8: New file.
28877 * iconvdata/testdata/CP771: New file.
28878 * iconvdata/testdata/CP771..UTF8: New file.
28879 * iconvdata/testdata/CP772: New file.
28880 * iconvdata/testdata/CP772..UTF8: New file.
28881 * iconvdata/testdata/CP773: New file.
28882 * iconvdata/testdata/CP773..UTF8: New file.
28883 * iconvdata/testdata/CP774: New file.
28884 * iconvdata/testdata/CP774..UTF8: New file.
28886 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28888 * iconvdata/gen-8bit-gap.sh: Likewise.
28889 * iconvdata/gen-8bit.sh: Likewise.
28891 * locale/iso-639.def: Add ary entry.
28894 * locale/C-translit.h.in: Add U20A1 transliteration.
28897 * locale/iso-639.def: Add wae entry.
28898 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28901 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28905 * locale/C-translit.h.in: Add entry for U20B9.
28906 Patch by pravin.d.s@gmail.com.
28908 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28911 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28912 ENAMETOOLONG use generic getcwd.
28913 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28914 in rtld. Use *stat64.
28915 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28916 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28917 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28918 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28919 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28920 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28921 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28922 __fstatat64 macros.
28923 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28924 * dirent/rewinddir.c: Add libc_hidden_def.
28925 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28926 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28928 * include/dirent.h (__alloc_dir): Add flags parameter.
28929 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28930 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28932 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28933 from fdopendir if O_CLOEXEC is already set.
28935 2011-03-15 Alan Modra <amodra@gmail.com>
28937 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28938 l_tls_firstbyte_offset non-zero. Save padding offset in
28939 l_tls_firstbyte_offset for later use.
28940 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28941 freeing static tls block.
28943 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28945 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28946 where #ifdef was intended. The intent is to prevent ARG_MAX from
28947 being defined by the kernel headers.
28949 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28952 * resolv/resolv.h: Define RES_NOTLDQUERY.
28953 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28954 no-tld-query and set RES_NOTLDQUERY.
28955 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28956 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28957 modern BIND to search name as TLD unless forbidden.
28959 2011-05-07 Petr Baudis <pasky@suse.cz>
28960 Ulrich Drepper <drepper@gmail.com>
28963 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28964 (is_trusted_path): ...to here.
28965 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28966 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28967 using is_trusted_path_normalize() in setuid scripts.
28969 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28971 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28972 __BEGIN/__END_DECLS.
28974 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28977 NSS_STATUS_NOTFOUND if no record was found.
28979 2011-05-05 Andreas Schwab <schwab@redhat.com>
28981 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28982 (headers-not-in-tirpc): Remove rpc/netdb.h
28983 * resolv/netdb.h: Revert last change.
28985 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28987 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28988 circular dependency between libgcc.a and libc.a.
28990 2011-05-05 Andreas Schwab <schwab@redhat.com>
28992 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28993 * nis/Makefile: Don't install rpcsvc/*.
28994 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28995 instead of <rpc/types.h>.
28996 (MAXHOSTNAMELEN): Define.
28998 2011-05-03 Andreas Schwab <schwab@redhat.com>
29000 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29002 2011-04-28 Maciej Babinski <mbabinski@google.com>
29005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29006 gethostbyname4_r when IPv6 results are possible.
29008 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29011 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29012 _PC_PIPE_BUF handling.
29014 2011-04-30 Bruno Haible <bruno@clisp.org>
29017 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29018 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29020 * inet/getnameinfo.c (getnameinfo): Likewise.
29022 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29024 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29025 to groups setting in database lookup.
29026 * nss/nsswitch.conf: Add initgroups entry.
29028 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29031 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29033 Patch by Eric Blake <eblake@redhat.com>.
29035 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29037 * sunrpc/Makefile (need-export-routines): Add svc_run.
29038 (routines): Remove svc_run.
29039 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29040 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29041 * sunrpc/svc_run.c (svc_run): Likewise.
29042 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29044 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29047 problem in reallocation in last patch.
29049 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29051 * sunrpc/Makefile: Move inclusion of Rules.
29053 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29055 * nss/nss_files/files-initgroups.c: New file.
29056 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29057 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29058 _nss_files_initgroups_dyn.
29060 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29062 * elf/elf.h (R_ARM_IRELATIVE): Define.
29064 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29066 * po/ru.po: Update from translation team.
29068 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29070 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29073 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29076 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29077 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29082 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29086 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29090 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29093 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29095 * stdlib/bug-getcontext.c: New file.
29096 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29098 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29100 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29101 instructions into .machine "z9-109".
29102 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29103 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29105 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29107 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29108 between environment variables and auxiliary vector.
29110 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29112 * Makefile: Add rules to build linkobj/libc.so.
29113 * include/libc-symbols.h: Define libc_hidden_nolink.
29114 * include/rpc/auth.h: Mark functions which are to be hidden.
29115 * include/rpc/auth_des.h: Likewise.
29116 * include/rpc/auth_unix.h: Likewise.
29117 * include/rpc/clnt.h: Likewise.
29118 * include/rpc/des_crypt.h: Likewise.
29119 * include/rpc/key_prot.h: Likewise.
29120 * include/rpc/pmap_clnt.h: Likewise.
29121 * include/rpc/pmap_prot.h: Likewise.
29122 * include/rpc/pmap_rmt.h: Likewise.
29123 * include/rpc/rpc_msg.h: Likewise.
29124 * include/rpc/svc.h: Likewise.
29125 * include/rpc/svc_auth.h: Likewise.
29126 * include/rpc/xdr.h: Likewise.
29127 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29128 * nss/Makefile: Likewise.
29129 * sunrpc/Makefile: Don't install headers. Build library with normal
29130 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29131 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29132 for the compat linking library. Remove use of INTDEF/INTUSE.
29133 * sunrpc/auth_none.c: Likewise.
29134 * sunrpc/auth_unix.c: Likewise.
29135 * sunrpc/authdes_prot.c: Likewise.
29136 * sunrpc/authuxprot.c: Likewise.
29137 * sunrpc/clnt_gen.c: Likewise.
29138 * sunrpc/clnt_perr.c: Likewise.
29139 * sunrpc/clnt_raw.c: Likewise.
29140 * sunrpc/clnt_simp.c: Likewise.
29141 * sunrpc/clnt_tcp.c: Likewise.
29142 * sunrpc/clnt_udp.c: Likewise.
29143 * sunrpc/clnt_unix.c: Likewise.
29144 * sunrpc/des_crypt.c: Likewise.
29145 * sunrpc/des_soft.c: Likewise.
29146 * sunrpc/get_myaddr.c: Likewise.
29147 * sunrpc/key_call.c: Likewise.
29148 * sunrpc/key_prot.c: Likewise.
29149 * sunrpc/netname.c: Likewise.
29150 * sunrpc/pm_getmaps.c: Likewise.
29151 * sunrpc/pm_getport.c: Likewise.
29152 * sunrpc/pmap_clnt.c: Likewise.
29153 * sunrpc/pmap_prot.c: Likewise.
29154 * sunrpc/pmap_prot2.c: Likewise.
29155 * sunrpc/pmap_rmt.c: Likewise.
29156 * sunrpc/publickey.c: Likewise.
29157 * sunrpc/rpc_cmsg.c: Likewise.
29158 * sunrpc/rpc_common.c: Likewise.
29159 * sunrpc/rpc_dtable.c: Likewise.
29160 * sunrpc/rpc_prot.c: Likewise.
29161 * sunrpc/rpc_thread.c: Likewise.
29162 * sunrpc/rtime.c: Likewise.
29163 * sunrpc/svc.c: Likewise.
29164 * sunrpc/svc_auth.c: Likewise.
29165 * sunrpc/svc_authux.c: Likewise.
29166 * sunrpc/svc_raw.c: Likewise.
29167 * sunrpc/svc_run.c: Likewise.
29168 * sunrpc/svc_simple.c: Likewise.
29169 * sunrpc/svc_tcp.c: Likewise.
29170 * sunrpc/svc_udp.c: Likewise.
29171 * sunrpc/svc_unix.c: Likewise.
29172 * sunrpc/svcauth_des.c: Likewise.
29173 * sunrpc/xcrypt.c: Likewise.
29174 * sunrpc/xdr.c: Likewise.
29175 * sunrpc/xdr_array.c: Likewise.
29176 * sunrpc/xdr_float.c: Likewise.
29177 * sunrpc/xdr_intXX_t.c: Likewise.
29178 * sunrpc/xdr_mem.c: Likewise.
29179 * sunrpc/xdr_rec.c: Likewise.
29180 * sunrpc/xdr_ref.c: Likewise.
29181 * sunrpc/xdr_sizeof.c: Likewise.
29182 * sunrpc/xdr_stdio.c: Likewise.
29184 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29187 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29188 * sysdeps/ia64/dl-tls.h: Likewise.
29189 * sysdeps/powerpc/dl-tls.h: Likewise.
29190 * sysdeps/s390/dl-tls.h: Likewise.
29191 * sysdeps/sh/dl-tls.h: Likewise.
29192 * sysdeps/sparc/dl-tls.h: Likewise.
29193 * sysdeps/x86_64/dl-tls.h: Likewise.
29194 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29196 2011-03-14 Andreas Schwab <schwab@redhat.com>
29198 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29199 rpath element also skip the following colon.
29200 (expand_dynamic_string_token): Add is_path parameter and pass
29201 down to DL_DST_REQUIRED and _dl_dst_substitute.
29202 (decompose_rpath): Call expand_dynamic_string_token with
29203 non-zero is_path. Ignore empty rpaths.
29204 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29207 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29212 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29215 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29216 Patch by Filipe David Manana <fdmanana@apache.org>.
29218 2011-04-07 Andreas Schwab <schwab@redhat.com>
29220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29221 Maintain aligned stack.
29222 (CHECK_RSP): Remove unused macro.
29224 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29226 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29227 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29229 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29231 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29233 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29235 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29238 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29239 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29240 * sysdeps/x86_64/memmove.c: New file.
29241 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29242 (memcpy): Renamed to ...
29243 (__new_memcpy): This.
29244 (memcpy): Provide GLIBC_2_14 memcpy.
29245 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29246 (memcpy): Provide GLIBC_2_2_5 memcpy.
29248 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29251 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29253 2011-03-30 Andreas Schwab <schwab@redhat.com>
29255 * misc/syncfs.c: New file.
29256 * misc/Makefile (routines): Add syncfs.
29257 * posix/unistd.h: Declare syncfs.
29258 * sysdeps/unix/syscalls.list: Add syncfs.
29260 2011-04-01 Andreas Schwab <schwab@redhat.com>
29262 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29269 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29272 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29276 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29278 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29282 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29283 sync_file_range.c with -fexceptions.
29284 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29285 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29286 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29287 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29288 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29289 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29291 sync_file_range as cancellation point
29292 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29293 now a wrapper around __call_sync_file_range with cancellation handling.
29294 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29295 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29296 function name to __call_sync_file_range.
29297 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29298 Add call_sync_file_range.
29300 2011-04-01 Andreas Schwab <schwab@redhat.com>
29302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29305 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29307 * iconv/iconv.h: Fix typo in comment.
29308 * io/fcntl.h: Likewise.
29309 * libio/stdio.h: Likewise.
29310 * posix/spawn.h: Likewise.
29311 * posix/unistd.h: Likewise.
29312 * stdlib/stdlib.h: Likewise.
29313 * time/time.h: Likewise.
29314 * wcsmbs/wchar.h: Likewise.
29316 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29317 open_by_handle): Add.
29318 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29319 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29320 Augment a few comments.
29321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29326 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29329 * io/fcntl.h (AT_EMPTY_PATH): Define.
29331 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29333 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29334 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29335 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29337 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29338 * Versions.def: Add GLIBC_2.14.
29339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29342 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29344 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29346 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29348 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29351 * string/test-strncmp.c (do_page_test): New function.
29352 (check2): Likewise.
29353 (test_main): Call check2.
29354 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29356 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29359 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29360 Handle cache information in CPU leaf 4.
29361 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29363 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29366 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29367 character representation.
29368 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29370 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29372 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29373 END(__isnan) to END(__isnanf) to match function entry point/label
29374 EALIGN(__isnanf,...).
29376 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29378 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29380 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29383 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29384 copy from the symbol referenced in the relocation to initialize the
29386 Patch by Piotr Bury <pbury@goahead.com>.
29387 * elf/Makefile: Add rules to build and tst-unique3.
29388 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29389 * elf/tst-unique3.cc: New file.
29390 * elf/tst-unique3.h: New file.
29391 * elf/tst-unique3lib.cc: New file.
29392 * elf/tst-unique3lib2.cc: New file.
29394 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29396 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29398 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29399 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29402 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29404 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29405 to-be-loaded object along a path to loader is ld.so.
29407 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29408 Ulrich Drepper <drepper@gmail.com>
29410 * sysdeps/x86_64/memset.S: After aligning destination, code
29411 branches to different locations depending on the value of
29412 misalignment, when multiarch is enabled. Fix this.
29414 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29416 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29417 Set _x86_64_preferred_memory_instruction for AMD processsors.
29418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29419 Set bit_Prefer_SSE_for_memop for AMD processors.
29421 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29423 * libio/fmemopen.c (fmemopen): Optimize a bit.
29425 2011-03-03 Andreas Schwab <schwab@redhat.com>
29427 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29429 2011-03-03 Roland McGrath <roland@redhat.com>
29431 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29433 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29435 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29436 __bzero_ultra1 instead of __memset_ultra1.
29438 2011-02-23 Andreas Schwab <schwab@redhat.com>
29439 Ulrich Drepper <drepper@gmail.com>
29442 * include/link.h (struct link_map): Add l_orig_initfini.
29443 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29444 returning unsuccessfully.
29445 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29446 close of a file loaded at startup, restore the original l_initfini
29448 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29449 list, store the pointer.
29450 * elf/Makefile ($(objpfx)noload-mem): New rule.
29451 (noload-ENV): Define.
29452 (tests): Add $(objpfx)noload-mem.
29453 * elf/noload.c: Include <memcheck.h>.
29454 (main): Call mtrace. Close all opened handles.
29456 2011-02-17 Andreas Schwab <schwab@redhat.com>
29459 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29460 dependencies are missing.
29462 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29464 Fix __if_freereq crash: Unlike the generic version which uses free,
29466 * sysdeps/mach/hurd/ifreq.h: New file.
29468 2011-01-27 Petr Baudis <pasky@suse.cz>
29469 Ulrich Drepper <drepper@gmail.com>
29472 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29473 to extend_alloca().
29474 * stdio-common/bug23.c: New file.
29475 * stdio-common/Makefile (tests): Add bug23.
29477 2010-09-28 Andreas Schwab <schwab@redhat.com>
29478 Ulrich Drepper <drepper@gmail.com>
29481 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29482 before performing relro protection. At old place add assertion
29483 to make sure nothing changed.
29485 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29486 Glauber de Oliveira Costa <glommer@gmail.com>
29488 * elf/elf.h: Add new ARM TLS relocs.
29490 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29493 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29495 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29497 * sysdeps/wordsize-64/tst-writev.c: New file.
29499 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29501 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29502 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29503 insns in _dl_start to prevent a TOC reference before relocs are
29506 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29509 * Makeconfig: Remove RANLIB definition.
29510 * Makerules: Don't use RANLIB.
29511 * aclocal.m4: Remove ranlib test.
29512 * configure.in: No need to check for ranlib.
29513 * elf/rtld-Rules: Don't use RANLIB.
29515 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29517 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29519 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29520 inclusion protection macro.
29522 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29523 SIGRTMIN and SIGRTMAX and print information in that case only when
29524 SIGRTMIN is defined.
29526 2011-02-11 Jakub Jelinek <jakub@redhat.com>
29528 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29529 arginfo fn returning -1.
29531 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29532 and thousands string is zero terminated.
29534 2011-02-03 Andreas Schwab <schwab@redhat.com>
29536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29537 sysdeps/unix/sysv/linux/bits/socket.h.
29539 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29541 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29542 (__CPU_COUNT): Remove old macros.
29543 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29544 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29545 (__CPU_ALLOC, __CPU_FREE): Add macros.
29546 (__sched_cpualloc, __sched_cpufree): Add declarations.
29548 2011-02-05 Ulrich Drepper <drepper@gmail.com>
29550 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29551 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29552 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29553 (readdhstai): Return value of addhstaiX call.
29554 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29555 (addgrbyX): Return value returned by cache_addgr.
29556 (readdgrbyname): Return value returned by addgrbyX.
29557 (readdgrbygid): Likewise.
29558 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29559 (addpwbyX): Return value returned by cache_addpw.
29560 (readdpwbyname): Return value returned by addhstbyX.
29561 (readdpwbyuid): Likewise.
29562 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29563 (addservbyX): Return value returned by cache_addserv.
29564 (readdservbyname): Return value returned by addservbyX:
29565 (readdservbyport): Likewise.
29566 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29567 (addhstbyX): Return value returned by cache_addhst.
29568 (readdhstbyname): Return value returned by addhstbyX.
29569 (readdhstbyaddr): Likewise.
29570 (readdhstbynamev6): Likewise.
29571 (readdhstbyaddrv6): Likewise.
29572 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29573 (readdinitgroups): Return value returned by addinitgroupsX.
29574 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29575 (prune_cache): Keep track of timeout value of re-added entries.
29576 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29577 * nscd/nscd.h: Adjust prototypes of readd* functions.
29579 2011-02-04 Roland McGrath <roland@redhat.com>
29581 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29582 (nis_stats): Likewise.
29583 * nis/nis_modify.c (nis_modify): Likewise.
29584 * nis/nis_remove.c (nis_remove): Likewise.
29585 * nis/nis_add.c (nis_add): Likewise.
29587 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29589 * posix/fnmatch_loop.c: Add some consts.
29591 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29593 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29596 * config.make.in (config-cflags-novzeroupper): Define.
29597 * configure.in: Substitute libc_cv_cc_novzeroupper.
29598 * elf/Makefile (AVX-CFLAGS): Define.
29599 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29600 (CFLAGS-tst-auditmod4a.c): Likewise.
29601 (CFLAGS-tst-auditmod4b.c): Likewise.
29602 (CFLAGS-tst-auditmod6b.c): Likewise.
29603 (CFLAGS-tst-auditmod6c.c): Likewise.
29604 (CFLAGS-tst-auditmod7b.c): Likewise.
29605 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29607 2011-02-02 Ulrich Drepper <drepper@gmail.com>
29609 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29610 function to the callback.
29611 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29613 2011-02-02 Andreas Schwab <schwab@redhat.com>
29615 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29618 2011-01-19 Ulrich Drepper <drepper@gmail.com>
29621 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29623 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29625 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29628 * elf/Makefile: Add rules to build and run new test.
29629 * elf/tst-initorder.c: New file.
29630 * elf/tst-initorder.exp: New file.
29631 * elf/tst-initordera1.c: New file.
29632 * elf/tst-initordera2.c: New file.
29633 * elf/tst-initordera3.c: New file.
29634 * elf/tst-initordera4.c: New file.
29635 * elf/tst-initorderb1.c: New file.
29636 * elf/tst-initorderb2.c: New file.
29637 * elf/tst-order-a1.c: New file.
29638 * elf/tst-order-a2.c: New file.
29639 * elf/tst-order-a3.c: New file.
29640 * elf/tst-order-a4.c: New file.
29641 * elf/tst-order-b1.c: New file.
29642 * elf/tst-order-b2.c: New file.
29643 * elf/tst-order-main.c: New file.
29644 New test case by George Gensure <werkt0@gmail.com>.
29646 2010-10-01 Andreas Schwab <schwab@redhat.com>
29648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29649 decoding ACE if AI_CANONIDN.
29651 2011-01-18 Ulrich Drepper <drepper@gmail.com>
29653 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29655 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29657 * version.h (RELEASE): Bump for 2.13 release.
29658 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29660 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29664 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29671 * posix/getconf.c: Update copyright year.
29672 * catgets/gencat.c: Likewise.
29673 * csu/version.c: Likewise.
29674 * debug/catchsegv.sh: Likewise.
29675 * debug/xtrace.sh: Likewise.
29676 * elf/ldconfig.c: Likewise.
29677 * elf/ldd.bash.in: Likewise.
29678 * elf/sprof.c (print_version): Likewise.
29679 * iconv/iconv_prog.c: Likewise.
29680 * iconv/iconvconfig.c: Likewise.
29681 * locale/programs/locale.c: Likewise.
29682 * locale/programs/localedef.c: Likewise.
29683 * malloc/memusage.sh: Likewise.
29684 * malloc/mtrace.pl: Likewise.
29685 * nscd/nscd.c (print_version): Likewise.
29686 * nss/getent.c: Likewise.
29688 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29689 PF_CAIF, and PF_ALG.
29690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29692 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29694 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29695 (modules-names): Use them.
29696 (ifunc-test-modules, ifunc-pie-tests): Define.
29697 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29698 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29699 (test-extras): Likewise.
29700 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29701 $(compile-command.c).
29702 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29703 (all-built-dso): Define.
29704 (check-textrel.out, check-execstack.out): Depend on it.
29706 * configure.in: Don't override --enable-multi-arch.
29708 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29711 * nscd/hstcache.c (tryagain): Define.
29712 (cache_addhst): Return tryagain not notfound for temporary errors.
29713 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29716 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29719 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29720 to make the syscall.
29721 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29724 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29725 and fall back to matching as normal character if the string ends before
29726 the matching ']' is found. This is what POSIX requires.
29727 * posix/testfnm.c: Adjust test result.
29728 * posix/globtest.sh: Adjust test result. Add new test.
29729 * posix/tst-fnmatch.input: Likewise.
29730 * posix/tst-fnmatch2.c: Add new test.
29732 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29734 * elf/Makefile (check-execstack): Revert last change. Depend on
29736 (check-execstack.h): New target.
29737 (generated): Add check-execstack.h.
29738 * elf/check-execstack.c: Include "check-execstack.h".
29739 (main): Revert last change.
29740 (handle_file): Return zero if GNU_STACK is absent and
29741 DEFAULT_STACK_PERMS doesn't include PF_X.
29743 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29745 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29746 in child fails because the descriptor is already closed.
29747 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29748 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29749 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29752 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29756 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29757 temporary buffer used to handle multi lookups locally.
29758 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29760 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29762 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29765 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29767 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29768 alignment for SSE2.
29770 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29773 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29774 characters. When rounding increased number of integer digits recompute
29776 * stdio-common/tst-grouping.c: New file.
29777 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29779 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29781 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29782 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29784 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29786 * bits/select.h: Likewise.
29788 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29790 * po/ja.po: Update from translation team.
29792 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29795 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29796 implementation just like for lxstat, fxstatat, et al.
29798 2010-12-27 Jim Meyering <meyering@redhat.com>
29801 * posix/regexec.c (build_trtable): Return failure indication upon
29802 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29804 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29807 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29808 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29809 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29810 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29813 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29816 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29817 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29819 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29821 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29822 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29823 script has SORT_BY_INIT_PRIORITY.
29824 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29825 NO_CTORS_DTORS_SECTIONS is defined.
29826 * elf/soinit.c: Likewise.
29827 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29828 NO_CTORS_DTORS_SECTIONS is defined.
29829 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29830 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29831 * sysdeps/sh/init-first.c: Likewise.
29832 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29834 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29836 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29837 always use the slow path.
29839 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29841 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29842 similar rule which adds the sysdep directories to the header search in
29843 order to pick up the correct platform stackinfo.h.
29844 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29845 perform test if it is, otherwise return successfully without testing.
29846 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29847 DEFAULT_STACK_PERMS define in stackinfo.h.
29848 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29849 defined in stackinfo.h.
29850 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29851 DEFAULT_STACK_PERMS defined in stackinfo.h.
29852 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29853 * sysdeps/ia64/stackinfo.h: Likewise.
29854 * sysdeps/s390/stackinfo.h: Likewise.
29855 * sysdeps/sh/stackinfo.h: Likewise.
29856 * sysdeps/sparc/stackinfo.h: Likewise.
29857 * sysdeps/x86_64/stackinfo.h: Likewise.
29858 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29859 PF_X for powerpc64. Retain PF_X for powerpc32.
29861 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29863 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29865 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29866 GETDENTS_64BIT_ALIGNED.
29868 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29870 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29872 2010-12-10 Andreas Schwab <schwab@redhat.com>
29874 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29877 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29878 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29880 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29881 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29883 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29886 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29889 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29891 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29893 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29895 * po/it.po: Update from translation team.
29897 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29902 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29904 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29906 2010-11-24 Andreas Schwab <schwab@redhat.com>
29908 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29910 (gaih_getanswer_slice): Likewise.
29912 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29916 2010-05-31 Petr Baudis <pasky@suse.cz>
29919 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29920 silently even in the chroot mode.
29922 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29924 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29925 last patch a bit. Pretty printing
29927 2010-05-31 Petr Baudis <pasky@suse.cz>
29930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29931 initialization of skip_initgroups_dyn.
29933 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29935 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29936 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29938 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29940 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29942 2010-11-11 Andreas Schwab <schwab@redhat.com>
29944 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29945 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29946 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29947 ($(objpfx)tst-fnmatch-mem): New rule.
29948 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29949 * posix/tst-fnmatch.c (main): Call mtrace.
29951 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29954 Support Intel processor model 6 and model 0x2c.
29956 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29961 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29964 * string/test-strncasecmp.c (check_result): New function.
29965 (do_one_test): Use it.
29966 (check1): New function.
29967 (test_main): Use it.
29968 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29969 Support strcasecmp and strncasecmp.
29971 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29974 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29977 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29979 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29983 * sysdeps/x86_64/multiarch/bzero.S: New file.
29984 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29985 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29986 * sysdeps/x86_64/multiarch/memset.S: New file.
29987 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29989 Set bit_Prefer_SSE_for_memop for Intel processors.
29990 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29992 (index_Prefer_SSE_for_memop): Define.
29993 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29995 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
29997 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29998 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30000 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30003 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30004 (__x86_64_raw_data_cache_size_half): Likewise.
30005 (__x86_64_raw_shared_cache_size): Likewise.
30006 (__x86_64_raw_shared_cache_size_half): Likewise.
30008 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30009 (__x86_64_raw_data_cache_size_half): Likewise.
30010 (__x86_64_raw_shared_cache_size): Likewise.
30011 (__x86_64_raw_shared_cache_size_half): Likewise.
30012 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30013 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30014 and __x86_64_raw_shared_cache_size_half. Round
30015 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30016 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30017 to multiple of 256 bytes.
30019 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30023 of inacessible symlinks. Verify result of symlink before returning it.
30024 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30025 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30027 2010-10-28 Erich Ritz <erichritz@gmail.com>
30029 * math/math.h (isinf): Fix typo in comment.
30031 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30033 * po/da.po: Update from translation team.
30035 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30037 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30038 is added to the list.
30040 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30041 Ulrich Drepper <drepper@gmail.com>
30043 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30044 the global list here. Move code to...
30045 (_dl_add_to_namespace_list): ...here. New function.
30046 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30047 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30048 * elf/dl-load.c (lose): Don't remove the element from the list.
30049 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30050 (_dl_map_object): Likewise.
30052 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30055 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30056 into all bytes of SSE register.
30057 Patch by Richard Li <richardpku@gmail.com>.
30059 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30062 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30065 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30067 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30068 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30069 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30070 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30075 2010-10-22 Andreas Schwab <schwab@redhat.com>
30077 * include/dlfcn.h (__RTLD_SECURE): Define.
30078 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30079 mode & __RTLD_SECURE instead.
30080 (open_path): Rename preloaded parameter to secure.
30081 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30082 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30083 * elf/dl-deps.c (openaux): Likewise.
30084 * elf/rtld.c (struct map_args): Remove is_preloaded.
30085 (map_doit): Don't use it.
30086 (dl_main): Likewise.
30087 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30088 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30090 2010-09-09 Andreas Schwab <schwab@redhat.com>
30092 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30093 (sysd-rules-targets): Remove duplicates.
30094 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30095 rtld-%.$o dependency.
30097 2010-10-18 Andreas Schwab <schwab@redhat.com>
30099 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30100 _dl_map_object do it.
30102 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30104 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30105 fast fma builtins, define the macros in the C99 standard.
30106 (FP_FAST_FMAF): Likewise.
30107 (FP_FAST_FMAL): Likewise.
30108 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30110 * bits/mathdef.h: Update copyright year.
30111 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30113 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30115 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30116 builtins, define the macros in the C99 standard.
30117 (FP_FAST_FMAF): Likewise.
30118 (FP_FAST_FMAL): Likewise.
30119 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30121 (FP_FAST_FMAF): Likewise.
30123 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30126 * math/libm-test.inc (fma_test): Some new testcases.
30127 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30128 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30129 y and infinite z. Do multiplication by C already in long double.
30130 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30132 y and infinite z. Do bitwise or of inexact bit into u.d.
30133 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30134 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30135 * sysdeps/i386/fpu/s_fma.S: Removed.
30136 * sysdeps/i386/fpu/s_fmal.S: Removed.
30138 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30141 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30143 computation is not scheduled after fetestexcept. Fix value
30144 of minimum denormal long double.
30146 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30149 * math/libm-test.inc (fma_test): Add some more tests.
30150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30153 2010-10-15 Andreas Schwab <schwab@redhat.com>
30155 * scripts/data/localplt-s390-linux-gnu.data: New file.
30156 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30158 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30161 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30162 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30164 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30166 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30168 if one of x and y is very large and the other is subnormal.
30169 * sysdeps/s390/fpu/s_fmaf.c: New file.
30170 * sysdeps/s390/fpu/s_fma.c: New file.
30171 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30172 * sysdeps/powerpc/fpu/s_fma.S: New file.
30173 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30174 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30175 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30177 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30180 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30182 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30183 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30184 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30185 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30186 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30187 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30188 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30190 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30193 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30194 * posix/bug-regex31.input: Add test case.
30196 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30198 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30199 * posix/bug-regex31.input: New file.
30202 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30203 (parse_sub_exp): Fix last change, use postorder.
30205 * posix/bug-regex31.c: New file.
30206 * posix/Makefile: Add rules to build and run bug-regex31.
30208 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30211 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30214 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30215 to have entries in sys_siglist.
30218 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30221 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30224 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30225 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30226 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30227 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30228 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30229 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30230 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30231 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30232 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30233 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30234 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30235 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30236 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30237 * math/ftestexcept.c (fetestexcept): Likewise.
30238 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30239 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30240 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30241 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30242 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30243 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30244 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30246 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30249 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30252 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30254 * string/bug-strstr1.c: New file.
30255 * string/Makefile: Add rules to build and run bug-strstr1.
30257 2010-10-05 Eric Blake <eblake@redhat.com>
30260 * string/str-two-way.h (two_way_long_needle): Always clear memory
30261 when skipping input due to the shift table.
30263 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30266 * malloc/mcheck.c: Handle large requests.
30269 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30270 for strncmp and strncasecmp.
30271 * string/stratcliff.c: Add tests for strcmp and strncmp.
30272 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30274 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30276 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30279 2010-09-30 Andreas Jaeger <aj@suse.de>
30281 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30282 (CGROUP_SUPER_MAGIC): Define.
30283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30284 Handle btrfs and cgroup file systems.
30285 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30288 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30290 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30291 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30293 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30296 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30297 trying to locate the ELF header.
30299 2010-09-27 Andreas Schwab <schwab@redhat.com>
30302 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30303 Mask out sign-bit copies when constructing f_fsid.
30305 2010-09-24 Petr Baudis <pasky@suse.cz>
30307 * debug/stack_chk_fail_local.c: Add missing licence exception.
30308 * debug/warning-nop.c: Likewise.
30310 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30313 implementing getdents64 using getdents syscall, set d_type if
30314 __ASSUME_GETDENTS32_D_TYPE.
30316 2010-09-16 Andreas Schwab <schwab@redhat.com>
30318 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30319 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30321 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30324 * posix/unistd.h: Undo change of feature selection for ftruncate from
30327 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30329 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30332 2010-09-20 Andreas Schwab <schwab@redhat.com>
30334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30336 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30338 2010-09-14 Andreas Schwab <schwab@redhat.com>
30340 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30341 variables after CHECK_SP call.
30342 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30344 2010-09-13 Andreas Schwab <schwab@redhat.com>
30345 Ulrich Drepper <drepper@redhat.com>
30347 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30348 re-relocationg ld.so.
30349 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30350 _dl_init_paths call.
30351 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30354 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30356 * resolv/res_init.c (__res_vinit): Count the default server we added.
30358 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30359 Ulrich Drepper <drepper@redhat.com>
30362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30363 (____longjmp_chk): Use %ebx for saving value across system call.
30366 2010-09-06 Andreas Schwab <schwab@redhat.com>
30368 * manual/Makefile: Don't mix pattern rules with normal rules.
30370 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30372 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30374 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30375 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30376 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30377 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30381 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30384 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30385 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30387 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30389 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30390 * sysdeps/x86_64/addmul_1.S: Likewise.
30391 * sysdeps/x86_64/lshift.S: Likewise.
30392 * sysdeps/x86_64/mul_1.S: Likewise.
30393 * sysdeps/x86_64/rshift.S: Likewise.
30394 * sysdeps/x86_64/sub_n.S: Likewise.
30395 * sysdeps/x86_64/submul_1.S: Likewise.
30397 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30399 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30400 Define __sched_param instead of SCHED_* and sched_param when
30401 <bits/sched.h> is included with __need_schedparam defined.
30402 * bits/sched.h [__need_schedparam]
30403 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30404 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30405 (__defined_schedparam): Define to 1.
30406 (__sched_param): New structure, identical to sched_param.
30407 (__need_schedparam): Undefine.
30409 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30411 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30412 (epoll_create1): Declare.
30414 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30416 2010-08-31 Andreas Schwab <schwab@redhat.com>
30419 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30420 shifting retval into place.
30422 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30424 * nis/rpcsvc/nis.h: Update copyright notice.
30425 * nis/rpcsvc/nis.x: Likewise.
30426 * nis/rpcsvc/nis_callback.h: Likewise.
30427 * nis/rpcsvc/nis_callback.x: Likewise.
30428 * nis/rpcsvc/nis_object.x: Likewise.
30429 * nis/rpcsvc/nis_tags.h: Likewise.
30430 * nis/rpcsvc/yp.h: Likewise.
30431 * nis/rpcsvc/yp.x: Likewise.
30432 * nis/rpcsvc/ypupd.h: Likewise.
30433 * nis/yp_xdr.c: Likewise.
30434 * nis/ypupdate_xdr.c: Likewise.
30436 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30437 mainly the body of pmap_getport. Add parameters to specify timeouts.
30438 (pmap_getport): Use __libc_rpc_getport.
30439 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30440 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30441 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30443 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30448 2010-08-27 Roland McGrath <roland@redhat.com>
30450 * sysdeps/i386/i686/multiarch/Makefile
30451 (CFLAGS-varshift.c): New variable.
30453 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30455 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30456 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30460 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30462 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30464 * sysdeps/x86_64/strlen.S: Unroll the loop.
30465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30466 strlen-sse2 strlen-sse2-bsf.
30467 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30468 __strlen_no_bsf if bit_Slow_BSF is set.
30469 (__strlen_sse42): Removed.
30470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30471 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30473 2010-08-25 Roland McGrath <roland@redhat.com>
30475 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30476 * sysdeps/x86_64/multiarch/varshift.c: New file.
30477 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30478 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30479 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30480 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30482 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30485 strlen-sse2 strlen-sse2-bsf.
30486 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30487 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30488 (__strlen_sse2): Removed.
30489 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30490 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30492 bit_Slow_BSF for Atom.
30493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30494 (index_Slow_BSF): Define.
30495 (HAS_SLOW_BSF): Define.
30497 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30500 * resolv/res_init.c (__res_vinit): When no server address at all
30501 is given default to loopback.
30503 2010-08-24 Roland McGrath <roland@redhat.com>
30505 * configure.in: Remove config-name.h generation.
30506 * configure: Regenerated.
30507 * config-name.in: File removed.
30508 * scripts/config-uname.sh: New file.
30509 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30510 ($(objdir)config-name.h): New target.
30512 * sunrpc/rpc_parse.h: Avoid nested comment.
30514 2010-08-24 Richard Henderson <rth@redhat.com>
30515 Ulrich Drepper <drepper@redhat.com>
30516 H.J. Lu <hongjiu.lu@intel.com>
30518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30520 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30521 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30522 _mm_alignr_epi8 with _mm_loadu_si128.
30523 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30524 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30525 (__m128i_shift_right): Removed.
30526 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30527 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30528 * sysdeps/x86_64/multiarch/varshift.h: New file.
30529 * sysdeps/x86_64/multiarch/varshift.S: New file.
30531 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30533 * configure.in: Move assembler checks to before sysdep dir checking.
30535 2010-08-20 Petr Baudis <pasky@suse.cz>
30537 * LICENSES: Sync the sunrpc license.
30539 2010-08-19 Ulrich Drepper <drepper@redhat.com>
30541 * sunrpc/auth_des.c: Update copyright notice once again.
30542 * sunrpc/auth_none.c: Likewise.
30543 * sunrpc/auth_unix.c: Likewise.
30544 * sunrpc/authdes_prot.c: Likewise.
30545 * sunrpc/authuxprot.c: Likewise.
30546 * sunrpc/bindrsvprt.c: Likewise.
30547 * sunrpc/clnt_gen.c: Likewise.
30548 * sunrpc/clnt_perr.c: Likewise.
30549 * sunrpc/clnt_raw.c: Likewise.
30550 * sunrpc/clnt_simp.c: Likewise.
30551 * sunrpc/clnt_tcp.c: Likewise.
30552 * sunrpc/clnt_udp.c: Likewise.
30553 * sunrpc/clnt_unix.c: Likewise.
30554 * sunrpc/des_crypt.c: Likewise.
30555 * sunrpc/des_soft.c: Likewise.
30556 * sunrpc/get_myaddr.c: Likewise.
30557 * sunrpc/getrpcport.c: Likewise.
30558 * sunrpc/key_call.c: Likewise.
30559 * sunrpc/key_prot.c: Likewise.
30560 * sunrpc/openchild.c: Likewise.
30561 * sunrpc/pm_getmaps.c: Likewise.
30562 * sunrpc/pm_getport.c: Likewise.
30563 * sunrpc/pmap_clnt.c: Likewise.
30564 * sunrpc/pmap_prot.c: Likewise.
30565 * sunrpc/pmap_prot2.c: Likewise.
30566 * sunrpc/pmap_rmt.c: Likewise.
30567 * sunrpc/rpc/auth.h: Likewise.
30568 * sunrpc/rpc/auth_unix.h: Likewise.
30569 * sunrpc/rpc/clnt.h: Likewise.
30570 * sunrpc/rpc/des_crypt.h: Likewise.
30571 * sunrpc/rpc/key_prot.h: Likewise.
30572 * sunrpc/rpc/netdb.h: Likewise.
30573 * sunrpc/rpc/pmap_clnt.h: Likewise.
30574 * sunrpc/rpc/pmap_prot.h: Likewise.
30575 * sunrpc/rpc/pmap_rmt.h: Likewise.
30576 * sunrpc/rpc/rpc.h: Likewise.
30577 * sunrpc/rpc/rpc_des.h: Likewise.
30578 * sunrpc/rpc/rpc_msg.h: Likewise.
30579 * sunrpc/rpc/svc.h: Likewise.
30580 * sunrpc/rpc/svc_auth.h: Likewise.
30581 * sunrpc/rpc/types.h: Likewise.
30582 * sunrpc/rpc/xdr.h: Likewise.
30583 * sunrpc/rpc_clntout.c: Likewise.
30584 * sunrpc/rpc_cmsg.c: Likewise.
30585 * sunrpc/rpc_common.c: Likewise.
30586 * sunrpc/rpc_cout.c: Likewise.
30587 * sunrpc/rpc_dtable.c: Likewise.
30588 * sunrpc/rpc_hout.c: Likewise.
30589 * sunrpc/rpc_main.c: Likewise.
30590 * sunrpc/rpc_parse.c: Likewise.
30591 * sunrpc/rpc_parse.h: Likewise.
30592 * sunrpc/rpc_prot.c: Likewise.
30593 * sunrpc/rpc_sample.c: Likewise.
30594 * sunrpc/rpc_scan.c: Likewise.
30595 * sunrpc/rpc_scan.h: Likewise.
30596 * sunrpc/rpc_svcout.c: Likewise.
30597 * sunrpc/rpc_tblout.c: Likewise.
30598 * sunrpc/rpc_util.c: Likewise.
30599 * sunrpc/rpc_util.h: Likewise.
30600 * sunrpc/rpcinfo.c: Likewise.
30601 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30602 * sunrpc/rpcsvc/key_prot.x: Likewise.
30603 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30604 * sunrpc/rpcsvc/mount.x: Likewise.
30605 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30606 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30607 * sunrpc/rpcsvc/rex.x: Likewise.
30608 * sunrpc/rpcsvc/rstat.x: Likewise.
30609 * sunrpc/rpcsvc/rusers.x: Likewise.
30610 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30611 * sunrpc/rpcsvc/spray.x: Likewise.
30612 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30613 * sunrpc/rtime.c: Likewise.
30614 * sunrpc/svc.c: Likewise.
30615 * sunrpc/svc_auth.c: Likewise.
30616 * sunrpc/svc_authux.c: Likewise.
30617 * sunrpc/svc_raw.c: Likewise.
30618 * sunrpc/svc_run.c: Likewise.
30619 * sunrpc/svc_simple.c: Likewise.
30620 * sunrpc/svc_tcp.c: Likewise.
30621 * sunrpc/svc_udp.c: Likewise.
30622 * sunrpc/svc_unix.c: Likewise.
30623 * sunrpc/svcauth_des.c: Likewise.
30624 * sunrpc/xcrypt.c: Likewise.
30625 * sunrpc/xdr.c: Likewise.
30626 * sunrpc/xdr_array.c: Likewise.
30627 * sunrpc/xdr_float.c: Likewise.
30628 * sunrpc/xdr_mem.c: Likewise.
30629 * sunrpc/xdr_rec.c: Likewise.
30630 * sunrpc/xdr_ref.c: Likewise.
30631 * sunrpc/xdr_sizeof.c: Likewise.
30632 * sunrpc/xdr_stdio.c: Likewise.
30634 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30637 2010-08-19 Andreas Schwab <schwab@redhat.com>
30639 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30641 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
30643 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30645 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30646 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30647 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30648 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30649 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30650 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30651 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30653 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30654 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30655 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30656 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30658 2010-07-26 Anton Blanchard <anton@samba.org>
30660 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30661 * malloc/arena.c (heap_trim): Likewise.
30663 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30665 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30668 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30670 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30672 * sysdeps/i386/elf/Makefile: New file.
30674 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30676 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30677 from fanotify_init.
30678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30681 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30683 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30685 * sysdeps/multiarch/strcmp.S: Likewise.
30687 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30689 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30690 strncase_l-nonascii.
30691 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30692 Add strncase_l-ssse3.
30693 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30694 * sysdeps/x86_64/strcmp.S: Likewise.
30695 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30696 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30697 * sysdeps/x86_64/strncase.S: New file.
30698 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30699 * sysdeps/x86_64/strncase_l.S: New file.
30700 * string/Makefile (strop-tests): Add strncasecmp.
30701 * string/test-strncasecmp.c: New file.
30703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30706 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30707 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30709 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30711 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30713 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30715 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30716 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30717 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30719 2010-05-01 Alan Modra <amodra@gmail.com>
30721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30722 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30723 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30724 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30725 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30726 tidying. Don't tail-call __sigjmp_save for static lib.
30727 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30729 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30730 (CALL_MCOUNT): Add eh info, and nop after bl.
30731 (TAIL_CALL_SYSCALL_ERROR): New macro.
30732 (PSEUDO_RET): Use it.
30733 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30734 Correct save location of integer regs and cr.
30735 (_dl_profile_resolve): Correct cr save location. Delete nops
30736 after bl when SHARED. Reduce cfi size a little by better
30737 placement of cfi directives.
30738 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30739 make a stack frame. Instead use parm save area as a temp.
30740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30741 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30743 Don't make a stack frame for parent, use parm save area.
30744 Increase child stack frame to 112 bytes. Don't save unused reg,
30745 and adjust reg usage. Set up cfi on error recovery and
30746 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30748 (__makecontext): Add dummy nop after jump to exit.
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30750 Use correct parm save area and cr save, reduce stack frame.
30751 Correct cfi for possible PSEUDO_RET frame setup.
30752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30753 Branch to local label emitted by PSEUDO_RET rather than
30756 2010-08-12 Andreas Schwab <schwab@redhat.com>
30759 * locale/programs/locale.c (print_assignment): New function.
30760 (show_locale_vars): Use it.
30762 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30764 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30766 (struct statfs64): Likewise.
30767 (_STATFS_F_FLAGS): Define.
30768 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30769 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30770 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30771 (ST_VALID): Define locally.
30772 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30773 __statvfs_getflags, use the provided value.
30774 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30775 __ASSUME_STATFS_F_FLAGS.
30777 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30779 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30780 Add sys/fanotify.h.
30781 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30782 fanotify_mask for GLIBC_2.13.
30783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30784 fanotify_init and fanotify_mark.
30785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30786 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30788 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30790 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30791 prlimit64 for GLIBC_2.13.
30792 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30797 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30798 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30799 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30800 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30802 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30805 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30806 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30808 * nss/Makefile: Add rules to build and run tst-nss-test1.
30809 * shlib-versions: Add entry for libnss_test1.
30810 * nss/nss_test1.c: New file.
30811 * nss/tst-nss-test1.c: New file.
30813 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30814 (__nss_configure_lookup): Set appropriate entry in
30815 __nss_configure_lookup to true.
30816 * nss/nsswitch.h: Define enum with indeces of databases in
30817 databases and __nss_database_custom arrays. Declare
30818 __nss_database_custom.
30819 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30820 to avoid using nscd when custom rules are installed.
30821 * nss/getXXbyYY_r.c: Likewise.
30822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30824 * nss/nss_files/files-parse.c: Whitespace fixes.
30826 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30829 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30830 * posix/fnmatch_loop.c: Likewise.
30832 2010-07-17 Andi Kleen <ak@linux.intel.com>
30834 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30835 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30836 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30837 * Versions.def [GLIBC_2.13]: Add.
30839 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30841 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30842 Also fail if tpwd after pwuid call is NULL.
30844 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30846 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30847 when converting to ms.
30849 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30851 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30852 EOPNOTSUPP errors with ENOTTY.
30853 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30854 EOPNOTSUPP errors with ENOTTY.
30856 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30858 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30859 Add strcasecmp_l-ssse3.
30860 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30862 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30863 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30864 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30866 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30868 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30870 * string/Makefile (strop-tests): Add strcasecmp.
30871 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30872 strcasecmp_l-nonascii.
30873 (gen-as-const-headers): Add locale-defines.sym.
30874 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30875 * sysdeps/x86_64/strcasecmp.S: New file.
30876 * sysdeps/x86_64/strcasecmp_l.S: New file.
30877 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30878 * sysdeps/x86_64/locale-defines.sym: New file.
30879 * string/test-strcasecmp.c: New file.
30881 * string/test-strcasestr.c: Test both ends of the range of characters.
30882 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30884 2010-07-29 Roland McGrath <roland@redhat.com>
30887 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30889 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30891 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30894 2010-07-27 Andreas Schwab <schwab@redhat.com>
30896 * manual/memory.texi (Malloc Tunable Parameters): Document
30899 2010-07-26 Roland McGrath <roland@redhat.com>
30902 * configure.in (-fgnu89-inline check): Set and substitute
30903 gnu89_inline, not libc_cv_gnu89_inline.
30904 * configure: Regenerated.
30905 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30907 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30909 * string/test-strnlen.c: New file.
30910 * string/Makefile (strop-tests): Add strnlen.
30911 * string/tester.c (test_strnlen): Add a few more test cases.
30912 * string/tst-strlen.c: Better error reporting.
30914 * sysdeps/x86_64/strnlen.S: New file.
30916 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30918 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30919 lower-latency instructions.
30921 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30923 * string/test-strcasestr.c: New file.
30924 * string/test-strstr.c: New file.
30925 * string/Makefile (strop-tests): Add strstr and strcasestr.
30926 * string/str-two-way.h: Don't undefine MAX.
30927 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30929 2010-07-21 Andreas Schwab <schwab@redhat.com>
30931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30932 strcasestr-nonascii.
30933 (CFLAGS-strcasestr-nonascii.c): Define.
30934 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30936 Remove unused attribute.
30938 2010-07-20 Roland McGrath <roland@redhat.com>
30940 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30941 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30942 ld.so.cache was broken. With it, there is no way to disable dsocaps
30943 like LD_HWCAP_MASK can disable hwcaps.
30945 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30947 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30949 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30951 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30952 call in strcasestr.
30953 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30954 __strcasestr_sse42_nonascii.
30955 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30956 strcasestr-nonascii.c.
30957 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30959 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30961 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30962 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30963 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30966 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30971 2010-07-06 Andreas Schwab <schwab@redhat.com>
30974 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30977 2010-07-06 Ulrich Drepper <drepper@redhat.com>
30979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30980 _PC_PIPE_BUF using F_GETPIPE_SZ.
30982 2010-07-05 Roland McGrath <roland@redhat.com>
30984 * manual/arith.texi (Rounding Functions): Fix rint description
30985 implicit in round description.
30987 2010-07-02 Ulrich Drepper <drepper@redhat.com>
30989 * elf/Makefile: Fix linking for a few tests to make recent linker
30992 2010-06-30 Andreas Schwab <schwab@redhat.com>
30994 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30995 $(common-objpfx)libc_nonshared.a.
30997 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
30999 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31000 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31001 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31002 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31003 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31004 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31005 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31006 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31021 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31022 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31023 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31024 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31025 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31026 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31027 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31028 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31029 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31030 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31031 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31032 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31048 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31050 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31051 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31052 * string/memmove.c (memmove): Renamed to ...
31053 (MEMMOVE): ...this. Default to memmove.
31054 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31055 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31058 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31059 mempcpy-ssse3-back memmove-ssse3-back.
31060 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31063 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31064 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31065 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31066 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31067 * sysdeps/x86_64/multiarch/memmove.c: New file.
31068 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31069 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31070 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31071 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31072 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31075 (index_Fast_Copy_Backward): Define.
31076 (HAS_ARCH_FEATURE): Define.
31077 (HAS_FAST_REP_STRING): Define.
31078 (HAS_FAST_COPY_BACKWARD): Define.
31080 2010-06-21 Andreas Schwab <schwab@redhat.com>
31082 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31083 Restore proper fallback handling.
31085 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31088 * posix/group_member.c (__group_member): Correct checking loop.
31090 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31091 OOM in getpwuid_r correctly. Return error number when the caller
31092 should return, otherwise -1.
31093 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31094 call returning > 0 value.
31095 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31097 2010-06-07 Andreas Schwab <schwab@redhat.com>
31099 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31100 libc_nonshared.a from targets in modules-names.
31102 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31104 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31107 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31110 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31114 2010-06-02 Andreas Schwab <schwab@redhat.com>
31116 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31118 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31120 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31122 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31129 2010-06-14 Roland McGrath <roland@redhat.com>
31131 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31133 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31135 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31136 __REDIRECT followed by __THROW.
31137 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31138 * posix/getopt.h (getopt): Likewise.
31140 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31142 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31143 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31144 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31146 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31147 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31149 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31153 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31157 Properly check family and model.
31159 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31161 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31163 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31165 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31167 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31169 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31172 2010-05-19 Andreas Schwab <schwab@redhat.com>
31174 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31177 2010-05-21 Andreas Schwab <schwab@redhat.com>
31179 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31180 and internal_recvmmsg.
31181 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31182 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31183 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31184 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31186 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31187 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31188 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31190 2010-05-20 Andreas Schwab <schwab@redhat.com>
31192 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31194 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31196 POWER7 optimizations.
31197 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31198 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31200 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31202 * version.h: Update for 2.13 development version.
31204 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31206 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31207 exceptions. Return 0.
31209 2010-05-07 Roland McGrath <roland@redhat.com>
31211 * elf/ldconfig.c (main): Add a const.
31213 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31215 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31216 (args_options): Add no-idn option.
31217 (ahosts_keys_int): Add idn_flags to ai_flags.
31218 (parse_option): Handle 'i' option to clear idn_flags.
31220 * malloc/malloc.c (_int_free): Possible race in the most recently
31221 added check. Only act on the data if no current modification
31224 See ChangeLog.17 for earlier changes.