1 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * benchtests/Makefile: Disable parallel execution of targets.
4 (string-bench): Add memcpy.
5 (benchset): New variable to store a list of benchmark sets.
6 (bench-func): Renamed from bench.
7 (bench-set): New target.
8 (bench): Depend on bench-func and bench-set.
9 * benchtests/README: Add section on benchmark sets.
10 * benchtests/bench-memcpy-ifunc.c: New file.
11 * benchtests/bench-memcpy.c: New file.
12 * benchtests/bench-string.h: New file.
14 2013-06-11 Andreas Schwab <schwab@suse.de>
17 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21 terminator in the group key.
23 2013-06-11 Andreas Jaeger <aj@suse.de>
25 * po/zh_TW.po: Update Chinese (traditional) translation from
28 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34 (clock_getcpuclockid): Likewise.
35 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
36 Add weak_alias and libc_hidden_def.
37 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
38 * rt/clock_gettime.c (clock_gettime): Rename to
39 __clock_gettime. Add weak_alias and libc_hidden_def.
40 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42 __clock_nanosleep. Add weak_alias and libc_hidden_def.
43 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46 * rt/clock_settime.c (clock_settime): Rename to
47 __clock_settime. Add weak_alias and libc_hidden_def.
48 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50 2013-06-10 Joseph Myers <joseph@codesourcery.com>
52 * mach/err_boot.sub: Remove trailing whitespace.
53 * mach/err_ipc.sub: Likewise.
54 * mach/err_mach.sub: Likewise.
56 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57 (ROUNDING_TESTS_double): Likewise.
58 (ROUNDING_TESTS_long_double): Likewise.
59 (ROUNDING_TESTS): Likewise.
60 * math/libm-test.inc: Include <math-tests.h>.
61 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64 (IF_ROUND_INIT_FE_UPWARD): Likewise.
66 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
71 2013-06-08 Joseph Myers <joseph@codesourcery.com>
73 * sysdeps/gnu/errlist.awk: Do not generate space at end of
74 otherwise empty TRANS lines.
75 * sysdeps/gnu/errlist.c: Regenerated.
77 * catgets/gencat.c (error_print): Use (void) in function
79 * crypt/crypt_util.c (__init_des): Likewise.
80 * crypt/speeds.c (Stop): Likewise.
82 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
83 * inet/ruserpass.c (token): Likewise.
84 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
85 * intl/localealias.c (extend_alias_table): Likewise.
86 * intl/plural-exp.c (init_germanic_plural): Likewise.
87 * libio/fcloseall.c (__fcloseall): Likewise.
88 * libio/genops.c (_IO_flush_all): Likewise.
89 (_IO_flush_all_linebuffered): Likewise.
90 (_IO_cleanup): Likewise.
91 (_IO_iter_begin): Likewise.
92 (_IO_iter_end): Likewise.
93 (_IO_list_lock): Likewise.
94 (_IO_list_unlock): Likewise.
95 (_IO_list_resetlock): Likewise.
96 * libio/getchar.c (getchar): Likewise.
97 * libio/getchar_u.c (getchar_unlocked): Likewise.
98 * libio/getwchar.c (getwchar): Likewise.
99 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
100 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
101 * login/getpt.c (__getpt): Likewise.
102 * login/tst-utmp.c (main): Likewise.
103 * malloc/hooks.c (__malloc_check_init): Likewise.
104 * malloc/malloc.c (__malloc_stats): Likewise.
105 * malloc/mtrace.c (tr_break): Likewise.
107 (muntrace): Likewise.
108 * misc/fstab.c (endfsent): Likewise.
109 * misc/getclktck.c (__getclktck): Likewise.
110 * misc/getdtsz.c (__getdtablesize): Likewise.
111 * misc/gethostid.c (gethostid): Likewise.
112 * misc/getpagesize.c (__getpagesize): Likewise.
113 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
114 (__get_nprocs): Likewise.
115 (__get_phys_pages): Likewise.
116 (__get_avphys_pages): Likewise.
117 * misc/getttyent.c (getttyent): Likewise.
118 (setttyent): Likewise.
119 (endttyent): Likewise.
120 * misc/getusershell.c (getusershell): Likewise.
121 (endusershell): Likewise.
122 (setusershell): Likewise.
123 (initshells): Likewise.
124 * misc/hsearch.c (__hdestroy): Likewise.
125 * misc/sync.c (sync): Likewise.
126 * misc/syslog.c (closelog_internal): Likewise.
127 (closelog): Likewise.
128 * misc/ttyslot.c (ttyslot): Likewise.
129 * misc/vhangup.c (vhangup): Likewise.
130 * posix/fork.c (__fork): Likewise.
131 * posix/getegid.c (__getegid): Likewise.
132 * posix/geteuid.c (__geteuid): Likewise.
133 * posix/getgid.c (__getgid): Likewise.
134 * posix/getpid.c (__getpid): Likewise.
135 * posix/getppid.c (__getppid): Likewise.
136 * posix/getuid.c (__getuid): Likewise.
137 * posix/pause.c (pause): Likewise.
138 * posix/setpgrp.c (setpgrp): Likewise.
139 * posix/setsid.c (__setsid): Likewise.
140 * posix/test-vfork.c (noop): Likewise.
141 * resolv/gethnamaddr.c (_endhtent): Likewise.
142 (_gethtent): Likewise.
143 (ht_endhostent): Likewise.
144 (gethostent): Likewise.
145 (dns_service): Likewise.
146 * stdlib/drand48.c (drand48): Likewise.
147 * stdlib/lrand48.c (lrand48): Likewise.
148 * stdlib/mrand48.c (mrand48): Likewise.
149 * stdlib/rand.c (rand): Likewise.
150 * stdlib/random.c (__random): Likewise.
151 * stdlib/setenv.c (clearenv): Likewise.
152 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
153 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
154 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
155 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
156 (__get_nprocs): Likewise.
157 (__get_phys_pages): Likewise.
158 (__get_avphys_pages): Likewise.
159 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
160 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
161 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
162 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
163 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
164 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
165 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
166 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
167 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
168 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
169 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
170 * sysdeps/mach/hurd/sync.c (sync): Likewise.
171 * sysdeps/posix/clock.c (clock): Likewise.
172 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
173 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
174 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
175 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
176 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
178 (__get_nprocs_conf): Likewise.
179 (__get_phys_pages): Likewise.
180 (__get_avphys_pages): Likewise.
181 * time/clock.c (clock): Likewise.
182 * time/tzset.c (__tzname_max): Likewise.
184 2013-06-07 Joseph Myers <joseph@codesourcery.com>
186 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
187 (__bswap_32): Do not use "register".
188 * crypt/crypt.c (_ufc_doit_r): Likewise.
189 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
190 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
191 * gmon/gmon.c (__monstartup): Likewise.
192 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
193 * hurd/hurdmalloc.c (more_memory): Likewise.
197 (malloc_fork_prepare): Likewise.
198 (malloc_fork_parent): Likewise.
199 (malloc_fork_child): Likewise.
200 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
201 (_svcauth_des): Likewise.
202 * inet/inet_lnaof.c (inet_lnaof): Likewise.
203 * inet/inet_net.c (inet_network): Likewise.
204 * inet/inet_netof.c (inet_netof): Likewise.
205 * inet/rcmd.c (__validuser2_sa): Likewise.
206 * io/fts.c (fts_open): Likewise.
207 (fts_load): Likewise.
208 (fts_close): Likewise.
209 (fts_read): Likewise.
210 (fts_children): Likewise.
211 (fts_build): Likewise.
212 (fts_stat): Likewise.
213 (fts_sort): Likewise.
214 (fts_alloc): Likewise.
215 (fts_lfree): Likewise.
216 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
217 (_IO_file_xsgetn): Likewise.
218 (_IO_file_xsgetn_mmap): Likewise.
219 * libio/iofopncook.c (_IO_cookie_read): Likewise.
220 (_IO_cookie_write): Likewise.
221 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
222 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
223 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
224 * malloc/obstack.c (_obstack_begin): Likewise.
225 (_obstack_begin_1): Likewise.
226 (_obstack_newchunk): Likewise.
227 (_obstack_allocated_p): Likewise.
228 (obstack_free): Likewise.
229 (_obstack_memory_used): Likewise.
230 * misc/getttyent.c (getttynam): Likewise.
231 (getttyent): Likewise.
234 * misc/getusershell.c (initshells): Likewise.
235 * misc/syslog.c (__vsyslog_chk): Likewise.
236 * misc/ttyslot.c (ttyslot): Likewise.
237 * nis/nis_hash.c (__nis_hash): Likewise.
238 * posix/fnmatch_loop.c (FCT): Likewise.
239 * posix/getconf.c (print_all): Likewise.
241 * posix/getopt.c (exchange): Likewise.
242 * posix/glob.c (globfree): Likewise.
243 (prefix_array): Likewise.
244 (__glob_pattern_type): Likewise.
245 * resolv/arpa/nameser.h (NS_GET16): Likewise.
246 (NS_GET32): Likewise.
247 (NS_PUT16): Likewise.
248 (NS_PUT32): Likewise.
249 * resolv/gethnamaddr.c (getanswer): Likewise.
250 (gethostbyname2): Likewise.
251 (gethostbyaddr): Likewise.
252 (_gethtent): Likewise.
253 (_gethtbyname2): Likewise.
254 (_gethtbyaddr): Likewise.
255 * resolv/ns_print.c (dst_s_get_int16): Likewise.
256 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
257 * resolv/res_init.c (__res_vinit): Likewise.
258 (net_mask): Likewise.
259 * resolv/res_mkquery.c (outchar): Likewise.
261 * stdio-common/printf_fp.c (outchar): Likewise.
263 * stdio-common/printf_fphex.c (outchar): Likewise.
265 * stdio-common/printf_size.c (outchar): Likewise.
267 * stdio-common/test_rdwr.c (main): Likewise.
268 * stdio-common/tfformat.c (matches): Likewise.
269 * stdio-common/vfprintf.c (outchar): Likewise.
270 (printf_unknown): Likewise.
271 (buffered_vfprintf): Likewise.
272 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
273 * stdio-common/xbug.c (AppendToBuffer): Likewise.
274 (ReadFile): Likewise.
275 * stdlib/qsort.c (SWAP): Likewise.
276 (_quicksort): Likewise.
277 * stdlib/setenv.c (__add_to_environ): Likewise.
278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
279 * stdlib/strtol_l.c (__strtol_l): Likewise.
280 * stdlib/tst-strtod.c (main): Likewise.
281 * stdlib/tst-strtol.c (main): Likewise.
282 * stdlib/tst-strtoll.c (main): Likewise.
283 * string/bits/string2.h (__strcmp_cc): Likewise.
284 (__strcmp_cg): Likewise.
285 (__strcspn_c1): Likewise.
286 (__strcspn_c2): Likewise.
287 (__strcspn_c3): Likewise.
288 (__strspn_c1): Likewise.
289 (__strspn_c2): Likewise.
290 (__strspn_c3): Likewise.
291 (__strsep_1c): Likewise.
292 (__strsep_2c): Likewise.
293 (__strsep_3c): Likewise.
294 * string/memccpy.c (__memccpy): Likewise.
295 * string/stpcpy.c (__stpcpy): Likewise.
296 * string/strcmp.c (strcmp): Likewise.
297 * string/strrchr.c (strrchr): Likewise.
298 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
300 * sysdeps/mach/hurd/getcwd.c
301 (_hurd_canonicalize_directory_name_internal): Likewise.
302 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
303 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
304 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
305 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
306 Likewise, in both definitions.
307 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
309 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
310 64] (__bswap_64): Likewise.
311 * time/test_time.c (main): Likewise.
312 * time/tzfile.c (__tzfile_read): Likewise.
313 (__tzfile_compute): Likewise.
314 * time/tzset.c (__tzset_parse_tz): Likewise.
315 (tzset_internal): Likewise.
316 (compute_change): Likewise.
317 * wcsmbs/wcscat.c (__wcscat): Likewise.
318 * wcsmbs/wcschr.c (wcschr): Likewise.
319 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
320 * wcsmbs/wcscspn.c (wcscspn): Likewise.
321 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
322 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
323 * wcsmbs/wcsspn.c (wcsspn): Likewise.
324 * wcsmbs/wcsstr.c (wcsstr): Likewise.
325 * wcsmbs/wmemchr.c (wmemchr): Likewise.
326 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
327 * wcsmbs/wmemset.c (wmemset): Likewise.
329 2013-06-06 Joseph Myers <joseph@codesourcery.com>
331 * scripts/config.guess: Update to version 2013-05-16.
332 * scripts/config.sub: Update to version 2013-04-24.
333 * scripts/install-sh: Update to version 2011-11-20.07.
334 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
335 * scripts/move-if-change: Update to version 2012-01-06 07:23.
337 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
339 * debug/fgetws_u_chk.c: Fix leading whitespaces.
340 * elf/sln.c: Likewise.
341 * hurd/hurd/ioctl.h: Likewise.
342 * hurd/hurdmalloc.c: Likewise.
343 * hurd/xattr.c: Likewise.
344 * include/shlib-compat.h: Likewise.
345 * inet/ruserpass.c: Likewise.
346 * libio/iofgets_u.c: Likewise.
347 * libio/iofgetws_u.c: Likewise.
348 * locale/programs/ld-identification.c: Likewise.
349 * locale/programs/ld-time.c: Likewise.
350 * mach/msg-destroy.c: Likewise.
351 * nss/nss_files/files-netgrp.c: Likewise.
352 * resolv/res_data.c: Likewise.
353 * soft-fp/op-1.h: Likewise.
354 * soft-fp/op-2.h: Likewise.
355 * soft-fp/op-4.h: Likewise.
356 * soft-fp/op-common.h: Likewise.
357 * stdio-common/printf_fphex.c: Likewise.
358 * stdlib/strtod_l.c: Likewise.
359 * sunrpc/rpc/clnt.h: Likewise.
360 * sysdeps/generic/framestate.c: Likewise.
361 * sysdeps/i386/bsd-_setjmp.S: Likewise.
362 * sysdeps/i386/bsd-setjmp.S: Likewise.
363 * sysdeps/i386/__longjmp.S: Likewise.
364 * sysdeps/i386/setjmp.S: Likewise.
365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
366 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
368 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
370 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
371 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
372 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
373 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
374 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
375 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
376 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
377 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
378 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
379 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
381 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
382 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
383 * sysdeps/ieee754/support.c: Likewise.
384 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
385 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
386 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
387 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
388 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
389 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
390 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
391 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
392 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
393 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
394 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
395 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
396 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
397 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
398 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
399 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
400 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
403 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
405 * posix/transbug.c: Remove executable mode.
407 2013-06-05 Joseph Myers <joseph@codesourcery.com>
409 * crypt/speeds.c: Remove trailing whitespace.
410 * dlfcn/default.c: Likewise.
411 * elf/ifuncdep2.c: Likewise.
412 * elf/ifuncmain1.c: Likewise.
413 * elf/ifuncmain1vis.c: Likewise.
414 * elf/testobj.h: Likewise.
415 * elf/tst-stackguard1.c: Likewise.
416 * gmon/sys/gmon.h: Likewise.
417 * hurd/hurdmsg.c: Likewise.
418 * hurd/new-fd.c: Likewise.
419 * hurd/ports-get.c: Likewise.
420 * iconvdata/ibm1008_420.c: Likewise.
421 * inet/tst-getni1.c: Likewise.
422 * inet/tst-getni2.c: Likewise.
423 * libio/ioungetc.c: Likewise.
424 * libio/wfiledoalloc.c: Likewise.
425 * manual/libm-err-tab.pl: Likewise.
426 * math/w_dremf.c: Likewise.
427 * misc/ftruncate.c: Likewise.
428 * posix/bug-glob2.c: Likewise.
429 * posix/tst-pcre.c: Likewise.
430 * posix/wait4.c: Likewise.
431 * resolv/README: Likewise.
432 * resolv/res_debug.h: Likewise.
433 * resolv/tst-inet_ntop.c: Likewise.
434 * setjmp/bug269-setjmp.c: Likewise.
435 * soft-fp/extended.h: Likewise.
436 * soft-fp/op-1.h: Likewise.
437 * soft-fp/op-2.h: Likewise.
438 * soft-fp/op-4.h: Likewise.
439 * soft-fp/op-8.h: Likewise.
440 * soft-fp/testit.c: Likewise.
441 * stdio-common/bug16.c: Likewise.
442 * stdlib/random.c: Likewise.
443 * sunrpc/rpcsvc/rquota.x: Likewise.
444 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
450 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
451 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
452 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
453 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
454 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
455 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
457 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
458 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
459 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
460 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
461 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
462 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
463 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
464 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
465 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
466 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
467 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
468 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
469 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
471 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
473 * sysdeps/ieee754/s_lib_version.c: Likewise.
474 * sysdeps/mach/hurd/check_fds.c: Likewise.
475 * sysdeps/mach/hurd/getsockname.c: Likewise.
476 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
477 * sysdeps/mach/hurd/recvfrom.c: Likewise.
478 * sysdeps/powerpc/bits/link.h: Likewise.
479 * sysdeps/powerpc/dl-procinfo.c: Likewise.
480 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
481 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
482 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
483 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
484 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
485 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
486 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
487 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
488 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
489 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
490 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
491 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
492 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
493 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
494 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
495 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
496 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
500 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
502 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
503 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
504 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
505 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
506 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
507 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
509 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
510 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
512 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
513 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
514 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
515 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
516 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
517 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
518 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
519 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
520 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
521 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
522 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
523 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
524 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
525 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
526 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
527 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
528 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
531 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
532 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
533 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
534 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
535 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
537 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
538 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
539 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
540 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
541 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
542 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
543 * sysdeps/powerpc/sysdep.h: Likewise.
544 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
545 * sysdeps/s390/s390-64/sub_n.S: Likewise.
546 * sysdeps/sh/dl-trampoline.S: Likewise.
547 * sysdeps/sh/memset.S: Likewise.
548 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
549 * sysdeps/sh/strlen.S: Likewise.
550 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
551 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
552 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
553 * sysdeps/sparc/sparc32/rem.S: Likewise.
554 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
555 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
556 * sysdeps/sparc/sparc32/strchr.S: Likewise.
557 * sysdeps/sparc/sparc32/udiv.S: Likewise.
558 * sysdeps/sparc/sparc32/urem.S: Likewise.
559 * sysdeps/sparc/sparc64/add_n.S: Likewise.
560 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
561 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
562 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
563 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
564 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
565 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
566 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
567 * sysdeps/unix/bsd/times.c: Likewise.
568 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
569 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
573 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
574 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
575 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
578 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
579 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
580 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
581 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
582 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
583 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
584 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
585 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
586 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
587 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
588 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
589 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
590 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
591 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
592 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
593 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
594 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
596 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
597 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
598 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
599 * sysdeps/x86_64/strcspn.S: Likewise.
601 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
603 * locale/C-translit.h: Revert #include <stdint.h> because this is a
604 generated file. Regenerate properly from gen-translit.pl.
605 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
608 2013-06-05 Andreas Schwab <schwab@suse.de>
611 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
612 week as 6 instead of -1.
613 * time/tst-strptime.c (day_tests): Add test case.
615 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
617 * sysdeps/generic/math_private.h
618 (libc_feholdexcept_setround_53bit): Replace with
619 libc_feholdsetround_53bit.
620 (libc_feupdateenv_53bit): Replace with
621 libc_feresetround_53bit.
622 (SET_RESTORE_ROUND_53BIT): Adjust.
624 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
626 * string/test-strchrnul.c: Add copyright header.
628 * posix/tst-getaddrinfo4.c: Increase test timeout.
630 2013-06-03 Carlos O'Donell <carlos@redhat.com>
633 * math/libm-test.inc (MAX_EXP): Remove
635 (ulp): Use MIN_EXP - MANT_DIG.
636 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
638 2013-05-31 Carlos O'Donell <carlos@redhat.com>
640 * po/be.po: Revert last change.
641 * po/zh_CN.po: Likewise.
642 * po/header.pot: Likewise.
644 2013-05-31 Joseph Myers <joseph@codesourcery.com>
646 * Makefile ($(common-objpfx)linkobj/libc.so): Define
647 link-libc-deps to empty as target-specific variable.
648 * Makerules (link-libc-args): New variable.
649 (libc-for-link): Likewise.
650 (link-libc-deps): Likewise.
651 (lib%.so): Depend on $(link-libc-deps). Link with
653 (build-module): Link with $(link-libc-args).
654 (build-module-asneeded): Likewise.
655 (build-module-helper-objlist): Filter out $(link-libc-deps) from
657 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
658 target-specific variable.
659 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
660 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
661 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
663 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
665 ($(objpfx)libpcprofile.so): Likewise.
666 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
668 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
669 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
670 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
672 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
673 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
674 * login/Makefile ($(objpfx)libutil.so): Likewise.
675 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
676 * math/Makefile ($(objpfx)libm.so): Likewise.
677 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
678 $(objpfx)libnsl.so): Define libc-for-link as target-specific
679 variable instead of depending directly on libc.
680 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
681 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
683 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
685 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
686 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
687 ($(objpfx)libanl.so): Likewise.
688 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
690 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
692 * sysdeps/i386/fpu/Makefile: Remove file.
693 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
694 ($(objpfx)libm.so): Remove dependency on ld.so.
696 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
699 * nis/yp_xdr.c (XDRMAXNAME): Define.
700 (XDRMAXRECORD): Define.
701 (xdr_domainname): Use XDRMAXNAME.
702 (xdr_mapname): Likewise.
703 (xdr_peername): Likewise.
704 (xdr_keydat): Use XDRMAXRECORD.
705 (xdr_valdat): Likewise.
707 2013-05-30 Jeff Law <law@redhat.com>
710 * manual/errno.texi (ESTALE): Update to account for more than
711 just NFS file systems.
712 * sysdeps/gnu/errlist.c: Regenerated.
714 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
717 * elf/Makefile (tests): Add tst-null-argv.
718 (modules-names): Add tst-null-argv-lib.
719 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
720 (tst-null-argv-ENV): Set environment for tst-null-argv.
721 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
722 (RTLD_PROGNAME): New macro.
723 * elf/tst-null-argv.c: New test case.
724 * elf/tst-null-argv-lib.c: Library for test case.
725 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
726 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
727 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
728 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
729 * elf/dl-init.c (call_init): Likewise.
730 (_dl_init): Likewise.
731 * elf/dl-load.c (print_search_path): Likewise.
732 (_dl_map_object): Likewise.
733 * elf/dl-lookup.c (do_lookup_x): Likewise.
734 (add_dependency): Likewise.
735 (_dl_lookup_symbol_x): Likewise.
736 (_dl_debug_bindings): Likewise.
737 * elf/dl-open.c (_dl_show_scope): Likewise.
738 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
739 * elf/dl-version.c (match_symbol): Likewise.
740 (_dl_check_map_versions): Likewise.
741 * elf/rtld.c (dl_main): Likewise.
742 (print_unresolved): Use RTLD_PROGNAME.
743 (print_missing_version): Likewise.
744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
745 (elf_machine_rela): Likewise.
746 * sysdeps/powerpc/powerpc32/dl-machine.c
747 (__process_machine_rela): Likewise.
748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
750 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
752 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
754 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
761 2013-05-28 Carlos O'Donell <carlos@redhat.com>
763 * po/be.po: Add descriptive title.
764 * po/zh_CN.po: Likewise.
765 * po/header.pot: Likewise.
767 2013-05-28 Mike Frysinger <vapier@gentoo.org>
769 * locale/programs/locarchive.c (create_archive): Inlucde fname in
771 (enlarge_archive): Likewise.
773 2013-05-28 Ben North <ben@redfrontdoor.org>
775 * manual/arith.texi (frexp): It is the magnitude of the return
776 value which lies in [0.5, 1), not the return value itself.
778 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
782 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
784 * stdio-common/bug26.c (main): Correct fscanf template.
786 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
787 declare _dl_skip_args.
789 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
792 * manual/platform.texi: Add missing @end deftypefun.
794 2013-05-24 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
798 bit of mantissa of 2^16382.
799 * math/libm-test.inc (hypot_test_data): Add more tests.
801 * math/libm-test.inc: Add drem and pow10 to list of tested
803 (pow10_test): New function.
804 (drem_test): Likewise.
805 (drem_test_tonearest): Likewise.
806 (drem_test_towardzero): Likewise.
807 (drem_test_downward): Likewise.
808 (drem_test_upward): Likewise.
809 (main): Call the new functions.
811 * math/libm-test.inc (finite_test_data): Remove.
812 (finite_test): Run tests from isfinite_test_data.
813 (gamma_test_data): Remove.
814 (gamma_test): Run tests from lgamma_test_data.
815 * sysdeps/i386/fpu/libm-test-ulps: Update.
816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
818 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
820 * manual/platform.texi: Add PowerPC PPR function set documentation.
821 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
824 2013-05-24 Carlos O'Donell <carlos@redhat.com>
826 * math/libm-test.inc (MAX_EXP): Define.
829 (check_float_internal): Use ULPDIFF.
830 (cpow_test): Disable failing test.
831 (check_ulp): Test ulp() implemetnation.
832 (main): Call check_ulp before starting tests.
834 2013-05-24 Joseph Myers <joseph@codesourcery.com>
836 * math/gen-libm-test.pl (generate_testfile): Do not handle
837 START_DATA and END_DATA.
838 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
840 (acos_tonearest_test_data): Likewise.
841 (acos_towardzero_test_data): Likewise.
842 (acos_downward_test_data): Likewise.
843 (acos_upward_test_data): Likewise.
844 (acosh_test_data): Likewise.
845 (asin_test_data): Likewise.
846 (asin_tonearest_test_data): Likewise.
847 (asin_towardzero_test_data): Likewise.
848 (asin_downward_test_data): Likewise.
849 (asin_upward_test_data): Likewise.
850 (asinh_test_data): Likewise.
851 (atan_test_data): Likewise.
852 (atanh_test_data): Likewise.
853 (atan2_test_data): Likewise.
854 (cabs_test_data): Likewise.
855 (cacos_test_data): Likewise.
856 (cacosh_test_data): Likewise.
857 (carg_test_data): Likewise.
858 (casin_test_data): Likewise.
859 (casinh_test_data): Likewise.
860 (catan_test_data): Likewise.
861 (catanh_test_data): Likewise.
862 (cbrt_test_data): Likewise.
863 (ccos_test_data): Likewise.
864 (ccosh_test_data): Likewise.
865 (ceil_test_data): Likewise.
866 (cexp_test_data): Likewise.
867 (cimag_test_data): Likewise.
868 (clog_test_data): Likewise.
869 (clog10_test_data): Likewise.
870 (conj_test_data): Likewise.
871 (copysign_test_data): Likewise.
872 (cos_test_data): Likewise.
873 (cos_tonearest_test_data): Likewise.
874 (cos_towardzero_test_data): Likewise.
875 (cos_downward_test_data): Likewise.
876 (cos_upward_test_data): Likewise.
877 (cosh_test_data): Likewise.
878 (cosh_tonearest_test_data): Likewise.
879 (cosh_towardzero_test_data): Likewise.
880 (cosh_downward_test_data): Likewise.
881 (cosh_upward_test_data): Likewise.
882 (cpow_test_data): Likewise.
883 (cproj_test_data): Likewise.
884 (creal_test_data): Likewise.
885 (csin_test_data): Likewise.
886 (csinh_test_data): Likewise.
887 (csqrt_test_data): Likewise.
888 (ctan_test_data): Likewise.
889 (ctan_tonearest_test_data): Likewise.
890 (ctan_towardzero_test_data): Likewise.
891 (ctan_downward_test_data): Likewise.
892 (ctan_upward_test_data): Likewise.
893 (ctanh_test_data): Likewise.
894 (ctanh_tonearest_test_data): Likewise.
895 (ctanh_towardzero_test_data): Likewise.
896 (ctanh_downward_test_data): Likewise.
897 (ctanh_upward_test_data): Likewise.
898 (erf_test_data): Likewise.
899 (erfc_test_data): Likewise.
900 (exp_test_data): Likewise.
901 (exp_tonearest_test_data): Likewise.
902 (exp_towardzero_test_data): Likewise.
903 (exp_downward_test_data): Likewise.
904 (exp_upward_test_data): Likewise.
905 (exp10_test_data): Likewise.
906 (exp2_test_data): Likewise.
907 (expm1_test_data): Likewise.
908 (fabs_test_data): Likewise.
909 (fdim_test_data): Likewise.
910 (finite_test_data): Likewise.
911 (floor_test_data): Likewise.
912 (fma_test_data): Likewise.
913 (fma_towardzero_test_data): Likewise.
914 (fma_downward_test_data): Likewise.
915 (fma_upward_test_data): Likewise.
916 (fmax_test_data): Likewise.
917 (fmin_test_data): Likewise.
918 (fmod_test_data): Likewise.
919 (fpclassify_test_data): Likewise.
920 (frexp_test_data): Likewise.
921 (gamma_test_data): Likewise.
922 (hypot_test_data): Likewise.
923 (ilogb_test_data): Likewise.
924 (isfinite_test_data): Likewise.
925 (isgreater_test_data): Likewise.
926 (isgreaterequal_test_data): Likewise.
927 (isinf_test_data): Likewise.
928 (isless_test_data): Likewise.
929 (islessequal_test_data): Likewise.
930 (islessgreater_test_data): Likewise.
931 (isnan_test_data): Likewise.
932 (isnormal_test_data): Likewise.
933 (issignaling_test_data): Likewise.
934 (isunordered_test_data): Likewise.
935 (j0_test_data): Likewise.
936 (j1_test_data): Likewise.
937 (jn_test_data): Likewise.
938 (ldexp_test_data): Likewise.
939 (lgamma_test_data): Likewise.
940 (lrint_test_data): Likewise.
941 (lrint_tonearest_test_data): Likewise.
942 (lrint_towardzero_test_data): Likewise.
943 (lrint_downward_test_data): Likewise.
944 (lrint_upward_test_data): Likewise.
945 (llrint_test_data): Likewise.
946 (llrint_tonearest_test_data): Likewise.
947 (llrint_towardzero_test_data): Likewise.
948 (llrint_downward_test_data): Likewise.
949 (llrint_upward_test_data): Likewise.
950 (log_test_data): Likewise.
951 (log10_test_data): Likewise.
952 (log1p_test_data): Likewise.
953 (log2_test_data): Likewise.
954 (logb_test_data): Likewise.
955 (logb_downward_test_data): Likewise.
956 (lround_test_data): Likewise.
957 (llround_test_data): Likewise.
958 (modf_test_data): Likewise.
959 (nearbyint_test_data): Likewise.
960 (nextafter_test_data): Likewise.
961 (nexttoward_test_data): Likewise.
962 (pow_test_data): Likewise.
963 (pow_tonearest_test_data): Likewise.
964 (pow_towardzero_test_data): Likewise.
965 (pow_downward_test_data): Likewise.
966 (pow_upward_test_data): Likewise.
967 (remainder_test_data): Likewise.
968 (remainder_tonearest_test_data): Likewise.
969 (remainder_towardzero_test_data): Likewise.
970 (remainder_downward_test_data): Likewise.
971 (remainder_upward_test_data): Likewise.
972 (remquo_test_data): Likewise.
973 (rint_test_data): Likewise.
974 (rint_tonearest_test_data): Likewise.
975 (rint_towardzero_test_data): Likewise.
976 (rint_downward_test_data): Likewise.
977 (rint_upward_test_data): Likewise.
978 (round_test_data): Likewise.
979 (scalb_test_data): Likewise.
980 (scalbn_test_data): Likewise.
981 (scalbln_test_data): Likewise.
982 (signbit_test_data): Likewise.
983 (sin_test_data): Likewise.
984 (sin_tonearest_test_data): Likewise.
985 (sin_towardzero_test_data): Likewise.
986 (sin_downward_test_data): Likewise.
987 (sin_upward_test_data): Likewise.
988 (sincos_test_data): Likewise.
989 (sinh_test_data): Likewise.
990 (sinh_tonearest_test_data): Likewise.
991 (sinh_towardzero_test_data): Likewise.
992 (sinh_downward_test_data): Likewise.
993 (sinh_upward_test_data): Likewise.
994 (sqrt_test_data): Likewise.
995 (tan_test_data): Likewise.
996 (tan_tonearest_test_data): Likewise.
997 (tan_towardzero_test_data): Likewise.
998 (tan_downward_test_data): Likewise.
999 (tan_upward_test_data): Likewise.
1000 (tanh_test_data): Likewise.
1001 (tgamma_test_data): Likewise.
1002 (trunc_test_data): Likewise.
1003 (y0_test_data): Likewise.
1004 (y1_test_data): Likewise.
1005 (yn_test_data): Likewise.
1006 (significand_test_data): Likewise.
1008 * math/gen-libm-test.pl (@functions): Remove variable.
1009 (generate_testfile): Don't handle START and END lines.
1010 * math/libm-test.inc (START): New macro.
1012 (END_COMPLEX): Likewise.
1013 (acos_test): Use END macro without arguments.
1014 (acos_test_tonearest): Likewise.
1015 (acos_test_towardzero): Likewise.
1016 (acos_test_downward): Likewise.
1017 (acos_test_upward): Likewise.
1018 (acosh_test): Likewise.
1019 (asin_test): Likewise.
1020 (asin_test_tonearest): Likewise.
1021 (asin_test_towardzero): Likewise.
1022 (asin_test_downward): Likewise.
1023 (asin_test_upward): Likewise.
1024 (asinh_test): Likewise.
1025 (atan_test): Likewise.
1026 (atanh_test): Likewise.
1027 (atan2_test): Likewise.
1028 (cabs_test): Likewise.
1029 (cacos_test): Use END_COMPLEX macro without arguments.
1030 (cacosh_test): Likewise.
1031 (carg_test): Use END macro without arguments.
1032 (casin_test): Use END_COMPLEX macro without arguments.
1033 (casinh_test): Likewise.
1034 (catan_test): Likewise.
1035 (catanh_test): Likewise.
1036 (cbrt_test): Use END macro without arguments.
1037 (ccos_test): Use END_COMPLEX macro without arguments.
1038 (ccosh_test): Likewise.
1039 (ceil_test): Use END macro without arguments.
1040 (cexp_test): Use END_COMPLEX macro without arguments.
1041 (cimag_test): Use END macro without arguments.
1042 (clog_test): Use END_COMPLEX macro without arguments.
1043 (clog10_test): Likewise.
1044 (conj_test): Likewise.
1045 (copysign_test): Use END macro without arguments.
1046 (cos_test): Likewise.
1047 (cos_test_tonearest): Likewise.
1048 (cos_test_towardzero): Likewise.
1049 (cos_test_downward): Likewise.
1050 (cos_test_upward): Likewise.
1051 (cosh_test): Likewise.
1052 (cosh_test_tonearest): Likewise.
1053 (cosh_test_towardzero): Likewise.
1054 (cosh_test_downward): Likewise.
1055 (cosh_test_upward): Likewise.
1056 (cpow_test): Use END_COMPLEX macro without arguments.
1057 (cproj_test): Likewise.
1058 (creal_test): Use END macro without arguments.
1059 (csin_test): Use END_COMPLEX macro without arguments.
1060 (csinh_test): Likewise.
1061 (csqrt_test): Likewise.
1062 (ctan_test): Likewise.
1063 (ctan_test_tonearest): Likewise.
1064 (ctan_test_towardzero): Likewise.
1065 (ctan_test_downward): Likewise.
1066 (ctan_test_upward): Likewise.
1067 (ctanh_test): Likewise.
1068 (ctanh_test_tonearest): Likewise.
1069 (ctanh_test_towardzero): Likewise.
1070 (ctanh_test_downward): Likewise.
1071 (ctanh_test_upward): Likewise.
1072 (erf_test): Use END macro without arguments.
1073 (erfc_test): Likewise.
1074 (exp_test): Likewise.
1075 (exp_test_tonearest): Likewise.
1076 (exp_test_towardzero): Likewise.
1077 (exp_test_downward): Likewise.
1078 (exp_test_upward): Likewise.
1079 (exp10_test): Likewise.
1080 (exp2_test): Likewise.
1081 (expm1_test): Likewise.
1082 (fabs_test): Likewise.
1083 (fdim_test): Likewise.
1084 (finite_test): Likewise.
1085 (floor_test): Likewise.
1086 (fma_test): Likewise.
1087 (fma_test_towardzero): Likewise.
1088 (fma_test_downward): Likewise.
1089 (fma_test_upward): Likewise.
1090 (fmax_test): Likewise.
1091 (fmin_test): Likewise.
1092 (fmod_test): Likewise.
1093 (fpclassify_test): Likewise.
1094 (frexp_test): Likewise.
1095 (gamma_test): Likewise.
1096 (hypot_test): Likewise.
1097 (ilogb_test): Likewise.
1098 (isfinite_test): Likewise.
1099 (isgreater_test): Likewise.
1100 (isgreaterequal_test): Likewise.
1101 (isinf_test): Likewise.
1102 (isless_test): Likewise.
1103 (islessequal_test): Likewise.
1104 (islessgreater_test): Likewise.
1105 (isnan_test): Likewise.
1106 (isnormal_test): Likewise.
1107 (issignaling_test): Likewise.
1108 (isunordered_test): Likewise.
1109 (j0_test): Likewise.
1110 (j1_test): Likewise.
1111 (jn_test): Likewise.
1112 (ldexp_test): Likewise.
1113 (lgamma_test): Likewise.
1114 (lrint_test): Likewise.
1115 (lrint_test_tonearest): Likewise.
1116 (lrint_test_towardzero): Likewise.
1117 (lrint_test_downward): Likewise.
1118 (lrint_test_upward): Likewise.
1119 (llrint_test): Likewise.
1120 (llrint_test_tonearest): Likewise.
1121 (llrint_test_towardzero): Likewise.
1122 (llrint_test_downward): Likewise.
1123 (llrint_test_upward): Likewise.
1124 (log_test): Likewise.
1125 (log10_test): Likewise.
1126 (log1p_test): Likewise.
1127 (log2_test): Likewise.
1128 (logb_test): Likewise.
1129 (logb_test_downward): Likewise.
1130 (lround_test): Likewise.
1131 (llround_test): Likewise.
1132 (modf_test): Likewise.
1133 (nearbyint_test): Likewise.
1134 (nextafter_test): Likewise.
1135 (nexttoward_test): Likewise.
1136 (pow_test): Likewise.
1137 (pow_test_tonearest): Likewise.
1138 (pow_test_towardzero): Likewise.
1139 (pow_test_downward): Likewise.
1140 (pow_test_upward): Likewise.
1141 (remainder_test): Likewise.
1142 (remainder_test_tonearest): Likewise.
1143 (remainder_test_towardzero): Likewise.
1144 (remainder_test_downward): Likewise.
1145 (remainder_test_upward): Likewise.
1146 (remquo_test): Likewise.
1147 (rint_test): Likewise.
1148 (rint_test_tonearest): Likewise.
1149 (rint_test_towardzero): Likewise.
1150 (rint_test_downward): Likewise.
1151 (rint_test_upward): Likewise.
1152 (round_test): Likewise.
1153 (scalb_test): Likewise.
1154 (scalbn_test): Likewise.
1155 (scalbln_test): Likewise.
1156 (signbit_test): Likewise.
1157 (sin_test): Likewise.
1158 (sin_test_tonearest): Likewise.
1159 (sin_test_towardzero): Likewise.
1160 (sin_test_downward): Likewise.
1161 (sin_test_upward): Likewise.
1162 (sincos_test): Likewise.
1163 (sinh_test): Likewise.
1164 (sinh_test_tonearest): Likewise.
1165 (sinh_test_towardzero): Likewise.
1166 (sinh_test_downward): Likewise.
1167 (sinh_test_upward): Likewise.
1168 (sqrt_test): Likewise.
1169 (tan_test): Likewise.
1170 (tan_test_tonearest): Likewise.
1171 (tan_test_towardzero): Likewise.
1172 (tan_test_downward): Likewise.
1173 (tan_test_upward): Likewise.
1174 (tanh_test): Likewise.
1175 (tgamma_test): Likewise.
1176 (trunc_test): Likewise.
1177 (y0_test): Likewise.
1178 (y1_test): Likewise.
1179 (yn_test): Likewise.
1180 (significand_test): Likewise.
1182 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1185 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1187 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1190 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1191 __ppc_mdoio and __ppc_mdoom.
1192 * manual/platform.texi: Document new functions __ppc_yield,
1193 __ppc_mdoio and __ppc_mdoom.
1195 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1197 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1198 (main): Mention "tls" pseudo-hwcap is legacy.
1199 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1201 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1203 * math/gen-libm-test.pl (parse_args): Output only string of
1204 arguments as text for test name, not full call or descriptions of
1205 tests for extra outputs.
1206 (generate_testfile): Do not pass function name to parse_args.
1207 Generate this_func variable from START.
1208 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1210 (struct test_ff_f_data): Likewise.
1211 (test_ff_f_data_nexttoward): Likewise.
1212 (struct test_fi_f_data): Likewise.
1213 (struct test_fl_f_data): Likewise.
1214 (struct test_if_f_data): Likewise.
1215 (struct test_fff_f_data): Likewise.
1216 (struct test_c_f_data): Likewise.
1217 (struct test_f_f1_data): Likewise. Remove field extra_name.
1218 (struct test_fF_f1_data): Likewise.
1219 (struct test_ffI_f1_data): Likewise.
1220 (struct test_c_c_data): Rename test_name field to arg_str.
1221 (struct test_cc_c_data): Likewise.
1222 (struct test_f_i_data): Likewise.
1223 (struct test_ff_i_data): Likewise.
1224 (struct test_f_l_data): Likewise.
1225 (struct test_f_L_data): Likewise.
1226 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1228 (COMMON_TEST_SETUP): New macro.
1229 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1230 (COMMON_TEST_CLEANUP): Likewise.
1231 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1232 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1234 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1235 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1237 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1238 (RUN_TEST_fff_f): Take argument string. Call new setup and
1240 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1241 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1243 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1244 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1246 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1247 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1249 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1250 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1252 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1253 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1255 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1256 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1258 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1259 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1261 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1262 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1264 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1265 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1267 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1268 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1270 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1271 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1273 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1274 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1276 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1277 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1279 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1280 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1282 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1283 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1285 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1287 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1289 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1290 to _sifields.sigfault.
1291 (si_addr_lsb): Define new macro.
1292 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1296 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1299 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1301 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1303 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1306 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1308 * math/gen-libm-test.pl (parse_args): Do not include expected
1309 result in test name.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1312 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1313 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1314 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1317 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1319 * benchtests/Makefile: Sort function entries.
1321 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1322 tanh, asinh, acosh, atanh.
1323 * benchtests/acos-inputs: New file.
1324 * benchtests/acosh-inputs: New file.
1325 * benchtests/asin-inputs: New file.
1326 * benchtests/asinh-inputs: New file.
1327 * benchtests/atanh-inputs: New file.
1328 * benchtests/cosh-inputs: New file.
1329 * benchtests/log-inputs: New file.
1330 * benchtests/sinh-inputs: New file.
1331 * benchtests/tanh-inputs: New file.
1333 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1336 * posix/tst-getaddrinfo4.c: New test.
1337 * posix/Makefile (tests): Add it.
1339 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1342 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1343 when no services were used.
1344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1345 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1347 2013-05-21 Andreas Schwab <schwab@suse.de>
1350 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1351 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1353 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1354 redundant variable declarations and reallocation of buffer when
1355 parsing as IPv6 address. Always set NSS status when called from
1356 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1357 buffer too small. Correct computation of needed size.
1358 * nss/Makefile (tests): Add test-digits-dots.
1359 * nss/test-digits-dots.c: New test.
1361 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1363 * benchtests/Makefile: Remove instructions for adding
1365 * benchtests/README: New file to explain how to execute and
1366 enhance the benchmark tests.
1368 2013-05-21 Andreas Schwab <schwab@suse.de>
1371 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1372 * setjmp/tst-sigsetjmp.c: New test.
1374 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1376 * sysdeps/x86_64/memset.S (memset): New implementation.
1377 (__bzero): Likewise.
1378 (__memset_tail): New function.
1380 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1382 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1383 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1384 __memcpy_sse2_unaligned ifunc selection.
1385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1386 Add memcpy-sse2-unaligned.S.
1387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1388 Add: __memcpy_sse2_unaligned.
1390 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1393 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1394 math_force_eval before restoring floating-point envrionment.
1395 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1398 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1400 (__nearbyintl): Use math_force_eval before restoring
1401 floating-point environment.
1402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1404 * math/gen-libm-test.pl (special_functions): Remove.
1405 (parse_args): Don't handle TEST_extra. Handle functions with no
1407 * math/libm-test.inc (struct test_sincos_data): Replace with
1408 struct test_fFF_11_data.
1409 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1410 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1411 (sincos_test_data): Change element type to struct
1412 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1413 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1414 RUN_TEST_LOOP_sincos.
1415 * math/README.libm-test: Don't mention special handling of
1416 individual functions.
1417 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1420 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1421 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1424 * math/gen-libm-test.pl (get_variable): Remove function.
1425 (parse_args): Don't show pointer parameters to call in test
1426 names. Use "extra output N" in test names for extra outputs
1427 rather than naming variables.
1429 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1432 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1433 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1434 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1436 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1438 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1441 * math/gen-libm-test.pl (@tests): Remove variable.
1443 (new_test): Remove function.
1444 (show_exceptions): New function.
1445 (special_functions): Use show_exceptions instead of new_test.
1446 (parse_args): Likewise.
1447 (generate_testfile): Pass only function name in generated call to
1448 print_max_error or print_complex_max_error.
1449 (get_ulps): Do not handle complex tests specially.
1450 (output_test): Rename to ...
1451 (get_all_ulps_for_test): ... this. Return a string rather than
1452 printing to a file. Require ulps to be present.
1453 (output_ulps): Generate arrays rather than #defines.
1454 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1455 (struct ulp_data): New type.
1456 (BUILD_COMPLEX_ULP): Remove macro.
1457 (compare_ulp_data): New function.
1458 (find_ulps): Likewise.
1459 (find_test_ulps): Likewise.
1460 (find_function_ulps): Likewise.
1461 (find_complex_function_ulps): Likewise.
1462 (print_max_error): Determine allowed ulps using
1464 (print_complex_max_error): Determine allowed ulps using
1465 find_complex_function_ulps.
1466 (check_float_internal): Determine max ulps using find_test_ulps.
1467 (check_float): Do not take max_ulp parameter. Update call to
1468 check_float_internal.
1469 (check_complex): Likewise.
1470 (check_int): Do not take max_ulp parameter.
1471 (check_long): Likewise.
1472 (check_bool): Likewise.
1473 (check_longlong): Likewise.
1474 (struct test_f_f_data): Remove max_ulp field.
1475 (struct test_ff_f_data): Likewise.
1476 (struct test_ff_f_data_nexttoward): Likewise.
1477 (struct test_fi_f_data): Likewise.
1478 (struct test_fl_f_data): Likewise.
1479 (struct test_if_f_data): Likewise.
1480 (struct test_fff_f_data): Likewise.
1481 (struct test_c_f_data): Likewise.
1482 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1483 (struct test_fF_f1_data): Likewise.
1484 (struct test_ffI_f1_data): Likewise.
1485 (struct test_c_c_data): Remove max_ulp field.
1486 (struct test_cc_c_data): Likewise.
1487 (struct test_f_i_data): Likewise.
1488 (struct test_ff_i_data): Likewise.
1489 (struct test_f_l_data): Likewise.
1490 (struct test_f_L_data): Likewise.
1491 (struct test_sincos_data): Likewise.
1492 (RUN_TEST_f_f): Do not handle ulps.
1493 (RUN_TEST_LOOP_f_f): Likewise.
1494 (RUN_TEST_2_f): Likewise.
1495 (RUN_TEST_LOOP_2_f): Likewise.
1496 (RUN_TEST_fff_f): Likewise.
1497 (RUN_TEST_LOOP_fff_f): Likewise.
1498 (RUN_TEST_c_f): Likewise.
1499 (RUN_TEST_LOOP_c_f): Likewise.
1500 (RUN_TEST_f_f1): Likewise.
1501 (RUN_TEST_LOOP_f_f1): Likewise.
1502 (RUN_TEST_fF_f1): Likewise.
1503 (RUN_TEST_LOOP_fF_f1): Likewise.
1504 (RUN_TEST_fI_f1): Likewise.
1505 (RUN_TEST_LOOP_fI_f1): Likewise.
1506 (RUN_TEST_ffI_f1): Likewise.
1507 (RUN_TEST_LOOP_ffI_f1): Likewise.
1508 (RUN_TEST_c_c): Likewise.
1509 (RUN_TEST_LOOP_c_c): Likewise.
1510 (RUN_TEST_cc_c): Likewise.
1511 (RUN_TEST_LOOP_cc_c): Likewise.
1512 (RUN_TEST_f_i): Likewise.
1513 (RUN_TEST_LOOP_f_i): Likewise.
1514 (RUN_TEST_f_i_tg): Likewise.
1515 (RUN_TEST_LOOP_f_i_tg): Likewise.
1516 (RUN_TEST_ff_i_tg): Likewise.
1517 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1518 (RUN_TEST_f_b): Likewise.
1519 (RUN_TEST_LOOP_f_b): Likewise.
1520 (RUN_TEST_f_b_tg): Likewise.
1521 (RUN_TEST_LOOP_f_b_tg): Likewise.
1522 (RUN_TEST_f_l): Likewise.
1523 (RUN_TEST_LOOP_f_l): Likewise.
1524 (RUN_TEST_f_L): Likewise.
1525 (RUN_TEST_LOOP_f_L): Likewise.
1526 (RUN_TEST_sincos): Likewise.
1527 (RUN_TEST_LOOP_sincos): Likewise.
1529 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1533 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1534 main case of finite arguments, set rounding mode to FE_TONEAREST
1535 and discard exceptions.
1536 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1538 (remainder_tonearest_test_data): New variable.
1539 (remainder_test_tonearest): New function.
1540 (remainder_towardzero_test_data): New variable.
1541 (remainder_test_towardzero): New function.
1542 (remainder_downward_test_data): New variable.
1543 (remainder_test_downward): New function.
1544 (remainder_upward_test_data): New variable.
1545 (remainder_test_upward): New function.
1546 (main): Call the new test functions.
1548 * math/libm-test.inc (struct test_f_f1_data): Remove field
1550 (struct test_fF_f1_data): Likewise.
1551 (struct test_ffI_f1_data): Likewise.
1552 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1553 based on value of EXTRA_EXPECTED.
1554 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1555 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1556 EXTRA_VAR based on value of EXTRA_EXPECTED.
1557 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1558 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1559 EXTRA_VAR based on value of EXTRA_EXPECTED.
1560 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1561 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1562 EXTRA_VAR based on value of EXTRA_EXPECTED.
1563 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1564 * math/gen-libm-test.pl (parse_args): Don't output initializers
1565 for extra output values.
1567 * math/libm-test.inc (check_int): Expect result to be exactly
1568 equal to expected value and do not handle ulps.
1569 (check_long): Likewise.
1570 (check_longlong): Likewise.
1572 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1574 (cimag_test_data): Likewise.
1575 (conj_test_data): Likewise.
1576 (copysign_test_data): Likewise.
1577 (cproj_test_data): Likewise.
1578 (creal_test_data): Likewise.
1579 (fabs_test_data): Likewise.
1580 (fdim_test_data): Likewise.
1581 (finite_test_data): Likewise.
1582 (floor_test_data): Likewise.
1583 (fmax_test_data): Likewise.
1584 (fmin_test_data): Likewise.
1585 (fmod_test_data): Likewise.
1586 (fpclassify_test_data): Likewise.
1587 (frexp_test_data): Likewise.
1588 (ilogb_test_data): Likewise.
1589 (isfinite_test_data): Likewise.
1590 (isgreater_test_data): Likewise.
1591 (isgreaterequal_test_data): Likewise.
1592 (isinf_test_data): Likewise.
1593 (isless_test_data): Likewise.
1594 (islessequal_test_data): Likewise.
1595 (islessgreater_test_data): Likewise.
1596 (isnan_test_data): Likewise.
1597 (isnormal_test_data): Likewise.
1598 (issignaling_test_data): Likewise.
1599 (isunordered_test_data): Likewise.
1600 (ldexp_test_data): Likewise.
1601 (lrint_test_data): Likewise.
1602 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1603 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1604 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1605 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1606 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1607 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1609 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1610 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1611 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1612 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1614 (lrint_downward_test_data): Test for "inexact" exceptions.
1615 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1616 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1617 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1619 (lrint_upward_test_data): Test for "inexact" exceptions.
1620 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1622 (llrint_test_data): Test for "inexact" exceptions.
1623 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1624 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1625 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1626 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1627 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1628 (llrint_downward_test_data): Test for "inexact" exceptions.
1629 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1630 (llrint_upward_test_data): Test for "inexact" exceptions.
1631 (logb_test_data): Likewise.
1632 (logb_downward_test_data): Likewise.
1633 (nextafter_test_data): Likewise.
1634 (nexttoward_test_data): Likewise.
1635 (remainder_test_data): Likewise.
1636 (remquo_test_data): Likewise.
1637 (scalbn_test_data): Likewise.
1638 (scalbln_test_data): Likewise.
1639 (signbit_test_data): Likewise.
1640 (sqrt_test_data): Likewise.
1641 (significand_test_data): Likewise.
1643 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1646 * benchtests/bench-modf.c (struct args): Mark arg0 as
1648 * scripts/bench.pl: Mark members of struct args as volatile.
1650 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1654 negative infinity on POWER6 or lower.
1655 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1657 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1660 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1661 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1662 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1663 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1664 (_FP_SETQNAN): New macro.
1665 (_FP_SETQNAN_SEMIRAW): Likewise.
1666 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1667 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1668 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1669 (FP_EXTEND): Use _FP_FRAC_SNANP.
1670 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1671 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1678 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1680 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1681 with DIVIDE_BY_ZERO_EXCEPTION.
1682 (gamma_test_data): Likewise.
1683 (lgamma_test_data): Likewise.
1684 (log_test_data): Likewise.
1685 (log10_test_data): Likewise.
1686 (log2_test_data): Likewise.
1687 (tgamma_test_data): Likewise.
1689 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1690 (acos_test_tonearest): Likewise.
1691 (acos_test_towardzero): Likewise.
1692 (acos_test_downward): Likewise.
1693 (acos_test_upward): Likewise.
1694 (acosh_test): Likewise.
1695 (asin_test): Likewise.
1696 (asin_test_tonearest): Likewise.
1697 (asin_test_towardzero): Likewise.
1698 (asin_test_downward): Likewise.
1699 (asin_test_upward): Likewise.
1700 (asinh_test): Likewise.
1701 (atan_test): Likewise.
1702 (atanh_test): Likewise.
1703 (atan2_test): Likewise.
1704 (cabs_test): Likewise.
1705 (cacos_test): Likewise.
1706 (cacosh_test): Likewise.
1707 (casin_test): Likewise.
1708 (casinh_test): Likewise.
1709 (catan_test): Likewise.
1710 (catanh_test): Likewise.
1711 (cbrt_test): Likewise.
1712 (ccos_test): Likewise.
1713 (ccosh_test): Likewise.
1714 (cexp_test): Likewise.
1715 (clog_test): Likewise.
1716 (clog10_test): Likewise.
1717 (cos_test): Likewise.
1718 (cos_test_tonearest): Likewise.
1719 (cos_test_towardzero): Likewise.
1720 (cos_test_downward): Likewise.
1721 (cos_test_upward): Likewise.
1722 (cosh_test): Likewise.
1723 (cosh_test_tonearest): Likewise.
1724 (cosh_test_towardzero): Likewise.
1725 (cosh_test_downward): Likewise.
1726 (cosh_test_upward): Likewise.
1727 (cpow_test): Likewise.
1728 (csin_test): Likewise.
1729 (csinh_test): Likewise.
1730 (csqrt_test): Likewise.
1731 (ctan_test): Likewise.
1732 (ctan_test_tonearest): Likewise.
1733 (ctan_test_towardzero): Likewise.
1734 (ctan_test_downward): Likewise.
1735 (ctan_test_upward): Likewise.
1736 (ctanh_test): Likewise.
1737 (ctanh_test_tonearest): Likewise.
1738 (ctanh_test_towardzero): Likewise.
1739 (ctanh_test_downward): Likewise.
1740 (ctanh_test_upward): Likewise.
1741 (erf_test): Likewise.
1742 (erfc_test): Likewise.
1743 (exp_test): Likewise.
1744 (exp_test_tonearest): Likewise.
1745 (exp_test_towardzero): Likewise.
1746 (exp_test_downward): Likewise.
1747 (exp_test_upward): Likewise.
1748 (exp10_test): Likewise.
1749 (exp2_test): Likewise.
1750 (expm1_test): Likewise.
1751 (fmod_test): Likewise.
1752 (gamma_test): Likewise.
1753 (hypot_test): Likewise.
1754 (j0_test): Likewise.
1755 (j1_test): Likewise.
1756 (jn_test): Likewise.
1757 (lgamma_test): Likewise.
1758 (log_test): Likewise.
1759 (log10_test): Likewise.
1760 (log1p_test): Likewise.
1761 (log2_test): Likewise.
1762 (logb_test_downward): Likewise.
1763 (pow_test): Likewise.
1764 (pow_test_tonearest): Likewise.
1765 (pow_test_towardzero): Likewise.
1766 (pow_test_downward): Likewise.
1767 (pow_test_upward): Likewise.
1768 (remainder_test): Likewise.
1769 (remquo_test): Likewise.
1770 (sin_test): Likewise.
1771 (sin_test_tonearest): Likewise.
1772 (sin_test_towardzero): Likewise.
1773 (sin_test_downward): Likewise.
1774 (sin_test_upward): Likewise.
1775 (sincos_test): Likewise.
1776 (sinh_test): Likewise.
1777 (sinh_test_tonearest): Likewise.
1778 (sinh_test_towardzero): Likewise.
1779 (sinh_test_downward): Likewise.
1780 (sinh_test_upward): Likewise.
1781 (sqrt_test): Likewise.
1782 (tan_test): Likewise.
1783 (tan_test_tonearest): Likewise.
1784 (tan_test_towardzero): Likewise.
1785 (tan_test_downward): Likewise.
1786 (tan_test_upward): Likewise.
1787 (tanh_test): Likewise.
1788 (tgamma_test): Likewise.
1789 (y0_test): Likewise.
1790 (y1_test): Likewise.
1791 (yn_test): Likewise.
1793 * math/gen-libm-test.pl (adjust_arg): Remove function.
1794 (special_function): Remove argument $in_func. Only handle
1795 generating output for tables of tests, not inside functions.
1796 (parse_args): Likewise.
1797 (generate_testfile): Remove variable $in_func. Update call to
1799 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1800 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1801 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1802 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1803 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1804 (MAX_VALUE_INIT): Rename macro to max_value.
1805 (MIN_VALUE_INIT): Rename macro to min_value.
1806 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1807 (plus_zero): Remove variable.
1808 (minus_zero): Likewise.
1809 (plus_infty): Likewise.
1810 (minus_infty): Likewise.
1811 (qnan_value): Likewise.
1812 (max_value): Likewise.
1813 (min_value): Likewise.
1814 (min_subnorm_value): Likewise.
1816 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1818 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1819 uint64_t or uint32_t usage.
1820 * crypt/sha256-block.c: Likewise.
1821 * crypt/sha256-crypt.c: Likewise.
1822 * crypt/sha256.c: Likewise.
1823 * crypt/sha512-block.c: Likewise.
1824 * crypt/sha512-crypt.c: Likewise.
1825 * crypt/sha512.c: Likewise.
1826 * debug/backtrace-tst.c: Likewise.
1827 * debug/pcprofiledump.c: Likewise.
1828 * elf/cache.c: Likewise.
1829 * elf/dl-cache.c: Likewise.
1830 * elf/dl-misc.c: Likewise.
1831 * elf/dl-profile.c: Likewise.
1832 * elf/dl-support.c: Likewise.
1833 * elf/ldconfig.c: Likewise.
1834 * elf/sprof.c: Likewise.
1835 * iconv/dummy-repertoire.c: Likewise.
1836 * iconv/iconv_charmap.c: Likewise.
1837 * iconv/skeleton.c: Likewise.
1838 * iconvdata/8bit-generic.c: Likewise.
1839 * iconvdata/cp737.h: Likewise.
1840 * iconvdata/cp775.h: Likewise.
1841 * iconvdata/ibm1008.h: Likewise.
1842 * iconvdata/ibm1025.h: Likewise.
1843 * iconvdata/ibm1046.h: Likewise.
1844 * iconvdata/ibm1097.h: Likewise.
1845 * iconvdata/ibm1112.h: Likewise.
1846 * iconvdata/ibm1122.h: Likewise.
1847 * iconvdata/ibm1123.h: Likewise.
1848 * iconvdata/ibm1124.h: Likewise.
1849 * iconvdata/ibm1129.h: Likewise.
1850 * iconvdata/ibm1130.h: Likewise.
1851 * iconvdata/ibm1132.h: Likewise.
1852 * iconvdata/ibm1133.h: Likewise.
1853 * iconvdata/ibm1137.h: Likewise.
1854 * iconvdata/ibm1140.h: Likewise.
1855 * iconvdata/ibm1141.h: Likewise.
1856 * iconvdata/ibm1142.h: Likewise.
1857 * iconvdata/ibm1143.h: Likewise.
1858 * iconvdata/ibm1144.h: Likewise.
1859 * iconvdata/ibm1145.h: Likewise.
1860 * iconvdata/ibm1146.h: Likewise.
1861 * iconvdata/ibm1147.h: Likewise.
1862 * iconvdata/ibm1148.h: Likewise.
1863 * iconvdata/ibm1149.h: Likewise.
1864 * iconvdata/ibm1153.h: Likewise.
1865 * iconvdata/ibm1154.h: Likewise.
1866 * iconvdata/ibm1155.h: Likewise.
1867 * iconvdata/ibm1156.h: Likewise.
1868 * iconvdata/ibm1157.h: Likewise.
1869 * iconvdata/ibm1158.h: Likewise.
1870 * iconvdata/ibm1160.h: Likewise.
1871 * iconvdata/ibm1161.h: Likewise.
1872 * iconvdata/ibm1162.h: Likewise.
1873 * iconvdata/ibm1163.h: Likewise.
1874 * iconvdata/ibm1164.h: Likewise.
1875 * iconvdata/ibm1166.h: Likewise.
1876 * iconvdata/ibm1167.h: Likewise.
1877 * iconvdata/ibm12712.h: Likewise.
1878 * iconvdata/ibm1390.h: Likewise.
1879 * iconvdata/ibm1399.h: Likewise.
1880 * iconvdata/ibm16804.h: Likewise.
1881 * iconvdata/ibm4517.h: Likewise.
1882 * iconvdata/ibm4899.h: Likewise.
1883 * iconvdata/ibm4909.h: Likewise.
1884 * iconvdata/ibm4971.h: Likewise.
1885 * iconvdata/ibm5347.h: Likewise.
1886 * iconvdata/ibm803.h: Likewise.
1887 * iconvdata/ibm856.h: Likewise.
1888 * iconvdata/ibm901.h: Likewise.
1889 * iconvdata/ibm902.h: Likewise.
1890 * iconvdata/ibm9030.h: Likewise.
1891 * iconvdata/ibm9066.h: Likewise.
1892 * iconvdata/ibm921.h: Likewise.
1893 * iconvdata/ibm922.h: Likewise.
1894 * iconvdata/ibm9448.h: Likewise.
1895 * iconvdata/isiri-3342.h: Likewise.
1896 * iconvdata/jis0201.h: Likewise.
1897 * include/link.h: Likewise.
1898 * include/netdb.h: Likewise.
1899 * inet/check_native.c: Likewise.
1900 * inet/check_pf.c: Likewise.
1901 * inet/getipv4sourcefilter.c: Likewise.
1902 * inet/getnameinfo.c: Likewise.
1903 * inet/getsourcefilter.c: Likewise.
1904 * inet/htonl.c: Likewise.
1905 * inet/setipv4sourcefilter.c: Likewise.
1906 * inet/setsourcefilter.c: Likewise.
1907 * inet/test-inet6_opt.c: Likewise.
1908 * inet/tst-network.c: Likewise.
1909 * locale/C-collate.c: Likewise.
1910 * locale/C-ctype.c: Likewise.
1911 * locale/C-time.c: Likewise.
1912 * locale/C-translit.h: Likewise.
1913 * locale/loadarchive.c: Likewise.
1914 * locale/programs/3level.h: Likewise.
1915 * locale/programs/charmap.c: Likewise.
1916 * locale/programs/charmap.h: Likewise.
1917 * locale/programs/ld-address.c: Likewise.
1918 * locale/programs/ld-collate.c: Likewise.
1919 * locale/programs/ld-ctype.c: Likewise.
1920 * locale/programs/ld-identification.c: Likewise.
1921 * locale/programs/ld-measurement.c: Likewise.
1922 * locale/programs/ld-messages.c: Likewise.
1923 * locale/programs/ld-monetary.c: Likewise.
1924 * locale/programs/ld-name.c: Likewise.
1925 * locale/programs/ld-numeric.c: Likewise.
1926 * locale/programs/ld-paper.c: Likewise.
1927 * locale/programs/ld-telephone.c: Likewise.
1928 * locale/programs/ld-time.c: Likewise.
1929 * locale/programs/linereader.c: Likewise.
1930 * locale/programs/locale.c: Likewise.
1931 * locale/programs/locarchive.c: Likewise.
1932 * locale/programs/locfile.h: Likewise.
1933 * locale/programs/repertoire.c: Likewise.
1934 * locale/programs/simple-hash.c: Likewise.
1935 * locale/programs/simple-hash.h: Likewise.
1936 * malloc/memusage.c: Likewise.
1937 * malloc/memusagestat.c: Likewise.
1938 * nis/nis_defaults.c: Likewise.
1939 * nis/nis_hash.c: Likewise.
1940 * nis/nis_print.c: Likewise.
1941 * nis/nis_xdr.c: Likewise.
1942 * nscd/connections.c: Likewise.
1943 * nscd/hstcache.c: Likewise.
1944 * nscd/nscd_gethst_r.c: Likewise.
1945 * nscd/nscd_getserv_r.c: Likewise.
1946 * nscd/nscd_helper.c: Likewise.
1947 * nscd/servicescache.c: Likewise.
1948 * nss/makedb.c: Likewise.
1949 * nss/nss_db/db-XXX.c: Likewise.
1950 * nss/nss_db/db-initgroups.c: Likewise.
1951 * nss/nss_db/db-netgrp.c: Likewise.
1952 * nss/nss_files/files-network.c: Likewise.
1953 * nss/nss_files/files-parse.c: Likewise.
1954 * posix/bug-regex5.c: Likewise.
1955 * posix/fnmatch_loop.c: Likewise.
1956 * posix/regcomp.c: Likewise.
1957 * posix/regexec.c: Likewise.
1958 * posix/tst-rfc3484-2.c: Likewise.
1959 * posix/tst-rfc3484-3.c: Likewise.
1960 * posix/tst-rfc3484.c: Likewise.
1961 * resolv/nss_dns/dns-canon.c: Likewise.
1962 * resolv/nss_dns/dns-network.c: Likewise.
1963 * resolv/res_init.c: Likewise.
1964 * resolv/res_mkquery.c: Likewise.
1965 * resolv/tst-aton.c: Likewise.
1966 * stdlib/cxa_atexit.c: Likewise.
1967 * stdlib/cxa_finalize.c: Likewise.
1968 * stdlib/gen-fpioconst.c: Likewise.
1969 * stdlib/strtol_l.c: Likewise.
1970 * string/tst-endian.c: Likewise.
1971 * sunrpc/auth_des.c: Likewise.
1972 * sunrpc/clnt_udp.c: Likewise.
1973 * sunrpc/rtime.c: Likewise.
1974 * sunrpc/svcauth_des.c: Likewise.
1975 * sunrpc/xdr.c: Likewise.
1976 * sunrpc/xdr_intXX_t.c: Likewise.
1977 * sunrpc/xdr_rec.c: Likewise.
1978 * sysdeps/generic/ldconfig.h: Likewise.
1979 * sysdeps/generic/ldsodefs.h: Likewise.
1980 * sysdeps/generic/memusage.h: Likewise.
1981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1983 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1985 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1987 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1991 * sysdeps/posix/getaddrinfo.c: Likewise.
1992 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1994 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1996 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1997 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1998 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1999 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2000 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2001 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2002 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2003 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2004 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2005 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2006 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2007 * sysdeps/x86_64/dl-tls.h: Likewise.
2008 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2009 * time/alt_digit.c: Likewise.
2010 * time/era.c: Likewise.
2011 * wcsmbs/tst-c16c32-1.c: Likewise.
2013 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2015 * math/libm-test.inc (struct test_sincos_data): New type.
2016 (RUN_TEST_LOOP_sincos): New macro.
2017 (sincos_test_data): New variable.
2018 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2020 2013-05-16 Richard Henderson <rth@redhat.com>
2022 * math/atest-exp2.c (LIMB64): New macro.
2023 (CONSTSZ): New macro.
2024 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2026 (print_mpn_fp): ... to function scope.
2027 (read_mpn_hex): Remove.
2029 (exp2_mpn): Use mp_log2.
2030 (main): Use mp_exp1.
2032 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2034 * math/libm-test.inc: Remove comment about not testing "inexact"
2036 (INEXACT_EXCEPTION): New macro.
2037 (NO_INEXACT_EXCEPTION): Likewise.
2038 (INVALID_EXCEPTION_OK): Update value.
2039 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2040 (OVERFLOW_EXCEPTION_OK): Likewise.
2041 (UNDERFLOW_EXCEPTION_OK): Likewise.
2042 (IGNORE_ZERO_INF_SIGN): Likewise.
2043 (ERRNO_UNCHANGED): Likewise.
2044 (ERRNO_EDOM): Likewise.
2045 (ERRNO_ERANGE): Likewise.
2046 (test_exceptions): Handle testing "inexact" exceptions.
2047 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2048 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2049 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2050 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2052 (rint_towardzero_test_data): Likewise.
2053 (rint_downward_test_data): Likewise.
2054 (rint_upward_test_data): Likewise.
2056 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2057 with OVERFLOW_EXCEPTION.
2058 (exp10_test_data): Likewise.
2059 (exp2_test_data): Likewise.
2060 (expm1_test_data): Likewise.
2061 (lgamma_test_data): Likewise.
2062 (pow_test_data): Likewise.
2063 (tgamma_test_data): Likewise.
2064 (yn_test_data): Remove duplicate test of overflow.
2066 * math/libm-test.inc (struct test_cc_c_data): New type.
2067 (RUN_TEST_LOOP_cc_c): New macro.
2068 (cpow_test_data): New variable.
2069 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2071 * math/libm-test.inc (struct test_f_L_data): New type.
2072 (RUN_TEST_LOOP_f_L): New macro.
2073 (llrint_test_data): New variable.
2074 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2075 (llrint_tonearest_test_data): New variable.
2076 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2077 (llrint_towardzero_test_data): New variable.
2078 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2079 (llrint_downward_test_data): New variable.
2080 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2081 (llrint_upward_test_data): New variable.
2082 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2083 (llround_test_data): New variable.
2084 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2086 2013-05-13 Peter Collingbourne <pcc@google.com>
2088 * math/atest-exp2.c (get_log2): Remove const attribute.
2090 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2092 * math/libm-test.inc (struct test_f_l_data): New type.
2093 (RUN_TEST_LOOP_f_l): New macro.
2094 (lrint_test_data): New variable.
2095 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2096 (lrint_tonearest_test_data): New variable.
2097 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2098 (lrint_towardzero_test_data): New variable.
2099 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2100 (lrint_downward_test_data): New variable.
2101 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2102 (lrint_upward_test_data): New variable.
2103 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2104 (lround_test_data): New variable.
2105 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2107 2013-05-15 Peter Collingbourne <pcc@google.com>
2109 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2110 (EXTRACT_WORDS64) Use where appropriate.
2111 (INSERT_WORDS64) Likewise.
2113 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2114 constraints with x constraints.
2115 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2117 * malloc/obstack.c (_obstack_compat): Add initializer.
2119 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2122 si_trapno and add si_addr_lsb to _sifields.sigfault.
2123 (si_trapno): Remove macro.
2124 (si_addr_lsb): Define new macro.
2125 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2127 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2129 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2130 instead of TEST_f_l.
2131 (llrint_test_tonearest): Likewise.
2132 (llrint_test_towardzero): Likewise.
2133 (llrint_test_downward): Likewise.
2134 (llrint_test_upward): Likewise.
2135 (llround_test): Likewise.
2137 * math/libm-test.inc (struct test_f_i_data): Add comment.
2138 (RUN_TEST_LOOP_f_b): New macro.
2139 (RUN_TEST_LOOP_f_b_tg): Likewise.
2140 (finite_test_data): New variable.
2141 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2142 (isfinite_test_data): New variable.
2143 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2144 (isinf_test_data): New variable.
2145 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2146 (isnan_test_data): New variable.
2147 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2148 (isnormal_test_data): New variable.
2149 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2150 (issignaling_test_data): New variable.
2151 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2152 (signbit_test_data): New variable.
2153 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2155 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2156 with INVALID_EXCEPTION.
2157 (acosh_test_data): Likewise.
2158 (asin_test_data): Likewise.
2159 (atanh_test_data): Likewise.
2160 (fmod_test_data): Likewise.
2161 (log_test_data): Likewise.
2162 (log10_test_data): Likewise.
2163 (log2_test_data): Likewise.
2164 (pow_test_data): Likewise.
2165 (sqrt_test_data): Likewise.
2166 (y0_test_data): Likewise.
2167 (y1_test_data): Likewise.
2168 (yn_test_data): Likewise.
2170 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2173 * math/libm-test.inc (struct test_ff_i_data): New type.
2174 (RUN_TEST_LOOP_ff_i_tg): New macro.
2175 (isgreater_test_data): New variable.
2176 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2177 (isgreaterequal_test_data): New variable.
2178 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2179 (isless_test_data): New variable.
2180 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2181 (islessequal_test_data): New variable.
2182 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2183 (islessgreater_test_data): New variable.
2184 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2185 (isunordered_test_data): New variable.
2186 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2188 2013-05-14 David S. Miller <davem@davemloft.net>
2190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2192 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2194 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2196 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2198 (struct test_f_i_data): Change type of max_ulp to int.
2200 * math/libm-test.inc (test_ffI_f1_data): New type.
2201 (RUN_TEST_LOOP_ffI_f1): New macro.
2202 (remquo_test_data): New variable.
2203 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2205 * setjmp/tst-setjmp-fp.c: New file.
2206 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2207 (link-libm): New variable.
2208 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2210 * math/libm-test.inc (struct test_f_i_data): New type.
2211 (RUN_TEST_LOOP_f_i): New macro.
2212 (RUN_TEST_LOOP_f_i_tg): Likewise.
2213 (fpclassify_test_data): New variable.
2214 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2215 (ilogb_test_data): New variable.
2216 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2218 * math/libm-test.inc (scalbln_test): Correct function name in END
2221 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2222 (RUN_TEST_LOOP_fI_f1): New macro.
2223 (frexp_test_data): New variable.
2224 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2226 * math/libm-test.inc (struct test_fF_f1_data): New type.
2227 (RUN_TEST_LOOP_fF_f1): New macro.
2228 (modf_test_data): New variable.
2229 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2231 * math/libm-test.inc (struct test_f_f1_data): New type.
2232 (RUN_TEST_LOOP_f_f1): New macro.
2233 (gamma_test_data): New variable.
2234 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2235 (lgamma_test_data): New variable.
2236 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2238 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2240 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2241 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2242 (main): Comment "tls" pseudo-hwcap.
2244 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2246 * math/libm-test.inc (struct test_fl_f_data): New type.
2247 (RUN_TEST_LOOP_fl_f): New variable.
2248 (scalbln_test_data): New variable.
2249 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2251 * math/libm-test.inc (struct test_fi_f_data): New type.
2252 (RUN_TEST_LOOP_fi_f): New macro.
2253 (ldexp_test_data): New variable.
2254 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2255 (scalbn_test_data): New variable.
2256 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2258 * math/libm-test.inc (struct test_c_f_data): New type.
2259 (RUN_TEST_LOOP_c_f): New macro.
2260 (cabs_test_data): New variable.
2261 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2262 (carg_test_data): New variable.
2263 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2264 (cimag_test_data): New variable.
2265 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2266 (creal_test_data): New variable.
2267 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2269 * math/libm-test.inc (struct test_if_f_data): New type.
2270 (RUN_TEST_LOOP_if_f): New macro.
2271 (jn_test_data): New variable.
2272 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2273 (yn_test_data): New variable.
2274 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2276 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2278 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2280 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2281 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2283 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2285 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2286 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2287 (bench-deps): Add bench-timing.h.
2288 * benchtests-bench-skeleton.c: Include bench-timing.h.
2289 (main): Use TIMING_* macros instead of clock_gettime.
2290 * benchtests/bench-timing.h: New file.
2293 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2294 Renamed from _LIB_VERSION.
2295 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2297 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2299 * math/libm-test.inc (struct test_fff_f_data): New type.
2300 (RUN_TEST_LOOP_fff_f): New macro.
2301 (fma_test_data): New variable.
2302 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2303 (fma_towardzero_test_data): New variable.
2304 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2305 (fma_downward_test_data): New variable.
2306 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2307 (fma_upward_test_data): New variable.
2308 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2310 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2311 (struct test_c_c_data): New type.
2312 (RUN_TEST_LOOP_c_c): New macro.
2313 (cacos_test_data): New variable.
2314 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2315 (cacosh_test_data): New variable.
2316 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2317 (casin_test_data): New variable.
2318 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2319 (casinh_test_data): New variable.
2320 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2321 (catan_test_data): New variable.
2322 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2323 (catanh_test_data): New variable.
2324 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2325 (ccos_test_data): New variable.
2326 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2327 (ccosh_test_data): New variable.
2328 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2329 (cexp_test_data): New variable.
2330 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2331 (clog_test_data): New variable.
2332 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2333 (clog10_test_data): New variable.
2334 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2335 (conj_test_data): New variable.
2336 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2337 (cproj_test_data): New variable.
2338 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2339 (csin_test_data): New variable.
2340 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2341 (csinh_test_data): New variable.
2342 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2343 (csqrt_test_data): New variable.
2344 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2345 (ctan_test_data): New variable.
2346 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2347 (ctan_tonearest_test_data): New variable.
2348 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2349 (ctan_towardzero_test_data): New variable.
2350 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2351 (ctan_downward_test_data): New variable.
2352 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2353 (ctan_upward_test_data): New variable.
2354 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2355 (ctanh_test_data): New variable.
2356 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2357 (ctanh_tonearest_test_data): New variable.
2358 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2359 (ctanh_towardzero_test_data): New variable.
2360 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2361 (ctanh_downward_test_data): New variable.
2362 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2363 (ctanh_upward_test_data): New variable.
2364 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2365 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2368 * math/libm-test.inc (struct test_ff_f_data): New type.
2369 (struct test_ff_f_data_nexttoward): Likewise.
2370 (RUN_TEST_LOOP_2_f): New macro.
2371 (RUN_TEST_LOOP_ff_f): Likewise.
2372 (atan2_test_data): New variable.
2373 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2374 (copysign_test_data): New variable.
2375 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2376 (fdim_test_data): New variable.
2377 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2378 (fmax_test_data): New variable.
2379 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2380 (fmin_test_data): New variable.
2381 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2382 (fmod_test_data): New variable.
2383 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2384 (hypot_test_data): New variable.
2385 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2386 (nextafter_test_data): New variable.
2387 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2388 (nexttoward_test_data): New variable.
2389 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2390 (pow_test_data): New variable.
2391 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2392 (pow_tonearest_test_data): New variable.
2393 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2394 (pow_towardzero_test_data): New variable.
2395 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2396 (pow_downward_test_data): New variable.
2397 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2398 (pow_upward_test_data): New variable.
2399 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2400 (remainder_test_data): New variable.
2401 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2402 (scalb_test_data): New variable.
2403 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2404 * sysdeps/i386/fpu/libm-test-ulps: Update.
2406 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2408 * math/libm-test.inc (fma_test): Use max_value instead of local
2410 (nextafter_test): Likewise.
2412 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2413 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2414 (acos_downward_test_data): New variable.
2415 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2416 (acos_upward_test_data): New variable.
2417 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2418 (acosh_test_data): New variable.
2419 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2420 (asin_test_data): New variable.
2421 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2422 (asin_tonearest_test_data): New variable.
2423 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2424 (asin_towardzero_test_data): New variable.
2425 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2426 (asin_downward_test_data): New variable.
2427 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2428 (asin_upward_test_data): New variable.
2429 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2430 (asinh_test_data): New variable.
2431 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2432 (atan_test_data): New variable.
2433 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2434 (atanh_test_data): New variable.
2435 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2436 (cbrt_test_data): New variable.
2437 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2438 (ceil_test_data): New variable.
2439 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2440 (cos_test_data): New variable.
2441 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2442 (cos_tonearest_test_data): New variable.
2443 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2444 (cos_towardzero_test_data): New variable.
2445 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2446 (cos_downward_test_data): New variable.
2447 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2448 (cos_upward_test_data): New variable.
2449 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2450 (cosh_test_data): New variable.
2451 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2452 (cosh_tonearest_test_data): New variable.
2453 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2454 (cosh_towardzero_test_data): New variable.
2455 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2456 (cosh_downward_test_data): New variable.
2457 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2458 (cosh_upward_test_data): New variable.
2459 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2460 (erf_test_data): New variable.
2461 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2462 (erfc_test_data): New variable.
2463 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2464 (exp_test_data): New variable.
2465 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2466 (exp_tonearest_test_data): New variable.
2467 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2468 (exp_towardzero_test_data): New variable.
2469 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2470 (exp_downward_test_data): New variable.
2471 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2472 (exp_upward_test_data): New variable.
2473 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2474 (exp10_test_data): New variable.
2475 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2476 (exp2_test_data): New variable.
2477 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2478 (expm1_test_data): New variable.
2479 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2480 (fabs_test_data): New variable.
2481 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2482 (floor_test_data): New variable.
2483 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2484 (j0_test_data): New variable.
2485 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2486 (j1_test_data): New variable.
2487 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2488 (log_test_data): New variable.
2489 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2490 (log10_test_data): New variable.
2491 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2492 (log1p_test_data): New variable.
2493 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2494 (log2_test_data): New variable.
2495 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2496 (logb_test_data): New variable.
2497 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2498 (logb_downward_test_data): New variable.
2499 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2500 (nearbyint_test_data): New variable.
2501 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2502 (rint_test_data): New variable.
2503 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2504 (rint_tonearest_test_data): New variable.
2505 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2506 (rint_towardzero_test_data): New variable.
2507 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2508 (rint_downward_test_data): New variable.
2509 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2510 (rint_upward_test_data): New variable.
2511 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2512 (round_test_data): New variable.
2513 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2514 (sin_test_data): New variable.
2515 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2516 (sin_tonearest_test_data): New variable.
2517 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2518 (sin_towardzero_test_data): New variable.
2519 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2520 (sin_downward_test_data): New variable.
2521 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2522 (sin_upward_test_data): New variable.
2523 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2524 (sinh_test_data): New variable.
2525 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2526 (sinh_tonearest_test_data): New variable.
2527 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2528 (sinh_towardzero_test_data): New variable.
2529 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2530 (sinh_downward_test_data): New variable.
2531 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2532 (sinh_upward_test_data): New variable.
2533 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2534 (sqrt_test_data): New variable.
2535 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2536 (tan_test_data): New variable.
2537 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2538 (tan_tonearest_test_data): New variable.
2539 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2540 (tan_towardzero_test_data): New variable.
2541 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2542 (tan_downward_test_data): New variable.
2543 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2544 (tan_upward_test_data): New variable.
2545 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2546 (tanh_test_data): New variable.
2547 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2548 (tgamma_test_data): New variable.
2549 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2550 (trunc_test_data): New variable.
2551 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2552 (y0_test_data): New variable.
2553 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2554 (y1_test_data): New variable.
2555 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2556 (significand_test_data): New variable.
2557 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2559 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2562 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2564 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2566 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2568 2013-05-10 Andreas Jaeger <aj@suse.de>
2571 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2572 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2574 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2576 * math/gen-libm-test.pl (adjust_arg): New function.
2577 (special_functions): Handle generating output in both functions
2579 (parse_args): Likewise.
2580 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2581 $in_func argument to parse_args.
2582 * math/libm-test.inc (struct test_f_f_data): New type.
2583 (IF_ROUND_INIT_): New macro.
2584 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2585 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2586 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2587 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2588 (ROUND_RESTORE_): Likewise.
2589 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2590 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2591 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2592 (ROUND_RESTORE_FE_UPWARD): Likewise.
2593 (RUN_TEST_LOOP_f_f): New macro.
2594 (acos_test_data): New variable.
2595 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2596 (acos_tonearest_test_data): New variable.
2597 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2599 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2601 * benchtests/bench-skeleton.c (startup): Fix coding style.
2603 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2606 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2607 negative infinity argument.
2608 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2609 negative infinity argument.
2610 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2611 negative infinity argument.
2612 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2615 2013-05-10 Florian Weimer <fweimer@redhat.com>
2617 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2618 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2619 * iconv/iconv_prog.c (main): Likewise.
2620 * locale/programs/charmap-dir.c (charmap_readdir)
2621 (fopen_uncompressed): Likewise.
2622 * locale/programs/locfile.c (siblings_uncached)
2623 (write_locale_data): Use lstat64 instead of lstat.
2624 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2627 2013-05-10 Andreas Jaeger <aj@suse.de>
2630 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2634 2013-05-09 Carlos O'Donell <carlos@redhat.com>
2636 * elf/dl-close.c (_dl_close_worker): Add comments.
2638 2013-05-09 Joseph Myers <joseph@codesourcery.com>
2641 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2643 (__ieee754_rem_pio2l): Update comments.
2646 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2648 (__ieee754_rem_pio2l): Update comments.
2650 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2651 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2653 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2656 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2657 (M_PI_34_LOG10El): Likewise.
2658 (M_PI2_LOG10El): Likewise.
2659 (M_PI4_LOG10El): Likewise.
2660 (M_PI_LOG10El): Likewise.
2662 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2666 2013-05-08 Joseph Myers <joseph@codesourcery.com>
2668 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2669 (MINUS_ZERO_INIT): Likewise.
2670 (PLUS_INFTY_INIT): Likewise.
2671 (MINUS_INFTY_INIT): Likewise.
2672 (QNAN_VALUE_INIT): Likewise.
2673 (MAX_VALUE_INIT): Likewise.
2674 (MIN_VALUE_INIT): Likewise.
2675 (MIN_SUBNORM_VALUE_INIT): Likewise.
2676 (plus_zero): Initialize with PLUS_ZERO_INIT.
2677 (minus_zero): Initialize with MINUS_ZERO_INIT.
2678 (plus_infty): Initialize with PLUS_INFTY_INIT.
2679 (minus_infty): Initialize with MINUS_INFTY_INIT.
2680 (qnan_value): Initialize with QNAN_VALUE_INIT.
2681 (max_value): Initialize with MAX_VALUE_INIT.
2682 (min_value): Initialize with MIN_VALUE_INIT.
2683 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2685 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2686 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2687 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2688 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2690 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2691 (RUN_TEST_2_f): Likewise.
2692 (RUN_TEST_ff_f): Likewise.
2693 (RUN_TEST_fi_f): Likewise.
2694 (RUN_TEST_fl_f): Likewise.
2695 (RUN_TEST_fff_f): Likewise.
2696 (RUN_TEST_c_f): Likewise.
2697 (RUN_TEST_f_f1): Likewise.
2698 (RUN_TEST_fF_f1): Likewise.
2699 (RUN_TEST_fI_f1): Likewise.
2700 (RUN_TEST_ffI_f1): Likewise.
2701 (RUN_TEST_c_c): Likewise.
2702 (RUN_TEST_cc_c): Likewise.
2703 (RUN_TEST_f_i): Likewise.
2704 (RUN_TEST_f_i_tg): Likewise.
2705 (RUN_TEST_ff_i_tg): Likewise.
2706 (RUN_TEST_f_b): Likewise.
2707 (RUN_TEST_f_b_tg): Likewise.
2708 (RUN_TEST_f_l): Likewise.
2709 (RUN_TEST_f_L): Likewise.
2710 (RUN_TEST_sincos): Likewise.
2711 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2712 whether to show exceptions. Do not include ");\n" in return
2714 (special_functions): Output call to RUN_TEST_sincos instead of
2715 check_float calls. Update calls to new_test.
2716 (parse_args): Output call to single RUN_TEST_* macro instead of
2717 check_* calls and other assignments. Update calls to new_test.
2723 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2724 input to result for tgamma overflow.
2725 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2726 (gamma_coeff): New variable.
2727 (NCOEFF): New macro.
2728 (gamma_positive): New function.
2729 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2730 underflow here. Use gamma_positive instead of exp (lgamma) for
2732 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2733 (gamma_coeff): New variable.
2734 (NCOEFF): New macro.
2735 (gammaf_positive): New function.
2736 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2737 underflow here. Use gamma_positive instead of exp (lgamma) for
2739 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2740 (gamma_coeff): New variable.
2741 (NCOEFF): New macro.
2742 (gammal_positive): New function.
2743 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2744 underflow here. Use gamma_positive instead of exp (lgamma) for
2746 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2747 (gamma_coeff): New variable.
2748 (NCOEFF): New macro.
2749 (gammal_positive): New function.
2750 (__ieee754_gammal_r): Handle positive infinity, overflow and
2751 underflow here. Handle NaN the same as positive infinity. Remove
2752 check x < 0xffffffff for negative integers. Use gamma_positive
2753 instead of exp (lgamma) for other arguments.
2754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2755 (gamma_coeff): New variable.
2756 (NCOEFF): New macro.
2757 (gammal_positive): New function.
2758 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2759 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2760 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2761 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2762 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2763 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2764 * sysdeps/generic/math_private.h (__gamma_productf): New
2766 (__gamma_product): Likewise.
2767 (__gamma_productl): Likewise.
2768 * math/Makefile (libm-calls): Add gamma_product.
2769 * math/libm-test.inc (tgamma_test): Add more tests.
2770 * sysdeps/i386/fpu/libm-test-ulps: Update.
2771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2775 * benchtests/bench-skeleton.c (main): Preheat CPU.
2777 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2779 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2781 2013-05-07 Roland McGrath <roland@hack.frob.com>
2783 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2784 and _dl_skip_args_internal.
2786 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2788 * manual/message.texi (Message Translation): Talk about users.
2789 Message to key mapping impacts design.
2791 2013-05-06 Roland McGrath <roland@hack.frob.com>
2793 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2795 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2797 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2798 * sysdeps/wordsize-64/glob64.c: ... here.
2800 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2801 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2804 * debug/getlogin_r_chk.c: Moved to ...
2805 * login/getlogin_r_chk.c: ... here.
2806 * debug/Makefile (routines): Move getlogin_r_chk to ...
2807 * login/Makefile (routines): ... here.
2808 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2809 * login/Versions (libc: GLIBC_2.4): ... here.
2811 * io/poll.c (__poll): Renamed from poll.
2812 Add libc_hidden_def.
2813 (poll): Define as weak alias.
2815 * debug/ptsname_r_chk.c: Moved to ...
2816 * login/ptsname_r_chk.c: ... here.
2817 * debug/Makefile (routines): Move ptsname_r_chk to ...
2818 * login/Makefile (routines): ... here.
2819 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2820 * login/Versions (libc: GLIBC_2.4): ... here.
2822 * posix/getlogin.c: Moved to ...
2823 * login/getlogin.c: ... here.
2824 * posix/getlogin_r.c: Moved to ...
2825 * login/getlogin_r.c: ... here.
2826 * posix/getlogin_r.c: Moved to ...
2827 * login/getlogin_r.c: ... here.
2828 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2829 * login/Makefile (routines): ... here.
2830 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2831 * login/Versions (libc: GLIBC_2.0): ... here.
2833 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2834 (setrlimit): Define as weak alias.
2836 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2837 Call __ names for open, ftruncate, and close.
2838 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2839 (truncate): Define as weak alias.
2841 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2843 * math/gen-libm-test.pl (parse_args): Initialize x before each
2844 test of frexp, modf and remquo.
2846 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2849 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2853 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2857 2013-05-06 Roland McGrath <roland@hack.frob.com>
2859 * elf/dl-writev.h: New file.
2860 * elf/dl-misc.c: Include it.
2861 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2862 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2864 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2866 * math/libm-test.inc (noXFails): Remove variable.
2867 (noXPasses): Likewise.
2868 (BUILD_COMPLEX_INT): Remove macro.
2869 (print_screen): Remove xfail argument.
2870 (print_screen_max_error): Likewise.
2871 (update_stats): Likewise.
2872 (print_max_error): Likewise. Update calls to other affected
2874 (print_complex_max_error): Likewise.
2875 (test_single_exception): Update calls to print_screen.
2876 (test_single_errno): Likewise.
2877 (check_float_internal): Remove xfail argument. Update calls to
2878 other affected functions.
2879 (check_float): Likewise.
2880 (check_complex): Likewise.
2881 (check_int): Likewise.
2882 (check_long): Likewise.
2883 (check_bool): Likewise.
2884 (check_longlong): Likewise.
2885 (main): Don't print noXFails and noXPasses.
2886 * math/gen-libm-test.pl (top level): Don't mention expected
2887 failure handling in comment.
2888 (new_test): Don't handle expected failures.
2889 (parse_args): Don't mention expected failure handling in comment.
2890 (generate_testfile): Don't handle expected failures.
2891 (parse_ulps): Likewise.
2892 (print_ulps_file): Likewise.
2893 (get_failure): Remove function.
2894 (output_test): Don't handle expected failures.
2895 * make/README.libm-test: Don't mention expected failure handling.
2897 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2898 (minus_zero): Likewise.
2899 (plus_infty): Likewise.
2900 (minus_infty): Likewise.
2901 (qnan_value): Likewise.
2902 (max_value): Likewise.
2903 (min_value): Likewise.
2904 (min_subnorm_value): Likewise.
2905 (initialize): Do not initialize those variables dynamically.
2907 2013-05-03 Roland McGrath <roland@hack.frob.com>
2909 * io/open.c (__open_2): Moved to ...
2910 * io/open_2.c: ... this new file.
2911 * io/open64.c (__open64_2): Moved to ...
2912 * io/open64_2.c: ... this new file.
2913 * io/openat.c (__openat_2): Moved to ...
2914 * io/openat_2.c: ... this new file.
2915 * io/openat64.c (__openat64_2): Moved to ...
2916 * io/openat64_2.c: ... this new file.
2917 * io/Makefile (routines): Add them.
2918 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2919 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2920 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2921 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2922 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2923 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2924 (__openat64): Add hidden_ver.
2925 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2926 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2928 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2929 Separately conditionalize setting of GLRO(dl_sysinfo) so
2930 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2931 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2933 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2935 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2936 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2938 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2939 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2940 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2941 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2942 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2944 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2946 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2949 * math/libm-test.inc (hypot_test): Do not use
2950 IGNORE_ZERO_INF_SIGN.
2952 2013-05-03 Andreas Jaeger <aj@suse.de>
2954 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2956 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2957 (PF_MAX): Adjust for VSOCK change.
2959 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2963 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2966 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2967 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2968 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2970 2013-05-02 David S. Miller <davem@davemloft.net>
2972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2974 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2976 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2978 2013-05-01 Roland McGrath <roland@hack.frob.com>
2980 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2982 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2985 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2986 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2987 Use __attribute__ ((__gnu_inline__)).
2988 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2989 Don't use __attribute__ ((__gnu_inline__)).
2991 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2994 * math/s_catan.c (__catan): Handle small real or imaginary part of
2995 input specially to avoid spurious underflow.
2996 * math/s_catanf.c (__catanf): Likewise.
2997 * math/s_catanh.c (__catanh): Likewise.
2998 * math/s_catanhf.c (__catanhf): Likewise.
2999 * math/s_catanhl.c (__catanhl): Likewise.
3000 * math/s_catanl.c (__catanl): Likewise.
3001 * math/libm-test.inc (catan_test): Add more tests.
3002 (catanh_test): Likewise.
3003 * sysdeps/i386/fpu/libm-test-ulps: Update.
3004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3006 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3010 2013-04-30 Joseph Myers <joseph@codesourcery.com>
3013 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3014 accurately for denominator in atan2.
3015 * math/s_catanf.c (__catanf): Likewise.
3016 * math/s_catanh.c (__catanh): Likewise.
3017 * math/s_catanhf.c (__catanhf): Likewise.
3018 * math/s_catanhl.c (__catanhl): Likewise.
3019 * math/s_catanl.c (__catanl): Likewise.
3020 * math/libm-test.inc (catan_test): Add more tests.
3021 (catanh_test): Likewise.
3022 * sysdeps/i386/fpu/libm-test-ulps: Update.
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3025 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3027 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3029 * benchtests/Makefile (bench): Remove slow benchmarks.
3030 * benchtests/atan-inputs: Add slow benchmark inputs.
3031 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3032 (BENCH_FUNC): Accept variant offset.
3034 * benchtests/bench-skeleton.c (main): Run benchmark for each
3036 * benchtests/cos-inputs: Add slow benchmark inputs.
3037 * benchtests/exp-inputs: Likewise.
3038 * benchtests/pow-inputs: Likewise.
3039 * benchtests/sin-inputs: Likewise.
3040 * benchtests/slowatan-inputs: Remove.
3041 * benchtests/slowatan.c: Remove.
3042 * benchtests/slowcos-inputs: Remove.
3043 * benchtests/slowcos.c: Remove.
3044 * benchtests/slowexp-inputs: Remove.
3045 * benchtests/slowexp.c: Remove.
3046 * benchtests/slowpow-inputs: Remove.
3047 * benchtests/slowpow.c: Remove.
3048 * benchtests/slowsin-inputs: Remove.
3049 * benchtests/slowsin.c: Remove.
3050 * benchtests/slowtan-inputs: Remove.
3051 * benchtests/slowtan.c: Remove.
3052 * benchtests/tan-inputs: Add slow benchmark inputs.
3053 * scripts/bench.pl: Parse comments and directives.
3055 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3057 ($(objpfx)bench-%.c): Remove *-ITER.
3058 * benchtests/bench-modf.c: Remove definition of ITER.
3059 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3060 (main): Loop for DURATION seconds instead of fixed number of
3062 * scripts/bench.pl: Don't expect iterations in parameters.
3064 2013-04-29 Roland McGrath <roland@hack.frob.com>
3066 * io/fchdir.c (__fchdir): Renamed from fchdir.
3067 (fchdir): Define as weak alias.
3069 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3071 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3072 (ERRNO_EDOM): Likewise.
3073 (ERRNO_ERANGE): Likewise.
3074 (noErrnoTests): New variable.
3075 (init_max_error): Set errno to 0.
3076 (test_single_errno): New function.
3077 (test_errno): Likewise.
3078 (check_float_internal): Call test_errno. Set errno to 0.
3079 (check_complex): Refer to errno tests in comment.
3080 (check_int): Call test_errno. Set errno to 0.
3081 (check_long): Likewise.
3082 (check_bool): Likewise.
3083 (check_longlong): Likewise.
3084 (cos_test): Use ERRNO_* flags for errno tests instead of
3086 (expm1_test): Likewise.
3087 (fmod_test): Likewise.
3088 (ilogb_test): Likewise.
3089 (lgamma_test): Likewise.
3090 (pow_test): Likewise.
3091 (remainder_test): Likewise.
3092 (sin_test): Likewise.
3093 (tan_test): Likewise.
3094 (yn_test): Likewise.
3095 (initialize): Set errno to 0.
3096 (main): Print number of errno tests.
3097 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3099 2013-04-29 Andreas Jaeger <aj@suse.de>
3102 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3106 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3107 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3111 * stdlib/random.c (__initstate): Return NULL if
3115 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3116 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3119 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3123 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3125 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3126 of individual tests.
3127 (casin_test): Likewise.
3128 (casinh_test): Likewise.
3130 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3133 * math/s_catan.c (__catan): Handle arguments with large real or
3134 imaginary part separately without squaring.
3135 * math/s_catanf.c (__catanf): Likewise.
3136 * math/s_catanh.c (__catanh): Likewise.
3137 * math/s_catanhf.c (__catanhf): Likewise.
3138 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3140 (__catanhl): Handle arguments with large real or imaginary part
3141 separately without squaring.
3142 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3144 (__catanl): Handle arguments with large real or imaginary part
3145 separately without squaring.
3146 * math/libm-test.inc (catan_test): Add more tests.
3147 (catanh_test): Likewise.
3148 * sysdeps/i386/fpu/libm-test-ulps: Update.
3149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3151 2013-04-27 Andreas Jaeger <aj@suse.de>
3154 * stdlib/stdlib.h: Update guards for qecvt.
3155 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3158 2013-04-27 Allan McRae <allan@archlinux.org>
3160 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3165 * math/s_catan.c: Include <float.h>.
3166 (__catan): Ensure underflow exception occurs for underflowed
3168 * math/s_catanf.c: Include <float.h>.
3169 (__catanf): Ensure underflow exception occurs for underflowed
3171 * math/s_catanh.c: Include <float.h>.
3172 (__catanh): Ensure underflow exception occurs for underflowed
3174 * math/s_catanhf.c: Include <float.h>.
3175 (__catanhf): Ensure underflow exception occurs for underflowed
3177 * math/s_catanhl.c: Include <float.h>.
3178 (__catanhl): Ensure underflow exception occurs for underflowed
3180 * math/s_catanl.c: Include <float.h>.
3181 (__catanl): Ensure underflow exception occurs for underflowed
3183 * math/libm-test.inc (catan_test): Add more tests.
3184 (catanh_test): Likewise.
3187 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3189 * math/s_ccoshf.c (__ccoshf): Likewise.
3190 * math/s_ccoshl.c (__ccoshl): Likewise.
3191 * math/s_csin.c (__csin): Likewise.
3192 * math/s_csinf.c (__csinf): Likewise.
3193 * math/s_csinh.c (__csinh): Likewise.
3194 * math/s_csinhf.c (__csinhf): Likewise.
3195 * math/s_csinhl.c (__csinhl): Likewise.
3196 * math/s_csinl.c (__csinl): Likewise.
3197 * math/libm-test.inc (ccos_test): Add more tests.
3198 (ccosh_test): Likewise.
3199 (csin_test): Likewise.
3200 (csinh_test): Likewise.
3202 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3205 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3206 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3207 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3208 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3209 powerpc/power5+/fpu folders.
3210 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3213 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3217 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3219 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3220 additions to variable.
3221 [$(config-machine) = x86_64] (modules-names): Likewise.
3222 ($(objpfx)tst-audit3): Remove dependency.
3223 ($(objpfx)tst-audit3.out): Likewise.
3224 ($(objpfx)tst-audit4): Likewise.
3225 ($(objpfx)tst-audit4.out): Likewise.
3226 ($(objpfx)tst-audit5): Likewise.
3227 ($(objpfx)tst-audit5.out): Likewise.
3228 ($(objpfx)tst-audit6): Likewise.
3229 ($(objpfx)tst-audit6.out): Likewise.
3230 ($(objpfx)tst-audit7): Likewise.
3231 ($(objpfx)tst-audit7.out): Likewise.
3232 (tst-audit3-ENV): Remove variable.
3233 (tst-audit4-ENV): Likewise.
3234 (tst-audit5-ENV): Likewise.
3235 (tst-audit6-ENV): Likewise.
3236 (tst-audit7-ENV): Likewise.
3237 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3238 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3239 addition to variable.
3240 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3241 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3242 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3243 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3245 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3246 tst-audit3, tst-audit4 and tst-audit5.
3247 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3248 tst-audit6 and tst-audit7.
3249 [$(subdir) = elf] (modules-names): Add audit modules for those
3251 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3252 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3253 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3254 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3255 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3256 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3257 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3258 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3259 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3260 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3261 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3262 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3263 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3264 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3265 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3266 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3268 [$(subdir) = elf && $(config-cflags-avx) = yes]
3269 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3270 [$(subdir) = elf && $(config-cflags-avx) = yes]
3271 (CFLAGS-tst-auditmod4a.c): Likewise.
3272 [$(subdir) = elf && $(config-cflags-avx) = yes]
3273 (CFLAGS-tst-auditmod4b.c): Likewise.
3274 [$(subdir) = elf && $(config-cflags-avx) = yes]
3275 (CFLAGS-tst-auditmod6b.c): Likewise.
3276 [$(subdir) = elf && $(config-cflags-avx) = yes]
3277 (CFLAGS-tst-auditmod6c.c): Likewise.
3278 [$(subdir) = elf && $(config-cflags-avx) = yes]
3279 (CFLAGS-tst-auditmod7b.c): Likewise.
3280 * elf/tst-audit3.c: Move to ...
3281 * sysdeps/x86_64/tst-audit3.c: ... here.
3282 * elf/tst-audit4.c: Move to ...
3283 * sysdeps/x86_64/tst-audit4.c: ... here.
3284 * elf/tst-audit5.c: Move to ...
3285 * sysdeps/x86_64/tst-audit5.c: ... here.
3286 * elf/tst-audit6.c: Move to ...
3287 * sysdeps/x86_64/tst-audit6.c: ... here.
3288 * elf/tst-audit7.c: Move to ...
3289 * sysdeps/x86_64/tst-audit7.c: ... here.
3290 * elf/tst-auditmod3a.c: Move to ...
3291 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3292 * elf/tst-auditmod3b.c: Move to ...
3293 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3294 * elf/tst-auditmod4a.c: Move to ...
3295 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3296 * elf/tst-auditmod4b.c: Move to ...
3297 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3298 * elf/tst-auditmod5a.c: Move to ...
3299 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3300 * elf/tst-auditmod5b.c: Move to ...
3301 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3302 * elf/tst-auditmod6a.c: Move to ...
3303 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3304 * elf/tst-auditmod6b.c: Move to ...
3305 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3306 * elf/tst-auditmod6c.c: Move to ...
3307 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3308 * elf/tst-auditmod7a.c: Move to ...
3309 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3310 * elf/tst-auditmod7b.c: Move to ...
3311 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3313 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3316 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3317 define unconditionally.
3318 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3319 define unconditionally.
3320 (INT8_C, INT16_C, etc.): Likewise.
3322 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3324 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3325 __ehdr_start with hidden visibility.
3327 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3329 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3331 * math/libm-test.inc (cos_test): Use accurate hex constants.
3332 (sincost_test): Likewise.
3334 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3336 * math/libm-test.inc (catan_test): Add more tests.
3337 (catanh_test): Likewise.
3339 * math/s_catanf.c (__catanf): Use suffixed floating-point
3341 * math/s_catanhf.c (__catanhf): Likewise.
3342 * math/s_catanhl.c (__catanhl): Likewise.
3343 * math/s_catanl.c (__catanl): Likewise.
3346 * math/s_catan.c (__catan): Calculate imaginary part of result
3347 with log1p not log unless computing log of number close to 0.
3348 * math/s_catanf.c (__catanf): Likewise.
3349 * math/s_catanl.c (__catanl): Likewise.
3350 * math/s_catanh.c (__catanh): Calculate real part of result with
3351 log1p not log unless computing log of number close to 0.
3352 * math/s_catanhf.c (__catanhf): Likewise.
3353 * math/s_catanhl.c (__catanhl): Likewise.
3354 * math/libm-test.inc (catan_test): Add more tests.
3355 (catanh_test): Likewise.
3356 * sysdeps/i386/fpu/libm-test-ulps: Update.
3357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3359 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3361 * benchtests/Makefile: Mention files in which fast and slow
3362 paths of math functions are implemented.
3364 2013-04-23 Roland McGrath <roland@hack.frob.com>
3366 * sysdeps/posix/timespec_get.c: New file.
3368 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3372 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3374 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3375 powerpc/power5/fpu folders.
3376 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3377 * benchtests/Makefile: Add modf testcase.
3378 * benchtests/bench-modf.c: New file: Benchmark test for mo
3380 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3383 * time/Makefile (tests): Add tst-strptime-whitespace.
3384 * time/strptime_l.c (get_number): Use ISSPACE.
3385 (__strptime_internal): Likewise.
3386 * time/tst-strptime-whitespace.c: New test case.
3388 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3390 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3392 (_nss_files_init): Set it here.
3394 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3396 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3397 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3400 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3402 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3404 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3409 2013-04-21 David S. Miller <davem@davemloft.net>
3411 * po/ru.po: Update Russion translation from translation project.
3413 2013-04-17 Adam Conrad <adconrad@0c3.net>
3415 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3418 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3420 * configure.in: Remove i386 configure warning. Remove i386 case.
3421 * configure: Regenerate.
3422 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3423 Add example to error message.
3424 * sysdeps/i386/configure: Regenerate.
3426 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3430 * benchtests/cos-inputs: New file.
3431 * benchtests/slowcos-inputs: New file.
3432 * benchtests/slowcos.c: New file.
3433 * benchtests/slowtan-inputs: New file.
3434 * benchtests/slowtan.c: New file.
3435 * benchtests/tan-inputs: New file.
3437 2013-04-16 Roland McGrath <roland@hack.frob.com>
3439 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3442 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3444 * benchtests/Makefile: Include cppflags-iterator.mk to add
3445 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3447 * Makefile.in (bench-clean): New target.
3448 * benchtests/Makefile (bench-clean): Likewise.
3450 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3452 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3454 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3456 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3458 2013-04-15 Andreas Schwab <schwab@suse.de>
3460 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3462 * nscd/pwdcache.c (cache_addpw): Likewise.
3463 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3466 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * benchtests/Makefile (bench): Write all output to
3469 bench-out.tmp together.
3471 2013-04-15 Andreas Schwab <schwab@suse.de>
3473 * nscd/nscd.c (main): Don't fork again after closing files.
3475 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3477 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3479 * benchtests/Rules (bench-deps): Collect dependencies into a
3480 single variable. Add Makefile to dependencies.
3481 ($(objpfx)bench-%.c): Depend on bench-deps.
3483 2013-04-12 Roland McGrath <roland@hack.frob.com>
3484 Xavier Roche <roche+kml2@exalead.com>
3487 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3488 just that it's a file descriptor.
3489 * manual/llio.texi (Synchronizing AIO Operations): Update description
3490 for EBADF error from aio_fsync.
3492 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3494 * Rules (bench): Move target definition...
3495 * benchtests/Makefile: ... here.
3497 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3499 * math/libm-test.inc (cos_test): Fix PI/2 test.
3500 (sincos_test): Likewise.
3501 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3502 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3504 2013-04-11 Andreas Schwab <schwab@suse.de>
3507 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3508 accept exponent character only when digits were seen.
3509 * stdio-common/Makefile (tests): Add bug26.
3510 * stdio-common/bug26.c: New file.
3513 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3516 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3518 * Makeconfig (rtld-prefix): Define built linker prefix.
3519 * Rules (run-bench): Use it.
3520 * math/Makefile (run-regen-ulps): Likewise.
3522 * Rules (bench): Remove eval.
3524 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3525 Roland McGrath <roland@hack.frob.com>
3526 Ondrej Bilka <neleai@seznam.cz>
3529 * time/getdate.c: Include ctype.h and alloca.h.
3530 (__getdate_r): Trim leading and trailing spaces of input.
3531 * time/tst-getdate.c (tests): Add tests with leading and
3534 2013-04-08 Roland McGrath <roland@hack.frob.com>
3537 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3538 when computing value.
3540 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3542 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3543 Use testrun.sh to run libm tests.
3546 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3548 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3551 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3553 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3555 * Makefile.in (regen-ulps): New target.
3556 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3557 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3558 [ifneq (no,$(PERL)] (regen-ulps): New target.
3559 [ifeq (no,$(PERL)] (regen-ulps): New target.
3560 * math/libm-test.inc (ulps_file_name): Define.
3561 (output_dir): New variable.
3562 (options): Add "output-dir" option.
3563 (parse_opt): Handle 'o' case.
3564 (main): If output_dir is non-NULL use it as a prefix
3566 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3568 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3571 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3572 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3573 fail configure if __sync_val_compare_and_swap is not inlined.
3574 * sysdeps/i386/configure: Regenerate.
3575 * configure.in: Build for i686 when configured for i386.
3576 * configure: Regenerate.
3577 * README: Remove i386 reference.
3579 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3581 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3584 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3586 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3587 (lmsnanval): New variables.
3588 (F): Add conversion tests.
3589 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3590 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3592 * stdio-common/tstdiomisc.c (F): Properly collect individual
3596 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3597 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3598 Instead, use input NaN values or generate a qNaN by arithmetic
3599 operation. Also fix bugs to comply with the standard.
3600 * math/libm-test.inc (remainder_test): Add more tests.
3603 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3605 input NaN values or generate a qNaN by arithmetic operation.
3607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3610 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3613 2013-04-03 Joseph Myers <joseph@codesourcery.com>
3616 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3618 * math/s_cexpf.c (__cexpf): Likewise.
3619 * math/s_cexpl.c (__cexpl): Likewise.
3620 * math/libm-test.inc (cexp_test): Add more tests.
3622 2013-04-03 Andreas Schwab <schwab@suse.de>
3625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3626 order arrays from heap if bigger than alloca cutoff.
3628 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3630 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3631 (SNAN_TESTS_double): Refer to GCC PR56831.
3632 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3635 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3637 * Rules (bench): Move bench.out after the run is complete.
3639 * Rules (bench): Echo currently running benchmark.
3641 * benchtests/Makefile (bench): Add atan and slowatan.
3642 * benchtests/atan-inputs: New file.
3643 * benchtests/slowatan-inputs: New file.
3644 * benchtests/slowatan.c: New file.
3646 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3647 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3651 * sysdeps/unix/sysv/linux/kernel-features.h
3652 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3653 __ASSUME_XFS_RESTRICTED_CHOWN.
3654 * sysdeps/unix/sysv/linux/pathconf.c
3655 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3656 Save and restore errno.
3658 2013-04-02 Joseph Myers <joseph@codesourcery.com>
3661 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3662 arguments using __kernel_casinh.
3663 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3664 arguments using __kernel_casinhf.
3665 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3666 arguments using __kernel_casinhl.
3667 * math/libm-test.inc (cacosh_test): Add more tests.
3668 * sysdeps/i386/fpu/libm-test-ulps: Update.
3669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3671 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3673 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3676 * bench/Makefile (bench): Add sin and slowsin.
3677 * benchtests/sin-inputs: New file.
3678 * benchtests/slowsin-inputs: New file.
3679 * benchtests/slowsin.c: New file.
3681 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3682 (bench): Add slowexp and slowpow.
3683 (exp-ITER): Increase iterations.
3684 (pow-ITER): Likewise.
3685 * benchtests/exp-inputs: Change input.
3686 * benchtests/pow-inputs: Likewise.
3687 * benchtests/slowexp-inputs: New file.
3688 * benchtests/slowexp.c: New file.
3689 * benchtests/slowpow-inputs: New file.
3690 * benchtests/slowpow.c: New file.
3692 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3696 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3697 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3698 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3699 * benchtests/Makefile: Add rint benchtest.
3700 * benchtests/rint-inputs: Input for rint benchtest.
3702 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3704 * Versions.def (libm): Add GLIBC_2.18.
3705 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3706 hidden libm prototypes.
3707 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3708 * math/Makefile (libm-calls): Add s_issignaling.
3709 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3710 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3711 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3713 * math/math.h [__USE_GNU] (issignaling): New macro.
3714 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3715 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3720 * manual/arith.texi (issignaling): New section.
3721 * manual/libm-err-tab.pl (@all_functions): Update comment.
3722 * math/gen-libm-test.pl (parse_args): Apply special handling for
3724 * math/libm-test.inc (print_float, issignaling_test): New
3726 (check_float_internal): Add issignaling checks.
3727 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3729 * sysdeps/powerpc/math-tests.h: New file.
3730 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3732 * math/test-snan.c (TEST_FUNC): Likewise.
3734 2013-03-30 David S. Miller <davem@davemloft.net>
3736 * po/de.po: Update from translation team.
3738 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3741 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3742 imaginary part less than 1.0 and real part less than 0.5
3744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3746 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3747 (cacos_test): Add more tests.
3748 (casin_test): Likewise.
3749 (casinh_test): Likewise.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3753 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3755 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3758 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3759 (__pow_mp): Replace ONE and MONE with their values.
3760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3761 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3762 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3763 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3764 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3765 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3767 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3769 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3770 (__pow_mp): Replace ZERO and MZERO with their values.
3771 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3773 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3774 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3775 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3776 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3779 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3781 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3783 2013-03-28 Roland McGrath <roland@hack.frob.com>
3785 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3786 Declare with __attribute__ ((weak)).
3787 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3788 Call __call_tls_dtors only if it's not NULL.
3790 2013-03-28 Roland McGrath <roland@hack.frob.com>
3792 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3793 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3794 magic __ehdr_start linker symbol if it's defined.
3795 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3796 them up here if it was already done.
3798 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3799 (_dl_aux_init): Use const in cast when setting it.
3800 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3801 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3802 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3804 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3806 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3807 * csu/libc-tls.c: Nor here.
3808 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3810 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3811 (__libc_message): Never call vsyslog.
3813 2013-03-28 Alan Modra <amodra@gmail.com>
3815 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3817 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3820 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3827 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3830 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3831 Don't add gid passed as argument.
3833 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3835 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3838 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3839 imaginary part between 1.0 and 1.5 and real part less than 0.5
3841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3843 * math/libm-test.inc (cacos_test): Add more tests.
3844 (casin_test): Likewise.
3845 (casinh_test): Likewise.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3849 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3851 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3855 (__dbl_mp): Likewise.
3856 (add_magnitudes): Likewise.
3857 (sub_magnitudes): Likewise.
3865 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3867 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3868 (__dubcos): Likewise.
3869 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3870 (__ieee754_acos): Likewise.
3871 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3872 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3874 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3877 (my_log2): Likewise.
3878 (checkint): Likewise.
3879 * sysdeps/ieee754/dbl-64/e_remainder.c
3880 (__ieee754_remainder): Likewise.
3881 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3884 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3886 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3887 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3888 MANTISSA_STORE_T to store computations on mantissa. Use
3889 macros for rounding and division.
3891 (__dbl_mp): Likewise.
3892 (add_magnitudes): Likewise.
3893 (sub_magnitudes): Likewise.
3896 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3897 powers of two in terms of TWOPOW macro.
3898 (mp_no): Make type of mantissa as MANTISSA_T.
3899 [!RADIXI]: Define RADIXI.
3900 [!TWO52]: Define TWO52.
3901 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3903 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3905 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3906 llroundl symbol when building for PPC32.
3908 2013-03-24 Mark H Weaver <mhw@netris.org>
3910 * manual/arith.texi (Normalization Functions): Fix prototypes for
3911 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3913 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3917 high value to check if expl overflow.
3918 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3919 to check for underflow and overflow.
3920 * math/libm-test.inc: Add exp test.
3922 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3925 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3928 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3930 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3933 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3935 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3936 wrap blocks consisting of several statements.
3938 * sysdeps/generic/math-tests.h: New file.
3939 * sysdeps/i386/fpu/math-tests.h: Likewise.
3940 * math/test-snan.c: Include it.
3941 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3943 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3947 (__ieee754_j0l): Do not improve calculations using cos of twice
3948 input for inputs above LDBL_MAX / 2.0L.
3949 (__ieee754_y0l): Likewise.
3950 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3951 (__ieee754_j1l): Do not improve calculations using cos of twice
3952 input for inputs above LDBL_MAX / 2.0L.
3953 (__ieee754_y1l): Likewise.
3954 * math/libm-test.inc (j0_test): Add another test.
3955 (j1_test): Likewise.
3956 (y0_test): Likewise.
3957 (y1_test): Likewise.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3960 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3962 * Rules ($(objpfx)bench-%.c): Include code from a C source
3965 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3968 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3969 imaginary part 1.0 and real part less than 0.5 specially.
3970 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3971 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3972 * math/libm-test.inc (cacos_test): Add more tests.
3973 (casin_test): Likewise.
3974 (casinh_test): Likewise.
3975 * sysdeps/i386/fpu/libm-test-ulps: Update.
3976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3978 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3980 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3981 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3983 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3985 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3986 * config.make.in (config-cflags-sse4): Remove variable.
3987 (config-cflags-avx): Likewise.
3988 (config-cflags-sse2avx): Likewise.
3989 (config-cflags-novzeroupper): Likewise.
3990 (config-asflags-i686): Likewise.
3991 (have-mfma4): Likewise.
3992 (have-as-vis3): Likewise.
3994 * configure.in (MIG): Do not AC_SUBST.
3995 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3996 (libc_cv_cc_sse4): Do not AC_SUBST.
3997 (libc_cv_cc_avx): Likewise.
3998 (libc_cv_cc_sse2avx): Likewise.
3999 (libc_cv_cc_novzeroupper): Likewise.
4000 (libc_cv_cc_fma4): Likewise.
4001 (libc_cv_as_i686): Likewise.
4002 (libc_cv_sparc_as_vis3): Likewise.
4003 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4005 (config-asflags-i686): Likewise.
4006 (config-cflags-avx): Likewise.
4007 (config-cflags-sse2avx): Likewise.
4008 (have-mfma4): Likewise.
4009 (config-cflags-novzeroupper): Likewise.
4010 * sysdeps/mach/configure.in (MIG): Likewise.
4011 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4012 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4014 (config-cflags-avx): Likewise.
4015 (config-cflags-sse2avx): Likewise.
4016 (have-mfma4): Likewise.
4017 (config-cflags-novzeroupper): Likewise.
4018 * configure: Regenerated.
4019 * sysdeps/i386/configure: Likewise.
4020 * sysdeps/mach/configure: Likewise.
4021 * sysdeps/sparc/configure: Likewise.
4022 * sysdeps/x86_64/configure: Likewise.
4024 2013-03-20 Roland McGrath <roland@hack.frob.com>
4027 * locale/programs/localedef.c (options): Put N_ translation marker
4028 on argument names, not just descriptions.
4030 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4032 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4034 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4037 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4039 2013-03-19 Roland McGrath <roland@hack.frob.com>
4041 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4042 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4043 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4044 [!BEFORE_ABORT] (before_abort): New function.
4045 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4046 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4047 (writev_for_fatal): New function.
4048 (WRITEV_FOR_FATAL): New macro; call that.
4049 (backtrace_and_maps): New function.
4050 (BEFORE_ABORT): New macro; call that.
4051 (struct str_list): Type removed.
4052 (__libc_message, __libc_fatal): Functions removed.
4053 Include <sysdeps/posix/libc_fatal.c> instead.
4055 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4057 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4059 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4062 2013-03-19 Andreas Schwab <schwab@suse.de>
4064 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4065 * sysdeps/gnu/configure: Regenerate.
4067 * configure.in: Substitute libc_cv_rtlddir.
4068 * configure: Regenerate.
4069 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4070 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4071 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4072 * elf/Makefile (install-others, CFLAGS-interp.c)
4073 (ldso_install, common-ldd-rewrite): Likewise.
4074 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4075 $(inst_slibdir)/$(rtld-installed-name).
4076 * scripts/rellns-sh: Add -p option.
4077 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4080 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4082 * manual/nptl.texi: Renamed to ...
4083 * manual/threads.texi: ... this.
4084 * manual/Makefile (chapters): Update.
4086 2013-03-18 Roland McGrath <roland@hack.frob.com>
4089 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4090 on argument names, not just descriptions.
4091 * malloc/memusagestat.c (options): Likewise.
4092 * nss/getent.c (options): Likewise.
4094 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4097 * iconv/iconv_prog.c (options): Put N_ translation marker
4098 on argument names, not just descriptions.
4099 * iconv/iconvconfig.c (options): Likewise.
4101 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4103 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4104 implementation which is faster on all x86_64 architectures.
4105 Tested on AMD, Intel Nehalem, SNB, IVB.
4106 * sysdeps/x86_64/strnlen.S: Likewise.
4108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4109 Remove all multiarch strlen and strnlen versions.
4110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4111 Remove strlen and strnlen related parts.
4113 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4115 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4117 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4118 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4119 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4120 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4121 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4122 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4124 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4126 * manual/memory.texi (Malloc Tunable Parameters):
4127 Sort parameters alphabetically. Add comments for missing entries.
4129 2013-03-17 David S. Miller <davem@davemloft.net>
4131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4133 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4136 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4137 for arguments at most half maximum finite value.
4138 * math/libm-test.inc (j0_test): Add more tests.
4139 (j1_test): Likewise.
4140 (y0_test): Likewise.
4141 (y1_test): Likewise.
4142 * sysdeps/i386/fpu/libm-test-ulps: Update.
4143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4146 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4147 1 / x and functions P and Q for arguments above 0x1p256L.
4148 (__ieee754_y0l): Likewise.
4149 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4150 (__ieee754_y1l): Likewise.
4151 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4152 (j1_test): Likewise.
4153 (y0_test): Likewise.
4154 (y1_test): Likewise.
4156 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4158 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4161 2013-03-15 Roland McGrath <roland@hack.frob.com>
4163 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4164 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4165 zero since it's initialized to EXEC_PAGESIZE.
4167 * sysdeps/unix/sysv/linux/ldsodefs.h
4168 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4169 * sysdeps/generic/ldsodefs.h: ... here.
4171 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4173 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4175 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4177 * math/test-snan.c: Renamed from
4178 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4179 * math/Makefile (tests): Add test-snan.
4180 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4183 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4184 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4186 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4187 __builtin_nan family of functions.
4188 * math/libm-test.inc (initialize): Initialize qnan_value with
4189 __builtin_nan family of functions.
4190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4192 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4194 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4195 storage class. Initialize qNaN_var and sNaN_var with
4196 __builtin_nan and __builtin_nans families of functions,
4199 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4200 (sqrt_test): Remove duplicate test with qNaN input.
4201 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4202 (round_test, signbit_test, significand_test): Note missing +/-Inf
4203 as well as qNaN tests.
4205 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4206 qNaN_var. Fix a few strings, too.
4207 * math/libm-test.inc (nan_value): Rename to qnan_value.
4208 * math/gen-libm-test.pl (%beautify): Adjust to that.
4209 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4210 * math/test-misc.c (main): Likewise.
4211 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4212 to __qnan_bytes, and __qnan_union, respectively.
4213 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4215 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4216 and lqnanval, respectively.
4217 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4218 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4219 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4220 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4222 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4223 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4226 * math/test-misc.c (main): Fix copy'n'pastos.
4227 * misc/tst-efgcvt.c (special): Likewise.
4229 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4230 Remove declarations.
4232 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4234 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4235 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4236 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4237 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4239 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4241 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4242 macro to return vdso values correctly in IFUNC implementations.
4243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4244 Optimization by using IFUNC.
4246 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4247 Richard Henderson <rth@redhat.com>
4248 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4250 * Makefile.in (bench): New target.
4251 * NEWS: Mention the benchmark framework.
4252 * Rules (bench): Likewise.
4253 (binaries-bench): Generate binaries for functions to
4255 * benchtests/Makefile: New makefile for benchmark tests.
4256 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4258 * benchtests/exp-inputs: New input file for EXP function.
4259 * benchtests/pow-inputs: New input file for POW function.
4260 * scripts/bench.pl: New script to generate source files for
4263 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4265 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4266 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4267 computations on mantissa. Use macros for rounding and
4270 (__dbl_mp): Likewise.
4271 (add_magnitudes): Likewise.
4272 (sub_magnitudes): Likewise.
4275 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4276 powers of two in terms of TWOPOW macro.
4277 (mp_no): Make type of mantissa as MANTISSA_T.
4278 [!RADIXI]: Define RADIXI.
4279 [!TWO52]: Define TWO52.
4280 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4282 * manual/nptl.texi (cindex): Modify threads to pthreads.
4284 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4286 * sysdeps/x86_64/preconfigure: Regenerated.
4288 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4291 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4293 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4294 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4296 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4297 * math/libm-test.inc (j0_test): Do not allow one spurious
4298 underflow exception.
4299 (y1_test): Likewise.
4301 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4303 * manual/Makefile (chapters): Add nptl.
4304 * manual/debug.texi (Debugging Support): Add link to Threads
4306 * manual/nptl.texi: New file.
4308 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4310 2013-03-14 Petr Baudis <pasky@ucw.cz>
4312 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4313 for non-NULL pointer before the memory validity test. Pointed
4314 out by Holger Brunck <holger.brunck@keymile.com>.
4316 2013-03-13 Andreas Schwab <schwab@suse.de>
4318 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4321 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4323 * timezone/zic.c: Update from tzcode 2013b.
4325 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4327 * manual/install.texi (Configuring and compiling):
4328 Mention i686 and i586.
4329 * INSTALL: Regenerate.
4331 2013-03-12 Roland McGrath <roland@hack.frob.com>
4333 * sysdeps/init_array/elf-init.c: New file.
4335 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4336 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4338 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4339 __gmon_start__ as global, but as static with a .preinit_array pointer.
4340 * sysdeps/init_array/gmon-start.c: New file. Use that.
4341 * sysdeps/init_array/crti.S: New file, empty except for comments.
4342 * sysdeps/init_array/crtn.S: Likewise.
4344 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4346 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4349 Remove Prefer_SSE_for_memop.
4350 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4351 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4352 HAS_PREFER_SSE_FOR_MEMOP.
4353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4356 Remove bzero, memset ifunc support.
4357 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4358 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4359 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4360 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4362 2013-03-11 Andreas Schwab <schwab@suse.de>
4365 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4368 (GLIBC_2.16): Remove pthread_atfork.
4370 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4372 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4373 (ptestcases.h): Likewise.
4375 2013-03-08 Roland McGrath <roland@hack.frob.com>
4377 * Makeconfig ($(common-objpfx)config.status): Depend on
4378 sysdeps/*/preconfigure{,.in} too.
4380 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4382 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4383 (__free_hook): Use void * instead of __malloc_ptr_t.
4384 (__malloc_hook): Likewise.
4385 (__realloc_hook): Likewise.
4386 (__memalign_hook): Likewise.
4387 (__after_morecore_hook): Likewise.
4388 * malloc/arena.c (save_malloc_hook): Likewise.
4389 (save_free_hook): Likewise.
4390 * malloc/hooks.c (malloc_hook_ini): Likewise.
4391 (realloc_hook_ini): Likewise.
4392 (memalign_hook_ini): Likewise.
4393 * malloc/malloc.c (malloc_hook_ini): Likewise.
4394 (realloc_hook_ini): Likewise.
4395 (memalign_hook_ini): Likewise.
4396 (__free_hook): Likewise.
4397 (__malloc_hook): Likewise.
4398 (__realloc_hook): Likewise.
4399 (__memalign_hook): Likewise.
4400 (__libc_malloc): Likewise.
4401 (__libc_free): Likewise.
4402 (__libc_realloc): Likewise.
4403 (__libc_memalign): Likewise.
4404 (__libc_valloc): Likewise.
4405 (__libc_pvalloc): Likewise.
4406 (__libc_calloc): Likewise.
4407 (__posix_memalign): Likewise.
4408 * malloc/morecore.c (__sbrk): Likewise.
4409 (__default_morecore): Likewise.
4411 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4413 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4414 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4417 * malloc/malloc.h (__malloc_size_t): Remove macro.
4418 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4420 (old_memalign_hook): Likewise.
4421 (old_realloc_hook): Likewise.
4422 (struct hdr): Likewise.
4424 (mallochook): Likewise.
4425 (memalignhook): Likewise.
4426 (reallochook): Likewise.
4427 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4428 (tr_old_realloc_hook): Likewise.
4429 (tr_old_memalign_hook): Likewise.
4430 (tr_mallochook): Likewise.
4431 (tr_reallochook): Likewise.
4432 (tr_memalignhook): Likewise.
4434 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4437 default_ldbl_pack and using as default implementation.
4438 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4440 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4441 redundant definition.
4442 (ldbl_insert_mantissa): Likewise.
4443 (ldbl_canonicalize): Likewise.
4444 (ldbl_nearbyint): Likewise.
4445 (ldbl_pack): Rename to ldbl_pack_ppc.
4446 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4447 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4448 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4450 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4453 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4454 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4455 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4457 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4458 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4459 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4461 2013-03-07 Andreas Jaeger <aj@suse.de>
4463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4466 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4468 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4469 Include mpa.h and declare __MPEXP.
4470 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4472 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4473 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4474 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4475 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4476 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4478 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4479 (__slowpow): Use long double EXPL and LOGL functions to
4481 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4482 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4483 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4484 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4485 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4486 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4489 intermediate variable to calculate exponent.
4491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4495 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4496 [!NO__SQR]: Define __sqr.
4497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4498 and NO__SQR. Remove all code except __mul and __sqr. Include
4499 sysdeps/ieee754/dbl-64/mpa.c.
4500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4503 * posix/Makefile (tests): Add tst-pathconf.
4504 * posix/tst-pathconf.c: New test case.
4505 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4507 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4509 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4511 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4513 2013-03-06 Andreas Jaeger <aj@suse.de>
4515 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4516 definition via __MAP_ANONYMOUS.
4518 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4519 it's not part of Linux headers.
4521 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4522 (MAP_HUGE_MASK): Define.
4524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4530 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4535 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4537 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4538 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4539 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4540 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4541 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4542 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4544 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4548 Handle f2fs and efivarfs.
4550 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4553 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4554 (EFIVARFS_MAGIC): Add.
4555 (F2FS_LINK_MAX): Add.
4557 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4559 * stdio-common/vfprintf.c: Replace __builtin_expect with
4562 2013-03-06 Joseph Myers <joseph@codesourcery.com>
4565 * sysdeps/generic/bp-sym.h: Remove file.
4566 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4567 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4568 <bp-sym.h> and <bp-asm.h>.
4569 (__longjmp): Don't use BP_SYM.
4570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4572 (memcpy): Don't use BP_SYM.
4573 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4574 <bp-sym.h> and <bp-asm.h>.
4575 (memcpy): Don't use BP_SYM.
4576 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4578 (memcpy): Don't use BP_SYM.
4579 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4581 (memset): Don't use BP_SYM.
4582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4584 (__bzero): Don't use BP_SYM.
4585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4588 <bp-sym.h> and <bp-asm.h>.
4589 (memcmp): Don't use BP_SYM. Remove comment about bounded
4591 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4592 <bp-sym.h> and <bp-asm.h>.
4593 (memcpy): Don't use BP_SYM.
4594 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4595 <bp-sym.h> and <bp-asm.h>.
4596 (memset): Don't use BP_SYM.
4597 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4598 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4599 (__bzero): Don't use BP_SYM.
4600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4602 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4603 <bp-sym.h> and <bp-asm.h>.
4604 (strncmp): Don't use BP_SYM. Remove comment about bounded
4606 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4607 <bp-sym.h> and <bp-asm.h>.
4608 (memcpy): Don't use BP_SYM.
4609 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4610 <bp-sym.h> and <bp-asm.h>.
4611 (memset): Don't use BP_SYM.
4612 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4613 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4614 (__bzero): Don't use BP_SYM.
4615 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4616 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4618 <bp-sym.h> and <bp-asm.h>.
4619 (__memchr): Don't use BP_SYM.
4620 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4621 <bp-sym.h> and <bp-asm.h>.
4622 (memcmp): Don't use BP_SYM. Remove comment about bounded
4624 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4625 <bp-sym.h> and <bp-asm.h>.
4626 (memcpy): Don't use BP_SYM.
4627 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4628 <bp-sym.h> and <bp-asm.h>.
4629 (__mempcpy): Don't use BP_SYM.
4630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4631 <bp-sym.h> and <bp-asm.h>.
4632 (__memrchr): Don't use BP_SYM.
4633 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4634 <bp-sym.h> and <bp-asm.h>.
4635 (memset): Don't use BP_SYM.
4636 (__bzero): Likewise.
4637 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4638 <bp-sym.h> and <bp-asm.h>.
4639 (__rawmemchr): Don't use BP_SYM.
4640 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4641 <bp-sym.h> and <bp-asm.h>.
4642 (__STRCMP): Don't use BP_SYM.
4643 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4644 <bp-sym.h> and <bp-asm.h>.
4645 (strchr): Don't use BP_SYM.
4646 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4647 <bp-sym.h> and <bp-asm.h>.
4648 (__strchrnul): Don't use BP_SYM.
4649 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4650 <bp-sym.h> and <bp-asm.h>.
4651 (strlen): Don't use BP_SYM.
4652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4653 <bp-sym.h> and <bp-asm.h>.
4654 (strncmp): Don't use BP_SYM. Remove comment about bounded
4656 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4657 <bp-sym.h> and <bp-asm.h>.
4658 (__strnlen): Don't use BP_SYM.
4659 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4660 <bp-sym.h> and <bp-asm.h>.
4661 (__GI__setjmp): Don't use BP_SYM.
4662 (_setjmp): Likewise.
4663 (__sigsetjmp): Likewise.
4664 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4665 (L(start_addresses)): Don't use BP_SYM.
4667 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4669 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4670 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4671 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4672 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4673 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4675 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4676 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4677 about bounded pointers.
4678 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4679 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4680 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4682 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4683 about bounded pointers. Remove GKM FIXME comments.
4684 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4685 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4687 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4688 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4689 Remove GKM FIXME comments.
4690 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4691 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4692 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4694 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4695 about bounded pointers. Remove GKM FIXME comment.
4696 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4698 (strncmp): Don't use BP_SYM. Remove comment about bounded
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4701 <bp-sym.h> and <bp-asm.h>.
4702 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4704 <bp-sym.h> and <bp-asm.h>.
4705 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4708 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4710 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4713 2013-03-05 David S. Miller <davem@davemloft.net>
4715 * po/es.po: Update from translation team.
4717 2013-03-05 Andreas Jaeger <aj@suse.de>
4719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4720 <bits/mman-linux.h>.
4721 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4724 <bits/mman-linux.h> to end of file.
4725 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4727 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4728 <bits/mman-linux.h> to end of file.
4729 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4732 <bits/mman-linux.h> to end of file.
4734 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4735 (MCL_CURRENT, MCL_FUTURE): Define here.
4737 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4744 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4746 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4747 fourth parameter needed for rt_sigprocmask syscall.
4748 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4749 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4750 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4751 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4752 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4753 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4755 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4758 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4759 comment about bounded pointers.
4760 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4761 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4763 2013-03-04 Andreas Jaeger <aj@suse.de>
4765 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4769 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4770 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4775 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4779 __ieee754_sqrl instead of __sqrl.
4781 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4783 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4784 * sysdeps/powerpc/fpu_control.h: ... here.
4785 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4786 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4787 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4788 * sysdeps/powerpc/bits/mathinline.h: ... here.
4790 2013-03-01 Roland McGrath <roland@hack.frob.com>
4792 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4793 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4794 to just [NEED_DL_SYSINFO_DSO].
4795 * elf/dl-support.c: Likewise.
4796 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4797 * elf/rtld.c (dl_main): Likewise.
4798 * elf/setup-vdso.h (setup_vdso): Likewise.
4799 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4800 * sysdeps/unix/sysv/linux/dl-sysdep.c
4801 (_dl_discover_osversion): Likewise.
4803 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4805 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4806 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4808 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4810 * NEWS: Mention libm performance improvements and non-x86 PI
4813 * csu/libc-start.c (__pthread_initialize_minimal): Change
4815 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4817 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4820 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4821 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4822 <bp-sym.h> and <bp-asm.h>.
4823 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4824 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4826 (memcpy): Don't use BP_SYM.
4827 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4829 (__mpn_add_n): Don't use BP_SYM.
4830 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4831 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4833 (__mpn_addmul_1): Don't use BP_SYM.
4834 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4835 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4837 (_setjmp): Don't use BP_SYM.
4838 (__novmx_setjmp): Likewise.
4839 (__GI__setjmp): Likewise.
4840 (__vmx_setjmp): Likewise.
4841 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4843 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4844 (__bzero): Don't use BP_SYM.
4845 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4846 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4847 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4848 <bp-sym.h> and <bp-asm.h>.
4849 (memcpy): Don't use BP_SYM.
4850 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4851 <bp-sym.h> and <bp-asm.h>.
4852 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4853 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4854 <bp-sym.h> and <bp-asm.h>.
4855 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4856 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4858 (__mpn_lshift): Don't use BP_SYM.
4859 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4860 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4862 (memset): Don't use BP_SYM.
4863 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4864 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4865 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4867 (__mpn_mul_1): Don't use BP_SYM.
4868 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4869 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4870 <bp-sym.h> and <bp-asm.h>.
4871 (memcmp): Don't use BP_SYM.
4872 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4873 <bp-sym.h> and <bp-asm.h>.
4874 (memcpy): Don't use BP_SYM.
4875 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4876 <bp-sym.h> and <bp-asm.h>.
4877 (memset): Don't use BP_SYM.
4878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4879 <bp-sym.h> and <bp-asm.h>.
4880 (strncmp): Don't use BP_SYM.
4881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4882 <bp-sym.h> and <bp-asm.h>.
4883 (memcpy): Don't use BP_SYM.
4884 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4885 <bp-sym.h> and <bp-asm.h>.
4886 (memset): Don't use BP_SYM.
4887 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4888 <bp-sym.h> and <bp-asm.h>.
4889 (__memchr): Don't use BP_SYM.
4890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4891 <bp-sym.h> and <bp-asm.h>.
4892 (memcmp): Don't use BP_SYM.
4893 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4894 <bp-sym.h> and <bp-asm.h>.
4895 (memcpy): Don't use BP_SYM.
4896 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4897 <bp-sym.h> and <bp-asm.h>.
4898 (__mempcpy): Don't use BP_SYM.
4899 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4900 <bp-sym.h> and <bp-asm.h>.
4901 (__memrchr): Don't use BP_SYM.
4902 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4903 <bp-sym.h> and <bp-asm.h>.
4904 (memset): Don't use BP_SYM.
4905 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4906 <bp-sym.h> and <bp-asm.h>.
4907 (__rawmemchr): Don't use BP_SYM.
4908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4909 <bp-sym.h> and <bp-asm.h>.
4910 (__STRCMP): Don't use BP_SYM.
4911 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4912 <bp-sym.h> and <bp-asm.h>.
4913 (strchr): Don't use BP_SYM.
4914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4915 <bp-sym.h> and <bp-asm.h>.
4916 (__strchrnul): Don't use BP_SYM.
4917 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4918 <bp-sym.h> and <bp-asm.h>.
4919 (strlen): Don't use BP_SYM.
4920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4921 <bp-sym.h> and <bp-asm.h>.
4922 (strncmp): Don't use BP_SYM.
4923 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4924 <bp-sym.h> and <bp-asm.h>.
4925 (__strnlen): Don't use BP_SYM.
4926 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4928 (__mpn_rshift): Don't use BP_SYM.
4929 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4930 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4931 <bp-sym.h> and <bp-asm.h>.
4932 (__sigsetjmp): Don't use BP_SYM.
4933 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4934 (L(start_addresses)): Don't use BP_SYM.
4936 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4938 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4939 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4940 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4941 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4943 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4944 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4945 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4946 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4948 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4950 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4951 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4953 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4955 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4956 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4957 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4959 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4961 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4963 (strncmp): Don't use BP_SYM,
4964 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4966 (__mpn_sub_n): Don't use BP_SYM.
4967 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4968 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4970 (__mpn_submul_1): Don't use BP_SYM.
4971 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4973 <bp-sym.h> and <bp-asm.h>.
4974 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4976 <bp-sym.h> and <bp-asm.h>.
4977 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4980 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4983 Use ZK to minimize writes to Z.
4984 (sub_magnitudes): Simplify code a bit.
4985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4986 Use ZK to minimize writes to Z.
4987 (sub_magnitudes): Simplify code a bit.
4989 2013-02-27 Roland McGrath <roland@hack.frob.com>
4991 * csu/gmon-start.c: Add special exception to license text.
4993 2013-02-27 Richard Henderson <rth@redhat.com>
4995 * scripts/config.guess: Update from config.git.
4996 * scripts/config.sub: Likewise.
4998 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5002 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5004 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5006 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5008 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5010 2013-02-26 Roland McGrath <roland@hack.frob.com>
5012 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5013 [$(build-shared = yes].
5015 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5017 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5018 (__mul): Reduce iterations for calculating mantissa.
5020 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5022 (__mpranred): Likewise.
5025 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5026 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5028 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5030 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5031 Define __attribute__.
5033 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5037 * posix/regex_internal.h (__attribute): Remove.
5038 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5039 (re_string_context_at): Likewise.
5040 (bitset_not): Use __attribute__ and mark function as possibly
5042 (bitset_merge): Likewise.
5043 (bitset_mask): Likewise.
5044 (re_string_char_size_at): Likewise.
5045 (re_string_wchar_at): Likewise.
5046 (re_string_elem_size_at): Likewise.
5048 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5050 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5054 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5059 (__dbl_mp): Likewise.
5060 (add_magnitudes): Likewise.
5061 (sub_magnitudes): Likewise.
5065 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5068 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5071 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5075 up changes with default code.
5076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5079 2013-02-24 Allan McRae <allan@archlinux.org>
5081 * manual/socket.texi (The Internet Namespace): Order menu items
5082 to match that in the file.
5084 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5085 node listing of the info page menu.
5087 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5090 * sysdeps/i386/bp-asm.h: Remove file.
5091 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5092 (PARMS): Do not use macros from bp-asm.h.
5096 (__mpn_add_n): Do not use BP_SYM
5097 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5099 (PARMS): Do not use macros from bp-asm.h.
5102 (__mpn_addmul_1): Do not use BP_SYM
5103 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5105 (PARMS): Do not use macros from bp-asm.h.
5107 (_setjmp): Likewise. Do not use BP_SYM.
5108 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5110 (PARMS): Do not use macros from bp-asm.h.
5112 (setjmp): Likewise. Do not use BP_SYM.
5113 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5115 (PARMS): Do not use macros from bp-asm.h.
5116 (__frexp): Do not use BP_SYM.
5118 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5120 (PARMS): Do not use macros from bp-asm.h.
5121 (__frexpf): Do not use BP_SYM.
5123 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5125 (PARMS): Do not use macros from bp-asm.h.
5126 (__frexpl): Do not use BP_SYM.
5128 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5130 (PARMS): Do not use macros from bp-asm.h.
5131 (__remquo): Do not use BP_SYM.
5133 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5135 (PARMS): Do not use macros from bp-asm.h.
5136 (__remquof): Do not use BP_SYM.
5137 (remquof): Likewise.
5138 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5140 (PARMS): Do not use macros from bp-asm.h.
5141 (__remquol): Do not use BP_SYM.
5142 (remquol): Likewise.
5143 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5145 (PARMS): Do not use macros from bp-asm.h.
5148 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5149 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5151 (PARMS): Do not use macros from bp-asm.h.
5152 (strlen): Do not use BP_SYM.
5153 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5155 (PARMS): Do not use macros from bp-asm.h.
5159 (__mpn_add_n): Do not use BP_SYM.
5160 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5162 (PARMS): Do not use macros from bp-asm.h.
5165 (__mpn_addmul_1): Do not use BP_SYM.
5166 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5169 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5171 (PARMS): Do not use macros from bp-asm.h.
5174 (__mpn_lshift): Do not use BP_SYM.
5175 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5177 (PARMS): Do not use macros from bp-asm.h.
5181 (memcpy): Likewise. Do not use BP_SYM.
5182 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5183 libc_hidden_def and weak_alias.
5184 (mempcpy): Do not use BP_SYM in weak_alias.
5185 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5187 (PARMS): Do not use macros from bp-asm.h.
5190 [!BZERO_P] (CHR): Likewise.
5191 (memset): Likewise. Do not use BP_SYM.
5192 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5194 (PARMS): Do not use macros from bp-asm.h.
5197 (__mpn_mul_1): Do not use BP_SYM.
5198 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5200 (PARMS): Do not use macros from bp-asm.h.
5203 (__mpn_rshift): Do not use BP_SYM.
5204 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5206 (PARMS): Do not use macros from bp-asm.h.
5209 (strchr): Likewise. Do not use BP_SYM.
5210 (index): Do not use BP_SYM in weak_alias.
5211 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5213 (PARMS): Do not use macros from bp-asm.h.
5216 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5217 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5219 (PARMS): Do not use macros from bp-asm.h.
5220 (strlen): Do not use BP_SYM.
5221 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5223 (PARMS): Do not use macros from bp-asm.h.
5227 (__mpn_sub_n): Do not use BP_SYM.
5228 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5230 (PARMS): Do not use macros from bp-asm.h.
5233 (__mpn_submul_1): Do not use BP_SYM.
5234 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5236 (PARMS): Do not use macros from bp-asm.h.
5240 (__mpn_add_n): Do not use BP_SYM.
5241 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5244 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5246 (PARMS): Do not use macros from bp-asm.h.
5249 (memcmp): Do not use BP_SYM.
5250 (bcmp): Do not use BP_SYM in weak_alias.
5251 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5253 (PARMS): Do not use macros from bp-asm.h.
5257 (memcpy): Likewise. Do not use BP_SYM.
5258 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5260 (PARMS): Do not use macros from bp-asm.h.
5264 (memmove): Likewise. Do not use BP_SYM.
5265 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5267 (PARMS): Do not use macros from bp-asm.h.
5271 (__mempcpy): Likewise. Do not use BP_SYM.
5272 (mempcpy): Do not use BP_SYM in weak_alias.
5273 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5275 (PARMS): Do not use macros from bp-asm.h.
5278 [!BZERO_P] (CHR): Likewise.
5279 (memset): Likewise. Do not use BP_SYM.
5280 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5282 (PARMS): Do not use macros from bp-asm.h.
5284 (strcmp): Do not use BP_SYM.
5285 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5287 (PARMS): Do not use macros from bp-asm.h.
5290 [USE_AS_STRTOK_R] (SAVE): Likewise.
5291 (FUNCTION): Likewise. Do not use BP_SYM.
5292 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5294 (strtok_r): Likewise.
5295 (__GI___strtok_r): Likewise.
5296 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5297 (PARMS): Do not use macros from bp-asm.h.
5300 (__mpn_lshift): Do not use BP_SYM.
5301 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5302 (PARMS): Do not use macros from bp-asm.h.
5305 (__memchr): Do not use BP_SYM.
5306 (memchr): Do not use BP_SYM in weak_alias.
5307 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5308 (PARMS): Do not use macros from bp-asm.h.
5311 (memcmp): Do not use BP_SYM.
5312 (bcmp): Do not use BP_SYM in weak_alias.
5313 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5314 (PARMS): Do not use macros from bp-asm.h.
5317 (__mpn_mul_1): Do not use BP_SYM.
5318 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5320 (PARMS): Do not use macros from bp-asm.h.
5323 (__rawmemchr): Do not use BP_SYM.
5324 (rawmemchr): Do not use BP_SYM in weak_alias.
5325 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5326 (PARMS): Do not use macros from bp-asm.h.
5329 (__mpn_rshift): Do not use BP_SYM.
5330 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5331 (PARMS): Do not use macros from bp-asm.h.
5333 (__sigsetjmp): Likewise. Do not use BP_SYM.
5334 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5335 (_start): Do not use BP_SYM.
5336 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5337 (PARMS): Do not use macros from bp-asm.h.
5340 (__stpcpy): Likewise. Do not use BP_SYM.
5341 (stpcpy): Do not use BP_SYM in weak_alias.
5342 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5344 (PARMS): Do not use macros from bp-asm.h.
5348 (__stpncpy): Likewise. Do not use BP_SYM.
5349 (stpncpy): Do not use BP_SYM in weak_alias.
5350 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5351 (PARMS): Do not use macros from bp-asm.h.
5354 (strchr): Likewise. Do not use BP_SYM.
5355 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5357 (PARMS): Do not use macros from bp-asm.h.
5360 (__strchrnul): Likewise. Do not use BP_SYM.
5361 (strchrnul): Do not use BP_SYM in weak_alias.
5362 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5364 (PARMS): Do not use macros from bp-asm.h.
5366 (strcspn): Do not use BP_SYM.
5367 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5369 (PARMS): Do not use macros from bp-asm.h.
5372 (strpbrk): Likewise. Do not use BP_SYM.
5373 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5375 (PARMS): Do not use macros from bp-asm.h.
5378 (strrchr): Likewise. Do not use BP_SYM.
5379 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5380 (PARMS): Do not use macros from bp-asm.h.
5382 (strspn): Do not use BP_SYM.
5383 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5384 (PARMS): Do not use macros from bp-asm.h.
5388 (FUNCTION): Likewise. Do not use BP_SYM.
5389 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5391 (strtok_r): Likewise.
5392 (__GI___strtok_r): Likewise.
5393 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5394 (PARMS): Do not use macros from bp-asm.h.
5398 (__mpn_sub_n): Do not use BP_SYM.
5399 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5401 (PARMS): Do not use macros from bp-asm.h.
5404 (__mpn_submul_1): Do not use BP_SYM.
5405 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5407 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5409 (PARMS): Do not use macros from bp-asm.h.
5414 (__clone): Do not use BP_SYM.
5415 (clone): Do not use BP_SYM in weak_alias.
5416 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5418 (PARMS): Do not use macros from bp-asm.h.
5420 (__mmap64): Do not use BP_SYM.
5421 (mmap64): Do not use BP_SYM in weak_alias.
5422 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5423 <bp-sym.h> and <bp-asm.h>.
5424 (PARMS): Do not use macros from bp-asm.h.
5425 (__posix_fadvise64_l64): Do not use BP_SYM.
5426 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5427 (PARMS): Do not use macros from bp-asm.h.
5429 (semtimedop): Do not use BP_SYM.
5430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5433 2013-02-21 Allan McRae <allan@archlinux.org>
5435 * manual/message.texi (Charset conversion in gettext):
5436 Move @end statement to beginning of line.
5438 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5445 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5450 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5452 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5453 tail-call to the resolved function if pltexit isn't needed.
5455 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5458 or Y being zero as being unlikely.
5459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5462 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5464 * manual/nss.texi (System Databases and Name Service Switch):
5465 Remove frobnicate @pxref.
5467 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5469 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5470 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5472 2013-02-20 Petr Machata <pmachata@redhat.com>
5474 * elf/elf.h (R_ARM_TARGET1): New macro.
5475 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5476 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5477 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5478 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5479 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5480 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5481 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5482 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5483 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5484 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5485 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5486 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5487 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5488 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5489 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5490 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5491 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5492 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5493 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5494 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5495 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5496 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5497 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5498 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5499 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5500 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5501 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5502 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5503 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5504 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5505 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5506 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5507 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5508 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5509 (R_ARM_THM_GOT_BREL12): Likewise.
5510 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5511 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5512 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5513 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5514 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5515 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5516 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5517 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5518 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5520 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5522 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5523 __attribute_used__ to __attribute__ ((unused)).
5525 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5527 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5533 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5536 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5538 (ENTER): Remove both macro definitions.
5540 (CHECK_BOUNDS_LOW): Likewise.
5541 (CHECK_BOUNDS_HIGH): Likewise.
5542 (CHECK_BOUNDS_BOTH): Likewise.
5543 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5544 (RETURN_BOUNDED_POINTER): Likewise.
5545 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5546 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5547 (POP_ERRNO_LOCATION_RETURN): Likewise.
5548 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5549 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5550 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5552 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5553 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5554 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5555 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5556 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5557 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5558 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5559 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5560 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5561 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5562 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5563 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5564 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5565 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5567 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5568 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5570 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5571 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5572 * sysdeps/i386/i586/memset.S (memset): Likewise.
5573 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5574 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5575 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5577 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5578 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5579 Change uses of L(2) to L(out).
5580 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5581 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5582 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5583 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5584 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5586 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5587 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5589 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5590 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5591 (RETURN): Do not use macro LEAVE.
5592 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5593 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5594 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5595 * sysdeps/i386/i686/memset.S (memset): Likewise.
5596 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5597 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5598 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5599 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5601 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5602 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5603 L(1_2) and L(1_3) into L(1).
5604 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5605 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5606 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5607 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5608 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5609 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5610 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5611 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5612 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5614 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5615 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5616 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5617 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5618 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5619 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5620 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5621 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5622 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5623 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5624 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5625 * sysdeps/i386/strspn.S (strspn): Likewise.
5626 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5628 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5629 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5630 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5631 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5633 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5634 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5635 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5637 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5639 2013-02-19 Jakub Jelinek <jakub@redhat.com>
5641 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5644 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5646 * math/atest-exp.c (exp_mpn): Remove ROUND.
5647 * math/atest-exp2.c (exp_mpn): Likewise.
5648 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5650 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5651 * stdlib/tst-tls-atexit-lib.c: Likewise.
5652 * stdlib/tst-tls-atexit.c: Likewise.
5654 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5656 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5657 and __attribute_alloc_size__.
5659 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5661 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5662 __attribute_alloc_size__.
5663 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5664 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5666 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5668 * include/programs/xmalloc.h: New file.
5669 * catgets/gencat.c: Include it.
5670 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5671 * elf/pldd.c: Likewise.
5672 * iconv/iconv_charmap.c: Likewise.
5673 * iconv/iconvconfig.c: Likewise.
5674 * iconv/strtab.c: Likewise.
5675 * locale/programs/locale.c: Likewise.
5676 * locale/programs/localedef.h: Likewise.
5677 * locale/programs/simple-hash.c: Likewise.
5678 * nscd/nscd.h: Likewise.
5679 * nss/makedb.c: Likewise.
5680 * sysdeps/generic/ldconfig.h: Likewise.
5682 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5684 * Versions.def: Add GLIBC_2.18.
5685 * include/link.h (struct link_map): New member l_tls_dtor_count.
5686 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5687 (__call_tls_dtors): Likewise.
5688 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5689 __cxa_thread_atexit_impl.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5706 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5707 (tests): Add test case tst-tls-atexit.
5708 (modules-names): Add shared library for tst-tls-atexit.
5709 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5710 (GLIBC_PRIVATE): Add __call_tls_dtors.
5711 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5713 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5714 * stdlib/tst-tls-atexit.c: New test case.
5715 * stdlib/tst-tls-atexit-lib.c: New test case.
5717 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5719 * elf/Versions (ld): Add _dl_find_dso_for_object.
5720 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5721 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5722 (dl_open_worker): Use _dl_find_dso_for_object.
5723 * elf/dl-sym.c (do_sym): Likewise.
5724 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5726 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5728 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5729 Syntactic changes only.
5730 (_dl_runtime_profile): Do a tail-call to the resolved function.
5732 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5735 * sysdeps/x86_64/bp-asm.h: Remove file.
5736 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5737 <bp-sym.h> and <bp-asm.h>.
5738 (__clone): Do not use BP_SYM.
5739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5740 <bp-sym.h> and <bp-asm.h>.
5741 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5742 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5744 (_setjmp): Do not use BP_SYM.
5745 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5747 (setjmp): Do not use BP_SYM.
5748 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5750 (mempcpy): Do not use BP_SYM in weak_alias.
5751 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5753 (strchr): Do not use BP_SYM.
5754 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5756 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5757 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5758 (_start): Do not use BP_SYM.
5759 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5761 (strcat): Do not use BP_SYM.
5762 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5764 (STRCMP): Do not use BP_SYM.
5765 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5767 (STRCPY): Do not use BP_SYM.
5768 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5770 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5772 (FUNCTION): Do not use BP_SYM.
5773 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5775 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5777 2013-02-17 Andreas Jaeger <aj@suse.de>
5779 * time/Versions: Sort entries.
5780 * string/Versions: Likewise.
5781 * resolv/Versions: Likewise.
5782 * posix/Versions: Likewise.
5783 * iconv/Versions: Likewise.
5784 * elf/Versions: Likewise.
5785 * wcsmbs/Versions: Likewise.
5787 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5789 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5790 loop termination condition.
5792 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5793 variable to calculate EZ.
5796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5797 the lower precision input.
5799 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5802 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5803 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5804 (run-via-rtld-prefix): Do not handle %-bp tests.
5805 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5806 (all-object-suffixes): Remove .ob.
5807 (bppfx): Remove variable.
5808 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5809 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5810 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5811 [$(build-bounded) = yes] (libtype.ob): Likewise.
5812 * Makerules (elide-routines.ob): Remove variable.
5813 (do-tests-clean): Do not handle *-bp.out.
5814 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5815 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5816 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5817 (tests): Do not include $(tests-bp.out).
5818 (xtests): Do not include $(xtests-bp.out).
5819 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5820 [$(build-bounded) = yes] ($(addprefix
5821 $(objpfx),$(binaries-bounded))): Remove rule.
5822 ($(objpfx)%-bp.out): Remove rule.
5823 * config.make.in (build-bounded): Remove variable.
5824 * crypt/Makefile [$(build-bounded) = yes]
5825 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5826 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5828 [$(build-bounded) = yes] (install-lib): Likewise.
5829 [$(build-bounded) = yes] (generated): Likewise.
5830 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5832 * intl/Makefile [$(build-bounded) = yes]
5833 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5834 * math/Makefile [$(build-bounded) = yes]
5835 ($(tests:%=$(objpfx)%-bp): Likewise.
5836 * misc/Makefile [$(build-bounded) = yes]
5837 ($(objpfx)tst-tsearch-bp): Likewise.
5838 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5839 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5841 * string/Makefile (o-objects.ob): Remove variable.
5842 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5843 (CFLAGS-.ob): Remove variable.
5844 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5845 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5846 both definitions of variable.
5847 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5848 (ASFLAGS-.ob): Remove variable.
5850 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5853 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5854 Remove __BOUNDED_POINTERS__ from condition.
5855 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5856 * string/bits/string2.h [!__NO_STRING_INLINES &&
5857 !__BOUNDED_POINTERS__]: Likewise.
5858 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5860 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5861 Remove conditional code.
5862 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5863 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5864 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5868 * csu/libc-start.c: Do not include <bp-sym.h>.
5869 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5870 * elf/dl-open.c: Do not include <bp-sym.h>.
5871 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5872 * math/fegetenv.c: Do not include <bp-sym.h>.
5873 (fegetenv): Do not use BP_SYM in versioned symbols.
5874 * nptl/sysdeps/pthread/bits/libc-lockP.h
5875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5878 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5880 (__pthread_mutex_destroy): Likewise.
5881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5882 (__pthread_mutex_lock): Likewise.
5883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5884 (__pthread_mutex_trylock): Likewise.
5885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5886 (__pthread_mutex_unlock): Likewise.
5887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5888 (__pthread_mutexattr_init): Likewise.
5889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5890 (__pthread_mutexattr_destroy): Likewise.
5891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5892 (__pthread_mutexattr_settype): Likewise.
5893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5894 (__pthread_rwlock_init): Likewise.
5895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5896 (__pthread_rwlock_destroy): Likewise.
5897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5898 (__pthread_rwlock_rdlock): Likewise.
5899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5900 (__pthread_rwlock_tryrdlock): Likewise.
5901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5902 (__pthread_rwlock_wrlock): Likewise.
5903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5904 (__pthread_rwlock_trywrlock): Likewise.
5905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5906 (__pthread_rwlock_unlock): Likewise.
5907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5908 (__pthread_key_create): Likewise.
5909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5910 (__pthread_setspecific): Likewise.
5911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5912 (__pthread_getspecific): Likewise.
5913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5916 (_pthread_cleanup_push_defer): Likewise.
5917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5918 (_pthread_cleanup_pop_restore): Likewise.
5919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5920 (pthread_setcancelstate): Likewise.
5921 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5923 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5924 (memchr): Do not use BP_SYM in weak_alias.
5925 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5926 (fegetenv): Do not use BP_SYM in versioned symbols.
5927 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5928 (fesetenv): Do not use BP_SYM in versioned symbols.
5929 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5930 (feupdateenv): Do not use BP_SYM in versioned symbols.
5931 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5932 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5933 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5934 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5935 (open64): Do not use BP_SYM in weak_alias.
5936 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5937 (fegetenv): Do not use BP_SYM in versioned symbols.
5938 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5939 (fesetenv): Do not use BP_SYM in versioned symbols.
5940 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5941 (feupdateenv): Do not use BP_SYM in versioned symbols.
5942 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5943 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5944 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5945 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5946 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5947 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5950 (__libc_start_main): Do not use BP_SYM.
5952 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5955 redundant return line.
5959 (sub_magnitudes): Likewise.
5965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5969 (sub_magnitudes): Likewise.
5976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5982 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5983 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5985 of __mul for squares.
5986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5990 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5991 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5993 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5996 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5998 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5999 prototype or function definition. Rename ubp_* variables and
6000 parameters. Remove argv definitions conditional on
6001 [__BOUNDED_POINTERS__].
6002 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6003 * elf/dl-runtime.c (_dl_fixup): Likewise.
6004 * include/set-hooks.h (RUN_HOOK): Likewise.
6005 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6007 * string/strcpy.c (strcpy): Do not use __unbounded.
6008 * sysdeps/generic/frame.h (struct layout): Likewise.
6009 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6010 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6011 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6012 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6013 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6014 (__backtrace): Likewise.
6015 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6017 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6018 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6019 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6021 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6022 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6023 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6024 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6025 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6026 Do not use __unbounded.
6027 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6028 Rename __unboundedrlimits parameter to rlimits in prototype.
6029 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6030 Do not use __unbounded.
6031 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6033 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6034 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6035 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6036 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6037 __ptrvalue or __unbounded.
6038 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6039 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6041 (__new_msgctl): Do not use __ptrvalue.
6042 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6044 (__libc_msgrcv): Do not use __ptrvalue.
6045 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6046 startup_info): Do not use __unbounded.
6047 (__libc_start_main): Likewise. Rename ubp_* variables and
6048 parameters. Remove argv definitions conditional on
6049 [__BOUNDED_POINTERS__].
6050 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6052 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6054 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6056 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6058 (__new_shmctl): Do not use __ptrvalue.
6059 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6060 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6062 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6064 (__libc_sigaction): Likewise.
6065 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6068 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6070 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6072 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6074 * string/mempcpy.c: Implement by calling memcpy.
6076 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6084 values in the mantissa.
6086 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6087 minimize writes to Z.
6088 (sub_magnitudes): Simplify code a bit.
6090 2013-02-12 Roland McGrath <roland@hack.frob.com>
6092 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6093 from the message. The linker prefixes all warnings with that already.
6095 2013-02-12 Andreas Schwab <schwab@suse.de>
6098 * posix/regexec.c (extend_buffers): Add parameter min_len.
6099 (check_matching): Pass minimum needed length.
6100 (clean_state_log_if_needed): Likewise.
6101 (get_subexp): Likewise.
6102 * posix/Makefile (tests): Add bug-regex34.
6103 (bug-regex34-ENV): Define.
6104 * posix/bug-regex34.c: New file.
6107 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6108 elements compare against the byte sequence of it, not its name.
6109 * posix/Makefile (tests): Add bug-regex35.
6110 (bug-regex35-ENV): Define.
6111 * posix/bug-regex35.c: New file.
6113 2013-02-11 Tom de Vries <tom@codesourcery.com>
6115 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6117 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6118 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6119 (CHECK_EOL): Add undef.
6121 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6123 * bits/stdlib-bsearch.h: New file.
6124 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6125 * stdlib/stdlib.h: Likewise.
6127 2013-02-11 Roland McGrath <roland@hack.frob.com>
6129 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6130 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6132 * manual/search.texi (Array Search Function): Add missing const in
6134 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6135 declaration to use rlim_t.
6136 (Basic Scheduling Functions): Remove erroneous const from
6137 sched_getparam prototype. Remove erroneous * from
6138 sched_get_priority_max and sched_get_priority_min prototypes.
6139 (Resource Usage): Fix summary @comment on vtimes to refer to
6140 sys/vtimes.h rather than vtimes.h.
6141 Add missing *s in vtimes prototype.
6142 (Limits on Resources): Fix ulimit prototype to return long int.
6143 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6144 prototypes to use long int rather than double.
6145 (BSD Random): Fix initstate and setstate to use char *, not void *.
6146 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6147 prototype to make second argument 'struct aiocb64 *const[]'.
6148 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6149 (Status of AIO Operations): Remove erroneous const in aio_return and
6150 aio_return64 prototypes.
6151 (Synchronizing I/O): Fix sync prototype to return void.
6152 * manual/startup.texi (Suboptions): Remove an erroneous const in
6153 getsubopt prototype.
6154 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6155 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6156 use size_t rather than int.
6157 (Scanning All Users): Likewise for getpwent_r.
6158 (Setting Groups): Add missing const to setgroups prototype.
6159 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6160 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6161 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6162 'const void *' rather than 'const char *'.
6163 (Host Address Functions): Likewise for inet_ntop.
6164 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6165 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6166 ssize_t for return value.
6167 (Sending Data): Likewise for send, sendto, sendmsg.
6168 (Socket Option Functions): Add a missing const in setsockopt prototype.
6169 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6170 use wchar_t for the argument.
6171 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6172 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6174 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6175 double/float/long double for second argument.
6176 Fix return types of significand, significandf, significandl.
6177 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6178 argument in fchmod prototype.
6179 (File Owner): Use uid_t and gid_t in fchown prototype.
6180 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6181 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6182 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6183 use 'const struct dirent **' as argument types to CMP function pointer
6185 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6186 (File Times): Fix summary magic @comment for struct utimbuf and utime
6187 to refer to utime.h, not time.h.
6188 * manual/string.texi (Argz Functions): Add missing const in
6189 argz_extract and argz_next prototypes.
6190 (Finding Tokens in a String): Likewise for basename.
6191 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6192 (Copying and Concatenation): Fix typo in wmemmove prototype.
6193 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6194 (Signal Stack): Remove erroneous const in sigstack prototype.
6195 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6197 (Simple Calendar Time): Likewise for stime.
6198 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6200 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6201 say sys/sysctl.h instead.
6202 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6203 and vsyslog prototypes.
6205 2013-02-11 Tom de Vries <tom@codesourcery.com>
6207 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6210 2013-02-11 Roland McGrath <roland@hack.frob.com>
6212 * misc/sys/mman.h: Fix typo in mremap comment.
6214 2013-02-08 Roland McGrath <roland@hack.frob.com>
6216 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6217 the '\0' terminator.
6219 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6222 * debug/segfault.c: Don't include <bp-checks.h>.
6223 * sysdeps/generic/bp-checks.h: Remove file.
6224 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6225 (__GETDENTS): Don't use CHECK_N.
6226 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6227 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6228 (__getgroups): Don't use CHECK_N.
6229 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6230 (setgroups): Don't use CHECK_N.
6231 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6232 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6233 (__libc_msgrcv): Don't use CHECK_N.
6234 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6235 (__libc_msgsnd): Don't use CHECK_N.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6238 (__libc_pread): Don't use CHECK_N.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6240 include <bp-checks.h>.
6241 (__libc_pread64): Don't use CHECK_N.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6243 include <bp-checks.h>.
6244 (__libc_pwrite): Don't use CHECK_N.
6245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6246 include <bp-checks.h>.
6247 (__libc_pwrite64): Don't use CHECK_N.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6250 (__libc_pread): Don't use CHECK_N.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6252 include <bp-checks.h>.
6253 (__libc_pread64): Don't use CHECK_N.
6254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6255 include <bp-checks.h>.
6256 (__libc_pwrite): Don't use CHECK_N.
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6258 include <bp-checks.h>.
6259 (__libc_pwrite64): Don't use CHECK_N.
6260 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6261 (do_pread): Don't use CHECK_N.
6262 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6263 (do_pread64): Don't use CHECK_N.
6264 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6265 (do_pwrite): Don't use CHECK_N.
6266 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6267 (do_pwrite64): Don't use CHECK_N.
6268 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6269 (__libc_readv): Don't use CHECK_N.
6270 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6271 (semop): Don't use CHECK_N.
6272 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6274 (semtimedop): Don't use CHECK_N.
6275 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6276 (__libc_pread): Don't use CHECK_N.
6277 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6279 (__libc_pread64): Don't use CHECK_N.
6280 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6282 (__libc_pwrite): Don't use CHECK_N.
6283 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6285 (__libc_pwrite64): Don't use CHECK_N.
6286 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6288 (__libc_msgrcv): Don't use CHECK_N.
6289 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6290 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6291 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6292 (__libc_writev): Don't use CHECK_N.
6294 2013-02-08 Roland McGrath <roland@hack.frob.com>
6296 * string/strcpy.c: Removed unused variable.
6298 * Makeconfig (+sysdep-includes): Define with := rather than =.
6299 Use an existing include/ subdir of each sysdeps dir before it.
6301 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6303 * nscd/connection.c (register_traced_file): Comment function.
6304 [HAVE_INOTIFY] (union __inev): Define.
6305 [HAVE_INOTIFY] (inotify_check_files): New function.
6306 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6307 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6309 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6311 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6313 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6314 loaded if not already and that a failure is permanent.
6316 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6319 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6320 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6322 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6325 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6326 (CHECK_1_NULL_OK): Likewise.
6327 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6328 (__fxstat): Do not use CHECK_1.
6329 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6331 (___fxstat64): Do not use CHECK_1.
6332 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6334 (__fxstatat): Do not use CHECK_1.
6335 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6337 (__fxstatat64): Do not use CHECK_1.
6338 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6340 (__fxstat): Do not use CHECK_1.
6341 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6343 (__fxstatat): Do not use CHECK_1.
6344 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6346 (__getresgid): Do not use CHECK_1.
6347 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6349 (__getresuid): Do not use CHECK_1.
6350 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6352 (__lxstat): Do not use CHECK_1.
6353 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6355 (__old_msgctl): Do not use CHECK_1.
6356 (__new_msgctl): Likewise.
6357 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6359 (__new_setrlimit): Do not use CHECK_1.
6360 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6362 (__old_shmctl): Do not use CHECK_1.
6363 (__new_shmctl): Likewise.
6364 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6366 (__xstat): Do not use CHECK_1.
6367 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6368 (__lxstat): Do not use CHECK_1.
6369 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6371 (___lxstat64): Do not use CHECK_1.
6372 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6373 (__old_msgctl): Do not use CHECK_1.
6374 (__new_msgctl): Likewise.
6375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6377 (__gettimeofday): Do not use CHECK_1.
6378 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6379 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6380 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6382 (__gettimeofday): Do not use CHECK_1.
6383 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6384 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6385 (__new_shmctl): Do not use CHECK_1.
6386 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6388 (do_sigtimedwait): Do not use CHECK_1.
6389 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6391 (do_sigwaitinfo): Do not use CHECK_1.
6392 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6394 (msgctl): Do not use CHECK_1.
6395 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6397 (shmctl): Do not use CHECK_1.
6398 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6399 (ustat): Do not use CHECK_1.
6400 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6402 (__fxstat): Do not use CHECK_1.
6403 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6405 (__fxstatat): Do not use CHECK_1.
6406 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6408 (__lxstat): Do not use CHECK_1.
6409 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6411 (__xstat): Do not use CHECK_1.
6412 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6413 (__xstat): Do not use CHECK_1.
6414 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6415 (___xstat64): Do not use CHECK_1.
6418 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6420 (CHECK_BOUNDS_HIGH): Likewise.
6421 * string/strcpy.c: Do not include <bp-checks.h>.
6422 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6424 2013-02-07 Roland McGrath <roland@hack.frob.com>
6426 * nscd/nscd-client.h (__nscd_drop_map_ref):
6427 Add __attribute__ ((unused)).
6428 * nis/nss-nisplus.h (niserr2nss): Likewise.
6430 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6431 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6433 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6434 Remove inline keyword.
6435 * include/rounding-mode.h (round_away): Likewise.
6436 * libio/wfileops.c (adjust_wide_data): Likewise.
6437 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6438 (__m128i_strloadu_tolower): Likewise.
6439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6440 (__m128i_strloadu_tolower): Likewise.
6441 * time/mktime.c (ydhms_diff): Likewise.
6442 * locale/elem-hash.h (elem_hash): Likewise.
6443 * locale/setlocale.c (setdata): Likewise.
6444 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6445 (re_string_wchar_at): Likewise.
6446 (bitset_not, bitset_merge, bitset_mask): Likewise.
6447 [!(__GNUC__ > 3)] (inline): Remove macro.
6448 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6449 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6450 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6451 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6452 * string/memcmp.c (memcmp_bytes): Likewise.
6453 * locale/programs/locarchive.c (compute_hashval): Likewise.
6454 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6455 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6456 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6457 * nss/getent.c (print_rpc, print_protocols): Likewise.
6458 (print_passwd, print_group, print_aliases): Likewise.
6459 * nis/nss-nisplus.h (niserr2nss): Likewise.
6460 * nscd/connections.c (restart_p): Likewise.
6461 Change return type to bool.
6463 2013-02-05 Roland McGrath <roland@hack.frob.com>
6465 * Makeconfig (all-Depend-files): Add existing
6466 $(sorted-subdirs:=/Depend) files.
6467 (all-subdirs): Remove nss.
6468 * sysdeps/unix/inet/Subdirs: Add it here instead.
6469 * hesiod/Depend: New file.
6471 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6472 instead of calling alloca.
6474 * io/lseek.c (__lseek): Rename to __libc_lseek.
6475 Define __lseek as an alias.
6477 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6479 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6481 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6482 else clause and remove check for non-standard endianness.
6484 2013-02-04 David S. Miller <davem@davemloft.net>
6486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6488 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6492 (__ubp_memchr): Remove prototype.
6493 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6494 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6495 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6496 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6497 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6499 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6500 (__ubp_memchr): Likewise.
6501 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6502 (__ubp_memchr): Likewise.
6503 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6504 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6505 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6506 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6508 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6509 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6510 (__getcwd): Do not use CHECK_STRING.
6511 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6513 (__real_chown): Do not use CHECK_STRING.
6514 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6516 (fchownat): Do not use CHECK_STRING.
6517 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6519 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6521 (__lchown): Do not use CHECK_STRING.
6522 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6523 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6524 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6525 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6527 include <bp-checks.h>.
6528 (truncate64): Do not use CHECK_STRING.
6529 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6531 (__real_chown): Do not use CHECK_STRING.
6532 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6534 (__lchown): Do not use CHECK_STRING.
6535 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6537 (__chown): Do not use CHECK_STRING.
6538 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6540 (truncate64): Do not use CHECK_STRING.
6541 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6543 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6544 (__xmknod): Do not use CHECK_STRING.
6545 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6547 (__xmknodat): Do not use CHECK_STRING.
6548 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6549 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6551 2013-02-04 Andreas Schwab <schwab@suse.de>
6554 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6555 * include/netdb.h: Likewise for h_errno.
6556 * elf/tst-stackguard1.c: Include <tls.h>.
6558 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6560 * elf/link.h (struct link_map): Extend the l_addr comment.
6561 * include/link.h (struct link_map): Likewise.
6563 2013-02-01 Joseph Myers <joseph@codesourcery.com>
6566 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6567 (BOUNDED_1): Remove macro.
6568 * debug/backtrace.c: Don't include <bp-checks.h>.
6569 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6570 (__backtrace): Likewise.
6571 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6573 (__backtrace): Don't use BOUNDED_1.
6574 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6576 (__backtrace): Don't use BOUNDED_1.
6577 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6578 (__backtrace): Don't use BOUNDED_1.
6579 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6580 (shmat): Don't use BOUNDED_N.
6582 2013-01-31 Joseph Myers <joseph@codesourcery.com>
6585 * sysdeps/generic/bp-start.h: Remove file.
6586 * csu/libc-start.c: Don't include <bp-start.h>.
6587 (LIBC_START_MAIN): Set up __environ directly instead of using
6588 INIT_ARGV_and_ENVIRON.
6589 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6593 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6595 (CHECK_FCNTL): Likewise.
6596 (CHECK_N_PAGES): Likewise.
6599 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6601 (CHECK_SIGSET_NULL_OK): Likewise.
6602 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6604 (sigpending): Don't use CHECK_SIGSET.
6605 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6608 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6610 (do_sigsuspend): Don't use CHECK_SIGSET.
6611 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6613 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6614 (do_sigwait): Don't use CHECK_SIGSET.
6615 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6618 include <bp-checks.h>.
6619 (sigpending): Don't use CHECK_SIGSET.
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6621 include <bp-checks.h>.
6622 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6623 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6625 (sigpending): Don't use CHECK_SIGSET.
6626 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6628 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6631 * sysdeps/generic/bp-semctl.h: Remove file.
6632 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6633 <bp-checks.h> and <bp-semctl.h>.
6634 (__old_semctl): Don't use CHECK_SEMCTL.
6635 (__new_semctl): Likewise.
6636 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6638 (__old_semctl): Don't use CHECK_SEMCTL.
6639 (__new_semctl): Likewise.
6640 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6641 <bp-checks.h> and <bp-semctl.h>.
6642 (__old_semctl): Don't use CHECK_SEMCTL.
6643 (__new_semctl): Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6645 <bp-checks.h> and <bp-semctl.h>.
6646 (semctl): Don't use CHECK_SEMCTL.
6649 * Makerules (elide-bp-thunks): Remove variable.
6650 (elide-routines.oS): Don't use $(elide-bp-thunks).
6651 (elide-routines.os): Likewise.
6652 (elide-routines.o): Likewise.
6653 (elide-routines.op): Likewise.
6654 (elide-routines.og): Likewise.
6655 (objects): Don't use $(bp-thunks).
6656 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6658 (common-generated): Do not add s-proto-bp.d.
6659 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6662 Do not generate makefile rules for bounded-pointer thunks.
6663 * sysdeps/generic/bp-thunks.h: Remove file.
6664 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6665 * sysdeps/unix/s-proto-bp.S: Likewise.
6668 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6669 parts of result separately when argument is not close to line from
6670 -i to i and one part of argument is small.
6671 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6672 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6673 * math/libm-test.inc (cacos_test): Add more tests.
6674 (casin_test): Likewise.
6675 (casinh_test): Likewise.
6676 * sysdeps/i386/fpu/libm-test-ulps: Update.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6679 2013-01-31 David S. Miller <davem@davemloft.net>
6681 * po/de.po: Update from translation team.
6683 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6685 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6687 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6689 * configure.in (_AC_PROG_CC_C89): New definition.
6690 * configure: Regenerate.
6692 * configure.in (AC_PROG_CPP): New definition.
6693 * configure: Regenerate.
6695 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6697 * debug/tst-backtrace.h: New file.
6698 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6699 (ret): Remove variable.
6701 (FAIL): Remove macro.
6702 (NO_INLINE): Likewise.
6703 (fn1): Use match function instead of strstr.
6704 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6705 (ret): Remove variable.
6707 (FAIL): Remove macro.
6708 (NO_INLINE): Likewise.
6709 (fn): Use match function instead of strstr.
6710 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6711 (ret): Remove variable.
6713 (FAIL): Remove macro.
6714 (NO_INLINE): Likewise.
6715 (handle_signal): Use match function instead of strstr.
6716 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6717 (ret): Remove variable.
6719 (FAIL): Remove macro.
6720 (NO_INLINE): Likewise.
6721 (handle_signal): Use match function instead of strstr.
6723 2013-01-23 Roland McGrath <roland@hack.frob.com>
6725 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6727 2013-01-23 David S. Miller <davem@davemloft.net>
6729 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6730 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6731 argument of CAS if possible.
6732 * sysdeps/sparc/sparc64/bits/atomic.h
6733 (__arch_compare_and_exchange_val_32_acq): Likewise.
6734 (__arch_compare_and_exchange_val_64_acq): Likewise.
6736 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6738 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6739 * sysdeps/posix/ulimit.c: ... this.
6741 * sysdeps/unix/bsd/ulimit.c: Remove file.
6743 2013-01-23 Adam Conrad <adconrad@0c3.net>
6745 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6746 (LDFLAGS-tst-array5): Likewise.
6748 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6751 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6752 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6753 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6754 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6756 2013-01-21 David S. Miller <davem@davemloft.net>
6758 * sysdeps/sparc/backtrace.c: New file.
6759 * sysdeps/sparc/sparc32/backtrace.h: New file.
6760 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6761 * sysdeps/sparc/sparc64/backtrace.h: New file.
6762 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6763 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6766 2013-01-21 Andreas Schwab <schwab@suse.de>
6769 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6772 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6778 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6779 Mark Mitchell <mark@codesourcery.com>
6780 Tom de Vries <tom@codesourcery.com>
6781 Paul Pluzhnikov <ppluzhnikov@google.com>
6783 * debug/tst-backtrace2.c: New file.
6784 * debug/tst-backtrace3.c: Likewise.
6785 * debug/tst-backtrace4.c: Likewise.
6786 * debug/tst-backtrace5.c: Likewise.
6787 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6788 (CFLAGS-tst-backtrace3.c): Likewise.
6789 (CFLAGS-tst-backtrace4.c): Likewise.
6790 (CFLAGS-tst-backtrace5.c): Likewise.
6791 (LDFLAGS-tst-backtrace2): Likewise.
6792 (LDFLAGS-tst-backtrace3): Likewise.
6793 (LDFLAGS-tst-backtrace4): Likewise.
6794 (LDFLAGS-tst-backtrace5): Likewise.
6795 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6796 tst-backtrace4 and tst-backtrace5.
6798 2013-01-18 Anton Blanchard <anton@samba.org>
6799 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6801 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6802 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6803 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6804 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6806 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6807 "+r" and remove output regs list as redundant. Add explicit inline
6808 asm to specify register of return val to work around compiler codegen
6809 bug. Remove (int) cast on return value. Add return type parameter to
6810 use in macro so that this macro does not truncate return value for
6812 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6813 pass to INTERNAL_VSYSCALL_NCS.
6814 (INLINE_VSYSCALL): Add 'long int' as return type to
6815 INTERNAL_VSYSCALL_NCS macro invocation.
6816 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6817 INTERNAL_VSYSCALL_NCS macro invocation.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6820 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6823 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6824 Fix application of SIMD FP exception mask.
6826 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6827 mp_no from a power of two.
6828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6829 __mpexp_twomm1. Use __pow_mp.
6831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6834 2013-01-17 David S. Miller <davem@davemloft.net>
6836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6838 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6841 * include/complex.h: Condition contents on [!_COMPLEX_H].
6842 (__kernel_casinhf): New prototype.
6843 (__kernel_casinh): Likewise.
6844 (__kernel_casinhl): Likewise.
6845 * math/Makefile (libm_calls): Add k_casinh.
6846 * math/k_casinh.c: New file.
6847 * math/k_casinhf.c: Likewise.
6848 * math/k_casinhl.c: Likewise.
6849 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6850 finite nonzero arguments.
6851 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6852 finite nonzero arguments.
6853 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6854 finite nonzero arguments.
6855 * math/s_casinh.c: Do not include <float.h>.
6856 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6857 * math/s_casinhf.c: Do not include <float.h>.
6858 (__casinhf): Move code for finite nonzero arguments to
6860 * math/s_casinhl.c: Do not include <float.h>.
6861 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6863 (__casinhl): Move code for finite nonzero arguments to
6865 * math/libm-test.inc (cacos_test): Add more tests.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6871 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6872 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6873 [!HAVE_MREMAP]: Remove [defined linux] case.
6874 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6876 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6878 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6880 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6882 * elf/elf.h (R_386_SIZE32): New relocation.
6883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6885 (elf_machine_rela): Likewise.
6886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6887 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6889 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6891 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6892 (FP_FAST_FMA): Do not define.
6893 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6894 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6895 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6896 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6897 !_SOFT_FLOAT]: Likewise.
6898 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6899 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6902 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6904 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6905 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6906 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6909 2013-01-16 Andreas Schwab <schwab@suse.de>
6912 * include/stdlib.h (__mktemp): Add declaration.
6913 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6914 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6916 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6918 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6920 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6921 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6922 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6924 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6925 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6927 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6929 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6930 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6931 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6933 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6934 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6936 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6938 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6940 2013-01-15 David S. Miller <davem@davemloft.net>
6942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6943 trunc{,f} to libm-sysdep_routes.
6944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6954 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6955 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6956 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6957 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6958 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6959 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6962 nearbyint{,f} to libm-sysdep_routes.
6963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6977 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6980 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6981 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6983 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6984 libc_feholdexcept and libc_fesetenv.
6986 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6988 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6990 2013-01-14 David S. Miller <davem@davemloft.net>
6992 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6993 (SPARC_ASM_VIS2_IFUNC): Likewise.
6994 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6996 use of 'siam' instruction.
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7030 routines to libm-sysdep_routines.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7034 fdim/fdimf to libm-sysdep_routines.
7035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7043 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7044 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7045 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7046 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7048 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7053 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7058 local variable MPTWO.
7059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7062 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7064 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7067 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7069 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7071 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7073 * manual/pattern.texi (glob_t): Document gl_flags.
7074 (glob64_t): Likewise.
7076 2013-01-11 David S. Miller <davem@davemloft.net>
7078 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7079 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7080 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7081 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7082 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7083 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7084 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7085 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7086 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7087 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7088 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7089 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7090 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7092 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7093 sparc V9 rather than using V8 code.
7094 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7095 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7099 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7102 2013-01-11 Roland McGrath <roland@hack.frob.com>
7104 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7105 not in the main loop.
7106 * configure: Regenerated.
7108 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7110 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7111 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7113 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7114 [!__GLIBC_HAVE_LONG_LONG] case.
7115 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7116 condition to just #else.
7117 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7118 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7119 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7120 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7122 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7123 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7124 #elif condition to just #else.
7125 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7126 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7127 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7128 #elif condition to just #else.
7130 2013-01-11 Steve Ellcey <sellcey@mips.com>
7132 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7133 (EF_MIPS_ARCH_64): Fix value.
7134 (EF_MIPS_ARCH_32R2): New.
7135 (EF_MIPS_ARCH_64R2): New.
7137 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7139 * Makeconfig (+link-pie-before-libc): New.
7140 (+link-pie-after-libc): Likewise.
7141 (+link-pie-tests): Likewise.
7142 (+link-pie): Rewritten.
7143 (link-before-libc): Remove $(config-LDFLAGS).
7144 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7145 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7146 (config-LDFLAGS): Renamed to ...
7147 (rtld-LDFLAGS): This.
7148 (rtld-tests-LDFLAGS): New macro.
7149 (link-libc-rpath-link): Likewise.
7150 (link-libc-tests-rpath-link): Likewise.
7151 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7152 (link-libc): Prepand $(link-libc-rpath-link).
7153 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7154 (test-program-prefix): New macro.
7155 (test-via-rtld-prefix): Likewise.
7156 (test-program-cmd): Likewise.
7157 (host-test-program-cmd): Likewise.
7158 * Makefile ($(common-objpfx)testrun.sh): Replace
7159 $(run-program-prefix) with $(test-program-prefix).
7160 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7162 ($(common-objpfx)shlib.lds): Likewise.
7163 (build-module-helper): Likewise.
7164 ($(common-objpfx)format.lds): Likewise.
7165 * Rules (binaries-pie-tests): New.
7166 (binaries-pie-notests): Likewise.
7167 (binaries-pie): Rewritten.
7168 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7169 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7170 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7171 (make-test-out): Replace $(host-built-program-cmd) with
7172 $(host-test-program-cmd).
7173 * config.make.in (build-hardcoded-path-in-tests): New variable.
7174 * configure.in (--enable-hardcoded-path-in-tests): New configure
7176 (hardcoded_path_in_tests): New AC_SUBST.
7177 * configure: Regenerated.
7178 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7179 $(built-program-cmd) with $(test-program-cmd).
7180 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7181 (test_program_cmd): This.
7182 * elf/Makefile ($(objpfx)order.out): Run test with
7183 $(test-program-prefix).
7184 ($(objpfx)order2.out): Likewise.
7185 ($(objpfx)tst-initorder.out): Likewise.
7186 ($(objpfx)tst-initorder2.out): Likewise.
7187 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7188 $(test-program-cmd).
7189 ($(objpfx)tst-array1-static.out): Likewise.
7190 ($(objpfx)tst-array2.out): Likewise.
7191 ($(objpfx)tst-array3.out): Likewise.
7192 ($(objpfx)tst-array4.out): Likewise.
7193 ($(objpfx)tst-array5.out): Likewise.
7194 ($(objpfx)tst-array5-static.out): Likewise.
7195 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7196 $(test-program-cmd).
7197 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7198 $(run-program-prefix) with $(test-program-prefix).
7199 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7200 (test_program_prefix): This.
7201 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7202 $(run-program-prefix) with $(test-program-prefix).
7203 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7204 (test_program_prefix): This.
7205 * iconvdata/tst-tables.sh: Likewise.
7206 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7207 $(run-program-prefix) with $(test-program-prefix).
7208 ($(objpfx)tst-translit.out): Likewise.
7209 ($(objpfx)tst-gettext2.out): Likewise.
7210 ($(objpfx)tst-gettext4.out): Likewise.
7211 ($(objpfx)tst-gettext6.out): Likewise.
7212 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7213 (test_program_prefix): This.
7214 * intl/tst-gettext2.sh: Likewise.
7215 * intl/tst-gettext4.sh Likewise.
7216 * intl/tst-gettext6.sh: Likewise.
7217 * intl/tst-translit.sh: Likewise.
7218 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7219 with $(test-program-cmd).
7220 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7221 $(run-program-prefix) with $(test-program-prefix).
7222 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7223 (test_program_prefix): This.
7224 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7225 $(run-program-prefix) with $(test-program-prefix).
7226 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7227 (test_program_prefix): This.
7228 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7229 * posix/Makefile ($(objpfx)globtest.out): Replace
7230 $(run-via-rtld-prefix) and $(test-wrapper) with
7231 $(test-program-prefix) and $(test-via-rtld-prefix).
7232 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7233 $(test-program-prefix).
7234 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7235 $(host-test-program-cmd).
7236 (tst-spawn-ARGS): Likewise.
7237 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7238 $(test-program-prefix).
7239 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7240 (test_via_rtld_prefix): This.
7241 (test_wrapper): Renamed to ...
7242 (test_program_prefix): This.
7243 (run_program_prefix): Replaced by test_program_prefix.
7244 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7245 (test_program_prefix): This.
7246 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7247 with $(host-test-program-cmd).
7248 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7249 $(run-program-prefix) with $(test-program-prefix).
7250 ($(objpfx)tst-printf.out): Likewise.
7251 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7252 $(test-program-cmd).
7253 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7254 (test_program_prefix): This.
7255 * stdio-common/tst-unbputc.sh: Likewise.
7256 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7257 $(run-program-prefix) with $(test-program-prefix).
7258 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7259 (test_program_prefix): This.
7260 * string/Makefile ($(objpfx)tst-svc.out): Replace
7261 $(built-program-cmd) with $(test-program-cmd).
7263 2013-01-11 Andreas Jaeger <aj@suse.de>
7266 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7267 value. Sync with Linux 3.7.
7269 2013-01-10 David S. Miller <davem@davemloft.net>
7271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7272 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7273 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7275 2013-01-10 Roland McGrath <roland@hack.frob.com>
7277 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7279 * configure: Regenerated.
7281 2013-01-10 David S. Miller <davem@davemloft.net>
7283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7284 sparc V9 rather than using V8 code.
7285 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7286 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7288 2013-01-10 Roland McGrath <roland@hack.frob.com>
7290 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7291 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7292 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7293 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7294 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7295 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7296 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7297 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7298 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7299 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7300 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7301 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7302 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7303 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7304 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7305 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7306 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7307 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7308 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7309 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7310 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7311 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7312 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7313 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7314 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7315 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7316 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7318 2013-01-10 David S. Miller <davem@davemloft.net>
7320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7322 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7324 * posix/Makefile (tests-static): New variable.
7325 (tests): Add $(tests-static).
7326 (tst-exec-static-ARGS): New variable.
7327 (tst-spawn-static-ARGS): Likewise.
7328 * posix/tst-exec-static.c: New file.
7329 * posix/tst-spawn-static.c: Likewise.
7330 * posix/tst-exec.c: Support run directly.
7331 * posix/tst-spawn.c: Likewise.
7333 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7335 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7337 * math/bits/mathcalls.h (llrint): Likewise.
7338 (llround): Likewise.
7339 * stdlib/stdlib.h (struct drand48_data): Likewise.
7340 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7341 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7342 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7344 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7346 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7347 (elf_greg_t): Likewise.
7348 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7349 (__jmp_buf): Likewise.
7350 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7352 (llrint): Likewise, for all definitions.
7353 (llrintl): Likewise.
7355 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7356 Remove [__GNUC__] condition.
7357 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7358 condition to just [__USE_ISOC99].
7359 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7361 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7364 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7365 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7367 (_POSIX_V6_ILP32_OFF32): Likewise.
7368 (_XBS5_ILP32_OFF32): Likewise.
7369 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7370 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7372 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7374 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7377 doubles __mpexp_twomm1. Adjust usage.
7378 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7381 2013-01-10 Andreas Schwab <schwab@suse.de>
7384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7385 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7387 2013-01-09 David S. Miller <davem@davemloft.net>
7390 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7391 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7392 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7393 TCP_FASTOPEN): Define.
7394 (tcp_repair_opt): New structure.
7395 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7397 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7398 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7399 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7400 (tcp_cookie_transactions): New structure.
7402 2013-01-09 Anton Blanchard <anton@samba.org>
7404 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7405 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7407 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7409 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7411 * include/features.h (__USE_ANSI): Remove.
7413 2013-01-09 Roland McGrath <roland@hack.frob.com>
7415 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7417 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7419 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7421 * sysdeps/s390/fpu/libm-test-ulps: Update.
7423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7425 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7430 (__mp_dbl): Likewise.
7431 (__dbl_mp): Likewise.
7432 (add_magnitudes): Likewise.
7433 (sub_magnitudes): Likewise.
7439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7444 (__mp_dbl): Likewise.
7445 (__dbl_mp): Likewise.
7446 (add_magnitudes): Likewise.
7447 (sub_magnitudes): Likewise.
7453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7458 (__mp_dbl): Likewise.
7459 (__dbl_mp): Likewise.
7460 (add_magnitudes): Likewise.
7461 (sub_magnitudes): Likewise.
7468 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7470 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7471 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7472 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7473 2 && __USE_EXTERN_INLINES]: Likewise.
7475 2013-01-08 Andreas Jaeger <aj@suse.de>
7478 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7480 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7481 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7483 2013-01-07 Anton Blanchard <anton@samba.org>
7485 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7486 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7487 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7488 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7489 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7490 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7491 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7492 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7494 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7500 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7501 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7502 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7503 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7504 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7505 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7506 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7508 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7509 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7510 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7512 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7513 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7514 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7515 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7517 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7518 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7519 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7520 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7524 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7529 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7531 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7532 (__MALLOC_PMT): Likewise.
7533 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7534 [__GNUC__], only on [_LIBC].
7535 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7536 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7537 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7538 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7539 forward declaration.
7540 (realloc_hook_ini): Likewise.
7541 (memalign_hook_ini): Likewise.
7542 (__libc_memalign): Do not use __MALLOC_PMT in variable
7544 (__libc_valloc): Likewise.
7545 (__libc_pvalloc): Likewise.
7546 (__libc_calloc): Likewise.
7547 (__posix_memalign): Likewise.
7550 * math/s_casinh.c: Include <float.h>.
7551 (__casinh): Do not do computation with squaring and square root
7552 for large arguments.
7553 * math/s_casinhf.c: Include <float.h>.
7554 (__casinhf): Do not do computation with squaring and square root
7555 for large arguments.
7556 * math/s_casinhl.c: Include <float.h>.
7557 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7558 (__casinhl): Do not do computation with squaring and square root
7559 for large arguments.
7560 * math/libm-test.inc (casin_test): Add more tests.
7561 (casinh_test): Likewise.
7562 * sysdeps/i386/fpu/libm-test-ulps: Update.
7563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7565 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7567 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7568 (__x86_64_raw_data_cache_size): Likewise.
7569 (__x86_64_data_cache_size_half): Likewise.
7570 (__x86_64_raw_data_cache_size_half): Likewise.
7571 (__x86_64_shared_cache_size): Likewise.
7572 (__x86_64_raw_shared_cache_size): Likewise.
7573 (__x86_64_shared_cache_size_half): Likewise.
7574 (__x86_64_raw_shared_cache_size_half): Likewise.
7575 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7577 (__x86_data_cache_size): This.
7578 (__x86_64_raw_data_cache_size): Renamed to ...
7579 (__x86_raw_data_cache_size): This.
7580 (__x86_64_data_cache_size_half): Renamed to ...
7581 (__x86_data_cache_size_half): This.
7582 (__x86_64_raw_data_cache_size_half): Renamed to ...
7583 (__x86_raw_data_cache_size_half): This.
7584 (__x86_64_shared_cache_size): Renamed to ...
7585 (__x86_shared_cache_size): This.
7586 (__x86_64_raw_shared_cache_size): Renamed to ...
7587 (__x86_raw_shared_cache_size): This.
7588 (__x86_64_shared_cache_size_half): Renamed to ...
7589 (__x86_shared_cache_size_half): This.
7590 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7591 (__x86_raw_shared_cache_size_half): This.
7592 * sysdeps/x86_64/memcpy.S: Updated.
7593 * sysdeps/x86_64/memset.S: Likewise.
7594 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7598 2013-01-04 David S. Miller <davem@davemloft.net>
7600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7602 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7604 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7605 1 to avoid redefinition warning.
7606 (__USE_GNU): Don't define.
7607 (init_signaling_nan): Protoize.
7609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7611 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7613 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7615 (__cpymn): Likewise.
7616 (norm): Remove commented code.
7618 (__mp_dbl): Likewise.
7620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7621 (__cpymn): Likewise.
7622 (norm): Remove commented code.
7624 (__mp_dbl): Likewise.
7627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7628 mp_no value for 1.0 and 2.0.
7629 (norm): Use RADIXI instead of radixi.d.
7631 (__mul): Use 0.0 instead of zero.d.
7632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7633 mp_no value for 1.0 and 2.0.
7634 (norm): Use RADIXI instead of radixi.d.
7636 (__mul): Use 0.0 instead of zero.d.
7638 2013-01-04 Joseph Myers <joseph@codesourcery.com>
7641 * math/s_casinh.c (__casinh): Reduce finite argument to first
7642 quadrant then set signs of results at the end.
7643 * math/s_casinhf.c (__casinhf): Likewise.
7644 * math/s_casinhl.c (__casinhl): Likewise.
7645 * math/libm-test.inc (casin_test): Add more tests.
7646 (casinh_test): Likewise.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7652 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7654 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7656 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7659 (__mp_dbl): Likewise.
7662 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7663 and adjust the header comment.
7665 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7666 variable name from declaration.
7668 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7671 Initialize COMMON_CPUID_INDEX_7 element.
7672 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7673 (CPUID_RTM): Likewise.
7674 (HAS_RTM): Likewise.
7675 (COMMON_CPUID_INDEX_7): New enum.
7677 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7680 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7681 size is zero, record memory as freed.
7683 2013-01-03 Andreas Jaeger <aj@suse.de>
7685 * po/ia.po: Add new Interlingua translation.
7687 2012-01-03 Allan McRae <allan@archlinux.org>
7689 * locale/programs/localedef.c: Fix description of '--posix' flag.
7691 2013-01-02 Joseph Myers <joseph@codesourcery.com>
7693 * NEWS: Update dates in second copyright notice.
7694 * README: Update copyright dates in example.
7695 * manual/libc.texinfo: Update copyright dates.
7696 * scripts/test-installation.pl: Update copyright date in --version
7699 * hurd/ctty-input.c: Fix copyright notice formatting.
7700 * hurd/ctty-output.c: Likewise.
7701 * hurd/dtable.c: Likewise.
7702 * hurd/hurd-raise.c: Likewise.
7703 * hurd/hurdprio.c: Likewise.
7704 * hurd/msgportdemux.c: Likewise.
7705 * misc/sys/file.h: Likewise.
7706 * misc/sys/ioctl.h: Likewise.
7707 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7708 * sysdeps/mach/hurd/chdir.c: Likewise.
7709 * sysdeps/mach/hurd/fchdir.c: Likewise.
7710 * sysdeps/mach/hurd/rename.c: Likewise.
7711 * sysdeps/mach/hurd/rmdir.c: Likewise.
7712 * sysdeps/mach/hurd/seekdir.c: Likewise.
7713 * sysdeps/mach/hurd/setsid.c: Likewise.
7714 * sysdeps/posix/wait3.c: Likewise.
7716 * All files with FSF copyright notices: Update copyright dates
7717 using scripts/update-copyrights.
7718 * intl/plural.c: Regenerated.
7719 * locale/programs/charmap-kw.h: Likewise.
7720 * locale/programs/locfile-kw.h: Likewise.
7722 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7724 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7728 calculation loop and add branch prediction.
7730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7731 check access beyond bounds of m1np.
7733 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7735 (__inv): Remove local variable MPTWO to use the global
7737 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7740 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7741 MP3HALFS static const.
7743 2013-01-01 David S. Miller <davem@davemloft.net>
7745 * po/ca.po: Update from translation team.
7747 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7749 * scripts/update-copyrights: New file.
7750 * Makeconfig: Reformat copyright notice.
7751 * ctype/ctype.h: Likewise.
7752 * debug/swprintf_chk.c: Likewise.
7753 * elf/dl-cache.c: Likewise.
7754 * elf/dl-debug.c: Likewise.
7755 * elf/dl-object.c: Likewise.
7756 * grp/initgroups.c: Likewise.
7757 * hurd/Makefile: Likewise.
7758 * hurd/hurd/signal.h: Likewise.
7759 * hurd/hurdfault.c: Likewise.
7760 * hurd/hurdioctl.c: Likewise.
7761 * hurd/hurdlookup.c: Likewise.
7762 * hurd/intr-msg.c: Likewise.
7763 * iconv/gconv_open.c: Likewise.
7764 * libio/swprintf.c: Likewise.
7765 * locale/lc-ctype.c: Likewise.
7766 * locale/nl_langinfo.c: Likewise.
7767 * mach/Machrules: Likewise.
7768 * mach/Makefile: Likewise.
7769 * malloc/obstack.h: Likewise.
7770 * manual/Makefile: Likewise.
7771 * manual/tsort.awk: Likewise.
7772 * misc/bits/stab.def: Likewise.
7773 * nis/nis_print_group_entry.c: Likewise.
7774 * nis/nis_table.c: Likewise.
7775 * nis/nss_compat/compat-pwd.c: Likewise.
7776 * nis/nss_compat/compat-spwd.c: Likewise.
7777 * po/Makefile: Likewise.
7778 * posix/fnmatch.c: Likewise.
7779 * posix/regex.h: Likewise.
7780 * resolv/Makefile: Likewise.
7781 * resolv/nss_dns/dns-network.c: Likewise.
7782 * resolv/res_hconf.c: Likewise.
7783 * scripts/gen-sorted.awk: Likewise.
7784 * soft-fp/soft-fp.h: Likewise.
7785 * stdio-common/printf.h: Likewise.
7786 * stdlib/monetary.h: Likewise.
7787 * stdlib/random.c: Likewise.
7788 * stdlib/random_r.c: Likewise.
7789 * sysdeps/generic/Makefile: Likewise.
7790 * sysdeps/gnu/Makefile: Likewise.
7791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7798 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7801 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7802 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7804 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7806 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7807 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7819 * sysdeps/mach/hurd/errnos.awk: Likewise.
7820 * sysdeps/mach/hurd/fork.c: Likewise.
7821 * sysdeps/mach/hurd/getcwd.c: Likewise.
7822 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7823 * sysdeps/mach/hurd/mmap.c: Likewise.
7824 * sysdeps/mach/hurd/utimes.c: Likewise.
7825 * sysdeps/mach/hurd/xmknod.c: Likewise.
7826 * sysdeps/posix/profil.c: Likewise.
7827 * sysdeps/posix/readdir_r.c: Likewise.
7828 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7829 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7830 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7831 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7835 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7837 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7838 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7839 * sysdeps/pthread/lio_listio.c: Likewise.
7840 * sysdeps/sparc/dl-procinfo.h: Likewise.
7841 * sysdeps/unix/i386/sysdep.S: Likewise.
7842 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7843 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7844 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7845 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7847 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7848 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7849 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7850 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7851 * sysdeps/wordsize-32/divdi3.c: Likewise.
7852 * time/sys/time.h: Likewise.
7853 * wcsmbs/Makefile: Likewise.
7855 2013-01-01 David S. Miller <davem@davemloft.net>
7857 * po/fr.po: Update from translation team.
7859 * catgets/gencat.c: Update copyright year.
7860 * csu/version.c: Likewise.
7861 * debug/catchsegv.sh: Likewise.
7862 * debug/pcprofiledump.c: Likewise.
7863 * debug/xtrace.sh: Likewise.
7864 * elf/ldconfig.c: Likewise.
7865 * elf/ldd.bash.in: Likewise.
7866 * elf/pldd.c: Likewise.
7867 * elf/sotruss.ksh: Likewise.
7868 * elf/sprof.c: Likewise.
7869 * iconv/iconv_prog.c: Likewise.
7870 * iconv/iconvconfig.c: Likewise.
7871 * locale/programs/locale.c: Likewise.
7872 * locale/programs/localedef.c: Likewise.
7873 * login/programs/pt_chown.c: Likewise.
7874 * malloc/memusage.sh: Likewise.
7875 * malloc/memusagestat.c: Likewise.
7876 * malloc/mtrace.pl: Likewise.
7877 * nscd/nscd.c: Likewise.
7878 * nss/getent.c: Likewise.
7879 * nss/makedb.c: Likewise.
7880 * posix/getconf.c: Likewise.
7882 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7884 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7887 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7889 * math/bits/mathcalls.h (modf): Use __nonnull.
7891 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7893 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7894 (split): Use macro CN instead of the bare value.
7895 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7898 instead of the bare value.
7901 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7903 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7905 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7907 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7909 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7911 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7914 2012-12-28 Andreas Jaeger <aj@suse.de>
7916 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7917 values are from Linux 3.7.
7919 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7920 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7922 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7924 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7927 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7929 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7930 variables with preprocessor constants.
7931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7932 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7933 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7935 2012-12-27 Bruno Haible <bruno@clisp.org>
7938 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7941 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7944 and use variable directly.
7945 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7947 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7949 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7950 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7952 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7954 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7955 include directive. Remove local variable MPONE.
7956 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7957 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7960 2012-12-25 David S. Miller <davem@davemloft.net>
7962 * version.h (RELEASE): Set to "development".
7963 (VERSION): Set to "2.17.90".
7964 * NEWS: Add 2.18 section.
7966 2012-12-21 David S. Miller <davem@davemloft.net>
7968 * po/hr.po: Update from translation team.
7970 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7972 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7974 2012-12-19 Steve Ellcey <sellcey@mips.com>
7976 * NEWS: Mention new memcpy for MIPS.
7978 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7980 * manual/contrib.texi (Contributors): Spelling correction.
7982 2012-12-15 David S. Miller <davem@davemloft.net>
7984 * po/ru.po: Update from translation team.
7986 2012-12-13 David S. Miller <davem@davemloft.net>
7988 * NEWS: Mention IFUNC testsuite enhancements.
7990 * po/pl.po: Update from translation team.
7991 * po/bg.po: Likewise.
7993 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7994 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7996 2012-12-11 David S. Miller <davem@davemloft.net>
7998 * po/sv.po: Update from translation team.
8000 * po/vi.po: Update from translation team.
8002 * po/cs.po: Update from translation team.
8004 * po/de.po: Update from translation team.
8005 * po/eo.po: Likewise.
8006 * po/nl.po: Likewise.
8008 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8011 * manual/argp.texi (Argp Helper Functions): Move node to follow
8015 * manual/conf.texi (Limits on File System Capacity): Mention if
8016 terminating null is included in the max size.
8018 2012-12-10 Andreas Jaeger <aj@suse.de>
8020 * po/cs.po: Update from translation team.
8022 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8024 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8025 void pointer and cast to uintptr_t.
8026 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8028 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8029 * sysdeps/s390/s390-64/memset.S: Likewise.
8031 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8034 * menual/message.texi (Message Translation): Fix typos.
8035 (Helper programs for gettext): Likewise.
8037 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8040 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8043 2012-12-07 David S. Miller <davem@davemloft.net>
8045 * po/libc.pot: Update.
8047 2012-12-07 Richard Henderson <rth@redhat.com>
8050 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8051 normal/normal case to before the switch.
8052 (_FP_DIV): Likewise.
8054 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8055 Mike Frysinger <vapier@gentoo.org>
8057 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8058 check for __NR_fadvise64_64.
8060 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8062 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8063 0, not just to plain "0" as a statement.
8064 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8067 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8069 * NEWS: Use sourceware.org in Bugzilla URL.
8071 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8074 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8076 * stdio-common/tst-put-error.c (do_test): Add newline to the
8077 padded test to ensure flush.
8079 2012-12-05 Jeff Law <law@redhat.com>
8081 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8083 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8085 * README: Don't refer to ports add-on as distributed separately.
8086 Mention AArch64 in list of systems supported in the ports add-on.
8088 * LICENSES: Add more non-FSF copyright and license notices.
8090 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8093 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8095 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8096 10000 as width of padded output.
8098 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8100 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8102 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8103 variable LX with __attribute__ ((unused)).
8104 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8106 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8109 with __attribute__ ((unused)).
8111 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8113 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8115 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8117 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8118 (CFLAGS-nldbl-acos.c): New variable.
8119 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8120 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8121 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8122 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8123 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8124 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8125 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8126 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8127 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8128 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8129 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8130 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8131 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8132 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8137 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8138 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8139 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8140 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8141 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8142 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8143 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8144 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8145 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8146 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8147 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8148 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8149 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8150 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8151 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8152 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8153 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8154 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8155 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8156 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8157 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8158 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8159 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8160 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8161 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8162 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8163 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8164 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8165 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8166 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8167 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8168 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8169 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8170 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8171 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8172 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8173 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8174 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8175 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8176 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8177 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8178 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8179 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8180 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8181 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8182 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8183 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8188 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8189 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8190 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8191 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8192 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8193 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8194 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8195 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8196 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8197 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8198 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8199 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8200 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8201 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8202 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8203 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8204 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8205 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8206 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8207 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8208 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8209 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8210 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8211 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8212 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8213 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8214 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8215 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8218 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8222 whole low double instead of just low 47 bits when splitting values
8225 2012-12-03 Allan McRae <allan@archlinux.org>
8227 * manual/stdio.texi (Predefined Printf Handlers): Remove
8228 @hsep and @vsep usage.
8230 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8232 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8233 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8235 2012-12-03 Jeff Law <law@redhat.com>
8237 * time/sys/time.h (settimeofday): Do not mark TV argument
8240 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8242 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8243 when currently writing and seek to current position when not.
8244 * libio/Makefile (tests): Remove bug-fclose1.
8245 * libio/bug-fclose1.c: Delete.
8247 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8249 * manual/arith.texi (feenableexcept): Fix typo.
8250 (fedisableexcept): Likewise.
8252 2012-11-30 Roland McGrath <roland@hack.frob.com>
8254 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8255 second, differently-typed declaration, rather than a cast.
8257 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8259 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8260 * include/rpc/svc.h: ... here.
8262 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8265 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8266 depending n and resplen2 to catch cases where answer
8269 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8271 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8272 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8274 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8276 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8278 2012-11-29 Roland McGrath <roland@hack.frob.com>
8280 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8282 2012-11-28 Jeff Law <law@redhat.com>
8285 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8286 dataset_temporary. Track alloca usage into alloca_used.
8287 If dataset is large allocate and release it via malloc/free.
8289 2012-06-04 Florian Weimer <fweimer@redhat.com>
8292 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8294 2012-11-28 David S. Miller <davem@davemloft.net>
8296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8298 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8301 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8302 of pi/2 rounded to nearest to 64 bits.
8303 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8305 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8308 2012-11-28 Jeff Law <law@redhat.com>
8309 Martin Osvald <mosvald@redhat.com>
8312 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8313 * sunrpc/svc.c: Include time.h.
8314 (__svc_accept_failed): New function.
8315 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8316 any reason other than EINTR, call __svc_accept_failed.
8317 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8318 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8320 2012-11-28 Andreas Schwab <schwab@suse.de>
8322 * scripts/abilist.awk: Also handle indirect functions in .opd
8325 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8328 * sysdeps/x86/fpu/powl_helper.c: New file.
8329 * sysdeps/x86/fpu/Makefile: Likewise.
8330 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8332 (__ieee754_powl): Use __powl_helper for finite arguments except
8333 integer exponents below 8.
8334 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8336 (__ieee754_powl): Use __powl_helper for finite arguments except
8337 integer exponents below 8.
8338 * math/libm-test.inc (pow_test): Add more tests and enable some
8339 previously disabled tests.
8340 * sysdeps/i386/fpu/libm-test-ulps: Update.
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8344 Carlos O'Donell <carlos_odonell@mentor.com>
8346 * nss/makedb.c (is_prime): Assert that input is odd and greater
8347 than 4. Note that fact in a comment too.
8348 (next_prime): Add 4 to input.
8350 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8353 * libio/Makefile (tests): Add test case tst-fwrite-error.
8354 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8355 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8356 * libio/tst-fwrite-error.c: New test case.
8358 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8360 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8361 before casting to void *.
8362 * include/libc-internal.h (__pointer_type): New macro.
8363 (__integer_if_pointer_type_sub): Likewise.
8364 (__integer_if_pointer_type): Likewise.
8365 (cast_to_integer): Likewise.
8366 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8367 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8368 before casting to atomic64_t.
8369 (atomic_exchange_acq): Likewise.
8370 (__arch_exchange_and_add_body): Likewise.
8371 (__arch_add_body): Likewise.
8372 (atomic_add_negative): Likewise.
8373 (atomic_add_zero): Likewise.
8375 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8377 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8378 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8379 (add_fdes): Likewise.
8380 (linear_search_fdes): Likewise.
8381 (binary_search_unencoded_fdes): Likewise.
8383 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8385 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8387 2012-11-24 Adam Conrad <adconrad@0c3.net>
8389 * configure.in: Autodetect C++ header directories.
8390 * configure: Regenerated.
8392 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8394 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8396 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8400 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8402 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8403 LDBL_MANT_DIG == 106]: Disable some tests.
8404 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8406 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8410 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8411 input for small inputs. Return +/- pi/2 for large inputs.
8412 * math/libm-test.inc (atan_test): Add more tests.
8414 * sysdeps/generic/unwind-dw2-fde-glibc.c
8415 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8416 __attribute__ ((unused)).
8419 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8420 x * y if x and y are nonzero and z is zero.
8423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8424 nonzero exponents with absolute value below 0x1p-117 to +/-
8428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8429 up arguments below 2**-450, not just those below 2**-500.
8430 * math/libm-test.inc (hypot_test): Add another test.
8433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8434 Return a+b for ratio over 2**120, not 2**60.
8435 * math/libm-test.inc (hypot_test): Add another test.
8437 * math/libm-test.inc (clog_test): Use
8438 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8439 (clog10_test): Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8444 2012-11-22 Andreas Schwab <schwab@suse.de>
8446 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8450 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8451 printf output with newline.
8453 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8456 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8457 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8458 -z nodlopen, -z initfirst and -z execstack support.
8459 * configure: Regenerated.
8461 * elf/elf.h (DF_1_NODIRECT): New macro.
8462 (DF_1_IGNMULDEF): Likewise.
8463 (DF_1_NOKSYMS): Likewise.
8464 (DF_1_NOHDR): Likewise.
8465 (DF_1_EDITED): Likewise.
8466 (DF_1_NORELOC): Likewise.
8467 (DF_1_SYMINTPOSE): Likewise.
8468 (DF_1_GLOBAUDIT): Likewise.
8469 (DF_1_SINGLETON): Likewise.
8470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8471 DT_1_SUPPORTED_MASK bits.
8472 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8474 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8476 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8478 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8480 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8483 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8484 (sendmmsg): Move declarations...
8485 * socket/sys/socket.h: ... here.
8486 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8487 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8489 * socket/recvmmsg.c: ... this new file.
8490 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8491 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8492 definition of __sendmmsg hidden.
8493 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8494 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8495 Move ENOSYS stub into and include it from...
8496 * socket/sendmmsg.c: ... this new file.
8497 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8498 (sysdep_routines): Move recvmmsg and sendmmsg...
8499 * socket/Makefile (routines): ... here.
8500 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8501 (GLIBC_PRIVATE): Add __sendmmsg.
8502 * include/sys/socket.h (__sendmmsg): Add declarations.
8503 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8506 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8509 variable I1 with __attribute__ ((unused)).
8510 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8512 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8514 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8515 DUMMY variables with __attribute__ ((unused)).
8517 * bits/byteswap.h: Include <bits/types.h>.
8518 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8520 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8522 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8523 string_t. Do not manually set errno.
8524 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8525 length with __strnlen. Make sure to both set errno and return it on
8528 2012-11-19 David S. Miller <davem@davemloft.net>
8530 With help from Joseph Myers.
8531 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8532 very large arguments properly.
8533 * math/libm-test.inc (atan_test): New tests.
8534 (atan2_test): New tests.
8535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8538 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8541 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8544 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8545 [POSIX] (EADDRNOTAVAIL): Likewise.
8546 [POSIX] (EAFNOSUPPORT): Likewise.
8547 [POSIX] (EALREADY): Likewise.
8548 [POSIX] (ECONNABORTED): Likewise.
8549 [POSIX] (ECONNREFUSED): Likewise.
8550 [POSIX] (ECONNRESET): Likewise.
8551 [POSIX] (EDESTADDRREQ): Likewise.
8552 [POSIX] (EDQUOT): Likewise.
8553 [POSIX] (EHOSTUNREACH): Likewise.
8554 [POSIX] (EIDRM): Likewise.
8555 [POSIX] (EISCONN): Likewise.
8556 [POSIX] (ELOOP): Likewise.
8557 [POSIX] (EMULTIHOP): Likewise.
8558 [POSIX] (ENETDOWN): Likewise.
8559 [POSIX] (ENETUNREACH): Likewise.
8560 [POSIX] (ENOBUFS): Likewise.
8561 [POSIX] (ENODATA): Likewise.
8562 [POSIX] (ENOLINK): Likewise.
8563 [POSIX] (ENOMSG): Likewise.
8564 [POSIX] (ENOPROTOOPT): Likewise.
8565 [POSIX] (ENOSR): Likewise.
8566 [POSIX] (ENOSTR): Likewise.
8567 [POSIX] (ENOTCONN): Likewise.
8568 [POSIX] (ENOTSOCK): Likewise.
8569 [POSIX] (EOPNOTSUPP): Likewise.
8570 [POSIX] (EOVERFLOW): Likewise.
8571 [POSIX] (EPROTO): Likewise.
8572 [POSIX] (EPROTONOSUPPORT): Likewise.
8573 [POSIX] (EPROTOTYPE): Likewise.
8574 [POSIX] (ESTALE): Likewise.
8575 [POSIX] (ETIME): Likewise.
8576 [POSIX] (ETXTBSY): Likewise.
8577 [POSIX] (EWOULDBLOCK): Likewise.
8578 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8579 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8580 [POSIX] (SEEK_CUR): Likewise.
8581 [POSIX] (SEEK_END): Likewise.
8582 [POSIX || UNIX98] (mode_t): Do not require.
8583 [POSIX] (off_t): Likewise.
8584 [POSIX] (pid_t): Likewise.
8585 [POSIX] (sys/stat.h): Do not allow header.
8586 [POSIX] (unistd.h): Likewise.
8587 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8588 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8589 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8590 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8592 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8593 sigevent): Specify elements.
8594 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8596 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8597 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8599 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8600 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8601 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8602 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8603 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8604 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8605 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8606 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8607 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8608 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8609 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8610 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8611 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8612 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8614 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8616 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8618 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8620 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8621 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8622 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8623 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8624 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8625 Specify lower bound on value.
8626 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8627 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8628 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8629 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8630 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8631 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8632 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8633 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8635 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8637 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8638 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8639 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8640 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8641 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8642 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8643 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8644 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8645 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8646 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8647 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8648 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8649 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8650 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8651 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8652 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8654 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8656 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8657 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8658 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8659 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8660 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8663 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8664 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8665 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8666 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8667 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8668 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8671 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8673 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8674 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8675 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8676 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8677 specify as optional.
8678 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8679 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8680 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8681 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8682 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8683 [XPG3] (NL_LANGMAX): Likewise.
8684 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8685 [POSIX || XPG3] (NL_NMAX): Likewise.
8686 [POSIX || XPG3] (NL_SETMAX): Likewise.
8687 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8688 [XPG3] (NZERO): Likewise.
8689 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8690 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8691 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8692 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8693 (REG_ERANGE): Expect.
8694 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8696 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8697 Use (void) in prototype.
8698 [POSIX] (*_t): Allow.
8699 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8700 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8701 (WRDE_BADVAL): Expect.
8703 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8705 [XPG3 || XPG4] (O_RSYNC): Likewise.
8706 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8708 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8709 [XPG3 || XPG4] (sigqueue): Likewise.
8710 [XPG3 || XPG4] (sigtimedwait): Likewise.
8711 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8712 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8713 [XPG3 || XPG4] (vsnprintf): Likewise.
8714 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8716 [XPG3 || XPG4] (blksize_t): Likewise.
8717 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8719 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8720 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8721 [XPG3 || XPG4] (struct itimerspec): Likewise.
8722 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8723 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8724 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8725 [XPG3 || XPG4] (clockid_t): Likewise.
8726 [XPG3 || XPG4] (timer_t): Likewise.
8727 [XPG3 || XPG4] (clock_getres): Likewise.
8728 [XPG3 || XPG4] (clock_gettime): Likewise.
8729 [XPG3 || XPG4] (clock_settime): Likewise.
8730 [XPG3 || XPG4] (nanosleep): Likewise.
8731 [XPG3 || XPG4] (timer_create): Likewise.
8732 [XPG3 || XPG4] (timer_delete): Likewise.
8733 [XPG3 || XPG4] (timer_gettime): Likewise.
8734 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8735 [XPG3 || XPG4] (timer_settime): Likewise.
8736 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8737 [XPG3 || XPG4] (getlogin_r): Likewise.
8738 [XPG3 || XPG4] (pread): Likewise.
8739 [XPG3 || XPG4] (pthread_atfork): Likewise.
8740 [XPG3 || XPG4] (pwrite): Likewise.
8743 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8746 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8748 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8749 finalizing MALLSTREAM.
8751 * sysdeps/mach/hurd/syncfs.c: New file.
8753 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8756 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8757 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8758 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8759 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8760 (_nss_dns_gethostbyname4_r): Likewise.
8761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8762 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8764 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8767 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8769 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8771 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8772 * elf/cache.c (print_entry): Print ",AArch64" for
8775 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8776 * elf/cache.c (print_entry): Print ",hard-float" for
8779 2012-11-18 David S. Miller <davem@davemloft.net>
8781 With help from Joseph Myers.
8782 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8784 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8786 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8787 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8789 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8790 * math/libm-test.inc (y0_test): New tests.
8791 (y1_test): New tests.
8792 * sysdeps/i386/fpu/libm-test-ulps: Update.
8793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8796 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8798 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8800 * configure: Regenerated.
8802 2012-11-17 David S. Miller <davem@davemloft.net>
8805 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8806 nonzero exponents with absolute value below 0x1p-128 to +/-
8809 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8811 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8813 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8815 * posix/getconf-speclist.c: New file.
8816 * posix/posix-envs.def: Likewise.
8817 * posix/confstr.c (START_ENV_GROUP): New macro.
8818 (END_ENV_GROUP): Likewise.
8819 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8820 (KNOWN_PRESENT_ENV_STRING): Likewise.
8821 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8822 (UNKNOWN_ENVIRONMENT): Likewise.
8823 (confstr): Include posix-envs.def instead of handling
8824 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8825 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8826 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8827 (END_ENV_GROUP): Likewise.
8828 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8829 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8830 (UNKNOWN_ENVIRONMENT): Likewise.
8831 (__sysconf): Include posix-envs.def instead of handling associated
8832 cases directly here.
8833 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8834 preprocessing getconf-speclist.c rather than running getconf or
8835 generating empty file.
8837 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8839 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8841 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8844 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8846 2012-11-16 David S. Miller <davem@davemloft.net>
8848 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8849 smaller than LDBL_EPSILON/2.0L, just return xm1.
8851 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8853 * elf/tst-array1.c (init): Set constructor priority to 1000.
8854 (fini): Set destructor priority to 1000.
8855 * elf/tst-array2dep.c: Likewise.
8857 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8860 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8861 (_IO_new_file_xsputn): Also return EOF if none of the input
8862 data was written when overflow failed.
8863 * libio/iopadn.c (_IO_padn): Likewise.
8864 * libio/iowpadn.c (_IO_wpadn): Likewise.
8865 * stdio-common/tst-put-error.c: Add copyright notice.
8866 (do_test): Add case for printing padded string.
8867 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8868 _IO_padn returned error.
8869 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8870 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8873 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8875 * libio/libioP.h: Add comment note that the references to C++
8876 bits are now obsolete.
8878 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8880 * math/libm-test.inc (check_complex): Use asprintf.
8882 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8884 * debug/pcprofiledump.c (print_version): Update copyright year.
8885 * malloc/memusagestat.c (print_version): Likewise.
8887 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8890 * elf/Makefile (tests): Add tst-audit8.
8891 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8892 ($(objpfx)tst-audit8.out): New target.
8893 (tst-audit8-ENV): New variable.
8894 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8895 audit if l_reloc_result is NULL.
8896 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8897 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8898 * elf/tst-audit8.c: New file.
8900 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8902 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8903 * misc/Makefile (CFLAGS-select.c): Define.
8904 * posix/Makefile (CFLAGS-pause.c): Define.
8906 2012-11-13 David S. Miller <davem@davemloft.net>
8908 * crypt/Makefile: Move test targets after toplevel Rules
8909 inclusion. Grab any necessary sysdep routines when linking.
8910 * crypt/md5.c (md5_process_block): Remove define, we will always
8911 name it __md5_process_block.
8912 (md5_finish_ctx): Update md5_process_block call.
8913 (md5_stream): Likewise.
8914 (md5_process_bytes): Likewise.
8915 (md5_process_block): Rename to __md5_process_block and move to ...
8916 * crypt/md5-block.c: ... here.
8917 * crypt/sha256.c (sha256_process_block): Move to ...
8918 * crypt/sha256-block.c: ... here.
8919 * crypt/sha512.c (sha512_process_block): Move to ...
8920 * crypt/sha512-block.c: ... here.
8921 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8923 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8924 * sysdeps/sparc/sparc64/multiarch/Makefile
8925 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8927 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8928 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8930 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8931 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8932 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8933 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8934 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8935 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8936 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8937 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8941 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8945 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8947 * timezone/tzselect.ksh: Update from tzcode git revision
8948 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8949 * timezone/zdump.c: Likewise.
8950 * timezone/zic.c: Likewise.
8951 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8952 in TZVERSION setting, not $(PKGVERSION).
8953 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8954 REPORT_BUGS_TO settings.
8957 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8960 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8962 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8963 detection to immediately after _FP_ROUND().
8964 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8967 2012-11-11 David S. Miller <davem@davemloft.net>
8969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8971 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8972 __close rather than their public counterparts.
8974 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8976 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8978 [UNIX98] (sem_timedwait): Do not expect.
8979 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8980 [XPG4 || UNIX98] (sockatmark): Do not expect.
8981 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8982 (clock_getcpuclockid): Do not expect.
8983 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8984 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8986 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8987 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8988 [UNIX98] (vwscanf): Likewise.
8989 [UNIX98] (vswscanf): Likewise.
8991 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8993 * timezone/version.h: Remove file.
8994 * timezone/README: Do not refer to version.h.
8995 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8997 ($(objpfx)zdump.o): Likewise.
8998 ($(objpfx)version.h): New target.
9000 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9002 * timezone/README: Don't mention modification to tzselect.ksh.
9003 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9004 work on unmodified tzselect.ksh. Substitute version numbers in
9007 * Makefile (format-me): Remove.
9008 (INSTALL): Adjust indentation. Use commands directly instead of
9011 * aclocal.m4 (ACX_PKGVERSION): New macro.
9012 (ACX_BUGURL): Likewise.
9013 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9014 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9015 (REPORT_BUGS_TO): Likewise.
9016 * configure: Regenerated.
9017 * config.h.in (PKGVERSION): New macro.
9018 (REPORT_BUGS_TO): Likewise.
9019 * config.make.in (PKGVERSION): New variable.
9020 (PKGVERSION_TEXI): Likewise.
9021 (REPORT_BUGS_TO): Likewise.
9022 (REPORT_BUGS_TEXI): Likewise.
9023 * Makefile (format-me): Use -I$(common-objpfx)manual.
9024 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9025 ($(common-objpfx)manual/%): New target.
9026 (manual/%): Remove target.
9027 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9028 (print_version): Use PKGVERSION.
9029 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9030 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9032 ($(objpfx)xtrace): Likewise.
9033 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9034 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9035 (print_version): Use PKGVERSION.
9036 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9037 (do_version): Use PKGVERSION.
9038 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9040 (common-ldd-rewrite): Likewise.
9041 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9042 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9043 (print_version): Use PKGVERSION.
9044 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9045 * elf/pldd.c (argp_program_bug_address): Remove variable.
9046 (more_help): New function.
9047 (argp): Use more_help.
9048 (print_version): Use PKGVERSION.
9049 * elf/sln.c (main): Use PKGVERSION.
9050 (usage): Use REPORT_BUGS_TO.
9051 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9052 (top level): Use PKGVERSION.
9053 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9054 (print_version): Use PKGVERSION.
9055 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9056 (print_version): Use PKGVERSION.
9057 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9058 (print_version): Use PKGVERSION.
9059 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9060 (print_version): Use PKGVERSION.
9061 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9062 (print_version): Use PKGVERSION.
9063 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9064 (print_version): Use PKGVERSION.
9065 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9067 ($(objpfx)memusage): Likewise.
9068 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9069 (do_version): Use PKGVERSION.
9070 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9071 (print_version): Use PKGVERSION.
9072 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9073 ($PKGVERSION): New variable.
9074 ($REPORT_BUGS_TO): Likewise.
9075 (usage): Use $REPORT_BUGS_TO.
9076 (top level): Use $PKGVERSION.
9077 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9078 ($(objpfx)pkgvers.texi): New rule.
9079 ($(objpfx)stamp-pkgvers): Likewise.
9080 * manual/install.texi: Include pkgvers.texi.
9081 (--with-pkgversion): Document new configure option.
9082 (--with-bugurl): Likewise.
9083 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9084 than necessarily for this particular distribution. Use
9085 REPORT_BUGS_TO for where to report bugs.
9086 * INSTALL: Regenerated.
9087 * manual/libc.texinfo: Include pkgvers.texi.
9088 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9089 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9090 (print_version): Use PKGVERSION.
9091 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9092 (print_version): Use PKGVERSION.
9093 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9094 (print_version): Use PKGVERSION.
9095 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9096 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9098 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9099 (print_version): Use PKGVERSION.
9100 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9101 (print_version): Use PKGVERSION.
9102 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9105 * timezone/checktab.awk: Update from tzcode 2012i.
9106 * timezone/ialloc.c: Likewise.
9107 * timezone/private.h: Likewise.
9108 * timezone/scheck.c: Likewise.
9109 * timezone/tzfile.h: Likewise.
9110 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9111 (TZVERSION): Hardcode tzcode version number.
9112 * timezone/zdump.c: Update from tzcode 2012i.
9113 * timezone/zic.c: Likewise.
9114 * timezone/version.h: New file.
9115 * timezone/README: Describe version.h. Update upstream location.
9118 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9119 (mktemp): Enable declaration.
9120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9137 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9138 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9139 for copies of such integer values.
9140 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9141 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9143 2012-11-09 Andreas Jaeger <aj@suse.de>
9145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9146 definitions and declarations that are provided by
9147 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9149 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9151 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9152 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9153 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9156 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9158 * elf/elf.h: Update comment before AArch64 relocations.
9160 2012-11-07 David S. Miller <davem@davemloft.net>
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9163 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9164 (__start_context): Declare.
9165 (__makecontext_ret): Delete.
9166 (__makecontext): Hook up __start_context instead of
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9169 (sysdep_routines): Add __start_context when in stdlib.
9171 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9173 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9174 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9175 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9177 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9178 (READELF): New variable. Use it instead of hardcoded "readelf".
9180 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9182 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9183 * sysdeps/x86/Makefile: Here.
9184 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9185 * sysdeps/x86/tst-xmmymm.sh: This.
9187 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9189 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9191 [UNIX98] (pthread_barrier_t): Do not expect.
9192 [UNIX98] (pthread_barrierattr_t): Likewise.
9193 [UNIX98] (pthread_spinlock_t): Likewise.
9194 [UNIX98] (pthread_barrier_destroy): Likewise.
9195 [UNIX98] (pthread_barrier_init): Likewise.
9196 [UNIX98] (pthread_barrier_wait): Likewise.
9197 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9198 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9199 [UNIX98] (pthread_barrierattr_init): Likewise.
9200 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9201 [UNIX98] (pthread_getcpuclockid): Likewise.
9202 [UNIX98] (pthread_mutex_timedlock): Likewise.
9203 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9204 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9205 [UNIX98] (pthread_sigmask): Likewise.
9206 [UNIX98] (pthread_spin_destroy): Likewise.
9207 [UNIX98] (pthread_spin_init): Likewise.
9208 [UNIX98] (pthread_spin_lock): Likewise.
9209 [UNIX98] (pthread_spin_trylock): Likewise.
9210 [UNIX98] (pthread_spin_unlock): Likewise.
9211 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9213 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9214 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9215 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9216 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9217 [XPG3 || XPG4] (pthread_key_t): Likewise.
9218 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9219 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9220 [XPG3 || XPG4] (pthread_once_t): Likewise.
9221 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9222 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9223 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9224 [XPG3 || XPG4] (pthread_t): Likewise.
9226 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9228 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9230 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9231 Change function return type to int.
9233 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9234 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9235 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9236 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9237 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9238 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9239 [!POSIX] (posix_madvise): Likewise.
9240 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9242 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9243 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9245 (posix_mem_offset): Likewise.
9246 (posix_typed_mem_get_info): Likewise.
9247 (posix_typed_mem_open): Likewise.
9249 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9250 Change condition to [XOPEN2K8].
9252 * conform/conformtest.pl: Preprocess allow-header data with -x c
9253 instead of from stdin.
9254 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9255 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9256 [C99-based standards] (cerfc): Likewise.
9257 [C99-based standards] (cexp2): Likewise.
9258 [C99-based standards] (cexpm1): Likewise.
9259 [C99-based standards] (clog10): Likewise.
9260 [C99-based standards] (clog1p): Likewise.
9261 [C99-based standards] (clog2): Likewise.
9262 [C99-based standards] (clgamma): Likewise.
9263 [C99-based standards] (ctgamma): Likewise.
9264 [C99-based standards] (cerff): Likewise.
9265 [C99-based standards] (cerfcf): Likewise.
9266 [C99-based standards] (cexp2f): Likewise.
9267 [C99-based standards] (cexpm1f): Likewise.
9268 [C99-based standards] (clog10f): Likewise.
9269 [C99-based standards] (clog1pf): Likewise.
9270 [C99-based standards] (clog2f): Likewise.
9271 [C99-based standards] (clgammaf): Likewise.
9272 [C99-based standards] (ctgammaf): Likewise.
9273 [C99-based standards] (cerfl): Likewise.
9274 [C99-based standards] (cerfcl): Likewise.
9275 [C99-based standards] (cexp2l): Likewise.
9276 [C99-based standards] (cexpm1l): Likewise.
9277 [C99-based standards] (clog10l): Likewise.
9278 [C99-based standards] (clog1pl): Likewise.
9279 [C99-based standards] (clog2l): Likewise.
9280 [C99-based standards] (clgammal): Likewise.
9281 [C99-based standards] (ctgammal): Likewise.
9282 * conform/data/inttypes.h-data [C99-based standards]: Include
9283 stdint.h-data. Remove all expectations for stdint.h contents.
9284 [C99-based standards] (PRI*): Do not allow.
9285 [C99-based standards] (SCN*): Likewise.
9286 [C99-based standards] (*_t): Likewise.
9287 [C99-based-standards] (PRId8): Expect macro.
9288 [C99-based-standards] (PRIi8): Likewise.
9289 [C99-based-standards] (PRIo8): Likewise.
9290 [C99-based-standards] (PRIu8): Likewise.
9291 [C99-based-standards] (PRIx8): Likewise.
9292 [C99-based-standards] (PRIX8): Likewise.
9293 [C99-based-standards] (SCNd8): Likewise.
9294 [C99-based-standards] (SCNi8): Likewise.
9295 [C99-based-standards] (SCNo8): Likewise.
9296 [C99-based-standards] (SCNu8): Likewise.
9297 [C99-based-standards] (SCNx8): Likewise.
9298 [C99-based-standards] (PRIdLEAST8): Likewise.
9299 [C99-based-standards] (PRIiLEAST8): Likewise.
9300 [C99-based-standards] (PRIoLEAST8): Likewise.
9301 [C99-based-standards] (PRIuLEAST8): Likewise.
9302 [C99-based-standards] (PRIxLEAST8): Likewise.
9303 [C99-based-standards] (PRIXLEAST8): Likewise.
9304 [C99-based-standards] (SCNdLEAST8): Likewise.
9305 [C99-based-standards] (SCNiLEAST8): Likewise.
9306 [C99-based-standards] (SCNoLEAST8): Likewise.
9307 [C99-based-standards] (SCNuLEAST8): Likewise.
9308 [C99-based-standards] (SCNxLEAST8): Likewise.
9309 [C99-based-standards] (PRIdFAST8): Likewise.
9310 [C99-based-standards] (PRIiFAST8): Likewise.
9311 [C99-based-standards] (PRIoFAST8): Likewise.
9312 [C99-based-standards] (PRIuFAST8): Likewise.
9313 [C99-based-standards] (PRIxFAST8): Likewise.
9314 [C99-based-standards] (PRIXFAST8): Likewise.
9315 [C99-based-standards] (SCNdFAST8): Likewise.
9316 [C99-based-standards] (SCNiFAST8): Likewise.
9317 [C99-based-standards] (SCNoFAST8): Likewise.
9318 [C99-based-standards] (SCNuFAST8): Likewise.
9319 [C99-based-standards] (SCNxFAST8): Likewise.
9320 [C99-based-standards] (PRId16): Likewise.
9321 [C99-based-standards] (PRIi16): Likewise.
9322 [C99-based-standards] (PRIo16): Likewise.
9323 [C99-based-standards] (PRIu16): Likewise.
9324 [C99-based-standards] (PRIx16): Likewise.
9325 [C99-based-standards] (PRIX16): Likewise.
9326 [C99-based-standards] (SCNd16): Likewise.
9327 [C99-based-standards] (SCNi16): Likewise.
9328 [C99-based-standards] (SCNo16): Likewise.
9329 [C99-based-standards] (SCNu16): Likewise.
9330 [C99-based-standards] (SCNx16): Likewise.
9331 [C99-based-standards] (PRIdLEAST16): Likewise.
9332 [C99-based-standards] (PRIiLEAST16): Likewise.
9333 [C99-based-standards] (PRIoLEAST16): Likewise.
9334 [C99-based-standards] (PRIuLEAST16): Likewise.
9335 [C99-based-standards] (PRIxLEAST16): Likewise.
9336 [C99-based-standards] (PRIXLEAST16): Likewise.
9337 [C99-based-standards] (SCNdLEAST16): Likewise.
9338 [C99-based-standards] (SCNiLEAST16): Likewise.
9339 [C99-based-standards] (SCNoLEAST16): Likewise.
9340 [C99-based-standards] (SCNuLEAST16): Likewise.
9341 [C99-based-standards] (SCNxLEAST16): Likewise.
9342 [C99-based-standards] (PRIdFAST16): Likewise.
9343 [C99-based-standards] (PRIiFAST16): Likewise.
9344 [C99-based-standards] (PRIoFAST16): Likewise.
9345 [C99-based-standards] (PRIuFAST16): Likewise.
9346 [C99-based-standards] (PRIxFAST16): Likewise.
9347 [C99-based-standards] (PRIXFAST16): Likewise.
9348 [C99-based-standards] (SCNdFAST16): Likewise.
9349 [C99-based-standards] (SCNiFAST16): Likewise.
9350 [C99-based-standards] (SCNoFAST16): Likewise.
9351 [C99-based-standards] (SCNuFAST16): Likewise.
9352 [C99-based-standards] (SCNxFAST16): Likewise.
9353 [C99-based-standards] (PRId32): Likewise.
9354 [C99-based-standards] (PRIi32): Likewise.
9355 [C99-based-standards] (PRIo32): Likewise.
9356 [C99-based-standards] (PRIu32): Likewise.
9357 [C99-based-standards] (PRIx32): Likewise.
9358 [C99-based-standards] (PRIX32): Likewise.
9359 [C99-based-standards] (SCNd32): Likewise.
9360 [C99-based-standards] (SCNi32): Likewise.
9361 [C99-based-standards] (SCNo32): Likewise.
9362 [C99-based-standards] (SCNu32): Likewise.
9363 [C99-based-standards] (SCNx32): Likewise.
9364 [C99-based-standards] (PRIdLEAST32): Likewise.
9365 [C99-based-standards] (PRIiLEAST32): Likewise.
9366 [C99-based-standards] (PRIoLEAST32): Likewise.
9367 [C99-based-standards] (PRIuLEAST32): Likewise.
9368 [C99-based-standards] (PRIxLEAST32): Likewise.
9369 [C99-based-standards] (PRIXLEAST32): Likewise.
9370 [C99-based-standards] (SCNdLEAST32): Likewise.
9371 [C99-based-standards] (SCNiLEAST32): Likewise.
9372 [C99-based-standards] (SCNoLEAST32): Likewise.
9373 [C99-based-standards] (SCNuLEAST32): Likewise.
9374 [C99-based-standards] (SCNxLEAST32): Likewise.
9375 [C99-based-standards] (PRIdFAST32): Likewise.
9376 [C99-based-standards] (PRIiFAST32): Likewise.
9377 [C99-based-standards] (PRIoFAST32): Likewise.
9378 [C99-based-standards] (PRIuFAST32): Likewise.
9379 [C99-based-standards] (PRIxFAST32): Likewise.
9380 [C99-based-standards] (PRIXFAST32): Likewise.
9381 [C99-based-standards] (SCNdFAST32): Likewise.
9382 [C99-based-standards] (SCNiFAST32): Likewise.
9383 [C99-based-standards] (SCNoFAST32): Likewise.
9384 [C99-based-standards] (SCNuFAST32): Likewise.
9385 [C99-based-standards] (SCNxFAST32): Likewise.
9386 [C99-based-standards] (PRId64): Likewise.
9387 [C99-based-standards] (PRIi64): Likewise.
9388 [C99-based-standards] (PRIo64): Likewise.
9389 [C99-based-standards] (PRIu64): Likewise.
9390 [C99-based-standards] (PRIx64): Likewise.
9391 [C99-based-standards] (PRIX64): Likewise.
9392 [C99-based-standards] (SCNd64): Likewise.
9393 [C99-based-standards] (SCNi64): Likewise.
9394 [C99-based-standards] (SCNo64): Likewise.
9395 [C99-based-standards] (SCNu64): Likewise.
9396 [C99-based-standards] (SCNx64): Likewise.
9397 [C99-based-standards] (PRIdLEAST64): Likewise.
9398 [C99-based-standards] (PRIiLEAST64): Likewise.
9399 [C99-based-standards] (PRIoLEAST64): Likewise.
9400 [C99-based-standards] (PRIuLEAST64): Likewise.
9401 [C99-based-standards] (PRIxLEAST64): Likewise.
9402 [C99-based-standards] (PRIXLEAST64): Likewise.
9403 [C99-based-standards] (SCNdLEAST64): Likewise.
9404 [C99-based-standards] (SCNiLEAST64): Likewise.
9405 [C99-based-standards] (SCNoLEAST64): Likewise.
9406 [C99-based-standards] (SCNuLEAST64): Likewise.
9407 [C99-based-standards] (SCNxLEAST64): Likewise.
9408 [C99-based-standards] (PRIdFAST64): Likewise.
9409 [C99-based-standards] (PRIiFAST64): Likewise.
9410 [C99-based-standards] (PRIoFAST64): Likewise.
9411 [C99-based-standards] (PRIuFAST64): Likewise.
9412 [C99-based-standards] (PRIxFAST64): Likewise.
9413 [C99-based-standards] (PRIXFAST64): Likewise.
9414 [C99-based-standards] (SCNdFAST64): Likewise.
9415 [C99-based-standards] (SCNiFAST64): Likewise.
9416 [C99-based-standards] (SCNoFAST64): Likewise.
9417 [C99-based-standards] (SCNuFAST64): Likewise.
9418 [C99-based-standards] (SCNxFAST64): Likewise.
9419 [C99-based-standards] (PRIdMAX): Likewise.
9420 [C99-based-standards] (PRIiMAX): Likewise.
9421 [C99-based-standards] (PRIoMAX): Likewise.
9422 [C99-based-standards] (PRIuMAX): Likewise.
9423 [C99-based-standards] (PRIxMAX): Likewise.
9424 [C99-based-standards] (PRIXMAX): Likewise.
9425 [C99-based-standards] (SCNdMAX): Likewise.
9426 [C99-based-standards] (SCNiMAX): Likewise.
9427 [C99-based-standards] (SCNoMAX): Likewise.
9428 [C99-based-standards] (SCNuMAX): Likewise.
9429 [C99-based-standards] (SCNxMAX): Likewise.
9430 [C99-based-standards] (PRIdPTR): Likewise.
9431 [C99-based-standards] (PRIiPTR): Likewise.
9432 [C99-based-standards] (PRIoPTR): Likewise.
9433 [C99-based-standards] (PRIuPTR): Likewise.
9434 [C99-based-standards] (PRIxPTR): Likewise.
9435 [C99-based-standards] (PRIXPTR): Likewise.
9436 [C99-based-standards] (SCNdPTR): Likewise.
9437 [C99-based-standards] (SCNiPTR): Likewise.
9438 [C99-based-standards] (SCNoPTR): Likewise.
9439 [C99-based-standards] (SCNuPTR): Likewise.
9440 [C99-based-standards] (SCNxPTR): Likewise.
9441 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9443 * conform/data/stdint.h-data: Update comments to clarify
9445 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9447 [C99-based standards] (INT8_MAX): Likewise.
9448 [C99-based standards] (INT16_MIN): Likewise.
9449 [C99-based standards] (INT16_MAX): Likewise.
9450 [C99-based standards] (INT32_MIN): Likewise.
9451 [C99-based standards] (INT32_MAX): Likewise.
9452 [C99-based standards] (INT64_MIN): Likewise.
9453 [C99-based standards] (INT64_MAX): Likewise.
9454 [C99-based standards] (UINT8_MAX): Likewise.
9455 [C99-based standards] (UINT16_MAX): Likewise.
9456 [C99-based standards] (UINT32_MAX): Likewise.
9457 [C99-based standards] (UINT64_MAX): Likewise.
9458 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9459 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9460 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9461 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9462 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9463 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9464 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9465 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9466 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9467 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9468 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9469 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9470 [C99-based standards] (INT_FAST8_MIN): Likewise.
9471 [C99-based standards] (INT_FAST8_MAX): Likewise.
9472 [C99-based standards] (INT_FAST16_MIN): Likewise.
9473 [C99-based standards] (INT_FAST16_MAX): Likewise.
9474 [C99-based standards] (INT_FAST32_MIN): Likewise.
9475 [C99-based standards] (INT_FAST32_MAX): Likewise.
9476 [C99-based standards] (INT_FAST64_MIN): Likewise.
9477 [C99-based standards] (INT_FAST64_MAX): Likewise.
9478 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9479 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9480 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9481 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9482 [C99-based standards] (INTPTR_MIN): Likewise.
9483 [C99-based standards] (INTPTR_MAX): Likewise.
9484 [C99-based standards] (UINTPTR_MAX): Likewise.
9485 [C99-based standards] (INTMAX_MIN): Likewise.
9486 [C99-based standards] (INTMAX_MAX): Likewise.
9487 [C99-based standards] (UINTMAX_MAX): Likewise.
9488 [C99-based standards] (PTRDIFF_MIN): Likewise.
9489 [C99-based standards] (PTRDIFF_MAX): Likewise.
9490 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9491 [C99-based standards] (SIZE_MAX): Likewise.
9492 [C99-based standards] (WCHAR_MAX): Likewise.
9493 [C99-based standards] (WINT_MAX): Likewise.
9494 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9495 constraint on value.
9496 [C99-based standards] (WCHAR_MIN): Likewise.
9497 [C99-based standards] (WINT_MIN): Likewise.
9498 [C99-based standards] (*_t): Allow.
9499 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9500 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9501 Include math.h-data and complex.h-data. Remove all expectations
9502 of math.h and complex.h contents.
9503 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9505 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9506 (struct tm): Expect tag.
9507 [C99-based-standards] (wcstof): Expect function.
9508 [C99-based-standards] (wcstold): Likewise.
9509 [C99-based-standards] (wcstoll): Likewise.
9510 [C99-based-standards] (wcstoull): Likewise.
9511 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9512 macro-int-constant. Specify type.
9513 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9514 constraint on value.
9515 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9517 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9519 [ISO C standards]: Do not allow headers.
9520 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9521 wcs[abcdefghijklmnopqrstuvwxyz]*.
9522 [ISO C standards] (*_t): Do not allow.
9523 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9525 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9526 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9528 [ISO C standards]: Do not allow headers.
9529 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9530 is[abcdefghijklmnopqrstuvwxyz]*.
9531 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9532 to[abcdefghijklmnopqrstuvwxyz]*.
9533 [ISO C standards] (*_t): Do not allow.
9534 * conform/data/stdalign.h-data: New file.
9535 * conform/data/stdbool.h-data: Likewise.
9536 * conform/data/stdnoreturn.h-data: Likewise.
9538 2012-11-07 Roland McGrath <roland@hack.frob.com>
9541 * manual/filesys.texi (Directory Entries): Typo fix.
9542 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9544 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9546 * elf/elf.h (EM_AARCH64): New macro.
9547 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9548 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9549 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9550 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9551 (R_AARCH64_TLSDESC): Likewise.
9552 (NT_ARM_TLS): Likewise.
9553 (NT_ARM_HW_BREAK): Likewise.
9554 (NT_ARM_HW_WATCH): Likewise.
9556 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9559 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9560 (__ieee754_powl): Saturate nonzero exponents with absolute value
9561 below 0x1p-79 to +/- 0x1p-79.
9562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9563 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9564 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9565 nonzero exponents with absolute value below 0x1p-32 to +/-
9567 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9568 (__ieee754_powl): Saturate nonzero exponents with absolute value
9569 below 0x1p-79 to +/- 0x1p-79.
9570 * math/libm-test.inc (pow_test): Add more tests.
9572 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9574 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9575 _dl_s390_cap_flags with kernel. Increase string length.
9576 (_dl_s390_platforms): Add z196 and zEC12.
9578 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9580 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9581 Change XOPEN21K to XOPEN2K.
9583 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9585 * string/memmove.c: Use memcpy when possible.
9587 2012-11-06 Andreas Jaeger <aj@suse.de>
9589 * po/eo.po: Update from translation team.
9591 2012-11-06 Joseph Myers <joseph@codesourcery.com>
9594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9595 exponent and small x and y exponents, scale x or y up. Increase
9596 by 2 the exponent used in scaling up.
9597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9599 * math/libm-test.inc (fma_test): Add more tests.
9600 (fma_test_towardzero): Likewise.
9601 (fma_test_downward): Likewise.
9602 (fma_test_upward): Likewise.
9604 2012-11-05 Joseph Myers <joseph@codesourcery.com>
9607 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9611 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9612 namespace for names of struct fields.
9613 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9615 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9616 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9618 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9621 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9623 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9625 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9629 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9632 2012-11-04 Joseph Myers <joseph@codesourcery.com>
9635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9636 definitely overflow as x * y not x * y + z.
9637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9639 * math/libm-test.inc (fma_test): Add more tests.
9640 (fma_test_towardzero): Likewise.
9641 (fma_test_downward): Likewise.
9642 (fma_test_upward): Likewise.
9644 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9648 * include/stub-tag.h: Remove file.
9649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9651 * manual/maint.texi (Porting): Don't reference it.
9652 * Makerules ($(objpfx)stubs): Likewise.
9653 * dirent/closedir.c: Don't include <stub-tag.h>.
9654 * dirent/dirfd.c: Likewise.
9655 * dirent/fdopendir.c: Likewise.
9656 * dirent/getdents.c: Likewise.
9657 * dirent/getdents64.c: Likewise.
9658 * dirent/opendir.c: Likewise.
9659 * dirent/readdir.c: Likewise.
9660 * dirent/readdir64.c: Likewise.
9661 * dirent/readdir64_r.c: Likewise.
9662 * dirent/readdir_r.c: Likewise.
9663 * dirent/rewinddir.c: Likewise.
9664 * dirent/seekdir.c: Likewise.
9665 * dirent/telldir.c: Likewise.
9666 * gmon/profil.c: Likewise.
9667 * grp/setgroups.c: Likewise.
9668 * inet/if_index.c: Likewise.
9669 * io/access.c: Likewise.
9670 * io/chdir.c: Likewise.
9671 * io/chmod.c: Likewise.
9672 * io/chown.c: Likewise.
9673 * io/close.c: Likewise.
9674 * io/dup.c: Likewise.
9675 * io/dup2.c: Likewise.
9676 * io/dup3.c: Likewise.
9677 * io/euidaccess.c: Likewise.
9678 * io/faccessat.c: Likewise.
9679 * io/fchdir.c: Likewise.
9680 * io/fchmod.c: Likewise.
9681 * io/fchmodat.c: Likewise.
9682 * io/fchown.c: Likewise.
9683 * io/fchownat.c: Likewise.
9684 * io/fcntl.c: Likewise.
9685 * io/flock.c: Likewise.
9686 * io/fstatfs.c: Likewise.
9687 * io/fstatfs64.c: Likewise.
9688 * io/fstatvfs.c: Likewise.
9689 * io/fstatvfs64.c: Likewise.
9690 * io/futimens.c: Likewise.
9691 * io/fxstat.c: Likewise.
9692 * io/fxstat64.c: Likewise.
9693 * io/fxstatat.c: Likewise.
9694 * io/fxstatat64.c: Likewise.
9695 * io/getcwd.c: Likewise.
9696 * io/isatty.c: Likewise.
9697 * io/lchmod.c: Likewise.
9698 * io/lchown.c: Likewise.
9699 * io/link.c: Likewise.
9700 * io/linkat.c: Likewise.
9701 * io/lseek.c: Likewise.
9702 * io/lseek64.c: Likewise.
9703 * io/lxstat64.c: Likewise.
9704 * io/mkdir.c: Likewise.
9705 * io/mkdirat.c: Likewise.
9706 * io/mkfifo.c: Likewise.
9707 * io/mkfifoat.c: Likewise.
9708 * io/open.c: Likewise.
9709 * io/open64.c: Likewise.
9710 * io/openat.c: Likewise.
9711 * io/openat64.c: Likewise.
9712 * io/pipe.c: Likewise.
9713 * io/pipe2.c: Likewise.
9714 * io/poll.c: Likewise.
9715 * io/posix_fadvise.c: Likewise.
9716 * io/posix_fadvise64.c: Likewise.
9717 * io/posix_fallocate.c: Likewise.
9718 * io/posix_fallocate64.c: Likewise.
9719 * io/read.c: Likewise.
9720 * io/readlink.c: Likewise.
9721 * io/readlinkat.c: Likewise.
9722 * io/rmdir.c: Likewise.
9723 * io/sendfile.c: Likewise.
9724 * io/sendfile64.c: Likewise.
9725 * io/statfs.c: Likewise.
9726 * io/statfs64.c: Likewise.
9727 * io/statvfs.c: Likewise.
9728 * io/statvfs64.c: Likewise.
9729 * io/symlink.c: Likewise.
9730 * io/symlinkat.c: Likewise.
9731 * io/ttyname.c: Likewise.
9732 * io/ttyname_r.c: Likewise.
9733 * io/umask.c: Likewise.
9734 * io/unlink.c: Likewise.
9735 * io/unlinkat.c: Likewise.
9736 * io/utime.c: Likewise.
9737 * io/utimensat.c: Likewise.
9738 * io/write.c: Likewise.
9739 * io/xmknod.c: Likewise.
9740 * io/xmknodat.c: Likewise.
9741 * io/xstat.c: Likewise.
9742 * io/xstat64.c: Likewise.
9743 * login/getpt.c: Likewise.
9744 * login/grantpt.c: Likewise.
9745 * login/unlockpt.c: Likewise.
9746 * math/e_acoshl.c: Likewise.
9747 * math/e_acosl.c: Likewise.
9748 * math/e_asinl.c: Likewise.
9749 * math/e_atan2l.c: Likewise.
9750 * math/e_atanhl.c: Likewise.
9751 * math/e_coshl.c: Likewise.
9752 * math/e_expl.c: Likewise.
9753 * math/e_fmodl.c: Likewise.
9754 * math/e_gammal_r.c: Likewise.
9755 * math/e_hypotl.c: Likewise.
9756 * math/e_j0l.c: Likewise.
9757 * math/e_j1l.c: Likewise.
9758 * math/e_jnl.c: Likewise.
9759 * math/e_lgammal_r.c: Likewise.
9760 * math/e_log10l.c: Likewise.
9761 * math/e_log2l.c: Likewise.
9762 * math/e_logl.c: Likewise.
9763 * math/e_powl.c: Likewise.
9764 * math/e_rem_pio2l.c: Likewise.
9765 * math/e_sinhl.c: Likewise.
9766 * math/e_sqrtl.c: Likewise.
9767 * math/fclrexcpt.c: Likewise.
9768 * math/fedisblxcpt.c: Likewise.
9769 * math/feenablxcpt.c: Likewise.
9770 * math/fegetenv.c: Likewise.
9771 * math/fegetexcept.c: Likewise.
9772 * math/fegetround.c: Likewise.
9773 * math/feholdexcpt.c: Likewise.
9774 * math/fesetenv.c: Likewise.
9775 * math/fesetround.c: Likewise.
9776 * math/feupdateenv.c: Likewise.
9777 * math/fgetexcptflg.c: Likewise.
9778 * math/fraiseexcpt.c: Likewise.
9779 * math/fsetexcptflg.c: Likewise.
9780 * math/ftestexcept.c: Likewise.
9781 * math/k_cosl.c: Likewise.
9782 * math/k_rem_pio2l.c: Likewise.
9783 * math/k_sinl.c: Likewise.
9784 * math/k_tanl.c: Likewise.
9785 * math/s_asinhl.c: Likewise.
9786 * math/s_atanl.c: Likewise.
9787 * math/s_cbrtl.c: Likewise.
9788 * math/s_erfl.c: Likewise.
9789 * math/s_expm1l.c: Likewise.
9790 * math/s_log1pl.c: Likewise.
9791 * math/s_tanhl.c: Likewise.
9792 * misc/acct.c: Likewise.
9793 * misc/brk.c: Likewise.
9794 * misc/chflags.c: Likewise.
9795 * misc/chroot.c: Likewise.
9796 * misc/fchflags.c: Likewise.
9797 * misc/fgetxattr.c: Likewise.
9798 * misc/flistxattr.c: Likewise.
9799 * misc/fremovexattr.c: Likewise.
9800 * misc/fsetxattr.c: Likewise.
9801 * misc/fsync.c: Likewise.
9802 * misc/ftruncate.c: Likewise.
9803 * misc/futimes.c: Likewise.
9804 * misc/futimesat.c: Likewise.
9805 * misc/getdomain.c: Likewise.
9806 * misc/getdtsz.c: Likewise.
9807 * misc/gethostid.c: Likewise.
9808 * misc/gethostname.c: Likewise.
9809 * misc/getloadavg.c: Likewise.
9810 * misc/getpagesize.c: Likewise.
9811 * misc/getsysstats.c: Likewise.
9812 * misc/getxattr.c: Likewise.
9813 * misc/gtty.c: Likewise.
9814 * misc/ioctl.c: Likewise.
9815 * misc/lgetxattr.c: Likewise.
9816 * misc/listxattr.c: Likewise.
9817 * misc/llistxattr.c: Likewise.
9818 * misc/lremovexattr.c: Likewise.
9819 * misc/lsetxattr.c: Likewise.
9820 * misc/lutimes.c: Likewise.
9821 * misc/madvise.c: Likewise.
9822 * misc/mincore.c: Likewise.
9823 * misc/mlock.c: Likewise.
9824 * misc/mlockall.c: Likewise.
9825 * misc/mmap.c: Likewise.
9826 * misc/mprotect.c: Likewise.
9827 * misc/msync.c: Likewise.
9828 * misc/munlock.c: Likewise.
9829 * misc/munlockall.c: Likewise.
9830 * misc/munmap.c: Likewise.
9831 * misc/preadv.c: Likewise.
9832 * misc/preadv64.c: Likewise.
9833 * misc/ptrace.c: Likewise.
9834 * misc/pwritev.c: Likewise.
9835 * misc/pwritev64.c: Likewise.
9836 * misc/readv.c: Likewise.
9837 * misc/reboot.c: Likewise.
9838 * misc/remap_file_pages.c: Likewise.
9839 * misc/removexattr.c: Likewise.
9840 * misc/revoke.c: Likewise.
9841 * misc/select.c: Likewise.
9842 * misc/setdomain.c: Likewise.
9843 * misc/setegid.c: Likewise.
9844 * misc/seteuid.c: Likewise.
9845 * misc/sethostid.c: Likewise.
9846 * misc/sethostname.c: Likewise.
9847 * misc/setregid.c: Likewise.
9848 * misc/setreuid.c: Likewise.
9849 * misc/setxattr.c: Likewise.
9850 * misc/sstk.c: Likewise.
9851 * misc/stty.c: Likewise.
9852 * misc/swapoff.c: Likewise.
9853 * misc/swapon.c: Likewise.
9854 * misc/sync.c: Likewise.
9855 * misc/syncfs.c: Likewise.
9856 * misc/syscall.c: Likewise.
9857 * misc/truncate.c: Likewise.
9858 * misc/ualarm.c: Likewise.
9859 * misc/usleep.c: Likewise.
9860 * misc/ustat.c: Likewise.
9861 * misc/utimes.c: Likewise.
9862 * misc/vhangup.c: Likewise.
9863 * misc/writev.c: Likewise.
9864 * posix/_exit.c: Likewise.
9865 * posix/alarm.c: Likewise.
9866 * posix/execve.c: Likewise.
9867 * posix/fexecve.c: Likewise.
9868 * posix/fork.c: Likewise.
9869 * posix/fpathconf.c: Likewise.
9870 * posix/getaddrinfo.c: Likewise.
9871 * posix/getegid.c: Likewise.
9872 * posix/geteuid.c: Likewise.
9873 * posix/getgid.c: Likewise.
9874 * posix/getgroups.c: Likewise.
9875 * posix/getlogin.c: Likewise.
9876 * posix/getlogin_r.c: Likewise.
9877 * posix/getpgid.c: Likewise.
9878 * posix/getpid.c: Likewise.
9879 * posix/getppid.c: Likewise.
9880 * posix/getresgid.c: Likewise.
9881 * posix/getresuid.c: Likewise.
9882 * posix/getsid.c: Likewise.
9883 * posix/getuid.c: Likewise.
9884 * posix/glob64.c: Likewise.
9885 * posix/nanosleep.c: Likewise.
9886 * posix/pathconf.c: Likewise.
9887 * posix/pause.c: Likewise.
9888 * posix/posix_madvise.c: Likewise.
9889 * posix/pread.c: Likewise.
9890 * posix/pread64.c: Likewise.
9891 * posix/pwrite.c: Likewise.
9892 * posix/pwrite64.c: Likewise.
9893 * posix/sched_getaffinity.c: Likewise.
9894 * posix/sched_getp.c: Likewise.
9895 * posix/sched_gets.c: Likewise.
9896 * posix/sched_primax.c: Likewise.
9897 * posix/sched_primin.c: Likewise.
9898 * posix/sched_rr_gi.c: Likewise.
9899 * posix/sched_setaffinity.c: Likewise.
9900 * posix/sched_setp.c: Likewise.
9901 * posix/sched_sets.c: Likewise.
9902 * posix/sched_yield.c: Likewise.
9903 * posix/setgid.c: Likewise.
9904 * posix/setlogin.c: Likewise.
9905 * posix/setpgid.c: Likewise.
9906 * posix/setresgid.c: Likewise.
9907 * posix/setresuid.c: Likewise.
9908 * posix/setsid.c: Likewise.
9909 * posix/setuid.c: Likewise.
9910 * posix/sleep.c: Likewise.
9911 * posix/spawni.c: Likewise.
9912 * posix/sysconf.c: Likewise.
9913 * posix/times.c: Likewise.
9914 * posix/wait.c: Likewise.
9915 * posix/wait3.c: Likewise.
9916 * posix/wait4.c: Likewise.
9917 * posix/waitpid.c: Likewise.
9918 * resolv/gai_sigqueue.c: Likewise.
9919 * resource/getpriority.c: Likewise.
9920 * resource/getrlimit.c: Likewise.
9921 * resource/getrusage.c: Likewise.
9922 * resource/nice.c: Likewise.
9923 * resource/setpriority.c: Likewise.
9924 * resource/setrlimit.c: Likewise.
9925 * resource/ulimit.c: Likewise.
9926 * rt/aio_cancel.c: Likewise.
9927 * rt/aio_fsync.c: Likewise.
9928 * rt/aio_read.c: Likewise.
9929 * rt/aio_sigqueue.c: Likewise.
9930 * rt/aio_suspend.c: Likewise.
9931 * rt/aio_write.c: Likewise.
9932 * rt/clock_getres.c: Likewise.
9933 * rt/clock_gettime.c: Likewise.
9934 * rt/clock_nanosleep.c: Likewise.
9935 * rt/clock_settime.c: Likewise.
9936 * rt/lio_listio.c: Likewise.
9937 * rt/mq_close.c: Likewise.
9938 * rt/mq_getattr.c: Likewise.
9939 * rt/mq_notify.c: Likewise.
9940 * rt/mq_open.c: Likewise.
9941 * rt/mq_receive.c: Likewise.
9942 * rt/mq_send.c: Likewise.
9943 * rt/mq_setattr.c: Likewise.
9944 * rt/mq_timedreceive.c: Likewise.
9945 * rt/mq_timedsend.c: Likewise.
9946 * rt/mq_unlink.c: Likewise.
9947 * rt/shm_open.c: Likewise.
9948 * rt/shm_unlink.c: Likewise.
9949 * rt/timer_create.c: Likewise.
9950 * rt/timer_delete.c: Likewise.
9951 * rt/timer_getoverr.c: Likewise.
9952 * rt/timer_gettime.c: Likewise.
9953 * rt/timer_settime.c: Likewise.
9954 * setjmp/__longjmp.c: Likewise.
9955 * setjmp/setjmp.c: Likewise.
9956 * signal/kill.c: Likewise.
9957 * signal/killpg.c: Likewise.
9958 * signal/raise.c: Likewise.
9959 * signal/sigaction.c: Likewise.
9960 * signal/sigaltstack.c: Likewise.
9961 * signal/sigblock.c: Likewise.
9962 * signal/sigignore.c: Likewise.
9963 * signal/sigintr.c: Likewise.
9964 * signal/signal.c: Likewise.
9965 * signal/sigpause.c: Likewise.
9966 * signal/sigpending.c: Likewise.
9967 * signal/sigqueue.c: Likewise.
9968 * signal/sigreturn.c: Likewise.
9969 * signal/sigset.c: Likewise.
9970 * signal/sigsetmask.c: Likewise.
9971 * signal/sigstack.c: Likewise.
9972 * signal/sigsuspend.c: Likewise.
9973 * signal/sigtimedwait.c: Likewise.
9974 * signal/sigvec.c: Likewise.
9975 * signal/sigwait.c: Likewise.
9976 * signal/sigwaitinfo.c: Likewise.
9977 * signal/sysv_signal.c: Likewise.
9978 * socket/accept.c: Likewise.
9979 * socket/accept4.c: Likewise.
9980 * socket/bind.c: Likewise.
9981 * socket/connect.c: Likewise.
9982 * socket/getpeername.c: Likewise.
9983 * socket/getsockname.c: Likewise.
9984 * socket/getsockopt.c: Likewise.
9985 * socket/isfdtype.c: Likewise.
9986 * socket/listen.c: Likewise.
9987 * socket/recv.c: Likewise.
9988 * socket/recvfrom.c: Likewise.
9989 * socket/recvmsg.c: Likewise.
9990 * socket/send.c: Likewise.
9991 * socket/sendmsg.c: Likewise.
9992 * socket/sendto.c: Likewise.
9993 * socket/setsockopt.c: Likewise.
9994 * socket/shutdown.c: Likewise.
9995 * socket/sockatmark.c: Likewise.
9996 * socket/socket.c: Likewise.
9997 * socket/socketpair.c: Likewise.
9998 * stdio-common/ctermid.c: Likewise.
9999 * stdio-common/cuserid.c: Likewise.
10000 * stdio-common/remove.c: Likewise.
10001 * stdio-common/rename.c: Likewise.
10002 * stdio-common/renameat.c: Likewise.
10003 * stdio-common/tempname.c: Likewise.
10004 * stdlib/getcontext.c: Likewise.
10005 * stdlib/makecontext.c: Likewise.
10006 * stdlib/setcontext.c: Likewise.
10007 * stdlib/swapcontext.c: Likewise.
10008 * stdlib/system.c: Likewise.
10009 * streams/fattach.c: Likewise.
10010 * streams/fdetach.c: Likewise.
10011 * streams/getmsg.c: Likewise.
10012 * streams/getpmsg.c: Likewise.
10013 * streams/putmsg.c: Likewise.
10014 * streams/putpmsg.c: Likewise.
10015 * sysdeps/unix/bsd/getpt.c: Likewise.
10016 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10017 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10018 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10021 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10022 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10023 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10024 * sysvipc/msgctl.c: Likewise.
10025 * sysvipc/msgget.c: Likewise.
10026 * sysvipc/msgrcv.c: Likewise.
10027 * sysvipc/msgsnd.c: Likewise.
10028 * sysvipc/semctl.c: Likewise.
10029 * sysvipc/semget.c: Likewise.
10030 * sysvipc/semop.c: Likewise.
10031 * sysvipc/semtimedop.c: Likewise.
10032 * sysvipc/shmat.c: Likewise.
10033 * sysvipc/shmctl.c: Likewise.
10034 * sysvipc/shmdt.c: Likewise.
10035 * sysvipc/shmget.c: Likewise.
10036 * termios/tcdrain.c: Likewise.
10037 * termios/tcflow.c: Likewise.
10038 * termios/tcflush.c: Likewise.
10039 * termios/tcgetattr.c: Likewise.
10040 * termios/tcgetpgrp.c: Likewise.
10041 * termios/tcsendbrk.c: Likewise.
10042 * termios/tcsetattr.c: Likewise.
10043 * termios/tcsetpgrp.c: Likewise.
10044 * time/adjtime.c: Likewise.
10045 * time/clock.c: Likewise.
10046 * time/getitimer.c: Likewise.
10047 * time/gettimeofday.c: Likewise.
10048 * time/setitimer.c: Likewise.
10049 * time/settimeofday.c: Likewise.
10050 * time/stime.c: Likewise.
10051 * time/time.c: Likewise.
10053 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10055 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10058 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10060 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10062 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10066 FE_TONEAREST before applying Dekker multiplication and Knuth
10067 addition. Clear inexact exceptions and check for exact zero
10068 results afterwards.
10069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10072 * math/libm-test.inc (fma_test): Add more tests.
10073 (fma_test_towardzero): Likewise.
10074 (fma_test_downward): Likewise.
10075 (fma_test_upward): Likewise.
10076 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10078 (libc_fesetround): New macro.
10079 (libc_fesetroundf): Likewise.
10080 (libc_fesetroundl): Likewise.
10081 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10083 (libc_fesetround_387): Likewise.
10084 (libc_fesetroundf): New macro.
10085 (libc_fesetround): Likewise.
10086 (libc_fesetroundl): Likewise.
10087 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10089 (libc_fesetroundf): New macro.
10090 (libc_fesetround): Likewise.
10091 (libc_fesetroundl): Likewise.
10092 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10093 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10094 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10096 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10097 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10099 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10100 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10102 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10106 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10107 integer constant usable in #if and use that to give value to enum
10109 (FE_DIVBYZERO): Likewise.
10110 (FE_UNDERFLOW): Likewise.
10111 (FE_OVERFLOW): Likewise.
10112 (FE_INVALID): Likewise.
10113 (FE_INVALID_SNAN): Likewise.
10114 (FE_INVALID_ISI): Likewise.
10115 (FE_INVALID_IDI): Likewise.
10116 (FE_INVALID_ZDZ): Likewise.
10117 (FE_INVALID_IMZ): Likewise.
10118 (FE_INVALID_COMPARE): Likewise.
10119 (FE_INVALID_SOFTWARE): Likewise.
10120 (FE_INVALID_SQRT): Likewise.
10121 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10122 (FE_TONEAREST): Likewise.
10123 (FE_TOWARDZERO): Likewise.
10124 (FE_UPWARD): Likewise.
10125 (FE_DOWNWARD): Likewise.
10126 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10127 (FE_DIVBYZERO): Likewise.
10128 (FE_OVERFLOW): Likewise.
10129 (FE_UNDERFLOW): Likewise.
10130 (FE_INEXACT): Likewise.
10131 (FE_TONEAREST): Likewise.
10132 (FE_DOWNWARD): Likewise.
10133 (FE_UPWARD): Likewise.
10134 (FE_TOWARDZERO): Likewise.
10135 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10136 (FE_UNDERFLOW): Likewise.
10137 (FE_OVERFLOW): Likewise.
10138 (FE_DIVBYZERO): Likewise.
10139 (FE_INVALID): Likewise.
10140 (FE_TONEAREST): Likewise.
10141 (FE_TOWARDZERO): Likewise.
10142 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10143 (FE_OVERFLOW): Likewise.
10144 (FE_UNDERFLOW): Likewise.
10145 (FE_DIVBYZERO): Likewise.
10146 (FE_INEXACT): Likewise.
10147 (FE_TONEAREST): Likewise.
10148 (FE_TOWARDZERO): Likewise.
10149 (FE_UPWARD): Likewise.
10150 (FE_DOWNWARD): Likewise.
10151 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10152 (FE_DIVBYZERO): Likewise.
10153 (FE_OVERFLOW): Likewise.
10154 (FE_UNDERFLOW): Likewise.
10155 (FE_INEXACT): Likewise.
10156 (FE_TONEAREST): Likewise.
10157 (FE_DOWNWARD): Likewise.
10158 (FE_UPWARD): Likewise.
10159 (FE_TOWARDZERO): Likewise.
10161 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10163 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10165 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10167 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10168 commands. Quote $PWD.
10169 (blacklist_exports): Don't use remove_newlines. Replace "declare
10171 (remove_newlines): Remove.
10173 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10175 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10176 * stdlib/stdlib.h (atof): Moved to ...
10177 * include/bits/stdlib-float.h: Here. New file.
10178 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10179 * stdlib/bits/stdlib-float.h: New file.
10180 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10185 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10187 * conform/conformtest.pl (@headers): Add fenv.h.
10188 * conform/data/fenv.h-data: New file.
10189 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10190 include of <math/fenv.h>.
10192 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10193 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10194 && !UNIX98]. Enables tests for XOPEN2K8.
10195 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10196 POSIX2008]: Likewise.
10198 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10199 (struct rusage): Do not expect type or its members.
10202 * math/math.h (FP_NAN): Define macro to integer constant usable in
10203 #if and use that to give value to enum constant.
10204 (FP_INFINITE): Likewise.
10205 (FP_ZERO): Likewise.
10206 (FP_SUBNORMAL): Likewise.
10207 (FP_NORMAL): Likewise.
10209 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10211 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10212 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10215 2012-11-02 Roland McGrath <roland@hack.frob.com>
10217 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10218 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10219 autoconf-time if not.
10220 * configure.in: Remove AC_PREREQ.
10222 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10224 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10225 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10226 of the internal implementation.
10228 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10230 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10231 except include of <misc/sys/syslog.h>.
10233 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10236 function returns with a NULL context exit with zero.
10238 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10240 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10242 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10244 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10245 (run_program_cmd): This.
10246 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10247 (tst_langinfo): New variable. Use it.
10249 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10251 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10252 floating point opcodes.
10254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10256 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10259 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10261 * sysdeps/mach/hurd/powerpc: Remove directory.
10262 * sysdeps/mach/powerpc: Likewise.
10264 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10266 * scripts/check-local-headers.sh: Ignore c++ headers.
10268 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10270 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10271 __libc_cleanup_region_start argument.
10273 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10278 x * y using scaling, not as x * y + z.
10279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10281 * math/libm-test.inc (fma_test): Add more tests.
10282 (fma_test_towardzero): Likewise.
10283 (fma_test_downward): Likewise.
10284 (fma_test_upward): Likewise.
10286 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10288 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10290 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10292 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10295 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10297 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10299 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10306 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10309 Fix the order of the list for glibc 2.17.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10313 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10317 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10321 for low part of x being zero before using __atanl (y).
10322 * math/libm-test.inc (atan2_test): Add another test.
10324 * manual/install.texi (Configuring and compiling): Document
10325 general use of test-wrapper and test-wrapper-env.
10326 * INSTALL: Regenerated.
10328 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10329 (__fma): Do not extract and scale down low bits on after-rounding
10330 systems when result rounded to normal precision would have normal
10332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10333 (__fmal): Do not extract and scale down low bits on after-rounding
10334 systems when result rounded to normal precision would have normal
10336 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10337 (__fmal): Do not extract and scale down low bits on after-rounding
10338 systems when result rounded to normal precision would have normal
10340 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10342 (fma_test): Add more tests.
10343 (fma_test_towardzero): Likewise.
10344 (fma_test_downward): Likewise.
10345 (fma_test_upward): Likewise.
10347 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10349 * sysdeps/i386/tininess.h: Renamed to ...
10350 * sysdeps/x86/tininess.h: This.
10351 * sysdeps/x86_64/tininess.h: Removed.
10353 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10355 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10356 input. Use $(build-program-cmd).
10357 ($(objpfx)tst-array1-static.out): Likewise.
10358 ($(objpfx)tst-array2.out): Likewise.
10359 ($(objpfx)tst-array3.out): Likewise.
10360 ($(objpfx)tst-array4.out): Likewise.
10361 ($(objpfx)tst-array5.out): Likewise.
10362 ($(objpfx)tst-array5-static.out): Likewise.
10364 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10366 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10369 * nss/nsswitch.h (nss_interface_function): Provide new
10370 macro for use with NSS functions.
10371 * grp/initgroups.c: Use new macro.
10372 * nss/getXXbyYY.c: Likewise.
10373 * nss/getXXbyYY_r.c: Likewise.
10374 * nss/getXXent.c: Likewise.
10375 * nss/getXXent_r.c: Likewise.
10376 * sysdeps/posix/getaddrinfo.c: Likewise.
10378 2012-10-30 Andreas Jaeger <aj@suse.de>
10380 * po/ru.po: Update Russion translation from translation project.
10382 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10387 result and shift together with sticky bit instead of replicating
10388 round-to-nearest rounding.
10389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10391 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10392 missing underflow exceptions.
10393 (fma_test_towardzero): Add more tests.
10394 (fma_test_downward): Likewise.
10395 (fma_test_upward): Likewise.
10398 * sysdeps/generic/tininess.h: New file.
10399 * sysdeps/i386/tininess.h: Likewise.
10400 * sysdeps/sh/tininess.h: Likewise.
10401 * sysdeps/x86_64/tininess.h: Likewise.
10402 * stdlib/tst-strtod-underflow.c: Likewise.
10403 * stdlib/tst-tininess.c: Likewise.
10404 * stdlib/strtod_l.c: Include <tininess.h>.
10405 (round_and_return): Do not set errno for exact underflow cases.
10406 Force an underflow exception when setting errno for underflow.
10407 Determine underflow based on rounding to normal precision if
10408 TININESS_AFTER_ROUNDING.
10409 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10410 ERANGE for exact underflow cases.
10411 * stdlib/Makefile (tests): Add tst-tininess and
10412 tst-strtod-underflow.
10413 ($(objpfx)tst-tininess): Use $(link-libm).
10414 ($(objpfx)tst-strtod-underflow): Likewise.
10416 2012-10-30 Andreas Jaeger <aj@suse.de>
10419 * elf/Makefile (tests): Remove conditional for have-initfini-array
10420 since this is now always required and the variable does not exist
10422 (tests-static): Likewise.
10423 (modules-names): Likewise.
10425 * po/eo.po: Add Esperanto translation from translation project.
10427 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10428 merged with constructor/destructor.
10429 (init_array): Likewise.
10430 * elf/tst-array2dep.c (fini_array): Likewise.
10431 (init_array): Likewise.
10433 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10435 * manual/message.texi: Delete @cartouche tags.
10437 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10439 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10441 * sysdeps/mach/hurd/fsync.c: Likewise.
10443 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10444 [_POSIX_REALTIME_SIGNALS]: Change condition to
10445 [_POSIX_REALTIME_SIGNALS > 0].
10447 2012-10-27 Andreas Jaeger <aj@suse.de>
10449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10450 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10452 [__WORDSIZE != 64]: Likewise.
10454 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10456 * iconvdata/tst-table.sh: Remove ${SHELL}.
10457 * iconvdata/tst-tables.sh: Likewise.
10459 2012-10-25 David S. Miller <davem@davemloft.net>
10461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10462 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10468 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10469 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10472 2012-10-25 Roland McGrath <roland@hack.frob.com>
10474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10475 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10478 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10479 Jim Blandy <jimb@codesourcery.com>
10481 * scripts/cross-test-ssh.sh: New file.
10482 * manual/install.texi (Configuring and compiling): Document use of
10484 * INSTALL: Regenerated.
10486 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10488 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10491 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10493 * Makeconfig (run-program-prefix): Fix comment.
10495 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10496 Jim Blandy <jimb@codesourcery.com>
10498 * Makeconfig (test-wrapper): New variable,
10499 (test-wrapper-env): Likewise.
10500 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10501 (run-built-tests): Define to yes.
10502 (run-program-prefix): Use $(test-wrapper).
10503 (built-program-cmd): Likewise.
10504 * Rules (make-test-out): Use $(test-wrapper-env) and
10505 $(host-built-program-cmd).
10506 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10507 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10509 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10510 $(test-wrapper-env) to tst-rtld-load-self.sh.
10511 ($(objpfx)order2.out): Use $(test-wrapper).
10512 ($(objpfx)tst-initorder.out): Likewise.
10513 ($(objpfx)tst-initorder2.out): Likewise.
10514 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10515 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10516 (test_wrapper_env): New variable. Use it to run ld.so.
10517 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10518 Use it to run ld.so.
10519 (test_wrapper_env): Likewise.
10520 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10521 $(test-wrapper) to run-iconv-test.sh.
10522 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10523 (ICONV): Use $test_wrapper.
10524 * posix/Makefile ($(objpfx)globtest.out): Pass
10525 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10526 globtest.sh, not $(run-program-prefix).
10527 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10528 (test_wrapper): Likewise.
10529 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10530 set together with run_via_rtld_prefix.
10531 (run_program_prefix): Define in terms of test_wrapper and
10532 run_via_rtld_prefix.
10534 2012-10-24 Roland McGrath <roland@hack.frob.com>
10536 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10537 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10541 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10542 Declare __clock_getres, __clock_gettime, __clock_settime,
10543 __clock_nanosleep, and __clock_getcpuclockid.
10544 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10545 Remove librt_hidden_def (clock_gettime).
10546 * sysdeps/unix/clock_gettime.c: Likewise.
10547 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10549 * rt/clock_getres.c: Define __clock_getres as an alias.
10550 * sysdeps/posix/clock_getres.c: Likewise.
10551 * rt/clock_settime.c: Define __clock_settime as an alias.
10552 * sysdeps/unix/clock_settime.c: Likewise.
10553 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10554 * sysdeps/unix/clock_nanosleep.c: Likewise.
10555 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10556 * rt/clock-compat.c: New file.
10557 * rt/Makefile (librt-routines): Add clock-compat and move
10558 $(clock-routines) to ...
10559 (routines): ... here, new variable.
10560 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10561 Don't add get_clockfreq here.
10562 * rt/Versions (libc: GLIBC_2.17): New version set.
10563 Add clock_* symbols here.
10564 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10566 (GLIBC_2.17): Add clock_* symbols.
10567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10578 * NEWS: Mention the move.
10580 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10581 Use __open, __read, __close rather than their public counterparts.
10582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10583 (__get_clockfreq_via_cpuinfo): Likewise.
10584 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10585 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10587 * config.h.in (HAVE_IFUNC): New #undef.
10588 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10590 * configure: Regenerated.
10592 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10594 * configure.in: Move READELF check to start of file.
10595 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10596 libc_cv_asm_gnu_indirect_function in the process.
10597 * configure: Regenerated.
10599 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10601 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10602 send the output to /dev/null.
10603 (libc_cv_cc_with_libunwind): Likewise.
10604 (libc_cv_as_noexecstack): Likewise.
10605 * configure: Regenerate.
10607 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10609 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10611 * posix/globtest.sh (TMPDIR): Do not set.
10612 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10613 (testout): Likewise.
10615 2012-10-24 Andreas Jaeger <aj@suse.de>
10617 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10618 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10619 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10620 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10621 posix_fadvise64, posix_fallocate64.
10623 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10624 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10625 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10627 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10629 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10632 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10633 <bits/fcntl-linux.h>.
10634 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10637 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10638 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10639 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10640 [__WORDSIZE != 64]: Likewise.
10642 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10644 * Makeconfig (run-built-tests): New variable.
10645 * Rules [$(cross-compiling) = yes]: Change condition to
10646 [$(run-built-tests) = no].
10647 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10648 to [$(run-built-tests) = yes].
10649 * elf/Makefile [$(cross-compiling) = no]: Likewise
10650 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10651 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10652 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10653 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10654 * io/Makefile [$(cross-compiling) = no]: Likewise.
10655 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10656 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10657 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10658 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10659 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10660 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10661 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10662 * string/Makefile [$(cross-compiling) = no]: Likewise.
10664 * posix/Makefile ($(objpfx)globtest.out): Pass
10665 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10666 $(rtld-installed-name).
10667 * posix/globtest.sh (elf_objpfx): Remove variable.
10668 (rtld_installed_name): Likewise.
10669 (library_path): Likewise.
10670 (run_program_prefix): New variable. Use for running globtest
10673 2012-10-23 Jim Blandy <jimb@codesourcery.com>
10674 Joseph Myers <joseph@codesourcery.com>
10676 * Makeconfig (host-built-program-cmd): New variable.
10677 * elf/Makefile (tst-stackguard1-ARGS): Use
10678 $(host-built-program-cmd).
10679 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10680 (tst-spawn-ARGS): Likewise.
10681 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10683 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10684 Jim Blandy <jimb@codesourcery.com>
10686 * Makeconfig (run-via-rtld-prefix): New variable.
10687 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10688 (built-program-cmd): Likewise.
10690 2012-10-22 Andreas Jaeger <aj@suse.de>
10692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10693 __O_RSYNC if it exists, otherwise to O_SYNC.
10695 2012-10-22 Jim Blandy <jimb@codesourcery.com>
10696 Joseph Myers <joseph@codesourcery.com>
10698 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10700 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10702 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10705 2012-10-22 Andreas Jaeger <aj@suse.de>
10707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10712 bits/fcntl-linux.h.
10714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10715 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10722 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10723 Joseph Myers <joseph@codesourcery.com>
10725 * config.make.in (NM): New variable.
10727 2012-10-21 Andreas Jaeger <aj@suse.de>
10729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10730 definitions and declarations that are provided by
10731 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10733 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10736 * elf/Makefile (tests-static): Add tst-leaks1-static.
10737 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10738 ($(objpfx)tst-leaks1-static): New rule.
10739 ($(objpfx)tst-leaks1-static-mem): Likewise.
10740 (tst-leaks1-static-ENV): New macro.
10741 * elf/dl-open.c (dl_open_worker): Check the main application
10742 only if SHARED is defined.
10743 * elf/tst-leaks1-static.c: New file.
10745 2012-10-20 Andreas Jaeger <aj@suse.de>
10747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10748 generic values for Linux.
10749 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10750 and declarations that are provided by <bits/fcntl-linux.h> and
10751 include <bits/fcntl-linux.h>.
10752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10755 2012-10-20 Roland McGrath <roland@hack.frob.com>
10757 * io/fcntl.h: Move include of <bits/types.h> to the top and
10758 include it unconditionally.
10760 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10762 * wcsmbs/Makefile (tests-ifunc): New variable.
10763 (tests): Add $(tests-ifunc).
10764 * wcsmbs/test-wcschr-ifunc.c: New file.
10765 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10766 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10767 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10768 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10769 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10771 * string/Makefile (tests-ifunc): New variable.
10772 (tests): Add $(tests-ifunc).
10773 * string/test-memccpy.c (TEST_NAME): New macro.
10774 * string/test-memchr.c (TEST_NAME): Likewise.
10775 * string/test-memcmp.c (TEST_NAME): Likewise.
10776 * string/test-memcpy.c (TEST_NAME): Likewise.
10777 * string/test-memmem.c (TEST_NAME): Likewise.
10778 * string/test-memmove.c (TEST_NAME): Likewise.
10779 * string/test-memset.c (TEST_NAME): Likewise.
10780 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10781 * string/test-stpcpy.c (TEST_NAME): Likewise.
10782 * string/test-stpncpy.c (TEST_NAME): Likewise.
10783 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10784 * string/test-strcasestr.c (TEST_NAME): Likewise.
10785 * string/test-strcat.c (TEST_NAME): Likewise.
10786 * string/test-strchr.c (TEST_NAME): Likewise.
10787 * string/test-strcmp.c(TEST_NAME): Likewise.
10788 * string/test-strcpy.c (TEST_NAME): Likewise.
10789 * string/test-strcspn.c (TEST_NAME): Likewise.
10790 * string/test-strlen.c (TEST_NAME): Likewise.
10791 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10792 * string/test-strncmp.c (TEST_NAME): Likewise.
10793 * string/test-strncpy.c (TEST_NAME): Likewise.
10794 * string/test-strnlen.c (TEST_NAME): Likewise.
10795 * string/test-strpbrk.c (TEST_NAME): Likewise.
10796 * string/test-strrchr.c (TEST_NAME): Likewise.
10797 * string/test-strspn.c (TEST_NAME): Likewise.
10798 * string/test-strstr.c (TEST_NAME): Likewise.
10799 * string/test-bcopy-ifunc.c: New file.
10800 * string/test-bzero-ifunc.c: Likewise.
10801 * string/test-memccpy-ifunc.c: Likewise.
10802 * string/test-memchr-ifunc.c: Likewise.
10803 * string/test-memcmp-ifunc.c: Likewise.
10804 * string/test-memcpy-ifunc.c: Likewise.
10805 * string/test-memmem-ifunc.c: Likewise.
10806 * string/test-memmove-ifunc.c: Likewise.
10807 * string/test-mempcpy-ifunc.c: Likewise.
10808 * string/test-memset-ifunc.c: Likewise.
10809 * string/test-rawmemchr-ifunc.c: Likewise.
10810 * string/test-stpcpy-ifunc.c: Likewise.
10811 * string/test-stpncpy-ifunc.c: Likewise.
10812 * string/test-strcasecmp-ifunc.c: Likewise.
10813 * string/test-strcasestr-ifunc.c: Likewise.
10814 * string/test-strcat-ifunc.c: Likewise.
10815 * string/test-strchr-ifunc.c: Likewise.
10816 * string/test-strchrnul-ifunc.c: Likewise.
10817 * string/test-strcmp-ifunc.c: Likewise.
10818 * string/test-strcpy-ifunc.c: Likewise.
10819 * string/test-strcspn-ifunc.c: Likewise.
10820 * string/test-strlen-ifunc.c: Likewise.
10821 * string/test-strncasecmp-ifunc.c: Likewise.
10822 * string/test-strncat-ifunc.c: Likewise.
10823 * string/test-strncmp-ifunc.c: Likewise.
10824 * string/test-strncpy-ifunc.c: Likewise.
10825 * string/test-strnlen-ifunc.c: Likewise.
10826 * string/test-strpbrk-ifunc.c: Likewise.
10827 * string/test-strrchr-ifunc.c: Likewise.
10828 * string/test-strspn-ifunc.c: Likewise.
10829 * string/test-strstr-ifunc.c: Likewise.
10831 * debug/Makefile (tests-ifunc): New variable.
10832 (tests): Add $(tests-ifunc).
10833 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10834 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10835 * debug/test-stpcpy_chk-ifunc.c: New file.
10836 * debug/test-strcpy_chk-ifunc.c: Likewise.
10838 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10841 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10842 header is not read in.
10844 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10846 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10847 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10848 directly. Pass built executable to script as
10849 $(built-program-cmd).
10850 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10851 $testprogram without using LD_LIBRARY_PATH and $ldso.
10853 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10854 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10855 $(rtld-installed-name).
10856 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10857 (rtld_installed_name): Likewise.
10858 (library_path): Likewise.
10859 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10860 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10861 $(run-program-prefix) to tst-tables.sh.
10862 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10863 it to run tst-table-from and tst-table-to.
10864 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10865 Pass it to tst-table.sh.
10866 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10867 $(run-program-prefix) to tst-gettext.sh.
10868 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10870 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10872 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10873 to run tst-gettext.
10874 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10875 to run tst-gettext2.
10876 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10877 to run tst-translit.
10878 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10879 $(run-program-prefix) to tst-mtrace.sh.
10880 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10882 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10883 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10884 $(rtld-installed-name).
10885 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10886 (rtld_installed_name): Likewise.
10887 (run_program_prefix): New variable. Use it to run wordexp-test.
10889 * Makeconfig (ARCH): Remove all definitions.
10890 (machine): Likewise.
10891 [ARCH]: Remove conditional code.
10892 [!objdir]: Give error.
10893 [!objdir] (objpfx): Remove.
10894 [!objdir] (common-objpfx): Likewise.
10895 [!objdir] (common-objdir): Likewise.
10896 * configure.in (config_makefile): Remove. Hardcode Makefile in
10897 AC_CONFIG_FILES call.
10898 * configure: Regenerated.
10901 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10903 (testout): Likewise.
10905 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10906 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10907 $(rtld-installed-name).
10908 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10909 (rtld_installed_name): Likwise.
10910 (runit): Remove function.
10911 (run_getconf): New variable, Use it for running getconf binary.
10913 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10916 * string/test-memmem.c (check_result): New function.
10917 (do_one_test): Use it.
10918 (check1): New function.
10919 (test_main): Use it.
10921 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10923 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10925 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10927 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10928 (_G_LSEEK64): Likewise.
10929 (_G_MMAP64): Likewise.
10930 (_G_FSTAT64): Likewise.
10931 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10932 (_G_LSEEK64): Likewise.
10933 (_G_MMAP64): Likewise.
10934 (_G_FSTAT64): Likewise.
10935 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10936 unconditional. Call __mmap64 directly.
10937 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10938 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10939 __lseek64 directly.
10940 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10941 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10943 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10944 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10945 __lseek64 directly.
10946 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10947 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10948 __lseek64 directly.
10949 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10950 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10951 __lseek64 directly.
10952 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10953 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10954 __fxstat64 directly.
10955 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10956 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10958 (freopen64) [!_G_OPEN64]: Remove conditional code.
10959 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10961 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10962 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10964 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10965 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10967 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10968 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10970 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10971 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10973 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10974 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10976 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10977 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10979 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10981 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10984 * manual/memory.texi (Malloc Tunable Parameters): Add note
10985 about free list pointers overwriting some perturb bytes.
10986 Wording suggested by Roland McGrath.
10988 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10990 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10991 (lgamma_test): Likewise.
10992 (tgamma_test): Likewise.
10994 2012-10-16 Florian Weimer <fweimer@redhat.com>
10997 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10998 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11000 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11002 * NEWS: Mention BZ #14716.
11003 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11004 when removing AVAILABLE1_USES_J macro.
11006 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11008 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11009 (__bswap_64): __uint64_t for unsigned 64-bit int.
11011 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11013 * include/string.h (memmem): Declare libc hidden alias.
11014 * string/memmem.c (memmem): Define libc hidden alias.
11015 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11016 __read, __close instead of open, read, close.
11018 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11021 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11023 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11024 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11025 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11027 (__rawmemchr_sse2): Likewise.
11028 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11029 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11030 (__strchr_sse2): Likewise.
11031 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11032 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11033 (__strcasecmp_sse2): Likewise.
11034 (__strncasecmp_sse2): Likewise.
11035 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11036 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11037 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11038 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11039 (__strrchr_sse2): Likewise.
11040 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11042 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11043 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11044 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11045 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11046 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11047 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11048 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11049 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11050 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11051 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11052 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11053 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11054 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11055 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11056 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11057 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11058 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11059 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11060 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11061 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11062 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11063 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11064 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11065 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11066 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11067 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11068 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11069 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11070 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11071 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11075 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11076 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11077 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11078 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11080 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11082 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11083 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11084 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11085 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11105 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11106 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11108 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11109 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11110 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11112 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11113 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11114 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11115 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11116 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11117 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11120 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11127 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11129 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11130 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11131 * include/ifunc-impl-list.h: New file.
11132 * misc/ifunc-impl-list.c: Likewise.
11133 * misc/Makefile (routines): Add ifunc-impl-list.
11134 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11135 * string/test-string.h: Include <ifunc-impl-list.h>.
11136 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11137 impl_array): New variables.
11138 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11140 (test_init): Call __libc_ifunc_impl_list to initialize
11141 func_list if TEST_IFUNC and TEST_NAME are defined.
11143 * string/Makefile (strop-tests): Add bcopy and bzero.
11144 * string/test-bcopy.c: New file.
11145 * string/test-bzero.c: Likewise.
11146 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11148 * string/test-memset.c: Support bzero test if TEST_BZERO is
11150 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11152 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11154 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11157 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11159 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11160 * configure: Regenerated.
11162 * Makeconfig (+link-static-before-libc): Don't include
11163 $(link-static-libc).
11165 * libio/libio.h (_IO_pos_t): Remove.
11167 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11169 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11172 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11174 * crypt/crypt-entry.c: Include fips-private.h.
11175 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11176 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11177 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11178 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11180 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11182 * crypt/crypt-private.h: Include stdbool.h.
11183 (_ufc_setup_salt_r): Return bool.
11184 * crypt/crypt-entry.c: Include errno.h.
11185 (__crypt_r): Return NULL with EINVAL for bad salt.
11186 * crypt/crypt_util.c (bad_for_salt): New.
11187 (_ufc_setup_salt_r): Check that salt is long enough and within
11188 the specified alphabet.
11189 * crypt/badsalttest.c: New file.
11190 * crypt/Makefile (tests): Add it.
11191 ($(objpfx)badsalttest): New.
11193 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11195 * NEWS: Add entry for BZ #14602.
11197 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11199 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11201 * math/libm-test.inc: Update comment listing what functions and
11203 (isgreater_test): New function.
11204 (isgreaterequal_test): Likewise.
11205 (isless_test): Likewise.
11206 (islessequal_test): Likewise.
11207 (islessgreater_test): Likewise.
11208 (isunordered_test): Likewise.
11209 (main): Call the new functions.
11211 2012-10-09 Roland McGrath <roland@hack.frob.com>
11213 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11214 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11215 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11216 * sysdeps/i386/configure: Regenerated.
11217 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11218 * sysdeps/mach/configure: Regenerated.
11219 * sysdeps/mach/hurd/configure: Regenerated.
11220 * sysdeps/powerpc/configure: Regenerated.
11221 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11222 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11223 * sysdeps/s390/s390-32/configure: Regenerated.
11224 * sysdeps/s390/s390-64/configure: Regenerated.
11225 * sysdeps/sh/configure: Regenerated.
11226 * sysdeps/sparc/configure: Regenerated.
11227 * sysdeps/unix/sysv/linux/configure: Regenerated.
11228 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11229 * sysdeps/x86_64/configure: Regenerated.
11231 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11232 defined. Don't check if MAP is NULL.
11234 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11236 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11237 (_G_stat64): Likewise.
11238 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11239 (_G_stat64): Likewise.
11240 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11241 instead of struct _G_stat64.
11242 * libio/fileops.c (mmap_remap_check): Likewise.
11243 (decide_maybe_mmap): Likewise.
11244 (_IO_new_file_seekoff): Likewise.
11245 (_IO_file_stat): Likewise.
11246 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11248 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11249 instead of struct _G_stat64.
11250 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11252 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11255 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11257 (CHECK_EOL): New macro.
11258 (two_way_short_needle): Check beginning of haystack for EOL. Use
11260 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11261 Replace with CHECK_EOL.
11262 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11263 Replace with CHECK_EOL.
11265 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11267 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11269 * math/libm-test.inc: Update comment listing what functions and
11271 (finite_test): New function.
11272 (isinf_test): Likewise.
11273 (isnan_test): Likewise.
11274 (fpclassify_test): Test subnormal input.
11275 (isfinite_test): Likewise.
11276 (isnormal_test): Likewise.
11277 (main): Call the new functions.
11279 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11282 * Makerules (%.dynsym): Force C locale when running
11283 $(OBJDUMP) --dynamic-syms.
11285 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11287 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11290 2012-10-06 David S. Miller <davem@davemloft.net>
11292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11293 upper 32-bits of the length value in %o2 since we use branch-on-register
11294 tests which consider the entire 64-bit register.
11296 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11298 * string/test-strstr.c (check2): Add a test for page boundary.
11300 2012-10-05 David S. Miller <davem@davemloft.net>
11302 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11303 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11305 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11308 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11309 and bzero when HWCAP_SPARC_CRYPTO is present.
11311 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11314 * string/test-strstr.c (check2): New function.
11315 (test_main): Call check2.
11317 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11319 * string/bug-strcasestr1.c (do_test): Moved to ...
11320 * string/test-strcasestr.c (check1): Here. New function.
11321 (do_one_test): Break out result checking code into ...
11322 (check_result): This. New function.
11323 (do_one_test): Call check_result.
11324 (test_main): Call check1.
11325 * string/bug-strchr1.c (do_test): Moved to ...
11326 * string/test-strchr.c (check1): Here. New function.
11327 (do_one_test): Break out result checking code into ...
11328 (check_result): This. New function.
11329 (do_one_test): Call check_result.
11330 (test_main): Call check1.
11331 * string/bug-strstr1.c (main): Moved to ...
11332 * string/test-strstr.c (check1): Here. New function.
11333 (do_one_test): Break out result checking code into ...
11334 (check_result): This. New function.
11335 (do_one_test): Call check_result.
11336 (test_main): Call check1.
11337 * string/bug-strcasestr1.c: Removed.
11338 * string/bug-strchr1.c: Likewise.
11339 * string/bug-strstr1.c: Likewise.
11341 * elf/Makefile (dl-routines): Add hwcaps.
11342 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11343 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11344 (_dl_important_hwcaps): Moved to ...
11345 * elf/dl-hwcaps.c: Here. New file.
11346 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11349 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11350 if IS_IN_rtld isn't defined.
11352 * elf/dl-support.c (_dl_sysinfo_map): New.
11353 Include "get-dynamic-info.h" and "setup-vdso.h".
11354 (_dl_non_dynamic_init): Call setup_vdso.
11355 * elf/dynamic-link.h: Don't include <assert.h>.
11356 (elf_get_dynamic_info): Moved to ...
11357 * elf/get-dynamic-info.h: Here. New file.
11358 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11359 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11360 * elf/setup-vdso.h: Here. New file.
11361 * elf/rtld.c: Include "setup-vdso.h".
11362 (dl_main): Call setup_vdso.
11364 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11366 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11367 creal in comment listing functions tested. List finite, isinf,
11368 isnan, isless, islessequal, isgreater, isgreaterequal,
11369 islessgreater, isunordered, lgamma_r and pow10 as functions and
11370 macros not tested. Mention which functions not tested are aliases
11371 for other functions. Fix typo. Note that signs of NaNs are not
11374 * scripts/config.guess: Update from config.git.
11375 * scripts/config.sub: Likewise.
11377 2012-10-04 Roland McGrath <roland@hack.frob.com>
11379 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11380 * misc/madvise.c (madvise): Renamed to __madvise.
11381 Make madvise a weak alias.
11382 * include/sys/mman.h: Declare __madvise.
11383 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11384 * sysdeps/unix/syscalls.list
11385 (madvise): Make __madvise the strong name, and madvise a weak alias.
11386 * sysdeps/unix/sysv/linux/syscalls.list
11387 (madvise, mmap): Remove redundant entries.
11388 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11389 * malloc/malloc.c (mtrim): Likewise.
11390 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11392 2012-10-03 Roland McGrath <roland@hack.frob.com>
11394 * sysdeps/mach/hurd/dl-cache.c: File removed.
11395 * config.h.in (USE_LDCONFIG): New #undef.
11396 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11397 * configure: Regenerated.
11398 * elf/Makefile (dl-routines): Add dl-cache only under
11399 [$(use-ldconfig) = yes].
11400 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11401 cache on [USE_LDCONFIG].
11402 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11404 * elf/rtld.c (dl_main): Likewise.
11406 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11408 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11409 _SC_LEVEL4_CACHE_LINESIZE.
11411 2012-10-03 Roland McGrath <roland@hack.frob.com>
11413 * sysdeps/unix/bsd/confstr.h: File removed.
11415 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11417 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11420 2012-10-02 Roland McGrath <roland@hack.frob.com>
11422 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11423 Make 'mapoff' field ElfW(Off) rather than off_t.
11425 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11427 * nscd/Makefile: Remove nscd-cflags and all its users.
11428 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11429 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11432 * malloc.c (malloc_printerr): Clarify error message.
11434 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11438 Set bit_FMA_Usable if FMA is supported.
11439 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11441 (bit_FMA4_Usable): Updated.
11442 (index_FMA_Usable): New macro.
11443 (CPUID_FMA): Likewise
11444 (HAS_FMA): Defined with bit_FMA_Usable.
11446 2012-10-01 Roland McGrath <roland@hack.frob.com>
11448 * bits/types.h (__swblk_t): Type removed.
11449 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11450 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11452 (__SWBLK_T_TYPE): Likewise.
11453 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11454 (__SWBLK_T_TYPE): Likewise.
11455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11456 (__SWBLK_T_TYPE): Likewise.
11457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11458 (__SWBLK_T_TYPE): Likewise.
11460 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11461 Honza Horak <hhorak@redhat.com>
11463 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11464 (xdr_mapname): Use YPMAXMAP as maxsize.
11465 (xdr_peername): Use YPMAXPEER as maxsize.
11466 (xdr_keydat): Use YPAXRECORD as maxsize.
11467 (xdr_valdat): Use YPMAXRECORD as maxsize.
11469 2012-10-01 Roland McGrath <roland@hack.frob.com>
11471 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11473 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11474 * csu/init-first.c: ... here.
11475 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11476 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11477 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11479 * sysdeps/i386/init-first.c: File removed.
11480 * sysdeps/sh/init-first.c: File removed.
11482 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11486 if x * y might underflow to zero and z is zero.
11487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11489 * math/libm-test.inc (min_subnorm_value): New variable.
11490 (fma_test): Add more tests.
11491 (fma_test_towardzero): Likewise.
11492 (fma_test_downward): Likewise
11493 (fma_test_upward): Likewise.
11494 (initialize): Set min_subnorm_value.
11496 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11502 mode for addition resulting in exact zero.
11503 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11508 * math/libm-test.inc (fma_test): Add more tests.
11509 (fma_test_towardzero): New function.
11510 (fma_test_downward): Likewise.
11511 (fma_test_upward): Likewise.
11512 (main): Call the new functions.
11514 2012-09-28 David S. Miller <davem@davemloft.net>
11516 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11518 2012-09-28 Roland McGrath <roland@hack.frob.com>
11520 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11521 instead of SIGALRM.
11523 * sysdeps/gnu/_G_config.h: Moved to ...
11524 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11525 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11526 * sysdeps/generic/_G_config.h: ... here.
11528 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11530 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11532 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11533 Conditionalize target on [libnss_test1.so-version].
11535 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11537 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11538 (elfobjdir): Move out of conditionals.
11540 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11541 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11542 (__nss_lookup_function): Conditionalize label remove_from_tree on
11543 [!DO_STATIC_NSS || SHARED], matching its only use.
11545 2012-09-28 David S. Miller <davem@davemloft.net>
11547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11548 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11550 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11552 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11554 when HWCAP_SPARC_CRYPTO is present.
11556 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11558 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11560 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11563 * stdio-common/vfprintf.c (process_string_arg): Revert
11566 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11568 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11570 * stdio-common/tst-sprintf.c: Include <locale.h>
11571 (main): Test sprintf's handling of incomplete multibyte
11574 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11576 * elf/dl-runtime.c (VERSYMIDX): Removed.
11577 * elf/dl-version.c (VERSYMIDX): Likewise.
11578 * elf/do-rel.h (VERSYMIDX): Likewise.
11579 (VALIDX): Likewise.
11580 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11581 * elf/rtld.c (VALIDX): Likewise.
11582 (ADDRIDX): Likewise.
11583 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11584 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11585 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11586 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11587 (VALIDX): Likewise.
11588 (ADDRIDX): Likewise.
11590 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11592 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11594 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11597 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11599 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11600 addresses are in the same scope as 192.0.2/24.
11601 * posix/gai.conf: Document new scope table defaults.
11603 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11606 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11607 for ftell. Compute offsets from write pointers instead.
11608 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11610 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11613 * libio/Makefile (tests): New test case tst-fseek.
11614 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11615 combination works in wide mode.
11616 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11617 state when the external buffer state changes.
11619 2012-09-27 David S. Miller <davem@davemloft.net>
11622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11623 pass reloc->r_addend in as the 'high' argument to
11624 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11628 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11630 * rt/tst-aio2.c: Include <pthread.h>.
11631 * rt/tst-aio3.c: Likewise.
11633 2012-09-27 Steve Ellcey <sellcey@mips.com>
11635 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11637 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11639 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11640 contents on [SHARED].
11642 2012-09-26 Marek Polacek <polacek@redhat.com>
11646 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11647 for C++ and GCC <4.3 as well as for non GCC compilers.
11649 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11653 2012-09-25 Roland McGrath <roland@hack.frob.com>
11655 * Makefile.in (all, install): Declare with .PHONY.
11656 Reported by Michael Hope <michael.hope@linaro.org>.
11658 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11660 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11661 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11663 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11665 (sydep_routines): Add the new and the internal functions.
11666 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11669 (GLIBC_2.17): Add the new function.
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11671 (GLIBC_2.17): Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11673 (GLIBC_2.17): Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11675 (GLIBC_2.17): Likewise.
11676 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11678 2012-09-25 Alan Modra <amodra@gmail.com>
11680 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11681 Add release barrier before setting once_control to say
11682 initialisation is done. Add hints on lwarx. Use macro in
11684 (clear_once_control): Add release barrier.
11686 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11689 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11691 * math/s_clog10.c (__clog10): Likewise.
11692 * math/s_clog10f.c (__clog10f): Likewise.
11693 * math/s_clog10l.c (__clog10l): Likewise.
11694 * math/s_clogf.c (__clogf): Likewise.
11695 * math/s_clogl.c (__clogl): Likewise.
11696 * math/Makefile (libm-calls): Add x2y2m1.
11697 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11698 (__x2y2m1): Likewise.
11699 (__x2y2m1l): Likewise.
11700 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11701 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11704 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11705 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11706 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11707 * sysdeps/i386/fpu/libm-test-ulps: Update.
11708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11711 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11712 int as type of variable DEPTH.
11713 (glob): Use size_t instead of int as type of variables NEWCOUNT
11716 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11718 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11719 Add s_sincosf-sse2.
11720 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11721 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11722 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11723 macros for using routine as __sincosf_ia32.
11724 Use macro for function declaration and weak_alias.
11725 * sysdeps/i386/fpu/libm-test-ulps: Update.
11727 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11730 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11731 subnormal argument.
11732 * math/s_cexpf.c (__cexpf): Likewise.
11733 * math/s_csinf.c (__csinf): Likewise.
11734 * math/s_csinhf.c (__csinhf): Likewise.
11735 * math/s_ctanf.c (__ctanf): Likewise.
11736 * math/s_ctanhf.c (__ctanhf): Likewise.
11737 * math/s_ccosh.c (__ccoshf): Likewise.
11738 * math/s_cexp.c (__cexpl): Likewise.
11739 * math/s_csin.c (__csin): Likewise.
11740 * math/s_csinh.c (__csinh): Likewise.
11741 * math/s_ctan.c (__ctan): Likewise.
11742 * math/s_ctanh.c (ctanh): Likewise.
11743 * math/s_ccoshl.c (__ccoshl): Likewise.
11744 * math/s_cexpl.c (__cexpl): Likewise.
11745 * math/s_csinl.c (__csinl): Likewise.
11746 * math/s_csinhl.c (__csinhl): Likewise.
11747 * math/s_ctanl.c (__ctanl): Likewise.
11748 * math/s_ctanhl.c (__ctanhl): Likewise.
11750 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11752 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11753 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11754 (_IO_off_t): Define to __off_t, not _G_off_t.
11755 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11756 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11757 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11758 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11759 type of __dummy and __dummy2 fields.
11760 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11761 (_G_ssize_t): Likewise.
11762 (_G_off_t): Likewise.
11763 (_G_pid_t): Likewise.
11764 (_G_uid_t): Likewise.
11765 (_G_wchar_t): Likewise.
11766 (_G_wint_t): Likewise.
11767 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11768 (_G_ssize_t): Likewise.
11769 (_G_off_t): Likewise.
11770 (_G_pid_t): Likewise.
11771 (_G_uid_t): Likewise.
11772 (_G_wchar_t): Likewise.
11773 (_G_wint_t): Likewise.
11774 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11775 (_G_ssize_t): Likewise.
11776 (_G_off_t): Likewise.
11777 (_G_pid_t): Likewise.
11778 (_G_uid_t): Likewise.
11779 (_G_wchar_t): Likewise.
11780 (_G_wint_t): Likewise.
11782 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11784 * malloc/arena.c: Include malloc-sysdep.h.
11785 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11786 is sufficient to shrink the heap or an unmap is needed.
11787 * sysdeps/generic/malloc-sysdep.h: New file. Define
11788 new function check_may_shrink_heap.
11789 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11790 new function check_may_shrink_heap.
11792 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11794 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11797 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11799 * catgets/test-gencat.sh: Add "set -e".
11800 * elf/tst-pathopt.sh: Likewise.
11801 * grp/tst_fgetgrent.sh: Likewise.
11802 * iconvdata/run-iconv-test.sh: Likewise.
11803 * intl/tst-gettext.sh: Likewise.
11804 * intl/tst-gettext2.sh: Likewise.
11805 * intl/tst-gettext4.sh: Likewise.
11806 * intl/tst-gettext6.sh: Likewise.
11807 * intl/tst-translit.sh: Likewise.
11808 * io/ftwtest-sh: Likewise.
11809 * libio/test-freopen.sh: Likewise.
11810 * malloc/tst-mtrace.sh: Likewise.
11811 * posix/globtest.sh: Likewise.
11812 * posix/tst-getconf.sh: Likewise.
11813 * posix/wordexp-tst.sh: Likewise.
11814 * stdio-common/tst-printf.sh: Likewise.
11815 * stdio-common/tst-unbputc.sh: Likewise.
11816 * stdlib/tst-fmtmsg.sh: Likewise.
11817 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11818 * catgets/Makefile: Do not specify -e option when running
11819 testsuite shell scripts.
11820 * elf/Makefile: Likewise.
11821 * grp/Makefile: Likewise.
11822 * iconvdata/Makefile: Likewise.
11823 * intl/Makefile: Likewise.
11824 * io/Makefile: Likewise.
11825 * libio/Makefile: Likewise.
11826 * malloc/Makefile: Likewise.
11827 * posix/Makefile: Likewise.
11828 * stdio-common/Makefile: Likewise.
11829 * stdlib/Makefile: Likewise.
11830 * sysdeps/x86_64/Makefile: Likewise.
11832 * io/ftwtest-sh: Add copyright header.
11833 * posix/globtest.sh: Likewise.
11834 * posix/tst-getconf.sh: Likewise.
11835 * posix/wordexp-tst.sh: Likewise.
11836 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11838 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11841 * Makeconfig (+link): Defined as $(+link-static) if
11842 $(build-shared) isn't yes.
11843 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11845 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11847 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11850 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11851 new chunk size with MALLOC_ALIGN_MASK.
11853 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11856 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11858 (__printf_fphex): Determine rounding using get_rounding_mode and
11860 * stdio-common/tst-printf-round.c (struct hex_test): New
11862 (hex_tests): New variable.
11863 (test_hex_in_one_mode): New function.
11864 (do_test): Also run tests for hex float output.
11866 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11868 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11870 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11871 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11872 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11873 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11874 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11875 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11877 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11879 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11880 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11881 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11882 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11884 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11887 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11889 * elf/tst-rtld-load-self.sh: New test.
11890 * elf/Makefile: Run it.
11892 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11894 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11895 (tst-writev-ENV): Remove.
11896 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11898 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11900 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11902 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11904 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11906 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11908 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11909 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11910 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11913 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11916 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11917 * config.make.in (have-cpp-asm-debuginfo): Removed.
11918 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11919 * configure: Regenerated.
11921 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11924 * stdio-common/printf_fp.c: Include <stdbool.h> and
11926 (___printf_fp): Determine rounding using get_rounding_mode and
11928 * stdio-common/tst-printf-round.c: New file.
11929 * stdio-common/Makefile (tests): Add tst-printf-round.
11930 (link-libm): New variable.
11931 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11933 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11936 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11937 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11939 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11942 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11944 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11945 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11946 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11947 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11949 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11952 * include/rounding-mode.h: New file.
11953 * sysdeps/generic/get-rounding-mode.h: Likewise.
11954 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11955 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11956 (MAX_VALUE): New macro.
11957 (MIN_VALUE): Likewise.
11958 (overflow_value): New function.
11959 (underflow_value): Likewise.
11960 (round_and_return): Use overflow_value and underflow_value to
11961 determine return values in overflow and underflow cases. Use
11962 round_away to determine rounding depending on rounding mode.
11963 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11964 determine return values in overflow and underflow cases.
11965 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11966 (struct test_results): New structure.
11967 (struct test): Use struct test_results to store expected results
11968 for all rounding modes.
11969 (TEST): Include expected results for all rounding modes.
11970 (test_in_one_mode): New function.
11971 (do_test): Use test_in_one_mode to compute and check results.
11972 Check results for all rounding modes.
11973 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11976 2012-12-09 Allan McRae <allan@archlinux.org>
11978 * sysdeps/i386/fpu/libm-test-ulps: Update
11980 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11982 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11983 (_G_int32_t): Likewise.
11984 (_G_uint16_t): Likewise.
11985 (_G_uint32_t): Likewise.
11986 (_G_HAVE_BOOL): Likewise.
11987 (_G_HAVE_ATEXIT): Likewise.
11988 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11989 (_G_HAVE_IO_FILE_OPEN): Likewise.
11990 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11991 (_G_int32_t): Likewise.
11992 (_G_uint16_t): Likewise.
11993 (_G_uint32_t): Likewise.
11994 (_G_HAVE_BOOL): Likewise.
11995 (_G_HAVE_ATEXIT): Likewise.
11996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11997 (_G_HAVE_IO_FILE_OPEN): Likewise.
11998 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11999 (_G_int32_t): Likewise.
12000 (_G_uint16_t): Likewise.
12001 (_G_uint32_t): Likewise.
12002 (_G_HAVE_BOOL): Likewise.
12003 (_G_HAVE_ATEXIT): Likewise.
12004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12005 (_G_HAVE_IO_FILE_OPEN): Likewise.
12007 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12009 * csu/libc-tls.c: Update copyright years.
12011 2012-09-10 Joseph Myers <joseph@codesourcery.com>
12013 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12014 [!_G_USING_THUNKS]: Remove conditional code.
12015 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12016 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12018 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12019 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12020 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12021 (_G_VTABLE_LABEL_PREFIX): Likewise.
12022 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12023 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12024 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12025 (_G_VTABLE_LABEL_PREFIX): Likewise.
12026 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12027 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12028 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12029 (_G_VTABLE_LABEL_PREFIX): Likewise.
12030 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12032 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12034 * libio/Makefile: Include ../Makeconfig before tests.
12035 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12036 only if $(build-shared) is yes.
12038 * iconv/gconv_db.c: Update copyright years.
12040 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12042 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12043 unwind info if defined PIC. Fix special cases description.
12044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12046 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12048 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12050 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12052 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12054 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12057 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12058 (LDLIBS-tst-chk4): This.
12059 (LDFLAGS-tst-chk5): Renamed to ...
12060 (LDLIBS-tst-chk5): This.
12061 (LDFLAGS-tst-chk6): Renamed to ...
12062 (LDLIBS-tst-chk6): This.
12063 (LDFLAGS-tst-lfschk4): Renamed to ...
12064 (LDLIBS-tst-lfschk4): This.
12065 (LDFLAGS-tst-lfschk5): Renamed to ...
12066 (LDLIBS-tst-lfschk5): This.
12067 (LDFLAGS-tst-lfschk6): Renamed to ...
12068 (LDLIBS-tst-lfschk6): This.
12070 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12071 on $(common-objpfx)soversions.mk.
12073 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12076 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12079 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12081 * malloc/arena.c (arena_get_retry): New function that gets
12082 another arena for the caller to try its request on.
12083 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12084 current arena cannot fulfill the request.
12085 (__libc_memalign): Likewise.
12086 (__libc_memalign): Likewise.
12087 (__libc_pvalloc): Likewise.
12088 (__libc_calloc): Likewise.
12090 2012-09-05 John Tobey <john.tobey@gmail.com>
12093 * manual/arith.texi (Operations on Complex): Fix description
12094 of carg branch cut.
12096 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12099 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12103 * manual/memory.texi (Memory): Make order of menu items match
12106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12108 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12109 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12110 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12114 * csu/libc-tls.c (static_dtv): Renamed to ...
12115 (_dl_static_dtv): This. Make it global.
12116 (_dl_initial_dtv): Removed.
12117 (__libc_setup_tls): Updated.
12118 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12119 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12122 2012-09-06 Petr Machata <pmachata@redhat.com>
12124 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12125 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12126 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12127 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12129 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12132 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12133 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12136 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12139 * Makeconfig (link-static-before-libc): Replace $(+prector)
12141 (link-static-after-libc): Replace $(+postctor) with
12143 (link-bounded): Replace $(+prector)/$(+postctor) with
12144 $(+prectorT)/$(+postctorT).
12145 (+prectorT): New macro.
12146 (+postctorT): Likewise.
12148 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12150 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12151 (round_str): Handle values above the maximum for IBM long double
12153 * stdlib/tst-strtod-round.c (tests): Regenerated.
12155 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12157 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12159 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12160 zarch_nohighgprs around the zarch optimized routines.
12161 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12162 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12166 2012-09-05 David S. Miller <davem@davemloft.net>
12168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12170 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12171 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12172 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12173 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12176 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12178 * malloc/arena.c: Fold copyright years.
12179 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12181 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12183 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12185 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12187 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12189 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12191 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12192 change internal state upon failure.
12194 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12196 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12197 * malloc/memusage.c (mmap): Likewise.
12198 (mmap64, mremap): Likewise. Adjust name in comment.
12200 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12202 * libio/fileops.c: Fix typos in comments.
12203 * libio/oldfileops.c: Likewise.
12204 * libio/wfileops.c: Likewise.
12206 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12209 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12210 (tst-malloc-usable-ENV): Set environment for test case.
12211 * malloc/hooks.c (malloc_check_get_size): New function to get
12213 * malloc/malloc.c (musable): Use malloc_check_get_size.
12214 * malloc/tst-malloc-usable.c: New test case.
12216 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12218 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12220 2012-09-05 Allan McRae <allan@archlinux.org>
12223 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12224 determine header location.
12225 * configure: Regenerated.
12227 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12229 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12231 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12232 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12234 (test): Regenerate.
12236 2012-09-04 David S. Miller <davem@davemloft.net>
12238 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12239 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12240 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12242 2012-09-04 Florian Weimer <fweimer@redhat.com>
12244 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12247 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12249 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12252 * libio/iogetdelim.c: Include <limits.h>.
12253 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12254 + len + 1 would overflow.
12256 2012-09-03 Andreas Jaeger <aj@suse.de>
12258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12259 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12263 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12264 Add s_sinf-sse2, s_conf-sse2.
12266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12267 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12268 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12269 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12271 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12272 for using routine as __sinf_ia32.
12273 Use macro for function declaration and weak_alias.
12274 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12275 for using routine as __cosf_ia32.
12276 Use macro for function declaration and weak_alias.
12278 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12279 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12281 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12282 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12285 * math/libm-test.inc (cos_test): Add more test cases.
12286 (sin_test): Likewise.
12287 (sincos_test): Likewise.
12289 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12292 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12294 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12296 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12299 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12300 first element of the GOT.
12301 (elf_machine_load_address): Return the difference between
12302 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12304 2012-09-01 Allan McRae <allan@archlinux.org>
12307 * configure.in (AWK): Require gawk version 3.0 or later.
12308 * configure: Regenerated.
12310 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12312 * sysdeps/unix/sysv/linux/kernel-features.h
12313 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12315 [__NR_clock_getres]: Make code unconditional.
12316 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12317 (clock_getcpuclockid): Remove code left unreachable by removal of
12319 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12320 code unconditional.
12321 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12322 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12323 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12324 Make code unconditional.
12325 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12327 * sysdeps/unix/sysv/linux/clock_settime.c
12328 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12330 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12331 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12333 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12336 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12337 scripts/test-installation.pl.
12339 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12340 and $ld_so_version if it is set.
12342 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12346 failure if reading from procfs failed.
12347 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12349 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12351 * sysdeps/unix/sysv/linux/kernel-features.h
12352 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12353 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12354 Remove conditional code.
12355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12356 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12357 Remove conditional code.
12358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12359 * sysdeps/unix/sysv/linux/i386/fxstat.c
12360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12362 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12365 * sysdeps/unix/sysv/linux/i386/lxstat.c
12366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12368 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12369 Remove conditional code.
12370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12371 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12372 Remove conditional code.
12373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12375 <kernel-features.h>.
12376 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12378 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12379 Remove conditional code.
12380 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12381 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12382 Remove conditional.
12384 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12387 * NEWS: Add fixed bug number.
12389 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12392 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12393 underflowing exponent in case of negative sign.
12394 * stdlib/tst-strtod-round-data: Add more tests.
12395 * stdlib/tst-strtod-round.c (tests): Regenerated.
12398 * stdlib/strtod_l.c (NDIG): Remove.
12399 (HEXNDIG): Likewise.
12400 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12401 smallest representable value.
12402 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12403 lie within an exact representation of 1/2 ulp of the result.
12404 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12406 (TENS_P9_IDX): Define unconditionally.
12407 (TENS_P9_SIZE): Likewise.
12408 (TENS_P10_IDX): Likewise.
12409 (TENS_P10_SIZE): Likewise.
12410 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12411 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12412 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12413 entries for 10^2^13 and 10^2^14.
12414 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12415 (TENS_P13_IDX): Define.
12416 (TENS_P13_SIZE): Likewise.
12417 (TENS_P14_IDX): Likewise.
12418 (TENS_P14_SIZE): Likewise.
12419 (_fpioconst_pow10): Change array size to
12420 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12422 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12423 1024]: Add entries for 10^2^13 and 10^2^14.
12424 [LAST_POW10 > _LAST_POW10]: Remove #error.
12425 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12426 (_fpioconst_pow10): Change array size to
12427 FPIOCONST_POW10_ARRAY_SIZE.
12428 * stdlib/gen-fpioconst.c: New file.
12429 * stdlib/gen-tst-strtod-round.c: Likewise.
12430 * stdlib/tst-strtod-round-data: Likewise.
12431 * stdlib/tst-strtod-round.c: Likewise.
12432 * stdlib/Makefile (tests): Add tst-strtod-round.
12435 * stdlib/strtod_l.c: Include <stdint.h>.
12436 (NDEBUG): Do not define.
12437 (round_and_return): Change EXPONENT parameter to type intmax_t.
12438 Rearrange calculations to avoid internal overflow possibilities.
12439 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12440 Rearrange calculations to avoid internal overflow possibilities.
12441 Assert that number fits inside MPNSIZE limbs.
12442 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12443 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12444 calculations and add assertions to avoid internal overflow
12445 possibilities. Add casts to avoid signed/unsigned operations.
12446 * stdlib/tst-strtod-overflow.c: New file.
12447 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12449 2012-08-25 Marek Polacek <polacek@redhat.com>
12451 * time/time.h: Fix some typos in comments.
12453 2012-08-23 Roland McGrath <roland@hack.frob.com>
12455 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12456 * posix/tst-rfc3484-2.c: Likewise.
12457 * posix/tst-rfc3484-3.c: Likewise.
12459 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12461 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12462 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12464 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12466 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12467 #include of fxstatat64.c.
12469 2012-08-22 Roland McGrath <roland@hack.frob.com>
12471 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12472 * shadow/getspent_r.c: Likewise.
12473 * shadow/getspnam.c: Likewise.
12474 * shadow/getspnam_r.c: Likewise.
12475 * gshadow/getsgent.c: Likewise.
12476 * gshadow/getsgent_r.c: Likewise.
12477 * gshadow/getsgnam.c: Likewise.
12478 * gshadow/getsgnam_r.c: Likewise.
12479 * inet/getnetbyad.c: Likewise.
12480 * inet/getnetbyad_r.c: Likewise.
12481 * inet/getnetbynm.c: Likewise.
12482 * inet/getnetbynm_r.c: Likewise.
12483 * inet/getnetent.c: Likewise.
12484 * inet/getnetent_r.c: Likewise.
12485 * inet/getproto.c: Likewise.
12486 * inet/getproto_r.c: Likewise.
12487 * inet/getprtent.c: Likewise.
12488 * inet/getprtent_r.c: Likewise.
12489 * inet/getprtname.c: Likewise.
12490 * inet/getprtname_r.c: Likewise.
12491 * inet/getrpcbyname.c: Likewise.
12492 * inet/getrpcbyname_r.c: Likewise.
12493 * inet/getrpcbynumber.c: Likewise.
12494 * inet/getrpcbynumber_r.c: Likewise.
12495 * inet/getrpcent.c: Likewise.
12496 * inet/getrpcent_r.c: Likewise.
12497 * inet/getaliasent.c: Likewise.
12498 * inet/getaliasent_r.c: Likewise.
12499 * inet/getaliasname.c: Likewise.
12500 * inet/getaliasname_r.c: Likewise.
12501 * nscd/getgrgid_r.c: Likewise.
12502 * nscd/getgrnam_r.c: Likewise.
12503 * nscd/gethstbyad_r.c: Likewise.
12504 * nscd/gethstbynm3_r.c: Likewise.
12505 * nscd/getpwnam_r.c: Likewise.
12506 * nscd/getpwuid_r.c: Likewise.
12507 * nscd/getsrvbynm_r.c: Likewise.
12508 * nscd/getsrvbypt_r.c: Likewise.
12509 * nscd/gai.c: Likewise.
12511 * configure.in (build_nscd): New substituted variable, set
12512 by --disable-build-nscd and defaults to $use_nscd.
12513 * configure: Regenerated.
12514 * config.make.in (build-nscd): New substituted variable.
12515 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12516 Change conditional to require [$(build-nscd) = yes] as well.
12517 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12520 * configure.in (use_nscd): New substituted variable, set by
12521 --disable-nscd. If enabled, define USE_NSCD.
12522 * configure: Regenerated.
12523 * config.h.in: Add USE_NSCD.
12524 * config.make.in (use-nscd): New substituted variable.
12525 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12526 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12527 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12528 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12529 (CFLAGS-getgrnam_r.c): Likewise.
12530 (CFLAGS-initgroups.c): Likewise.
12531 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12532 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12534 * inet/getnetgrent_r.c
12535 (nscd_setnetgrent): New function, broken out of ...
12536 (setnetgrent): ... here. Call it.
12537 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12538 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12539 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12540 * nscd/Makefile (routines, aux): Move definitions after include of
12541 Makeconfig. Conditionalize on [$(use-nscd) != no].
12542 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12543 Conditionalize on [USE_NSCD].
12544 (is_nscd, nscd_init_cb): Likewise.
12545 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12546 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12547 * nss/nss_db/db-init.c: Likewise.
12548 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12550 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12551 (make_request): Use it.
12552 (cache_valid_p): New function.
12553 (__check_pf): Use it.
12554 * NEWS: Add item for --disable-nscd.
12556 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12558 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12559 to support sed >= 4.2.1-20-ga9bf076.
12560 * configure: Regenerated.
12562 2012-08-22 Roland McGrath <roland@hack.frob.com>
12564 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12565 Conditionalize whole body on [IREL].
12567 2012-08-22 Jeff Law <law@redhat.com>
12570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12571 if the family is PF_UNSPEC.
12573 2012-08-22 Mike Frysinger <vapier@gentoo.org>
12575 * Makerules (lib-version): Rename from V.
12576 (install-lib-nosubdir): Change V to lib-version.
12578 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12581 * powerpc32/power6/wcschr.c: New file.
12582 * powerpc32/power6/wcscpy.c: New file.
12583 * powerpc32/power6/wcsrchr.c: New file.
12584 * powerpc64/power6/wcschr.c: New file.
12585 * powerpc64/power6/wcscpy.c: New file.
12586 * powerpc64/power6/wcsrchr.c: New file.
12588 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12590 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12591 (two_way_short_needle): Use it.
12592 * string/strstr.c (AVAILABLE1_USES_J): Define.
12593 * string/strcasestr.c: Likewise.
12595 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12597 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12600 * NEWS: Add an entry.
12601 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12602 define their defaults.
12603 (two_way_short_needle): Detect end-of-string on-the-fly.
12604 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12605 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12606 * string/bug-strcasestr1.c: New test.
12607 * string/Makefile: Run it.
12609 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12612 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12613 the first character.
12615 2012-08-21 Roland McGrath <roland@hack.frob.com>
12617 * csu/elf-init.c (__libc_csu_irel): Function removed.
12618 * csu/libc-start.c (apply_irel): New function.
12619 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12621 2012-08-21 Joseph Myers <joseph@codesourcery.com>
12623 * sysdeps/unix/sysv/linux/kernel-features.h
12624 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12625 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12626 <kernel-features.h>.
12627 [__NR_fadvise64_64]: Make code unconditional.
12628 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12629 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12630 !__NR_fadvise64_64)]: Likewise.
12631 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12632 !__NR_fadvise64_64))]: Likewise.
12633 [__NR_fadvise64]: Make code unconditional.
12634 [!__NR_fadvise64]: Remove conditional code.
12635 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12636 <kernel-features.h>.
12637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12642 not include <kernel-features.h>.
12643 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12645 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12647 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12648 include <kernel-features.h>.
12649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12654 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12657 slight instruction rearrangements per scrollpipe analysis.
12658 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12660 2012-08-20 Roland McGrath <roland@hack.frob.com>
12662 * manual/syslog.texi (syslog; vsyslog, closelog):
12663 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12664 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12666 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12667 DSOCAPS to match condition on defining it.
12669 2012-08-20 Joseph Myers <joseph@codesourcery.com>
12671 * sysdeps/unix/sysv/linux/kernel-features.h
12672 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12683 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12684 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12686 * sysdeps/unix/sysv/linux/kernel-features.h
12687 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12688 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12690 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12691 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12692 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12693 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12694 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12695 Make code unconditional.
12696 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12697 (__mmap64) [!__NR_mmap2]: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12699 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12700 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12701 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12702 [__NR_mmap2]: Make code unconditional.
12703 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12704 (__mmap64) [!__NR_mmap2]: Likewise.
12706 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12708 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12710 2012-08-18 Andreas Jaeger <aj@suse.de>
12712 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12714 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12716 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12717 * include/unistd.h (__have_sock_cloexec): Likewise.
12718 (__have_pipe2): Likewise.
12719 (__have_dup3): Likewise.
12721 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12724 * include/unistd.h (__have_pipe2): Change define into an extern int.
12725 (__have_dup3): Likewise.
12726 * socket/have_sock_cloexec.c: Include fcntl.h.
12727 (__have_pipe2): New variable.
12728 (__have_dup3): Likewise.
12730 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12732 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12734 2012-08-17 Marek Polacek <polacek@redhat.com>
12736 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12737 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12739 2012-08-17 Roland McGrath <roland@hack.frob.com>
12741 * configure.in: Add AC_SUBST for sysheaders.
12742 * configure: Regenerated.
12743 * config.make.in (sysheaders): New substituted variable.
12745 * sysdeps/unix/mkfifo.c: Moved ...
12746 * sysdeps/posix/mkfifo.c: ... here.
12747 * sysdeps/unix/mkfifoat.c: Moved ...
12748 * sysdeps/posix/mkfifoat.c: ... here.
12750 * sysdeps/unix/utime.c: Moved ...
12751 * sysdeps/posix/utime.c: ... here.
12753 * sysdeps/unix/time.c: Moved ...
12754 * sysdeps/posix/time.c: ... here.
12755 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12756 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12758 * sysdeps/unix/nice.c: Moved ...
12759 * sysdeps/posix/nice.c: ... here.
12761 * sysdeps/unix/alarm.c: Moved ...
12762 * sysdeps/posix/alarm.c: ... here.
12764 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12766 2012-08-17 Jeff Law <law@redhat.com>
12768 * intl/Makefile (codeset_mo): New variable.
12769 ($(codeset_mo)): New target.
12770 (tst-codeset.out): Depend on that. Remove explicit rule.
12771 (tst-gettext3.out, tst-gettext5.out): Likewise.
12772 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12773 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12774 * intl/tst-codeset.sh: Remove.
12775 * intl/tst-gettext3.sh: Likewise.
12776 * intl/tst-gettext5.sh: Likewise.
12778 2012-08-17 Roland McGrath <roland@hack.frob.com>
12780 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12781 * sysdeps/unix/syscalls.list: ... here.
12783 * sysdeps/posix/getaddrinfo.c
12784 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12785 (gaiconf_init, gaiconf_reload): Use them.
12786 [!_STATBUF_ST_NSEC]
12787 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12788 Define using time_t rather than struct timespec.
12790 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12791 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12793 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12795 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12796 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12799 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12800 __libc_cleanup_push argument.
12802 * bits/param.h: New file.
12803 * misc/sys/param.h: New file.
12804 * include/sys/param.h: New file.
12805 * misc/Makefile (headers): Add bits/param.h.
12806 * sysdeps/generic/sys/param.h: File removed.
12807 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12808 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12809 * sysdeps/mach/hurd/bits/param.h: New file.
12810 * sysdeps/mach/hurd/sys/param.h: File removed.
12812 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12815 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12817 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12818 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12821 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12822 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12823 rather than -D_IO_MTSAFE_IO conditionally.
12824 * stdio-common/Makefile (CPPFLAGS): Likewise.
12825 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12826 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12827 Use $(libio-mtsafe).
12828 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12829 of -D_IO_MTSAFE_IO.
12830 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12831 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12832 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12833 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12834 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12835 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12836 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12837 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12838 (CFLAGS-fread_u_chk.c): Likewise.
12839 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12840 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12841 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12842 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12843 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12844 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12845 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12846 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12847 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12849 * libio/Makefile: Test [$(libc-reentrant) = yes]
12850 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12853 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12854 * sysdeps/pthread/configure: File removed.
12855 * sysdeps/pthread/Makeconfig: New file.
12856 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12857 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12859 2012-08-16 Gary Benson <gbenson@redhat.com>
12861 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12862 unmapping the first object in a namespace.
12864 2012-08-16 Roland McGrath <roland@hack.frob.com>
12866 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12867 (__internal_setnetgrent): ... this. Add internal_function to
12868 definition. Add libc_hidden_def.
12869 (setnetgrent): Update caller.
12870 (internal_endnetgrent): Renamed to ...
12871 (__internal_endnetgrent): ... this. Add internal_function to
12872 definition. Add libc_hidden_def.
12873 (endnetgrent): Update caller.
12874 (internal_getnetgrent_r): Renamed to ...
12875 (__internal_getnetgrent_r): ... this. Add internal_function to
12876 definition. Add libc_hidden_def.
12877 (__getnetgrent_r): Update caller.
12878 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12880 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12882 * stdlib/longlong.h: Update from GCC.
12884 2012-08-16 Roland McGrath <roland@hack.frob.com>
12886 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12887 on _QL, which is set by umul_ppmm but never used.
12888 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12889 variables, which are set by GMP macros but never used.
12890 * stdio-common/_itowa.c (_itowa): Likewise.
12891 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12892 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12894 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12896 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12897 struct La_sh_regs is not constant.
12898 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12899 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12900 and struct La_sparc64_regs are not constant.
12902 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12904 * sysdeps/unix/sysv/linux/kernel-features.h
12905 (__ASSUME_POSIX_TIMERS): Remove.
12906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12908 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12909 Make code unconditional.
12910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12911 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12912 Make code unconditional.
12913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12914 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12915 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12917 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12918 Make code unconditional.
12919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12920 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12921 (__libc_missing_posix_timers): Remove.
12923 2012-08-15 Roland McGrath <roland@hack.frob.com>
12925 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12926 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12928 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12930 * elf/dl-sym.c: Include <stdlib.h>.
12932 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12933 constants, which avoids warnings in 32-bit builds.
12935 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12936 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12938 * misc/lseek.c: File moved to ...
12939 * io/lseek.c: ... here.
12941 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12943 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12944 shifting LEN more than 31 bits at once.
12946 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12949 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12950 segmentation fault for a case of two empty input strings.
12951 * string/test-strncasecmp.c (check1): Renamed to...
12952 (bz12205): ...this.
12953 (bz14195): Add new testcase for two empty input strings and N > 0.
12954 (test_main): Call new testcase, adapt for renamed function.
12956 2012-08-15 Andreas Jaeger <aj@suse.de>
12959 * crypt/md5test2.c: New test, based on test supplied by Serge
12960 Belyshev <belyshev@depni.sinp.msu.ru>.
12961 * crypt/Makefile (xtests): Add md5test-giant..
12962 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12964 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12967 * crypt/md5.c (md5_process_block): Don't assume the buffer
12968 length is less than 2**32.
12969 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12970 length is less than 2**64.
12972 2012-08-15 Roland McGrath <roland@hack.frob.com>
12974 * string/str-two-way.h: Include <sys/param.h>.
12975 (MAX): Macro removed.
12977 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12978 Move #define and #undef of memmove to just before and after
12979 including <string.h>.
12981 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12982 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12983 and after including <string.h>. Move declarations of
12984 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12985 to before #include "string/memmove.c".
12987 * include/dirent.h: Declare __getdirentries.
12989 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12990 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12992 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12994 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12995 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12996 * sysdeps/i386/configure: Regenerated.
12997 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12998 STABS_CURRENT_FILE, and STABS_FUN.
12999 (END): Remove call to STABS_FUN_END.
13000 (STABS_CURRENT_FILE1): Delete.
13001 (STABS_CURRENT_FILE): Likewise.
13002 (STABS_FUN): Likewise.
13003 (STABS_FUN_END): Likewise.
13004 (STABS_FUN2): Likewise.
13005 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13006 * sysdeps/x86_64/configure: Regenerated.
13008 2012-08-14 Roland McGrath <roland@hack.frob.com>
13010 * elf/dl-open.c: Include <atomic.h>.
13011 * elf/dl-lookup.c: Likewise.
13013 2012-08-14 Joseph Myers <joseph@codesourcery.com>
13015 * sysdeps/unix/sysv/linux/kernel-features.h
13016 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13017 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13019 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13021 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13022 condition on __ASSUME_CLONE_THREAD_FLAGS.
13024 2012-08-14 Andreas Jaeger <aj@suse.de>
13026 * sysdeps/i386/fpu/libm-test-ulps: Update.
13028 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13030 * include/atomic.h (atomic_exchange_and_add): Split into ...
13031 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13034 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13038 2012-08-13 Jeff Law <law@redhat.com>
13040 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13041 null byte in the output string.
13043 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13045 * sysdeps/unix/sysv/linux/kernel-features.h
13046 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13047 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13048 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13049 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13050 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13051 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13052 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13054 2012-08-09 Jeff Law <law@redhat.com>
13057 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13058 When avoid_arena is set, don't retry in the that arena. Pick the
13059 next one, whatever it might be.
13060 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13061 (arena_lock): Pass in new parameter to arena_get2.
13062 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13064 (__libc_malloc): Unify retrying after main arena failure with
13065 __libc_memalign version.
13066 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13068 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13071 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13072 to __redirect_strstr.
13073 (__strstr_sse42): Use typeof __redirect_strstr.
13074 (__strstr_ia32): Likewise.
13075 (__libc_strstr): New prototype.
13076 (strstr): Renamed to ...
13077 (__libc_strstr): This.
13078 (strstr): New strong alias of __libc_strstr.
13079 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13080 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13083 (__libc_time): New prototype.
13084 (time_ifunc): Replace time with __libc_time.
13085 (time): New strong alias and hidden definition of __libc_time.
13086 (__GI_time): Remove strong alias.
13087 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13088 Include <stddef.h>.
13089 (memmove): Redefined to __redirect_memmove.
13090 (__memmove_sse2): Use typeof __redirect_memmove.
13091 (__memmove_ssse3): Likewise.
13092 (__memmove_ssse3_back): Likewise.
13093 (__libc_memmove): New prototype.
13094 (memmove): Renamed to ...
13095 (__libc_memmove): This.
13096 (memmove): New strong alias of __libc_memmove.
13098 2012-08-08 Mark Salter <msalter@redhat.com>
13101 (R_MN10300_TLS_GD): Define.
13102 (R_MN10300_TLS_LD): Likewise.
13103 (R_MN10300_TLS_LDO): Likewise.
13104 (R_MN10300_TLS_GOTIE): Likewise.
13105 (R_MN10300_TLS_IE): Likewise.
13106 (R_MN10300_TLS_LE): Likewise.
13107 (R_MN10300_TLS_DTPMOD): Likewise.
13108 (R_MN10300_TLS_DTPOFF): Likewise.
13109 (R_MN10300_TLS_TPOFF): Likewise.
13110 (R_MN10300_SYM_DIFF): Likewise.
13111 (R_MN10300_ALIGN): Likewise.
13112 (R_MN10300_NUM): Update.
13114 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13119 2012-08-08 Roland McGrath <roland@hack.frob.com>
13121 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13123 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13124 sysdeps/unix -> sysdeps/posix move.
13125 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13127 2012-08-07 Allan McRae <allan@archlinux.org>
13130 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13131 (SUNOS_CPP): Likewise.
13132 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13134 (open_input): Call CPP using execvp.
13136 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13138 * sysdeps/unix/sysv/linux/kernel-features.h
13139 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13140 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13141 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13142 (__ASSUME_WAITID_SYSCALL): Likewise.
13143 * sysdeps/unix/sysv/linux/dl-execstack.c
13144 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13145 code unconditional.
13146 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13149 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13150 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13152 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13154 [__ASSUME_WAITID_SYSCALL]: Likewise.
13155 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13157 2012-08-07 Roland McGrath <roland@hack.frob.com>
13159 * sysdeps/unix/closedir.c: Renamed to ...
13160 * sysdeps/posix/closedir.c: ... here.
13161 * sysdeps/unix/dirfd.c: Renamed to ...
13162 * sysdeps/posix/dirfd.c: ... here.
13163 * sysdeps/unix/dirstream.h: Renamed to ...
13164 * sysdeps/posix/dirstream.h: ... here.
13165 * sysdeps/unix/fdopendir.c: Renamed to ...
13166 * sysdeps/posix/fdopendir.c: ... here.
13167 * sysdeps/unix/opendir.c: Renamed to ...
13168 * sysdeps/posix/opendir.c: ... here.
13169 * sysdeps/unix/readdir.c: Renamed to ...
13170 * sysdeps/posix/readdir.c: ... here.
13171 * sysdeps/unix/readdir_r.c: Renamed to ...
13172 * sysdeps/posix/readdir_r.c: ... here.
13173 * sysdeps/unix/rewinddir.c: Renamed to ...
13174 * sysdeps/posix/rewinddir.c: ... here.
13175 * sysdeps/unix/seekdir.c: Renamed to ...
13176 * sysdeps/posix/seekdir.c: ... here.
13177 * sysdeps/unix/telldir.c: Renamed to ...
13178 * sysdeps/posix/telldir.c: ... here.
13179 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13180 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13181 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13182 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13185 * bits/fcntl.h: ... here.
13187 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13189 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13190 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13191 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13192 (struct flock): Move l_start, l_len to the beginning.
13193 Use __pid_t for l_pid.
13194 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13195 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13196 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13197 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13198 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13199 [__USE_LARGEFILE64] (struct flock64): New type.
13200 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13203 * bits/dirent.h: ... here.
13205 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13206 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13208 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13211 Change from 2.6.0 to 2.6.16.
13212 * sysdeps/unix/sysv/linux/configure: Regenerated.
13213 * sysdeps/unix/sysv/linux/kernel-features.h
13214 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13215 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13217 (__ASSUME_UTIMES): Likewise.
13218 (__ASSUME_CLONE_STOPPED): Remove.
13219 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13220 architectures, not kernel version.
13221 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13222 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13223 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13224 (__ASSUME_WAITID_SYSCALL): Likewise.
13225 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13226 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13227 * README: State 2.6.16 as minimum Linux kernel version. Do not
13228 refer to older versions.
13230 2012-08-06 Roland McGrath <roland@hack.frob.com>
13232 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13233 Define alphasort64 as an alias.
13234 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13235 Define versionsort64 as an alias.
13236 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13237 Define scandir64 as an alias.
13238 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13239 Define scandirat64 as an alias.
13240 * dirent/alphasort64.c (alphasort64):
13241 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13242 * dirent/versionsort64.c: Likewise.
13243 * dirent/scandir64.c: Likewise.
13244 * dirent/scandirat64.c: Likewise.
13245 * sysdeps/wordsize-64/alphasort.c: File removed.
13246 * sysdeps/wordsize-64/alphasort64.c: File removed.
13247 * sysdeps/wordsize-64/scandir.c: File removed.
13248 * sysdeps/wordsize-64/scandir64.c: File removed.
13249 * sysdeps/wordsize-64/scandirat.c: File removed.
13250 * sysdeps/wordsize-64/scandirat64.c: File removed.
13251 * sysdeps/wordsize-64/versionsort.c: File removed.
13252 * sysdeps/wordsize-64/versionsort64.c: File removed.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13260 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13262 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13264 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13266 [defined __arch64__ || defined __sparcv9]
13267 (__INO_T_MATCHES_INO64_T): New macro.
13268 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13269 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13270 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13271 * sysdeps/unix/sysv/linux/bits/dirent.h
13272 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13273 (_DIRENT_MATCHES_DIRENT64): New macro.
13275 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13276 Define lockf64 as an alias.
13277 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13278 Define fseeko64 as an alias.
13279 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13280 Define ftello64 as an alias.
13281 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13282 Define _IO_fgetpos64 and fgetpos64 as aliases.
13283 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13284 Define _IO_fsetpos64 and fsetpos64 as aliases.
13285 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13286 Conditionalize body on this.
13287 * libio/fseeko64.c: Likewise.
13288 * libio/ftello64.c: Likewise.
13289 * libio/iofgetpos64.c: Likewise.
13290 * libio/iofsetpos64.c: Likewise.
13291 * sysdeps/wordsize-64/lockf.c: File removed.
13292 * sysdeps/wordsize-64/lockf64.c: File removed.
13293 * sysdeps/wordsize-64/fseeko.c: File removed.
13294 * sysdeps/wordsize-64/fseeko64.c: File removed.
13295 * sysdeps/wordsize-64/ftello.c: File removed.
13296 * sysdeps/wordsize-64/ftello64.c: File removed.
13297 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13298 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13299 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13300 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13312 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13314 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13316 [defined __arch64__ || defined __sparcv9]
13317 (__OFF_T_MATCHES_OFF64_T): New macro.
13318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13319 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13321 (__OFF_T_MATCHES_OFF64_T): New macro.
13323 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13325 * stdlib/secure-getenv.c (__secure_getenv): Replace
13326 GLIBC_2_16 with GLIBC_2_17.
13328 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13330 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13333 2012-08-03 David S. Miller <davem@davemloft.net>
13335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13337 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13341 (__ASSUME_CORRECT_SI_PID): Likewise.
13342 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13343 (__ASSUME_TMPFS_NAME): Likewise.
13344 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13345 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13347 (HAVE_AUX_SECURE): Make definition unconditional.
13348 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13349 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13351 2012-08-03 Roland McGrath <roland@hack.frob.com>
13353 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13354 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13355 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13356 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13357 __eloop_threshold instead of SYMLOOP_MAX.
13359 * sysdeps/generic/eloop-threshold.h: New file.
13360 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13362 * elf/chroot_canon.c (chroot_canon): Likewise.
13364 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13368 Change to 2.6.0 everywhere.
13369 * sysdeps/unix/sysv/linux/configure: Regenerated.
13370 * sysdeps/unix/sysv/linux/kernel-features.h
13371 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13372 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13374 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13375 (__ASSUME_FUTEX_REQUEUE): Remove.
13376 (__ASSUME_STATFS64): Define unconditionally.
13377 (__ASSUME_AT_SECURE): Likewise.
13378 (__ASSUME_CORRECT_SI_PID): Likewise.
13379 (__ASSUME_TGKILL): Define without depending on kernel version for
13381 (__ASSUME_UTIMES): Likewise.
13382 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13384 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13385 (__ASSUME_TMPFS_NAME): Likewise.
13386 * README: Update reference to Linux kernel versions.
13388 2012-08-02 Marek Polacek <polacek@redhat.com>
13391 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13392 libc_cv_asm_type_prefix with %.
13393 * configure: Regenerated.
13394 * include/libc-symbols.h: Remove comment about
13395 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13396 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13397 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13398 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13399 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13400 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13401 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13402 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13403 * elf/tst-unique2mod1.c: Likewise.
13404 * elf/tst-unique1mod2.c: Likewise.
13405 * elf/tst-unique1mod1.c: Likewise.
13406 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13407 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13408 Replace ASM_TYPE_DIRECTIVE with .type.
13409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13410 * sysdeps/i386/sysdep.h: Likewise.
13411 * sysdeps/x86_64/sysdep.h: Likewise.
13412 * sysdeps/sh/sysdep.h: Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13414 Do not define ASM_TYPE_DIRECTIVE.
13415 * sysdeps/powerpc/sysdep.h: Likewise.
13416 * sysdeps/powerpc/powerpc32/sysdep.h:
13417 Replace ASM_TYPE_DIRECTIVE with .type.
13418 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13419 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13420 * sysdeps/i386/fpu/e_powf.S: Likewise.
13421 * sysdeps/i386/fpu/e_expl.S: Likewise.
13422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13423 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13424 * sysdeps/i386/fpu/e_pow.S: Likewise.
13425 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13427 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13428 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13429 * sysdeps/i386/fpu/e_log2.S: Likewise.
13430 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13431 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13432 * sysdeps/i386/fpu/e_powl.S: Likewise.
13433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13434 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13435 * sysdeps/i386/fpu/e_logl.S: Likewise.
13436 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13441 * sysdeps/i386/fpu/e_log.S: Likewise.
13442 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13443 * sysdeps/i386/fpu/e_logf.S: Likewise.
13444 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13445 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13446 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13447 * sysdeps/i386/fpu/e_log10.S: Likewise.
13448 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13450 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13451 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13453 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13454 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13455 * sysdeps/i386/i686/strtok.S: Likewise.
13456 * sysdeps/i386/i386-mcount.S: Likewise.
13457 * sysdeps/i386/strtok.S: Likewise.
13458 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13462 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13463 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13464 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13465 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13466 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13467 * sysdeps/x86_64/_mcount.S: Likewise.
13468 * sysdeps/x86_64/strtok.S: Likewise.
13469 * sysdeps/sh/_mcount.S: Likewise.
13471 2012-08-01 Roland McGrath <roland@hack.frob.com>
13473 * libio/iofopen.c: Include <fcntl.h>.
13474 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13475 (_IO_fopen64, fopen64): Define as aliases.
13476 * libio/iofopen64.c: Include <fcntl.h>.
13477 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13478 Conditionalize body on this.
13479 * sysdeps/wordsize-64/iofopen.c: File removed.
13480 * sysdeps/wordsize-64/iofopen64.c: File removed.
13482 2012-08-01 Marek Polacek <polacek@redhat.com>
13484 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13485 Use dlfcn directly instead of a variable.
13486 (binfmt-subdir): Do not define.
13489 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13492 Remove all definitions.
13493 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13494 <kernel-features.h>.
13495 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13496 (miss_F_GETOWN_EX): Remove all definitions.
13497 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13499 [!__ASSUME_FCNTL64]: Remove conditional code.
13500 [__ASSUME_FCNTL64]: Make code unconditional.
13501 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13502 <kernel-features.h>.
13503 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13504 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13505 (lockf64) [__NR_fcntl64]: Make code unconditional.
13506 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13508 * sysdeps/unix/sysv/linux/kernel-features.h
13509 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13510 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13511 Make code unconditional.
13512 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13513 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13515 [__NR_vfork]: Make code unconditional.
13516 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13517 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13519 [__NR_vfork]: Make code unconditional.
13520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13523 2012-08-01 Roland McGrath <roland@hack.frob.com>
13525 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13526 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13528 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13529 Define mkstemp64 as an alias.
13530 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13531 Define mkstemps64 as an alias.
13532 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13533 Define mkostemp64 as an alias.
13534 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13535 Define mkostemps64 as an alias.
13536 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13537 Conditionalize body on this.
13538 * misc/mkostemp64.c: Likewise.
13539 * misc/mkostemps64.c: Likewise.
13540 * misc/mkstemps64.c: Likewise.
13541 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13542 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13543 * sysdeps/wordsize-64/mkostemp.c: File removed.
13544 * sysdeps/wordsize-64/mkstemp.c: File removed.
13545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13546 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13551 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13552 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13553 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13554 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13556 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13557 compat_symbol macros from <shlib-compat.h> rather than the underlying
13558 default_symbol_version and symbol_version macros, so that DEFAULT
13559 lines in shlib-versions are respected.
13560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13562 2012-08-01 Florian Weimer <fweimer@redhat.com>
13564 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13565 Declare with warn_unused_result.
13566 (setgid, setregid, setegid, setresgid): Likewise.
13567 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13569 * WUR-REPORT: Remove set*id functions.
13571 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13573 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13575 2012-07-31 Roland McGrath <roland@hack.frob.com>
13578 * include/sys/socket.h (__libc_accept, __libc_accept4):
13579 Add attribute_hidden.
13580 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13582 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13584 * inet/getnetgrent_r.c (setup): Likewise.
13586 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13588 2012-07-31 David S. Miller <davem@davemloft.net>
13590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13592 2012-07-31 Joseph Myers <joseph@codesourcery.com>
13595 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13596 value between 1.0 and 2.0 and smaller part has absolute value less
13598 * math/s_clog10.c (__clog10): Likewise.
13599 * math/s_clog10f.c (__clog10f): Likewise.
13600 * math/s_clog10l.c (__clog10l): Likewise.
13601 * math/s_clogf.c (__clogf): Likewise.
13602 * math/s_clogl.c (__clogl): Likewise.
13603 * math/libm-test.inc (clog_test): Add more tests.
13604 (clog10_test): Likewise.
13605 * sysdeps/i386/fpu/libm-test-ulps: Update.
13606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13608 2012-07-31 Florian Weimer <fweimer@redhat.com>
13610 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13611 Exit with zero in case no suitable GID is found, and write a
13612 message to standard error.
13614 2012-07-30 Roland McGrath <roland@hack.frob.com>
13616 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13618 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13619 (MAXPATHLEN): Removed.
13620 (NOGROUP, NODEV): New macros.
13621 (setbit, clrbit, isset, isclr): New macros.
13622 (howmany, roundup, powerof2): New macros.
13623 (DEV_BSIZE): New macro.
13625 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13626 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13628 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13629 definition on [!__NO_LONG_DOUBLE_MATH].
13631 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13632 PTR_MANGLE and PTR_DEMANGLE.
13634 * socket/accept4.c (accept4): Rename to __libc_accept4.
13635 Define accept4 as a weak alias.
13637 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13638 on [_DIRENT_HAVE_D_TYPE].
13639 * io/ftw.c (ftw_dir): Likewise.
13641 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13643 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13645 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13646 Use the BSD numbers rather than the arbitrary ones we had.
13647 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13648 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13649 (SIGXCPU, SIGXFSZ): New macros.
13652 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13653 initializer on [_LIBC_REENTRANT].
13655 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13656 definitions inside [_POSIX_MAPPED_FILES].
13658 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13660 * dirent/opendir.c: Include <fcntl.h>.
13662 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13663 (__libc_getspecific): Likewise.
13664 (__libc_key_create): Likewise.
13666 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13667 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13668 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13669 (tmpfile64): Define as alias.
13670 * sysdeps/wordsize-64/tmpfile.c: File removed.
13671 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13672 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13675 * stdio-common/vfscanf.c: Include <stdbool.h>.
13676 * nss/makedb.c: Likewise.
13677 * stdio-common/_i18n_number.h: Likewise.
13678 * argp/argp-help.c: Likewise.
13679 * posix/wordexp.c: Likewise.
13680 * sysdeps/posix/spawni.c: Likewise.
13681 * nss/nss_files/files-initgroups.c: Likewise.
13682 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13683 * nss/nss_files/files-initgroups.c: Likewise.
13684 * nss/nss_db/db-netgrp.c: Likewise.
13685 * nss/nss_db/db-initgroups.c: Likewise.
13686 * io/fchmodat.c: Include <sys/stat.h>.
13688 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13689 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13691 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13694 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13695 Add multiple inclusion protection.
13697 2012-07-27 David S. Miller <davem@davemloft.net>
13699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13701 2012-07-27 Gary Benson <gbenson@redhat.com>
13704 * elf/rtld.c: Include <stap-probe.h>.
13705 (dl_main): Added static probes "init_start" and "init_complete".
13706 * elf/dl-load.c: Include <stap-probe.h>.
13707 (lose): Take new parameter "nsid".
13708 Added static probe "map_failed".
13709 (_dl_map_object_from_fd): Pass namespace id to lose.
13710 Added static probe "map_start".
13711 (open_verify): Pass namespace id to lose.
13712 * elf/dl-open.c: Include <stap-probe.h>.
13713 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13714 and "reloc_complete".
13715 * elf/dl-close.c: Include <stap-probe.h>.
13716 (_dl_close_worker): Added static probes "unmap_start" and
13718 * elf/rtld-debugger-interface.txt: New file documenting the above.
13720 2012-07-26 Roland McGrath <roland@hack.frob.com>
13722 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13723 rather than a string variable.
13724 * sunrpc/rpc_main.c (h_output): Likewise.
13725 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13727 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13729 * inet/check_native.c: New file.
13731 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13734 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13735 if larger part has absolute value 1.0.
13736 * math/s_clog10.c (__clog10): Likewise.
13737 * math/s_clog10f.c (__clog10f): Likewise.
13738 * math/s_clog10l.c (__clog10l): Likewise.
13739 * math/s_clogf.c (__clogf): Likewise.
13740 * math/s_clogl.c (__clogl): Likewise.
13741 * math/libm-test.inc (clog_test): Add more tests.
13742 (clog10_test): Likewise.
13743 * sysdeps/i386/fpu/libm-test-ulps: Update.
13744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13746 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13747 (pltexit): Likewise.
13748 (La_regs): Likewise.
13749 (La_retval): Likewise.
13750 (int_retval): Likewise.
13751 Update #error for removed macros to refer only to definitions in
13753 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13755 (pltexit): Likewise.
13756 (La_regs): Likewise.
13757 (La_retval): Likewise.
13758 (int_retval): Likewise.
13759 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13761 (pltexit): Likewise.
13762 (La_regs): Likewise.
13763 (La_retval): Likewise.
13764 (int_retval): Likewise.
13765 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13767 (pltexit): Likewise.
13768 (La_regs): Likewise.
13769 (La_retval): Likewise.
13770 (int_retval): Likewise.
13771 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13773 (pltexit): Likewise.
13774 (La_regs): Likewise.
13775 (La_retval): Likewise.
13776 (int_retval): Likewise.
13777 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13779 (pltexit): Likewise.
13780 (La_regs): Likewise.
13781 (La_retval): Likewise.
13782 (int_retval): Likewise.
13783 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13785 (pltexit): Likewise.
13786 (La_regs): Likewise.
13787 (La_retval): Likewise.
13788 (int_retval): Likewise.
13789 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13790 macro definitions in tst-audit.h.
13791 * sysdeps/i386/tst-audit.h: New file.
13792 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13793 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13794 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13795 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13796 * sysdeps/sh/tst-audit.h: Likewise.
13797 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13798 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13799 * sysdeps/x86_64/tst-audit.h: Likewise.
13801 2012-07-26 Andreas Jaeger <aj@suse.de>
13803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13807 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13808 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13810 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13811 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13812 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13814 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13817 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13819 (si_call_addr, si_syscall, si_arch): Define new macro.
13820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13822 (si_call_addr, si_syscall, si_arch): Define new marcro.
13823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13825 (si_call_addr, si_syscall, si_arch): Define new macro.
13826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13828 (si_call_addr, si_syscall, si_arch): Define new macro.
13830 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13834 Change to 2.4.21 where previously 2.4.1.
13835 * sysdeps/unix/sysv/linux/configure: Regenerated.
13836 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13837 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13838 Linux kernel version.
13839 (__ASSUME_STD_AUXV): Remove.
13840 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13842 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13843 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13844 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13845 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13846 (__ASSUME_NETLINK_SUPPORT): Likewise.
13847 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13848 (__no_netlink_support): Remove conditional definition.
13849 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13851 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13852 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13853 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13854 (if_nameindex_ioctl): Remove.
13855 (if_nameindex_netlink): Do not handle __no_netlink_support.
13856 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13858 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13859 Remove conditional code.
13860 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13862 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13864 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13865 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13866 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13868 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13869 [!__ASSUME_STD_AUXV]: Remove conditional code.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13871 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13872 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13874 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13875 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13877 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13879 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13880 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13882 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13884 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13887 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13890 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13891 code unconditional.
13892 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13894 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13896 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13899 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13901 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13904 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13905 code unconditional.
13906 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13908 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13910 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13913 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13914 code unconditional.
13915 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13917 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13919 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13922 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13924 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13925 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13926 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13927 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13928 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13929 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13930 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13932 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13933 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13934 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13935 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13936 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13937 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13939 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13942 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13944 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13945 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13948 2012-07-25 Florian Weimer <fweimer@redhat.com>
13950 * Versions.def: Add GLIBC_2.17.
13951 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13952 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13953 Introduce __libc_secure_getenv.
13954 * stdlib/Versions (2.17): Add secure_getenv
13955 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13956 * stdlib/secure-getenv.c: Rename __secure_getenv to
13957 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13958 symbol __secure_getenv for GLIBC_2.0.
13959 * stdlib/tst-secure-getenv.c: New.
13960 * stdlib/Makefile (tests): Add testcase.
13961 * manual/startup.texi (Environment Access): Document
13963 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13964 __libc_secure_getenv.
13965 * inet/ruserpass.c (ruserpass): Likewise.
13966 * malloc/mtrace.c (mtrace): Likewise.
13967 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13968 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13969 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13970 * sysdeps/posix/tempname.c: Likewise. Evaluate
13971 HAVE_SECURE_GETENV.
13972 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13973 __secure_getenv to __libc_secure_getenv.
13974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13987 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13989 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13990 (struct La_i86_retval): Likewise.
13991 (struct La_x86_64_regs): Likewise.
13992 (struct La_x86_64_retval): Likewise.
13993 (struct La_x32_regs): Likewise.
13994 (struct La_x32_retval): Likewise.
13995 (struct La_ppc32_regs): Likewise.
13996 (struct La_ppc32_retval): Likewise.
13997 (struct La_ppc64_regs): Likewise.
13998 (struct La_ppc64_retval): Likewise.
13999 (struct La_sh_regs): Likewise.
14000 (struct La_sh_retval): Likewise.
14001 (struct La_s390_32_regs): Likewise.
14002 (struct La_s390_32_retval): Likewise.
14003 (struct La_s390_64_regs): Likewise.
14004 (struct La_s390_64_retval): Likewise.
14005 (struct La_sparc32_regs): Likewise.
14006 (struct La_sparc32_retval): Likewise.
14007 (struct La_sparc64_regs): Likewise.
14008 (struct La_sparc64_retval): Likewise.
14009 (struct audit_ifaces): Remove architecture-specific pltenter and
14011 * sysdeps/i386/ldsodefs.h: New file.
14012 * sysdeps/powerpc/ldsodefs.h: Likewise.
14013 * sysdeps/s390/ldsodefs.h: Likewise.
14014 * sysdeps/sh/ldsodefs.h: Likewise.
14015 * sysdeps/sparc/ldsodefs.h: Likewise.
14016 * sysdeps/x86_64/ldsodefs.h: Likewise.
14018 2012-07-25 Marek Polacek <polacek@redhat.com>
14021 * math/libm-test.inc (yn_test): Add another test.
14022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14023 to ERANGE when the result is +-Inf.
14024 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14025 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14026 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14029 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14031 * conform/data/time.h-data (NULL): Use macro-constant. Require
14033 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14035 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14037 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14039 * configure.in <sysdeps resolving>: Correct printing
14041 * configure: Regenerate.
14043 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14045 * math/w_ilogb.c: Include <limits.h>.
14046 * math/w_ilogbl.c: Likewise.
14048 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14050 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14051 va_copy. Document allowing for unavailable va_copy only as
14052 pre-C99 compatibility.
14053 * manual/string.texi (Copying and Concatenation): Use va_copy
14054 instead of __va_copy in concat example.
14056 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14058 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14059 (__sendto): Use create_address_port. Initialize APORT and deallocate
14062 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14063 with O_NOLINK passed to __file_name_lookup.
14065 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14066 with O_NOLINK passed to __file_name_lookup.
14068 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14069 negative N or less than NGIDS.
14071 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14072 type to string_t. Set ERANGE as errno and return it if NAME is not big
14073 enough. Use memcpy instead of strncpy.
14075 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14077 * elf/Makefile (check-data): Remove.
14078 (localplt.data): New vpath directive.
14079 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14080 instead of $(check-data).
14081 * scripts/data/localplt-generic.data: Move to ...
14082 * sysdeps/generic/localplt.data: ... here.
14083 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14084 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14085 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14088 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14091 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14094 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14097 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14100 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14104 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14106 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14107 PPC32 and PPC64 files.
14108 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14109 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14111 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14113 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14114 __makecontext_ret to ...
14115 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14116 ... here and call exit if uc_link is NULL. New file.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14118 __makecontext_ret.S.
14119 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14120 __makecontext_ret to ...
14121 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14122 ... here and call exit if uc_link is NULL. New file.
14123 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14124 __makecontext_ret.S.
14126 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14128 * elf/elf.h (R_390_IRELATIVE): New definition.
14129 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14130 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14131 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14133 (elf_machine_lazy_rel): Likewise.
14134 * sysdeps/s390/dl-irel.h: New file.
14135 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14136 * sysdeps/s390/s390-64/memset.S: New asm code.
14137 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14138 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14139 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14140 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14141 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14142 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14144 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14145 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14146 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14147 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14148 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14149 * sysdeps/s390/s390-32/memset.S: New asm code.
14150 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14152 2012-07-17 Marek Polacek <polacek@redhat.com>
14155 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14156 * sysdeps/s390/s390-64/configure.in: Likewise.
14157 * sysdeps/sparc/configure.in: Likewise.
14158 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14159 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14160 * sysdeps/i386/configure.in: Likewise.
14161 * sysdeps/x86_64/configure.in: Likewise.
14162 * sysdeps/sh/configure.in: Likewise.
14163 * sysdeps/s390/s390-32/configure: Regenerated.
14164 * sysdeps/s390/s390-64/configure: Likewise.
14165 * sysdeps/x86_64/configure: Likewise.
14166 * sysdeps/sh/configure: Likewise.
14167 * sysdeps/powerpc/powerpc64/configure: Likewise.
14168 * sysdeps/powerpc/powerpc32/configure: Likewise.
14169 * sysdeps/sparc/configure: Likwise.
14170 * sysdeps/i386/configure: Likewise.
14172 * elf/dl-open.c: Comment fixes.
14174 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14176 * Makefile [CXX] (check-data): Remove.
14177 [CXX] (c++-types.data): New vpath directive.
14178 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14179 vpath. Do not allow for C++ type data being missing.
14180 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14181 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14182 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14183 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14184 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14185 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14186 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14189 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14192 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14195 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14198 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14201 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14204 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14207 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14210 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14211 definitions to architecture-specific files.
14212 (TLS_IE): Likewise.
14213 (TLS_LD): Likewise.
14214 (TLS_GD): Likewise.
14215 * sysdeps/i386/tls-macros.h: New file.
14216 * sysdeps/powerpc/tls-macros.h: Likewise.
14217 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14218 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14219 * sysdeps/sh/tls-macros.h: Likewise.
14220 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14221 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14222 * sysdeps/x86_64/tls-macros.h: Likewise.
14224 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14227 zero value for regular exit case.
14229 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14230 (__start_context): Preserve zero value for regular exit case.
14232 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14233 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14235 * manual/setjmp.texi (setcontext): Clarify normal process
14236 termination when uc_link is the null pointer.
14237 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14240 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14242 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14243 preprocessor. Test for each exception mask separately.
14245 2012-07-16 Andreas Jaeger <aj@suse.de>
14247 * po/ru.po: Update from translation team.
14249 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14251 * conform/data/string.h-data (NULL): Use macro-constant. Require
14253 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14254 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14255 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14256 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14259 2012-07-13 Andreas Jaeger <aj@suse.de>
14261 * po/fr.po: Update from translation team.
14263 2012-07-12 Marek Polacek <polacek@redhat.com>
14266 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14267 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14270 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14274 Change to 2.4.1 where previously 2.4.0.
14275 * sysdeps/unix/sysv/linux/configure: Regenerated.
14276 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14277 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14279 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14280 (__ASSUME_AT_CLKTCK): Remove.
14281 (__ASSUME_AT_PAGESIZE): Likewise.
14282 (__ASSUME_AT_XID): Likewise.
14283 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14284 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14285 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14287 (HAVE_AUX_PAGESIZE): Likewise.
14288 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14289 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14290 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14292 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14296 the temporary buffer used to invoke __gethostbyname2_r,
14297 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14298 host_data / struct gaih_addrtuple.
14299 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14300 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14301 header file nss/nsswitch.h.
14302 * nss/nsswitch.h (global scope): Add definition of implementation
14303 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14304 resolv/nss_dns/dns-host.c).
14306 2012-07-11 Andreas Jaeger <aj@suse.de>
14308 * po/fr.po: Update from translation team.
14310 * po/sv.po: Update from translation team
14311 * po/fr.po: Another update from translation team.
14313 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14315 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14316 for subnormals or multiply small sinh result by itself.
14317 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14320 2012-07-11 David S. Miller <davem@davemloft.net>
14322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14324 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14327 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14328 (INTERNAL_MARK): Shift it here.
14330 2012-07-10 Marek Polacek <polacek@redhat.com>
14333 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14334 libc_cv_asm_global_directive with .globl.
14335 * configure: Regenerated.
14336 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14338 * sysdeps/i386/configure: Regenerated.
14339 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14341 * sysdeps/x86_64/configure: Regenerated.
14342 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14343 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14344 * elf/tst-unique2mod2.c: Likewise.
14345 * elf/tst-unique2mod1.c: Likewise.
14346 * elf/tst-unique1mod2.c: Likewise.
14347 * elf/tst-unique1mod1.c: Likewise.
14348 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14349 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14351 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14352 * sysdeps/mach/sysdep.h: Likewise.
14353 * sysdeps/i386/sysdep.h: Likewise.
14354 * sysdeps/i386/i386-mcount.S: Likewise.
14355 * sysdeps/x86_64/_mcount.S: Likewise.
14356 * sysdeps/x86_64/sysdep.h: Likewise.
14357 * sysdeps/sh/_mcount.S: Likewise.
14358 * sysdeps/sh/sysdep.h: Likewise.
14359 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14360 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14361 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14363 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14364 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14365 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14366 * locale/localeinfo.h: Likewise.
14367 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14368 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14370 2012-07-09 Roland McGrath <roland@hack.frob.com>
14373 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14375 * manual/message.texi (The Uniforum approach): Likewise.
14376 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14377 (glibc iconv Implementation): Likewise.
14379 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14382 * math/s_clog.c (__clog): Avoid scaling a value down where that
14383 could result in underflow.
14384 * math/s_clog10.c (__clog10): Likewise.
14385 * math/s_clog10f.c (__clog10f): Likewise.
14386 * math/s_clog10l.c (__clog10l): Likewise.
14387 * math/s_clogf.c (__clogf): Likewise.
14388 * math/s_clogl.c (__clogl): Likewise.
14389 * math/libm-test.inc (clog_test): Add more tests.
14390 (clog10_test): Likewise.
14391 * sysdeps/i386/fpu/libm-test-ulps: Update.
14392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14397 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14398 by 7 not 8 to examine high bit of fractional part.
14401 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14402 for call to __mcount_internal.
14403 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14404 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14405 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14407 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14410 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14411 approximation for values within 0x1p-13f of an odd multiple of
14413 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14414 exception. Add more tests.
14415 * sysdeps/i386/fpu/libm-test-ulps: Update.
14418 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14419 inputs and return -1 for them. Do not check for +Inf in case not
14420 reachable for +Inf.
14421 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14422 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14423 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14424 and return -1 for them. Do not check for +Inf in case not
14425 reachable for +Inf.
14426 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14429 and return -1 for them. Do not check for +Inf in case not
14430 reachable for +Inf.
14431 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14432 spurious underflow.
14433 * sysdeps/i386/fpu/libm-test-ulps: Update.
14434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14436 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14438 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14440 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14444 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14445 could result in spurious underflow. Scale down values above
14446 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14447 * math/s_csqrtf.c (__csqrtf): Likewise.
14448 * math/s_csqrtl.c (__csqrtl): Likewise.
14449 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14450 spurious underflow.
14451 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14454 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14456 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14458 * catgets/xopen-msg.awk: New file.
14459 * catgets/xopen-msg.sed: Removed.
14461 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14463 * intl/po2test.awk: New file.
14464 * intl/po2test.sed: Removed.
14466 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14469 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14470 or multiply small sinh result by itself.
14471 * math/s_ctanf.c (__ctanf): Likewise.
14472 * math/s_ctanh.c (__ctanh): Likewise.
14473 * math/s_ctanhf.c (__ctanhf): Likewise.
14474 * math/s_ctanhl.c (__ctanhl): Likewise.
14475 * math/s_ctanl.c (__ctanl): Likewise.
14476 * math/libm-test.inc (ctan_test_tonearest): New function.
14477 (ctan_test_towardzero): Likewise.
14478 (ctan_test_downward): Likewise.
14479 (ctan_test_upward): Likewise.
14480 (ctanh_test_tonearest): Likewise.
14481 (ctanh_test_towardzero): Likewise.
14482 (ctanh_test_downward): Likewise.
14483 (ctanh_test_upward): Likewise.
14484 (main): Call these new functions.
14485 * sysdeps/i386/fpu/libm-test-ulps: Update.
14486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14488 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14490 * .gitignore: Delete /ports entry.
14492 2012-07-03 Andreas Jaeger <aj@suse.de>
14494 * po/bg.po: Update from translation team.
14495 * po/cs.po: Likewise.
14496 * po/de.po: Likewise.
14497 * po/hr.po: Likewise.
14498 * po/nl.pl: Likewise.
14499 * po/pl.po: Likewise.
14500 * po/vi.po: Likewise.
14502 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14504 * Makeconfig [!+link] (+link-before-libc): New variable.
14505 [!+link] (+link-after-libc): Likewise.
14506 [!+link] (+link-tests): Likewise.
14507 [!+link] (+link): Define in terms of $(+link-before-libc) and
14508 $(+link-after-libc).
14509 [!+link-static] (+link-static-before-libc): New variable.
14510 [!+link-static] (+link-static-after-libc): Likewise.
14511 [!+link-static] (+link-static-tests): Likewise.
14512 [!+link-static] (+link-static): Define in terms of
14513 $(+link-static-before-libc) and $(+link-static-after-libc).
14514 [build-shared] (link-libc-before-gnulib): New variable.
14515 [build-shared] (link-libc-tests): Likewise.
14516 [build-shared] (link-libc): Define in terms of
14517 $(link-libc-before-gnulib).
14518 [!build-shared] (link-libc-tests): New variable.
14519 (link-libc-static-tests): New variable.
14520 [!gnulib] (gnulib-arch): New variable.
14521 [!gnulib] (gnulib-tests): Likewise.
14522 [!gnulib] (static-gnulib-arch): Likewise.
14523 [!gnulib] (static-gnulib-tests): Likewise.
14524 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14525 Define with "=" instead of ":=".
14526 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14527 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14528 * Rules (binaries-all-notests): New variable.
14529 (binaries-all-tests): Likewise.
14530 (binaries-static-notests): Likewise.
14531 (binaries-static-tests): Likewise.
14532 (binaries-all): Define using $(binaries-all-notests) and
14533 $(binaries-all-tests).
14534 (binaries-static): Define using $(binaries-static-notests) and
14535 $(binaries-static-tests).
14536 (binaries-shared-tests): New variable.
14537 (binaries-shared-notests): Likewise.
14538 (binaries-shared): Remove variable.
14539 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14540 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14541 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14542 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14543 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14544 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14545 * elf/Makefile (sln-modules): New variable.
14546 (extra-objs): Add $(sln-modules:=.o).
14547 (ldconfig-modules): Add static-stubs.
14548 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14549 * elf/static-stubs.c: New file.
14552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14553 by 7 not 8 to examine high bit of fractional part. Use volatile
14554 variables when splitting into final array of floats if
14555 __FLT_EVAL_METHOD__ != 0.
14556 * math/libm-test.inc (cos_test): Add another test.
14557 (sin_test): Likewise.
14558 * sysdeps/i386/fpu/libm-test-ulps: Update.
14561 * math/libm-test.inc (cosh_test): Add more tests.
14563 * version.h (RELEASE): Set to "development".
14564 (VERSION): Set to "2.16.90".
14566 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14568 * NEWS: Update copyright. Remove last-updated date.
14569 Mention math library bug fixes and timezone data changes.
14570 * README: Mention GNU/Hurd, x32, and HPPA support status.
14572 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14574 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14576 2012-06-27 Andreas Jaeger <aj@suse.de>
14578 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14580 2012-06-25 Andreas Jaeger <aj@suse.de>
14582 * sysdeps/s390/fpu/libm-test-ulps: Update.
14584 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14585 Thomas Schwinge <thomas@codesourcery.com>
14587 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14588 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14592 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14594 * sysdeps/mach/start.c: Remove file.
14595 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14596 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14597 * sysdeps/sh/init-first.c: Likewise.
14599 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14600 registers for frame unwinding purposes, add CFI directives.
14601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14602 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14603 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14606 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14607 __fortify_fail returning.
14608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14611 sysdeps/sh/____longjmp_chk.S.
14612 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14613 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14614 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14615 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14617 * sysdeps/sh/abort-instr.h: New file.
14618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14619 process in case exit returns.
14621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14622 initialize the GOT register before use.
14624 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14625 calculation of ARGC > 4.
14627 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14628 meaningful names to some local labels.
14630 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14631 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14633 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14634 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14635 (__arch_compare_and_exchange_val_16_acq): Likewise.
14636 (__arch_compare_and_exchange_val_32_acq): Likewise.
14637 (atomic_exchange_and_add): Fix gUSA sequence.
14638 (atomic_add): Likewise.
14639 (atomic_add_negative): Likewise.
14640 (atomic_add_zero): Likewise.
14641 (atomic_bit_test_set): Likewise.
14643 2012-06-22 Andreas Schwab <schwab@redhat.com>
14646 * include/link.h (struct link_map): Add l_free_initfini.
14647 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14649 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14650 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14651 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14654 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14656 * configure.in: Use AC_LANG_SOURCE.
14657 * configure: Regenerate.
14659 2012-06-22 Roland McGrath <roland@hack.frob.com>
14661 * configure.in (libc_cv_localstatedir): New substituted variable.
14662 * configure: Regenerated.
14663 * config.make.in (localstatedir): New variable, substituted from
14664 libc_cv_localstatedir.
14665 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14666 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14667 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14668 * sysdeps/gnu/configure: Regenerated.
14670 2012-06-21 Jeff Law <law@redhat.com>
14673 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14674 free. Simplify list management for _LIBC case.
14676 2012-06-21 Joseph Myers <joseph@codesourcery.com>
14679 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14680 Clear sign bit of 64-bit integer value before comparing against
14683 * sysdeps/mach/configure: Regenerated.
14685 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14688 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14690 2012-06-21 Jeff Law <law@redhat.com>
14693 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14694 uint16_t for elements in the "seen" array to avoid char overflows.
14695 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14696 * elf/dl-open.c (dl_open_worker): Likewise.
14698 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14700 * scripts/list-sources.sh: Scan PORTS for translations.
14701 * po/libc.pot: Regenerated.
14703 2012-06-21 Andreas Jaeger <aj@suse.de>
14706 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14708 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14709 * bits/byteswap-16.h (__bswap_16): Likewise.
14710 * bits/byteswap.h (__bswap_constant_16): Likewise.
14712 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14715 * sysdeps/i386/fpu_control.h: Removed.
14716 * sysdeps/x86_64/fpu_control.h: Moved to ...
14717 * sysdeps/x86/fpu_control.h: Here.
14719 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14720 (_FPU_SETCW): Likewise.
14722 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14725 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14726 * sysdeps/x86/fpu/bits/mathinline.h: This.
14727 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14731 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14732 functions if __x86_64__ is defined.
14734 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14736 * string/endian.h: Add !__ASSEMBLER__ condition for including
14737 conversion interfaces.
14739 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14743 of ABS(x) in calculating zero to negative powers other than odd
14745 * math/libm-test.inc (pow_test): Add more tests.
14747 2012-06-15 Andreas Jaeger <aj@suse.de>
14749 * manual/contrib.texi (Contributors): Update entry of Liubov
14750 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14753 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14755 * string/string.h: Add __wur to GNU version of strerror_r.
14757 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14760 * string/Makefile (tests): Add tst-strtok_r.
14761 * string/tst-strtok_r.c: New file.
14762 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14763 RAX_LP/RDX_LP on SAVE_PTR.
14765 2012-06-14 Roland McGrath <roland@hack.frob.com>
14767 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14769 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14771 * libm_test.inc (csqrt_test): Allow more spurious underflow
14773 (j0_test): Likewise.
14774 (j1_test): Likewise.
14775 (y0_test): Likewise.
14776 (y1_test): Likewise.
14778 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14780 * po/Makefile (libc.pot): Use UTF-8 charset.
14782 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14785 Suppress sign-conversion warning from FD_SET.
14786 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14787 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14788 not unsigned long int.
14789 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14791 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14795 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14796 __extern_always_inline instead of __extern_inline.
14797 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14798 (__signbit): Likewise.
14799 (__signbitl): Support C++ namespace.
14800 (lrintf): New inline function.
14802 (llrintf): Likewise.
14803 (llrint): Likewise.
14813 (floorf): Likewise.
14814 (nearbyint): Likewise.
14815 (nearbyintf): Likewise.
14817 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14820 non-default versions.
14822 2012-06-11 Roland McGrath <roland@hack.frob.com>
14825 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14827 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14829 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14830 (FE_UPWARD, FE_DOWNWARD): Don't define.
14831 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14832 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14834 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14836 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14837 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14839 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14841 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14844 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14846 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14849 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14850 * sysdeps/i386/fpu/Implies: New file.
14851 * sysdeps/x86_64/fpu/Implies: Likewise.
14852 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14853 * sysdeps/x86/fpu/bits/fenv.h: This.
14855 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14858 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14861 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14862 character 0xffff that matches the last element of the
14865 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14870 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14873 values higher than 25.6283.
14875 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14877 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14878 subnormal exponent extraction and add some __builtin_expect.
14879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14880 Fix for subnormal mantissa calculation.
14882 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14884 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14885 cpu2 is -1 and errno is not ENOSYS.
14887 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14890 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14891 * sysdeps/x86/bits/string.h: This.
14892 * sysdeps/x86_64/bits/string.h: Removed.
14894 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14895 if not compiling for x86-64, but compiling for >= i486.
14897 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14898 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14900 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14901 New macro from Linux kernel 3.4.0.
14902 (FP_XSTATE_MAGIC2): Likewise.
14903 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14904 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14905 (struct _fpx_sw_bytes): New struct.
14906 (struct _xsave_hdr): Likewise.
14907 (struct _ymmh_state): Likewise.
14908 (struct _xstate): Likewise.
14910 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14911 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14913 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14914 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14915 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14917 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14918 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14919 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14920 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14921 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14922 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14924 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14927 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14928 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14929 (sysdep_headers): Include sys/platform/ppc.h.
14930 * sysdeps/powerpc/test-gettimebase.c: Test for
14931 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14932 * manual/Makefile (appendices): Include platform.texi.
14933 * manual/contrib.texi (Contributors): Update @node pointers.
14934 * manual/maint.texi (Maintenance): Likewise.
14935 (Platform): New node.
14936 * manual/platform.texi: New file. Document the new features.
14938 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14939 Jakub Jelinek <jakub@redhat.com>
14942 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14943 where __builtin_expect is unavailable.
14945 2012-06-03 David S. Miller <davem@davemloft.net>
14947 * stdlib/longlong.h: Updated from GCC.
14949 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14952 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14953 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14956 (GLIBC_2.16): Likewise.
14958 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14960 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14962 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14965 (default-abi): New variable.
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14967 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14969 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14971 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14973 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14976 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14977 definition. Document in comment.
14979 2012-06-01 David S. Miller <davem@davemloft.net>
14981 * stdlib/longlong.h: Updated from GCC.
14983 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14986 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14987 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14988 sys/debugreg.h sys/io.h here.
14989 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14990 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14992 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14993 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14994 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14995 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14997 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15000 Define only if __x86_64__ is defined.
15002 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15006 Use int64_t for variable i.
15007 * math/libm-test.inc (fmod_test): Add more tests.
15009 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15010 z computation is not scheduled after fetestexcept.
15011 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15012 Use math_force_eval instead of asm to ensure calculation scheduled
15013 before exception test.
15014 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15015 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15017 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15020 computation is not scheduled after fetestexcept.
15022 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15025 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15026 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15028 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15030 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15031 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15033 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15036 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15038 (__WCHAR_MIN): Support __WORDSIZE == 64.
15039 (__WCHAR_MAX): Likewise.
15041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15042 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15046 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15049 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15052 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15053 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15055 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15056 Defined to 1 if __x86_64__ isn't defined.
15057 (_STAT_VER_LINUX_OLD): New.
15058 (st_atime): Remove duplicate.
15059 (st_mtime): Likewise.
15060 (st_ctime): Likewise.
15062 2012-05-31 David S. Miller <davem@davemloft.net>
15064 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15067 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15069 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15073 * elf/dl-reloc.c: Include <_itoa.h>.
15074 (_dl_reloc_bad_type): Remove use of INTUSE.
15075 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15076 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15077 * stdio-common/psiginfo.c (psiginfo): Likewise.
15078 * stdio-common/psignal.c (psignal): Likewise.
15079 * string/strsignal.c (strsignal): Likewise.
15080 * include/signal.h (_sys_siglist): Declare hidden proto.
15081 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15082 INTVARDEF with libc_hidden_data_def.
15083 * stdio-common/itoa-udigits.c: Likewise.
15084 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15085 (_itoa_lower_digits_internal): Remove declaration.
15086 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15087 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15088 (_sys_sigabbrev_internal): Remove aliases.
15089 (_sys_siglist): Define hidden alias.
15091 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15096 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15099 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15100 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15102 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15103 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15104 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15105 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15107 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15109 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15110 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15111 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15113 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15123 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15125 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15126 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15128 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15129 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15130 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15132 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15133 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15135 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15136 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15142 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15143 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15145 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15147 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15148 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15149 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15151 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15153 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15155 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15157 * math/math.h (M_El): Use two more decimal places.
15158 (M_LOG2El): Likewise.
15159 (M_LOG10El): Likewise.
15160 (M_LN2l): Likewise.
15161 (M_LN10l): Likewise.
15163 (M_PI_2l): Likewise.
15164 (M_PI_4l): Likewise.
15165 (M_1_PIl): Likewise.
15166 (M_2_PIl): Likewise.
15167 (M_2_SQRTPIl): Likewise.
15168 (M_SQRT2l): Likewise.
15169 (M_SQRT1_2l): Likewise.
15171 2012-05-31 David S. Miller <davem@davemloft.net>
15173 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15174 values between float registers.
15175 * sysdeps/sparc/sparc64/memset.S: Likewise.
15176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15178 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15180 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15181 -D_FORTIFY_SOURCE=1.
15182 (CPPFLAGS-tst-longjmp_chk.c): Define.
15183 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15184 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15185 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15186 CFLAGS-tst-wchar-h.c.
15188 2012-05-31 Marek Polacek <polacek@redhat.com>
15191 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15192 __endmntent_internal): Remove declaration.
15193 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15194 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15195 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15197 2012-05-30 David S. Miller <davem@davemloft.net>
15199 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15200 (___Q_simulate_exceptions): Use real FP ops rather than writing
15202 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15205 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15208 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15209 * sysdeps/x86/bits/xtitypes.h: This.
15211 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15212 * sysdeps/x86/bits/wordsize.h: This.
15214 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15215 * sysdeps/x86/bits/huge_vall.h: This.
15217 * sysdeps/i386/bits/select.h: Removed.
15218 * sysdeps/x86_64/bits/select.h: Renamed to ...
15219 * sysdeps/x86/bits/select.h: This.
15221 * sysdeps/i386/bits/setjmp.h: Removed.
15222 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15223 * sysdeps/x86/bits/setjmp.h: This.
15225 * sysdeps/i386/bits/mathdef.h: Removed.
15226 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15227 * sysdeps/x86/bits/mathdef.h: This.
15229 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15232 * include/sys/socket.h (__connect_internal)
15233 (__libc_sa_len_internal): Remove declaration.
15234 (__connect, __libc_sa_len): Declare hidden_proto.
15235 (SA_LEN): Remove use of INTUSE.
15236 * socket/connect.c: Add libc_hidden_def.
15237 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15238 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15239 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15241 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15242 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15243 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15244 of adding _internal alias.
15246 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15249 * sysdeps/i386/bits/link.h: Removed.
15250 * sysdeps/i386/bits/linkmap.h: Likewise.
15251 * sysdeps/x86_64/bits/link.h: Renamed to ...
15252 * sysdeps/x86/bits/link.h: This.
15253 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15254 * sysdeps/x86/bits/linkmap.h: This.
15256 * sysdeps/i386/bits/endian.h: Removed.
15257 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15258 * sysdeps/x86/bits/endian.h: This.
15260 * sysdeps/i386/bits/byteswap.h: Removed.
15261 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15262 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15263 * sysdeps/x86/bits/byteswap.h: This.
15264 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15265 * sysdeps/x86/bits/byteswap-16.h: This.
15266 * sysdeps/i386/Implies: Add x86.
15267 * sysdeps/x86_64/Implies: Likewise.
15269 2012-05-30 David S. Miller <davem@davemloft.net>
15271 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15272 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15273 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15274 (FP_TRAPPING_EXCEPTIONS): Define.
15275 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15276 (FP_TRAPPING_EXCEPTIONS): Define.
15277 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15278 subnormals only when inexact has been signalled or underflow
15279 exceptions are enabled.
15280 (_FP_PACK_CANONICAL): Likewise.
15282 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15286 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15288 2012-05-30 Richard Henderson <rth@twiddle.net>
15290 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15291 with #ifndef NOT_IN_libc.
15293 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15294 marked to avoid plt entry.
15296 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15299 * Makeconfig (default-abi): New macro.
15300 (abi-includes): Likewise.
15301 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15302 $(abi-$(default-abi)-lib-soname) for soname if defined.
15303 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15305 * Makefile (installed-stubs): Likewise.
15306 * include/stubs-biarch.h: Removed.
15307 * scripts/lib-names.awk: Only handle one library at a time.
15308 * scripts/soversions.awk: Remove WORDSIZE support.
15309 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15311 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15313 (syscall-list-default-condition): Likewise.
15314 (syscall-list-default-condition): Likewise.
15315 (syscall-list-includes): Likewise.
15316 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15317 syscall-list-* with abi-*. Handle undefined abi-variants.
15318 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15319 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15320 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15321 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15322 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15323 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15325 (syscall-list-32-options): Likewise.
15326 (syscall-list-32-condition): Likewise.
15327 (syscall-list-64-options): Likewise.
15328 (syscall-list-64-condition): Likewise.
15329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15331 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15334 (abi-64-ld-soname): New macro.
15335 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15336 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15339 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15340 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15342 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15344 * sysdeps/unix/sysv/linux/kernel-features.h
15345 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15346 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15347 include <kernel-features.h>.
15348 [!__NR_ftruncate64]: Remove conditional code.
15349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15350 [__NR_ftruncate64]: Make code unconditional.
15351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15352 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15353 include <kernel-features.h>.
15354 [!__NR_ftruncate64]: Remove conditional code.
15355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15356 [__NR_ftruncate64]: Make code unconditional.
15357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15359 include <kernel-features.h>.
15360 [!__NR_ftruncate64]: Remove conditional code.
15361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15362 [__NR_ftruncate64]: Make code unconditional.
15363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15365 include <kernel-features.h>.
15366 [!__NR_ftruncate64]: Remove conditional code.
15367 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15368 [__NR_ftruncate64]: Make code unconditional.
15369 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15371 * configure.in (libc_cv_fpie): Weaken to a compile test using
15372 LIBC_TRY_CC_OPTION.
15373 * configure: Regenerated.
15375 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15390 2012-05-27 David S. Miller <davem@davemloft.net>
15392 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15394 (__Q_simulate_exceptions): Return void. Change to simulate
15395 exceptions by writing into the %fsr.
15396 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15397 (__Qp_handle_exceptions): Likewise.
15399 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15400 __Qp_handle_exceptions.
15401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15402 __Qp_handle_exceptions.
15403 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15404 as unused and give dummy FP_RND_NEAREST initializer.
15405 (FP_INHIBIT_RESULTS): Define.
15406 (___Q_simulate_exceptions): Update declaration.
15407 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15410 as unused and give dummy FP_RND_NEAREST initializer.
15411 (__Qp_handle_exceptions): Update declaration.
15412 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15415 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15417 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15418 the temporary FPU control word.
15419 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15420 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15421 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15422 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15423 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15425 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15426 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15427 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15428 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15431 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15433 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15436 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15438 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15439 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15440 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15441 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15443 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15444 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15447 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15449 * po/h.po: Update from translation team.
15451 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15453 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15455 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15456 handling of denormals.
15457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15458 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15459 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15460 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15466 2012-05-26 Marek Polacek <polacek@redhat.com>
15469 * math/libm-test.inc (fma_test): Don't always expect underflow
15472 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15475 * elf/tst-execstack.c: Include stackinfo.h.
15476 (do_test): Adjust test case to ensure that pthread_getattr_np
15477 behaviour remains the same after marking stack executable.
15479 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15481 * sysdeps/unix/sysv/linux/kernel-features.h
15482 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15483 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15485 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15486 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15487 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15489 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15490 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15492 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15494 * configure.in: Define the default includes to being none.
15495 * configure: Regenerated.
15497 2012-05-25 Roland McGrath <roland@hack.frob.com>
15499 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15500 * sysdeps/x86_64/setjmp.S: Likewise.
15501 * sysdeps/i386/bsd-setjmp.S: Likewise.
15502 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15503 * sysdeps/i386/setjmp.S: Likewise.
15504 * sysdeps/i386/__longjmp.S: Likewise.
15505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15506 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15508 * include/stap-probe.h: New file.
15509 * configure.in: Handle --enable-systemtap.
15510 * configure: Regenerated.
15511 * config.h.in (USE_STAP_PROBE): New #undef.
15512 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15513 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15514 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15516 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15520 to 2.4.0 where earlier.
15521 * sysdeps/unix/sysv/linux/configure: Regenerated.
15522 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15523 <kernel-features.h>.
15524 [__ASSUME_32BITUIDS]: Make code unconditional.
15525 [!__ASSUME_32BITUIDS]: Remove conditional code.
15526 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15527 <kernel-features.h>.
15528 [__ASSUME_32BITUIDS]: Make code unconditional.
15529 [!__ASSUME_32BITUIDS]: Remove conditional code.
15530 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15531 [__ASSUME_32BITUIDS]: Make code unconditional.
15532 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15533 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15534 <kernel-features.h>.
15535 [__ASSUME_32BITUIDS]: Make code unconditional.
15536 [!__ASSUME_32BITUIDS]: Remove conditional code.
15537 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15538 <kernel-features.h>.
15539 [__ASSUME_32BITUIDS]: Make code unconditional.
15540 [!__ASSUME_32BITUIDS]: Remove conditional code.
15541 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15542 <kernel-features.h>.
15543 [__ASSUME_32BITUIDS]: Make code unconditional.
15544 [!__ASSUME_32BITUIDS]: Remove conditional code.
15545 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15546 <kernel-features.h>.
15547 [__ASSUME_32BITUIDS]: Make code unconditional.
15548 [!__ASSUME_32BITUIDS]: Remove conditional code.
15549 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15550 <kernel-features.h>.
15551 [__ASSUME_32BITUIDS]: Make code unconditional.
15552 [!__ASSUME_32BITUIDS]: Remove conditional code.
15553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15554 <kernel-features.h>.
15555 [__ASSUME_32BITUIDS]: Make code unconditional.
15556 [!__ASSUME_32BITUIDS]: Remove conditional code.
15557 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15558 <kernel-features.h>.
15559 [__ASSUME_32BITUIDS]: Make code unconditional.
15560 [!__ASSUME_32BITUIDS]: Remove conditional code.
15561 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15562 <kernel-features.h>.
15563 [__ASSUME_32BITUIDS]: Make code unconditional.
15564 [!__ASSUME_32BITUIDS]: Remove conditional code.
15565 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15566 <kernel-features.h>.
15567 [__ASSUME_32BITUIDS]: Make code unconditional.
15568 [!__ASSUME_32BITUIDS]: Remove conditional code.
15569 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15570 <kernel-features.h>.
15571 [__ASSUME_32BITUIDS]: Make code unconditional.
15572 [!__ASSUME_32BITUIDS]: Remove conditional code.
15573 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15574 <kernel-features.h>.
15575 [__NR_setresgid] (__setresgid): Do not declare.
15576 [__ASSUME_32BITUIDS]: Make code unconditional.
15577 [!__ASSUME_32BITUIDS]: Remove conditional code.
15578 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15579 <kernel-features.h>.
15580 [__NR_setresuid] (__setresuid): Do not declare.
15581 [__ASSUME_32BITUIDS]: Make code unconditional.
15582 [!__ASSUME_32BITUIDS]: Remove conditional code.
15583 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15584 <kernel-features.h>.
15585 [__ASSUME_32BITUIDS]: Make code unconditional.
15586 [!__ASSUME_32BITUIDS]: Remove conditional code.
15587 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15588 <kernel-features.h>.
15589 [__ASSUME_32BITUIDS]: Make code unconditional.
15590 [!__ASSUME_32BITUIDS]: Remove conditional code.
15591 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15592 <kernel-features.h>.
15593 [__ASSUME_32BITUIDS]: Make code unconditional.
15594 [!__ASSUME_32BITUIDS]: Remove conditional code.
15595 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15596 <kernel-features.h>.
15597 [__ASSUME_32BITUIDS]: Make code unconditional.
15598 [!__ASSUME_32BITUIDS]: Remove conditional code.
15599 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15600 <kernel-features.h>.
15601 [__ASSUME_32BITUIDS]: Make code unconditional.
15602 [!__ASSUME_32BITUIDS]: Remove conditional code.
15603 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15604 <kernel-features.h>.
15605 [__ASSUME_32BITUIDS]: Make code unconditional.
15606 [!__ASSUME_32BITUIDS]: Remove conditional code.
15607 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15608 <kernel-features.h>.
15609 [__ASSUME_32BITUIDS]: Make code unconditional.
15610 [!__ASSUME_32BITUIDS]: Remove conditional code.
15611 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15612 <kernel-features.h>.
15613 [__ASSUME_32BITUIDS]: Make code unconditional.
15614 [!__ASSUME_32BITUIDS]: Remove conditional code.
15615 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15616 <kernel-features.h>.
15617 [__ASSUME_32BITUIDS]: Make code unconditional.
15618 [!__ASSUME_32BITUIDS]: Remove conditional code.
15619 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15620 <kernel-features.h>.
15621 [__ASSUME_32BITUIDS]: Make code unconditional.
15622 [!__ASSUME_32BITUIDS]: Remove conditional code.
15623 * sysdeps/unix/sysv/linux/kernel-features.h
15624 (__ASSUME_SETRESUID_SYSCALL): Remove.
15625 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15626 (__ASSUME_32BITUIDS): Likewise.
15627 (__ASSUME_LDT_WORKS): Likewise.
15628 (__ASSUME_O_DIRECTORY): Likewise.
15629 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15630 architecture but not kernel version.
15631 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15632 (__ASSUME_MMAP2_SYSCALL): Likewise.
15633 (__ASSUME_STAT64_SYSCALL): Likewise.
15634 (__ASSUME_IPC64): Likewise.
15635 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15636 <kernel-features.h>.
15637 [__ASSUME_32BITUIDS]: Make code unconditional.
15638 [!__ASSUME_32BITUIDS]: Remove conditional code.
15639 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15640 <kernel-features.h>.
15641 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15642 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15643 132096]: Remove conditional code.
15644 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15645 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15646 <kernel-features.h>.
15647 [__ASSUME_32BITUIDS]: Make code unconditional.
15648 [!__ASSUME_32BITUIDS]: Remove conditional code.
15649 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15650 <kernel-features.h>.
15651 [__ASSUME_32BITUIDS]: Make code unconditional.
15652 [!__ASSUME_32BITUIDS]: Remove conditional code.
15653 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15654 <kernel-features.h>.
15655 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15657 (__setresgid): Do not declare.
15658 [__ASSUME_32BITUIDS]: Make code unconditional.
15659 [!__ASSUME_32BITUIDS]: Remove conditional code.
15660 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15661 <kernel-features.h>.
15662 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15664 (__setresuid): Do not declare.
15665 [__ASSUME_32BITUIDS]: Make code unconditional.
15666 [!__ASSUME_32BITUIDS]: Remove conditional code.
15667 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15668 <kernel-features.h>.
15669 [__ASSUME_32BITUIDS]: Make code unconditional.
15670 [!__ASSUME_32BITUIDS]: Remove conditional code.
15671 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15672 <kernel-features.h>.
15673 [__ASSUME_32BITUIDS]: Make code unconditional.
15674 [!__ASSUME_32BITUIDS]: Remove conditional code.
15676 2012-05-25 Richard Henderson <rth@twiddle.net>
15678 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15679 dl_hwcap to ifunc resolver.
15680 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15682 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15683 dl_hwcap to ifunc resolver.
15684 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15686 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15689 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15690 for |x| <= 2**-26, not 2**-57.
15691 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15694 2012-05-24 Jeff Law <law@redhat.com>
15696 * stdio-common/Makefile (tests): Add bug25.
15697 * stdio-common/bug25.c: New test.
15699 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15702 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15703 multiple of MALLOC_ALIGNMENT in size.
15704 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15706 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15708 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15710 (FILENAME_MAX): Use macro-int-constant.
15711 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15712 (_IOFBF): Use macro-int-constant.
15713 (_IOLBF): Likewise.
15714 (_IONBF): Likewise.
15715 (SEEK_CUR): Likewise.
15716 (SEEK_END): Likewise.
15717 (SEEK_SET): Likewise.
15718 (TMP_MAX): Likewise.
15719 (EOF): Use macro-int-constant. Require < 0.
15720 (NULL): Use macro-constant. Require == 0.
15721 (stdin): Require type to be FILE *.
15722 (stdout): Likewise.
15723 (stderr): Likewise.
15724 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15725 macro-int-constant.
15726 (EXIT_SUCCESS): Likewise.
15727 (NULL): Use macro-constant. Require == 0.
15728 (RAND_MAX): Use macro-int-constant.
15729 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15730 [C99-based standards] (strtof): Require function.
15731 [C99-based standards] (strtold): Likewise.
15732 [C99-based standards] (strtoll): Likewise.
15733 [C99-based standards] (strtoull): Likewise.
15734 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15735 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15736 [ISO || ISO99 || ISO11] (math.h): Likewise.
15737 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15738 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15741 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15744 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15745 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15746 * intl/dgettext.c (DCGETTEXT): Likewise.
15747 * intl/gettext.c (DCGETTEXT): Likewise.
15748 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15749 * posix/regex_internal.h (gettext): Likewise.
15750 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15751 Remove declaration.
15752 * include/argz.h (__argz_count_internal)
15753 (__argz_stringify_internal): Remove declaration.
15754 (__argz_count, __argz_stringify): Declare hidden proto.
15755 * intl/dcgettext.c: Remove use of INTDEF.
15756 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15757 * string/argz-stringify.c: Likewise.
15758 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15759 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15760 Declare hidden proto.
15761 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15762 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15763 Declare hidden proto.
15764 * include/stdio.h (__asprintf_internal): Don't declare.
15765 (__asprintf): Don't define as macro. Declare hidden proto.
15766 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15767 (__fsetlocking): Declare hidden proto.
15768 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15769 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15771 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15772 (_IO_setlinebuf): Remove use of INTUSE.
15773 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15774 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15775 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15776 Remove declaration.
15777 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15778 (_IO_do_flush): Remove use of INTUSE.
15779 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15780 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15781 (_IO_adjust_column, _IO_least_wmarker)
15782 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15783 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15784 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15785 (_IO_default_doallocate, _IO_wdefault_doallocate)
15786 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15787 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15788 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15789 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15790 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15791 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15792 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15793 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15794 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15795 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15796 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15797 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15798 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15800 (_IO_flush_all_internal, _IO_adjust_column_internal)
15801 (_IO_default_uflow_internal, _IO_default_finish_internal)
15802 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15803 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15804 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15805 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15806 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15807 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15808 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15809 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15810 (_IO_file_close_internal, _IO_file_close_it_internal)
15811 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15812 (_IO_file_init_internal, _IO_file_attach_internal)
15813 (_IO_file_fopen_internal, _IO_file_read_internal)
15814 (_IO_file_sync_internal, _IO_file_seek_internal)
15815 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15816 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15817 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15818 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15819 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15820 (_IO_list_all_internal, _IO_link_in_internal)
15821 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15822 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15823 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15824 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15825 (_IO_do_write_internal, _IO_padn_internal)
15826 (_IO_getline_info_internal, _IO_getline_internal)
15827 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15828 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15829 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15830 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15831 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15832 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15833 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15834 with libc_hidden_ver, remove use of INTUSE.
15835 * libio/genops.c: Likewise.
15836 * libio/freopen.c: Likewise.
15837 * libio/freopen64.c: Likewise.
15838 * libio/iofclose.c: Likewise.
15839 * libio/iofdopen.c: Likewise.
15840 * libio/iofflush.c: Likewise.
15841 * libio/iofflush_u.c: Likewise.
15842 * libio/iofgets.c: Likewise.
15843 * libio/iofgets_u.c: Likewise.
15844 * libio/iofopen.c: Likewise.
15845 * libio/iofopncook.c: Likewise.
15846 * libio/iofread.c: Likewise.
15847 * libio/iofread_u.c: Likewise.
15848 * libio/ioftell.c: Likewise.
15849 * libio/iofwrite.c: Likewise.
15850 * libio/iogetline.c: Likewise.
15851 * libio/iogets.c: Likewise.
15852 * libio/iogetwline.c: Likewise.
15853 * libio/iopadn.c: Likewise.
15854 * libio/iopopen.c: Likewise.
15855 * libio/ioseekoff.c: Likewise.
15856 * libio/ioseekpos.c: Likewise.
15857 * libio/iosetbuffer.c: Likewise.
15858 * libio/iosetvbuf.c: Likewise.
15859 * libio/ioungetc.c: Likewise.
15860 * libio/ioungetwc.c: Likewise.
15861 * libio/iovdprintf.c: Likewise.
15862 * libio/iovsprintf.c: Likewise.
15863 * libio/iovsscanf.c: Likewise.
15864 * libio/memstream.c: Likewise.
15865 * libio/obprintf.c: Likewise.
15866 * libio/oldfileops.c: Likewise.
15867 * libio/oldiofclose.c: Likewise.
15868 * libio/oldiofdopen.c: Likewise.
15869 * libio/oldiofopen.c: Likewise.
15870 * libio/oldiopopen.c: Likewise.
15871 * libio/oldstdfiles.c: Likewise.
15872 * libio/putc.c: Likewise.
15873 * libio/setbuf.c: Likewise.
15874 * libio/setlinebuf.c: Likewise.
15875 * libio/stdfiles.c: Likewise.
15876 * libio/strops.c: Likewise.
15877 * libio/vasprintf.c: Likewise.
15878 * libio/vscanf.c: Likewise.
15879 * libio/vsnprintf.c: Likewise.
15880 * libio/vswprintf.c: Likewise.
15881 * libio/wfiledoalloc.c: Likewise.
15882 * libio/wfileops.c: Likewise.
15883 * libio/wgenops.c: Likewise.
15884 * libio/wmemstream.c: Likewise.
15885 * libio/wstrops.c: Likewise.
15886 * libio/__fpurge.c: Likewise.
15887 * libio/__fsetlocking.c: Likewise.
15888 * assert/assert.c: Likewise.
15889 * debug/fgets_chk.c: Likewise.
15890 * debug/fgets_u_chk.c: Likewise.
15891 * debug/fread_chk.c: Likewise.
15892 * debug/fread_u_chk.c: Likewise.
15893 * debug/gets_chk.c: Likewise.
15894 * debug/obprintf_chk.c: Likewise.
15895 * debug/vasprintf_chk.c: Likewise.
15896 * debug/vdprintf_chk.c: Likewise.
15897 * debug/vsnprintf_chk.c: Likewise.
15898 * debug/vsprintf_chk.c: Likewise.
15899 * malloc/mtrace.c: Likewise.
15900 * misc/error.c: Likewise.
15901 * misc/syslog.c: Likewise.
15902 * stdio-common/asprintf.c: Likewise.
15903 * stdio-common/fxprintf.c: Likewise.
15904 * stdio-common/getw.c: Likewise.
15905 * stdio-common/isoc99_fscanf.c: Likewise.
15906 * stdio-common/isoc99_scanf.c: Likewise.
15907 * stdio-common/isoc99_vfscanf.c: Likewise.
15908 * stdio-common/isoc99_vscanf.c: Likewise.
15909 * stdio-common/isoc99_vsscanf.c: Likewise.
15910 * stdio-common/printf-prs.c: Likewise.
15911 * stdio-common/printf_fp.c: Likewise.
15912 * stdio-common/printf_fphex.c: Likewise.
15913 * stdio-common/printf_size.c: Likewise.
15914 * stdio-common/putw.c: Likewise.
15915 * stdio-common/scanf.c: Likewise.
15916 * stdio-common/sprintf.c: Likewise.
15917 * stdio-common/tmpfile.c: Likewise.
15918 * stdio-common/vfprintf.c: Likewise.
15919 * stdio-common/vfscanf.c: Likewise.
15920 * stdlib/strfmon_l.c: Likewise.
15921 * sunrpc/openchild.c: Likewise.
15922 * sunrpc/xdr_stdio.c: Likewise.
15923 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15924 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15926 2012-05-24 Roland McGrath <roland@hack.frob.com>
15928 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15930 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15931 in the third column, to generate for the shared library an IFUNC
15932 that uses _dl_vdso_vsym.
15933 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15934 * Makeconfig (object-suffixes-noshared): New variable.
15936 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15937 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15938 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15939 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15942 * include/sys/time.h (__gettimeofday): Remove macro.
15943 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15944 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15946 (__gettimeofday): Add libc_hidden_def.
15947 (gettimeofday): Add libc_hidden_weak.
15948 * sysdeps/mach/gettimeofday.c: Likewise.
15949 * sysdeps/posix/gettimeofday.c: Likewise.
15950 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15951 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15953 (__gettimeofday_internal): Remove strong_alias.
15954 (__gettimeofday): Add libc_hidden_def.
15955 (gettimeofday): Add libc_hidden_weak.
15956 * sysdeps/unix/syscalls.list (gettimeofday):
15957 Remove __gettimeofday_internal alias.
15959 2012-05-24 Daniel Jacobowitz <drow@false.org>
15960 H.J. Lu <hongjiu.lu@intel.com>
15963 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15964 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15965 (largebin_index_32_big): New.
15966 (largebin_index): Use it for 16-byte alignment.
15967 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15968 correction with front_misalign.
15970 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15998 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15999 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16001 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16005 * math/libm-test.inc (exp_test): Add test from bug 14036.
16006 (pow_test): Add test from bug 10846.
16008 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16010 (special_function): Do not include flags in test name.
16011 (parse_args): Likewise.
16012 * sysdeps/i386/fpu/libm-test-ulps: Update.
16013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16014 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16015 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16018 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16020 * math/libm-test.inc ("Philosophy"): Update comment about
16022 (UNDERFLOW_EXCEPTION): New macro.
16023 (UNDERFLOW_EXCEPTION_OK): Likewise.
16024 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16025 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16026 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16027 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16028 (INVALID_EXCEPTION_OK): Update value.
16029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16030 (OVERFLOW_EXCEPTION_OK): Likewise.
16031 (IGNORE_ZERO_INF_SIGN): Likewise.
16032 (test_exceptions): Handle underflow exceptions.
16033 (acos_test): Update for underflow exception expectations.
16034 (cexp_test): Likewise.
16035 (clog_test): Likewise.
16036 (clog10_test): Likewise.
16037 (csqrt_test): Likewise.
16038 (ctan_test): Likewise.
16039 (ctanh_test): Likewise.
16040 (exp_test): Likewise.
16041 (exp10_test): Likewise.
16042 (exp2_test): Likewise.
16043 (expm1_test): Likewise.
16044 (fma_test): Likewise.
16045 (j0_test): Likewise.
16046 (jn_test): Likewise.
16047 (nexttoward_test): Likewise.
16048 (pow_test): Likewise.
16049 (scalbn_test): Likewise.
16050 (scalbln_test): Likewise.
16051 (tan_test): Likewise.
16052 (y1_test): Likewise.
16053 * sysdeps/i386/fpu/libm-test-ulps: Update.
16054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16056 2012-05-23 David S. Miller <davem@davemloft.net>
16058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16059 (__libc_sigaction): Remove unused local variables.
16061 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16063 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16065 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16067 mktime: avoid signed integer overflow
16068 * time/mktime.c (__mktime_internal): Do not mishandle the case
16069 where diff == INT_MIN.
16071 mktime: simplify computation of average
16072 * time/mktime.c (ranged_convert): Use new time_t_avg function
16073 instead of rolling our own (probably-slower) code.
16075 mktime: do not assume signed right shift propagates sign bit
16076 * time/mktime.c (isdst_differ): New static function.
16077 (__mktime_internal): No need to normalize tm_isdst now.
16078 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16081 mktime: merge another wrapv change from gnulib
16082 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16083 from some compilers.
16085 mktime: remove incorrect attempt at unusual arithmetics
16086 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16087 The code didn't really work on such machines anyway.
16088 (TYPE_MINIMUM): Assume two's complement.
16089 (twos_complement_arithmetic): Verify that long_int and time_t
16090 are two's complement (or unsigned, in the latter case).
16092 mktime: check signed shifts on long_int and time_t, too
16093 * time/mktime.c (SHR): Check that shifts work as desired
16094 on the types long_int and time_t too, as SHR is used on
16097 mktime: do not assume 'long' is wide enough
16098 * time/mktime.c (verify): Move decl up.
16099 (long_int): New type.
16100 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16101 to remove assumption in the code that 'long' is wide enough to
16102 store year values. This assumption is not true on x32 and on
16103 some non-glibc platforms.
16105 mktime: merge wrapv change from gnulib
16106 * time/mktime.c (WRAPV): New macro.
16107 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16108 (guess_time_tm, __mktime_internal): Do not assume that signed
16109 integer overflow wraps around; modern compilers generate code
16110 where this assumption is no longer valid.
16112 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16114 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16115 Replace "jmp L(pseudo_end)" with "ret".
16116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16119 2012-05-23 Andreas Jaeger <aj@suse.de>
16121 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16122 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16124 2012-05-23 Andreas Jaeger <aj@suse.de>
16125 Maximilian Attems <max@stro.at>
16127 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16130 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16132 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16133 code so that pseudo_end is just ret and the stack pointer is
16134 correct also for static library in error case.
16136 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16138 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16139 move to syscalls.list.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16145 * manual/install.texi (Running make install): Do not mention Linux
16146 kernel version for which pt_chown is not needed.
16147 (Linux): Do not mention problems with nscd with 2.0 kernels.
16148 * INSTALL: Regenerated.
16150 2012-05-23 Andreas Jaeger <aj@suse.de>
16152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16153 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16155 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16157 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16159 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16165 * sysdeps/unix/sysv/linux/bits/in.h
16166 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16168 2012-05-22 Roland McGrath <roland@hack.frob.com>
16170 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16171 (PREPARE_VERSION): Just use assert instead, it will be elided
16172 under [NDEBUG] anyway.
16174 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16176 * sysdeps/unix/sysv/linux/Makefile: Include
16177 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16178 (sysdep_routines): Remove sysctl.
16179 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16180 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16181 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16183 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16185 2012-05-22 Andreas Jaeger <aj@suse.de>
16187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16188 that pseudo_end is just ret and the stack pointer is correct also
16189 for static library in error case.
16191 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16194 * nss/nsswitch.c (defconfig_entries): New variable.
16195 (__nss_database_lookup): Don't leak defconfig entries.
16196 (nss_parse_service_list): Don't leak on error paths.
16197 (free_database_entries): New function.
16198 (free_defconfig): New function.
16199 (free_mem): Move common code to free_database_entries.
16201 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16205 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16207 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16208 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16211 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16212 (INTERNAL_SYSCALL_TYPES): Likewise.
16213 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16214 (LOAD_REGS_TYPES_[1-6]): Likewise.
16215 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16216 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16218 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16220 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16221 copysignl for GLIBC_2_0.
16222 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16223 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16225 logbl for GLIBC_2_0.
16226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16227 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16229 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16232 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16237 * time/mktime.c: Update copyright years.
16239 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16241 mktime: merge comment-quoting-style change from gnulib
16242 * time/mktime.c: Quote 'like this' in comments.
16243 The GNU coding standards suggest that we no longer quote `like this',
16244 as "`" and "'" are typically rendered asymmetrically nowadays.
16245 The typical gnulib style is to quote 'like this' when quoting
16246 code, and "like this" when quoting English.
16248 * time/mktime.c (compile-command): Add "-I.".
16250 mktime: merge mktime-internal.h change from gnulib
16251 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16253 mktime: merge time_r change from gnulib
16254 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16256 mktime: merge DEBUG change from gnulib
16257 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16258 case system <time.h> has a #define.
16260 mktime: merge <sys/types.h> change from gnulib
16261 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16262 since <time.t> is now guaranteed to define time_t.
16264 mktime: merge HAVE_CONFIG_H change from gnulib
16265 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16267 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16272 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16274 (struct rusage): Use anonymous union to pad each field to
16277 2012-05-21 David S. Miller <davem@davemloft.net>
16279 * Makefules (o-iterator): Remove .s cases.
16280 (compile-command.s): Delete.
16281 (COMPILE.s): Delete.
16282 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16284 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16286 * configure.in (libc_cv_predef_stack_protector): Only consider
16287 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16288 * configure: Regenerated.
16290 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16293 New macro. Use R*LP on int and pointer.
16294 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16295 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16296 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16297 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16299 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16300 [__WORDSIZE_TIME64_COMPAT32] instead of
16301 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16302 (struct utmp): Likewise.
16303 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16304 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16306 (__WORDSIZE_TIME64_COMPAT32): This.
16307 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16308 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16309 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16310 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16311 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16312 (__WORDSIZE_TIME64_COMPAT32): New macro.
16314 2012-05-21 Andreas Jaeger <aj@suse.de>
16316 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16317 only if [SHARED]. Add prototype for __wcschr_ia32.
16319 2012-05-21 Roland McGrath <roland@hack.frob.com>
16321 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16322 of %rbp unmolested in the jmp_buf while mangling the low bits.
16323 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16324 unmolested high bits of %rbp while demangling the low bits.
16325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16327 2012-05-21 Andreas Jaeger <aj@suse.de>
16329 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16330 * sunrpc/svc_simple.c: Use it for registerrpc.
16331 * sunrpc/xcrypt.c: Use it for passwd2des.
16333 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16337 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16338 Don't define if [__SYSCALL_WORDSIZE != 32].
16339 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16342 2012-05-21 Bruno Haible <bruno@clisp.org>
16343 Andreas Jaeger <aj@suse.de>
16345 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16346 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16347 inptr and inend for must_buffer_ch.
16348 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16349 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16350 * stdio-common/Makefile (tests): Remove bug15.
16351 (bug15-ENV): Remove macro.
16352 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16355 2012-05-19 Andreas Jaeger <aj@suse.de>
16356 Roland McGrath <roland@hack.frob.com>
16358 * manual/contrib.texi: Completely rewritten. It contains now an
16359 alphabetical list of contributors and their contributions.
16361 2012-05-21 Richard Henderson <rth@twiddle.net>
16363 * misc/getauxval.c (__getauxval): Use unsigned long int.
16364 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16365 (getauxval): Use unsigned long int.
16367 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16369 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16371 2012-05-21 Roland McGrath <roland@hack.frob.com>
16373 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16374 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16375 __alignof__ (long double).
16377 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16381 2012-05-20 Richard Henderson <rth@twiddle.net>
16383 * misc/getauxval.c: New file.
16384 * misc/sys/auxv.h: New file.
16385 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16386 (routines): Add getauxval.
16387 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16388 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16389 * elf/dl-sysdep.c (_dl_auxv): Remove.
16390 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16391 * elf/dl-support.c (_dl_auxv): New variable.
16392 (_dl_aux_init): Initialize it.
16393 * manual/startup.texi (Auxiliary Vector): New node.
16394 * sysdeps/generic/bits/hwcap.h: New file.
16395 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16396 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16397 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16398 * sysdeps/sparc/sysdep.h: ... here. Include it.
16399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16412 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16416 2012-05-19 David S. Miller <davem@davemloft.net>
16418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16420 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16423 * math/s_ccosh.c: Include <float.h>
16424 (__ccosh): Avoid internal overflow calculating sinh and cosh
16425 values before multiplying by sin and cos values.
16426 * math/s_ccoshf.c: Likewise.
16427 * math/s_ccoshl.c: Likewise.
16428 * math/s_csin.c: Likewise.
16429 * math/s_csinf.c: Likewise.
16430 * math/s_csinl.c: Likewise.
16431 * math/s_csinh.c: Likewise.
16432 * math/s_csinhf.c: Likewise.
16433 * math/s_csinhl.c: Likewise.
16434 * math/libm-test.inc (ccos_test): Add more tests.
16435 (ccosh_test): Likewise.
16436 (csin_test): Likewise.
16437 (csinh_test): Likewise.
16438 * sysdeps/i386/fpu/libm-test-ulps: Update.
16439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16441 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16443 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16444 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16446 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16448 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16450 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16451 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16452 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16453 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16454 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16455 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16456 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16457 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16458 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16459 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16460 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16461 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16462 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16463 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16464 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16465 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16466 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16467 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16468 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16469 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16470 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16471 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16472 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16473 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16474 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16475 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16476 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16477 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16478 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16479 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16480 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16482 2012-05-18 Andreas Jaeger <aj@suse.de>
16484 * csu/.gitignore: Delete.
16486 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16488 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16489 (timex): Use __syscall_slong_t.
16491 2012-05-18 Andreas Jaeger <aj@suse.de>
16492 Carlos O'Donell <carlos_odonell@mentor.com>
16494 * manual/install.texi (Configuring and compiling): Update
16495 description about files modified in the source directory.
16496 * INSTALL: Regenerated.
16498 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16500 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16501 value. Use "or" to set return value to -1.
16502 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16503 negate return value.
16505 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16507 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16508 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16509 failure if the compiler has Graphite support disabled.
16510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16512 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16513 CFLAGS-memmove.c): Likewise.
16514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16517 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16519 * sysdeps/x86_64/x32/_itoa.h: New file.
16521 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16522 getdents system call only if kernel and user dirents have the
16523 same d_ino and d_off.
16525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16526 LLONG_MAX != LONG_MAX.
16527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16528 (_fitoa_word): Likewise.
16530 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16532 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16533 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16534 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16536 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16537 include <bits/wordsize.h>. Check __x86_64__ instead of
16539 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16540 if __x86_64__ is defined. Use anonymous union on fpstate.
16542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16545 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16547 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16548 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16549 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16550 Refer to _rtld_local_ro instead of _rtld_global_ro.
16551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16553 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16555 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16557 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16558 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16559 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16561 * sysdeps/powerpc/powerpc32/dl-machine.c
16562 (__elf_machine_runtime_setup) [PROF]: Don't reference
16565 2012-05-18 Andreas Jaeger <aj@suse.de>
16567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16568 function only available for GCCs before 3.4 since GCC 3.4
16569 introduced a builtin.
16571 (llrintf): Likewise.
16572 (llrint): Likewise.
16579 (nearbyint): Likewise.
16580 (nearbyintf): Likewise.
16584 (floorf): Likewise.
16586 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16588 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16589 on both fields and cast pointer to __syscall_ulong_t.
16591 * bits/types.h (__fsword_t): New type.
16592 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16593 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16595 (__FSWORD_T_TYPE): Likewise.
16596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16597 (__FSWORD_T_TYPE): Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16599 (__FSWORD_T_TYPE): Likewise.
16600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16601 (__FSWORD_T_TYPE): Likewise.
16602 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16603 __SWORD_TYPE with __fsword_t.
16604 (statfs64): Likewise.
16606 2012-05-17 David S. Miller <davem@davemloft.net>
16608 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16610 2012-05-17 Andreas Jaeger <aj@suse.de>
16612 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16615 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16617 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16619 2012-05-17 Andreas Jaeger <aj@suse.de>
16621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16624 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16626 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16628 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16630 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16631 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16633 2012-05-17 Andreas Jaeger <aj@suse.de>
16634 Carlos O'Donell <carlos_odonell@mentor.com>
16637 * sysdeps/x86_64/multiarch/init-arch.h
16638 (bit_YMM_Usable): Rename to...
16639 (bit_AVX_Usable): ... this.
16640 (bit_FMA4_Usable): New macro.
16641 (bit_XMM_state): New macro.
16642 (bit_YMM_state): New macro.
16643 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16644 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16645 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16646 (CPUID_OSXSAVE): New macro.
16647 (CPUID_AVX): New macro.
16648 (CPUID_FMA4): New macro.
16649 (index_YMM_Usable): Rename to...
16650 (index_AVX_Usable): ... this.
16651 (HAS_AVX): Use HAS_ARCH_FEATURE.
16652 (HAS_FMA4): Likewise.
16653 (HAS_YMM_USABLE): Remove.
16654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16655 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16657 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16658 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16659 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16660 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16661 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16663 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16665 * math/libm-test.c: Support platforms without multiple rounding modes.
16666 * math/bug-nextafter.c: Support platforms without FP exceptions.
16667 * math/bug-nexttoward.c: Likewise.
16668 * math/test-fenv.c: Likewise.
16669 * math/test-misc.c: Likewise.
16670 * stdlib/bug-getcontext.c: Likewise.
16672 2012-05-17 Andreas Jaeger <aj@suse.de>
16674 * manual/examples/search.c (critter_cmp): Change signature to
16676 * manual/string.texi (Collation Functions): Likewise.
16678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16680 * bits/types.h: Fold copyright years.
16681 * bits/typesizes.h: Likewise.
16682 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16686 * time/time.h: Likewise.
16688 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16691 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16692 in instead of returning them. Return void.
16693 (__libc_mallinfo): Accumulate over all arenas.
16694 (__malloc_stats): Adjust for change in int_mallinfo interface.
16696 2012-05-16 Roland McGrath <roland@hack.frob.com>
16699 * configure.in (NM): Add AC_CHECK_TOOL for it.
16700 (libc_extra_cflags): New substituted variable.
16701 Check for -fstack-protector being used implicitly.
16702 * configure: Regenerated.
16703 * config.make.in (config-extra-cflags): New variable,
16704 gets @libc_extra_cflags@.
16705 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16708 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16709 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16710 * configure: Regenerated.
16711 * config.make.in (CPPUNDEFS): New substituted variable.
16712 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16713 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16714 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16718 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16719 (mq_attr): Use __syscall_slong_t.
16721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16723 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16724 Check __x86_64__ instead of __WORDSIZE.
16725 (_STAT_VER_LINUX): Likewise.
16726 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16727 __syscall_ulong_t and __syscall_slong_t.
16728 (stat64): Likewise.
16730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16732 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16734 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16736 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16738 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16740 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16743 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16744 include <bits/wordsize.h>. Check __x86_64__ instead of
16746 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16748 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16751 include <bits/wordsize.h>. Check __x86_64__ instead of
16753 (user_regs_struct): Use "__extension__ unsigned long long"
16754 instead of "unsigned long" if __x86_64__ is defined.
16755 (user): Likewise. Pad after pointer field if __ILP32__ is
16758 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16760 * configure.in (makeinfo): Require version 4.5 or later. Allow
16762 * configure: Regenerated.
16763 * manual/install.texi (texinfo): Increase version requirement to
16765 * INSTALL: Regenerated.
16767 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16769 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16771 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16773 * sysdeps/x86_64/x32/ffs.c: New file.
16775 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16777 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16778 defined. Use __syscall_ulong_t.
16779 (shminfo): Use __syscall_ulong_t.
16780 (shm_info): Likewise.
16782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16785 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16787 (msgqnum_t): Use __syscall_ulong_t.
16788 (msglen_t): Likewise.
16789 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16792 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16795 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16797 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16798 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16800 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16804 include <bits/wordsize.h>. Check __x86_64__ instead of
16807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16808 "unsigned long long int" if __x86_64__ is defined.
16809 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16812 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16813 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16817 (GET_PC): Cast to uintptr_t first.
16818 (GET_FRAME): Likewise.
16819 (GET_STACK): Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16824 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16826 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16828 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16829 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16831 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16834 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16835 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16843 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16845 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16846 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16847 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16848 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16849 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16851 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16853 * Makerules (+depfiles): Also collect depfiles from .oS in
16855 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16856 .oS, $(libnldbl-routines)).
16858 * Makerules (native-compile-mkdep-flags): Define.
16859 * sunrpc/Makefile (extra-objs): Add $(addprefix
16860 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16861 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16862 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16863 calling $(make-target-directory).
16865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16867 * bits/types.h (__snseconds_t): Removed.
16868 * time/time.h (struct timespec): Replace __snseconds_t with
16870 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16871 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16874 (__SNSECONDS_T_TYPE): Likewise.
16875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16876 (__SNSECONDS_T_TYPE): Likewise.
16877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16878 (__SNSECONDS_T_TYPE): Likewise.
16880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16882 * sysdeps/mach/hurd/bits/typesizes.h
16883 (__SYSCALL_SLONG_TYPE): New macro.
16884 (__SYSCALL_ULONG_TYPE): Likewise.
16886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16888 * bits/types.h (__syscall_slong_t): New type.
16889 (__syscall_ulong_t): Likewise.
16891 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16892 (__SYSCALL_ULONG_TYPE): Likewise.
16893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16894 (__SYSCALL_SLONG_TYPE): Likewise.
16895 (__SYSCALL_ULONG_TYPE): Likewise.
16896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16897 (__SYSCALL_SLONG_TYPE): Likewise.
16898 (__SYSCALL_ULONG_TYPE): Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16900 (__SYSCALL_SLONG_TYPE): Likewise.
16901 (__SYSCALL_ULONG_TYPE): Likewise.
16903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16905 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16906 Add sigaltstack-offsets.sym.
16907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16908 <sigaltstack-offsets.h>.
16909 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16910 longjmp_msg pointer.
16911 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16912 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16914 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16916 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16918 * elf/stackguard-macros.h: Remove file.
16919 * sysdeps/generic/stackguard-macros.h: New file.
16920 * sysdeps/i386/stackguard-macros.h: Likewise.
16921 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16922 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16923 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16924 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16925 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16926 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16927 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16928 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16929 <elf/stackguard-macros.h>.
16932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16933 __aligned__ in attribute.
16934 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16935 (gregset_t): Likewise.
16937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16939 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16940 * sysdeps/x86_64/64/Implies-after: Here. New file.
16941 * sysdeps/x86_64/x32/Implies-after: New file.
16943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16945 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16946 and access return value for _dl_profile_fixup. Use R10_LP to
16949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16951 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16955 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16956 * sysdeps/x86_64/x32/sysdep.h: New file.
16958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16960 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16961 * sysdeps/x86_64/setjmp.S: Likewise.
16963 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16967 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16969 remove unused global constant.
16971 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16973 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16974 include of <not-cancel.h>.
16976 2012-05-15 Roland McGrath <roland@hack.frob.com>
16978 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16980 2012-05-15 Jeff Law <law@redhat.com>
16981 Andreas Jaeger <aj@suse.de>
16984 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16986 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16987 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16988 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16989 code changing __hst_map_handle.map.
16991 2012-05-15 Roland McGrath <roland@hack.frob.com>
16993 * configure.in (sysnames): Look for Implies-before and Implies-after
16995 * configure: Regenerated.
16997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16999 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17000 8-byte data alignment with LP_SIZE alignment.
17002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17004 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17009 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17013 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17021 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17022 (stackinfo_sub_sp): Likewise.
17024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17041 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17045 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17046 into R11_LP and load __x86_64_shared_cache_size_half into
17049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17054 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17063 powerpc32/power7/fpu/s_logb.c via #include.
17064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17065 powerpc32/power7/fpu/s_logbf.c via #include.
17066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17067 powerpc32/power7/fpu/s_logbl.c via #include.
17069 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17071 * README.libm: Remove file.
17073 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17075 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17076 count for x32. Use R*_LP and omit operand-size suffix.
17078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17080 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17081 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17082 * sysdeps/x86_64/x32/shlib-versions: New file.
17084 2012-05-14 Roland McGrath <roland@hack.frob.com>
17086 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17087 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17088 Use _dl_fatal_printf instead.
17090 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17092 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17093 set if not set by the user. Do not allow for being unset.
17094 * sysdeps/unix/sysv/linux/configure: Regenerated.
17096 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17099 the `q' suffix from lea and replace .quad with ASM_ADDR.
17101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17104 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17106 (PTR_DEMANGLE): Likewise.
17108 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17110 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17112 (ASM_ADDR): Likewise.
17113 (RAX_LP): Likewise.
17114 (RBP_LP): Likewise.
17115 (RBX_LP): Likewise.
17116 (RCX_LP): Likewise.
17117 (RDI_LP): Likewise.
17118 (RSI_LP): Likewise.
17119 (RSP_LP): Likewise.
17122 (R10_LP): Likewise.
17123 (R10_LP): Likewise.
17124 (R11_LP): Likewise.
17125 (R12_LP): Likewise.
17126 (R13_LP): Likewise.
17127 (R14_LP): Likewise.
17128 (R15_LP): Likewise.
17130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17132 * sysdeps/x86_64/x32/dl-machine.h: New file.
17134 2012-05-14 Andreas Jaeger <aj@suse.de>
17136 * manual/Makefile (subdir): Remove export of subdir.
17137 (all): Remove target.
17138 (.PHONY): Remove all from list.
17139 (mkinstalldirs): Remove.
17140 (.PHONY): Remove installdirs from list.
17141 ($(inst_infodir)/libc.info): Use make-target-directory.
17142 (installdirs): Remove.
17143 (subdir_%): Remove.
17144 (glibc-targets): Remove.
17147 ($(objpfx)stubs ../po/manual.pot): Remove.
17148 ($(objpfx)stamp%): Remove.
17149 (make-target-directory): Remove.
17150 (subdir_install): Remove.
17151 (routines): Remove.
17158 * manual/.gitignore: Remove, it's not needed anymore.
17159 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17161 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17163 (texis): Renamed to $(objpfx)texis.
17164 (texis-path): New, contains path to generated files.
17165 (chapters.%): Use texis-path for complete path, add extra argument
17167 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17168 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17169 (summary,texi, stamp-summary): Use complete path of
17170 files. Generate files in build dir.
17171 (dir-add.texi): Build in build dir.
17172 (libm-err.texi,stamp-libm-err): Likewise.
17173 (version.texi, stamp-version): Likewise.
17174 (.%c.texi): Likewise.
17175 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17176 (mostlyclean): Remove target.
17177 (realclean): Remove target.
17178 (generated): Add new variable with contents from mostlyclean and
17179 realclean, remove entries duplicated in common-mostlyclean, add
17180 stamp-libm-err and stamp-version.
17181 (generated-dirs): Add libc directory.
17182 ($(inst_infodir)/libc.info): Install files from build dir.
17184 * manual/install.texi (Configuring and compiling): Adjust since
17185 the info files are not part of the tar ball anymore.
17187 2012-05-14 Andreas Jaeger <aj@suse.de>
17189 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17192 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17196 to 2.2.0 where earlier.
17197 * sysdeps/unix/sysv/linux/configure: Regenerated.
17198 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17199 Remove conditional code.
17200 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17201 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17202 Remove conditional code.
17203 [!__NR_lchown]: Likewise.
17204 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17205 [__NR_lchown]: Likewise.
17206 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17207 comment referencing __ASSUME_LCHOWN_SYSCALL.
17208 * sysdeps/unix/sysv/linux/i386/sigaction.c
17209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17211 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17212 Remove conditional code.
17213 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17214 (__protocol_available): Remove #if 0 code.
17215 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17217 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17218 * sysdeps/unix/sysv/linux/kernel-features.h
17219 (__ASSUME_GETCWD_SYSCALL): Don't define.
17220 (__ASSUME_REALTIME_SIGNALS): Likewise.
17221 (__ASSUME_PREAD_SYSCALL): Likewise.
17222 (__ASSUME_PWRITE_SYSCALL): Likewise.
17223 (__ASSUME_POLL_SYSCALL): Likewise.
17224 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17225 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17227 (__ASSUME_SIOCGIFNAME): Don't define.
17228 (__ASSUME_MSG_NOSIGNAL): Likewise.
17229 (__ASSUME_SENDFILE): Define unconditionally.
17230 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17231 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17233 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17234 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17236 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17237 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17238 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17239 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17264 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17265 Remove conditional code.
17266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17267 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17268 Remove conditional code.
17269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17270 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17271 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17272 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17273 Remove conditional code.
17274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17275 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17276 Remove conditional code.
17277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17278 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17279 Remove conditional code.
17280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17281 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17282 Remove conditional code.
17283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17284 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17285 Remove conditional code.
17286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17287 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17290 * sysdeps/unix/sysv/linux/sigaction.c
17291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17293 * sysdeps/unix/sysv/linux/sigpending.c
17294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17296 * sysdeps/unix/sysv/linux/sigprocmask.c
17297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17299 * sysdeps/unix/sysv/linux/sigsuspend.c
17300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17303 (__libc_missing_rt_sigs): Remove.
17304 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17305 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17306 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17307 Remove conditional code.
17308 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17309 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17311 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17316 2012-05-14 Andreas Jaeger <aj@suse.de>
17318 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17319 it's not used in glibc.
17320 (__coshm1): Likewise.
17321 (__acosh1p): Likewise.
17324 * manual/string.texi (Copying and Concatenation): Add missing
17325 variable in concat example.
17326 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17332 __builtin_clzl with __builtin_clzll.
17334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17337 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17340 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17342 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17343 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17344 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17347 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17349 * NEWS: Update ia64 info.
17351 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17353 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17356 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17358 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17359 * sysdeps/unix/syscalls.list (dup3): Likewise.
17360 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17361 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17363 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17365 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17366 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17368 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17370 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17372 (TLS_IE): Use mov/add instead of movq/addq to load thread
17374 (TLS_GD_PREFIX): New.
17377 2012-05-11 David S. Miller <davem@davemloft.net>
17379 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17380 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17381 (_FPU_SETCW): Likewise.
17383 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17385 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17386 is 32-byte aligned.
17388 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17391 * iconvdata/gb18030.c: Update tables.
17392 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17393 characters specially.
17394 (BODY for TO_LOOP): Add encoding of missing ranges.
17396 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17399 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17400 * sysdeps/mach/hurd/dup3.c: Likewise.
17401 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17402 * sysdeps/powerpc/memmove.c:: Likewise.
17404 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17407 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17409 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17411 * elf/elf.h (R_X86_64_RELATIVE64): New.
17412 (R_X86_64_NUM): Updated.
17413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17414 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17415 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17416 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17417 tst-quad1pie tst-quad2pie
17418 (modules-names): Add tst-quadmod1 tst-quadmod2.
17419 ($(objpfx)tst-quad1): New dependency.
17420 ($(objpfx)tst-quad2): Likewise.
17421 ($(objpfx)tst-quad1pie): Likewise.
17422 ($(objpfx)tst-quad2pie): Likewise.
17423 * sysdeps/x86_64/tst-quad1.c: New file.
17424 * sysdeps/x86_64/tst-quad1pie.c: New file.
17425 * sysdeps/x86_64/tst-quad2.c: Likewise.
17426 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17427 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17428 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17429 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17430 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17434 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17435 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17436 * streams/stropts.h (t_scalar_t): Define type.
17438 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17439 (_PATH_PRESERVE): Set to "/var/lib".
17440 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17442 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17445 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17446 if __dir_mkfile succeeded.
17448 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17449 checking for _hurd_dtablesize. Unlock it right after having
17450 finished _hurd_dtable allocation.
17452 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17454 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17455 * sysdeps/mach/hurd/configure: Regenerated.
17456 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17457 special-casing to...
17458 * sysdeps/gnu/configure.in: ... this new file.
17459 * sysdeps/unix/sysv/linux/configure: Regenerated.
17460 * sysdeps/gnu/configure: New generated file.
17462 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17463 for Linux: use nsec instead of usec, as well as:
17464 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17465 members of type struct timespec.
17466 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17468 (struct stat64): Likewise.
17469 (_STATBUF_ST_NSEC): New macro.
17470 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17472 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17473 __strtoul_internal rather than strtoul.
17475 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17477 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17482 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17483 which preserves existing values.
17484 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17488 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17489 TIMEOUT values. Return EINVAL for NFDS values either negative or
17490 greater than FD_SETSIZE.
17492 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17494 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17495 allocated, call __vm_protect to finish enabling the existing space, and
17496 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17497 allocate the remainder.
17499 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17501 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17502 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17506 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17507 sysdeps/mach/hurd/readlink.c.
17509 * posix/tst-sysconf.c (posix_options): Only use
17510 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17511 _POSIX_SYNCHRONIZED_IO when they are defined
17512 * sysdeps/mach/hurd/bits/posix_opt.h:
17513 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17514 (_XOPEN_REALTIME): Undefine macro.
17515 (_XOPEN_REALTIME_THREADS): Undefine macro.
17516 (_XOPEN_SHM): Undefine macro.
17517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17521 (_POSIX_ASYNC_IO): Undefine macro.
17522 (_POSIX_PRIORITIZED_IO): Undefine macro.
17523 (_POSIX_SPIN_LOCKS): Define macro to -1.
17525 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17526 SA_NODEFER, SA_RESETHAND.
17527 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17528 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17533 * elf/Makefile (pldd-modules): Define unconditionally.
17535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17537 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17541 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17542 Return ENOENT when name is empty.
17543 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17547 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17549 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17553 Fix mlock in all cases except non-readable pages.
17554 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17555 instead of VM_PROT_ALL as parameter to __vm_wire function.
17557 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17558 (__mkdir): When path is `/', just fail with EEXIST.
17559 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17563 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17564 <sys/uio.h> (for writev).
17565 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17566 and <sys/param.h> (for MIN).
17568 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17570 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17571 REQUESTED_TIME. Properly set the remaining time and return EINTR
17574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17576 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17577 Depend on against $(link-rpcuserlibs).
17579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17581 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17582 (__libc_stack_end): Do not use attribute_relro.
17583 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17584 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17585 to libthread-provided value.
17586 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17592 * bits/libc-lock.h (__libc_once_get): New macro.
17593 * sysdeps/mach/bits/libc-lock.h: Likewise.
17594 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17596 instead of using implementation details.
17598 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17599 * libio/freopen.c: Likewise.
17600 * libio/freopen64.c: Likewise.
17601 * misc/syslog.c: Likewise.
17602 * nscd/connections.c: Likewise.
17603 * nscd/netgroupcache.c: Likewise.
17604 * sysdeps/posix/getcwd.c: Likewise.
17606 2012-05-10 Roland McGrath <roland@hack.frob.com>
17608 * math/w_ilogbf.c: Add #include <limits.h>.
17610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17612 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17613 path instead of returning without unlocking.
17615 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17616 immediate-write ioctls.
17617 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17621 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17622 __builtin_frame_address instead of making assumptions about the
17623 location of the return address relative to DATA. Force early load of
17624 the return address.
17625 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17626 __builtin_frame_address.
17629 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17630 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17631 implement dup3 and do some further code clean-ups.
17632 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17637 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17639 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17640 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17641 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17642 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17643 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17646 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17647 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17648 when handler == SIG_ERR, not when handler != SIG_ERR.
17650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17652 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17653 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17656 accept4 for GNU Hurd.
17657 * include/sys/socket.h (__libc_accept4): New prototype.
17658 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17659 to implement __libc_accept4.
17660 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17665 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17666 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17667 signal-defines.sym.
17669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17671 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17675 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17676 assertion on O_CLOEXEC flag.
17677 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17678 * hurd/intern-fd.c: Likewise.
17679 * hurd/port2fd.c: Likewise.
17681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17684 * bits/in.h (IPV6_PKTINFO): Define new macro.
17685 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17687 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17692 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17694 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17695 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17697 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17698 * math/libm-test.inc (logb_test) : Additional logb tests.
17700 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17701 Andreas Jaeger <aj@suse.de>
17703 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17704 * configure: Regenerated.
17705 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17706 * config.make.in (link-obsolete-rpc): New substituted variable.
17707 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17708 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17709 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17710 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17711 so that libc.a contains the symbols.
17712 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17713 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17714 * sunrpc/auth_none.c: Likewise.
17715 * sunrpc/auth_unix.c: Likewise.
17716 * sunrpc/authdes_prot.c: Likewise.
17717 * sunrpc/authuxprot.c: Likewise.
17718 * sunrpc/clnt_gen.c: Likewise.
17719 * sunrpc/clnt_perr.c: Likewise.
17720 * sunrpc/clnt_raw.c: Likewise.
17721 * sunrpc/clnt_simp.c: Likewise.
17722 * sunrpc/clnt_tcp.c: Likewise.
17723 * sunrpc/clnt_udp.c: Likewise.
17724 * sunrpc/clnt_unix.c: Likewise.
17725 * sunrpc/des_crypt.c: Likewise.
17726 * sunrpc/des_soft.c: Likewise.
17727 * sunrpc/get_myaddr.c: Likewise.
17728 * sunrpc/key_call.c: Likewise.
17729 * sunrpc/key_prot.c: Likewise.
17730 * sunrpc/netname.c: Likewise.
17731 * sunrpc/pm_getmaps.c: Likewise.
17732 * sunrpc/pm_getport.c: Likewise.
17733 * sunrpc/pmap_clnt.c: Likewise.
17734 * sunrpc/pmap_prot.c: Likewise.
17735 * sunrpc/pmap_prot2.c: Likewise.
17736 * sunrpc/pmap_rmt.c: Likewise.
17737 * sunrpc/publickey.c: Likewise.
17738 * sunrpc/rpc_cmsg.c: Likewise.
17739 * sunrpc/rpc_common.c: Likewise.
17740 * sunrpc/rpc_dtable.c: Likewise.
17741 * sunrpc/rpc_prot.c: Likewise.
17742 * sunrpc/rpc_thread.c: Likewise.
17743 * sunrpc/rtime.c: Likewise.
17744 * sunrpc/svc.c: Likewise.
17745 * sunrpc/svc_auth.c: Likewise.
17746 * sunrpc/svc_raw.c: Likewise.
17747 * sunrpc/svc_run.c: Likewise.
17748 * sunrpc/svc_tcp.c: Likewise.
17749 * sunrpc/svc_udp.c: Likewise.
17750 * sunrpc/svc_unix.c: Likewise.
17751 * sunrpc/svcauth_des.c: Likewise.
17752 * sunrpc/xcrypt.c: Likewise.
17753 * sunrpc/xdr.c: Likewise.
17754 * sunrpc/xdr_array.c: Likewise.
17755 * sunrpc/xdr_float.c: Likewise.
17756 * sunrpc/xdr_intXX_t.c: Likewise.
17757 * sunrpc/xdr_mem.c: Likewise.
17758 * sunrpc/xdr_rec.c: Likewise.
17759 * sunrpc/xdr_ref.c: Likewise.
17760 * sunrpc/xdr_sizeof.c: Likewise.
17761 * sunrpc/xdr_stdio.c: Likewise.
17763 2012-05-10 Roland McGrath <roland@hack.frob.com>
17765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17766 change. Update copyright years.
17768 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17770 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17772 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17773 Joseph Myers <joseph@codesourcery.com>
17774 Paul Pluzhnikov <ppluzhnikov@google.com>
17777 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17779 [cross-compiling] (extra-libs): Likewise.
17780 [cross-compiling] (extra-libs-others): Likewise.
17781 [cross-compiling] (librpcsvc-routines): Likewise.
17782 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17783 [cross-compiling] (omit-deps): Likewise.
17784 (sunrpc-CPPFLAGS): New variable.
17785 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17786 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17787 (cross-rpcgen-objs): New variable.
17788 (extra-objs): Append $(cross-rpcgen-objs).
17789 ($(cross-rpcgen-objs)): New rule.
17790 ($(objpfx)cross-rpcgen): Likewise.
17791 (rpcgen-cmd): Define to use $(built-program-file). Expand
17793 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17794 ($(objpfx)x%.stmp): Likewise.
17795 * sunrpc/proto.h [IS_IN_build] (_): Define.
17796 [IS_IN_build] (_libc_intl_domainname): Likewise.
17798 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17801 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17802 and R_X86_64_TPOFF64.
17804 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17806 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17807 sysdeps/unix/sysv/syscalls.list.
17810 * sysdeps/unix/sysv/syscalls.list: Remove file.
17812 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17815 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17816 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17817 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17818 (__LC_IDENTIFICATION): Make these macros useful in #if
17819 expressions, as required by C99.
17821 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17823 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17824 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17827 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17829 * stdlib/longlong.h: Updated from GCC.
17831 2012-05-09 Andreas Jaeger <aj@suse.de>
17833 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17834 default is first entry.
17835 (run_mode): Set type.
17836 (main): Remove informal message about syslog.
17837 (options): Fix typo.
17840 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17843 (llrintf): Likewise.
17844 (llrint): Likewise.
17847 (nearbyint): Likewise.
17848 (nearbyintf): Likewise.
17850 2012-05-09 Andreas Jaeger <aj@suse.de>
17851 Pedro Alves <palves@redhat.com>
17853 * nscd/nscd.c (run_mode): Use enum.
17854 (main): Cleanup coding style issue.
17856 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17857 Andreas Jaeger <aj@suse.de>
17859 * nscd/nscd.c (go_background): Replaced with...
17860 (run_mode): ... this.
17861 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17862 (options): Add -F --foreground.
17863 (main): Implement it.
17864 (parse_opt): Parse it.
17866 2012-05-09 Andreas Jaeger <aj@suse.de>
17869 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17870 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17871 -Wconversion warning.
17872 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17875 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17877 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17879 (LC_ALL): Use macro-int-constant.
17880 (LC_COLLATE): Likewise.
17881 (LC_CTYPE): Likewise.
17882 (LC_MESSAGES): Likewise.
17883 (LC_MONETARY): Likewise.
17884 (LC_NUMERIC): Likewise.
17885 (LC_TIME): Likewise.
17886 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17887 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17889 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17891 [C99-based standards] (float_t): Expect type.
17892 [C99-based standards] (double_t): Expect type.
17893 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17895 [C99-based standards] (HUGE_VALL): Likewise.
17896 [C99-based standards] (INFINITY): Likewise.
17897 [C99-based standards] (NAN): Likewise.
17898 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17899 [C99-based standards] (FP_NAN): Likewise.
17900 [C99-based standards] (FP_NORMAL): Likewise.
17901 [C99-based standards] (FP_SUBNORMAL): Likewise.
17902 [C99-based standards] (FP_ZERO): Likewise.
17903 [C99-based standards] (FP_FAST_FMA): Use
17904 optional-macro-int-constant. Specify type. Require == 1.
17905 [C99-based standards] (FP_FAST_FMAF): Likewise.
17906 [C99-based standards] (FP_FAST_FMAL): Likewise.
17907 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17908 [C99-based standards] (FP_ILOGBNAN): Likewise.
17909 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17911 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17912 [C99-based standards] (math_errhandling): Specify type.
17913 [ISO99 || ISO11] (signgam): Do not allow.
17914 [non-C99-based standards] (copysignf): Do not allow.
17915 [non-C99-based standards] (exp2f): Likewise.
17916 [non-C99-based standards] (log2f): Likewise.
17917 [non-C99-based standards] (modff): Allow.
17918 [non-C99-based standards] (erff): Do not allow.
17919 [non-C99-based standards] (erfcf): Likewise.
17920 [non-C99-based standards] (gammaf): Likewise.
17921 [non-C99-based standards] (hypotf): Likewise.
17922 [non-C99-based standards] (j0f): Likewise.
17923 [non-C99-based standards] (j1f): Likewise.
17924 [non-C99-based standards] (jnf): Likewise.
17925 [non-C99-based standards] (lgammaf): Likewise.
17926 [non-C99-based standards] (tgammaf): Likewise.
17927 [non-C99-based standards] (y0f): Likewise.
17928 [non-C99-based standards] (y1f): Likewise.
17929 [non-C99-based standards] (ynf): Likewise.
17930 [non-C99-based standards] (isnanf): Likewise.
17931 [non-C99-based standards] (acoshf): Likewise.
17932 [non-C99-based standards] (asinhf): Likewise.
17933 [non-C99-based standards] (atanhf): Likewise.
17934 [non-C99-based standards] (cbrtf): Likewise.
17935 [non-C99-based standards] (expm1f): Likewise.
17936 [non-C99-based standards] (ilogbf): Likewise.
17937 [non-C99-based standards] (log1pf): Likewise.
17938 [non-C99-based standards] (logbf): Likewise.
17939 [non-C99-based standards] (nextafterf): Likewise.
17940 [non-C99-based standards] (remainderf): Likewise.
17941 [non-C99-based standards] (rintf): Likewise.
17942 [non-C99-based standards] (scalbf): Likewise.
17943 [non-C99-based standards] (copysignl): Likewise.
17944 [non-C99-based standards] (exp2l): Likewise.
17945 [non-C99-based standards] (log2l): Likewise.
17946 [non-C99-based standards] (modfl): Allow.
17947 [non-C99-based standards] (erfl): Do not allow.
17948 [non-C99-based standards] (erfcl): Likewise.
17949 [non-C99-based standards] (gammal): Likewise.
17950 [non-C99-based standards] (hypotl): Likewise.
17951 [non-C99-based standards] (j0l): Likewise.
17952 [non-C99-based standards] (j1l): Likewise.
17953 [non-C99-based standards] (jnl): Likewise.
17954 [non-C99-based standards] (lgammal): Likewise.
17955 [non-C99-based standards] (tgammal): Likewise.
17956 [non-C99-based standards] (y0l): Likewise.
17957 [non-C99-based standards] (y1l): Likewise.
17958 [non-C99-based standards] (ynl): Likewise.
17959 [non-C99-based standards] (isnanl): Likewise.
17960 [non-C99-based standards] (acoshl): Likewise.
17961 [non-C99-based standards] (asinhl): Likewise.
17962 [non-C99-based standards] (atanhl): Likewise.
17963 [non-C99-based standards] (cbrtl): Likewise.
17964 [non-C99-based standards] (expm1l): Likewise.
17965 [non-C99-based standards] (ilogbl): Likewise.
17966 [non-C99-based standards] (log1pl): Likewise.
17967 [non-C99-based standards] (logbl): Likewise.
17968 [non-C99-based standards] (nextafterl): Likewise.
17969 [non-C99-based standards] (remainderl): Likewise.
17970 [non-C99-based standards] (rintl): Likewise.
17971 [non-C99-based standards] (scalbl): Likewise.
17972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17973 [non-C99-based standards] (FP_*): Do not allow.
17974 [C99-based standards] (FP_*): Change to
17975 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17976 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17978 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17979 (SIG_ERR): Likewise.
17980 [X/Open-based standards] (SIG_HOLD): Likewise.
17981 (SIG_IGN): Likewise.
17982 (SIGABRT): Use macro-int-constant. Specify type. Require
17984 (SIGFPE): Likewise.
17985 (SIGILL): Likewise.
17986 (SIGINT): Likewise.
17987 (SIGSEGV): Likewise.
17988 (SIGTER): Likewise.
17989 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17990 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17991 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17992 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17993 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17994 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17995 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17996 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17997 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17998 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17999 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18000 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18001 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18002 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18003 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18004 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18005 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18006 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18007 [X/Open-based standards] (SIGTRAP): Likewise.
18008 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18009 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18010 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18011 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18012 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18015 2012-05-08 Ian Wienand <ianw@vmware.com>
18018 * time/tzset.c (__tzset_parse_tz): Update default rules for
18019 daylight time changes in the Energy Policy Act of 2005.
18021 2012-05-09 Andreas Jaeger <aj@suse.de>
18024 * elf/ldconfig.c (parse_conf): Change string to make clear that
18025 ldconfig only issued a warning if ld.so.conf does not exist.
18027 2012-05-08 David S. Miller <davem@davemloft.net>
18029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18030 movxtod instead of popping the value on the stack.
18032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18034 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18036 * config.h.in: Add HAVE_ARM_PCS_VFP.
18038 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18041 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18042 checking but the checks are disabled for any reason.
18044 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18046 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18047 and ELF64_R_TYPE with ELFW(R_TYPE).
18049 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18051 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18052 (ulimit): Likewise.
18054 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18055 (settimeofday): Likewise.
18057 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18059 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18060 a struct th_u2 inside the union, and move tu_block/tu_code into
18061 a new th_u3 union of tu_block/tu_code inside of that. Move
18062 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18063 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18064 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18065 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18066 (th_stuff): Change to th_u1.tu_stuff.
18068 (th_msg): Change to th_u1.th_u2.tu_data.
18070 2012-05-07 David S. Miller <davem@davemloft.net>
18072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18075 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18076 (SETUP_PIC_REG): Use it.
18077 (SETUP_PIC_REG_LEAF): Use it.
18079 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18085 (EXPL_FINITE): Likewise.
18086 (FLDLOG): Likewise.
18087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18088 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18092 (EXPL_FINITE): Likewise.
18093 (FLDLOG): Likewise.
18094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18095 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18097 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18098 test of -max_value argument for long double.
18099 * sysdeps/i386/fpu/libm-test-ulps: Update.
18100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18102 2012-05-06 David S. Miller <davem@davemloft.net>
18104 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18105 quad soft-float symbols whose references which are compiler
18107 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18109 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18115 (EXPL_FINITE): Likewise.
18116 (FLDLOG): Likewise.
18119 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18120 Adjust comments for base varying.
18121 (__expl_finite): Change alias to EXPL_FINITE.
18122 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18124 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18125 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18127 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18130 (EXPL_FINITE): Likewise.
18131 (FLDLOG): Likewise.
18134 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18135 Adjust comments for base varying.
18136 (__expl_finite): Change alias to EXPL_FINITE.
18137 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18142 * math/libm-test.inc (check_float_internal): Correct ulp
18143 calculation for subnormal expected results.
18145 2012-05-06 Andreas Jaeger <aj@suse.de>
18147 * Makeconfig (+math-flags): New, set to -frounding-math.
18148 (+cflags): Add +math-flags so that all of glibc gets compiled with
18151 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18153 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18155 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18161 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18162 (__ieee754_expl): Allow for and saturate large arguments.
18163 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18164 (u_threshold): Likewise.
18165 (__exp): Call __ieee754_exp before checking for overflow and
18167 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18168 (u_threshold): Likewise.
18169 (__expf): Call __ieee754_expf before checking for overflow and
18171 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18172 (u_threshold): Likewise.
18173 (__expl): Call __ieee754_expl before checking for overflow and
18175 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18176 (__ieee754_expl): Allow for and saturate large arguments.
18177 * math/libm-test.inc (exp_test): Add another test. Do not allow
18178 missing overflow exception on overflow.
18179 (expm1_test): Do not allow missing overflow exception on overflow.
18181 * sysdeps/i386/fpu/e_expl.c: Move to ...
18182 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18183 rather than using inline asm.
18184 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18185 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18186 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18188 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18191 (signal): Likewise.
18195 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18197 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18198 sysdeps/unix/common/syscalls.list.
18199 (fchmod): Likewise.
18200 (fchown): Likewise.
18201 (ftruncate): Likewise.
18202 (getrusage): Likewise.
18203 (gettimeofday): Likewise.
18204 (setpgid): Likewise.
18205 (setregid): Likewise.
18206 (setreuid): Likewise.
18207 (sigaction): Likewise.
18208 (truncate): Likewise.
18209 (vhangup): Likewise.
18210 * sysdeps/unix/common/syscalls.list: Remove file.
18211 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18212 * sysdeps/unix/sysv/linux/Implies: Likewise.
18214 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18216 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18218 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18222 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18225 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18228 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18231 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18234 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18237 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18240 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18244 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18248 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18251 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18255 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18259 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18261 * sysdeps/unix/common/bits/dirent.h: Remove file.
18262 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18264 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18265 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18266 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18267 * sysdeps/unix/bsd/isatty.c: Likewise.
18268 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18269 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18270 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18272 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18276 long double comparison inaccuracies.
18277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18280 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18282 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18285 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18289 nonzero digits before rounding a hex value.
18290 * stdlib/tst-strtod.c (tests): Add another test.
18292 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18294 * sysdeps/s390/fpu/libm-test-ulps: Update.
18296 2012-05-03 Andreas Jaeger <aj@suse.de>
18298 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18299 does not get optimized out.
18300 (malloc_opt_barrier): New.
18302 2012-05-03 Andreas Jaeger <aj@suse.de>
18303 Roland McGrath <roland@hack.frob.com>
18305 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18306 intermediate file deletion.
18307 (generated): Add .symlist files.
18309 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18312 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18313 Redirect under this condition.
18314 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18315 [__USE_GNU] (__dprintf_chk): Not under this condition.
18316 [__USE_GNU] (__vdprintf_chk): Likewise.
18317 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18318 under this condition.
18319 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18320 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18321 [__USE_XOPEN2K8] (vdprintf): Likewise.
18322 [__USE_GNU] (__dprintf_chk): Not under this condition.
18323 [__USE_GNU] (__vdprintf_chk): Likewise.
18324 [__USE_GNU] (dprintf): Likewise.
18325 [__USE_GNU] (vdprintf): Likewise.
18327 2012-05-03 Roland McGrath <roland@hack.frob.com>
18329 * elf/Makefile (common-generated): Set this instead of generated for
18330 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18331 $(all-built-dso)-derived lists.
18333 2012-05-03 Andreas Jaeger <aj@suse.de>
18335 * sysdeps/i386/fpu/libm-test-ulps: Update.
18338 * FAQ.in: Likewise.
18339 * scripts/gen-FAQ.pl: Likewise.
18340 * manual/install.texi (Installation): Point to online location of
18342 * Makefile (files-for-dist): Remove FAQ.
18345 2012-05-02 Allan McRae <allan@archlinux.org>
18347 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18348 (LDFLAGS-reldepmod5.so): Likewise.
18349 (LDFLAGS-reldep6mod1.so): Likewise.
18350 (LDFLAGS-reldep6mod4.so): Likewise.
18351 (LDFLAGS-reldep8mod3.so): Likewise.
18352 (LDFLAGS-unload4mod1.so): Likewise.
18353 (LDFLAGS-unload4mod2.so): Likewise.
18354 (LDFLAGS-tst-initorder): Likewise.
18355 (LDFLAGS-tst-initordera2.so): Likewise.
18356 (LDFLAGS-tst-initordera3.so): Likewise.
18357 (LDFLAGS-tst-initordera4.so): Likewise.
18358 (LDFLAGS-tst-initorderb2.so): Likewise.
18359 (LDFLAGS-noload): Likewise.
18360 (LDFLAGS-next): Likewise.
18361 (LDFLAGS-order2mod1.so): Likewise.
18362 (LDFLAGS-order2mod2.so): Likewise.
18363 (LDFLAGS-tst-initorder2): Likewise.
18364 (LDFLAGS-tst-initorder2a.so): Likewise.
18365 (LDFLAGS-tst-initorder2b.so): Likewise.
18366 (LDFLAGS-tst-initorder2c.so): Likewise.
18367 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18369 2012-05-02 David S. Miller <davem@davemloft.net>
18371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18373 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18376 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18378 2012-05-02 Andreas Jaeger <aj@suse.de>
18380 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18381 since we manipulate rounding mode.
18382 (CPPFLAGS-test-idouble.c): Likewise.
18383 (CPPFLAGS-test-ifloat.c): Likewise.
18384 (CFLAGS-test-ldouble.c): Likewise.
18385 (CFLAGS-test-double.c): Likewise.
18386 (CFLAGS-test-float.c): Likewise.
18387 (CFLAGS-test-misc.c): Likewise.
18388 (CFLAGS-test-test-fenv.c): Likewise.
18390 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18394 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18395 comparisons to determine direction to adjust input.
18397 2012-05-01 Roland McGrath <roland@hack.frob.com>
18399 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18400 output to the target.
18402 * scripts/localplt.awk: New file.
18403 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18404 (check-localplt-CFLAGS): Variable removed.
18405 ($(all-built-dso:=.jmprel)): New static pattern rule.
18406 (generated): Add those targets.
18407 (localplt-built-dso): New variable.
18408 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18410 * elf/check-localplt.c: File removed.
18412 * scripts/check-execstack.awk: New file.
18413 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18414 (check-execstack-CFLAGS): Variable removed.
18415 ($(objpfx)check-execstack.h): Target removed.
18416 ($(objpfx)execstack-default): New target.
18417 (generated): Add that instead of check-execstack.h.
18418 ($(all-built-dso:=.phdr)): New static pattern rule.
18419 (generated): Add those targets.
18420 * elf/check-execstack.c: File removed.
18422 * scripts/check-textrel.awk: New file.
18423 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18424 (check-textrel-CFLAGS): Variable removed.
18425 (all-built-dso): Use := to define.o
18426 ($(all-built-dso:=.dyn)): New static pattern rule.
18427 (generated): Add those targets.
18428 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18429 * config.make.in (READELF): New substituted variable.
18430 * elf/check-textrel.c: File removed.
18432 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18434 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18436 * conform/data/ctype.h-data [C99-based standards] (isblank):
18438 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18439 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18441 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18442 Specify type. Require positive value.
18443 (EILSEQ): Likewise.
18444 (ERANGE): Likewise.
18445 [ISO || POSIX] (EILSEQ): Do not expect.
18446 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18447 Specify type. Require positive value.
18448 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18456 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18457 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18458 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18459 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18460 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18461 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18462 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18463 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18464 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18465 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18466 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18467 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18468 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18469 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18470 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18471 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18472 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18473 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18474 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18475 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18476 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18477 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18478 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18479 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18480 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18481 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18482 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18483 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18484 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18485 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18486 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18487 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18488 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18489 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18490 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18491 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18492 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18493 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18494 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18495 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18496 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18497 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18498 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18499 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18500 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18501 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18502 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18503 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18504 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18505 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18506 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18507 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18508 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18509 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18510 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18511 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18512 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18513 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18514 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18515 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18516 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18517 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18518 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18519 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18520 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18521 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18522 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18523 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18524 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18526 (FLT_ROUNDS): Expect as macro, not constant.
18527 (FLT_MANT_DIG): Use macro-int-constant.
18528 (DBL_MANT_DIG): Likewise.
18529 (LDBL_MANT_DIG): Likewise.
18530 (FLT_DIG): Likewise.
18531 (DBL_DIG): Likewise.
18532 (LDBL_DIG): Likewise.
18533 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18534 (DBL_MIN_EXP): Likewise.
18535 (LDBL_MIN_EXP): Likewise.
18536 (FLT_MAX_EXP): Use macro-int-constant.
18537 (DBL_MAX_EXP): Likewise.
18538 (LDBL_MAX_EXP): Likewise.
18539 (FLT_MAX_10_EXP): Likewise.
18540 (DBL_MAX_10_EXP): Likewise.
18541 (LDBL_MAX_10_EXP): Likewise.
18542 (FLT_MAX): Use macro-constant.
18543 (DBL_MAX): Likewise.
18544 (LDBL_MAX): Likewise.
18545 (FLT_EPSILON): Use macro-constant. Give upper bound.
18546 (DBL_EPSILON): Likewise.
18547 (LDBL_EPSILON): Likewise.
18548 (FLT_MIN): Likewise.
18549 (DBL_MIN): Likewise.
18550 (LDBL_MIN): Likewise.
18551 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18552 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18553 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18554 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18555 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18556 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18557 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18558 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18559 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18560 [ISO11] (FLT_TRUE_MIN): Likewise.
18561 [ISO11] (LDBL_TRUE_MIN): Likewise.
18562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18563 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18564 (SCHAR_MIN): Use macro-int-constant. Specify type.
18565 (SCHAR_MAX): Likewise.
18566 (UCHAR_MAX): Likewise.
18567 (CHAR_MIN): Likewise.
18568 (CHAR_MAX): Likewise.
18569 (MB_LEN_MAX): Use macro-int-constant.
18570 (SHRT_MIN): Use macro-int-constant. Specify type.
18571 (SHRT_MAX): Likewise.
18572 (USHRT_MAX): Likewise.
18573 (INT_MAX): Likewise.
18574 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18576 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18578 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18580 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18581 bound negative. Suffix upper bound with "L".
18582 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18584 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18586 [C99-based standards] (LLONG_MAX): Likewise.
18587 [C99-based standards] (ULLONG_MAX): Likewise.
18588 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18590 [ISO11] (max_align_t): Require type.
18591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18593 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18594 from $CFLAGS, without defining away __attribute__ calls.
18595 (checknamespace): Use $CFLAGS_namespace.
18597 * conform/conformtest.pl (@keywords): Only include C99 keywords
18598 for standards based on C99 or C11.
18600 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18602 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18605 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18606 usability of symbols in #if.
18608 * conform/conformtest.pl: If macro or constant types start
18609 "promoted:", expect the symbol to be of the following type
18610 promoted by the integer promotions.
18612 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18613 in one place. Also handle "macro-constant".
18615 * conform/conformtest.pl: Only accept expected macro values with
18616 "==". Parse all "macro" lines in one place.
18617 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18619 * conform/conformtest.pl: Handle braced types on "constant" lines
18620 instead of handling "typed-constant".
18621 * conform/data/signal.h-data: Use "constant" instead of
18624 * conform/conformtest.pl: Handle "optional-" at start of lines in
18625 one place rather than duplicating several cases. Handle each
18626 format of "macro" line with initial "optional-".
18628 * conform/conformtest.pl: Only accept expected constant or
18629 optional-constant values with "==". Parse all "constant" lines in
18630 one place. Parse all "optional-constant" lines in one place.
18631 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18632 * conform/data/fmtmsg.h-data: Likewise.
18633 * conform/data/netinet/in.h-data: Likewise.
18634 * conform/data/tar.h-data: Likewise.
18635 * conform/data/limits.h-data: Use "==" form on "constant" and
18636 "optional-constant" lines.
18638 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18639 Use -std=c99 for XOPEN2K.
18640 (@knownproblems): Remove.
18641 (newtoken): Don't check %isknown.
18643 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18644 Do not expect macro.
18645 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18648 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18650 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18651 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18652 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18653 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18654 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18655 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18656 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18657 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18658 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18659 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18660 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18661 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18662 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18663 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18664 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18665 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18667 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18669 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18670 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18671 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18672 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18673 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18674 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18675 [XPG3] (acosh): Likewise.
18676 [XPG3] (asinh): Likewise.
18677 [XPG3] (atanh): Likewise.
18678 [XPG3] (cbrt): Likewise.
18679 [XPG3] (expm1): Likewise.
18680 [XPG3] (ilogb): Likewise.
18681 [XPG3] (log1p): Likewise.
18682 [XPG3] (logb): Likewise.
18683 [XPG3] (nextafter): Likewise.
18684 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18685 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18686 [XPG3] (remainder): Likewise.
18687 [XPG3] (rint): Likewise.
18688 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18689 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18690 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18691 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18692 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18693 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18694 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18695 [UNIX98 || XOPEN2K] (scalb): Expect.
18696 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18697 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18698 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18699 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18700 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18701 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18702 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18703 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18704 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18705 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18706 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18707 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18719 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18720 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18737 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18738 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18739 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18740 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18741 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18742 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18743 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18744 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18745 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18748 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18749 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18757 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18758 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18759 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18768 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18769 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18770 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18771 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18772 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18773 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18774 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18775 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18776 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18777 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18778 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18779 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18780 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18781 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18782 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18783 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18784 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18785 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18786 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18787 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18788 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18789 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18790 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18791 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18792 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18793 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18794 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18795 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18796 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18797 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18798 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18799 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18800 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18801 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18802 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18803 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18804 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18805 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18806 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18807 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18808 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18809 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18810 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18811 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18812 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18813 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18814 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18815 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18816 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18817 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18818 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18819 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18820 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18821 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18822 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18823 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18824 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18825 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18826 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18827 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18828 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18829 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18830 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18831 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18832 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18834 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18835 _XOPEN_SOURCE_EXTENDED for XPG4.
18837 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18839 * Makeconfig (localtime): Remove variable.
18840 (inst_localtime-file): Likewise.
18842 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18863 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18867 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18868 comparisons to determine direction to adjust input.
18869 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18870 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18880 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18882 * math/libm-test.inc (nexttoward_test): Add more tests.
18884 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18888 in version GLIBC_2.1, not GLIBC_2.0.
18889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18892 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18895 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18897 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18898 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18899 * math/libm-test.inc (acos_test): Add more tests.
18900 (asin_test): Likewise.
18901 * sysdeps/i386/fpu/libm-test-ulps: Update.
18902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18905 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18907 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18909 * math/libm-test.inc (acos_test_tonearest): New function.
18910 (acos_test_towardzero): Likewise.
18911 (acos_test_downward): Likewise.
18912 (acos_test_upward): Likewise.
18913 (asin_test_tonearest): Likewise.
18914 (asin_test_towardzero): Likewise.
18915 (asin_test_downward): Likewise.
18916 (asin_test_upward): Likewise.
18917 (main): Call the new functions.
18918 * sysdeps/i386/fpu/libm-test-ulps: Update.
18919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18923 * math/e_exp10.c: Include <float.h>.
18924 (__ieee754_exp10): Handle underflow here rather than multiplying
18925 large negative argument by M_LN10.
18926 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18928 * math/e_exp10l.c: Include <float.h>.
18929 (__ieee754_exp10l): Handle underflow here rather than multiplying
18930 large negative argument by M_LN10l.
18931 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18932 spurious overflow exception on underflow.
18934 2012-04-29 Marek Polacek <polacek@redhat.com>
18936 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18937 (__fortify_function): New macro.
18938 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18939 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18940 __extern_always_inline.
18941 * libio/bits/stdio2.h: Likewise.
18942 * libio/bits/stdio.h: Likewise.
18943 * string/string.h: Likewise.
18944 * string/bits/string3.h: Likewise.
18945 * include/stdio.h: Likewise.
18946 * stdlib/bits/stdlib.h: Likewise.
18947 * stdlib/stdlib.h: Likewise.
18948 * rt/bits/mqueue2.h: Likewise.
18949 * rt/mqueue.h: Likewise.
18950 * posix/bits/unistd.h: Likewise.
18951 * posix/unistd.h: Likewise.
18952 * io/bits/poll2.h: Likewise.
18953 * io/bits/fcntl2.h: Likewise.
18954 * io/fcntl.h: Likewise.
18955 * io/sys/poll.h: Likewise.
18956 * misc/bits/syslog.h: Likewise.
18957 * misc/bits/syslog-ldbl.h: Likewise.
18958 * misc/sys/syslog.h: Likewise.
18959 * socket/bits/socket2.h: Likewise.
18960 * socket/sys/socket.h: Likewise.
18961 * debug/tst-chk1.c: Likewise.
18962 * wcsmbs/bits/wchar2.h: Likewise.
18963 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18964 * wcsmbs/wchar.h: Likewise.
18966 2012-04-29 Andreas Jaeger <aj@suse.de>
18968 * Makerules (tests): Remove enable-check-abi protection.
18969 (check-abi-warn): Remove.
18970 (check-abi-%): Remove check-abi-warn usage.
18972 * configure.in: Remove check-abi configure option.
18973 * configure: Regenerated.
18974 * config.make.in (enable-check-abi): Remove.
18976 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18979 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18980 double functions to double *_finite functions.
18983 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18984 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18986 * stdio-common/Makefile (tests): Add tst-sprintf3.
18987 * stdio-common/tst-sprintf3.c: New file.
18989 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18990 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18992 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18994 * conform/conformtest.pl: Remove duplicate typed-constant
18997 2012-04-28 David S. Miller <davem@davemloft.net>
18999 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19000 (check-abi-%): Remove AWK script prerequisite and explicit
19002 (check-abi): Rewrite to just diff the symlist with the abilist.
19003 (config-tls, config-abi-config): Delete, no longer used.
19004 (update-abi-%): Remove AWK script and explicit abilist directory.
19005 (update-abi): Rewrite to simply compare and conditionally copy the
19006 symlist and the sysdep abilist file. Remove update-abi-config
19008 * abilist/ld.abilist: Remove.
19009 * abilist/libBrokenLocale.abilist: Remove.
19010 * abilist/libanl.abilist: Remove.
19011 * abilist/libcrypt.abilist: Remove.
19012 * abilist/libdl.abilist: Remove.
19013 * abilist/librt.abilist: Remove.
19014 * abilist/libthread_db.abilist: Remove.
19015 * abilist/libutil.abilist: Remove.
19016 * scripts/extract-abilist.awk: Remove.
19017 * scripts/merge-abilist.awk: Remove.
19018 * sysdeps/generic/libcidn.abilist: New file.
19019 * sysdeps/generic/libnss_compat.abilist: New file.
19020 * sysdeps/generic/libnss_db.abilist: New file.
19021 * sysdeps/generic/libnss_dns.abilist: New file.
19022 * sysdeps/generic/libnss_files.abilist: New file.
19023 * sysdeps/generic/libnss_hesiod.abilist: New file.
19024 * sysdeps/generic/libnss_nis.abilist: New file.
19025 * sysdeps/generic/libnss_nisplus.abilist: New file.
19026 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19027 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19028 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19031 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19032 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19033 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19034 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19035 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19036 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19037 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19038 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19040 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19041 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19042 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19043 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19045 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19047 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19048 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19049 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19050 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19052 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19053 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19054 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19056 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19159 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19160 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19161 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19164 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19165 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19166 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19167 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19169 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19170 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19171 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19172 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19224 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19226 * conform/conformtest.pl: Fix typo in handling typed-constant from
19229 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19231 * README: Cut down references to pre-2.6 Linux kernels and
19232 Linuxthreads. Update lists of configurations in libc and ports
19233 and sort alphabetically. Say "or newer" with Linux kernel version
19236 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19238 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19241 * math/libm-test.inc (logb_test_downward): New test to expose
19242 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19245 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19248 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19250 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19251 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19253 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19255 * sysdeps/unix/i386/brk.S: Remove file.
19256 * sysdeps/unix/i386/dl-brk.S: Likewise.
19257 * sysdeps/unix/i386/pipe.S: Likewise.
19258 * sysdeps/unix/i386/sigreturn.S: Likewise.
19259 * sysdeps/unix/i386/syscall.S: Likewise.
19260 * sysdeps/unix/i386/vfork.S: Likewise.
19261 * sysdeps/unix/i386/wait.S: Likewise.
19263 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19264 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19266 * configure.in (arm*-none*): Do not allow without
19267 --enable-hacker-mode.
19268 (netbsd*): Remove case setting base_os.
19269 (386bsd*): Likewise.
19270 (freebsd*): Likewise.
19273 (sunos*): Likewise.
19274 (ultrix*): Likewise.
19275 (newsos*): Likewise.
19276 (dynix*): Likewise.
19282 (minix*): Likewise.
19283 (irix4*): Likewise.
19284 (irix6*): Likewise.
19285 (solaris[2-9]*): Likewise.
19287 * configure: Regenerated.
19289 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19293 overflow or cancellation in calculating denominator.
19294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19296 down expression to avoid unexpected rounding in newer GCCs.
19297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19299 2012-04-26 David S. Miller <davem@davemloft.net>
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19302 long-double compat symbols.
19303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19317 2012-04-25 David S. Miller <davem@davemloft.net>
19319 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19320 HWCAP_* values only after the memory barriers have been defined.
19321 (atomic_full_barrier): Define.
19322 (atomic_read_barrier): Define.
19323 (atomic_write_barrier): Define.
19325 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19327 * shlib-versions: Add libgcc_s version information.
19328 * sysdeps/generic/libgcc_s.h: Remove.
19329 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19331 * sysdeps/gnu/unwind-resume.c: Likewise.
19332 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19334 2012-04-25 David S. Miller <davem@davemloft.net>
19336 * sysdeps/unix/sparc/brk.S: Delete.
19337 * sysdeps/unix/sparc/dl-brk.S: Delete.
19338 * sysdeps/unix/sparc/pipe.S: Delete.
19339 * sysdeps/unix/sparc/sysdep.S: Delete.
19340 * sysdeps/unix/sparc/sysdep.h: Delete.
19341 * sysdeps/unix/sparc/vfork.S: Delete.
19342 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19343 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19345 ret_ERRVAL, r0, r1, MOVE): Define.
19346 (JUMPTARGET): Remove.
19347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19348 sysdeps/unix/sparc/sysdep.h
19349 (ENTRY, END): Remove.
19350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19352 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19354 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19355 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19358 * timezone/README: Update upstream location and email address for
19360 * timezone/zdump.c: Update from tzcode 2012b.
19361 * timezone/zic.c: Likewise.
19363 * configure.in (libc_cv_as_needed): Remove test.
19364 * configure: Regenerated.
19365 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19366 conditional definition.
19367 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19368 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19369 * config.make.in (have-as-needed): Remove variable.
19371 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19372 Paul Pluzhnikov <ppluzhnikov@google.com>
19374 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19377 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19379 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19380 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19381 * sysdeps/sh/strlen.S: Likewise.
19383 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19385 * sysdeps/unix/fork.S: Remove file.
19386 * sysdeps/unix/i386/fork.S: Likewise.
19387 * sysdeps/unix/sparc/fork.S: Likewise.
19389 * sysdeps/unix/system.c: Remove file.
19390 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19392 * sysdeps/unix/getegid.S: Remove file.
19393 * sysdeps/unix/geteuid.S: Likewise.
19395 2012-04-24 Roland McGrath <roland@hack.frob.com>
19397 * scripts/check-localplt.awk: New file.
19398 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19400 * scripts/data/localplt-generic.data: Add a comment.
19402 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19403 NODE when __dir_mkfile failed.
19404 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19405 Reported by Ludovic Courtès <ludo@gnu.org>.
19407 2012-04-24 Andreas Jaeger <aj@suse.de>
19409 * Makerules (common-clean): Also remove gen-as-const-headers
19412 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19414 * Makerules (native-compile): Do not change working directory for
19415 build. Use $(OUTPUT_OPTION) in command.
19416 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19418 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19421 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19422 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19423 * math/libm-test.inc (floor_test): Add more tests.
19424 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19426 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19428 * sysdeps/unix/getdents.c: Remove file.
19429 * sysdeps/unix/sysv/getdents.c: Likewise.
19430 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19432 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19433 sysdeps/unix/mman/syscalls.list.
19435 (mprotect): Likewise.
19437 (munmap): Likewise.
19438 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19439 * sysdeps/unix/mman/syscalls.list: Remove.
19440 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19442 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19443 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19444 * configure: Regenerated.
19445 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19446 $(libgcc_s_suffix).
19447 * config.make.in (libgcc_s_suffix): Remove variable.
19449 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19451 * sysdeps/unix/sysv/gethostname.c: Move to ...
19452 * sysdeps/posix/gethostname.c: ... here.
19454 * sysdeps/unix/execve.S: Remove file.
19456 * sysdeps/unix/_exit.S: Remove file.
19458 2012-04-23 Andreas Jaeger <aj@suse.de>
19461 * manual/Makefile: Remove make dist support, there's no
19462 need for a stand-alone documentation tar ball.
19463 (TEXI2DVI): Define always, it's not in Makeconfig.
19466 (edition): Removed.
19467 (glibc-doc-$(edition).tar): Removed
19471 (ETAGS): Remove, it's in Makeconfig.
19472 (move-if-change): Remove, it's in Makeconfig.
19474 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19477 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19478 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19479 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19480 (strtod_l, strtof_l, strtold_l): Remove __wur.
19481 It is not necessarily an error to ignore strtol's return value.
19482 One can reliably look at the stored endptr to decide whether
19483 the number had valid syntax.
19485 2012-04-21 Andreas Jaeger <aj@suse.de>
19488 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19490 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19493 * sysdeps/unix/sysv/Versions: Remove file.
19495 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19500 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19504 version from __vm86.
19506 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19508 * sysdeps/unix/common/lxstat.c: Remove file.
19509 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19511 * sysdeps/unix/sysv/Makefile: Remove file.
19513 * sysdeps/unix/sysv/direct.h: Remove file.
19515 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19516 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19517 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19518 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19519 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19520 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19521 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19523 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19525 * sysdeps/unix/xmknod.c: Remove file.
19526 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19528 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19530 * sysdeps/unix/sysv/i386/time.S: Remove file.
19532 * sysdeps/unix/fxstat.c: Remove file.
19533 * sysdeps/unix/xstat.c: Likewise.
19534 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19536 * sysdeps/unix/sysv/sigaction.c: Remove file.
19538 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19539 (sysdep_headers): Remove variable.
19540 [termio.h not in sysdep_headers] (generated): Likewise.
19541 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19542 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19543 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19544 * sysdeps/unix/sysv/tcflow.c: Likewise.
19545 * sysdeps/unix/sysv/tcflush.c: Likewise.
19546 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19547 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19548 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19549 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19550 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19552 * sysdeps/unix/siglist.c: Remove file.
19554 * sysdeps/unix/getppid.S: Remove file.
19556 * sysdeps/unix/mkdir.c: Remove file.
19557 * sysdeps/unix/rmdir.c: Likewise.
19559 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19561 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19563 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19564 errlist-compat value.
19566 2012-04-18 David S. Miller <davem@davemloft.net>
19568 * sysdeps/generic/memcopy.h (reg_char): Delete.
19569 * debug/strcat_chk.c: Use char, not reg_char.
19570 * debug/strcpy_chk.c: Likewise.
19571 * debug/strncat_chk.c: Likewise.
19572 * debug/strncpy_chk.c: Likewise.
19573 * string/memchr.c: Likewise.
19574 * string/memrchr.c: Likewise.
19575 * string/rawmemchr.c: Likewise.
19576 * string/strcat.c: Likewise.
19577 * string/strchr.c: Likewise.
19578 * string/strchrnul.c: Likewise.
19579 * string/strcmp.c: Likewise.
19580 * string/strcpy.c: Likewise.
19581 * string/strncat.c: Likewise.
19582 * string/strncmp.c: Likewise.
19583 * string/strncpy.c: Likewise.
19585 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19587 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19588 __builtin_memcopy is called when src and dest ranges are known to not
19591 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19594 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19595 fwd_align_merge macro call.
19596 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19597 bwd_align_merge macro call.
19598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19600 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19602 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19603 bwd_align_merge macros.
19604 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19605 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19608 2012-04-18 David S. Miller <davem@davemloft.net>
19610 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19612 2012-04-18 Andreas Jaeger <aj@suse.de>
19615 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19616 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19619 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19620 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19623 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19624 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19625 Adjust for changed ldbl-128 files.
19627 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19628 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19629 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19631 2012-04-17 David S. Miller <davem@davemloft.net>
19633 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19635 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19637 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19638 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19639 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19640 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19641 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19642 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19644 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19647 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19648 * math/libm-test.inc: Add ilogb errno and exception tests.
19649 * math/w_ilogb.c: New file: ilogb wrapper.
19650 * math/w_ilogbf.c: New file: ilogbf wrapper.
19651 * math/w_ilogbl.c: New file: ilogbl wrapper.
19652 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19653 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19654 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19655 exception being thrown with 0.0 as argument.
19656 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19657 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19658 exception being thrown with 0.0 as argument.
19659 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19660 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19661 exception being thrown with 0.0 as argument.
19662 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19663 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19664 exception being thrown with 0.0 as argument.
19665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19666 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19668 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19670 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19671 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19672 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19673 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19675 2012-04-17 Petr Baudis <pasky@ucw.cz>
19677 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19680 2012-04-16 Marek Polacek <polacek@redhat.com>
19682 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19684 2012-04-16 Marek Polacek <polacek@redhat.com>
19686 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19687 operands of fdivp instruction.
19689 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19691 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19692 * elf/tst-auditmod3b.c: Likewise.
19693 * elf/tst-auditmod4b.c: Likewise.
19694 * elf/tst-auditmod5b.c: Likewise.
19695 * elf/tst-auditmod6b.c: Likewise.
19696 * elf/tst-auditmod6c.c: Likewise.
19697 * elf/tst-auditmod7b.c: Likewise.
19698 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19699 * sysdeps/x86_64/preconfigure.in: Likewise.
19700 * sysdeps/x86_64/preconfigure: Regenerated.
19702 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19704 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19707 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19710 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19712 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19715 * locale/iso-639.def: Fix gl language name. Spotted by
19718 2012-04-12 Roland McGrath <roland@hack.frob.com>
19721 * libio/libio.h (__io_write_fn): Update comment.
19723 2012-04-12 Petr Baudis <pasky@ucw.cz>
19726 * stdio.texi (Hook Functions): The user provided writer function
19727 is not allowed to return -1.
19729 2012-04-11 David S. Miller <davem@davemloft.net>
19731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19733 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19735 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19736 Add a leading slash to rtkaio.
19738 2012-04-11 Jim Meyering <meyering@redhat.com>
19741 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19742 It is not necessarily an error to ignore fwrite's return
19743 value. One can reliably use ferror to test for errors after
19746 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19748 * bits/types.h (__snseconds_t): New type.
19749 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19751 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19753 (__SNSECONDS_T_TYPE): Likewise.
19754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19755 (__SNSECONDS_T_TYPE): Likewise.
19756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19757 (__SNSECONDS_T_TYPE): Likewise.
19759 2012-04-10 Andreas Jaeger <aj@suse.de>
19762 * manual/time.texi (Processor Time): Return type of times is
19763 elapsed real time since an arbitrary point in the past.
19764 (CPU Time): Move CLK_TCK from here...
19765 (Processor Time): ...to here. Correct description.
19766 * manual/conf.texi (Constants for Sysconf): Correct description of
19769 2012-04-10 David S. Miller <davem@davemloft.net>
19772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19773 where the is a gap between DT_REL(A) and DT_JMPREL.
19775 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19777 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19778 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19779 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19781 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19783 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19784 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19785 (dl_main): Handle --inhibit-cache.
19786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19788 * elf/dl-load.c (_dl_map_object): Use it.
19789 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19791 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19794 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19795 (__ieee754_powl): Saturate large exponents rather than testing for
19796 overflow of y*log2(x).
19797 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19798 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19802 * math/s_ctan.c: Include <float.h>.
19803 (__ctan): Avoid internal overflow or cancellation in calculating
19805 * math/s_ctanf.c: Likewise.
19806 * math/s_ctanl.c: Likewise.
19807 * math/s_ctanh.c: Likewise.
19808 * math/s_ctanhf.c: Likewise.
19809 * math/s_ctanhl.c: Likewise.
19810 * math/libm-test.inc (ctan_test): Add more tests.
19811 (ctanh_test): Likewise.
19812 * sysdeps/i386/fpu/libm-test-ulps: Update.
19813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19815 2012-04-09 Andreas Jaeger <aj@suse.de>
19818 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19819 is an optional BSD extension.
19822 * manual/stdio.texi (Opening Streams): Document additional fopen
19825 2012-04-09 Roland McGrath <roland@hack.frob.com>
19827 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19828 %eax without telling the compiler.
19830 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19833 * manual/install.texi: Use sourceware.org.
19835 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19838 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19839 (__ieee754_pow): Generate overflow and underflow using huge*huge
19840 and tiny*tiny rather than just returning constant infinity or zero
19841 for large exponents.
19842 * math/libm-test.inc (pow_test): Require overflow exceptions for
19843 applicable cases of large exponents.
19846 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19847 (__ieee754_pow): Use iterative multiplication algorithm only for
19848 integer exponents with absolute value below 1024. Check for odd
19849 integer exponents when using algorithm for real exponents.
19850 * math/libm-test.inc (pow_test): Add more tests.
19851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19853 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19856 * math/libm-test.inc (exp_test): Do not allow overflow exception
19859 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19862 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19863 instead of __kernel_standard_f.
19865 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19867 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19868 * sysdeps/x86_64/memset_chk.S: Likewise.
19870 2012-04-08 Andreas Jaeger <aj@suse.de>
19873 * manual/startup.texi (Environment Access): Describe return value
19874 for putenv and setenv.
19877 * manual/filesys.texi (Directory Entries): Add description for
19881 * manual/filesys.texi (Directory Entries): Clarify that it's file
19882 system not operating system in the description of DT_UNKNOWN.
19885 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19887 2012-04-08 Stephen Compall <s11@member.fsf.org>
19890 * manual/llio.texi (Opening and Closing Files): Add cross
19891 reference to explain mode argument.
19893 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19895 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19896 * sysdeps/x86_64/memset_chk.S: Likewise.
19898 2012-04-07 David S. Miller <davem@davemloft.net>
19900 * elf/elf.h (R_SPARC_WDISP10): Define.
19901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19904 R_SPARC_SIZE64 and R_SPARC_H34.
19906 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19909 conditions and remove no longer applicable assertion.
19911 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19913 * bits/byteswap.h: Include <features.h>.
19914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19917 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19919 * bits/byteswap.h (__bswap_16): Removed.
19920 Include <bits/byteswap-16.h> to get __bswap_16.
19921 * sysdeps/i386/bits/byteswap.h: Likewise.
19922 * sysdeps/s390/bits/byteswap.h: Likewise.
19923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19924 * bits/byteswap-16.h: New file.
19925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19926 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19927 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19928 * string/Makefile (headers): Add bits/byteswap-16.h.
19930 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19933 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19935 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19936 * nss/tst-nss-static.c: New.
19938 2012-04-06 Robert Millan <rmh@gnu.org>
19941 * manual/llio.texi (File Position Primitive): lseek
19942 refers to WHENCE when it really means OFFSET.
19944 2012-04-06 Andreas Jaeger <aj@suse.de>
19946 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19947 strncmp declarations.
19949 * abilist/libc.abilist: Add __poll and __ppoll.
19951 2012-04-05 David S. Miller <davem@davemloft.net>
19953 * scripts/check-local-headers.sh: Accept a host triplet in the
19954 path matched by the exclude regexp.
19956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19958 * sysdeps/powerpc/powerpc32/dl-machine.h
19959 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19960 * sysdeps/s390/s390-32/dl-machine.h
19961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19962 * sysdeps/sparc/sparc32/dl-machine.h
19963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19964 * sysdeps/sparc/sparc64/dl-machine.h
19965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19967 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19969 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19970 undefined symbol errors.
19972 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19975 2012-04-05 Michael Matz <matz@suse.de>
19978 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19980 2012-04-05 Andreas Jaeger <aj@suse.de>
19983 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19986 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19988 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19989 which ROUND is no valid rounding mode.
19991 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19995 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19999 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20000 an exception using FPU order intentionally.
20002 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20005 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20006 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20007 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20009 2012-04-05 Simon Josefsson <simon@josefsson.org>
20012 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20013 EINVAL when BUFLEN is too smal.
20015 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20018 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20019 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20021 2012-04-03 Andreas Jaeger <aj@suse.de>
20024 * manual/setjmp.texi (System V contexts): Fix sentence.
20027 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20028 New macro for this case.
20029 [!__GNUC__] (__bswap_64): New inline function for this case.
20030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20031 * bits/byteswap.h: Likewise.
20032 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20033 ull, guard with __GLIBC_HAVE_LONG_LONG.
20035 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20036 __GLIBC_HAVE_LONG_LONG.
20038 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20039 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20041 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20045 inptr and inend, rather than using last_ch.
20047 2012-04-02 David S. Miller <davem@davemloft.net>
20049 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20050 * stdio-common/printf-parse.h (read_int): Change return type to
20051 'int', return -1 on INT_MAX overflow.
20052 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20053 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20054 overflows INT_MAX. Check for overflow of in-format-string precision
20055 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20056 SIZE_MAX not INT_MAX for integer overflow test.
20057 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20058 skip the construct in the format string but do not record anything.
20059 * stdio-common/bug22.c: Adjust to test both width/prevision
20060 INT_MAX overflow as well as total length INT_MAX overflow. Check
20061 explicitly for proper errno values.
20063 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20065 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20067 * string/test-strcmp.c [! WIDE]: Likewise.
20068 * time/tst-mktime2.c: Likewise for INT_MAX.
20069 * string/test-string.h: #include <sys/param.h> for MIN.
20071 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20072 * sysdeps/i386/init-first.c (init): Likewise.
20073 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20074 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20075 * sysdeps/sh/init-first.c (init): Likewise.
20077 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20079 * po/ru.po: Update from translation team.
20080 * po/vi.po: Likewise.
20082 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20084 * resolv/nss_dns/dns-host.c: Merge copyright years.
20086 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20089 Optimize memcpy with prefetch if
20090 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20091 src, dst pointers have unequal 16 byte alignments.
20093 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20096 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20097 from a CNAME entry and return the minimum ttl for the query.
20098 (gaih_getanswer_slice): Likewise.
20100 2012-03-30 Jeff Law <law@redhat.com>
20102 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20104 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20105 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20107 * resolv/nss_dns/dns-host.c: Update copyright year.
20109 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20111 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20112 requests to save a system call. Fix check that all bytes are sent.
20114 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20115 comments for sendmmsg.
20117 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20120 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20121 with only 1 character between 0x0041 and 0x01b0.
20122 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20123 * wcsmbs/tst-mbsnrtowcs.c: New file.
20125 2012-03-29 David S. Miller <davem@davemloft.net>
20127 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20128 small copies by hand.
20130 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20133 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20134 _nss_compat_initgroups_dyn): Fall back to malloc/free
20135 for large group memberships.
20137 2012-03-28 David S. Miller <davem@davemloft.net>
20139 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20140 that branches into memcpy.
20141 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20144 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20147 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20148 implementation too.
20149 * sysdeps/sparc/mempcpy.S: New file.
20151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20152 the IFUNC routine in the libc case.
20153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20155 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20156 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20157 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20158 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20159 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20160 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20161 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20162 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20164 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20165 loop to 256 bytes instead of 64 bytes and fix test signedness.
20167 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20168 * sysdeps/sparc/sparc32/Makefile: rather than here...
20169 * sysdeps/sparc/sparc64/Makefile: and here.
20171 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20173 * malloc/mallocbug.c: Avoid warnings about unused variables.
20175 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20178 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20179 in the right place. Discard and retry query if response is
20180 larger than input buffer size.
20182 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20187 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20188 x for large integer exponent.
20189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20191 sign of result as needed afterwards.
20192 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20194 result for underflowing pow the same as for overflow.
20195 (__kernel_standard_l): Handle powl overflow and underflow here
20196 rather than calling __kernel_standard.
20197 * math/libm-test.inc (pow_test): Add more tests.
20212 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20213 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20214 (__kernel_standard_l): New function.
20215 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20217 * math/w_acosl.c (__acosl): Likewise.
20218 * math/w_asinl.c (__asinl): Likewise.
20219 * math/w_atan2l.c (__atan2l): Likewise.
20220 * math/w_atanhl.c (__atanhl): Likewise.
20221 * math/w_coshl.c (__coshl): Likewise.
20222 * math/w_exp10l.c (__exp10l): Likewise.
20223 * math/w_exp2l.c (__exp2l): Likewise.
20224 * math/w_fmodl.c (__fmodl): Likewise.
20225 * math/w_hypotl.c (__hypotl): Likewise.
20226 * math/w_j0l.c (__j0l, __y0l): Likewise.
20227 * math/w_j1l.c (__j1l, __y1l): Likewise.
20228 * math/w_jnl.c (__jnl, __ynl): Likewise.
20229 * math/w_lgammal.c (__lgammal): Likewise.
20230 * math/w_log10l.c (__log10l): Likewise.
20231 * math/w_log2l.c (__log2l): Likewise.
20232 * math/w_logl.c (__logl): Likewise.
20233 * math/w_powl.c (__powl): Likewise.
20234 * math/w_remainderl.c (__remainderl): Likewise.
20235 * math/w_scalbl.c (sysv_scalbl): Likewise.
20236 * math/w_sinhl.c (__sinhl): Likewise.
20237 * math/w_sqrtl.c (__sqrtl): Likewise.
20238 * math/w_tgammal.c (__tgammal): Likewise.
20239 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20240 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20241 * math/libm-test.inc (acos_test): Add more tests.
20242 (acosh_test): Likewise.
20243 (asin_test): Likewise.
20244 (atanh_test): Likewise.
20245 (exp_test): Likewise.
20246 (exp10_test): Likewise.
20247 (exp2_test): Likewise.
20248 (expm1_test): Likewise.
20249 (lgamma_test): Likewise.
20250 (log_test): Likewise.
20251 (log10_test): Likewise.
20252 (log1p_test): Likewise.
20253 (log2_test): Likewise.
20254 (pow_test): Do not allow some spurious overflow exceptions.
20255 (sqrt_test): Add more tests.
20256 (tgamma_test): Likewise.
20257 (y0_test): Likewise.
20258 (y1_test): Likewise.
20259 (yn_test): Likewise.
20261 2012-03-27 Anton Blanchard <anton@samba.org>
20263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20269 2012-03-27 David S. Miller <davem@davemloft.net>
20271 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20273 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20274 have-as-vis3 check.
20276 2012-03-27 Andreas Jaeger <aj@suse.de>
20278 * sysdeps/x86_64/elf/configure.in: Moved to ...
20279 * sysdeps/x86_64/configure.in: ... here.
20280 * sysdeps/x86_64/elf/start.S: Moved to ...
20281 * sysdeps/x86_64/start.S: ... here.
20282 * sysdeps/x86_64/elf/configure: Delete.
20284 * sysdeps/x86_64/configure.in: Merge contents from
20285 sysdeps/i386/configure.in (without i686 check).
20287 * sysdeps/i386/elf/Versions: Merge into ...
20288 * sysdeps/i386/Versions: ... this.
20289 * sysdeps/i386/elf/Versions: Delete file.
20290 * sysdeps/i386/elf/start.S: Moved to ...
20291 * sysdeps/i386/start.S: ...here.
20292 * sysdeps/i386/elf/configure.in: Merge into...
20293 * sysdeps/i386/configure.in: ...here.
20294 * sysdeps/i386/elf/configure.in: Delete file.
20295 * sysdeps/i386/elf/configure: Delete file.
20297 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20298 * debug/backtracesyms.c: ... here.
20299 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20300 * debug/backtracesymsfd.c: ... here.
20301 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20302 * sysdeps/generic/ifunc-sel.h: ... here.
20304 * sysdeps/unix/i386/start.c: Delete file.
20305 * sysdeps/unix/sparc/start.c: Delete file.
20306 * sysdeps/unix/start.c: Delete file.
20308 * sysdeps/sh/elf/configure.in: Moved to ...
20309 * sysdeps/sh/configure.in: ... here.
20310 * sysdeps/sh/elf/start.S: Moved to ...
20311 * sysdeps/sh/start.S: ... here.
20312 * sysdeps/sh/elf/configure: Delete file.
20314 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20315 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20316 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20317 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20318 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20319 * sysdeps/powerpc/powerpc64/start.S: here.
20320 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20321 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20322 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20323 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20324 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20326 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20327 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20328 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20329 * sysdeps/powerpc/powerpc32/start.S: ... here.
20330 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20331 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20332 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20334 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20335 * sysdeps/powerpc/ifunc-sel.h: ... here.
20336 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20337 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20339 * sysdeps/sparc/elf/configure.in: Moved to ...
20340 * sysdeps/sparc/configure.in: ... here.
20341 * sysdeps/sparc/elf/configure: Delete file.
20342 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20343 * sysdeps/sparc/sparc32/start.S: ... here.
20344 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20345 * sysdeps/sparc/sparc64/start.S: ... here.
20346 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20347 * sysdeps/sparc/sparc32/Makefile: ... this.
20348 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20349 * sysdeps/sparc/sparc64/Makefile: ... this.
20351 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20352 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20353 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20354 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20355 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20356 * sysdeps/s390/s390-32/setjmp.S: ... here.
20357 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20358 * sysdeps/s390/s390-32/configure.in: ... here.
20359 * sysdeps/s390/s390-32/elf/configure: Delete file.
20360 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20361 * sysdeps/s390/s390-32/start.S: ... here.
20363 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20364 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20365 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20366 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20367 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20368 * sysdeps/s390/s390-64/setjmp.S: ... here.
20369 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20370 * sysdeps/s390/s390-64/configure.in: ... here
20371 * sysdeps/s390/s390-64/elf/configure: Delete file.
20372 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20373 * sysdeps/s390/s390-64/start.S: ... here.
20374 * sysdeps/s390/s390-64/elf/configure: Delete.
20376 * configure.in: Remove support for elf directories in sysdeps.
20378 * configure: Regenerated.
20379 * sysdeps/i386/configure: Regenerated.
20380 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20381 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20382 * sysdeps/s390/s390-32/configure: Regenerated.
20383 * sysdeps/s390/s390-64/configure: Regenerated.
20384 * sysdeps/sh/configure: Regenerated.
20385 * sysdeps/sparc/configure: Regenerated.
20386 * sysdeps/x86_64/configure: Regenerated.
20388 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20393 denormal result into account.
20395 2012-03-25 Roland McGrath <roland@hack.frob.com>
20397 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20398 Reported by Allan McRae <allan@archlinux.org>.
20400 2012-03-23 Jeff Law <law@redhat.com>
20402 * nss/getnssent.c (__nss_getent): Fix typo.
20404 2012-03-23 David S. Miller <davem@davemloft.net>
20406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20408 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20410 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20411 to pad to uint64_t for each field.
20412 (dl_tls_index): Replace unsigned long with uint64_t.
20414 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20415 Paul Pluzhnikov <ppluzhnikov@google.com>
20418 * grp/Makefile (otherlibs): Don't set it.
20419 * inet/Makefile (otherlibs): Likewise.
20420 * login/Makefile (otherlibs): Likewise.
20421 * nscd/Makefile (otherlibs): Likewise.
20422 * posix/Makefile (otherlibs): Likewise.
20423 * pwd/Makefile (otherlibs): Likewise.
20424 * rt/Makefile (otherlibs): Likewise.
20425 * sunrpc/Makefile (otherlibs): Likewise.
20426 * nss/Makefile (otherlibs): Likewise.
20427 Add libnss_files to routines and static-only-routines.
20428 ($(objpfx)getent): Remove rule.
20429 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20430 static-only-routines.
20432 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20435 * math/s_cexp.c: Include <float.h>.
20436 (__cexp): Handle exp result overflowing not necessarily
20437 overflowing both real and imaginary parts of result.
20438 * math/s_cexpf.c: Likewise.
20439 * math/s_cexpl.c: Likewise.
20440 * math/libm-test.inc (cexp_test): Add more tests.
20441 * sysdeps/i386/fpu/libm-test-ulps: Update.
20442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20446 * include/link.h (ELFW): New macro.
20447 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20448 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20450 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20452 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20455 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20457 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20459 (struct La_x32_retval): Likewise.
20461 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20463 * sysdeps/x86_64/preconfigure.in: New file.
20464 * sysdeps/x86_64/preconfigure: New generated file.
20466 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20469 * math/e_exp2l.c: Include <float.h>.
20470 (__ieee754_exp2l): Handle overflow and underflow cases
20471 separately. Only pass fractional part of argument to
20473 * math/libm-test.inc (exp2_test): Add more tests.
20475 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20476 negating x to take absolute value.
20477 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20482 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20483 computing low part if x was negated.
20484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20486 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20488 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20489 la_x32_gnu_pltexit.
20490 (pltexit): Cast int_retval to ptrdiff_t.
20491 * elf/tst-auditmod3b.c: Likewise.
20492 * elf/tst-auditmod4b.c: Likewise.
20493 * elf/tst-auditmod5b.c: Likewise.
20494 * elf/tst-auditmod6b.c: Likewise.
20495 * elf/tst-auditmod6c.c: Likewise.
20496 * elf/tst-auditmod7b.c: Likewise.
20498 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20499 and x32_gnu_pltexit.
20501 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20502 __ELF_NATIVE_CLASS.
20503 (La_x32_regs): New macro.
20504 (La_x32_retval): Likewise.
20505 (la_x32_gnu_pltenter): New function prototype.
20506 (la_x32_gnu_pltexit): Likewise.
20508 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20515 * configure.in (libc_cv_cc_nofma): Check for option to disable
20516 generation of FMA instructions.
20517 * configure: Regenerate.
20518 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20519 * sysdeps/ieee754/dbl-64/Makefile: New file.
20520 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20521 Remove brandred-fma4.
20522 (CFLAGS-brandred-fma4.c): Remove.
20523 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20529 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20531 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20532 LLONG_MAX != LONG_MAX.
20533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20534 (_fitoa_word): Likewise.
20535 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20536 LLONG_MAX != LONG_MAX.
20537 * stdio-common/_itowa.h: Include <_itoa.h>.
20538 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20539 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20540 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20541 only if not defined.
20542 (_ITOA_WORD_TYPE): Likewise.
20543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20544 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20546 2012-03-21 David S. Miller <davem@davemloft.net>
20548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20550 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20552 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20553 of x86_64 when setting libc_cv_slibdir, libdir and
20555 * sysdeps/unix/sysv/linux/configure: Regenerated.
20557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20559 * manual/lang.texi (Old Varargs): Remove section.
20560 (How Variadic): Update menu.
20561 (va_start): Do not mention varargs.h.
20563 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20564 Joseph Myers <joseph@codesourcery.com>
20566 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20568 * configure: Regenerated.
20570 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20572 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20573 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20576 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20579 * Makefile (files-for-dist): Remove NOTES.
20580 (NOTES): Remove rule.
20581 * README: Don't refer to NOTES.
20582 * manual/creature.texi: Don't include macros.texi.
20583 * manual/intro.texi (creature.texi): Remove comment referring to
20586 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20587 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20588 * configure: Regenerated.
20589 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20590 LIBC_TRY_CC_OPTION.
20591 (libc_cv_as_i686): Likewise.
20592 (libc_cv_cc_avx): Likewise.
20593 (libc_cv_cc_sse2avx): Likewise.
20594 (libc_cv_cc_fma4): Likewise.
20595 (libc_cv_cc_novzeroupper): Likewise.
20596 * sysdeps/i386/configure: Regenerated.
20599 * sysdeps/i386/fpu/s_cexp.S: Remove.
20600 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20601 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20602 * math/libm-test.inc (cexp_test): Add more tests.
20603 * sysdeps/i386/fpu/libm-test-ulps: Update.
20604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20606 2012-03-21 Allan McRae <allan@archlinux.org>
20608 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20610 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20613 * math/w_exp2.c: Do not include <float.h>.
20614 (o_threshold, u_threshold): Remove.
20615 (__exp2): Calculate result before checking finiteness and calling
20617 * math/w_exp2f.c: Likewise.
20618 * math/w_exp2l.c: Likewise.
20619 * math/libm-test.inc (exp2_test): Require overflow exception for
20623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20624 range of signed 64-bit integers before using fistpll. Remove
20625 checks for whether integers fit in mantissa bits.
20626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20627 the range of signed 32-bit integers before using fistpl. Remove
20628 checks for whether integers fit in mantissa bits.
20629 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20630 (__ieee754_powl): Test for y outside the range of signed 64-bit
20631 integers before using fistpll. Reduce 64-bit values to 63-bit
20633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20634 divide-by-zero is raised for zero to large negative powers.
20635 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20636 (__ieee754_powl): Test for y outside the range of signed 64-bit
20637 integers before using fistpll. Reduce 64-bit values to 63-bit
20639 * math/libm-test.inc (pow_test): Add more tests.
20641 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20643 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20644 <stdio-common/_itoa.h>.
20645 * debug/segfault.c: Likewise.
20646 * elf/dl-cache.c: Likewise.
20647 * elf/dl-minimal.c: Likewise.
20648 * elf/dl-misc.c: Likewise.
20649 * elf/dl-sysdep.c: Likewise.
20650 * elf/dl-version.c: Likewise.
20651 * elf/rtld.c: Likewise.
20652 * hurd/hurdsock.c: Likewise.
20653 * hurd/lookup-retry.c: Likewise.
20654 * malloc/malloc.c: Likewise.
20655 * malloc/mtrace.c: Likewise.
20656 * nscd/nscd_getgr_r.c: Likewise.
20657 * nscd/nscd_getpw_r.c: Likewise.
20658 * nscd/nscd_getserv_r.c: Likewise.
20659 * posix/getopt_init.c: Likewise.
20660 * posix/wordexp.c: Likewise.
20661 * stdio-common/_itoa.c: Likewise.
20662 * stdio-common/printf_fphex.c: Likewise.
20663 * stdio-common/vfprintf.c: Likewise.
20664 * string/_strerror.c: Likewise.
20665 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20666 * sysdeps/i386/i686/hp-timing.h: Likewise.
20667 * sysdeps/mach/_strerror.c: Likewise.
20668 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20669 * sysdeps/mach/hurd/sethostid.c: Likewise.
20670 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20671 * sysdeps/mach/xpg-strerror.c: Likewise.
20672 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20674 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20675 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20676 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20677 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20678 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20679 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20680 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20681 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20682 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20684 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20685 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20686 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20687 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20688 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20689 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20690 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20691 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20692 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20694 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20696 * stdio-common/_itoa.h: Moved to ...
20697 * sysdeps/generic/_itoa.h: Here.
20699 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20701 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20702 instead of "_itoa.h" and "_itowa.h".
20703 * stdio-common/vfprintf.: Likewise.
20705 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20707 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20709 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20710 (__signbit): Likwise.
20711 (llrintf): Likwise.
20714 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20716 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20719 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20721 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20722 OVERFLOW_EXCEPTION_OK.
20723 * math/libm-test.inc ("Philosophy"): Update comment about
20725 (OVERFLOW_EXCEPTION): Define.
20726 (OVERFLOW_EXCEPTION_OK): Likewise.
20727 (INVALID_EXCEPTION_OK): Renumber.
20728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20729 (IGNORE_ZERO_INF_SIGN): Likewise.
20730 (test_exceptions): Handle FE_OVERFLOW.
20731 (exp10_test): Expect overflow exceptions.
20732 (exp2_test): Likewise.
20733 (expm1_test): Likewise.
20734 (nextafter_test): Likewise.
20735 (pow_test): Likewise.
20736 (scalbn_test): Likewise.
20737 (scalbln_test): Likewise.
20739 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20741 * sysdeps/x86_64/bits/atomic.h
20742 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20744 (atomic_exchange_acq): Likewise.
20745 (__arch_exchange_and_add_body): Likewise.
20746 (__arch_add_body): Likewise.
20747 (atomic_add_negative): Likewise.
20748 (atomic_add_zero): Likewise.
20750 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20752 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20753 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20755 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20757 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20758 Check __x86_64__ instead of __WORDSIZE.
20760 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20762 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20764 2012-03-19 David S. Miller <davem@davemloft.net>
20766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20768 * sysdeps/sparc/fpu/fenv_private.h: New file.
20769 * sysdeps/sparc/fpu/math_private.h: Use it.
20770 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20773 (libc_feholdexcept_setroundl): Remove.
20774 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20781 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20782 int64_t instead of long int.
20783 (INSERT_WORDS64): Likwise.
20785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20787 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20788 _Unwind_GetCFA return to _Unwind_Ptr first.
20790 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20793 * math/s_clog.c: Include <float.h>.
20794 (__clog): Scale large or subnormal inputs.
20795 * math/s_clogf.c: Likewise.
20796 * math/s_clogl.c: Likewise.
20797 * math/s_clog10.c: Include <float.h>.
20798 (M_LOG10_2): Define.
20799 (__clog10): Scale large or subnormal inputs.
20800 * math/s_clog10f.c: Likewise.
20801 * math/s_clog10l.c: Likewise.
20802 * math/libm-test.inc (clog_test): Add more tests.
20803 (clog10_test): Likewise.
20804 * sysdeps/i386/fpu/libm-test-ulps: Update.
20805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20810 * math/libm-test.inc (atan2_test): Add another test.
20812 * Makerules (common-objdir-compile): Remove.
20813 * sysdeps/unix/Makefile (config-generated): Do not add
20814 $(unix-generated) to variable.
20815 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20816 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20818 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20820 [generic bits/local_lim.h] (before-compile): Do not append to
20822 [generic bits/local_lim.h] (common-generated): Likewise.
20823 [generic sys/param.h] (before-compile): Do not append to variable.
20824 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20825 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20826 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20827 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20829 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20830 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20831 [generic sys/param.h] ($(addprefix
20832 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20833 [generic sys/param.h] (common-generated): Do not append to
20835 [generic sys/param.h] (sysdep_headers): Likewise.
20836 [generic bits/errno.h] (before-compile): Do not append to
20838 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20840 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20841 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20842 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20843 [generic bits/errno.h] (common-generated): Do not append to
20845 [generic bits/ioctls.h] (before-compile): Do not append to
20847 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20849 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20850 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20854 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20855 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20856 [generic bits/ioctls.h] (common-generated): Do not append to
20858 [generic sys/syscall.h] (syscall.h): Remove variable.
20859 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20861 [generic sys/syscall.h] (before-compile): Do not append to
20863 [generic sys/syscall.h] (common-generated): Likewise.
20864 * sysdeps/unix/errnos-tmpl.c: Remove file.
20865 * sysdeps/unix/errnos.awk: Likewise.
20866 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20867 * sysdeps/unix/ioctls.awk: Likewise.
20868 * sysdeps/unix/mk-local_lim.c: Likewise.
20869 * sysdeps/unix/snarf-ioctls: Likewise.
20871 2012-03-19 Richard Henderson <rth@twiddle.net>
20873 * sysdeps/i386/fpu/fenv_private.h: New file.
20874 * sysdeps/i386/fpu/math_private.h: Use it.
20875 (math_opt_barrier, math_force_eval): Remove.
20876 (libc_feholdexcept_setround_53bit): Remove.
20877 (libc_feupdateenv_53bit): Remove.
20878 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20879 (math_opt_barrier, math_force_eval): Remove.
20880 (libc_feholdexcept): Remove.
20881 (libc_feholdexcept_setround): Remove.
20882 (libc_fetestexcept, libc_fesetenv): Remove.
20883 (libc_feupdateenv_test): Remove.
20884 (libc_feupdateenv, libc_feholdsetround): Remove.
20885 (libc_feresetround): Remove.
20887 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20888 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20890 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20891 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20892 (libc_feupdateenv_testl): New.
20893 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20894 (libc_feupdateenv_testf): New.
20895 (libc_feupdateenv): Use libc_feupdateenv_test.
20896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20899 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20900 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20901 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20902 (libc_feresetround_noex): New.
20903 (libc_feresetround_noexf): New.
20904 (libc_feresetround_noexl): New.
20905 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20906 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20907 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20908 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20913 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20914 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20915 SET_RESTORE_ROUND_NOEX.
20916 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20917 SET_RESTORE_ROUND_NOEXF.
20918 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20919 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20920 (libc_feholdsetroundf): New.
20921 (libc_feresetround, libc_feresetroundf): New.
20923 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20924 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20925 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20927 * sysdeps/generic/math_private.h: Include <fenv.h>.
20928 (default_libc_feholdexcept): New.
20929 (default_libc_feholdexcept_setround): New.
20930 (default_libc_fesetenv, default_libc_feupdateenv): New.
20931 (libc_feholdexcept): Only define if undefined.
20932 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20933 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20934 (libc_feholdexcept_setroundl): Likewise.
20935 (libc_feholdexcept_setround_53bit): Likewise.
20936 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20937 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20938 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20939 (libc_feupdateenv_53bit): Likewise.
20940 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20941 (libc_feholdexcept): Convert from macro to inline function.
20942 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20943 (libc_fesetenv, libc_feupdateenv): Likewise.
20945 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20946 not previously defined.
20947 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20948 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20949 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20951 * sysdeps/ieee754/flt-32/math_private.h: New file.
20952 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20953 math_private.h below SET_FLOAT_WORD.
20954 (__isnan, __isinf_ns, __finite): Remove.
20955 (__isnanf, __isinf_nsf, __finitef): Remove.
20957 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20961 2012-03-17 David S. Miller <davem@davemloft.net>
20964 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20967 2012-03-16 David S. Miller <davem@davemloft.net>
20969 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20975 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20976 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20977 sysdep_routines when subdir is sysvipc.
20978 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20979 __getshmlba helper.
20981 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20983 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20985 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20988 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20991 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20992 (__lround): Renamed to ...
20993 (__llround): This. Replace long int with long long int.
20994 Define lround functions as aliases of llround functions.
20995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20997 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20999 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21000 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21001 adresses to uintptr_t. Replace "long int" and "unsigned long
21002 int" with "greg_t" on va_arg.
21004 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21006 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21007 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21009 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21010 Move e_machine check before EI_CLASS check. Handle x32
21011 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21012 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21013 SKIP_EM_IA_64 and include
21014 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21016 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21017 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21018 (add_system_dir): New macro.
21020 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21021 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21023 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21034 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21036 * math/w_j0f.c (j0f): Likewise.
21038 * math/w_j0l.c (__j0l): Likewise.
21040 * math/w_j1.c (j1): Likewise.
21042 * math/w_j1f.c (j1f): Likewise.
21044 * math/w_j1l.c (__j1l): Likewise.
21046 * math/w_jn.c (jn): Likewise.
21048 * math/w_jnf.c (jnf): Likewise.
21050 * math/w_jnl.c (__jnl): Likewise.
21052 * math/libm-test.inc (j0_test): Add more tests.
21053 (j1_test): Likewise.
21054 (jn_test): Likewise. Add trailing semicolon to existing test.
21055 (y0_test): Likewise.
21056 (y1_test): Likewise.
21057 * sysdeps/i386/fpu/libm-test-ulps: Update.
21058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21063 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21064 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21066 (__tanl): Set errno for infinite argument.
21067 * sysdeps/i386/fpu/mptan.c: Remove.
21068 * sysdeps/i386/fpu/s_tan.S: Likewise.
21069 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21070 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21071 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21072 * math/libm-test.inc (tan_test): Add more tests and enable more
21073 tests for double and long double.
21074 * sysdeps/i386/fpu/libm-test-ulps: Update.
21075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21077 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21079 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21080 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21082 2012-03-16 Roland McGrath <roland@hack.frob.com>
21084 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21085 * configure.in: Use it for both main tree and add-ons.
21086 * configure: Regenerated.
21088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21090 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21092 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21094 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21098 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21099 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21104 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21106 != 0 for prec == 2.
21107 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21108 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21109 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21110 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21111 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21112 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21113 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21114 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21115 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21116 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21117 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21118 * math/libm-test.inc (cos_test): Add more tests and enable more
21119 tests for long double.
21120 (sin_test): Likewise.
21121 (sincos_test): Likewise.
21122 * sysdeps/i386/fpu/libm-test-ulps: Update.
21123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21125 2012-03-16 David S. Miller <davem@davemloft.net>
21127 * sysdeps/sparc/fpu/math_private.h: New file.
21129 2012-03-15 David S. Miller <davem@davemloft.net>
21131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21145 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21146 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21148 * sysdeps/sparc/sparc-ifunc.h: New file.
21149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21194 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21196 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21200 2012-03-15 Andreas Jaeger <aj@suse.de>
21203 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21204 ieee754/flt-32 implementation for sin, cos and sincos.
21205 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21206 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21207 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21208 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21209 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21210 ieee754/flt-32 implementation for tan.
21212 * math/libm-test.inc (cos_test): Enable some large input tests for
21214 (sin_test): Likewise.
21215 (sincos_test): Likewise.
21216 (tan_test): Add tests for large input.
21218 * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 2012-03-15 Andreas Jaeger <aj@suse.de>
21223 * math/libm-test.inc (cos_test): Add more test cases.
21224 (sin_test): Likewise.
21225 (sincos_test): Likewise.
21227 2012-03-15 Andreas Jaeger <aj@suse.de>
21230 * math/libm-test.inc (cos_test): Add a test case for large input
21232 (sin_test): Likewise.
21233 (sincos_test): Likewise.
21235 2012-03-15 Andreas Jaeger <aj@suse.de>,
21236 Joseph Myers <joseph@codesourcery.com>
21239 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21240 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21241 * sysdeps/i386/fpu/branred.c: Likewise.
21242 * sysdeps/i386/fpu/dosincos.c: Likewise.
21243 * sysdeps/i386/fpu/mpa.c: Likewise.
21244 * sysdeps/i386/fpu/s_cos.S: Likewise.
21245 * sysdeps/i386/fpu/s_sin.S: Likewise.
21246 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21247 * sysdeps/i386/fpu/sincos32.c: Likewise.
21249 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21251 (libc_feupdateenv_53bit): Define.
21252 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21254 (libc_feupdateenv_53bit): Define.
21256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21257 53 bit (without extend i386 double precision).
21259 * math/libm-test.inc (sincos_test): Add tests for large input.
21263 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21265 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21269 2012-03-15 David S. Miller <davem@davemloft.net>
21271 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21272 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21273 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21274 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21299 fmin/fmax sysdep routines.
21300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21302 2012-03-14 David S. Miller <davem@davemloft.net>
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21376 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21381 * sysdeps/sparc/configure.in: New file.
21382 * sysdeps/sparc/configure: Generate.
21383 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21384 * configure: Regenerate.
21385 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21386 * config.make.in (have-as-vis3): New.
21387 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21388 available use -Av9d instead of -Av9a.
21389 * sysdeps/sparc/sparc64/Makefile: Likewise.
21390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21405 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21406 fzeros/fnegs to load 0x80000000 into a float register instead of
21408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21410 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21414 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21415 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21416 ($(inst_includedir)/bits/syscall.h): Remove rule.
21417 ($(objpfx)bits/syscall.d): Include instead of
21418 $(objpfx)syscall-list.d.
21419 (generated): Change syscall-list.h and syscall-list.d to
21420 bits/syscall.h and bits/syscall.d.
21422 2012-03-14 Roland McGrath <roland@hack.frob.com>
21425 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21427 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21430 * math/s_csqrt.c: Include <float.h>.
21431 (__csqrt): Scale large or subnormal inputs.
21432 * math/s_csqrtf.c: Likewise.
21433 * math/s_csqrtl.c: Likewise.
21434 * math/libm-test.inc (csqrt_test): Add more tests.
21435 * sysdeps/i386/fpu/libm-test-ulps: Update.
21436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21439 * math/libm-test.inc (hypot_test): Add more tests.
21441 2012-03-13 David S. Miller <davem@davemloft.net>
21444 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21445 double-precision for the calculation instead of scaling.
21447 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21450 manipulate bits before adding and subtracting TWO52[sx].
21451 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21452 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21454 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21456 2012-03-13 David S. Miller <davem@davemloft.net>
21458 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21459 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21461 rtld-global-offsets.h
21462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21464 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21467 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21469 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21470 'err' in the ifdef scope in which it is actually used.
21472 * nss/nss_db/db-init.c: Include string.h
21474 2012-03-12 David S. Miller <davem@davemloft.net>
21476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21477 masking out of the most significant byte of random value used.
21478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21479 Fix coding style in previous change.
21481 * sysdeps/unix/sysv/linux/kernel-features.h
21482 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21483 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21485 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21488 2012-03-11 David S. Miller <davem@davemloft.net>
21490 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21491 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21493 for 'resultvar' otherwise things get truncated on 64-bit.
21495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21496 Fix masking out of the most significant byte of random value used.
21498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21500 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21504 2012-03-09 David S. Miller <davem@davemloft.net>
21506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21507 variables with appropriate CPP guards.
21508 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21509 frame pointer, not the stack pointer. Correct layout comments. Fix test
21510 on resulting framesize and the management of the outregs buffer for pltexit.
21511 Preserve floating point return values across _dl_call_pltexit call.
21512 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21513 framesize and the management of the outregs buffer for pltexit.
21514 Preserve floating point return values across _dl_call_pltexit
21516 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21517 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21518 (print_exit): Fix format string for return register value.
21520 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21522 * sunrpc/Makefile (others): Add rpcgen.
21523 ($(objpfx)rpcgen): Remove special build rule and dependency on
21525 * sunrpc/rpcgen.c: New file.
21527 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21530 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21531 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21532 * sysdeps/i386/crti.S: Likewise.
21533 * sysdeps/i386/crtn.S: Likewise.
21534 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21535 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21536 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21537 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21538 * sysdeps/sh/crti.S: Likewise.
21539 * sysdeps/sh/crtn.S: Likewise.
21540 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21543 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21545 * locale/programs/locfile-kw.gperf: Likewise.
21546 * locale/programs/charmap-kw.h: Regenerated.
21547 * locale/programs/locfile-kw.h: Likewise.
21550 * intl/plural.y: Replace FSF snail mail address with URL.
21551 * intl/plural.c: Regenerated.
21553 2012-03-09 Richard Henderson <rth@twiddle.net>
21555 * include/math_private.h: Remove file.
21556 * math/math_private.h: Move file ...
21557 * sysdeps/generic/math_private.h: ... here.
21559 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21560 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21561 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21563 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21564 and <math_private.h>.
21565 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21566 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21567 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21568 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21569 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21626 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21653 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21670 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21671 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21672 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21677 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21679 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21684 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21688 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21690 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21692 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21694 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21695 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21696 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21698 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21699 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21703 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21707 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21708 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21709 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21710 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21711 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21712 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21713 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21714 * sysdeps/ieee754/k_standard.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21819 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21841 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21842 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21843 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21847 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21852 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21854 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21855 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21857 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21858 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21864 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21865 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21868 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21869 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21870 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21873 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21874 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21875 * sysdeps/ieee754/s_lib_version.c: Likewise.
21876 * sysdeps/ieee754/s_matherr.c: Likewise.
21877 * sysdeps/ieee754/s_signgam.c: Likewise.
21878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21881 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21884 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21885 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21886 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21887 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21888 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21889 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21892 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21893 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21895 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21900 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21902 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21903 * sunrpc/rpc_main.c: Likewise.
21904 * sunrpc/rpc_svcout.c: Likewise.
21906 2012-03-09 David S. Miller <davem@davemloft.net>
21908 * include/math_private.h: New file.
21910 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21912 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21913 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21914 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21915 from <bits/socket_type.h>.
21916 (enum __socket_type): Don't define here.
21917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21919 bits/socket_type.h.
21922 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21923 checking __USE_GNU.
21925 * Makerules ($(inst_includedir)/%.h): New rule.
21926 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21927 (install-others): Remove variable setting.
21928 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21930 2012-03-08 Richard Henderson <rth@twiddle.net>
21932 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21933 from macro to inline function; merge with the
21934 !__LIBC_INTERNAL_MATH_INLINES version.
21935 (__ieee754_sqrtf): Likewise.
21937 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21938 to inline function.
21939 (__rintf, __floor, __floorf): Likewise.
21941 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21942 macro to inline function.
21943 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21946 not <math/math_private.h>.
21948 2012-03-08 David S. Miller <davem@davemloft.net>
21950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21952 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21954 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21956 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21958 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21959 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21961 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21963 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21964 be defined individually, they must be defined as a block. Define
21965 S for printing a string instead of hidint the different by using a
21966 macro for adding the 'l'.
21967 * stdio-common/tst-fphex-wide.c: Adjust.
21969 2012-03-07 Marek Polacek <polacek@redhat.com>
21971 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21973 2012-03-08 Marek Polacek <polacek@redhat.com>
21976 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21977 * stdio-common/tst-fphex.c: Define a few macros to make the
21978 test reusable. Use them.
21979 * stdio-common/tst-fphex-wide.c: New file.
21981 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21984 * manual/macros.texi (gnusystems): New macro.
21985 (nongnusystems): Likewise.
21986 (gnulinuxhurdsystems): Likewise.
21987 (gnuhurdsystems): Likewise..
21988 (gnulinuxsystems): Likewise.
21989 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21990 variants of the GNU system, not "GNU system".
21991 * manual/conf.texi: Likewise.
21992 * manual/errno.texi: Likewise. Update example of errno macro
21994 * manual/filesys.texi: Likewise.
21995 (getumask): Document as specific to GNU/Hurd.
21996 * manual/install.texi: Likewise. Reword some references to
21998 * manual/intro.texi: Likewise.
21999 * manual/io.texi: Likewise.
22000 (File Name Portability): Detail which constraints are inapplicable
22001 to all GNU systems and which are only inapplicable to GNU/Hurd.
22002 * manual/job.texi: Likewise.
22003 * manual/llio.texi: Likewise.
22004 (O_NOCTTY): Document as present on GNU/Linux.
22005 * manual/maint.texi: Likewise.
22006 * manual/memory.texi: Likewise.
22007 * manual/pattern.texi: Likewise.
22008 * manual/pipe.texi: Likewise.
22009 * manual/process.texi: Likewise.
22010 * manual/resource.texi: Likewise.
22011 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22013 * manual/setjmp.texi: Likewise.
22014 * manual/signal.texi: Likewise.
22015 * manual/startup.texi: Likewise.
22016 * manual/stdio.texi: Likewise.
22017 * manual/terminal.texi: Likewise.
22018 (ONLCR): Document as POSIX.
22019 (OXTABS): Document availability on GNU/Linux as XTABS.
22020 (ONOEOT): Document availability separately from other bits.
22021 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22022 * manual/time.texi: Likewise.
22023 * manual/users.texi: Likewise.
22024 * INSTALL: Regenerated.
22025 * sysdeps/gnu/errlist.c: Regenerated.
22027 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22028 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22029 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22031 * configure: Regenerated.
22033 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22035 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22036 default includes instead of AC_HEADER_CHECK.
22037 * sysdeps/i386/configure: Regenerated.
22040 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22041 * math/s_cacoshf.c (__cacoshf): Likewise.
22042 * math/s_cacoshl.c (__cacoshl): Likewise.
22043 * math/s_casinh.c (__casinh): Set signs of result from argument.
22044 * math/s_casinhf.c (__casinhf): Likewise.
22045 * math/s_casinhl.c (__casinhl): Likewise.
22046 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22047 (casinh_test): Add more tests.
22048 * sysdeps/i386/fpu/libm-test-ulps: Update.
22049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22051 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22053 * po/zh_TW.po: Update from translation team.
22055 * login/Makefile (distribute): Remove variable.
22056 * catgets/Makefile: Likewise.
22057 * mach/Makefile: Likewise.
22058 * malloc/Makefile: Likewise.
22059 * misc/Makefile: Likewise.
22060 * iconv/Makefile: Likewise.
22061 * nscd/Makefile: Likewise.
22062 * hurd/Makefile: Likewise.
22063 * manual/Makefile: Likewise.
22064 * locale/Makefile: Likewise.
22065 * intl/Makefile: Likewise.
22066 * conform/Makefile: Likewise.
22067 * nss/Makefile: Likewise.
22068 * time/Makefile: Likewise.
22069 * soft-fp/Makefile: Likewise.
22070 * dirent/Makefile: Likewise.
22071 * gmon/Makefile: Likewise.
22072 * po/Makefile: Likewise.
22073 * rt/Makefile: Likewise.
22074 * socket/Makefile: Likewise.
22075 * math/Makefile: Likewise.
22076 * signal/Makefile: Likewise.
22077 * debug/Makefile: Likewise.
22078 * elf/Makefile: Likewise.
22079 * timezone/Makefile: Likewise.
22080 * stdlib/Makefile: Likewise.
22081 * iconvdata/Makefile: Likewise.
22082 * sunrpc/Makefile: Likewise.
22083 * io/Makefile: Likewise.
22084 * argp/Makefile: Likewise.
22085 * inet/Makefile: Likewise.
22086 * hesiod/Makefile: Likewise.
22087 * grp/Makefile: Likewise.
22088 * csu/Makefile: Likewise.
22089 * wctype/Makefile: Likewise.
22090 * crypt/Makefile: Likewise.
22091 * libio/Makefile: Likewise.
22092 * string/Makefile: Likewise.
22093 * nis/Makefile: Likewise.
22094 * resolv/Makefile: Likewise.
22095 * stdio-common/Makefile: Likewise.
22096 * wcsmbs/Makefile: Likewise.
22097 * dlfcn/Makefile: Likewise.
22098 * posix/Makefile: Likewise.
22101 * timezone/Makefile: Don't install timezone files, just the programs
22104 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22106 * nss/databases.def: Add missing gshadow entry.
22108 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22110 2012-03-06 Marek Polacek <polacek@redhat.com>
22113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22115 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22116 * stdio-common/tst-long-dbl-fphex.c: New file.
22118 2012-03-06 David S. Miller <davem@davemloft.net>
22120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22121 (set_obp_int): New function.
22122 (get_obp_int): New function.
22123 (__get_clockfreq_via_dev_openprom): Likewise.
22124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22125 Avoid unused variable warnings on 'val' and use builtin_expect.
22126 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22128 (INLINE_CLONE_SYSCALL): Likewise.
22130 2012-03-05 David S. Miller <davem@davemloft.net>
22132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22134 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22138 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22139 only for |x| >= 40.
22140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22142 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22145 Replace gettimeofday with __vdso_gettimeofday.
22147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22148 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22149 __vdso_clock_gettime and __vdso_getcpu.
22151 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22152 time with __vdso_time.
22154 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22156 * manual/lang.texi (size_t): Note types to which size_t may be
22157 equivalent with the GNU C Library, but do not describe when
22158 differences between them are significant.
22160 2012-03-05 Andreas Jaeger <aj@suse.de>
22162 * sysdeps/i386/fpu/libm-test-ulps: Update.
22164 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22167 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22168 (__ieee754_pow): Save and restore rounding mode and use
22169 round-to-nearest for main computations.
22170 * math/libm-test.inc (pow_test_tonearest): New function.
22171 (pow_test_towardzero): Likewise.
22172 (pow_test_downward): Likewise.
22173 (pow_test_upward): Likewise.
22174 (main): Call the new functions.
22175 * sysdeps/i386/fpu/libm-test-ulps: Update.
22176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22179 * math/libm-test.inc (cosh_test_tonearest): New function.
22180 (cosh_test_towardzero): Likewise.
22181 (cosh_test_downward): Likewise.
22182 (cosh_test_upward): Likewise.
22183 (sinh_test_tonearest): Likewise.
22184 (sinh_test_towardzero): Likewise.
22185 (sinh_test_downward): Likewise.
22186 (sinh_test_upward): Likewise.
22187 (main): Call the new functions.
22188 * sysdeps/i386/fpu/libm-test-ulps: Update.
22189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22191 2012-03-05 Tom de Vries <tom@codesourcery.com>
22193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22194 default stack guard is set in last bytes.
22195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22197 2012-03-05 Kees Cook <keescook@chromium.org>
22199 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22202 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22203 possibly allocate from heap instead of stack.
22204 * stdio-common/bug-vfprintf-nargs.c: New file.
22205 * stdio-common/Makefile (tests): Add nargs overflow test.
22207 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22211 2012-03-03 Marek Polacek <polacek@redhat.com>
22213 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22214 * math/math_private.h: Likewise.
22215 * stdlib/tst-strtod.c: Likewise.
22216 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22217 * sysdeps/x86_64/bits/atomic.h: Likewise.
22219 2012-03-02 David S. Miller <davem@davemloft.net>
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22225 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22226 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22227 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22228 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22230 2012-03-02 Roland McGrath <roland@hack.frob.com>
22233 * manual/examples/README: New file, says the example source files
22234 can be used under GPL>=2.
22235 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22236 line containing just "*/".
22237 * manual/examples/add.c: Add copyright header (GPL>=2).
22238 * manual/examples/argp-ex1.c: Likewise.
22239 * manual/examples/argp-ex2.c: Likewise.
22240 * manual/examples/argp-ex3.c: Likewise.
22241 * manual/examples/argp-ex4.c: Likewise.
22242 * manual/examples/atexit.c: Likewise.
22243 * manual/examples/db.c: Likewise.
22244 * manual/examples/dir.c: Likewise.
22245 * manual/examples/dir2.c: Likewise.
22246 * manual/examples/execinfo.c: Likewise.
22247 * manual/examples/filecli.c: Likewise.
22248 * manual/examples/filesrv.c: Likewise.
22249 * manual/examples/fmtmsgexpl.c: Likewise.
22250 * manual/examples/genpass.c: Likewise.
22251 * manual/examples/inetcli.c: Likewise.
22252 * manual/examples/inetsrv.c: Likewise.
22253 * manual/examples/isockad.c: Likewise.
22254 * manual/examples/longopt.c: Likewise.
22255 * manual/examples/memopen.c: Likewise.
22256 * manual/examples/memstrm.c: Likewise.
22257 * manual/examples/mkfsock.c: Likewise.
22258 * manual/examples/mkisock.c: Likewise.
22259 * manual/examples/mygetpass.c: Likewise.
22260 * manual/examples/pipe.c: Likewise.
22261 * manual/examples/popen.c: Likewise.
22262 * manual/examples/rprintf.c: Likewise.
22263 * manual/examples/search.c: Likewise.
22264 * manual/examples/select.c: Likewise.
22265 * manual/examples/setjmp.c: Likewise.
22266 * manual/examples/sigh1.c: Likewise.
22267 * manual/examples/sigusr.c: Likewise.
22268 * manual/examples/stpcpy.c: Likewise.
22269 * manual/examples/strdupa.c: Likewise.
22270 * manual/examples/strftim.c: Likewise.
22271 * manual/examples/strncat.c: Likewise.
22272 * manual/examples/subopt.c: Likewise.
22273 * manual/examples/swapcontext.c: Likewise.
22274 * manual/examples/termios.c: Likewise.
22275 * manual/examples/testopt.c: Likewise.
22276 * manual/examples/testpass.c: Likewise.
22277 * manual/examples/timeval_subtract.c: Likewise.
22280 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22282 * manual/timeval_subtract.c.texi: ... here, new file.
22284 2012-03-02 David S. Miller <davem@davemloft.net>
22286 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22288 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22291 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22292 (__sin): Save and restore rounding mode and use round-to-nearest
22293 for all computations.
22294 (__cos): Save and restore rounding mode and use round-to-nearest
22295 for all computations.
22296 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22298 (tan): Save and restore rounding mode and use round-to-nearest for
22300 * math/libm-test.inc (cos_test_tonearest): New function.
22301 (cos_test_towardzero): Likewise.
22302 (cos_test_downward): Likewise.
22303 (cos_test_upward): Likewise.
22304 (sin_test_tonearest): Likewise.
22305 (sin_test_towardzero): Likewise.
22306 (sin_test_downward): Likewise.
22307 (sin_test_upward): Likewise.
22308 (tan_test_tonearest): Likewise.
22309 (tan_test_towardzero): Likewise.
22310 (tan_test_downward): Likewise.
22311 (tan_test_upward): Likewise.
22312 (main): Call the new functions.
22313 * sysdeps/i386/fpu/libm-test-ulps: Update.
22314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22317 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22318 small n, then large n, before computing and testing k+n.
22319 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22324 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22325 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22332 * math/libm-test.inc (scalbn_test): Add more tests.
22333 (scalbln_test): Likewise.
22335 * manual/filesys.texi (mode_t): Describe constraints on size and
22336 signedness, not exact equivalence to a particular type.
22338 (ino64_t): Likewise.
22340 (nlink_t): Likewise.
22341 (blkcnt_t): Likewise.
22342 (blkcnt64_t): Likewise.
22343 * manual/llio.texi (off_t): Likewise.
22346 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22347 (__ieee754_exp): Save and restore rounding mode and use
22348 round-to-nearest for all computations.
22349 * math/libm-test.inc (exp_test_tonearest): New function.
22350 (exp_test_towardzero): Likewise.
22351 (exp_test_downward): Likewise.
22352 (exp_test_upward): Likewise.
22353 (main): Call the new functions.
22354 * sysdeps/i386/fpu/libm-test-ulps: Update.
22355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22357 2012-03-01 Chris Demetriou <cgd@google.com>
22359 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22360 have predictable order.
22362 2012-03-01 David S. Miller <davem@davemloft.net>
22364 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22366 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22367 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22368 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22369 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22371 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22372 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22373 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22375 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22376 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22377 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22378 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22379 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22384 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22387 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22388 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22389 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22394 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22395 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22403 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22404 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22405 * sysdeps/sparc/elf/configure: Regenerated.
22407 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22409 * configure.in (AS, LD): Require binutils 2.20 or later.
22410 * configure: Regenerated.
22411 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22412 as required minimum version.
22413 * INSTALL: Regenerated.
22417 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22418 before squaring exponent.
22419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22420 bottom long double and 27 bits of top long double before squaring
22422 * math/libm-test.inc (erfc_test): Add more tests.
22423 * sysdeps/i386/fpu/libm-test-ulps: Update.
22424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22427 2012-03-01 Kai Tietz <ktietz@redhat.com>
22429 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22430 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22431 containing bit-fields.
22432 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22433 * soft-fp/single.h (_FP_UNION_S): Likewise.
22434 * soft-fp/double.h (_FP_UNION_D): Likewise.
22436 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22439 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22440 not include ../strcmp.S.
22441 [USE_AS_STRNCASECMP_L]: Likewise.
22442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22443 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22444 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22445 (__strncasecmp_l_ia32): Define as alias to
22446 __strncasecmp_l_nonascii.
22449 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22450 * sysdeps/i386/fpu/libm-test-ulps: Update.
22451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22453 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22456 2012-02-29 Jeff Law <law@redhat.com>
22458 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22459 out of bounds read.
22461 2012-02-29 Marek Polacek <polacek@redhat.com>
22464 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22465 * elf/Makefile: Add rules to run tst-unused-dep.out.
22467 2012-02-28 David S. Miller <davem@davemloft.net>
22469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22476 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22478 * math/libm-test.inc (llround_test): Move one test from
22479 lround_test. Use TEST_f_L in moved test.
22480 (lround_test): Move misplaced test to llround_test. Add testcase
22483 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22485 * sysdeps/x86_64/fpu/e_expf.S: New file.
22486 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22488 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22491 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22492 of remain_len that may cause incomplete multi-byte character and
22494 * posix/bug-regex33.c: New file.
22495 * posix/Makefile (tests): Add bug-regex33.
22497 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22499 * manual/macros.texi: New file.
22500 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22501 * manual/libc.texinfo: Include macros.texi.
22502 * manual/creatute.texi: Likewise.
22503 * manual/install.texi: Likewise.
22504 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22505 @glibcadj{} in references to the GNU C Library.
22506 * manual/charset.texi: Likewise.
22507 * manual/conf.texi: Likewise.
22508 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22509 when not using those macros.
22510 * manual/creature.texi: Likewise.
22511 * manual/crypt.texi: Likewise.
22512 * manual/errno.texi: Likewise.
22513 * manual/filesys.texi: Likewise.
22514 * manual/header.texi: Likewise.
22515 * manual/install.texi: Likewise.
22516 * manual/intro.texi: Likewise.
22517 * manual/io.texi: Likewise.
22518 * manual/job.texi: Likewise.
22519 * manual/lang.texi: Likewise.
22520 * manual/libc.texiinfo: Likewise.
22521 * manual/llio.texi: Likewise.
22522 * manual/locale.texi: Likewise.
22523 * manual/maint.texi: Likewise.
22524 * manual/math.texi: Likewise.
22525 * manual/memory.texi: Likewise.
22526 * manual/message.texi: Likewise.
22527 * manual/nss.texi: Likewise.
22528 * manual/pattern.texi: Likewise.
22529 * manual/process.texi: Likewise.
22530 * manual/resource.texi: Likewise.
22531 * manual/search.texi: Likewise.
22532 * manual/setjmp.texi: Likewise.
22533 * manual/signal.texi: Likewise.
22534 * manual/socket.texi: Likewise.
22535 * manual/startup.texi: Likewise.
22536 * manual/stdio.texi: Likewise.
22537 * manual/string.texi: Likewise.
22538 * manual/sysinfo.texi: Likewise.
22539 * manual/syslog.texi: Likewise.
22540 * manual/terminal.texi: Likewise.
22541 * manual/time.texi: Likewise.
22542 * manual/users.texi: Likewise.
22543 * INSTALL: Regenerated.
22544 * NOTES: Regenerated.
22545 * sysdeps/gnu/errlist.c: Regenerated.
22547 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22549 * include/dirent.h: Include <dirstream.h> before
22552 2012-02-28 David S. Miller <davem@davemloft.net>
22554 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22555 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22556 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22559 2012-02-27 David S. Miller <davem@davemloft.net>
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22563 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22564 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22567 frame pointer instead of stack pointer relative arg slot.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22569 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22570 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22572 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22575 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22577 2012-02-27 David S. Miller <davem@davemloft.net>
22579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22585 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22588 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22590 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22591 later. Allow versions 5-9.
22592 * configure: Regenerated.
22593 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22594 required minimum version and 4.6 as recommended version. Do not
22595 mention bugs in GCC 2.7 and 2.8.
22596 * INSTALL: Regenerated.
22598 2012-02-27 David S. Miller <davem@davemloft.net>
22600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22606 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22607 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22610 manipulate bits before adding and subtracting TWO112[sx].
22611 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22613 2012-02-27 Roland McGrath <roland@hack.frob.com>
22616 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22617 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22618 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22619 being in POSIX, because they are in 1003.1-2008.
22621 * rt/tst-aio.c: Include <fcntl.h>.
22622 * rt/tst-aio7.c: Likewise.
22623 * rt/tst-aio64.c: Likewise.
22625 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22627 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22629 * manual/install.texi (--with-headers): Describe headers as
22630 interface headers, not private headers.
22631 (Specific advice for GNU/Linux systems): Describe use of headers
22632 from "make headers_install", not private headers from older
22634 * INSTALL: Regenerated.
22635 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22637 * sysdeps/unix/sysv/linux/configure: Regenerated.
22639 * manual/llio.texi (fclean): Remove documentation.
22641 * manual/Makefile (libc-texi-generated): New variable. Include
22643 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22644 $(libc-texi-generated), not duplicated list of files.
22645 (version.texi, stamp-version): New rules.
22646 (realclean): Remove $(libc-texi-generated), not individual files
22647 from that list. Do not remove dir-add.texinfo.
22648 * manual/libc.texinfo: Comment out uses of edition numbers and
22649 references to printed manual. Remove last-updated dates.
22650 (EDITION): Comment out.
22652 (VERSION, UPDATED): Remove.
22653 (version.texi): Include.
22655 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22657 * sysdeps/posix/spawni.c: Include <signal.h>.
22658 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22659 * sysdeps/pthread/aio_fsync.c: Likewise.
22661 2012-02-26 Ulrich Drepper <drepper@gmail.com>
22663 * conform/Makefile (tests): Run only when not cross-compiling and
22664 when fast-check is not defined.
22666 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22667 * conform/data/limits.h-data: Fixes for POSIX2008.
22668 * conform/run-conformtest.sh: Run all tests.
22669 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22671 * include/bits/dlfcn.h: Likewise.
22672 * include/langinfo.h: Likewise.
22673 * include/monetary.h: Likewise.
22674 * include/sys/poll.h: Likewise.
22676 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22678 * posix/spawn.h: Define __need_sigset_t.
22679 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22680 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22681 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22682 to get sigevent_t only.
22683 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22684 only for __USE_GNU.
22685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22686 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22687 process_vm_writev only for __USE_GNU.
22688 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22690 * conform/Makefile: For now ignore errors from run-conformtest.
22691 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22692 POSIX to avoid namespace pollution. Don't prepend headers.
22693 * conform/data/aio.h-data: Fixes for POSIX testing.
22694 * conform/data/fcntl.h-data: Likewise.
22695 * conform/data/glob.h-data: Likewise.
22696 * conform/data/grp.h-data: Likewise.
22697 * conform/data/pthread.h-data: Likewise.
22698 * conform/data/pwd.h-data: Likewise.
22699 * conform/data/signal.h-data: Likewise.
22700 * conform/data/spawn.h-data: Likewise.
22701 * conform/data/stdio.h-data: Likewise.
22702 * conform/data/stdlib.h-data: Likewise.
22703 * conform/data/stropts.h-data: Likewise.
22704 * conform/data/sys/mman.h-data: Likewise.
22705 * conform/data/sys/stat.h-data: Likewise.
22706 * conform/data/sys/types.h-data: Likewise.
22707 * conform/data/sys/wait.h-data: Likewise.
22708 * conform/data/time.h-data: Likewise.
22709 * conform/data/unistd.h-data: Likewise.
22710 * conform/data/utime.h-data: Likewise.
22712 * io/sys/stat.h: fchmod was always in POSIX.
22713 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22714 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22715 * rt/aio.h: Define __need_timespec before including <time.h>.
22716 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22717 struct. Add forward declaration of pthread_attr_t and use it in
22719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22721 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22722 always remove CLK_TCK definition.
22724 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22726 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22728 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22730 * conform/run-conformtest.sh: New file.
22731 * conform/Makefile: Run run-conformtest for tests.
22732 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22735 * conform/data/uchar.h-data: New file.
22736 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22737 * conform/data/arpa/inet.h-data: Likewise.
22738 * conform/data/assert.h-data: Likewise.
22739 * conform/data/complex.h-data: Likewise.
22740 * conform/data/cpio.h-data: Likewise.
22741 * conform/data/ctype.h-data: Likewise.
22742 * conform/data/dirent.h-data: Likewise.
22743 * conform/data/dlfcn.h-data: Likewise.
22744 * conform/data/errno.h-data: Likewise.
22745 * conform/data/fcntl.h-data: Likewise.
22746 * conform/data/float.h-data: Likewise.
22747 * conform/data/fmtmsg.h-data: Likewise.
22748 * conform/data/fnmatch.h-data: Likewise.
22749 * conform/data/ftw.h-data: Likewise.
22750 * conform/data/glob.h-data: Likewise.
22751 * conform/data/grp.h-data: Likewise.
22752 * conform/data/iconv.h-data: Likewise.
22753 * conform/data/inttypes.h-data: Likewise.
22754 * conform/data/langinfo.h-data: Likewise.
22755 * conform/data/libgen.h-data: Likewise.
22756 * conform/data/limits.h-data: Likewise.
22757 * conform/data/locale.h-data: Likewise.
22758 * conform/data/math.h-data: Likewise.
22759 * conform/data/monetary.h-data: Likewise.
22760 * conform/data/mqueue.h-data: Likewise.
22761 * conform/data/ndbm.h-data: Likewise.
22762 * conform/data/net/if.h-data: Likewise.
22763 * conform/data/netdb.h-data: Likewise.
22764 * conform/data/netinet/in.h-data: Likewise.
22765 * conform/data/nl_types.h-data: Likewise.
22766 * conform/data/poll.h-data: Likewise.
22767 * conform/data/pthread.h-data: Likewise.
22768 * conform/data/pwd.h-data: Likewise.
22769 * conform/data/regex.h-data: Likewise.
22770 * conform/data/sched.h-data: Likewise.
22771 * conform/data/search.h-data: Likewise.
22772 * conform/data/semaphore.h-data: Likewise.
22773 * conform/data/setjmp.h-data: Likewise.
22774 * conform/data/signal.h-data: Likewise.
22775 * conform/data/spawn.h-data: Likewise.
22776 * conform/data/stdarg.h-data: Likewise.
22777 * conform/data/stdio.h-data: Likewise.
22778 * conform/data/stdlib.h-data: Likewise.
22779 * conform/data/string.h-data: Likewise.
22780 * conform/data/strings.h-data: Likewise.
22781 * conform/data/stropts.h-data: Likewise.
22782 * conform/data/sys/ipc.h-data: Likewise.
22783 * conform/data/sys/mman.h-data: Likewise.
22784 * conform/data/sys/msg.h-data: Likewise.
22785 * conform/data/sys/resource.h-data: Likewise.
22786 * conform/data/sys/select.h-data: Likewise.
22787 * conform/data/sys/sem.h-data: Likewise.
22788 * conform/data/sys/shm.h-data: Likewise.
22789 * conform/data/sys/socket.h-data: Likewise.
22790 * conform/data/sys/stat.h-data: Likewise.
22791 * conform/data/sys/statvfs.h-data: Likewise.
22792 * conform/data/sys/time.h-data: Likewise.
22793 * conform/data/sys/timeb.h-data: Likewise.
22794 * conform/data/sys/times.h-data: Likewise.
22795 * conform/data/sys/types.h-data: Likewise.
22796 * conform/data/sys/uio.h-data: Likewise.
22797 * conform/data/sys/un.h-data: Likewise.
22798 * conform/data/sys/utsname.h-data: Likewise.
22799 * conform/data/sys/wait.h-data: Likewise.
22800 * conform/data/syslog.h-data: Likewise.
22801 * conform/data/tar.h-data: Likewise.
22802 * conform/data/termios.h-data: Likewise.
22803 * conform/data/utime.h-data: Likewise.
22804 * conform/data/utmpx.h-data: Likewise.
22805 * conform/data/varargs.h-data: Likewise.
22806 * conform/data/wchar.h-data: Likewise.
22807 * conform/data/wctype.h-data: Likewise.
22808 * conform/data/wordexp.h-data: Likewise.
22810 * include/stropts.h: New file.
22811 * include/uchar.h: New file.
22812 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22813 * include/assert.h: Likewise.
22814 * include/ctype.h: Likewise.
22815 * include/dirent.h: Likewise.
22816 * include/dlfcn.h: Likewise.
22817 * include/fcntl.h: Likewise.
22818 * include/fnmatch.h: Likewise.
22819 * include/glob.h: Likewise.
22820 * include/grp.h: Likewise.
22821 * include/libio.h: Likewise.
22822 * include/locale.h: Likewise.
22823 * include/math.h: Likewise.
22824 * include/net/if.h: Likewise.
22825 * include/netdb.h: Likewise.
22826 * include/netinet/in.h: Likewise.
22827 * include/pthread.h: Likewise.
22828 * include/pwd.h: Likewise.
22829 * include/regex.h: Likewise.
22830 * include/sched.h: Likewise.
22831 * include/search.h: Likewise.
22832 * include/setjmp.h: Likewise.
22833 * include/signal.h: Likewise.
22834 * include/stdio.h: Likewise.
22835 * include/stdlib.h: Likewise.
22836 * include/string.h: Likewise.
22837 * include/sys/cdefs.h: Likewise.
22838 * include/sys/mman.h: Likewise.
22839 * include/sys/msg.h: Likewise.
22840 * include/sys/resource.h: Likewise.
22841 * include/sys/select.h: Likewise.
22842 * include/sys/socket.h: Likewise.
22843 * include/sys/stat.h: Likewise.
22844 * include/sys/statvfs.h: Likewise.
22845 * include/sys/time.h: Likewise.
22846 * include/sys/times.h: Likewise.
22847 * include/sys/uio.h: Likewise.
22848 * include/sys/utsname.h: Likewise.
22849 * include/sys/wait.h: Likewise.
22850 * include/termios.h: Likewise.
22851 * include/time.h: Likewise.
22852 * include/ulimit.h: Likewise.
22853 * include/unistd.h: Likewise.
22854 * include/utime.h: Likewise.
22855 * include/wchar.h: Likewise.
22856 * include/wctype.h: Likewise.
22857 * include/wordexp.h: Likewise.
22859 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22861 * time/time.h: TIME_UTC must be a macro.
22862 Make timespec_get available for ISO C11 only as well.
22864 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22866 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22867 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22869 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22871 * configure.in: Use -o not -a in test for unsupported multi-arch.
22873 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22875 * manual/texinfo.tex: Update to version 2012-01-19.16.
22877 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22879 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22881 2012-02-24 Roland McGrath <roland@hack.frob.com>
22884 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22885 * manual/fdl-1.3.texi: New file.
22886 * manual/fdl-1.1.texi: File removed.
22889 * manual/libc.texinfo (FDL_VERSION): New @set.
22890 Use it for mention of FDL in cover text.
22891 (Documentation License): Use it in @include file name.
22893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22894 Roland McGrath <roland@hack.frob.com>
22897 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22898 not LONG_LONG_MAX and LONG_LONG_MIN.
22899 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22900 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22902 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22909 manipulate bits before adding and subtracting TWO23[sx].
22910 * math/libm-test.inc (nearbyint_test): Add more tests.
22912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22915 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22916 bits before adding and subtracting TWO23[sx].
22917 * math/libm-test.inc (rint_test): Add more tests.
22918 (rint_test_tonearest): Likewise.
22919 (rint_test_towardzero): Likewise.
22920 (rint_test_downward): Likewise.
22921 (rint_test_upward: Likewise.
22923 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22926 * include/stdc-predef.h: New file. Extracted from features.h.
22927 * include/features.h: Include stdc-predef.h.
22928 * Makefile (headers): Add stdc-predef.h.
22929 * CONFORMANCE (Compiler limitations): Update.
22931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22933 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22935 2012-02-21 David S. Miller <davem@davemloft.net>
22937 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22938 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22940 2012-02-20 David S. Miller <davem@davemloft.net>
22942 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22943 using a normal save/restore sequence, rather than allocating a
22944 dummy stack frame just to store a frame pointer and restore.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22949 * manual/install.texi: Fix stray word in line-wrapped comment.
22951 2012-02-20 David S. Miller <davem@davemloft.net>
22953 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22954 both binutils and gcc support GOTDATA.
22956 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22957 "rd %pc" in the PIC register setup sequences.
22959 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22960 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22961 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22962 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22963 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22968 (SYSCALL_ERROR_HANDLER): Likewise.
22969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22972 (SYSCALL_ERROR_HANDLER): Likewise.
22974 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22975 (HAVE_GCC_GOTDATA): New.
22976 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22977 relocation support in both binutils and gcc.
22978 * sysdeps/sparc/elf/configure: Regenerate.
22980 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22981 * sysdeps/sparc/sparc32/elf/configure: Delete.
22982 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22983 * sysdeps/sparc/sparc64/elf/configure: Delete.
22984 * sysdeps/sparc/elf/configure.in: New file.
22985 * sysdeps/sparc/elf/configure: Generate.
22987 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22988 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22989 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22990 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22991 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22993 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22995 * manual/install.texi: Do not mention specific glibc version
22997 * manual/libc.texinfo (VERSION, UPDATED): Update.
22998 (@copying): Use @copyright{} and range of years.
23000 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23003 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23004 [crti.S not in sysdirs] (generated): Do not append.
23005 [crti.S not in sysdirs] (omit-deps): Likewise.
23006 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23007 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23008 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23009 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23010 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23012 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23013 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23014 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23015 * csu/defs.awk: Remove file.
23016 * sysdeps/generic/initfini.c: Likewise.
23017 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23019 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23022 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23024 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23025 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23026 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23029 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23031 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23032 (__EPOLL_PACKED): Define to empty if not defined by
23034 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23038 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23040 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23041 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23043 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23045 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23049 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23051 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23058 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23063 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23065 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23066 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23068 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23070 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23073 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23075 * math/w_acos.c: Use non-signaling floating-point comparisons.
23076 * math/w_acosf.c: Likewise.
23077 * math/w_acosh.c: Likewise.
23078 * math/w_acoshf.c: Likewise.
23079 * math/w_acoshl.c: Likewise.
23080 * math/w_acosl.c: Likewise.
23081 * math/w_asin.c: Likewise.
23082 * math/w_asinf.c: Likewise.
23083 * math/w_asinl.c: Likewise.
23084 * math/w_atanh.c: Likewise.
23085 * math/w_atanhf.c: Likewise.
23086 * math/w_atanhl.c: Likewise.
23087 * math/w_exp2.c: Likewise.
23088 * math/w_exp2f.c: Likewise.
23089 * math/w_exp2l.c: Likewise.
23090 * math/w_j0.c: Likewise.
23091 * math/w_j0f.c: Likewise.
23092 * math/w_j0l.c: Likewise.
23093 * math/w_j1.c: Likewise.
23094 * math/w_j1f.c: Likewise.
23095 * math/w_j1l.c: Likewise.
23096 * math/w_jn.c: Likewise.
23097 * math/w_jnf.c: Likewise.
23098 * math/w_log.c: Likewise.
23099 * math/w_log10.c: Likewise.
23100 * math/w_log10f.c: Likewise.
23101 * math/w_log10l.c: Likewise.
23102 * math/w_log2.c: Likewise.
23103 * math/w_log2f.c: Likewise.
23104 * math/w_log2l.c: Likewise.
23105 * math/w_logf.c: Likewise.
23106 * math/w_logl.c: Likewise.
23107 * math/w_sqrt.c: Likewise.
23108 * math/w_sqrtf.c: Likewise.
23109 * math/w_sqrtl.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23116 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23119 * manual/string.texi (strnlen): Use correct parameter name in
23120 equivalent expression.
23122 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23125 * manual/users.texi (seteuid): Consistently use neweuid for
23128 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23131 * manual/nss.texi (Services in the NSS configuration): Correct
23132 list of services in example configuration file.
23134 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23137 * manual/arith.texi: Remove statements about negative zero
23138 behaving identically to zero.
23140 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23143 * manual/install.texi: Do not document upgrading from libc5.
23145 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23148 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23150 2012-02-18 David S. Miller <davem@davemloft.net>
23152 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23153 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23154 %o7 across the call.
23155 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23158 SETUP_PIC_REG_LEAF.
23159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23160 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23161 * sysdeps/sparc/crtn.S: Likewise.
23163 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23165 * aout/Makefile: Remove.
23167 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23170 * manual/examples/argp-ex1.c (main): Format definition in GNU
23172 * manual/examples/argp-ex2.c (main): Likewise.
23173 * manual/examples/argp-ex3.c (main): Likewise.
23174 * manual/examples/argp-ex4.c (main): Likewise.
23175 * manual/examples/longopt.c (main): Use new-style prototype
23177 * manual/examples/strncat.c (main): Specify return type and use
23178 (void) for arguments.
23179 * manual/examples/subopt.c (main): Use char **argv argument.
23181 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23184 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23187 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23190 * manual/string.texi (strchr): Change when strchrnul is
23193 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23196 * manual/locale.texi (setlocale): Document LOCPATH.
23198 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23201 * manual/process.texi (execle): Move @dots{} before last argument.
23203 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23206 * manual/charset.texi (Generic Charset Conversion): Fix typo
23207 (LC_TYPE -> LC_CTYPE).
23209 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23212 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23213 (scalbnf): Likewise.
23214 (scalbnl): Likewise.
23215 (scalbln): Likewise.
23216 (scalblnf): Likewise.
23217 (scalblnl): Likewise.
23218 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23219 (vwarnx): Likewise.
23222 * manual/filesys.texi (telldir): Use braces around return type.
23223 * manual/llio.texi (mmap): Add space after comma.
23224 (mmap64): Likewise.
23225 * manual/math.texi (jn): Use @var{} on parameter names.
23231 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23233 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23235 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23236 (sched_get_priority_max): Likewise.
23237 * manual/signal.texi (sigvec): Add space after comma.
23238 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23240 (if_indextoname): Likewise.
23241 (if_freenameindex): Likewise.
23242 (sendto): Use ',' instead of '.' in prototype.
23243 * manual/startup.texi (syscall): Use @dots{} instead of literal
23245 * manual/stdio.texi (__fpending): Separate initial words of
23246 paragraph from @deftypefun line.
23247 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23249 (vsyslog): Use @var{} on parameter names.
23250 * manual/terminal.texi (stty): Use @var{} on parameter names.
23251 * manual/users.texi (getutmp): Use @var{} on parameter names.
23252 (getutmpx): Likewise.
23254 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23257 * manual/stdio.texi (fopen): Fix typos in description of
23260 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23263 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23264 get clock_id definition.
23266 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23269 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23270 (madvise): Cast every argument to void on its own.
23272 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23275 * manual/startup.texi (Exit Status): Fix typo.
23277 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23280 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23281 * manual/examples/argp-ex2.c: Likewise.
23282 * manual/examples/argp-ex3.c: Likewise.
23284 2012-02-16 Richard Henderson <rth@redhat.com>
23286 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23287 * sysdeps/s390/s390-32/initfini.c: Remove.
23288 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23289 * sysdeps/s390/s390-64/initfini.c: Remove.
23291 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23293 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23294 compiler output for sysdeps/generic/initfini.c.
23295 * sysdeps/sh/elf/initfini.c: Remove file.
23297 2012-02-16 David S. Miller <davem@davemloft.net>
23300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23302 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23303 * sysdeps/sparc/crti.S: New file.
23304 * sysdeps/sparc/crtn.S: New file.
23305 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23306 * sysdeps/sparc/sparc64/Makefile: Likewise.
23308 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23311 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23313 2012-02-15 Roland McGrath <roland@hack.frob.com>
23316 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23318 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23319 (write, read, close): Likewise.
23320 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23322 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23324 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23325 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23326 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23327 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23329 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23333 2012-02-14 Marek Polacek <polacek@redhat.com>
23335 * sysdeps/x86_64/crti.S: New file.
23336 * sysdeps/x86_64/crtn.S: New file.
23337 * sysdeps/x86_64/elf/initfini.c: Remove file.
23339 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23341 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23342 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23343 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23344 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23346 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23350 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23352 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23353 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23354 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23355 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23357 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23361 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23363 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23364 __feraiseexcept instead of feraiseexcept.
23366 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23367 nanosleep invocations.
23368 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23369 strings, and add error checking for a nanosleep invocations.
23371 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23373 Replace FSF snail mail address with URLs, as per GNU coding standards.
23374 Most of the snail mail addresses were wrong anyway, and omitting
23375 them makes the source code easier to maintain. Almost all of the
23376 changes are to license notices and to locale LC_IDENTIFICATION
23377 addresses, except for this one:
23378 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23379 not its snail mail address.
23381 2012-02-09 Richard Henderson <rth@twiddle.net>
23383 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23384 of kernel-features.h.
23386 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23388 2012-02-08 Marek Polacek <polacek@redhat.com>
23390 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23391 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23392 * sysdeps/gnu/_G_config.h: Likewise.
23393 * sysdeps/generic/_G_config.h: Likewise.
23395 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23397 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23401 * sysdeps/powerpc/powerpc32/crti.S: New file.
23402 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23403 * sysdeps/powerpc/powerpc64/crti.S: New file.
23404 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23406 * Makeconfig (have-initfini): Don't set.
23407 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23408 * configure.in (nopic_initfini): Don't substitute.
23409 * config.h.in (HAVE_INITFINI): Don't #undef.
23410 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23411 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23413 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23415 Support crti.S and crtn.S provided directly by architectures.
23416 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23417 [crti.S in sysdirs] (omit-deps): Likewise.
23418 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23419 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23420 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23421 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23422 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23423 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23424 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23425 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23426 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23427 compiler output for sysdeps/generic/initfini.c.
23428 * sysdeps/i386/elf/Makefile: Remove file.
23429 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23431 2012-02-07 Marek Polacek <polacek@redhat.com>
23433 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23434 * sysdeps/gnu/_G_config.h: Likewise.
23435 * sysdeps/mach/hurd/_G_config.h: Likewise.
23437 2012-02-07 Marek Polacek <polacek@redhat.com>
23439 * math/Makefile (tests): Add tst-CMPLX2.
23440 * math/tst-CMPLX2.c: New file.
23442 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23446 * math/libm-test.inc (jn_test): Add missing L suffix.
23448 2012-02-06 Marek Polacek <polacek@redhat.com>
23450 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23451 * sysdeps/i386/fpu/e_powf.S: Likewise.
23452 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23455 * sysdeps/i386/fpu/e_pow.S: Likewise.
23456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23460 * sysdeps/i386/fpu/e_log2.S: Likewise.
23461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23463 * sysdeps/i386/fpu/e_powl.S: Likewise.
23464 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23466 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23467 * sysdeps/i386/fpu/e_logl.S: Likewise.
23468 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23469 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23470 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23471 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23473 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23474 * sysdeps/i386/fpu/e_log.S: Likewise.
23475 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23477 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23478 * sysdeps/i386/fpu/e_logf.S: Likewise.
23479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23481 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23482 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23483 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23484 * sysdeps/i386/fpu/e_log10.S: Likewise.
23485 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23486 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23487 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23488 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23490 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23491 * sysdeps/i386/asm-syntax.h: Likewise.
23492 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23495 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23496 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23498 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23499 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23501 * sysdeps/powerpc/sysdep.h: Likewise.
23502 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23505 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23508 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23510 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23512 * sysdeps/i386/sysdep.h: Include <features.h>.
23513 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23516 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23518 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23520 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23523 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23525 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23526 (SETUP_PIC_REG): Use GET_PC_THUNK.
23527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23530 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23533 for non-PIC compilation.
23534 (SETUP_PIC_REG): Add .p2align directive.
23535 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23536 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23537 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23538 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23540 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23541 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23547 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23548 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23549 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23550 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23552 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23553 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23554 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23563 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23564 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23565 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23566 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23567 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23570 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23571 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23573 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23575 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23577 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23579 * math/tst-CMPLX.c: Include <stdio.h>.
23581 2012-01-31 Joseph Myers <joseph@codesourcery.com>
23583 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23585 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23586 * sysdeps/sparc/bits/mathdef.h: Likewise.
23588 2012-01-31 Marek Polacek <polacek@redhat.com>
23590 * libio/libio.h: Don't define _PARAMS.
23591 * locale/programs/config.h: Don't define PARAMS.
23592 * stdlib/strtol_l.c: Likewise.
23593 (__strtol_l): Remove PARAMS from the prototype.
23595 2012-01-31 Ulrich Drepper <drepper@gmail.com>
23597 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23598 names. Just use the correct names. Remove unnecessary wrapper
23600 * malloc/arena.c: Likewise.
23601 * malloc/hooks.c: Likewise.
23603 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23604 ARENA_TEST says not to. Simplify test for creation of a new arena.
23605 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23607 2012-01-30 Ulrich Drepper <drepper@gmail.com>
23609 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23611 (update_get_addr): New function.
23612 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23613 GET_ADDR_MODULE parameter.
23615 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23617 * crypt/cert.c: Remove __STDC__ conditionals.
23618 * crypt/crypt-entry.c: Likewise.
23619 * crypt/crypt_util.c: Likewise.
23620 * libio/filedoalloc.c: Likewise.
23621 * libio/fileops.c: Likewise.
23622 * libio/genops.c: Likewise.
23623 * libio/iofclose.c: Likewise.
23624 * libio/iofdopen.c: Likewise.
23625 * libio/iofopen.c: Likewise.
23626 * libio/iofopen64.c: Likewise.
23627 * libio/iogetdelim.c: Likewise.
23628 * libio/iopopen.c: Likewise.
23629 * libio/obprintf.c: Likewise.
23630 * libio/oldfileops.c: Likewise.
23631 * libio/oldiofclose.c: Likewise.
23632 * libio/oldiofdopen.c: Likewise.
23633 * libio/oldiofopen.c: Likewise.
23634 * libio/oldiopopen.c: Likewise.
23635 * libio/wfiledoalloc.c: Likewise.
23636 * libio/wgenops.c: Likewise.
23637 * locale/programs/xmalloc.c: Likewise.
23638 * misc/syslog.c: Likewise.
23639 * stdio-common/xbug.c: Likewise.
23640 * string/memchr.c: Likewise.
23641 * string/memcmp.c: Likewise.
23642 * string/memrchr.c: Likewise.
23643 * string/rawmemchr.c: Likewise.
23644 * sysdeps/posix/getcwd.c: Likewise.
23645 * time/strftime_l.c: Likewise.
23647 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23649 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23650 * config.make.in (config-cflags-sse2avx): Define.
23651 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23654 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23656 * scripts/config.guess: Update from upstream config git repository.
23657 * scripts/config.sub: Likewise.
23659 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23661 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23663 (R_TILEPRO_*, R_TILEGX_*): New macros.
23665 * scripts/firstversions.awk: Fix bug in version range handling.
23667 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23669 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23671 * include/sys/epoll.h: New file.
23672 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23675 2012-01-28 Ulrich Drepper <drepper@gmail.com>
23677 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23678 Avoid unnecessary __WORDSIZE == 64 test.
23679 (fmaxf): Use VEX format if possible.
23684 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23685 * math/math_private.h: Remove libc_fegetround* and
23687 * sysdeps/i386/configure.in: Check for -msse2avx.
23688 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23689 also if SSE2AVX is defined.
23690 Remove libc_fegetround* and libc_fesetround*.
23691 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23692 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23701 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23703 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23709 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23712 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23714 * Makeconfig (libm): Define.
23715 * elf/Makefile: Add rules to build and run tst-relsort1.
23716 * elf/tst-relsort1.c: New file.
23717 * elf/tst-relsort1mod1.c: New file.
23718 * elf/tst-relsort1mod2.c: New file.
23720 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23722 * math/s_ldexp.c: Remove __STDC__ conditionals.
23723 * math/s_ldexpf.c: Likewise.
23724 * math/s_ldexpl.c: Likewise.
23725 * math/s_nextafter.c: Likewise.
23726 * math/s_nexttowardf.c: Likewise.
23727 * math/s_significand.c: Likewise.
23728 * math/s_significandf.c: Likewise.
23729 * math/s_significandl.c: Likewise.
23730 * math/w_jnl.c: Likewise.
23731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23750 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23751 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23765 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23766 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23771 * sysdeps/ieee754/k_standard.c: Likewise.
23772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23781 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23782 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23790 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23831 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23851 * sysdeps/ieee754/s_matherr.c: Likewise.
23852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23857 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23859 * crypt/md5.h: Remove __STDC__ conditionals.
23860 * libio/libioP.h: Likewise.
23861 * locale/programs/config.h: Likewise.
23862 * sysdeps/generic/sysdep.h: Likewise.
23863 * sysdeps/i386/asm-syntax.h: Likewise.
23864 * sysdeps/s390/asm-syntax.h: Likewise.
23865 * sysdeps/unix/sysdep.h: Likewise.
23866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23869 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23871 * libio/libio.h: Remove __STDC__ conditionals.
23872 * malloc/obstack.h: Likewise.
23873 * math/complex.h: Likewise.
23874 * math/math.h: Likewise.
23875 * sysdeps/generic/_G_config.h: Likewise.
23876 * sysdeps/gnu/_G_config.h: Likewise.
23877 * sysdeps/mach/hurd/_G_config.h: Likewise.
23878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23880 * sysdeps/sparc/bits/mathdef.h: Likewise.
23882 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23886 Clean up HAS_* macros.
23887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23888 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23898 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23900 * elf/tst-unique3.cc (gets): Remove declaration.
23901 * elf/tst-unique3lib.cc (gets): Likewise.
23902 * elf/tst-unique3lib2.cc (gets): Likewise.
23903 * elf/tst-unique4.cc (gets): Likewise.
23905 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23907 * include/stdio.h: Add C++ protection. Add gets declarations and
23909 * debug/tst-chk1.c: Don't declare gets here.
23910 * stdio-common/tst-gets.c: Likewise.
23912 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23914 * posix/glob: Remove directory.
23916 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23918 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23920 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23922 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23923 of the non-standard EPFNOSUPPORT.
23925 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23927 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23928 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23929 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23931 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23933 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23935 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23937 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23939 * nscd/grpcache.c (cache_addgr): Likewise.
23940 * nscd/hstcache.c (cache_addhst): Likewise.
23941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23942 * nscd/pwdcache.c (cache_addpw): Likewise.
23943 * nscd/servicescache.c (cache_addserv): Likewise.
23945 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23947 * malloc/malloc.c: Various cleanups.
23948 * malloc/hooks.c: Likewise.
23950 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23951 * stdlib/bug-fmtmsg1.c: New file.
23953 * stdlib/fmtmsg.c (init): Add missing unlock.
23954 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23956 2012-01-12 Marek Polacek <polacek@redhat.com>
23958 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23961 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23963 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23964 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23965 macro to ensure uniqueness of label name.
23966 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23967 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23969 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23974 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23978 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23980 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23982 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23984 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23986 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23993 * math/bits/math-finite.h: Add ldexp support.
23995 2012-01-10 Marek Polacek <polacek@redhat.com>
23997 * locale/programs/localedef.h (show_archive_content): Add noreturn
24000 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24004 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24006 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24008 * io/Makefile (headers): Add bits/poll2.h.
24010 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24013 typo #include statement.
24015 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24017 * include/sys/cdefs.h: Define __attribute_alloc_size.
24018 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24019 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24020 * elf/pldd.c: Likewise.
24021 * iconv/iconv_charmap.c: Likewise.
24022 * iconv/iconvconfig.c: Likewise.
24023 * iconv/strtab.c: Likewise.
24024 * locale/programs/locale.c: Likewise.
24025 * locale/programs/localedef.h: Likewise.
24026 * locale/programs/simple-hash.c: Likewise.
24027 * nscd/nscd.h: Likewise.
24028 * nss/makedb.c: Likewise.
24029 * sysdeps/generic/ldconfig.h: Likewise.
24030 * locale/programs/localedef.c: Remove xmalloc prototype.
24031 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24033 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24038 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24040 * math/Makefile (tests): Add tst-CMPLX.
24041 * math/tst-CMPLX.c: New file.
24043 * math/complex.h (CMPLXL): Fix typo.
24045 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24046 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24048 * debug/tst-chk1.c: Add poll and ppoll tests.
24049 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24050 * include/sys/poll.h: Add hidden proto for ppoll.
24051 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24052 * sysdeps/mach/hurd/ppoll.c: Likewise.
24053 * io/ppoll.c: Likewise.
24054 * debug/poll_chk.c: New file.
24055 * debug/ppoll_chk.c: New file.
24056 * include/bits/poll2.h: New file.
24057 * io/bits/poll2.h: New file.
24060 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24062 * configure.in: static is always set to yes. Remove.
24063 * config.make.in: Don't set build-static.
24064 * Makeconfig: Remove use of build-static.
24065 * dlfcn/Makefile: Likewise.
24066 * elf/Makefile: Likewise.
24067 * math/Makefile: Likewise.
24068 * misc/Makefile: Likewise.
24069 * nptl/Makefile: Likewise.
24070 * sysdeps/mach/hurd/Makefile: Likewise.
24072 * configure.in: PWD_P is not used anymore.
24073 * config.make.in: Remove PWD_P entry.
24075 * configure.in: Remove last remnants of RANLIB.
24076 No need to check for signed size_t anymore.
24077 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24079 Remove __builtin_expect test because we require at least gcc 3.4.
24080 * aclocal.m4: Likewise.
24082 * wcsmbs/mbrtoc16.c: Implement using towc function.
24083 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24084 * wcsmbs/wcsmbsload.c: Likewise.
24085 * iconv/gconv_simple.c: Likewise.
24086 * iconv/gconv_int.h: Likewise.
24087 * iconv/gconv_builtin.h: Likewise.
24088 * iconv/iconv_prog.c: Remove CHAR16 handling.
24090 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24092 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24094 * configure.in: Remove --with-elf and --enable-bounded options.
24095 Dont set base_machine for ia64. More non-ELF conditions removed.
24096 Remove testing and setting of leading underscore information.
24097 * config.make.in (build-bounded): Set to no.
24098 * config.h.in: Remove NO_UNDERSCORES entry.
24099 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24101 * csu/start.c: Remove !NO_UNDERSCORE code.
24102 * locale/localeinfo.h: Likewise.
24103 * sysdeps/generic/machine-gmon.h: Likewise.
24104 * sysdeps/generic/sysdep.h: Likewise.
24105 * sysdeps/i386/sysdep.h: Likewise.
24106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24107 * sysdeps/mach/sysdep.h: Likewise.
24108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24110 * sysdeps/sh/sysdep.h: Likewise.
24111 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24112 * sysdeps/unix/i386/sysdep.S: Likewise.
24113 * sysdeps/unix/sparc/start.c: Likewise.
24114 * sysdeps/unix/sparc/sysdep.S: Likewise.
24115 * sysdeps/unix/sparc/sysdep.h: Likewise.
24116 * sysdeps/unix/start.c: Likewise.
24117 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24118 * sysdeps/x86_64/sysdep.h: Likewise.
24120 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24123 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24125 * argp/argp-fmtstream.h: Use const instead __const.
24126 * argp/argp.h: Likewise.
24127 * assert/assert.h: Likewise.
24128 * bits/fenv.h: Likewise.
24129 * bits/sched.h: Likewise.
24130 * bits/sigset.h: Likewise.
24131 * bits/sigthread.h: Likewise.
24132 * catgets/nl_types.h: Likewise.
24133 * conform/data/pthread.h-data: Likewise.
24134 * crypt/crypt-private.h: Likewise.
24135 * crypt/crypt.h: Likewise.
24136 * crypt/crypt_util.c: Likewise.
24137 * ctype/ctype.h: Likewise.
24138 * debug/execinfo.h: Likewise.
24139 * debug/mbsnrtowcs_chk.c: Likewise.
24140 * debug/mbsrtowcs_chk.c: Likewise.
24141 * debug/wcsnrtombs_chk.c: Likewise.
24142 * debug/wcsrtombs_chk.c: Likewise.
24143 * debug/wcstombs_chk.c: Likewise.
24144 * dirent/dirent.h: Likewise.
24145 * dlfcn/dlfcn.h: Likewise.
24146 * elf/neededtest4.c: Likewise.
24147 * grp/grp.h: Likewise.
24148 * gshadow/gshadow.h: Likewise.
24149 * iconv/gconv.h: Likewise.
24150 * iconv/gconv_int.h: Likewise.
24151 * iconv/gconv_simple.c: Likewise.
24152 * iconv/iconv.h: Likewise.
24153 * iconv/loop.c: Likewise.
24154 * iconv/skeleton.c: Likewise.
24155 * include/aio.h: Likewise.
24156 * include/aliases.h: Likewise.
24157 * include/argz.h: Likewise.
24158 * include/arpa/inet.h: Likewise.
24159 * include/assert.h: Likewise.
24160 * include/dirent.h: Likewise.
24161 * include/dlfcn.h: Likewise.
24162 * include/execinfo.h: Likewise.
24163 * include/fcntl.h: Likewise.
24164 * include/fenv.h: Likewise.
24165 * include/glob.h: Likewise.
24166 * include/grp.h: Likewise.
24167 * include/libintl.h: Likewise.
24168 * include/mntent.h: Likewise.
24169 * include/netdb.h: Likewise.
24170 * include/pwd.h: Likewise.
24171 * include/rpc/netdb.h: Likewise.
24172 * include/sched.h: Likewise.
24173 * include/search.h: Likewise.
24174 * include/shadow.h: Likewise.
24175 * include/signal.h: Likewise.
24176 * include/stdio.h: Likewise.
24177 * include/stdlib.h: Likewise.
24178 * include/string.h: Likewise.
24179 * include/sys/socket.h: Likewise.
24180 * include/sys/stat.h: Likewise.
24181 * include/sys/statfs.h: Likewise.
24182 * include/sys/statvfs.h: Likewise.
24183 * include/sys/syslog.h: Likewise.
24184 * include/sys/time.h: Likewise.
24185 * include/sys/uio.h: Likewise.
24186 * include/time.h: Likewise.
24187 * include/unistd.h: Likewise.
24188 * include/utmp.h: Likewise.
24189 * include/wchar.h: Likewise.
24190 * include/wctype.h: Likewise.
24191 * inet/aliases.h: Likewise.
24192 * inet/arpa/inet.h: Likewise.
24193 * inet/netinet/ether.h: Likewise.
24194 * inet/netinet/in.h: Likewise.
24195 * intl/libintl.h: Likewise.
24196 * io/bits/fcntl2.h: Likewise.
24197 * io/fcntl.h: Likewise.
24198 * io/ftw.h: Likewise.
24199 * io/sys/poll.h: Likewise.
24200 * io/sys/stat.h: Likewise.
24201 * io/sys/statfs.h: Likewise.
24202 * io/sys/statvfs.h: Likewise.
24203 * io/utime.h: Likewise.
24204 * libio/bits/stdio.h: Likewise.
24205 * libio/bits/stdio2.h: Likewise.
24206 * libio/libio.h: Likewise.
24207 * libio/libioP.h: Likewise.
24208 * libio/stdio.h: Likewise.
24209 * locale/lc-ctype.c: Likewise.
24210 * locale/locale.h: Likewise.
24211 * login/utmp.h: Likewise.
24212 * malloc/arena.c: Likewise.
24213 * malloc/malloc.c: Likewise.
24214 * malloc/malloc.h: Likewise.
24215 * malloc/mcheck.c: Likewise.
24216 * malloc/mtrace.c: Likewise.
24217 * math/bits/mathcalls.h: Likewise.
24218 * math/fenv.h: Likewise.
24219 * math/math_private.h: Likewise.
24220 * misc/bits/error.h: Likewise.
24221 * misc/bits/syslog.h: Likewise.
24222 * misc/err.h: Likewise.
24223 * misc/error.h: Likewise.
24224 * misc/fstab.h: Likewise.
24225 * misc/mntent.h: Likewise.
24226 * misc/regexp.h: Likewise.
24227 * misc/search.h: Likewise.
24228 * misc/sgtty.h: Likewise.
24229 * misc/sys/mman.h: Likewise.
24230 * misc/sys/syslog.h: Likewise.
24231 * misc/sys/uio.h: Likewise.
24232 * misc/sys/xattr.h: Likewise.
24233 * misc/ttyent.h: Likewise.
24234 * nis/rpcsvc/ypclnt.h: Likewise.
24235 * nss/nss.h: Likewise.
24236 * posix/bits/unistd.h: Likewise.
24237 * posix/fnmatch.h: Likewise.
24238 * posix/glob.h: Likewise.
24239 * posix/sched.h: Likewise.
24240 * posix/spawn.h: Likewise.
24241 * posix/sys/wait.h: Likewise.
24242 * posix/unistd.h: Likewise.
24243 * posix/wordexp.h: Likewise.
24244 * pwd/pwd.h: Likewise.
24245 * resolv/netdb.h: Likewise.
24246 * resource/sys/resource.h: Likewise.
24247 * rt/aio.h: Likewise.
24248 * rt/bits/mqueue2.h: Likewise.
24249 * rt/mqueue.h: Likewise.
24250 * shadow/shadow.h: Likewise.
24251 * signal/signal.h: Likewise.
24252 * socket/send.c: Likewise.
24253 * socket/sendto.c: Likewise.
24254 * socket/sys/socket.h: Likewise.
24255 * stdio-common/printf.h: Likewise.
24256 * stdlib/bits/stdlib.h: Likewise.
24257 * stdlib/fmtmsg.h: Likewise.
24258 * stdlib/monetary.h: Likewise.
24259 * stdlib/stdlib.h: Likewise.
24260 * stdlib/ucontext.h: Likewise.
24261 * streams/stropts.h: Likewise.
24262 * string/argz.h: Likewise.
24263 * string/bits/string2.h: Likewise.
24264 * string/string.h: Likewise.
24265 * string/strings.h: Likewise.
24266 * sunrpc/rpc/auth.h: Likewise.
24267 * sunrpc/rpc/auth_des.h: Likewise.
24268 * sunrpc/rpc/clnt.h: Likewise.
24269 * sunrpc/rpc/netdb.h: Likewise.
24270 * sunrpc/rpc/pmap_clnt.h: Likewise.
24271 * sunrpc/rpc/xdr.h: Likewise.
24272 * sysdeps/generic/inttypes.h: Likewise.
24273 * sysdeps/generic/net/if.h: Likewise.
24274 * sysdeps/generic/sys/swap.h: Likewise.
24275 * sysdeps/gnu/net/if.h: Likewise.
24276 * sysdeps/gnu/utmpx.h: Likewise.
24277 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24278 * sysdeps/i386/i486/bits/string.h: Likewise.
24279 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24280 * sysdeps/s390/bits/string.h: Likewise.
24281 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24282 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24283 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24284 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24285 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24286 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24287 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24288 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24289 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24290 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24292 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24293 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24295 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24296 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24297 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24303 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24304 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24305 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24306 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24307 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24309 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24311 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24312 * sysvipc/sys/ipc.h: Likewise.
24313 * sysvipc/sys/msg.h: Likewise.
24314 * sysvipc/sys/sem.h: Likewise.
24315 * sysvipc/sys/shm.h: Likewise.
24316 * termios/termios.h: Likewise.
24317 * time/sys/time.h: Likewise.
24318 * time/time.h: Likewise.
24319 * wcsmbs/bits/wchar2.h: Likewise.
24320 * wcsmbs/uchar.h: Likewise.
24321 * wcsmbs/wchar.h: Likewise.
24322 * wctype/wctype.h: Likewise.
24325 * Makeconfig: Remove all but ELF support including AIX support.
24326 * Makerules: Likewise.
24327 * config.h.in: Likewise.
24328 * config.make.in: Likewise.
24329 * configure: Likewise.
24330 * configure.in: Likewise.
24331 * csu/Makefile: Likewise.
24332 * csu/version.c: Likewise.
24333 * debug/Makefile: Likewise.
24334 * dlfcn/Makefile: Likewise.
24335 * elf/Makefile: Likewise.
24336 * extra-lib.mk: Likewise.
24337 * iconv/Makefile: Likewise.
24338 * include/libc-symbols.h: Likewise.
24339 * include/shlib-compat.h: Likewise.
24340 * resolv/Makefile: Likewise.
24341 * resolv/res_libc.c: Likewise.
24342 * rt/Makefile: Likewise.
24343 * sysdeps/i386/asm-syntax.h: Likewise.
24344 * sysdeps/i386/sysdep.h: Likewise.
24345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24346 * sysdeps/mach/sysdep.h: Likewise.
24347 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24348 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24349 * sysdeps/s390/asm-syntax.h: Likewise.
24350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24352 * sysdeps/sh/sysdep.h: Likewise.
24353 * sysdeps/unix/sparc/sysdep.h: Likewise.
24354 * sysdeps/wordsize-32/divdi3.c: Likewise.
24355 * sysdeps/x86_64/sysdep.h: Likewise.
24357 * argp/Versions: Remove _argp_unlock_xxx.
24360 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24361 * abilist/libBrokenLocale.abilist: Likewise.
24362 * abilist/libanl.abilist: Likewise.
24363 * abilist/libc.abilist: Likewise.
24364 * abilist/libcrypt.abilist: Likewise.
24365 * abilist/libdl.abilist: Likewise.
24366 * abilist/libm.abilist: Likewise.
24367 * abilist/libnsl.abilist: Likewise.
24368 * abilist/libpthread.abilist: Likewise.
24369 * abilist/libresolv.abilist: Likewise.
24370 * abilist/librt.abilist: Likewise.
24371 * abilist/libthread_db.abilist: Likewise.
24372 * abilist/libutil.abilist: Likewise.
24373 * abilist/libnss_db.abilist: New file.
24375 * scripts/abilist.awk: Add support for indirect functions.
24377 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24379 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24381 * shlib-versions: Remove entries for ports architectures.
24383 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24385 * elf/stackguard-macros.h: Remove support for IA-64.
24386 * elf/tst-auditmod1.c: Likewise.
24387 * sysdeps/generic/ldsodefs.h: Likewise.
24389 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24390 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24394 * configure.in: Remove --enable-omitfp support.
24396 * config.make.in: Likewise.
24397 * Makeconfig: Likewise.
24398 * manual/install.texi: Likewise.
24400 In case anyone cares, the IA-64 architecture could move to ports.
24401 * sysdeps/ia64/*: Removed.
24402 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24403 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24406 * configure.in: Remove entries for unsupported architectures.
24409 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24410 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24412 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24413 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24414 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24415 fall back to using wcrtomb.
24416 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24417 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24419 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24420 * wcsmbs/tst-c16c32-1.c: New file.
24422 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24425 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24427 * elf/tst-unique3.cc: Add explicit declaration of gets.
24428 * elf/tst-unique3lib.cc: Likewise.
24429 * elf/tst-unique3lib2.cc: Likewise.
24430 * elf/tst-unique4.cc: Likewise.
24432 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24434 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24437 * assert/assert.h (static_assert): Don't define for C++.
24438 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24439 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24441 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24443 * iconv/loop.c (single loop): Fix assertion in storing of
24446 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24448 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24450 * posix/getconf.c: Update copyright year.
24451 * nss/getent.c: Likewise.
24452 * nss/makedb.c: Likewise.
24453 * iconv/iconvconfig.c: Likewise.
24454 * iconv/iconv_prog.c: Likewise.
24455 * elf/ldconfig.c: Likewise.
24456 * elf/pldd.c: Likewise.
24457 * elf/sotruss.ksh: Likewise.
24458 * catgets/gencat.c: Likewise.
24459 * csu/version.c: Likewise.
24460 * elf/ldd.bash.in: Likewise.
24461 * elf/sprof.c (print_version): Likewise.
24462 * locale/programs/locale.c: Likewise.
24463 * locale/programs/localedef.c: Likewise.
24464 * login/programs/pt_chown.c: Likewise.
24465 * nscd/nscd.c (print_version): Likewise.
24466 * debug/xtrace.sh: Likewise.
24467 * malloc/memusage.sh: Likewise.
24468 * malloc/mtrace.pl: Likewise.
24469 * debug/catchsegv.sh: Likewise.
24471 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24473 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24476 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24479 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24480 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24482 * iconv/gconv_int.h: Likewise.
24483 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24484 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24485 from libc for GLIBC_2.16.
24486 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24487 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24488 * wcsmbs/uchar.h: Really define mbstate_t.
24489 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24490 * wcsmbs/c16rtomb.c: New file.
24491 * wcsmbs/mbrtoc16.c: New file.
24492 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24493 for C/POSIX locale.
24494 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24495 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24497 * wcsmbs/wchar.h: Add missing __restrict.
24499 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24502 * time/Makefile (routines): Add timespec_get.
24503 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24504 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24505 timespec for ISO C11.
24506 * time/timespec_get.c: New file.
24507 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24508 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24511 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24512 * stdlib/stdlib.h: Declare aligned_alloc.
24513 * Versions.def: Add GLIBC_2.16 for libc.
24514 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24517 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24520 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24524 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24527 * assert/assert.h (static_assert): Define.
24529 * version.h: Update for 2.16 development version.
24532 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24535 * version.h (RELEASE): Bump for 2.15 release.
24536 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24538 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24539 Patch by Marek Polacek <mpolacek@redhat.com>.
24541 * bits/byteswap.h: Protect long long constants with __extension__.
24542 * sysdeps/i386/bits/byteswap.h: Likewise.
24543 * sysdeps/ia64/bits/byteswap.h: Likewise.
24544 * sysdeps/s390/bits/byteswap.h: Likewise.
24545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24547 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24551 destination buffer.
24552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24554 2011-12-23 Marek Polacek <polacek@redhat.com>
24556 * elf/dl-addr.c (determine_info): Add inline keyword.
24557 * elf/tst-auditmod4b.c (check_avx): Likewise.
24558 * elf/tst-auditmod6b.c (check_avx): Likewise.
24559 * elf/tst-auditmod6c.c (check_avx): Likewise.
24560 * elf/tst-auditmod7b.c (check_avx): Likewise.
24562 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24564 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24567 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24571 processing for last bytes.
24573 2011-08-06 Bruno Haible <bruno@clisp.org>
24576 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24577 U+0385, not to U+1FEE.
24580 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24581 entry for U+00A5 U+0301.
24583 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24586 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24587 buffer for the output is too small.
24589 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24593 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24594 SSE flags if possible.
24596 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24600 processing for last bytes.
24602 2011-12-22 Joseph Myers <joseph@codesourcery.com>
24604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24605 (syscall-list-default-options, syscall-list-default-condition)
24606 (syscall-list-includes): Define.
24607 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24608 list of ABIs and options and #if conditions for each ABI. Do not
24609 handle common syscalls between ABIs specially.
24610 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24612 (syscall-list-variants, syscall-list-32bit-options)
24613 (syscall-list-32bit-condition, syscall-list-64bit-options)
24614 (syscall-list-64bit-condition): Define.
24615 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24616 (syscall-list-variants, syscall-list-32bit-options)
24617 (syscall-list-32bit-condition, syscall-list-64bit-options)
24618 (syscall-list-64bit-condition): Define.
24619 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24621 (syscall-list-variants, syscall-list-32bit-options)
24622 (syscall-list-32bit-condition, syscall-list-64bit-options)
24623 (syscall-list-64bit-condition): Define.
24624 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24626 (syscall-list-variants, syscall-list-32bit-options)
24627 (syscall-list-32bit-condition, syscall-list-64bit-options)
24628 (syscall-list-64bit-condition): Define.
24630 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24632 * locale/iso-639.def: Add brx entry.
24635 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24636 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24638 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24639 __feraiseexcept_renamed.
24641 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24644 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24645 EPOLLET with unsigned values.
24646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24649 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24650 to large cancellation.
24651 * math/s_cacoshf.c: Likewise.
24652 * math/s_cacoshl.c: Likewise.
24654 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24658 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24659 * math/s_cacoshf.c: Likewise.
24660 * math/s_cacoshl.c: Likewise.
24662 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24665 * iconv/gconv.h: Define __GCONV_SWAP.
24666 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24667 * iconvdata/utf-16.c: Likewise.
24668 * iconvdata/utf-32.c: Likewise.
24670 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24674 numerator after shifting it by one limb.
24676 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24679 under [__USE_EXTERN_INLINES].
24681 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24684 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24686 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24688 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24689 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24691 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24692 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24693 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24694 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24695 for strncasecmp/strncasecmp_l compilation.
24696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24697 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24699 2011-12-08 Marek Polacek <mpolacek@redhat.com>
24702 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24705 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24708 * time/tzfile.c (__tzfile_read): Check values from file header.
24710 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24712 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24713 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24714 * powerpc/powerpc32/dl-start.S: Likewise.
24715 * powerpc/powerpc32/elf/start.S: Likewise.
24716 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24717 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24718 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24719 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24720 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24721 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24722 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24723 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24724 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24725 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24726 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24727 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24728 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24729 * powerpc/powerpc32/memset.S: Likewise.
24730 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24731 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24732 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24733 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24734 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24735 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24736 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24737 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24738 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24739 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24741 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24742 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24744 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24746 * math/libm-test.inc: Added more nearbyint tests.
24747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24752 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24754 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24757 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24759 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24760 Add wcscpy-ssse3 wcscpy-c.
24761 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24762 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24763 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24764 * sysdeps/x86_64/wcschr.S: New file.
24765 * sysdeps/x86_64/wcsrchr.S: New file.
24766 * string/test-strcmp.c: Remove checking of wcscmp function for
24768 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24769 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24770 wcsrchr-sse2 wcsrchr-c.
24771 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24772 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24773 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24774 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24775 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24776 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24777 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24778 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24779 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24780 * wcsmbc/wcschr.c (WCSCHR): New macro.
24782 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24784 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24785 * wcsmbs/test-wcsrchr.c: New file.
24786 * string/test-strrchr.c: Add wcsrchr support.
24788 * wcsmbs/test-wcscpy.c: New file.
24789 * string/test-strcpy.c: Add wcscpy support.
24792 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24797 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24800 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24802 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24805 Minor optimizations.
24807 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24808 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24809 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24811 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24813 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24814 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24815 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24816 for gcc to avoid warnings.
24817 * inet/Makefile (tests): Add tst-checks.
24818 * inet/tst-checks.c: New file.
24820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24823 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24826 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24827 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24829 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24831 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24833 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24836 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24838 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24840 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24841 conditional on GCC version.
24842 (__arch_compare_and_exchange_val_8_acq)
24843 (__arch_compare_and_exchange_val_16_acq)
24844 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24845 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24846 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24848 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24850 * sysdeps/sh/backtrace.c: New file.
24852 2011-12-02 Andreas Schwab <schwab@redhat.com>
24854 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24857 2011-12-01 Andreas Schwab <schwab@redhat.com>
24859 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24860 falling back to utime.
24862 2011-11-30 Andreas Schwab <schwab@redhat.com>
24864 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24865 expectations for float.
24867 2011-11-29 Andreas Schwab <schwab@redhat.com>
24869 * locale/weight.h (findidx): Add parameter len.
24870 * locale/weightwc.h (findidx): Likewise.
24871 * posix/fnmatch_loop.c (FCT): Adjust caller.
24872 * posix/regcomp.c (build_equiv_class): Likewise.
24873 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24874 * posix/regexec.c (check_node_accept_bytes): Likewise.
24875 * string/strcoll_l.c (STRCOLL): Likewise.
24876 * string/strxfrm_l.c (STRXFRM): Likewise.
24878 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24880 * Makefile.in: Remove CVSOPT handling.
24881 * configure.in: Remove use of AC_REVISION.
24882 * iconvdata/Makefile (distribute): No need to filter out CVS.
24883 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24886 2011-11-16 Andreas Schwab <schwab@redhat.com>
24888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24889 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24890 [USE_AS_STRNCASECMP_L]: Likewise.
24891 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24892 NO_TLS_DIRECT_SEG_REFS.
24893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24894 Fix argument offsets for non-PIC.
24895 [USE_AS_STRNCASECMP_L]: Likewise.
24896 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24897 NO_TLS_DIRECT_SEG_REFS.
24899 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24901 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24903 * locale/loadlocale.c (_nl_load_locale): Likewise.
24905 2011-11-15 Andreas Schwab <schwab@redhat.com>
24907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24908 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24910 (SYSCALL_GETTIME): Set errno on error.
24912 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24913 count references to noai6ai_cached.
24915 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24917 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24919 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24920 FD_CLOEXEC for /proc/self/maps.
24922 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24923 FD_CLOEXEC for /proc/meminfo.
24925 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24928 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24929 FD_CLOEXEC for given file.
24931 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24933 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24934 FD_CLOEXEC for /etc/hosts.
24935 (_gethtent): Likewise.
24937 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24939 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24940 cancellation and set FD_CLOEXEC for /etc/netgroup.
24942 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24943 reading /etc/publickey.
24945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24946 allow cancellation when reading /etc/group.
24948 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24950 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24952 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24953 when using data file.
24955 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24957 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24958 (write_nis_obj): Use "c" and "e" in fopen.
24960 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24962 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24964 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24966 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24968 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24971 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24973 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24975 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24977 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24978 file parsing and set FD_CLOEXEC.
24980 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24982 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24984 2011-11-14 Andreas Schwab <schwab@redhat.com>
24986 * malloc/arena.c (arena_get2): Don't call reused_arena when
24987 _int_new_arena failed.
24989 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24991 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24992 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24997 to compile strcasecmp and strncasecmp.
24998 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24999 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25003 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25006 locale-defines.sym to gen-as-const-headers.
25007 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25008 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25010 to compile strcasecmp and strncasecmp.
25011 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25012 strcasecmp_l and strncasecmp_l.
25013 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25014 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25015 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25017 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25019 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25020 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25021 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25022 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25023 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25025 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25027 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25028 result of SYSDEP_GETTIME_CPU to retval.
25029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25030 parameter list to macro. Remove trailing semicolon. Adjust users.
25032 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25035 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25039 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25040 from unused variable.
25042 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25044 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25047 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25050 * sunrpc/rpc_prot.c (rejected): Fix case value.
25052 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25053 unsigned long long int to avoid warnings in shift.
25055 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25057 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25060 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25061 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25064 * nis/nis_table.c (nis_list): Use variable of correct type for
25065 result of __follow_path call.
25067 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25069 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25070 of math functions ceil, trunc, floor, round, and sqrt, when
25071 avaliable on the platform.
25072 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25074 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25075 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25076 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25078 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25080 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25081 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25083 2011-11-11 Roland McGrath <roland@hack.frob.com>
25085 * include/unistd.h: Fix __readlink return type.
25086 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25088 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25090 * stdlib/ucontext.h: Undo last change for makecontext.
25092 2011-11-11 Andreas Schwab <schwab@redhat.com>
25094 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25096 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25097 * setjmp/setjmp.h: Mark functions as non-leaf.
25098 * setjmp/bits/setjmp2.h: Likewise.
25099 * stdlib/ucontext.h: Likewise.
25101 2011-11-10 Andreas Schwab <schwab@redhat.com>
25103 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25104 (reused_arena): Don't check arena limit.
25105 (arena_get2): Atomically check arena limit.
25107 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25109 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25110 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25115 2011-11-07 Andreas Schwab <schwab@redhat.com>
25117 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25118 handler when locking.
25120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25121 Fix size of allocated buffer.
25123 2011-11-04 Andreas Schwab <schwab@redhat.com>
25126 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25127 declarations for long double functions.
25128 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25130 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25132 2011-11-03 Andreas Schwab <schwab@redhat.com>
25134 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25137 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25140 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25142 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25144 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25146 * include/alloca.h (stackinfo_alloca_round): Define.
25147 (extend_alloca): Use it.
25148 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25149 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25152 * scripts/check-local-headers.sh: Ignore libaudit.h.
25154 * nscd/Makefile (extra-objs): Make recursively expanded.
25156 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25158 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25161 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25162 * posix/tst-rfc3484-2.c: Likewise.
25163 * posix/tst-rfc3484-3.c: Likewise.
25165 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25167 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25169 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25170 process_vm_writev from libc using GLIBC_2.15 version.
25172 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25174 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25176 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25179 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25182 * nss/getent.c (initgroups_keys): Show error message in case no group
25185 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25186 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25187 __bump_nl_timestamp.
25188 * nscd/connections (nscd_init): When host database is served open
25189 netlink socket and request notification about configuration changes.
25190 (main_loop_poll): Track netlink file descriptor and bump timestamp
25191 in case data becomes available.
25192 (main_loop_epoll): Likewise.
25193 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25194 (database_pers_head): Add extra_data fileds.
25195 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25196 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25197 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25200 in6ai data, call __free_in6ai.
25201 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25202 Add -DHAVE_NETLINK.
25203 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25204 interface information. Reuse previous data if netlink timestamp
25206 (__bump_nl_timestamp): New function.
25207 (__free_in6ai): New function.
25209 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25212 close_not_cancel_no_status here.
25213 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25215 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25218 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25221 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25222 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25223 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25225 2011-07-03 Andreas Jaeger <aj@suse.de>
25228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25229 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25230 * math/libm-test.inc (sin_test): Add test case.
25232 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25235 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25236 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25238 * elf/chroot_canon.c (chroot_canon): Cleanups.
25240 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25243 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25246 * string/test-strchr.c: Make usable for strchrnul testing.
25247 * string/test-strchrnul.c: New file.
25248 * string/Makefile (strop-tests): Add strchrnul.
25250 * po/it.po: Update from translation team.
25251 * po/es.po: Likewise.
25253 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25256 the three constants needed as parameters. Drop the others.
25257 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25258 __m128i_strloadu_tolower.
25259 Create and initialize variable zero and use it in all the places
25260 where _mm_setzero_si128 was used.
25262 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25263 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25264 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25267 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25270 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25272 __mpranred, __mptan.
25273 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25274 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25275 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25276 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25280 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25283 2011-10-28 Andreas Schwab <schwab@redhat.com>
25285 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25286 redefine if SHARED.
25287 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25290 wide char related routines to wcsmbs subdir.
25292 2011-10-27 Andreas Schwab <schwab@redhat.com>
25295 * misc/sys/cdefs.h (__THROWNL): Define.
25296 * posix/unistd.h: Use __THREADNL instead of __THREAD
25297 for memory synchronization functions.
25299 2011-10-26 Roland McGrath <roland@hack.frob.com>
25302 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25304 * manual/stdio.texi (Obstack Streams): Node removed.
25306 2011-10-26 Andreas Schwab <schwab@redhat.com>
25308 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25312 * math/math_private.h (math_force_eval): Allow non-addressable
25314 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25316 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25318 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25319 file is not needed.
25321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25328 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25336 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25338 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25339 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25340 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25341 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25347 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25348 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25350 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25351 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25354 place. Use VEX encoding when compiling for AVX.
25356 2011-10-25 Andreas Schwab <schwab@redhat.com>
25358 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25359 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25361 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25363 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25365 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25366 useless if() expression.
25367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25379 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25381 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25383 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25387 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25389 2011-10-25 Andreas Schwab <schwab@redhat.com>
25391 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25395 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25397 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25398 .text section. Avoid duplicate constants.
25399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25408 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25413 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25416 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25423 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25424 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25425 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25426 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25445 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25447 * sysdeps/x86_64/dla.h: Move to ...
25448 * sysdeps/x86_64/fpu/dla.h: ...here.
25449 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25450 situations. Use __builtin_fma only for gcc 4.6 and up.
25452 * config.make.in: Add have-mfma4 entry.
25453 * configure.in: Substitute libc_cv_cc_fma4.
25454 * math/Makefile (dbl-only-routines): Add sincostab.
25455 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25456 Use __sincostab not sincos.
25457 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25464 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25465 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25466 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25467 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25469 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25470 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25472 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25473 define aliases when function name is a macro.
25474 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25475 sysdeps/ieee754/dbl-64/sincos.tbl.
25476 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25477 fma4-enabled routines.
25478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25482 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25488 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25490 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25491 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25493 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25494 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25495 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25496 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25498 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25499 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25509 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25520 2011-10-24 Andreas Schwab <schwab@redhat.com>
25522 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25524 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25528 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25532 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25533 Remove unused variable magic_bits.
25534 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25536 * string/strnlen.c: Define and use STRNLEN macro.
25537 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25538 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25540 * wcsmbs/wcslen.c: Define and use WCSLEN.
25541 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25542 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25543 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25544 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25545 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25546 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25547 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25549 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25552 strnlen-sse2-no-bsf.
25553 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25554 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25556 Add strnlen support.
25557 (USE_AS_STRNLEN): New macro.
25558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25560 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25561 * sysdeps/x86_64/wcslen.S: New file.
25563 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25566 XMM-moves are used for copying on small sizes.
25568 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25570 * wcsmbs/Makefile (strop-tests): Add wcschr.
25571 * wcsmbs/test-wcschr.c: New file.
25572 * string/test-strchr.c: Update.
25573 Add wcschr support.
25576 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25578 * wcsmbs/Makefile (strop-tests): Add wcslen.
25579 * wcsmbs/test-wcslen.c: New file.
25580 * string/test-strlen.c: Update.
25581 Add wcslen support.
25584 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25586 * po/it.po: Update from translation team.
25588 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25590 * sysdeps/x86_64/wcscmp.S: Update.
25591 Fix wrong comparison semantics.
25592 wcscmp shall use signed comparison not unsigned.
25593 Don't use substraction to avoid overflow bug.
25594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25595 * wcsmbc/wcscmp.c: Likewise.
25596 * string/test-strcmp.c: Likewise.
25597 Add new tests to check cases with negative values.
25599 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25601 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25602 * sysdeps/x86_64/dla.h: ...here. New file.
25603 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25613 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25616 __ynl_finite aliases.
25618 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25622 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25624 [DLA_FMA] (EMULV): Use DLA_FMA.
25625 [DLA_FMA] (MUL12): Use EMULV.
25626 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25627 that are not needed.
25628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25636 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25638 * math/s_nan.c: Undef __nan.
25639 * math/s_nanf.c: Undef __nanf.
25640 * math/s_nanl.c: Undef __nanl.
25641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25644 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25646 * math/s_catan.c: Add branch predictions.
25647 * math/s_catanf.c: Likewise.
25648 * math/s_catanh.c: Likewise.
25649 * math/s_catanhf.c: Likewise.
25650 * math/s_catanhl.c: Likewise.
25651 * math/s_catanl.c: Likewise.
25652 * math/s_cexp.c: Likewise.
25653 * math/s_cexpf.c: Likewise.
25654 * math/s_cexpl.c: Likewise.
25655 * math/s_clog.c: Likewise.
25656 * math/s_clog10.c: Likewise.
25657 * math/s_clog10f.c: Likewise.
25658 * math/s_clog10l.c: Likewise.
25659 * math/s_clogf.c: Likewise.
25660 * math/s_clogl.c: Likewise.
25661 * math/s_csqrt.c: Likewise.
25662 * math/s_csqrtf.c: Likewise.
25663 * math/s_csqrtl.c: Likewise.
25664 * math/s_ctanf.c: Likewise.
25665 * math/s_ctanh.c: Likewise.
25666 * math/s_ctanhf.c: Likewise.
25667 * math/s_ctanhl.c: Likewise.
25668 * math/s_ctanl.c: Likewise.
25670 * math/math_private.h: Define __nan, __nanf, __nanl.
25671 * math/s_cacosh.c: Include <math_private.h>.
25672 * math/s_cacoshl.c: Likewise.
25673 * math/s_casinh.c: Likewise.
25674 * math/s_casinhf.c: Likewise.
25675 * math/s_casinhl.c: Likewise.
25676 * math/s_ccos.c: Rely entire on ccosh.
25677 * math/s_ccosf.c: Rely entire on ccoshf.
25678 * math/s_ccosl.c: Rely entirely on ccoshl.
25679 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25680 Remove tests for FE_INVALID.
25681 * math/s_ccoshf.c: Likewise.
25682 * math/s_ccoshl.c: Likewise.
25683 * math/s_csin.c: Likewise.
25684 * math/s_csinf.c: Likewise.
25685 * math/s_csinh.c Likewise.
25686 * math/s_csinhf.c: Likewise.
25687 * math/s_csinhl.c: Likewise.
25688 * math/s_csinl.c: Likewise.
25689 * math/s_ctan.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25691 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25692 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25694 2011-10-21 Ulrich Drepper <drepper@gmail.com>
25696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25697 compilation problems.
25699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25702 2011-10-20 Ulrich Drepper <drepper@gmail.com>
25704 * sysdeps/i386/configure.in: Test for -mfma4 option.
25705 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25706 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25707 COMMON_CPUID_INDEX_80000001.
25708 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25709 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25710 use it if FMA3 is not supported.
25711 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25713 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25716 2011-10-20 Andreas Schwab <schwab@redhat.com>
25719 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25720 it would create a cycle with a link time dependency.
25722 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25724 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25726 * string/Makefile (strop-tests): Add rawmemchr.
25727 * string/test-rawmemchr.c: New file.
25729 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25731 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25732 when compiling str{,n}casecmp and when AVX is available. Hook up
25733 new optimized code in initializers.
25735 2011-10-19 Andreas Schwab <schwab@redhat.com>
25737 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25738 __feraiseexcept instead of feraiseexcept.
25740 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25742 * math/math_private.h: Define defaults for libc_fetestexcept and
25744 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25745 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25748 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25750 libc_fetestexcept and libc_feupdateenv.
25752 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25753 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25754 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25755 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25756 libc_feholdexcept_setround.
25758 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25759 Add s_nearbyint-c and s_nearbyintf-c.
25760 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25761 nearbyintf inlines.
25762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25765 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25767 * math/math_private.h: Define defaults for libc_fegetround,
25768 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25769 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25770 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25772 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25773 standard functions.
25774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25775 Remove comments and hacks for old compiler versions.
25776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25777 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25778 libc_feholdexceptl.
25780 2011-10-18 Andreas Schwab <schwab@redhat.com>
25782 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25783 (__feraiseexcept_renamed): Add __NTH.
25784 (feraiseexcept): Add __NTH. Rename local variables to fix
25785 namespace violations.
25787 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25789 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25791 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25793 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25794 recently added interfaces.
25795 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25797 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25798 about macro parameter expansion.
25800 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25801 __NO_MATH_INLINES is defined. Cleanups.
25803 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25804 and __floorf is target has SSE4.1.
25805 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25808 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25810 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25812 (floorf): Likewise.
25814 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25816 2011-10-17 Andreas Schwab <schwab@redhat.com>
25818 * misc/sys/cdefs.h: Fix last change.
25820 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25823 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25825 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25827 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25835 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25836 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25837 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25838 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25839 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25842 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25843 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25844 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25846 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25847 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25848 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25850 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25851 ceil, ceilf, floor, floorf.
25853 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25854 Perform IRELATIVE relocations last.
25856 * elf/do-rel.h: Add another parameter nrelative, replacing the
25857 local variable with the same name. Change name of the function
25858 to end in Rel or Rela (uppercase).
25859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25860 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25861 elf_dynamic_do_##reloc function.
25863 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25865 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25866 is sufficient, at least on modern CPUs.
25868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25870 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25873 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25875 * math/bits/math-finite.h: Add entries for exp.
25876 * math/e_expl.c: Add __*_finite alias.
25877 * sysdeps/i386/fpu/e_exp.S: Likewise.
25878 * sysdeps/i386/fpu/e_expf.S: Likewise.
25879 * sysdeps/i386/fpu/e_expl.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25884 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25888 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25889 is sufficient, at least on modern CPUs.
25891 * ctype/ctype-info.c (__ctype_init): Define.
25892 * include/ctype.h (__ctype_init): Declare.
25893 (__ctype_b_loc): The variable is always initialized.
25894 (__ctype_toupper_loc): Likewise.
25895 (__ctype_tolower_loc): Likewise.
25896 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25897 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25899 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25901 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25903 * configure.in: Also look in $cxxmachine/include for C++ system
25906 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25908 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25909 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25910 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25911 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25913 (USE_AS_WMEMCMP): New macro.
25915 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25916 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25917 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25918 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25920 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25921 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25922 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25923 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25924 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25925 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25926 (USE_AS_WMEMCMP): New macro.
25927 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25928 * sysdeps/string/test-memcmp.c: Update.
25929 Fix simple_wmemcmp.
25931 * wcsmbs/wmemcmp.c: Update.
25932 (WMEMCMP): New macro.
25935 2011-10-12 Andreas Jaeger <aj@suse.de>
25938 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25940 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25942 * libio/iofwide.c (do_length): Avoid warning.
25944 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25946 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25948 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25950 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25951 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25952 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25953 * sysdeps/i386/i686/fpu/e_log.S: New file.
25954 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25955 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25957 * ctype/ctype.h: Add support for inlined isXXX functions when
25958 compiling C++ code.
25960 2011-10-14 Andreas Schwab <schwab@redhat.com>
25962 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25966 2011-10-13 Roland McGrath <roland@hack.frob.com>
25969 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25971 2011-10-13 Andreas Schwab <schwab@redhat.com>
25973 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25974 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25977 * sysdeps/x86_64/memrchr.S: Check for zero size.
25979 * string/stratcliff.c: Add memrchr tests.
25981 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25984 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25985 rawmemchr-sse2 rawmemchr-sse2-bsf.
25986 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25987 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25988 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25989 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25990 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25991 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25992 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25993 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25995 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25996 * string/memrchr.c (MEMRCHR): New macro.
25998 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26000 Add integration with gcc's -ffinite-math-only and optimize wrapper
26002 * Versions.def: Define GLIBC_2.15 version for libm.
26003 * math/Makefile (headers): Add bits/math-finite.h.
26004 * math/bits/math-finite.h: New file.
26005 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26006 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26007 * math/e_acoshl.c: Add __*_finite alias.
26008 * math/e_acosl.c: Likewise.
26009 * math/e_asinl.c: Likewise.
26010 * math/e_atan2l.c: Likewise.
26011 * math/e_atanhl.c: Likewise.
26012 * math/e_coshl.c: Likewise.
26013 * math/e_exp10.c: Likewise.
26014 * math/e_exp10f.c: Likewise.
26015 * math/e_exp10l.c: Likewise.
26016 * math/e_exp2l.c: Likewise.
26017 * math/e_fmodl.c: Likewise.
26018 * math/e_gammal_r.c: Likewise.
26019 * math/e_hypotl.c: Likewise.
26020 * math/e_j0l.c: Likewise.
26021 * math/e_j1l.c: Likewise.
26022 * math/e_jnl.c: Likewise.
26023 * math/e_lgammal_r.c: Likewise.
26024 * math/e_log10l.c: Likewise.
26025 * math/e_log2l.c: Likewise.
26026 * math/e_logl.c: Likewise.
26027 * math/e_powl.c: Likewise.
26028 * math/e_sinhl.c: Likewise.
26029 * math/e_sqrtl.c: Likewise.
26030 * math/e_scalb.c: Completely rewritten and optimized.
26031 * math/e_scalbf.c: Likewise.
26032 * math/e_scalbl.c: Likewise.
26033 * math/w_acos.c: Likewise.
26034 * math/w_acosf.c: Likewise.
26035 * math/w_acosl.c: Likewise.
26036 * math/w_acosh.c: Likewise.
26037 * math/w_acoshf.c: Likewise.
26038 * math/w_acoshl.c: Likewise.
26039 * math/w_asin.c: Likewise.
26040 * math/w_asinf.c: Likewise.
26041 * math/w_asinl.c: Likewise.
26042 * math/w_atan2.c: Likewise.
26043 * math/w_atan2f.c: Likewise.
26044 * math/w_atan2l.c: Likewise.
26045 * math/w_atanh.c: Likewise.
26046 * math/w_atanhf.c: Likewise.
26047 * math/w_atanhl.c: Likewise.
26048 * math/w_exp10.c: Likewise.
26049 * math/w_exp10f.c: Likewise.
26050 * math/w_exp10l.c: Likewise.
26051 * math/w_fmod.c: Likewise.
26052 * math/w_fmodf.c: Likewise.
26053 * math/w_fmodl.c: Likewise.
26054 * math/w_j0.c: Likewise.
26055 * math/w_j0f.c: Likewise.
26056 * math/w_j0l.c: Likewise.
26057 * math/w_j1.c: Likewise.
26058 * math/w_j1f.c: Likewise.
26059 * math/w_j1l.c: Likewise.
26060 * math/w_jn.c: Likewise.
26061 * math/w_jnf.c: Likewise.
26062 * math/w_log.c: Likewise.
26063 * math/w_logf.c: Likewise.
26064 * math/w_logl.c: Likewise.
26065 * math/w_log10.c: Likewise.
26066 * math/w_log10f.c: Likewise.
26067 * math/w_log10l.c: Likewise.
26068 * math/w_log2.c: Likewise.
26069 * math/w_log2f.c: Likewise.
26070 * math/w_log2l.c: Likewise.
26071 * math/w_pow.c: Likewise.
26072 * math/w_powf.c: Likewise.
26073 * math/w_powl.c: Likewise.
26074 * math/w_remainder.c: Likewise.
26075 * math/w_remainderf.c: Likewise.
26076 * math/w_remainderl.c: Likewise.
26077 * math/w_scalb.c: Likewise.
26078 * math/w_scalbf.c: Likewise.
26079 * math/w_scalbl.c: Likewise.
26080 * math/w_sqrt.c: Likewise.
26081 * math/w_sqrtf.c: Likewise.
26082 * math/w_sqrtl.c: Likewise.
26083 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26084 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26086 * math/math_private.h: Declare __kernel_standard_f.
26087 * math/w_cosh.c: Remove cruft and optimize a bit.
26088 * math/w_coshf.c: Likewise.
26089 * math/w_coshl.c: Likewise.
26090 * math/w_exp2.c: Likewise.
26091 * math/w_exp2f.c: Likewise.
26092 * math/w_exp2l.c: Likewise.
26093 * math/w_hypot.c: Likewise.
26094 * math/w_hypotf.c: Likewise.
26095 * math/w_hypotl.c: Likewise.
26096 * math/w_lgamma.c: Likewise.
26097 * math/w_lgamma_r.c: Likewise.
26098 * math/w_lgammaf.c: Likewise.
26099 * math/w_lgammaf_r.c: Likewise.
26100 * math/w_lgammal.c: Likewise.
26101 * math/w_lgammal_r.c: Likewise.
26102 * math/w_sinh.c: Likewise.
26103 * math/w_sinhf.c: Likewise.
26104 * math/w_sinhl.c: Likewise.
26105 * math/w_tgamma.c: Likewise.
26106 * math/w_tgammaf.c: Likewise.
26107 * math/w_tgammal.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26110 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26111 Minor optimizations. Pretty printing. Remove cruft.
26112 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26114 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26116 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26117 * sysdeps/i386/fpu/e_asin.S: Likewise.
26118 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26119 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26120 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26121 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26122 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26123 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26125 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26126 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26127 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26128 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26129 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26130 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26131 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26132 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26133 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26134 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26135 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26136 * sysdeps/i386/fpu/e_log.S: Likewise.
26137 * sysdeps/i386/fpu/e_log10.S: Likewise.
26138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26139 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26140 * sysdeps/i386/fpu/e_log2.S: Likewise.
26141 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26142 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26143 * sysdeps/i386/fpu/e_logf.S: Likewise.
26144 * sysdeps/i386/fpu/e_logl.S: Likewise.
26145 * sysdeps/i386/fpu/e_pow.S: Likewise.
26146 * sysdeps/i386/fpu/e_powf.S: Likewise.
26147 * sysdeps/i386/fpu/e_powl.S: Likewise.
26148 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26149 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26150 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26152 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26153 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26154 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26155 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26156 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26178 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26181 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26184 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26185 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26186 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26187 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26191 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26192 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26193 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26194 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26195 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26197 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26198 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26242 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26245 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26252 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26253 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26254 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26255 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26256 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26257 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26258 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26259 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26260 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26263 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26265 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26267 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26268 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26269 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26270 (__isnanf): Likewise.
26271 (__isinf_ns): Likewise.
26272 (__isinf_nsf): Likewise.
26273 (__finite): Likewise.
26274 (__finitef): Likewise.
26275 (__ieee754_sqrt): Define as macro.
26276 (__ieee754_sqrtf): Define as macro.
26277 (__ieee754_sqrtl): Define as macro.
26278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26280 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26281 __FINITE_MATH_ONLY__ consistent.
26282 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26284 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26286 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26291 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26293 * po/ja.po: Update from translation team.
26295 2011-10-08 Roland McGrath <roland@hack.frob.com>
26297 * locale/programs/locarchive.c (prepare_address_space): New function.
26298 (create_archive, enlarge_archive, open_archive): Use it.
26300 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26301 inside [SHARED], where it is used.
26303 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26305 * nss/getent.c (netgroup_keys): Remove unused variable.
26306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26308 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26310 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26311 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26314 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26315 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26316 * math/Makefile (libm-calls): Add s_isinf_ns.
26317 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26318 * math/multc3.c: Likewise.
26319 * math/s_casin.c: Likewise.
26320 * math/s_casinf.c: Likewise.
26321 * math/s_casinl.c: Likewise.
26322 * math/s_ccos.c: Likewise.
26323 * math/s_ccosf.c: Likewise.
26324 * math/s_ccosl.c: Likewise.
26325 * math/s_ctan.c: Likewise.
26326 * math/s_ctanf.c: Likewise.
26327 * math/s_ctanh.c: Likewise.
26328 * math/s_ctanhf.c: Likewise.
26329 * math/s_ctanhl.c: Likewise.
26330 * math/s_ctanl.c: Likewise.
26331 * math/w_fmod.c: Likewise.
26332 * math/w_fmodf.c: Likewise.
26333 * math/w_fmodl.c: Likewise.
26334 * math/w_remainder.c: Likewise.
26335 * math/w_remainderf.c: Likewise.
26336 * math/w_remainderl.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26338 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26341 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26342 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26343 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26344 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26346 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26348 * stdio-common/printf_fphex.c: Likewise.
26349 * stdio-common/printf_size.c: Likewise.
26351 * math/e_exp10.c: Include math_private.h using <...> not "...".
26352 * math/e_exp10f.c: Likewise.
26353 * math/e_exp10l.c: Likewise.
26354 * math/e_exp2l.c: Likewise.
26355 * math/e_j0l.c: Likewise.
26356 * math/e_j1l.c: Likewise.
26357 * math/e_jnl.c: Likewise.
26358 * math/e_lgammal_r.c: Likewise.
26359 * math/e_rem_pio2l.c: Likewise.
26360 * math/e_scalb.c: Likewise.
26361 * math/e_scalbf.c: Likewise.
26362 * math/e_scalbl.c: Likewise.
26363 * math/k_cosl.c: Likewise.
26364 * math/k_sinl.c: Likewise.
26365 * math/k_tanl.c: Likewise.
26366 * math/s_cacoshf.c: Likewise.
26367 * math/s_catan.c: Likewise.
26368 * math/s_catanf.c: Likewise.
26369 * math/s_catanh.c: Likewise.
26370 * math/s_catanhf.c: Likewise.
26371 * math/s_catanhl.c: Likewise.
26372 * math/s_catanl.c: Likewise.
26373 * math/s_ccosh.c: Likewise.
26374 * math/s_ccoshf.c: Likewise.
26375 * math/s_ccoshl.c: Likewise.
26376 * math/s_cexp.c: Likewise.
26377 * math/s_cexpf.c: Likewise.
26378 * math/s_cexpl.c: Likewise.
26379 * math/s_clog.c: Likewise.
26380 * math/s_clog10.c: Likewise.
26381 * math/s_clog10f.c: Likewise.
26382 * math/s_clog10l.c: Likewise.
26383 * math/s_clogf.c: Likewise.
26384 * math/s_clogl.c: Likewise.
26385 * math/s_csin.c: Likewise.
26386 * math/s_csinf.c: Likewise.
26387 * math/s_csinh.c: Likewise.
26388 * math/s_csinhf.c: Likewise.
26389 * math/s_csinhl.c: Likewise.
26390 * math/s_csinl.c: Likewise.
26391 * math/s_csqrt.c: Likewise.
26392 * math/s_csqrtf.c: Likewise.
26393 * math/s_csqrtl.c: Likewise.
26394 * math/s_ctan.c: Likewise.
26395 * math/s_ctanf.c: Likewise.
26396 * math/s_ctanh.c: Likewise.
26397 * math/s_ctanhf.c: Likewise.
26398 * math/s_ctanhl.c: Likewise.
26399 * math/s_ctanl.c: Likewise.
26400 * math/s_ldexp.c: Likewise.
26401 * math/s_ldexpf.c: Likewise.
26402 * math/s_ldexpl.c: Likewise.
26403 * math/s_significand.c: Likewise.
26404 * math/s_significandf.c: Likewise.
26405 * math/s_significandl.c: Likewise.
26406 * math/w_acos.c: Likewise.
26407 * math/w_acosf.c: Likewise.
26408 * math/w_acosh.c: Likewise.
26409 * math/w_acoshf.c: Likewise.
26410 * math/w_acoshl.c: Likewise.
26411 * math/w_acosl.c: Likewise.
26412 * math/w_asin.c: Likewise.
26413 * math/w_asinf.c: Likewise.
26414 * math/w_asinl.c: Likewise.
26415 * math/w_atan2.c: Likewise.
26416 * math/w_atan2f.c: Likewise.
26417 * math/w_atan2l.c: Likewise.
26418 * math/w_atanh.c: Likewise.
26419 * math/w_atanhf.c: Likewise.
26420 * math/w_atanhl.c: Likewise.
26421 * math/w_cosh.c: Likewise.
26422 * math/w_coshf.c: Likewise.
26423 * math/w_coshl.c: Likewise.
26424 * math/w_dremf.c: Likewise.
26425 * math/w_exp10.c: Likewise.
26426 * math/w_exp10f.c: Likewise.
26427 * math/w_exp10l.c: Likewise.
26428 * math/w_exp2.c: Likewise.
26429 * math/w_exp2f.c: Likewise.
26430 * math/w_fmod.c: Likewise.
26431 * math/w_fmodf.c: Likewise.
26432 * math/w_fmodl.c: Likewise.
26433 * math/w_hypot.c: Likewise.
26434 * math/w_hypotf.c: Likewise.
26435 * math/w_hypotl.c: Likewise.
26436 * math/w_j0.c: Likewise.
26437 * math/w_j0f.c: Likewise.
26438 * math/w_j0l.c: Likewise.
26439 * math/w_j1.c: Likewise.
26440 * math/w_j1f.c: Likewise.
26441 * math/w_j1l.c: Likewise.
26442 * math/w_jn.c: Likewise.
26443 * math/w_jnf.c: Likewise.
26444 * math/w_jnl.c: Likewise.
26445 * math/w_lgamma.c: Likewise.
26446 * math/w_lgamma_r.c: Likewise.
26447 * math/w_lgammaf.c: Likewise.
26448 * math/w_lgammaf_r.c: Likewise.
26449 * math/w_lgammal.c: Likewise.
26450 * math/w_lgammal_r.c: Likewise.
26451 * math/w_log.c: Likewise.
26452 * math/w_log10.c: Likewise.
26453 * math/w_log10f.c: Likewise.
26454 * math/w_log10l.c: Likewise.
26455 * math/w_log2.c: Likewise.
26456 * math/w_log2f.c: Likewise.
26457 * math/w_log2l.c: Likewise.
26458 * math/w_logf.c: Likewise.
26459 * math/w_logl.c: Likewise.
26460 * math/w_pow.c: Likewise.
26461 * math/w_powf.c: Likewise.
26462 * math/w_powl.c: Likewise.
26463 * math/w_remainder.c: Likewise.
26464 * math/w_remainderf.c: Likewise.
26465 * math/w_remainderl.c: Likewise.
26466 * math/w_scalb.c: Likewise.
26467 * math/w_scalbf.c: Likewise.
26468 * math/w_scalbl.c: Likewise.
26469 * math/w_sinh.c: Likewise.
26470 * math/w_sinhf.c: Likewise.
26471 * math/w_sinhl.c: Likewise.
26472 * math/w_sqrt.c: Likewise.
26473 * math/w_sqrtf.c: Likewise.
26474 * math/w_sqrtl.c: Likewise.
26475 * math/w_tgamma.c: Likewise.
26476 * math/w_tgammaf.c: Likewise.
26477 * math/w_tgammal.c: Likewise.
26479 * po/ja.po: Update from translation team.
26481 2011-09-29 Andreas Jaeger <aj@suse.de>
26484 * sunrpc/netname.c (netname2host): Fix logic.
26488 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26490 * math/w_remainder.c (__remainder): Likewise.
26491 * math/w_remainderf.c (__remainderf): Likewise.
26492 * math/libm-test.inc (remainder_test): Add test cases.
26494 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26496 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26499 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26501 * string/test-memcmp.c: Avoid unncessary #defines.
26502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26504 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26506 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26507 Use new sse2 version for core i3 - i7 as it's faster
26508 than sse42 version.
26509 (bit_Prefer_PMINUB_for_stringop): New.
26510 * sysdeps/x86_64/rawmemchr.S: Update.
26511 Replace with faster SSE2 version.
26512 * sysdeps/x86_64/memrchr.S: New file.
26513 * sysdeps/x86_64/memchr.S: Update.
26514 Replace with faster SSE2 version.
26516 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26518 * elf/dl-load.c (lose): Add cast to avoid warning.
26520 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26522 * po/ca.po: Update from translation team.
26524 * inet/getnetgrent_r.c: Hook up nscd.
26525 * nscd/Makefile (routines): Add nscd_netgroup.
26526 (nscd-modules): Add netgroupcache.
26527 (CFLAGS-netgroupcache.c): Define.
26528 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26529 (cache_search): Add const to second parameter.
26530 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26532 (dbs): Add netgrdb entry.
26533 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26534 (verify_persistent_db): Handle netgrdb.
26535 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26536 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26538 (netgroup_response_header): Define.
26539 (innetgroup_response_header): Define.
26540 (datahead): Add netgroup_response_header and innetgroup_response_header
26542 * nscd/nscd.conf: Add entries for netgroup cache.
26543 * nscd/nscd.h (dbtype): Add netgrdb.
26544 (_PATH_NSCD_NETGROUP_DB): Define.
26545 (netgroup_iov_disabled): Declare.
26546 (xmalloc, xcalloc, xrealloc): Move declarations here.
26547 (cache_search): Adjust prototype.
26548 Add netgroup-related prototypes.
26549 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26550 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26551 (__nscd_innetgr): Declare.
26552 * nscd/selinux.c (perms): Use access_vector_t as element type and
26553 add netgroup-related initializers.
26554 * nscd/netgroupcache.c: New file.
26555 * nscd/nscd_netgroup.c: New file.
26556 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26557 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26558 For four parameters use innetgr.
26559 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26560 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26561 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26562 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26564 * nscd/connections.c (register_traced_file): Don't register file
26565 for disabled databases.
26567 2011-10-06 Ulrich Drepper <drepper@gmail.com>
26569 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26571 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26572 from tree and freeing node.
26574 2011-09-25 Jiri Olsa <jolsa@redhat.com>
26576 * nss/nsswitch.c (__nss_database_lookup): Handle
26577 nss_parse_service_list out of memory case.
26579 2011-09-15 Jiri Olsa <jolsa@redhat.com>
26581 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26582 out of memory case.
26584 2011-10-04 Andreas Schwab <schwab@redhat.com>
26586 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26587 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26589 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26590 elf_machine_rela, elf_machine_lazy_rel.
26591 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26592 (ELF_DYNAMIC_DO_REL): Likewise.
26593 (ELF_DYNAMIC_DO_RELA): Likewise.
26594 (ELF_DYNAMIC_RELOCATE): Likewise.
26595 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26596 to ELF_DYNAMIC_DO_REL.
26597 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26598 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26599 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26602 skip_ifunc, don't call ifunc function if non-zero.
26603 (elf_machine_rela): Likewise.
26604 (elf_machine_lazy_rel): Likewise.
26605 (elf_machine_lazy_rela): Likewise.
26606 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26607 (elf_machine_lazy_rel): Likewise.
26608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26610 (elf_machine_lazy_rel): Likewise.
26611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26613 (elf_machine_lazy_rel): Likewise.
26614 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26615 (elf_machine_lazy_rel): Likewise.
26616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26617 (elf_machine_lazy_rel): Likewise.
26618 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26619 (elf_machine_lazy_rel): Likewise.
26620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26621 (elf_machine_lazy_rel): Likewise.
26622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26623 (elf_machine_lazy_rel): Likewise.
26624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26625 (elf_machine_lazy_rel): Likewise.
26627 2011-09-28 Ulrich Drepper <drepper@gmail.com>
26629 * nss/nss_files/files-init.c (_nss_files_init): Use static
26630 initialization for all the *_traced_file variables.
26632 2011-09-28 Andreas Schwab <schwab@redhat.com>
26634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26636 2011-09-27 Roland McGrath <roland@hack.frob.com>
26639 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26641 2011-09-27 Andreas Schwab <schwab@redhat.com>
26643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26644 Reread the line before reparsing it.
26646 2011-09-26 Andreas Schwab <schwab@redhat.com>
26648 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26650 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26651 Maxim Kuvyrkov <maxim@codesourcery.com>
26652 Joseph Myers <joseph@codesourcery.com>
26654 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26655 if needed for __stack_chk_guard.
26657 2011-09-19 Roland McGrath <roland@hack.frob.com>
26659 * sysdeps/posix/spawni.c (script_execute): Always define it.
26660 It will be optimized away if unused.
26661 (maybe_script_execute): New function.
26662 (__spawni): Call it.
26664 * Makerules: Don't include tls.make.
26665 (config-tls): Always set to thread.
26666 * tls.make.c: File removed.
26668 2011-09-19 Mike Frysinger <vapier@gentoo.org>
26670 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26671 * config.make.in (CPPFLAGS-config): New substituted variable.
26673 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26678 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26679 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26681 2011-09-15 Roland McGrath <roland@hack.frob.com>
26683 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26684 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26686 (CALL_FAIL): Likewise.
26687 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26688 (CALL_FAIL): Macro removed.
26689 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26691 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26694 for __FINITE_MATH_ONLY__ == 1.
26696 2011-09-15 Andreas Schwab <schwab@redhat.com>
26698 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26699 __ieee754_sqrt instead of sqrt.
26700 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26701 __ieee754_sqrtf instead of sqrtf.
26702 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26703 __floorf instead of floorf.
26704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26705 __floorf, __truncf instead of floorf, truncf.
26707 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26709 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26711 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26712 __extern_always_inline.
26713 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26716 2011-09-14 Andreas Schwab <schwab@redhat.com>
26718 * elf/rtld.c (dl_main): Also relocate in dependency order when
26719 doing symbol dependency testing.
26721 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26724 Always define `refsym'.
26726 2011-09-13 Andreas Schwab <schwab@redhat.com>
26728 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26729 (__FD_ELT): Renamed from __FDELT.
26730 * misc/bits/select2.h (__FD_ELT): Likewise.
26731 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26732 __FD_MASK instead of __FDELT, __FDMASK.
26733 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26735 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26738 * elf/Makefile (gen-ldd): Fix pattern.
26740 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26741 (init_tls): Likewise.
26743 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26747 2011-09-12 Andreas Schwab <schwab@redhat.com>
26749 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26750 `struct cmsghdr *' instead of `void *'.
26751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26754 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26756 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26758 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26759 ldd_rewrite_script.
26761 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26763 * configure.in: Remove --with-tls option.
26764 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26765 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26766 out in case it is missing.
26767 * sysdeps/ia64/elf/configure.in: Likewise.
26768 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26769 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26770 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26771 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26772 * sysdeps/sh/elf/configure.in: Likewise.
26773 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26775 * sysdeps/x86_64/elf/configure.in: Likewise.
26776 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26777 * sysdeps/mach/hurd/tls.h: Likewise.
26780 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26783 * configure.in: Fix use of AC_INIT.
26785 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26787 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26789 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26791 * malloc/hooks.c: Likewise.
26794 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26795 variables statically.
26796 (narenas): Initialize.
26797 (list_lock): Initialize.
26798 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26799 initializtion of main_arena and list_lock. Small cleanups.
26800 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26801 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26802 Add initializers to main_arena and mp_.
26803 (malloc_state): Remove pagesize member. Change all users to use
26806 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26807 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26808 is always initialized.
26810 * malloc/malloc.c: Removed unused configurations and dead code.
26811 * malloc/arena.c: Likewise.
26812 * malloc/hooks.c: Likewise.
26813 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26815 * include/tls.h: Removed. USE___THREAD must always be defined.
26816 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26817 * elf/dl-libc.c: Likewise.
26818 * elf/dl-tsd.c: Likewise.
26819 * include/errno.h: Likewise.
26820 * include/netdb.h: Likewise.
26821 * include/resolv.h: Likewise.
26822 * inet/herrno-loc.c: Likewise.
26823 * inet/herrno.c: Likewise.
26824 * malloc/arena.c: Likewise.
26825 * malloc/hooks.c: Likewise.
26826 * malloc/malloc.c: Likewise.
26827 * resolv/res-state.c: Likewise.
26828 * resolv/res_libc.c: Likewise.
26829 * sysdeps/i386/dl-machine.h: Likewise.
26830 * sysdeps/ia64/dl-machine.h: Likewise.
26831 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26832 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26833 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26834 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26835 * sysdeps/sh/dl-machine.h: Likewise.
26836 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26838 * sysdeps/unix/i386/sysdep.S: Likewise.
26839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26840 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26850 * sysdeps/x86_64/dl-machine.h: Likewise.
26851 * tls.make.c: Likewise.
26853 * configure.in: Remove --with-__thread option. Make tests for
26854 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26855 tls_model attribute fail if no support is available. Remove
26857 * Makeconfig: Adjust for dropped configure option. All features are
26859 * Makerules: Likewise.
26860 * Versions.def: Likewise.
26861 * argp/argp-fmtstream.c: Likewise.
26862 * argp/argp-fmtstream.h: Likewise.
26863 * argp/argp-help.c: Likewise.
26864 * assert/assert.c: Likewise.
26865 * config.h.in: Likewise.
26866 * config.make.in: Likewise.
26867 * configure: Likewise.
26868 * configure.in: Likewise.
26869 * csu/Versions: Likewise.
26870 * csu/init.c: Likewise.
26871 * elf/tst-audit2.c: Likewise.
26872 * elf/tst-tls10.c: Likewise.
26873 * elf/tst-tls10.h: Likewise.
26874 * elf/tst-tls11.c: Likewise.
26875 * elf/tst-tls12.c: Likewise.
26876 * elf/tst-tls14.c: Likewise.
26877 * elf/tst-tlsmod11.c: Likewise.
26878 * elf/tst-tlsmod12.c: Likewise.
26879 * elf/tst-tlsmod13.c: Likewise.
26880 * elf/tst-tlsmod13a.c: Likewise.
26881 * elf/tst-tlsmod14a.c: Likewise.
26882 * elf/tst-tlsmod15b.c: Likewise.
26883 * elf/tst-tlsmod16a.c: Likewise.
26884 * elf/tst-tlsmod16b.c: Likewise.
26885 * elf/tst-tlsmod7.c: Likewise.
26886 * elf/tst-tlsmod8.c: Likewise.
26887 * elf/tst-tlsmod9.c: Likewise.
26888 * gmon/gmon.c: Likewise.
26889 * grp/fgetgrent_r.c: Likewise.
26890 * grp/putgrent.c: Likewise.
26891 * hurd/fopenport.c: Likewise.
26892 * include/libc-symbols.h: Likewise.
26893 * include/tls.h: Likewise.
26894 * intl/gettextP.h: Likewise.
26895 * intl/loadinfo.h: Likewise.
26896 * locale/global-locale.c: Likewise.
26897 * locale/localeinfo.h: Likewise.
26898 * mach/devstream.c: Likewise.
26899 * malloc/arena.c: Likewise.
26900 * malloc/set-freeres.c: Likewise.
26901 * misc/err.c: Likewise.
26902 * misc/getttyent.c: Likewise.
26903 * misc/mntent_r.c: Likewise.
26904 * posix/getopt.c: Likewise.
26905 * posix/wordexp.c: Likewise.
26906 * pwd/fgetpwent_r.c: Likewise.
26907 * resolv/Versions: Likewise.
26908 * resolv/res_hconf.c: Likewise.
26909 * shadow/fgetspent_r.c: Likewise.
26910 * shadow/putspent.c: Likewise.
26911 * stdio-common/printf_fphex.c: Likewise.
26912 * stdio-common/tmpfile.c: Likewise.
26913 * stdlib/abort.c: Likewise.
26914 * stdlib/fmtmsg.c: Likewise.
26915 * sunrpc/auth_unix.c: Likewise.
26916 * sunrpc/clnt_perr.c: Likewise.
26917 * sunrpc/clnt_tcp.c: Likewise.
26918 * sunrpc/clnt_udp.c: Likewise.
26919 * sunrpc/clnt_unix.c: Likewise.
26920 * sunrpc/openchild.c: Likewise.
26921 * sunrpc/svc_simple.c: Likewise.
26922 * sunrpc/svc_tcp.c: Likewise.
26923 * sunrpc/svc_udp.c: Likewise.
26924 * sunrpc/svc_unix.c: Likewise.
26925 * sunrpc/xdr.c: Likewise.
26926 * sunrpc/xdr_array.c: Likewise.
26927 * sunrpc/xdr_rec.c: Likewise.
26928 * sunrpc/xdr_ref.c: Likewise.
26929 * sunrpc/xdr_stdio.c: Likewise.
26931 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26933 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26935 2011-07-03 Andreas Jaeger <aj@suse.de>
26937 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26938 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26939 regenerate with gen-libm-tests.pl.
26941 2010-05-12 Petr Baudis <pasky@suse.cz>
26944 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26945 around j0() zero points by switching to j1().
26946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26951 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26958 Patch in part by Pavel Roskin <proski@gnu.org>.
26961 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26963 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26964 Free memory block if necessary.
26967 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26968 be NULL. Don't lock in this case.
26970 2011-09-09 Roland McGrath <roland@hack.frob.com>
26972 * elf/elf.h (ELFOSABI_GNU): New macro.
26973 (ELFOSABI_LINUX): Define to that.
26975 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26977 * string/strncat.c (strncat): Undef the symbol in case it has been
26978 defined in bits/string.h.
26980 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26982 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26984 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26987 2011-08-17 Andreas Jaeger <aj@suse.de>
26989 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26991 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26992 Ian Lance Taylor <iant@google.com>
26994 * math/libm-test.inc (lround_test): New testcase.
26995 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26997 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26999 * Makefile: Remove support for automatic cvs check-ins.
27000 * Makerules: Likewise.
27001 * config.make.in: Likewise.
27002 * configure.in: Likewise.
27003 * intl/Makefile: Likewise.
27004 * locale/Makefile: Likewise.
27005 * po/Makefile: Likewise.
27006 * posix/Makefile: Likewise.
27007 * sysdeps/gnu/Makefile: Likewise.
27008 * sysdeps/mach/hurd/Makefile: Likewise.
27009 * sysdeps/sparc/sparc32/Makefile: Likewise.
27012 * posix/Makefile (bug-regex32-ENV): Define.
27013 Patch by John Stanley <jpsinthemix@verizon.net>.
27015 * misc/Makefile (headers): Add bits/select2.h.
27016 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27017 * misc/bits/select2.h: New file.
27018 * include/bits/select2.h: New file.
27019 * debug/Makefile (routines): Add fdelt_chk.
27020 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27021 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27023 * debug/fdelt_chk.c: New file.
27025 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27026 * wcsmbs/test-wmemcmp.c: Likewise.
27027 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27028 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27030 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27032 * string/Makefile (strop-tests): Add memcmp.
27033 * string/test-wmemcmp.c: New file.
27034 * string/test-memcmp.c: Add wmemcmp support.
27036 2011-09-08 Roland McGrath <roland@hack.frob.com>
27039 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27042 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27043 garbage value in a __mach_port_mod_refs call in the cases of the
27044 task-self and thread-self ports.
27046 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27048 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27050 2011-09-08 Andreas Schwab <schwab@redhat.com>
27052 * elf/dl-load.c (lose): Check for non-null L.
27054 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27056 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27058 * elf/dl-libc.c (dlerror_run): Pass back error code from
27062 * elf/dl-load.c (lose): Free l_origin if it is valid.
27064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27071 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27073 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27075 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27076 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27079 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27080 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27081 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27082 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27083 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27084 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27086 2011-08-15 Alan Modra <amodra@gmail.com>
27089 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27090 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27091 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27092 ppc_mcount to static-only-routines.
27093 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27095 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27096 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27098 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27100 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27101 for finite and infinity parameters.
27103 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27106 and add nop instructions for throughput optimization.
27107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27109 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27112 aligned copy for power7 with vector-scalar instructions.
27113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27115 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27120 2011-09-07 Andreas Schwab <schwab@redhat.com>
27123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27126 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27129 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27130 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27134 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27137 Forgot to demangle the pointer.
27139 * sysdeps/i386/sysdep.h: Define atom_text_section.
27140 * sysdeps/x86_64/sysdep.h: Likewise.
27141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27142 section with atom_text_section.
27143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27150 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27151 already be defined. Change to take two parameters and don't assign
27152 result to variable. Adjust all users.
27153 Define INTERNAL_GETTIME if not already defined.
27154 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27157 HAVE_CLOCK_GETTIME_VSYSCALL.
27158 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27161 gettimeofday vsyscall, just use time.
27163 2011-09-06 Andreas Schwab <schwab@redhat.com>
27165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27168 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27170 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27174 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27176 syscall if possible.
27178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27180 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27181 e_ident. Don't pass to find_mapsXX.
27182 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27184 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27187 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27188 * sysdeps/x86_64/multiarch/strchr.S: Update.
27189 Check bit_slow_BSF bit.
27190 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27191 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27194 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27197 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27199 (tryshell): Define.
27200 (__spawni): Change last parameter to be flag. Test
27201 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27202 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27203 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27204 * posix/spawni.c: Likewise.
27205 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27206 * posix/spawnp.c: Likewise. Change normal version to use
27207 SPAWN_XFLAGS_USE_PATH.
27208 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27209 SPAWN_XFLAGS_TRY_SHELL.
27212 * posix/glob.h: Remove gcc 1.x support.
27215 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27217 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27220 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27222 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27223 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27224 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27225 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27229 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27231 * sysdeps/x86_64/wcscmp.S: New file.
27233 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27234 wcscmp-c wcscmp-sse2
27235 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27236 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27237 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27238 * wcsmbs/wcscmp.c: Allow renaming.
27240 2011-09-05 David S. Miller <davem@davemloft.net>
27242 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27243 stack slot, rather than the struct return pointer slot.
27244 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27245 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27247 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27249 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27251 * po/ja.po: Update from translation team.
27254 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27255 kernel in 64-bit binaries.
27257 2011-09-01 David S. Miller <davem@davemloft.net>
27259 * elf/elf.h (HWCAP_SPARC_*): Move to..
27260 * sysdeps/sparc/sysdep.h: this new file and add new values.
27261 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27262 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27263 _DL_HWCAP_COUNT to 24.
27264 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27266 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27267 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27268 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27270 instead of magic constants.
27271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27273 2011-08-31 David S. Miller <davem@davemloft.net>
27275 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27277 Reimplement to do errno handling inline.
27278 (SYSCALL_ERROR_HANDLER): New macro.
27279 (__SYSCALL_STRING): Do not do errno handling in asm.
27280 (__CLONE_SYSCALL_STRING): Delete.
27281 (__INTERNAL_SYSCALL_STRING): Delete.
27282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27283 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27284 (PSEUDO): Reimplement to do errno handling inline.
27285 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27286 (SYSCALL_ERROR_HANDLER): New macro.
27287 (__SYSCALL_STRING): Do not do errno handling in asm.
27288 (__CLONE_SYSCALL_STRING): Delete.
27289 (__INTERNAL_SYSCALL_STRING): Delete.
27290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27291 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27293 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27294 (inline_syscall*): Add 'err' argument.
27295 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27296 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27297 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27298 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27300 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27301 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27303 2011-08-30 Andreas Schwab <schwab@redhat.com>
27305 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27307 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27309 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27312 2011-08-24 David S. Miller <davem@davemloft.net>
27314 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27316 2011-08-24 Andreas Schwab <schwab@redhat.com>
27318 * elf/Makefile: Add rules to build and run unload8 test.
27319 * elf/unload8.c: New file.
27320 * elf/unload8mod1.c: New file.
27321 * elf/unload8mod1x.c: New file.
27322 * elf/unload8mod2.c: New file.
27323 * elf/unload8mod3.c: New file.
27325 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27328 2011-08-23 David S. Miller <davem@davemloft.net>
27330 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27331 subtract stack bias.
27332 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27333 %sp not %fp in calculations.
27334 (_JMPBUF_UNWINDS_ADJ): Likewise.
27336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27337 (aio_suspend): Call it to force an exception region around the
27338 AIO_MISC_WAIT() invocation.
27340 2011-08-23 Andreas Schwab <schwab@redhat.com>
27342 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27345 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27347 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27349 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27350 and <dl-machine.h>.
27351 (Elf64_FuncDesc): Remove.
27353 2011-08-22 David S. Miller <davem@davemloft.net>
27355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27356 sigaltstack check, add missing cfi directives.
27357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27358 missing cfi directives, and sigaltstack handling.
27360 2011-08-16 Andreas Schwab <schwab@redhat.com>
27363 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27364 object is seen twice.
27365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27367 * elf/Makefile (distribute): Add tst-initorder2.c.
27368 (tests): Add tst-initorder2.
27369 (modules-names): Add tst-initorder2a tst-initorder2b
27370 tst-initorder2c tst-initorder2d. Add rules to build them.
27371 ($(objpfx)tst-initorder2.out): New rule.
27372 * elf/tst-initorder2.c: New file.
27373 * elf/tst-initorder2.exp: New file.
27375 2011-08-22 Andreas Schwab <schwab@redhat.com>
27377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27379 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27380 dependencies back to end of function.
27382 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27383 $(elfobjdir)/ld.so.
27385 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27388 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27390 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27391 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27392 of __vdso_gettimeofday.
27393 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27394 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27396 (_libc_vdso_platform_setup): Remove initialization of
27397 __vdso_gettimeofday and __vdso_time.
27399 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27401 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27402 and fgetc_unlocked.
27403 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27406 * elf/dl-open.c (add_to_global): Report additions to the global scope
27407 for LD_DEBUG=scopes.
27408 (dl_open_worker): Also print scope of newly loaded dependencies.
27409 (_dl_show_scope): Indicate if there is no scope.
27412 * stdio-common/Makefile (tests): Add bug24.
27413 * stdio-common/bug24.c: New file.
27415 2011-08-19 Andreas Jaeger <aj@suse.de>
27418 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27419 non-existant file when using close-on-exec mode.
27421 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27424 the very first instruction.
27426 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27427 the CFI state in the end.
27428 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27429 inclusion of dl-trampoline.h.
27430 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27432 2011-08-19 Andreas Schwab <schwab@redhat.com>
27434 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27435 expectations for long double.
27437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27438 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27440 2011-08-14 David S. Miller <davem@davemloft.net>
27442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27443 artificual limit depends upon the system page size.
27445 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27447 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27448 * resolv/Makefile: Define CFLAGS-libresolv.
27450 2011-08-17 Andreas Schwab <schwab@redhat.com>
27452 * nss/makedb.c (compute_tables): Make variables used in nested
27455 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27457 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27458 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27459 if buffer was too small.
27461 * elf/pldd.c (main): Attach to all threads in the process.
27462 Rewrite /proc handling to use *at functions.
27464 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27466 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27467 specifies first scope to show.
27468 (dl_open_worker): Update callers. Move printing scope of new
27469 object to before the relocation.
27470 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27471 * sysdeps/generic/ldsodefs.h: Update declaration.
27473 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27474 string for the scope number.
27476 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27478 * nscd/servicescache.c (cache_addserv): Make sure written is always
27481 2011-08-14 Roland McGrath <roland@hack.frob.com>
27483 * sysdeps/i386/i486/bits/atomic.h
27484 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27485 statement expression, so as to suppress "set but not used" warning.
27486 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27488 * string/strncat.c (STRNCAT): Use prototype definition.
27490 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27491 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27493 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27494 (localedef-modules): Add localedef.
27495 (locale-modules): Add locale.
27497 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27498 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27499 to avoid a warning.
27501 2011-08-14 David S. Miller <davem@davemloft.net>
27503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27504 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27506 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27508 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27509 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27510 * elf/rtld.c (dl_main): Set l_name of vDSO.
27511 Call _dl_show_scope when DL_DEBUG_SCOPES.
27512 (process_dl_debug): Recognize scopes flag and also set it for all.
27513 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27514 Declare _dl_show_scope.
27516 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27517 (do_dlopen): Pass caller_dlopen to dl_open.
27518 (__libc_dlopen_mode): Initialize caller_dlopen.
27520 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27521 of libc. Make tolower call locale-independent. Optimize a bit by
27522 using isdigit instead of isalnum.
27523 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27525 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27527 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27528 was a dependency or dynamically loaded.
27530 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27532 * intl/l10nflist.c: Allow architecture-specific pop function.
27533 * sysdeps/x86_64/l10nflist.c: New file.
27535 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27538 2011-08-10 Andreas Schwab <schwab@redhat.com>
27540 * include/dirent.h: Add libc_hidden_proto for scandirat and
27541 scandirat64. Don't declare __scandirat64.
27542 * dirent/scandirat.c: Add libc_hidden_def.
27543 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27544 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27546 2011-08-10 David S. Miller <davem@davemloft.net>
27548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27554 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27556 * Versions.def [libc]: Add GLIBC_2.15.
27557 * dirent/Makefile (routines): Add scandirat and scandirat64.
27558 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27560 * dirent/dirent.h: Declare scandirat and scandirat64.
27561 * dirent/scandirat.c: New file.
27562 * dirent/scandirat64.c: New file.
27563 * sysdeps/wordsize-64/scandirat.c: New file.
27564 * sysdeps/wordsize-64/scandirat64.c: New file.
27565 * dirent/opendir.c: Define opendirat.
27566 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27568 * dirent/scandir64.c: Adjust for scandir.c change.
27569 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27570 __scandirat64, and __scandir_cancel_handler.
27571 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27572 additional parameter and use openat instead of open (outside of ld.so).
27573 Add new __opendir as wrapper around __opendirat.
27574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27575 here without requiring old scandirat implementation.
27577 2011-08-08 Ulrich Drepper <drepper@gmail.com>
27579 * dirent/scandir.c (cancel_handler): Renamed to
27580 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27581 defined. Adjust users.
27582 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27585 2011-08-04 Ulrich Drepper <drepper@gmail.com>
27587 * string/test-string.h (IMPL): Use __STRING to expand name and then
27590 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27593 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27595 * string/Makefile: Update.
27596 (strop-tests): Append strncat.
27597 * string/test-wcscmp.c: New file.
27598 New comprehensive test for wcscmp.
27599 * string/test-strcmp.c: Update.
27600 (WIDE): New define.
27602 2011-07-22 Andreas Schwab <schwab@redhat.com>
27604 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27607 2011-07-26 Andreas Schwab <schwab@redhat.com>
27609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27610 encoding to ACE if AI_IDN.
27612 2011-08-01 Jakub Jelinek <jakub@redhat.com>
27614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27615 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27617 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27620 Fix overflow bug in strncat.
27621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27623 * string/test-strncat.c: Update.
27624 Add new tests for checking overflow bugs.
27626 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27629 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27630 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27631 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27633 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27634 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27635 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27636 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27639 (USE_AS_STRCAT): Define.
27640 Add strcat and strncat support.
27641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27643 2011-07-25 Andreas Schwab <schwab@redhat.com>
27645 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27646 __n bigger than INT_MAX+1.
27647 (__strncmp_g): Likewise.
27649 2011-07-23 Ulrich Drepper <drepper@gmail.com>
27651 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27652 * libio/stido.h: Likewise.
27654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27659 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27666 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27671 (_dl_x86_64_save_sse): Likewise.
27673 2011-07-22 Ulrich Drepper <drepper@gmail.com>
27675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27677 (_dl_x86_64_save_sse): Likewise.
27679 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27681 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27683 2011-07-21 Andreas Schwab <schwab@redhat.com>
27685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27687 (_dl_x86_64_save_sse): Use correct AVX check.
27689 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27692 bug in strncpy/strncat.
27693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27695 2011-07-21 Ulrich Drepper <drepper@gmail.com>
27697 * string/tester.c (test_strcat): Add tests for different alignments
27698 of source and destination.
27699 (test_strncat): Likewise.
27701 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27704 * posix/glob.c (glob): Check passed in values before using them in
27705 expressions to avoid some overflows.
27706 (glob_in_dir): Likewise.
27709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27710 check for AVX enablement so that we don't crash with old kernels and
27712 * elf/tst-audit4.c: Add same checks here.
27713 * elf/tst-audit6.c: Likewise.
27715 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27717 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27719 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27721 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27723 * po/cs.po: Update from translation team.
27724 * po/bg.po: Likewise.
27726 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27728 * misc/sys/cdefs.h: Add support for const attribute.
27729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27730 to gnu_dev_{major,minor,makedev} functions.
27732 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27734 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27736 2011-07-20 Andreas Schwab <schwab@redhat.com>
27738 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27741 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27744 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27745 register in order to avoid conflicts with the soft frame pointer
27746 being held in r11 when necessary.
27747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27748 (INTERNAL_VSYSCALL_NCS): Likewise.
27750 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27752 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27753 * elf/dl-fini.c (_dl_fini): Adjust caller.
27754 * elf/dl-close.c (_dl_close_worker): Likewise.
27755 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27757 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27759 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27760 "aux_cache->nlibs < 0".
27762 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27763 in the reload-count case.
27765 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27768 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27769 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27771 * sysdeps/x86_64/multiarch/strcat.S: New file.
27772 * sysdeps/x86_64/multiarch/strncat.S: New file.
27773 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27774 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27775 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27776 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27778 (USE_AS_STRCAT): Define.
27779 Add strcat and strncat support.
27780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27781 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27782 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27783 * string/strncat.c: Update.
27784 (USE_AS_STRNCAT): Define.
27785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27786 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27788 * sysdeps/x86_64/multiarch/init-arch.h
27789 (bit_Prefer_PMINUB_for_stringop): New.
27790 (index_Prefer_PMINUB_for_stringop): Likewise.
27791 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27792 bit_Prefer_PMINUB_for_stringop.
27794 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27796 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27798 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27799 of casting of buffer.
27800 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27801 buffer32 and buffer64.
27802 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27803 writes instead of casting of buffer.
27804 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27806 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27809 2011-07-19 Andreas Schwab <schwab@redhat.com>
27811 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27813 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27815 * nscd/nscd.c (termination_handler): Don't do anything for a database
27816 if it has not yet been initialized.
27818 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27820 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27822 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27824 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27826 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27828 * po/nl.po: Update from translation team.
27829 * po/sv.po: Likewise.
27831 2011-07-16 Roland McGrath <roland@hack.frob.com>
27833 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27834 now disallowed by GCC.
27836 * configure.in (use-default-link): Default to yes if a test -shared
27837 link meets our qualifications.
27838 * configure: Regenerated.
27840 * config.make.in (output-format): New variable.
27841 * configure.in: Check for ld --print-output-format support.
27842 * configure: Regenerated.
27843 * Makerules ($(common-objpfx)format.lds)
27844 [$(output-format) != unknown]: Just use $(output-format),
27845 instead of the linker-script munging.
27847 2011-07-14 Roland McGrath <roland@hack.frob.com>
27849 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27850 of $(common-objpfx)shlib.lds.
27851 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27853 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27854 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27856 * configure.in (-z relro check): Adjust test code to add a large
27857 writable data section after it.
27858 * configure: Regenerated.
27860 2011-07-11 Roland McGrath <roland@hack.frob.com>
27862 * configure.in (-z relro check): Fix test code to make the variable
27864 * configure: Regenerated.
27866 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27868 * nscd/nscd.h (struct traced_file): Define.
27869 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27870 elements. Add traced_files.
27871 (inotify_fd): Declare.
27872 (register_traced_file): Declare.
27873 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27874 (inotify_fd): Export.
27875 (resolv_conf_descr): Remove.
27876 (nscd_init): Move inotify descriptor creation to main.
27877 Don't register files for notification here.
27878 (register_traced_file): New function.
27879 (invalidate_cache): Don't use reset_res to determine whether to call
27880 res_init, go through the list of registered files.
27881 (main_loop_poll): The inotify descriptors are now stored in the
27882 structures for the traced files.
27883 (main_loop_epoll): Likewise
27884 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27885 to __nss_disable_nscd.
27886 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27887 for a database anymore. Check the records for all the registered
27889 * nss/Makefile (libnss_files-routines): Add files-init.
27890 (libnss_db-routines): Add db-init.
27891 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27892 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27893 * nss/nss_db/db-init.c: New file.
27894 * nss/nss_files/files-init.c: New file.
27895 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27896 __nss_lookup_function.
27897 (__nss_lookup_function): Call nss_load_library.
27898 (nss_load_all_libraries): New function.
27899 (__nss_disable_nscd): Take parameter with callback function for files
27900 to register. Set is_nscd. Load all the DSOs for the NSS modules
27901 used for the cached services.
27902 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27903 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27904 options for features to all the files in nscd.
27906 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27908 2011-07-10 Roland McGrath <roland@hack.frob.com>
27910 * csu/elf-init.c (__libc_csu_init): Comment typo.
27912 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27914 * po/pl.po: Update from translation team.
27915 * po/ja.po: Likewise.
27916 * po/ru.po: Likewise.
27917 * po/ko.po: Likewise.
27918 * po/fr.po: Likewise.
27920 2011-07-09 Roland McGrath <roland@hack.frob.com>
27922 * configure.in (.ctors/.dtors header and trailer check):
27923 Use an empirical test on a built program.
27924 * configure: Regenerated.
27926 * configure.in (-z relro check): Use an empirical test on a built DSO.
27927 Detect, but do not require, on ia64.
27928 * configure: Regenerated.
27930 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27931 Update tests that use readelf to use $READELF instead.
27932 * configure: Regenerated.
27934 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27936 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27937 if the result is not used.
27939 2011-07-05 Andreas Jaeger <aj@suse.de>
27942 * stdlib/tst-strtod.c: Add testcase.
27944 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27947 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27948 The latter has a higher limit. Take additional parameter to pass to
27950 (__pathconf): Pass file to __statfs_link_max.
27951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27953 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27957 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27961 (__statfs_filesize_max): Likewise.
27962 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27964 2011-07-05 Andreas Jaeger <aj@suse.de>
27966 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27968 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27970 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27972 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27975 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27977 * Makefile (strop-tests): Add strncat.
27978 * string/test-strncat.c: New file.
27980 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27982 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27984 2011-06-21 Andreas Jaeger <aj@suse.de>
27986 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27987 Copy rule from iconvdata/Makefile.
27989 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27992 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27993 but no long options are defined, just return 'W'.
27995 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27998 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28000 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28002 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28004 (innetgr): Likewise.
28006 2011-07-05 Roland McGrath <roland@hack.frob.com>
28008 * config.make.in (install_root): Default to $(DESTDIR).
28010 2011-07-05 Ulrich Drepper <drepper@gmail.com>
28012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28014 2011-07-02 Roland McGrath <roland@hack.frob.com>
28016 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28018 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28019 containing directory rather than embedding absolute directory names.
28021 * scripts/check-local-headers.sh: Rewritten using awk.
28022 Match by word, not by line. Print error messages for matches.
28023 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28025 * Makerules [shlib-lds-flags empty]:
28026 ($(common-objpfx)libc_pic.opts): New target.
28027 ($(common-objpfx)libc_pic.os.clean): New target.
28028 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28030 * config.make.in (OBJCOPY): New variable.
28031 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28032 * configure: Regenerated.
28034 * config.make.in (use-default-link): New variable.
28035 * configure.in (use_default_link): Grok --with-default-link to set it.
28036 * configure: Regenerated.
28037 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28038 (shlib-lds, shlib-lds-flags): Define to empty.
28040 * Makerules (shlib-lds): New variable.
28041 (shlib-lds-flags): New variable.
28042 (build-shlib, build-moduile, build-module-asneeded): Use it.
28043 ($(common-objpfx)libc.so): Use $(shlib-lds).
28044 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28047 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28048 DT_FLAGS/DT_FLAGS_1 with zero flags.
28050 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28051 linker script munging.
28053 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28055 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28057 * crypt/sha512.c (sha512_process_block): Perform total addition using
28058 128-bit if possible.
28059 (__sha512_finish_ctx): Likewise.
28060 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28062 * crypt/sha256.c (SWAP64): Define.
28063 (sha256_process_block): Perform total addition using 64-bit if
28065 (__sha256_finish_ctx): Likewise.
28067 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28069 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28071 * nscd/hstcache.c (cache_addhst): Likewise.
28072 * nscd/grpcache.c (cache_addgr): Likewise.
28073 * nscd/aicache.c (addhstaiX): Likewise
28074 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28076 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28078 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28080 * nscd/hstcache.c (cache_addhst): Likewise.
28081 * nscd/grpcache.c (cache_addgr): Likewise.
28082 * nscd/aicache.c (addhstaiX): Likewise
28084 2011-07-01 Andreas Schwab <schwab@redhat.com>
28086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28087 domain only when needed.
28089 2011-06-30 Andreas Schwab <schwab@redhat.com>
28091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28092 is always restored.
28094 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28096 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28097 are re-adding the entry.
28098 * nscd/servicescache.c (cache_addserv): Likewise.
28100 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28102 * sysdeps/generic/dl-irel.h: fix protection against multiple
28104 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28106 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28109 * malloc/memusage.sh: Fix quoting in message.
28110 * debug/xtrace.sh: Likewise.
28112 * configure.in: Remove support for --experimental-malloc option, make
28114 * config.make.in: Likewise.
28115 * malloc/Makefile: Likewise.
28117 2011-06-27 Andreas Schwab <schwab@redhat.com>
28119 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28120 two-byte characters.
28122 2011-06-27 Roland McGrath <roland@hack.frob.com>
28124 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28125 AC_CACHE_CHECK invocation.
28126 * configure: Regenerated.
28128 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28130 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28133 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28134 bit from old_res_options.
28136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28138 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28139 value type for setfct.
28141 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28144 __gettimeofday instead of gettimeofday.
28146 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28148 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28150 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28157 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28160 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28161 strcpy-sse2-unaligned strncpy-sse2-unaligned
28162 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28163 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28164 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28165 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28166 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28169 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28170 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28171 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28172 (STRCPY): Support SSE2 and SSSE3 versions.
28174 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28178 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28179 kernels which artificially limit size of requests.
28181 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28184 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28185 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28186 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28187 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28188 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28189 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28190 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28193 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28194 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28195 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28196 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28197 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28199 Enable unaligned load optimization for Intel Core i3, i5 and i7
28201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28203 (index_Fast_Unaligned_Load): Define.
28204 (HAS_FAST_UNALIGNED_LOAD): Define.
28206 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28208 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28210 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28214 until it is clear that the information is realy needed.
28215 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28217 2011-06-22 Andreas Schwab <schwab@redhat.com>
28219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28221 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28224 /sys/devices/system/cpu/online if it is usable.
28226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28227 reading the information from the /proc filesystem to once a second.
28229 2011-06-21 Andreas Jaeger <aj@suse.de>
28231 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28232 NULL after inclusion of kernel headers.
28234 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28236 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28237 calls to internal_setent.
28240 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28241 addresses using gethostbyname4_r ignore IPv4 addresses.
28243 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28244 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28246 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28248 2011-06-20 David S. Miller <davem@davemloft.net>
28250 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28252 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28254 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28255 (elf_irel): Use it.
28256 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28257 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28258 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28259 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28260 * sysdeps/x86_64/dl-irel.h: Likewise.
28262 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28263 * elf/dl-sym.c: Likewise.
28265 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28267 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28268 need to dereference resplen2.
28270 2011-06-14 Andreas Schwab <schwab@redhat.com>
28272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28274 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28276 * Makeconfig: Define vardbdir and inst_vardbdir.
28277 * nss/Makefile: Add rules to install db-Makefile.
28279 * nss/nss_db/db-XXX.c: Cleanup.
28281 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28282 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28284 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28285 * nss/makedb.c: Implement -g option to specify that value strings
28286 are generated and should not be added to table iterated over for
28288 * nss/nss_db/db-initgroups.c: New file.
28290 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28293 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28294 (internal_getgrouplist): Adjust to name change.
28295 Update use_initgroups_entry if this is not the first call.
28296 * nss/databases.def: Add initgroups entry.
28298 * nss/makedb.c (compute_tables): Check result of multiple hash table
28299 sizes to minimize maximum chain length.
28301 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28303 * Versions.def: Add entry for libnss_db.
28304 * shlib-versions: Likewise.
28305 * nss/Makefile: Add rules to build libnss_db.
28306 * nss/Versions: Add libnss_db information. Organize libnss_files
28308 * nss/db-Makefile: Add gshadow support. Change rules for the new
28309 makedb progra. Some minor improvements to generate smaller files.
28310 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28312 * nss/makedb.c: ...here.
28313 Improve database format to be smaller and require less memory at
28315 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28317 * nss/nss_db/db-netgrp.c: Likewise.
28318 * nss/nss_db/db-open.c: Likewise.
28319 * nss/nss_files/flies-XXX.x: Adjust comments.
28320 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28321 * nss/nss_files/files-grp.c: Likewise.
28322 * nss/nss_files/files-hosts.c: Likewise.
28323 * nss/nss_files/files-network.c: Likewise.
28324 * nss/nss_files/files-proto.c: Likewise.
28325 * nss/nss_files/files-pwd.c: Likewise.
28326 * nss/nss_files/files-rpc.c: Likewise.
28327 * nss/nss_files/files-service.c: Likewise.
28328 * nss/nss_files/files-sgrp.c: Likewise.
28329 * nss/nss_files/files-spwd.c: Likewise.
28330 * nss/nss_db/db-alias.c: Removed.
28331 * nss/nss_db/dummy-db.h: Removed.
28333 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28335 * nss/makedb.c: Rewritten to not use database library.
28336 * nss/Makefile: Update to build new makedb program.
28338 2011-06-14 Andreas Jaeger <aj@suse.de>
28340 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28341 memset declaration.
28343 2011-06-10 Andreas Schwab <schwab@redhat.com>
28345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28348 2011-06-10 Roland McGrath <roland@hack.frob.com>
28350 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28351 * elf/Makefile ($(objpfx)ld.so): Likewise.
28353 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28354 Don't list ld.so twice in dependencies.
28356 * posix/bug-regex31.c: Include <stdlib.h>.
28358 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28360 * nis/nss_compat/compat-spwd.c
28361 (getspent_next_nss_netgr): Remove unused variable.
28362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28364 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28365 nonmembers" output to use the right array.
28367 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28369 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28371 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28372 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28373 * catgets/gencat.c (read_input_file): Likewise.
28374 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28376 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28377 variable definition inside #if's controlling its use.
28379 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28381 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28383 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28385 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28388 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28390 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28391 * configure: Regenerated.
28393 * Makerules: Revert last change.
28394 * elf/Makefile: Likewise.
28396 2011-06-09 Roland McGrath <roland@hack.frob.com>
28398 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28399 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28400 (reloc-link): Likewise.
28402 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28404 * elf/Makefile: Add rules to build pldd.
28405 * elf/pldd.c: New file.
28406 * elf/pldd-xx.c: New file.
28408 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28410 * version.h: Update for 2.15 development version.
28412 2011-06-07 David S. Miller <davem@davemloft.net>
28414 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28417 elf_machine_lazy_rel): Likewise.
28418 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28420 elf_machine_lazy_rel): Likewise.
28421 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28422 dl_hwcap via passed in argument.
28423 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28426 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28428 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28430 2011-06-06 Roland McGrath <roland@hack.frob.com>
28433 * manual/fdl-1.1.texi: New file, verbatim from:
28434 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28435 * manual/lgpl-2.1.texi: New file, verbatim from:
28436 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28437 * manual/Makefile (licenses): New variable, list those new file names.
28439 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28441 * manual/fdl.texi: File removed.
28442 * manual/lesser.texi: File removed.
28443 * manual/libc.texinfo (Copying, Documentation License):
28444 Use new @include file names, put @appendix directive before @include.
28446 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28449 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28450 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28451 (mq_open): Add __NTH.
28453 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28456 Assume Intel Core i3/i5/i7 processor if AVX is available.
28458 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28463 2011-05-31 Andreas Schwab <schwab@redhat.com>
28465 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28466 memory. Use alloca_account. Fix memory leak when retrying.
28468 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28470 * version.h (RELEASE): Bump for 2.14 release.
28471 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28473 * config.make.in (RANLIB): Remove entry.
28475 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28477 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28478 (libc.pot): Work around missing support for .ksh extension in xgettext.
28481 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28482 if both request failed.
28483 (send_dg): In case of server errors clear resplen or *resplen2.
28486 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28487 when there are multiple maps.
28488 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28489 (_dl_fini): Remove test here.
28491 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28493 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28496 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28497 bit from old_res_options.
28498 (gaih_inet): Likewise.
28501 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28504 * resolv/res_init.c (res_setoptions): Make the code more compact.
28507 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28511 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28513 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28516 * malloc/malloc.h: Declare malloc hook variables as volatile.
28518 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28522 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28523 raise in the comment.
28524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28526 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28528 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28531 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28532 grow the buffers more if it already has to be sufficient.
28533 (build_wcs_upper_buffer): Likewise.
28534 * posix/regexec.c (check_matching): Likewise.
28535 (clean_state_log_if_needed): Likewise.
28536 (extend_buffers): Don't enlarge buffers beyond size of the input
28538 Patches mostly by Emil Wojak <emil@wojak.eu>.
28539 * posix/bug-regex32.c: New file.
28540 * posix/Makefile (tests): Add bug-regex32.
28542 * locale/findlocale.c (_nl_find_locale): Return right away if
28543 _nl_explode_name failed.
28544 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28548 * debug/xtrace.sh: Unify messages.
28549 * malloc/memusage.sh: Likewise.
28552 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28553 time symbol from vDSO. Substitute with vsyscall if not available.
28554 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28557 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28558 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28560 Add sendmmsg and internal_sendmmsg.
28561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28562 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28565 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28566 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28569 2011-05-27 Ulrich Drepper <drepper@gmail.com>
28572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28573 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28579 * iconvdata/Makefile (tests): Add bug-iconv9.
28580 * iconvdata/bug-iconv9.c: New file.
28582 2011-05-27 Andreas Schwab <schwab@redhat.com>
28585 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28587 2011-05-25 Jakub Jelinek <jakub@redhat.com>
28589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28590 (struct user_regs_struct): Change intcs field back to cs.
28592 2011-05-25 Ulrich Drepper <drepper@gmail.com>
28594 * po/ja.po: Update from translation team.
28596 2011-05-23 Ulrich Drepper <drepper@gmail.com>
28599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28602 2011-05-20 Andreas Schwab <schwab@redhat.com>
28604 * stdlib/longlong.h: Update from GCC.
28606 2011-05-23 Andreas Schwab <schwab@redhat.com>
28608 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28610 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28611 Add parameter name.
28612 (__sysconf): Pass it down.
28614 2011-05-22 Ulrich Drepper <drepper@gmail.com>
28617 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28620 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28621 add in in __libc_use_alloca calls. Adjust callers.
28622 (glob): Use malloc in some situations.
28624 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28625 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28628 2011-05-21 Ulrich Drepper <drepper@gmail.com>
28630 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28631 and CLOCK_BOOTTIME_ALARM.
28634 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28637 * string/_strerror.c (__strerror_r): Print negative errors as signed
28641 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28642 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28643 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28645 * configure.in: Fix typo in redirection and correct removal of test
28646 files in two cases.
28649 * locale/setlocale.c (new_composite_name): Fix test to check for
28650 identical name of all categories.
28653 * libio/filedoalloc.c (local_isatty): New function.
28654 (_IO_file_doallocate): Use local_isatty.
28655 * stdio-common/perror.c (perror): In case a new stream is used
28656 forward the stream error.
28657 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28660 2011-05-20 Ulrich Drepper <drepper@gmail.com>
28663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28665 * include/alloca.h (extend_alloca_account): Define.
28668 * posix/regex.h: Fix comments with documentation of user-accessible
28669 fields after compilation and describe correct free'ing of pattern
28670 after re_compile_pattern.
28671 Patch by Reuben Thomas <rrt@sc3d.org>.
28673 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28675 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28676 and -mno-altivec to prevent the compiler from using Altivec and/or
28677 VSX instructions when the corresponding registers are not available.
28679 2011-05-19 Andreas Schwab <schwab@redhat.com>
28681 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28683 2011-05-19 Ulrich Drepper <drepper@gmail.com>
28685 * libio/freopen.c (freopen): Use __dup2, not dup2.
28686 * libio/freopen64.c (freopen64): Likewise.
28688 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28691 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28692 * math/Makefile (tests): Add test-powl.
28693 (CFLAGS-test-powl.c): Define.
28694 * math/test-powl.c: New file.
28696 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28698 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28700 2011-05-17 Ulrich Drepper <drepper@gmail.com>
28703 * iconvdata/gb18030.c: Update to GB18020-2005.
28705 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28707 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28708 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28709 Patch by Aharon Robbins <arnold@skeeve.com>.
28712 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28716 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28717 through underflows.
28720 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28721 point to strings before performing equality test for error_one_per_line
28725 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28729 (struct user_fpregs_struct): Avoid __uint*_t types.
28732 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28733 symbol info. Use it instead of calling _dl_addr locally.
28734 (lock_and_info): New function.
28735 (tr_freehook): Call lock_and_info and pass symbol info as additional
28736 parameter to tr_where.
28737 (tr_mallochook): Likewise.
28738 (tr_reallochook): Likewise.
28739 (tr_memalignhook): Likewise.
28741 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28742 used and couldn't be at all thread-safe.
28744 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28746 * libio/freopen.c (freopen): Don't close old file descriptor
28747 before the new one is opened. Instead dup the new file descriptor
28748 to the old one after the new stream is created.
28749 * libio/freopen64.c (freopen64): Likewise.
28750 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28751 * libio/fileops.c (_IO_new_file_close_it): Handle new
28752 _IO_FLAGS2_NOCLOSE flag.
28753 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28754 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28755 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28756 _IO_FLAGS2_NOCLOSE flag.
28757 * include/unistd.h: Add hidden_proto for dup3.
28758 Define __have_dup3.
28759 * io/dup3.c: Define hidden symbol.
28760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28763 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28764 when an incomplete long option is used.
28765 * posix/tst-getopt_long1.c: New file.
28766 * posix/Makefile (tests): Add tst-getopt_long1.
28769 * scripts/config.guess: Update from autoconf-2.68.
28770 * scripts/config.sub: Likewise.
28773 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28775 (has_cpuclock): ...this. New function.
28776 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28777 macro here based on has_cpuclock code.
28780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28781 First byte (not low byte) is now always NUL.
28782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28785 Use non-cancelable interfaces.
28788 * locale/iso-639.def: Add entry for Sorani.
28791 * include/stdlib.h: Move include protection to the right place.
28792 Define abort_msg_s. Declare __abort_msg with it.
28793 * stdlib/abort.c (__abort_msg): Adjust type.
28794 * assert/assert.c (__assert_fail_base): New function. Majority
28795 of code from __assert_fail. Allocate memory for __abort_msg with
28797 (__assert_fail): Now call __assert_fail_base.
28798 * assert/assert-perr.c: Remove bulk of implementation. Use
28799 __assert_fail_base.
28800 * include/assert.hL Declare __assert_fail_base.
28801 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28803 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28805 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28809 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28810 until all modules are registered in the DTV.
28811 * elf/Makefile: Add rules to build and run tst-tls19.
28812 * elf/tst-tls19.c: New file.
28813 * elf/tst-tls19mod1.c: New file.
28814 * elf/tst-tls19mod2.c: New file.
28815 * elf/tst-tls19mod3.c: New file.
28816 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28819 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28823 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28824 two-byte sequence errors.
28825 * iconvdata/Makefile (tests): Add bug-iconv8.
28826 * iconvdata/bug-iconv8.c: New file.
28829 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28832 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28835 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28836 (dummy_getcfa): New function.
28837 (init): Get _Unwind_GetCFA address, use dummy if not found.
28838 (backtrace_helper): In recursion check, also check whether CFA changes.
28839 (__backtrace): Completely initialize arg.
28841 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28842 storing incomplete byte sequence in state object. Avoid testing for
28843 guaranteed too small input if we know there is enough data available.
28845 2011-05-11 Andreas Schwab <schwab@redhat.com>
28847 * Makeconfig (+link-pie): Indent.
28848 * Rules (binaries-pie): Define if $(have-fpie) and
28850 (binaries-shared): Also filter out $(binaries-pie).
28851 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28852 * nscd/Makefile (others-pie): Add nscd.
28853 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28854 ($(objpfx)nscd): Remove command override.
28855 * login/Makefile (others-pie): Add pt_chown.
28856 ($(objpfx)pt_chown): Remove command override.
28857 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28858 remove command overrides.
28860 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28862 * libio/tst_putwc.c: Fix error messages.
28865 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28866 currently writing and seek to current position when not.
28867 * libio/Makefile (tests): Add bug-fclose1.
28868 * libio/bug-fclose1.c: New file.
28870 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28873 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28874 don't set DF_1_NODELETE here.
28875 (do_lookup_x): When entering new entry test for copy relocation
28876 and if necessary set DF_1_NODELETE flag.
28877 * elf/tst-unique4.cc: New file.
28878 * elf/tst-unique4.h: New file.
28879 * elf/tst-unique4lib.cc: New file.
28880 * elf/Makefile: Add rules to build and run tst-unique4.
28881 Patch by Piotr Bury <pbury@goahead.com>.
28883 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28886 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28889 * misc/mntent_r.c (addmntent): Flush the stream after the output
28892 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28893 (is_trusted_path_normalize): Skip initial colon. Append slash
28894 to empty buffer. Duplicate is_trusted_path code but allow
28895 constructed patch to be prefix.
28896 (is_dst): Allow $ORIGIN followed by /.
28897 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28898 Correct testing of result of is_trusted_path_normalize
28899 (decompose_rpath): Fix warning.
28901 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28904 * grp/initgroups.c (internal_getgrouplist): When we found the service
28905 list through the initgroups entry in nsswitch.conf do not always
28906 continue on a successful lookup. Don't always use the
28907 __nss_group_database value if it is set.
28908 * nss/nsswitch.conf (initgroups): Change action for successful db
28909 lookup to continue for compatibility.
28911 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28914 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28916 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28918 * iconvdata/tst-tables.sh: Likewise.
28919 * iconvdata/cp770.c: New file.
28920 * iconvdata/cp771.c: New file.
28921 * iconvdata/cp772.c: New file.
28922 * iconvdata/cp773.c: New file.
28923 * iconvdata/cp774.c: New file.
28924 * iconvdata/testdata/CP770: New file.
28925 * iconvdata/testdata/CP770..UTF8: New file.
28926 * iconvdata/testdata/CP771: New file.
28927 * iconvdata/testdata/CP771..UTF8: New file.
28928 * iconvdata/testdata/CP772: New file.
28929 * iconvdata/testdata/CP772..UTF8: New file.
28930 * iconvdata/testdata/CP773: New file.
28931 * iconvdata/testdata/CP773..UTF8: New file.
28932 * iconvdata/testdata/CP774: New file.
28933 * iconvdata/testdata/CP774..UTF8: New file.
28935 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28937 * iconvdata/gen-8bit-gap.sh: Likewise.
28938 * iconvdata/gen-8bit.sh: Likewise.
28940 * locale/iso-639.def: Add ary entry.
28943 * locale/C-translit.h.in: Add U20A1 transliteration.
28946 * locale/iso-639.def: Add wae entry.
28947 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28950 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28954 * locale/C-translit.h.in: Add entry for U20B9.
28955 Patch by pravin.d.s@gmail.com.
28957 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28960 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28961 ENAMETOOLONG use generic getcwd.
28962 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28963 in rtld. Use *stat64.
28964 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28965 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28966 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28967 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28968 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28969 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28970 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28971 __fstatat64 macros.
28972 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28973 * dirent/rewinddir.c: Add libc_hidden_def.
28974 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28975 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28977 * include/dirent.h (__alloc_dir): Add flags parameter.
28978 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28979 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28981 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28982 from fdopendir if O_CLOEXEC is already set.
28984 2011-03-15 Alan Modra <amodra@gmail.com>
28986 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28987 l_tls_firstbyte_offset non-zero. Save padding offset in
28988 l_tls_firstbyte_offset for later use.
28989 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28990 freeing static tls block.
28992 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28994 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28995 where #ifdef was intended. The intent is to prevent ARG_MAX from
28996 being defined by the kernel headers.
28998 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29001 * resolv/resolv.h: Define RES_NOTLDQUERY.
29002 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29003 no-tld-query and set RES_NOTLDQUERY.
29004 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29005 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29006 modern BIND to search name as TLD unless forbidden.
29008 2011-05-07 Petr Baudis <pasky@suse.cz>
29009 Ulrich Drepper <drepper@gmail.com>
29012 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29013 (is_trusted_path): ...to here.
29014 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29015 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29016 using is_trusted_path_normalize() in setuid scripts.
29018 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29021 __BEGIN/__END_DECLS.
29023 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29026 NSS_STATUS_NOTFOUND if no record was found.
29028 2011-05-05 Andreas Schwab <schwab@redhat.com>
29030 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29031 (headers-not-in-tirpc): Remove rpc/netdb.h
29032 * resolv/netdb.h: Revert last change.
29034 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29036 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29037 circular dependency between libgcc.a and libc.a.
29039 2011-05-05 Andreas Schwab <schwab@redhat.com>
29041 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29042 * nis/Makefile: Don't install rpcsvc/*.
29043 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29044 instead of <rpc/types.h>.
29045 (MAXHOSTNAMELEN): Define.
29047 2011-05-03 Andreas Schwab <schwab@redhat.com>
29049 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29051 2011-04-28 Maciej Babinski <mbabinski@google.com>
29054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29055 gethostbyname4_r when IPv6 results are possible.
29057 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29060 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29061 _PC_PIPE_BUF handling.
29063 2011-04-30 Bruno Haible <bruno@clisp.org>
29066 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29067 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29069 * inet/getnameinfo.c (getnameinfo): Likewise.
29071 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29073 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29074 to groups setting in database lookup.
29075 * nss/nsswitch.conf: Add initgroups entry.
29077 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29080 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29082 Patch by Eric Blake <eblake@redhat.com>.
29084 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29086 * sunrpc/Makefile (need-export-routines): Add svc_run.
29087 (routines): Remove svc_run.
29088 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29089 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29090 * sunrpc/svc_run.c (svc_run): Likewise.
29091 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29093 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29096 problem in reallocation in last patch.
29098 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29100 * sunrpc/Makefile: Move inclusion of Rules.
29102 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29104 * nss/nss_files/files-initgroups.c: New file.
29105 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29106 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29107 _nss_files_initgroups_dyn.
29109 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29111 * elf/elf.h (R_ARM_IRELATIVE): Define.
29113 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29115 * po/ru.po: Update from translation team.
29117 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29119 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29122 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29125 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29126 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29131 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29135 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29139 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29142 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29144 * stdlib/bug-getcontext.c: New file.
29145 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29147 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29149 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29150 instructions into .machine "z9-109".
29151 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29152 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29154 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29156 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29157 between environment variables and auxiliary vector.
29159 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29161 * Makefile: Add rules to build linkobj/libc.so.
29162 * include/libc-symbols.h: Define libc_hidden_nolink.
29163 * include/rpc/auth.h: Mark functions which are to be hidden.
29164 * include/rpc/auth_des.h: Likewise.
29165 * include/rpc/auth_unix.h: Likewise.
29166 * include/rpc/clnt.h: Likewise.
29167 * include/rpc/des_crypt.h: Likewise.
29168 * include/rpc/key_prot.h: Likewise.
29169 * include/rpc/pmap_clnt.h: Likewise.
29170 * include/rpc/pmap_prot.h: Likewise.
29171 * include/rpc/pmap_rmt.h: Likewise.
29172 * include/rpc/rpc_msg.h: Likewise.
29173 * include/rpc/svc.h: Likewise.
29174 * include/rpc/svc_auth.h: Likewise.
29175 * include/rpc/xdr.h: Likewise.
29176 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29177 * nss/Makefile: Likewise.
29178 * sunrpc/Makefile: Don't install headers. Build library with normal
29179 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29180 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29181 for the compat linking library. Remove use of INTDEF/INTUSE.
29182 * sunrpc/auth_none.c: Likewise.
29183 * sunrpc/auth_unix.c: Likewise.
29184 * sunrpc/authdes_prot.c: Likewise.
29185 * sunrpc/authuxprot.c: Likewise.
29186 * sunrpc/clnt_gen.c: Likewise.
29187 * sunrpc/clnt_perr.c: Likewise.
29188 * sunrpc/clnt_raw.c: Likewise.
29189 * sunrpc/clnt_simp.c: Likewise.
29190 * sunrpc/clnt_tcp.c: Likewise.
29191 * sunrpc/clnt_udp.c: Likewise.
29192 * sunrpc/clnt_unix.c: Likewise.
29193 * sunrpc/des_crypt.c: Likewise.
29194 * sunrpc/des_soft.c: Likewise.
29195 * sunrpc/get_myaddr.c: Likewise.
29196 * sunrpc/key_call.c: Likewise.
29197 * sunrpc/key_prot.c: Likewise.
29198 * sunrpc/netname.c: Likewise.
29199 * sunrpc/pm_getmaps.c: Likewise.
29200 * sunrpc/pm_getport.c: Likewise.
29201 * sunrpc/pmap_clnt.c: Likewise.
29202 * sunrpc/pmap_prot.c: Likewise.
29203 * sunrpc/pmap_prot2.c: Likewise.
29204 * sunrpc/pmap_rmt.c: Likewise.
29205 * sunrpc/publickey.c: Likewise.
29206 * sunrpc/rpc_cmsg.c: Likewise.
29207 * sunrpc/rpc_common.c: Likewise.
29208 * sunrpc/rpc_dtable.c: Likewise.
29209 * sunrpc/rpc_prot.c: Likewise.
29210 * sunrpc/rpc_thread.c: Likewise.
29211 * sunrpc/rtime.c: Likewise.
29212 * sunrpc/svc.c: Likewise.
29213 * sunrpc/svc_auth.c: Likewise.
29214 * sunrpc/svc_authux.c: Likewise.
29215 * sunrpc/svc_raw.c: Likewise.
29216 * sunrpc/svc_run.c: Likewise.
29217 * sunrpc/svc_simple.c: Likewise.
29218 * sunrpc/svc_tcp.c: Likewise.
29219 * sunrpc/svc_udp.c: Likewise.
29220 * sunrpc/svc_unix.c: Likewise.
29221 * sunrpc/svcauth_des.c: Likewise.
29222 * sunrpc/xcrypt.c: Likewise.
29223 * sunrpc/xdr.c: Likewise.
29224 * sunrpc/xdr_array.c: Likewise.
29225 * sunrpc/xdr_float.c: Likewise.
29226 * sunrpc/xdr_intXX_t.c: Likewise.
29227 * sunrpc/xdr_mem.c: Likewise.
29228 * sunrpc/xdr_rec.c: Likewise.
29229 * sunrpc/xdr_ref.c: Likewise.
29230 * sunrpc/xdr_sizeof.c: Likewise.
29231 * sunrpc/xdr_stdio.c: Likewise.
29233 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29236 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29237 * sysdeps/ia64/dl-tls.h: Likewise.
29238 * sysdeps/powerpc/dl-tls.h: Likewise.
29239 * sysdeps/s390/dl-tls.h: Likewise.
29240 * sysdeps/sh/dl-tls.h: Likewise.
29241 * sysdeps/sparc/dl-tls.h: Likewise.
29242 * sysdeps/x86_64/dl-tls.h: Likewise.
29243 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29245 2011-03-14 Andreas Schwab <schwab@redhat.com>
29247 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29248 rpath element also skip the following colon.
29249 (expand_dynamic_string_token): Add is_path parameter and pass
29250 down to DL_DST_REQUIRED and _dl_dst_substitute.
29251 (decompose_rpath): Call expand_dynamic_string_token with
29252 non-zero is_path. Ignore empty rpaths.
29253 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29256 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29261 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29264 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29265 Patch by Filipe David Manana <fdmanana@apache.org>.
29267 2011-04-07 Andreas Schwab <schwab@redhat.com>
29269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29270 Maintain aligned stack.
29271 (CHECK_RSP): Remove unused macro.
29273 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29275 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29276 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29278 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29280 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29282 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29284 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29287 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29288 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29289 * sysdeps/x86_64/memmove.c: New file.
29290 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29291 (memcpy): Renamed to ...
29292 (__new_memcpy): This.
29293 (memcpy): Provide GLIBC_2_14 memcpy.
29294 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29295 (memcpy): Provide GLIBC_2_2_5 memcpy.
29297 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29300 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29302 2011-03-30 Andreas Schwab <schwab@redhat.com>
29304 * misc/syncfs.c: New file.
29305 * misc/Makefile (routines): Add syncfs.
29306 * posix/unistd.h: Declare syncfs.
29307 * sysdeps/unix/syscalls.list: Add syncfs.
29309 2011-04-01 Andreas Schwab <schwab@redhat.com>
29311 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29318 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29321 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29331 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29332 sync_file_range.c with -fexceptions.
29333 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29334 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29335 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29336 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29337 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29338 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29340 sync_file_range as cancellation point
29341 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29342 now a wrapper around __call_sync_file_range with cancellation handling.
29343 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29344 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29345 function name to __call_sync_file_range.
29346 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29347 Add call_sync_file_range.
29349 2011-04-01 Andreas Schwab <schwab@redhat.com>
29351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29354 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29356 * iconv/iconv.h: Fix typo in comment.
29357 * io/fcntl.h: Likewise.
29358 * libio/stdio.h: Likewise.
29359 * posix/spawn.h: Likewise.
29360 * posix/unistd.h: Likewise.
29361 * stdlib/stdlib.h: Likewise.
29362 * time/time.h: Likewise.
29363 * wcsmbs/wchar.h: Likewise.
29365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29366 open_by_handle): Add.
29367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29368 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29369 Augment a few comments.
29370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29375 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29378 * io/fcntl.h (AT_EMPTY_PATH): Define.
29380 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29382 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29383 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29384 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29386 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29387 * Versions.def: Add GLIBC_2.14.
29388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29391 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29393 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29395 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29397 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29400 * string/test-strncmp.c (do_page_test): New function.
29401 (check2): Likewise.
29402 (test_main): Call check2.
29403 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29405 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29409 Handle cache information in CPU leaf 4.
29410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29412 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29415 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29416 character representation.
29417 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29419 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29422 END(__isnan) to END(__isnanf) to match function entry point/label
29423 EALIGN(__isnanf,...).
29425 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29427 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29429 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29432 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29433 copy from the symbol referenced in the relocation to initialize the
29435 Patch by Piotr Bury <pbury@goahead.com>.
29436 * elf/Makefile: Add rules to build and tst-unique3.
29437 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29438 * elf/tst-unique3.cc: New file.
29439 * elf/tst-unique3.h: New file.
29440 * elf/tst-unique3lib.cc: New file.
29441 * elf/tst-unique3lib2.cc: New file.
29443 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29445 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29447 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29448 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29451 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29453 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29454 to-be-loaded object along a path to loader is ld.so.
29456 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29457 Ulrich Drepper <drepper@gmail.com>
29459 * sysdeps/x86_64/memset.S: After aligning destination, code
29460 branches to different locations depending on the value of
29461 misalignment, when multiarch is enabled. Fix this.
29463 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29465 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29466 Set _x86_64_preferred_memory_instruction for AMD processsors.
29467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29468 Set bit_Prefer_SSE_for_memop for AMD processors.
29470 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29472 * libio/fmemopen.c (fmemopen): Optimize a bit.
29474 2011-03-03 Andreas Schwab <schwab@redhat.com>
29476 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29478 2011-03-03 Roland McGrath <roland@redhat.com>
29480 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29482 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29484 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29485 __bzero_ultra1 instead of __memset_ultra1.
29487 2011-02-23 Andreas Schwab <schwab@redhat.com>
29488 Ulrich Drepper <drepper@gmail.com>
29491 * include/link.h (struct link_map): Add l_orig_initfini.
29492 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29493 returning unsuccessfully.
29494 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29495 close of a file loaded at startup, restore the original l_initfini
29497 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29498 list, store the pointer.
29499 * elf/Makefile ($(objpfx)noload-mem): New rule.
29500 (noload-ENV): Define.
29501 (tests): Add $(objpfx)noload-mem.
29502 * elf/noload.c: Include <memcheck.h>.
29503 (main): Call mtrace. Close all opened handles.
29505 2011-02-17 Andreas Schwab <schwab@redhat.com>
29508 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29509 dependencies are missing.
29511 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29513 Fix __if_freereq crash: Unlike the generic version which uses free,
29515 * sysdeps/mach/hurd/ifreq.h: New file.
29517 2011-01-27 Petr Baudis <pasky@suse.cz>
29518 Ulrich Drepper <drepper@gmail.com>
29521 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29522 to extend_alloca().
29523 * stdio-common/bug23.c: New file.
29524 * stdio-common/Makefile (tests): Add bug23.
29526 2010-09-28 Andreas Schwab <schwab@redhat.com>
29527 Ulrich Drepper <drepper@gmail.com>
29530 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29531 before performing relro protection. At old place add assertion
29532 to make sure nothing changed.
29534 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29535 Glauber de Oliveira Costa <glommer@gmail.com>
29537 * elf/elf.h: Add new ARM TLS relocs.
29539 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29542 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29544 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29546 * sysdeps/wordsize-64/tst-writev.c: New file.
29548 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29550 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29551 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29552 insns in _dl_start to prevent a TOC reference before relocs are
29555 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29558 * Makeconfig: Remove RANLIB definition.
29559 * Makerules: Don't use RANLIB.
29560 * aclocal.m4: Remove ranlib test.
29561 * configure.in: No need to check for ranlib.
29562 * elf/rtld-Rules: Don't use RANLIB.
29564 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29566 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29568 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29569 inclusion protection macro.
29571 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29572 SIGRTMIN and SIGRTMAX and print information in that case only when
29573 SIGRTMIN is defined.
29575 2011-02-11 Jakub Jelinek <jakub@redhat.com>
29577 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29578 arginfo fn returning -1.
29580 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29581 and thousands string is zero terminated.
29583 2011-02-03 Andreas Schwab <schwab@redhat.com>
29585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29586 sysdeps/unix/sysv/linux/bits/socket.h.
29588 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29590 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29591 (__CPU_COUNT): Remove old macros.
29592 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29593 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29594 (__CPU_ALLOC, __CPU_FREE): Add macros.
29595 (__sched_cpualloc, __sched_cpufree): Add declarations.
29597 2011-02-05 Ulrich Drepper <drepper@gmail.com>
29599 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29600 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29601 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29602 (readdhstai): Return value of addhstaiX call.
29603 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29604 (addgrbyX): Return value returned by cache_addgr.
29605 (readdgrbyname): Return value returned by addgrbyX.
29606 (readdgrbygid): Likewise.
29607 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29608 (addpwbyX): Return value returned by cache_addpw.
29609 (readdpwbyname): Return value returned by addhstbyX.
29610 (readdpwbyuid): Likewise.
29611 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29612 (addservbyX): Return value returned by cache_addserv.
29613 (readdservbyname): Return value returned by addservbyX:
29614 (readdservbyport): Likewise.
29615 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29616 (addhstbyX): Return value returned by cache_addhst.
29617 (readdhstbyname): Return value returned by addhstbyX.
29618 (readdhstbyaddr): Likewise.
29619 (readdhstbynamev6): Likewise.
29620 (readdhstbyaddrv6): Likewise.
29621 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29622 (readdinitgroups): Return value returned by addinitgroupsX.
29623 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29624 (prune_cache): Keep track of timeout value of re-added entries.
29625 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29626 * nscd/nscd.h: Adjust prototypes of readd* functions.
29628 2011-02-04 Roland McGrath <roland@redhat.com>
29630 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29631 (nis_stats): Likewise.
29632 * nis/nis_modify.c (nis_modify): Likewise.
29633 * nis/nis_remove.c (nis_remove): Likewise.
29634 * nis/nis_add.c (nis_add): Likewise.
29636 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29638 * posix/fnmatch_loop.c: Add some consts.
29640 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29642 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29645 * config.make.in (config-cflags-novzeroupper): Define.
29646 * configure.in: Substitute libc_cv_cc_novzeroupper.
29647 * elf/Makefile (AVX-CFLAGS): Define.
29648 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29649 (CFLAGS-tst-auditmod4a.c): Likewise.
29650 (CFLAGS-tst-auditmod4b.c): Likewise.
29651 (CFLAGS-tst-auditmod6b.c): Likewise.
29652 (CFLAGS-tst-auditmod6c.c): Likewise.
29653 (CFLAGS-tst-auditmod7b.c): Likewise.
29654 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29656 2011-02-02 Ulrich Drepper <drepper@gmail.com>
29658 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29659 function to the callback.
29660 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29662 2011-02-02 Andreas Schwab <schwab@redhat.com>
29664 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29667 2011-01-19 Ulrich Drepper <drepper@gmail.com>
29670 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29672 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29674 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29677 * elf/Makefile: Add rules to build and run new test.
29678 * elf/tst-initorder.c: New file.
29679 * elf/tst-initorder.exp: New file.
29680 * elf/tst-initordera1.c: New file.
29681 * elf/tst-initordera2.c: New file.
29682 * elf/tst-initordera3.c: New file.
29683 * elf/tst-initordera4.c: New file.
29684 * elf/tst-initorderb1.c: New file.
29685 * elf/tst-initorderb2.c: New file.
29686 * elf/tst-order-a1.c: New file.
29687 * elf/tst-order-a2.c: New file.
29688 * elf/tst-order-a3.c: New file.
29689 * elf/tst-order-a4.c: New file.
29690 * elf/tst-order-b1.c: New file.
29691 * elf/tst-order-b2.c: New file.
29692 * elf/tst-order-main.c: New file.
29693 New test case by George Gensure <werkt0@gmail.com>.
29695 2010-10-01 Andreas Schwab <schwab@redhat.com>
29697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29698 decoding ACE if AI_CANONIDN.
29700 2011-01-18 Ulrich Drepper <drepper@gmail.com>
29702 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29704 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29706 * version.h (RELEASE): Bump for 2.13 release.
29707 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29709 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29713 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29720 * posix/getconf.c: Update copyright year.
29721 * catgets/gencat.c: Likewise.
29722 * csu/version.c: Likewise.
29723 * debug/catchsegv.sh: Likewise.
29724 * debug/xtrace.sh: Likewise.
29725 * elf/ldconfig.c: Likewise.
29726 * elf/ldd.bash.in: Likewise.
29727 * elf/sprof.c (print_version): Likewise.
29728 * iconv/iconv_prog.c: Likewise.
29729 * iconv/iconvconfig.c: Likewise.
29730 * locale/programs/locale.c: Likewise.
29731 * locale/programs/localedef.c: Likewise.
29732 * malloc/memusage.sh: Likewise.
29733 * malloc/mtrace.pl: Likewise.
29734 * nscd/nscd.c (print_version): Likewise.
29735 * nss/getent.c: Likewise.
29737 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29738 PF_CAIF, and PF_ALG.
29739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29741 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29743 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29744 (modules-names): Use them.
29745 (ifunc-test-modules, ifunc-pie-tests): Define.
29746 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29747 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29748 (test-extras): Likewise.
29749 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29750 $(compile-command.c).
29751 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29752 (all-built-dso): Define.
29753 (check-textrel.out, check-execstack.out): Depend on it.
29755 * configure.in: Don't override --enable-multi-arch.
29757 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29760 * nscd/hstcache.c (tryagain): Define.
29761 (cache_addhst): Return tryagain not notfound for temporary errors.
29762 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29765 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29769 to make the syscall.
29770 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29773 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29774 and fall back to matching as normal character if the string ends before
29775 the matching ']' is found. This is what POSIX requires.
29776 * posix/testfnm.c: Adjust test result.
29777 * posix/globtest.sh: Adjust test result. Add new test.
29778 * posix/tst-fnmatch.input: Likewise.
29779 * posix/tst-fnmatch2.c: Add new test.
29781 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29783 * elf/Makefile (check-execstack): Revert last change. Depend on
29785 (check-execstack.h): New target.
29786 (generated): Add check-execstack.h.
29787 * elf/check-execstack.c: Include "check-execstack.h".
29788 (main): Revert last change.
29789 (handle_file): Return zero if GNU_STACK is absent and
29790 DEFAULT_STACK_PERMS doesn't include PF_X.
29792 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29794 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29795 in child fails because the descriptor is already closed.
29796 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29797 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29801 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29805 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29806 temporary buffer used to handle multi lookups locally.
29807 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29809 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29811 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29814 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29816 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29817 alignment for SSE2.
29819 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29822 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29823 characters. When rounding increased number of integer digits recompute
29825 * stdio-common/tst-grouping.c: New file.
29826 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29828 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29830 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29831 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29833 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29835 * bits/select.h: Likewise.
29837 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29839 * po/ja.po: Update from translation team.
29841 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29844 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29845 implementation just like for lxstat, fxstatat, et al.
29847 2010-12-27 Jim Meyering <meyering@redhat.com>
29850 * posix/regexec.c (build_trtable): Return failure indication upon
29851 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29853 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29856 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29857 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29862 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29865 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29866 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29868 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29870 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29871 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29872 script has SORT_BY_INIT_PRIORITY.
29873 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29874 NO_CTORS_DTORS_SECTIONS is defined.
29875 * elf/soinit.c: Likewise.
29876 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29877 NO_CTORS_DTORS_SECTIONS is defined.
29878 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29879 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29880 * sysdeps/sh/init-first.c: Likewise.
29881 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29883 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29885 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29886 always use the slow path.
29888 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29890 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29891 similar rule which adds the sysdep directories to the header search in
29892 order to pick up the correct platform stackinfo.h.
29893 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29894 perform test if it is, otherwise return successfully without testing.
29895 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29896 DEFAULT_STACK_PERMS define in stackinfo.h.
29897 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29898 defined in stackinfo.h.
29899 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29900 DEFAULT_STACK_PERMS defined in stackinfo.h.
29901 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29902 * sysdeps/ia64/stackinfo.h: Likewise.
29903 * sysdeps/s390/stackinfo.h: Likewise.
29904 * sysdeps/sh/stackinfo.h: Likewise.
29905 * sysdeps/sparc/stackinfo.h: Likewise.
29906 * sysdeps/x86_64/stackinfo.h: Likewise.
29907 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29908 PF_X for powerpc64. Retain PF_X for powerpc32.
29910 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29912 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29914 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29915 GETDENTS_64BIT_ALIGNED.
29917 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29919 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29921 2010-12-10 Andreas Schwab <schwab@redhat.com>
29923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29926 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29927 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29929 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29930 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29932 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29935 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29938 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29940 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29942 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29944 * po/it.po: Update from translation team.
29946 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29951 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29953 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29955 2010-11-24 Andreas Schwab <schwab@redhat.com>
29957 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29959 (gaih_getanswer_slice): Likewise.
29961 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29965 2010-05-31 Petr Baudis <pasky@suse.cz>
29968 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29969 silently even in the chroot mode.
29971 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29974 last patch a bit. Pretty printing
29976 2010-05-31 Petr Baudis <pasky@suse.cz>
29979 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29980 initialization of skip_initgroups_dyn.
29982 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29987 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29989 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29991 2010-11-11 Andreas Schwab <schwab@redhat.com>
29993 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29994 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29995 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29996 ($(objpfx)tst-fnmatch-mem): New rule.
29997 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29998 * posix/tst-fnmatch.c (main): Call mtrace.
30000 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30003 Support Intel processor model 6 and model 0x2c.
30005 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
30007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30010 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30013 * string/test-strncasecmp.c (check_result): New function.
30014 (do_one_test): Use it.
30015 (check1): New function.
30016 (test_main): Use it.
30017 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30018 Support strcasecmp and strncasecmp.
30020 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30023 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30026 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30028 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30032 * sysdeps/x86_64/multiarch/bzero.S: New file.
30033 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30034 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30035 * sysdeps/x86_64/multiarch/memset.S: New file.
30036 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30038 Set bit_Prefer_SSE_for_memop for Intel processors.
30039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30041 (index_Prefer_SSE_for_memop): Define.
30042 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30044 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30046 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30047 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30049 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30053 (__x86_64_raw_data_cache_size_half): Likewise.
30054 (__x86_64_raw_shared_cache_size): Likewise.
30055 (__x86_64_raw_shared_cache_size_half): Likewise.
30057 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30058 (__x86_64_raw_data_cache_size_half): Likewise.
30059 (__x86_64_raw_shared_cache_size): Likewise.
30060 (__x86_64_raw_shared_cache_size_half): Likewise.
30061 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30062 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30063 and __x86_64_raw_shared_cache_size_half. Round
30064 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30065 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30066 to multiple of 256 bytes.
30068 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30072 of inacessible symlinks. Verify result of symlink before returning it.
30073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30074 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30076 2010-10-28 Erich Ritz <erichritz@gmail.com>
30078 * math/math.h (isinf): Fix typo in comment.
30080 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30082 * po/da.po: Update from translation team.
30084 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30086 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30087 is added to the list.
30089 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30090 Ulrich Drepper <drepper@gmail.com>
30092 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30093 the global list here. Move code to...
30094 (_dl_add_to_namespace_list): ...here. New function.
30095 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30096 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30097 * elf/dl-load.c (lose): Don't remove the element from the list.
30098 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30099 (_dl_map_object): Likewise.
30101 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30104 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30105 into all bytes of SSE register.
30106 Patch by Richard Li <richardpku@gmail.com>.
30108 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30111 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30114 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30116 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30117 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30119 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30124 2010-10-22 Andreas Schwab <schwab@redhat.com>
30126 * include/dlfcn.h (__RTLD_SECURE): Define.
30127 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30128 mode & __RTLD_SECURE instead.
30129 (open_path): Rename preloaded parameter to secure.
30130 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30131 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30132 * elf/dl-deps.c (openaux): Likewise.
30133 * elf/rtld.c (struct map_args): Remove is_preloaded.
30134 (map_doit): Don't use it.
30135 (dl_main): Likewise.
30136 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30137 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30139 2010-09-09 Andreas Schwab <schwab@redhat.com>
30141 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30142 (sysd-rules-targets): Remove duplicates.
30143 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30144 rtld-%.$o dependency.
30146 2010-10-18 Andreas Schwab <schwab@redhat.com>
30148 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30149 _dl_map_object do it.
30151 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30153 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30154 fast fma builtins, define the macros in the C99 standard.
30155 (FP_FAST_FMAF): Likewise.
30156 (FP_FAST_FMAL): Likewise.
30157 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30159 * bits/mathdef.h: Update copyright year.
30160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30162 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30164 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30165 builtins, define the macros in the C99 standard.
30166 (FP_FAST_FMAF): Likewise.
30167 (FP_FAST_FMAL): Likewise.
30168 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30170 (FP_FAST_FMAF): Likewise.
30172 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30175 * math/libm-test.inc (fma_test): Some new testcases.
30176 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30178 y and infinite z. Do multiplication by C already in long double.
30179 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30181 y and infinite z. Do bitwise or of inexact bit into u.d.
30182 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30183 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30184 * sysdeps/i386/fpu/s_fma.S: Removed.
30185 * sysdeps/i386/fpu/s_fmal.S: Removed.
30187 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30190 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30192 computation is not scheduled after fetestexcept. Fix value
30193 of minimum denormal long double.
30195 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30198 * math/libm-test.inc (fma_test): Add some more tests.
30199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30202 2010-10-15 Andreas Schwab <schwab@redhat.com>
30204 * scripts/data/localplt-s390-linux-gnu.data: New file.
30205 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30207 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30210 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30211 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30213 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30215 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30217 if one of x and y is very large and the other is subnormal.
30218 * sysdeps/s390/fpu/s_fmaf.c: New file.
30219 * sysdeps/s390/fpu/s_fma.c: New file.
30220 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30221 * sysdeps/powerpc/fpu/s_fma.S: New file.
30222 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30223 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30224 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30226 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30229 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30232 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30233 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30234 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30235 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30236 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30239 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30242 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30243 * posix/bug-regex31.input: Add test case.
30245 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30247 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30248 * posix/bug-regex31.input: New file.
30251 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30252 (parse_sub_exp): Fix last change, use postorder.
30254 * posix/bug-regex31.c: New file.
30255 * posix/Makefile: Add rules to build and run bug-regex31.
30257 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30260 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30263 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30264 to have entries in sys_siglist.
30267 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30270 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30273 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30274 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30275 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30276 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30278 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30279 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30280 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30281 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30282 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30283 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30284 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30286 * math/ftestexcept.c (fetestexcept): Likewise.
30287 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30288 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30289 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30290 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30291 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30292 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30295 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30298 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30301 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30303 * string/bug-strstr1.c: New file.
30304 * string/Makefile: Add rules to build and run bug-strstr1.
30306 2010-10-05 Eric Blake <eblake@redhat.com>
30309 * string/str-two-way.h (two_way_long_needle): Always clear memory
30310 when skipping input due to the shift table.
30312 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30315 * malloc/mcheck.c: Handle large requests.
30318 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30319 for strncmp and strncasecmp.
30320 * string/stratcliff.c: Add tests for strcmp and strncmp.
30321 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30323 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30325 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30328 2010-09-30 Andreas Jaeger <aj@suse.de>
30330 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30331 (CGROUP_SUPER_MAGIC): Define.
30332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30333 Handle btrfs and cgroup file systems.
30334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30337 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30339 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30340 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30342 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30345 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30346 trying to locate the ELF header.
30348 2010-09-27 Andreas Schwab <schwab@redhat.com>
30351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30352 Mask out sign-bit copies when constructing f_fsid.
30354 2010-09-24 Petr Baudis <pasky@suse.cz>
30356 * debug/stack_chk_fail_local.c: Add missing licence exception.
30357 * debug/warning-nop.c: Likewise.
30359 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30362 implementing getdents64 using getdents syscall, set d_type if
30363 __ASSUME_GETDENTS32_D_TYPE.
30365 2010-09-16 Andreas Schwab <schwab@redhat.com>
30367 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30368 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30370 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30373 * posix/unistd.h: Undo change of feature selection for ftruncate from
30376 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30378 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30381 2010-09-20 Andreas Schwab <schwab@redhat.com>
30383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30387 2010-09-14 Andreas Schwab <schwab@redhat.com>
30389 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30390 variables after CHECK_SP call.
30391 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30393 2010-09-13 Andreas Schwab <schwab@redhat.com>
30394 Ulrich Drepper <drepper@redhat.com>
30396 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30397 re-relocationg ld.so.
30398 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30399 _dl_init_paths call.
30400 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30403 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30405 * resolv/res_init.c (__res_vinit): Count the default server we added.
30407 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30408 Ulrich Drepper <drepper@redhat.com>
30411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30412 (____longjmp_chk): Use %ebx for saving value across system call.
30415 2010-09-06 Andreas Schwab <schwab@redhat.com>
30417 * manual/Makefile: Don't mix pattern rules with normal rules.
30419 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30421 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30423 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30424 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30425 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30426 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30430 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30433 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30434 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30436 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30438 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30439 * sysdeps/x86_64/addmul_1.S: Likewise.
30440 * sysdeps/x86_64/lshift.S: Likewise.
30441 * sysdeps/x86_64/mul_1.S: Likewise.
30442 * sysdeps/x86_64/rshift.S: Likewise.
30443 * sysdeps/x86_64/sub_n.S: Likewise.
30444 * sysdeps/x86_64/submul_1.S: Likewise.
30446 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30448 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30449 Define __sched_param instead of SCHED_* and sched_param when
30450 <bits/sched.h> is included with __need_schedparam defined.
30451 * bits/sched.h [__need_schedparam]
30452 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30453 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30454 (__defined_schedparam): Define to 1.
30455 (__sched_param): New structure, identical to sched_param.
30456 (__need_schedparam): Undefine.
30458 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30461 (epoll_create1): Declare.
30463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30465 2010-08-31 Andreas Schwab <schwab@redhat.com>
30468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30469 shifting retval into place.
30471 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30473 * nis/rpcsvc/nis.h: Update copyright notice.
30474 * nis/rpcsvc/nis.x: Likewise.
30475 * nis/rpcsvc/nis_callback.h: Likewise.
30476 * nis/rpcsvc/nis_callback.x: Likewise.
30477 * nis/rpcsvc/nis_object.x: Likewise.
30478 * nis/rpcsvc/nis_tags.h: Likewise.
30479 * nis/rpcsvc/yp.h: Likewise.
30480 * nis/rpcsvc/yp.x: Likewise.
30481 * nis/rpcsvc/ypupd.h: Likewise.
30482 * nis/yp_xdr.c: Likewise.
30483 * nis/ypupdate_xdr.c: Likewise.
30485 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30486 mainly the body of pmap_getport. Add parameters to specify timeouts.
30487 (pmap_getport): Use __libc_rpc_getport.
30488 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30489 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30490 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30492 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30497 2010-08-27 Roland McGrath <roland@redhat.com>
30499 * sysdeps/i386/i686/multiarch/Makefile
30500 (CFLAGS-varshift.c): New variable.
30502 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30504 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30505 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30509 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30511 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30513 * sysdeps/x86_64/strlen.S: Unroll the loop.
30514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30515 strlen-sse2 strlen-sse2-bsf.
30516 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30517 __strlen_no_bsf if bit_Slow_BSF is set.
30518 (__strlen_sse42): Removed.
30519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30520 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30522 2010-08-25 Roland McGrath <roland@redhat.com>
30524 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30525 * sysdeps/x86_64/multiarch/varshift.c: New file.
30526 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30527 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30528 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30529 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30531 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30534 strlen-sse2 strlen-sse2-bsf.
30535 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30536 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30537 (__strlen_sse2): Removed.
30538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30541 bit_Slow_BSF for Atom.
30542 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30543 (index_Slow_BSF): Define.
30544 (HAS_SLOW_BSF): Define.
30546 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30549 * resolv/res_init.c (__res_vinit): When no server address at all
30550 is given default to loopback.
30552 2010-08-24 Roland McGrath <roland@redhat.com>
30554 * configure.in: Remove config-name.h generation.
30555 * configure: Regenerated.
30556 * config-name.in: File removed.
30557 * scripts/config-uname.sh: New file.
30558 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30559 ($(objdir)config-name.h): New target.
30561 * sunrpc/rpc_parse.h: Avoid nested comment.
30563 2010-08-24 Richard Henderson <rth@redhat.com>
30564 Ulrich Drepper <drepper@redhat.com>
30565 H.J. Lu <hongjiu.lu@intel.com>
30567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30569 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30570 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30571 _mm_alignr_epi8 with _mm_loadu_si128.
30572 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30573 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30574 (__m128i_shift_right): Removed.
30575 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30576 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30577 * sysdeps/x86_64/multiarch/varshift.h: New file.
30578 * sysdeps/x86_64/multiarch/varshift.S: New file.
30580 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30582 * configure.in: Move assembler checks to before sysdep dir checking.
30584 2010-08-20 Petr Baudis <pasky@suse.cz>
30586 * LICENSES: Sync the sunrpc license.
30588 2010-08-19 Ulrich Drepper <drepper@redhat.com>
30590 * sunrpc/auth_des.c: Update copyright notice once again.
30591 * sunrpc/auth_none.c: Likewise.
30592 * sunrpc/auth_unix.c: Likewise.
30593 * sunrpc/authdes_prot.c: Likewise.
30594 * sunrpc/authuxprot.c: Likewise.
30595 * sunrpc/bindrsvprt.c: Likewise.
30596 * sunrpc/clnt_gen.c: Likewise.
30597 * sunrpc/clnt_perr.c: Likewise.
30598 * sunrpc/clnt_raw.c: Likewise.
30599 * sunrpc/clnt_simp.c: Likewise.
30600 * sunrpc/clnt_tcp.c: Likewise.
30601 * sunrpc/clnt_udp.c: Likewise.
30602 * sunrpc/clnt_unix.c: Likewise.
30603 * sunrpc/des_crypt.c: Likewise.
30604 * sunrpc/des_soft.c: Likewise.
30605 * sunrpc/get_myaddr.c: Likewise.
30606 * sunrpc/getrpcport.c: Likewise.
30607 * sunrpc/key_call.c: Likewise.
30608 * sunrpc/key_prot.c: Likewise.
30609 * sunrpc/openchild.c: Likewise.
30610 * sunrpc/pm_getmaps.c: Likewise.
30611 * sunrpc/pm_getport.c: Likewise.
30612 * sunrpc/pmap_clnt.c: Likewise.
30613 * sunrpc/pmap_prot.c: Likewise.
30614 * sunrpc/pmap_prot2.c: Likewise.
30615 * sunrpc/pmap_rmt.c: Likewise.
30616 * sunrpc/rpc/auth.h: Likewise.
30617 * sunrpc/rpc/auth_unix.h: Likewise.
30618 * sunrpc/rpc/clnt.h: Likewise.
30619 * sunrpc/rpc/des_crypt.h: Likewise.
30620 * sunrpc/rpc/key_prot.h: Likewise.
30621 * sunrpc/rpc/netdb.h: Likewise.
30622 * sunrpc/rpc/pmap_clnt.h: Likewise.
30623 * sunrpc/rpc/pmap_prot.h: Likewise.
30624 * sunrpc/rpc/pmap_rmt.h: Likewise.
30625 * sunrpc/rpc/rpc.h: Likewise.
30626 * sunrpc/rpc/rpc_des.h: Likewise.
30627 * sunrpc/rpc/rpc_msg.h: Likewise.
30628 * sunrpc/rpc/svc.h: Likewise.
30629 * sunrpc/rpc/svc_auth.h: Likewise.
30630 * sunrpc/rpc/types.h: Likewise.
30631 * sunrpc/rpc/xdr.h: Likewise.
30632 * sunrpc/rpc_clntout.c: Likewise.
30633 * sunrpc/rpc_cmsg.c: Likewise.
30634 * sunrpc/rpc_common.c: Likewise.
30635 * sunrpc/rpc_cout.c: Likewise.
30636 * sunrpc/rpc_dtable.c: Likewise.
30637 * sunrpc/rpc_hout.c: Likewise.
30638 * sunrpc/rpc_main.c: Likewise.
30639 * sunrpc/rpc_parse.c: Likewise.
30640 * sunrpc/rpc_parse.h: Likewise.
30641 * sunrpc/rpc_prot.c: Likewise.
30642 * sunrpc/rpc_sample.c: Likewise.
30643 * sunrpc/rpc_scan.c: Likewise.
30644 * sunrpc/rpc_scan.h: Likewise.
30645 * sunrpc/rpc_svcout.c: Likewise.
30646 * sunrpc/rpc_tblout.c: Likewise.
30647 * sunrpc/rpc_util.c: Likewise.
30648 * sunrpc/rpc_util.h: Likewise.
30649 * sunrpc/rpcinfo.c: Likewise.
30650 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30651 * sunrpc/rpcsvc/key_prot.x: Likewise.
30652 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30653 * sunrpc/rpcsvc/mount.x: Likewise.
30654 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30655 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30656 * sunrpc/rpcsvc/rex.x: Likewise.
30657 * sunrpc/rpcsvc/rstat.x: Likewise.
30658 * sunrpc/rpcsvc/rusers.x: Likewise.
30659 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30660 * sunrpc/rpcsvc/spray.x: Likewise.
30661 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30662 * sunrpc/rtime.c: Likewise.
30663 * sunrpc/svc.c: Likewise.
30664 * sunrpc/svc_auth.c: Likewise.
30665 * sunrpc/svc_authux.c: Likewise.
30666 * sunrpc/svc_raw.c: Likewise.
30667 * sunrpc/svc_run.c: Likewise.
30668 * sunrpc/svc_simple.c: Likewise.
30669 * sunrpc/svc_tcp.c: Likewise.
30670 * sunrpc/svc_udp.c: Likewise.
30671 * sunrpc/svc_unix.c: Likewise.
30672 * sunrpc/svcauth_des.c: Likewise.
30673 * sunrpc/xcrypt.c: Likewise.
30674 * sunrpc/xdr.c: Likewise.
30675 * sunrpc/xdr_array.c: Likewise.
30676 * sunrpc/xdr_float.c: Likewise.
30677 * sunrpc/xdr_mem.c: Likewise.
30678 * sunrpc/xdr_rec.c: Likewise.
30679 * sunrpc/xdr_ref.c: Likewise.
30680 * sunrpc/xdr_sizeof.c: Likewise.
30681 * sunrpc/xdr_stdio.c: Likewise.
30683 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30686 2010-08-19 Andreas Schwab <schwab@redhat.com>
30688 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30690 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
30692 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30694 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30695 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30696 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30697 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30698 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30699 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30701 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30702 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30704 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30707 2010-07-26 Anton Blanchard <anton@samba.org>
30709 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30710 * malloc/arena.c (heap_trim): Likewise.
30712 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30714 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30717 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30719 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30721 * sysdeps/i386/elf/Makefile: New file.
30723 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30725 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30726 from fanotify_init.
30727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30730 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30732 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30734 * sysdeps/multiarch/strcmp.S: Likewise.
30736 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30738 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30739 strncase_l-nonascii.
30740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30741 Add strncase_l-ssse3.
30742 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30743 * sysdeps/x86_64/strcmp.S: Likewise.
30744 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30745 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30746 * sysdeps/x86_64/strncase.S: New file.
30747 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30748 * sysdeps/x86_64/strncase_l.S: New file.
30749 * string/Makefile (strop-tests): Add strncasecmp.
30750 * string/test-strncasecmp.c: New file.
30752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30755 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30758 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30760 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30762 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30764 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30768 2010-05-01 Alan Modra <amodra@gmail.com>
30770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30771 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30772 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30773 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30774 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30775 tidying. Don't tail-call __sigjmp_save for static lib.
30776 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30778 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30779 (CALL_MCOUNT): Add eh info, and nop after bl.
30780 (TAIL_CALL_SYSCALL_ERROR): New macro.
30781 (PSEUDO_RET): Use it.
30782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30783 Correct save location of integer regs and cr.
30784 (_dl_profile_resolve): Correct cr save location. Delete nops
30785 after bl when SHARED. Reduce cfi size a little by better
30786 placement of cfi directives.
30787 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30788 make a stack frame. Instead use parm save area as a temp.
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30790 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30792 Don't make a stack frame for parent, use parm save area.
30793 Increase child stack frame to 112 bytes. Don't save unused reg,
30794 and adjust reg usage. Set up cfi on error recovery and
30795 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30797 (__makecontext): Add dummy nop after jump to exit.
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30799 Use correct parm save area and cr save, reduce stack frame.
30800 Correct cfi for possible PSEUDO_RET frame setup.
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30802 Branch to local label emitted by PSEUDO_RET rather than
30805 2010-08-12 Andreas Schwab <schwab@redhat.com>
30808 * locale/programs/locale.c (print_assignment): New function.
30809 (show_locale_vars): Use it.
30811 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30813 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30815 (struct statfs64): Likewise.
30816 (_STATFS_F_FLAGS): Define.
30817 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30819 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30820 (ST_VALID): Define locally.
30821 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30822 __statvfs_getflags, use the provided value.
30823 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30824 __ASSUME_STATFS_F_FLAGS.
30826 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30829 Add sys/fanotify.h.
30830 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30831 fanotify_mask for GLIBC_2.13.
30832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30833 fanotify_init and fanotify_mark.
30834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30835 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30837 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30839 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30840 prlimit64 for GLIBC_2.13.
30841 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30846 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30851 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30854 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30855 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30857 * nss/Makefile: Add rules to build and run tst-nss-test1.
30858 * shlib-versions: Add entry for libnss_test1.
30859 * nss/nss_test1.c: New file.
30860 * nss/tst-nss-test1.c: New file.
30862 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30863 (__nss_configure_lookup): Set appropriate entry in
30864 __nss_configure_lookup to true.
30865 * nss/nsswitch.h: Define enum with indeces of databases in
30866 databases and __nss_database_custom arrays. Declare
30867 __nss_database_custom.
30868 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30869 to avoid using nscd when custom rules are installed.
30870 * nss/getXXbyYY_r.c: Likewise.
30871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30873 * nss/nss_files/files-parse.c: Whitespace fixes.
30875 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30878 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30879 * posix/fnmatch_loop.c: Likewise.
30881 2010-07-17 Andi Kleen <ak@linux.intel.com>
30883 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30884 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30885 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30886 * Versions.def [GLIBC_2.13]: Add.
30888 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30891 Also fail if tpwd after pwuid call is NULL.
30893 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30895 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30896 when converting to ms.
30898 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30900 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30901 EOPNOTSUPP errors with ENOTTY.
30902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30903 EOPNOTSUPP errors with ENOTTY.
30905 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30907 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30908 Add strcasecmp_l-ssse3.
30909 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30911 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30913 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30915 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30917 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30919 * string/Makefile (strop-tests): Add strcasecmp.
30920 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30921 strcasecmp_l-nonascii.
30922 (gen-as-const-headers): Add locale-defines.sym.
30923 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30924 * sysdeps/x86_64/strcasecmp.S: New file.
30925 * sysdeps/x86_64/strcasecmp_l.S: New file.
30926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30927 * sysdeps/x86_64/locale-defines.sym: New file.
30928 * string/test-strcasecmp.c: New file.
30930 * string/test-strcasestr.c: Test both ends of the range of characters.
30931 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30933 2010-07-29 Roland McGrath <roland@redhat.com>
30936 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30938 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30940 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30943 2010-07-27 Andreas Schwab <schwab@redhat.com>
30945 * manual/memory.texi (Malloc Tunable Parameters): Document
30948 2010-07-26 Roland McGrath <roland@redhat.com>
30951 * configure.in (-fgnu89-inline check): Set and substitute
30952 gnu89_inline, not libc_cv_gnu89_inline.
30953 * configure: Regenerated.
30954 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30956 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30958 * string/test-strnlen.c: New file.
30959 * string/Makefile (strop-tests): Add strnlen.
30960 * string/tester.c (test_strnlen): Add a few more test cases.
30961 * string/tst-strlen.c: Better error reporting.
30963 * sysdeps/x86_64/strnlen.S: New file.
30965 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30968 lower-latency instructions.
30970 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30972 * string/test-strcasestr.c: New file.
30973 * string/test-strstr.c: New file.
30974 * string/Makefile (strop-tests): Add strstr and strcasestr.
30975 * string/str-two-way.h: Don't undefine MAX.
30976 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30978 2010-07-21 Andreas Schwab <schwab@redhat.com>
30980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30981 strcasestr-nonascii.
30982 (CFLAGS-strcasestr-nonascii.c): Define.
30983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30985 Remove unused attribute.
30987 2010-07-20 Roland McGrath <roland@redhat.com>
30989 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30990 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30991 ld.so.cache was broken. With it, there is no way to disable dsocaps
30992 like LD_HWCAP_MASK can disable hwcaps.
30994 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30996 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30998 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31000 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31001 call in strcasestr.
31002 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31003 __strcasestr_sse42_nonascii.
31004 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31005 strcasestr-nonascii.c.
31006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31008 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
31010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31015 2010-07-09 Ulrich Drepper <drepper@redhat.com>
31017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31020 2010-07-06 Andreas Schwab <schwab@redhat.com>
31023 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31026 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31029 _PC_PIPE_BUF using F_GETPIPE_SZ.
31031 2010-07-05 Roland McGrath <roland@redhat.com>
31033 * manual/arith.texi (Rounding Functions): Fix rint description
31034 implicit in round description.
31036 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31038 * elf/Makefile: Fix linking for a few tests to make recent linker
31041 2010-06-30 Andreas Schwab <schwab@redhat.com>
31043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31044 $(common-objpfx)libc_nonshared.a.
31046 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31048 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31049 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31050 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31051 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31052 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31070 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31071 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31072 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31073 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31074 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31075 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31076 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31077 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31078 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31079 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31080 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31081 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31097 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31099 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31100 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31101 * string/memmove.c (memmove): Renamed to ...
31102 (MEMMOVE): ...this. Default to memmove.
31103 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31104 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31107 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31108 mempcpy-ssse3-back memmove-ssse3-back.
31109 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31112 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31113 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31114 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31115 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31116 * sysdeps/x86_64/multiarch/memmove.c: New file.
31117 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31118 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31119 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31120 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31124 (index_Fast_Copy_Backward): Define.
31125 (HAS_ARCH_FEATURE): Define.
31126 (HAS_FAST_REP_STRING): Define.
31127 (HAS_FAST_COPY_BACKWARD): Define.
31129 2010-06-21 Andreas Schwab <schwab@redhat.com>
31131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31132 Restore proper fallback handling.
31134 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31137 * posix/group_member.c (__group_member): Correct checking loop.
31139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31140 OOM in getpwuid_r correctly. Return error number when the caller
31141 should return, otherwise -1.
31142 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31143 call returning > 0 value.
31144 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31146 2010-06-07 Andreas Schwab <schwab@redhat.com>
31148 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31149 libc_nonshared.a from targets in modules-names.
31151 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31153 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31156 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31163 2010-06-02 Andreas Schwab <schwab@redhat.com>
31165 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31167 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31178 2010-06-14 Roland McGrath <roland@redhat.com>
31180 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31182 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31184 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31185 __REDIRECT followed by __THROW.
31186 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31187 * posix/getopt.h (getopt): Likewise.
31189 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31191 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31192 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31193 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31195 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31196 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31198 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31202 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31206 Properly check family and model.
31208 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31210 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31212 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31214 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31216 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31218 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31221 2010-05-19 Andreas Schwab <schwab@redhat.com>
31223 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31226 2010-05-21 Andreas Schwab <schwab@redhat.com>
31228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31229 and internal_recvmmsg.
31230 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31232 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31233 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31235 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31236 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31237 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31239 2010-05-20 Andreas Schwab <schwab@redhat.com>
31241 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31243 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31245 POWER7 optimizations.
31246 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31247 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31249 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31251 * version.h: Update for 2.13 development version.
31253 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31255 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31256 exceptions. Return 0.
31258 2010-05-07 Roland McGrath <roland@redhat.com>
31260 * elf/ldconfig.c (main): Add a const.
31262 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31264 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31265 (args_options): Add no-idn option.
31266 (ahosts_keys_int): Add idn_flags to ai_flags.
31267 (parse_option): Handle 'i' option to clear idn_flags.
31269 * malloc/malloc.c (_int_free): Possible race in the most recently
31270 added check. Only act on the data if no current modification
31273 See ChangeLog.17 for earlier changes.