1 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * benchtests/Makefile (string-bench): Add strcpy_chk and
5 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6 * benchtests/bench-stpcpy_chk.c: New file.
7 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8 * benchtests/bench-strcpy_chk.c: New file.
9 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18 with tabs where appropriate.
19 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21 [PPC_PLATFORM_PPC440]: Likewise.
22 [PPC_PLATFORM_PPC464]: Likewise.
23 [PPC_PLATFORM_PPC476]: Likewise.
24 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25 ppc464, and ppc476 platform strings merging from ports/
28 2013-06-11 Andreas Schwab <schwab@suse.de>
31 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32 (from_ucs4_idx): Regenerate.
33 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
36 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
38 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41 from FROM_LOOP and TO_LOOP specific macros.
42 (BODY): Handle combining characters.
43 * iconvdata/BIG5HKSCS.irreversible: Update.
44 * iconvdata/BIG5HKSCS.precomposed: New file.
45 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51 * include/sys/time.h: Fix indentation and add copyright header.
53 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
55 * string/test-memchr.c (do_one_test): Likewise.
57 * string/test-memcmp.c (do_one_test): Likewise.
59 * string/test-memcpy.c (do_one_test): Likewise.
61 * string/test-memmem.c (do_one_test): Likewise.
63 (do_random_tests): Likewise.
64 * string/test-memmove.c (do_one_test): Likewise.
66 * string/test-memset.c (do_one_test): Likewise.
68 * string/test-rawmemchr.c (do_one_test): Likewise.
70 * string/test-strcasecmp.c (do_one_test): Likewise.
72 * string/test-strcasestr.c (do_one_test): Likewise.
74 * string/test-strcat.c (do_one_test): Likewise.
76 * string/test-strchr.c (do_one_test): Likewise.
78 * string/test-strcmp.c (do_one_test): Likewise.
80 * string/test-strcpy.c (do_one_test): Likewise.
82 * string/test-string.h: Likewise.
83 (test_init): Likewise.
84 * string/test-strlen.c (do_one_test): Likewise.
86 * string/test-strncasecmp.c (do_one_test): Likewise.
88 * string/test-strncat.c (do_one_test): Likewise.
90 * string/test-strncmp.c (do_one_test): Likewise.
91 (do_test_limit): Likewise.
93 * string/test-strncpy.c (do_one_test): Likewise.
95 * string/test-strnlen.c (do_one_test): Likewise.
97 * string/test-strpbrk.c (do_one_test): Likewise.
99 * string/test-strrchr.c (do_one_test): Likewise.
101 * string/test-strspn.c (do_one_test): Likewise.
103 * string/test-strstr.c (do_one_test): Likewise.
106 * benchtests/Makefile (string-bench): Add string benchmarks.
107 * benchtests/bench-bcopy-ifunc.c: New file.
108 * benchtests/bench-bcopy.c: New file.
109 * benchtests/bench-bzero-ifunc.c: New file.
110 * benchtests/bench-bzero.c: New file.
111 * benchtests/bench-memccpy-ifunc.c: New file.
112 * benchtests/bench-memccpy.c: New file.
113 * benchtests/bench-memchr-ifunc.c: New file.
114 * benchtests/bench-memchr.c: New file.
115 * benchtests/bench-memcmp-ifunc.c: New file.
116 * benchtests/bench-memcmp.c: New file.
117 * benchtests/bench-memmem-ifunc.c: New file.
118 * benchtests/bench-memmem.c: New file.
119 * benchtests/bench-memmove-ifunc.c: New file.
120 * benchtests/bench-memmove.c: New file.
121 * benchtests/bench-mempcpy-ifunc.c: New file.
122 * benchtests/bench-mempcpy.c: New file.
123 * benchtests/bench-memset-ifunc.c: New file.
124 * benchtests/bench-memset.c: New file.
125 * benchtests/bench-rawmemchr-ifunc.c: New file.
126 * benchtests/bench-rawmemchr.c: New file.
127 * benchtests/bench-stpcpy-ifunc.c: New file.
128 * benchtests/bench-stpcpy.c: New file.
129 * benchtests/bench-stpncpy-ifunc.c: New file.
130 * benchtests/bench-stpncpy.c: New file.
131 * benchtests/bench-strcasecmp-ifunc.c: New file.
132 * benchtests/bench-strcasecmp.c: New file.
133 * benchtests/bench-strcasestr-ifunc.c: New file.
134 * benchtests/bench-strcasestr.c: New file.
135 * benchtests/bench-strcat-ifunc.c: New file.
136 * benchtests/bench-strcat.c: New file.
137 * benchtests/bench-strchr-ifunc.c: New file.
138 * benchtests/bench-strchr.c: New file.
139 * benchtests/bench-strchrnul-ifunc.c: New file.
140 * benchtests/bench-strchrnul.c: New file.
141 * benchtests/bench-strcmp-ifunc.c: New file.
142 * benchtests/bench-strcmp.c: New file.
143 * benchtests/bench-strcpy-ifunc.c: New file.
144 * benchtests/bench-strcpy.c: New file.
145 * benchtests/bench-strcspn-ifunc.c: New file.
146 * benchtests/bench-strcspn.c: New file.
147 * benchtests/bench-strlen-ifunc.c: New file.
148 * benchtests/bench-strlen.c: New file.
149 * benchtests/bench-strncasecmp-ifunc.c: New file.
150 * benchtests/bench-strncasecmp.c: New file.
151 * benchtests/bench-strncat-ifunc.c: New file.
152 * benchtests/bench-strncat.c: New file.
153 * benchtests/bench-strncmp-ifunc.c: New file.
154 * benchtests/bench-strncmp.c: New file.
155 * benchtests/bench-strncpy-ifunc.c: New file.
156 * benchtests/bench-strncpy.c: New file.
157 * benchtests/bench-strnlen-ifunc.c: New file.
158 * benchtests/bench-strnlen.c: New file.
159 * benchtests/bench-strpbrk-ifunc.c: New file.
160 * benchtests/bench-strpbrk.c: New file.
161 * benchtests/bench-strrchr-ifunc.c: New file.
162 * benchtests/bench-strrchr.c: New file.
163 * benchtests/bench-strspn-ifunc.c: New file.
164 * benchtests/bench-strspn.c: New file.
165 * benchtests/bench-strstr-ifunc.c: New file.
166 * benchtests/bench-strstr.c: New file.
168 * benchtests/Makefile: Disable parallel execution of targets.
169 (string-bench): Add memcpy.
170 (benchset): New variable to store a list of benchmark sets.
171 (bench-func): Renamed from bench.
172 (bench-set): New target.
173 (bench): Depend on bench-func and bench-set.
174 * benchtests/README: Add section on benchmark sets.
175 * benchtests/bench-memcpy-ifunc.c: New file.
176 * benchtests/bench-memcpy.c: New file.
177 * benchtests/bench-string.h: New file.
179 2013-06-11 Andreas Schwab <schwab@suse.de>
182 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
183 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
184 values in the triple.
185 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
186 terminator in the group key.
188 2013-06-11 Andreas Jaeger <aj@suse.de>
190 * po/zh_TW.po: Update Chinese (traditional) translation from
193 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
195 * include/time.h (__clock_gettime): Add libc_hidden_proto.
196 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
197 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
198 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
199 (clock_getcpuclockid): Likewise.
200 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
201 Add weak_alias and libc_hidden_def.
202 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
203 * rt/clock_gettime.c (clock_gettime): Rename to
204 __clock_gettime. Add weak_alias and libc_hidden_def.
205 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
206 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
207 __clock_nanosleep. Add weak_alias and libc_hidden_def.
208 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
209 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
211 * rt/clock_settime.c (clock_settime): Rename to
212 __clock_settime. Add weak_alias and libc_hidden_def.
213 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
215 2013-06-10 Joseph Myers <joseph@codesourcery.com>
217 * mach/err_boot.sub: Remove trailing whitespace.
218 * mach/err_ipc.sub: Likewise.
219 * mach/err_mach.sub: Likewise.
221 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
222 (ROUNDING_TESTS_double): Likewise.
223 (ROUNDING_TESTS_long_double): Likewise.
224 (ROUNDING_TESTS): Likewise.
225 * math/libm-test.inc: Include <math-tests.h>.
226 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
227 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
228 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
229 (IF_ROUND_INIT_FE_UPWARD): Likewise.
231 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
233 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
236 2013-06-08 Joseph Myers <joseph@codesourcery.com>
238 * sysdeps/gnu/errlist.awk: Do not generate space at end of
239 otherwise empty TRANS lines.
240 * sysdeps/gnu/errlist.c: Regenerated.
242 * catgets/gencat.c (error_print): Use (void) in function
244 * crypt/crypt_util.c (__init_des): Likewise.
245 * crypt/speeds.c (Stop): Likewise.
247 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
248 * inet/ruserpass.c (token): Likewise.
249 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
250 * intl/localealias.c (extend_alias_table): Likewise.
251 * intl/plural-exp.c (init_germanic_plural): Likewise.
252 * libio/fcloseall.c (__fcloseall): Likewise.
253 * libio/genops.c (_IO_flush_all): Likewise.
254 (_IO_flush_all_linebuffered): Likewise.
255 (_IO_cleanup): Likewise.
256 (_IO_iter_begin): Likewise.
257 (_IO_iter_end): Likewise.
258 (_IO_list_lock): Likewise.
259 (_IO_list_unlock): Likewise.
260 (_IO_list_resetlock): Likewise.
261 * libio/getchar.c (getchar): Likewise.
262 * libio/getchar_u.c (getchar_unlocked): Likewise.
263 * libio/getwchar.c (getwchar): Likewise.
264 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
265 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
266 * login/getpt.c (__getpt): Likewise.
267 * login/tst-utmp.c (main): Likewise.
268 * malloc/hooks.c (__malloc_check_init): Likewise.
269 * malloc/malloc.c (__malloc_stats): Likewise.
270 * malloc/mtrace.c (tr_break): Likewise.
272 (muntrace): Likewise.
273 * misc/fstab.c (endfsent): Likewise.
274 * misc/getclktck.c (__getclktck): Likewise.
275 * misc/getdtsz.c (__getdtablesize): Likewise.
276 * misc/gethostid.c (gethostid): Likewise.
277 * misc/getpagesize.c (__getpagesize): Likewise.
278 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
279 (__get_nprocs): Likewise.
280 (__get_phys_pages): Likewise.
281 (__get_avphys_pages): Likewise.
282 * misc/getttyent.c (getttyent): Likewise.
283 (setttyent): Likewise.
284 (endttyent): Likewise.
285 * misc/getusershell.c (getusershell): Likewise.
286 (endusershell): Likewise.
287 (setusershell): Likewise.
288 (initshells): Likewise.
289 * misc/hsearch.c (__hdestroy): Likewise.
290 * misc/sync.c (sync): Likewise.
291 * misc/syslog.c (closelog_internal): Likewise.
292 (closelog): Likewise.
293 * misc/ttyslot.c (ttyslot): Likewise.
294 * misc/vhangup.c (vhangup): Likewise.
295 * posix/fork.c (__fork): Likewise.
296 * posix/getegid.c (__getegid): Likewise.
297 * posix/geteuid.c (__geteuid): Likewise.
298 * posix/getgid.c (__getgid): Likewise.
299 * posix/getpid.c (__getpid): Likewise.
300 * posix/getppid.c (__getppid): Likewise.
301 * posix/getuid.c (__getuid): Likewise.
302 * posix/pause.c (pause): Likewise.
303 * posix/setpgrp.c (setpgrp): Likewise.
304 * posix/setsid.c (__setsid): Likewise.
305 * posix/test-vfork.c (noop): Likewise.
306 * resolv/gethnamaddr.c (_endhtent): Likewise.
307 (_gethtent): Likewise.
308 (ht_endhostent): Likewise.
309 (gethostent): Likewise.
310 (dns_service): Likewise.
311 * stdlib/drand48.c (drand48): Likewise.
312 * stdlib/lrand48.c (lrand48): Likewise.
313 * stdlib/mrand48.c (mrand48): Likewise.
314 * stdlib/rand.c (rand): Likewise.
315 * stdlib/random.c (__random): Likewise.
316 * stdlib/setenv.c (clearenv): Likewise.
317 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
318 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
319 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
320 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
321 (__get_nprocs): Likewise.
322 (__get_phys_pages): Likewise.
323 (__get_avphys_pages): Likewise.
324 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
325 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
326 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
327 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
328 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
329 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
330 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
331 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
332 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
333 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
334 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
335 * sysdeps/mach/hurd/sync.c (sync): Likewise.
336 * sysdeps/posix/clock.c (clock): Likewise.
337 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
338 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
339 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
340 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
341 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
343 (__get_nprocs_conf): Likewise.
344 (__get_phys_pages): Likewise.
345 (__get_avphys_pages): Likewise.
346 * time/clock.c (clock): Likewise.
347 * time/tzset.c (__tzname_max): Likewise.
349 2013-06-07 Joseph Myers <joseph@codesourcery.com>
351 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
352 (__bswap_32): Do not use "register".
353 * crypt/crypt.c (_ufc_doit_r): Likewise.
354 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
355 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
356 * gmon/gmon.c (__monstartup): Likewise.
357 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
358 * hurd/hurdmalloc.c (more_memory): Likewise.
362 (malloc_fork_prepare): Likewise.
363 (malloc_fork_parent): Likewise.
364 (malloc_fork_child): Likewise.
365 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
366 (_svcauth_des): Likewise.
367 * inet/inet_lnaof.c (inet_lnaof): Likewise.
368 * inet/inet_net.c (inet_network): Likewise.
369 * inet/inet_netof.c (inet_netof): Likewise.
370 * inet/rcmd.c (__validuser2_sa): Likewise.
371 * io/fts.c (fts_open): Likewise.
372 (fts_load): Likewise.
373 (fts_close): Likewise.
374 (fts_read): Likewise.
375 (fts_children): Likewise.
376 (fts_build): Likewise.
377 (fts_stat): Likewise.
378 (fts_sort): Likewise.
379 (fts_alloc): Likewise.
380 (fts_lfree): Likewise.
381 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
382 (_IO_file_xsgetn): Likewise.
383 (_IO_file_xsgetn_mmap): Likewise.
384 * libio/iofopncook.c (_IO_cookie_read): Likewise.
385 (_IO_cookie_write): Likewise.
386 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
387 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
388 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
389 * malloc/obstack.c (_obstack_begin): Likewise.
390 (_obstack_begin_1): Likewise.
391 (_obstack_newchunk): Likewise.
392 (_obstack_allocated_p): Likewise.
393 (obstack_free): Likewise.
394 (_obstack_memory_used): Likewise.
395 * misc/getttyent.c (getttynam): Likewise.
396 (getttyent): Likewise.
399 * misc/getusershell.c (initshells): Likewise.
400 * misc/syslog.c (__vsyslog_chk): Likewise.
401 * misc/ttyslot.c (ttyslot): Likewise.
402 * nis/nis_hash.c (__nis_hash): Likewise.
403 * posix/fnmatch_loop.c (FCT): Likewise.
404 * posix/getconf.c (print_all): Likewise.
406 * posix/getopt.c (exchange): Likewise.
407 * posix/glob.c (globfree): Likewise.
408 (prefix_array): Likewise.
409 (__glob_pattern_type): Likewise.
410 * resolv/arpa/nameser.h (NS_GET16): Likewise.
411 (NS_GET32): Likewise.
412 (NS_PUT16): Likewise.
413 (NS_PUT32): Likewise.
414 * resolv/gethnamaddr.c (getanswer): Likewise.
415 (gethostbyname2): Likewise.
416 (gethostbyaddr): Likewise.
417 (_gethtent): Likewise.
418 (_gethtbyname2): Likewise.
419 (_gethtbyaddr): Likewise.
420 * resolv/ns_print.c (dst_s_get_int16): Likewise.
421 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
422 * resolv/res_init.c (__res_vinit): Likewise.
423 (net_mask): Likewise.
424 * resolv/res_mkquery.c (outchar): Likewise.
426 * stdio-common/printf_fp.c (outchar): Likewise.
428 * stdio-common/printf_fphex.c (outchar): Likewise.
430 * stdio-common/printf_size.c (outchar): Likewise.
432 * stdio-common/test_rdwr.c (main): Likewise.
433 * stdio-common/tfformat.c (matches): Likewise.
434 * stdio-common/vfprintf.c (outchar): Likewise.
435 (printf_unknown): Likewise.
436 (buffered_vfprintf): Likewise.
437 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
438 * stdio-common/xbug.c (AppendToBuffer): Likewise.
439 (ReadFile): Likewise.
440 * stdlib/qsort.c (SWAP): Likewise.
441 (_quicksort): Likewise.
442 * stdlib/setenv.c (__add_to_environ): Likewise.
443 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
444 * stdlib/strtol_l.c (__strtol_l): Likewise.
445 * stdlib/tst-strtod.c (main): Likewise.
446 * stdlib/tst-strtol.c (main): Likewise.
447 * stdlib/tst-strtoll.c (main): Likewise.
448 * string/bits/string2.h (__strcmp_cc): Likewise.
449 (__strcmp_cg): Likewise.
450 (__strcspn_c1): Likewise.
451 (__strcspn_c2): Likewise.
452 (__strcspn_c3): Likewise.
453 (__strspn_c1): Likewise.
454 (__strspn_c2): Likewise.
455 (__strspn_c3): Likewise.
456 (__strsep_1c): Likewise.
457 (__strsep_2c): Likewise.
458 (__strsep_3c): Likewise.
459 * string/memccpy.c (__memccpy): Likewise.
460 * string/stpcpy.c (__stpcpy): Likewise.
461 * string/strcmp.c (strcmp): Likewise.
462 * string/strrchr.c (strrchr): Likewise.
463 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
465 * sysdeps/mach/hurd/getcwd.c
466 (_hurd_canonicalize_directory_name_internal): Likewise.
467 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
468 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
469 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
470 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
471 Likewise, in both definitions.
472 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
474 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
475 64] (__bswap_64): Likewise.
476 * time/test_time.c (main): Likewise.
477 * time/tzfile.c (__tzfile_read): Likewise.
478 (__tzfile_compute): Likewise.
479 * time/tzset.c (__tzset_parse_tz): Likewise.
480 (tzset_internal): Likewise.
481 (compute_change): Likewise.
482 * wcsmbs/wcscat.c (__wcscat): Likewise.
483 * wcsmbs/wcschr.c (wcschr): Likewise.
484 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
485 * wcsmbs/wcscspn.c (wcscspn): Likewise.
486 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
487 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
488 * wcsmbs/wcsspn.c (wcsspn): Likewise.
489 * wcsmbs/wcsstr.c (wcsstr): Likewise.
490 * wcsmbs/wmemchr.c (wmemchr): Likewise.
491 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
492 * wcsmbs/wmemset.c (wmemset): Likewise.
494 2013-06-06 Joseph Myers <joseph@codesourcery.com>
496 * scripts/config.guess: Update to version 2013-05-16.
497 * scripts/config.sub: Update to version 2013-04-24.
498 * scripts/install-sh: Update to version 2011-11-20.07.
499 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
500 * scripts/move-if-change: Update to version 2012-01-06 07:23.
502 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
504 * debug/fgetws_u_chk.c: Fix leading whitespaces.
505 * elf/sln.c: Likewise.
506 * hurd/hurd/ioctl.h: Likewise.
507 * hurd/hurdmalloc.c: Likewise.
508 * hurd/xattr.c: Likewise.
509 * include/shlib-compat.h: Likewise.
510 * inet/ruserpass.c: Likewise.
511 * libio/iofgets_u.c: Likewise.
512 * libio/iofgetws_u.c: Likewise.
513 * locale/programs/ld-identification.c: Likewise.
514 * locale/programs/ld-time.c: Likewise.
515 * mach/msg-destroy.c: Likewise.
516 * nss/nss_files/files-netgrp.c: Likewise.
517 * resolv/res_data.c: Likewise.
518 * soft-fp/op-1.h: Likewise.
519 * soft-fp/op-2.h: Likewise.
520 * soft-fp/op-4.h: Likewise.
521 * soft-fp/op-common.h: Likewise.
522 * stdio-common/printf_fphex.c: Likewise.
523 * stdlib/strtod_l.c: Likewise.
524 * sunrpc/rpc/clnt.h: Likewise.
525 * sysdeps/generic/framestate.c: Likewise.
526 * sysdeps/i386/bsd-_setjmp.S: Likewise.
527 * sysdeps/i386/bsd-setjmp.S: Likewise.
528 * sysdeps/i386/__longjmp.S: Likewise.
529 * sysdeps/i386/setjmp.S: Likewise.
530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
531 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
532 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
533 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
535 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
539 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
540 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
543 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
544 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
545 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
546 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
547 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
548 * sysdeps/ieee754/support.c: Likewise.
549 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
550 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
551 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
552 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
553 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
554 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
555 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
556 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
557 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
558 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
559 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
560 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
561 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
562 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
563 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
564 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
565 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
568 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
570 * posix/transbug.c: Remove executable mode.
572 2013-06-05 Joseph Myers <joseph@codesourcery.com>
574 * crypt/speeds.c: Remove trailing whitespace.
575 * dlfcn/default.c: Likewise.
576 * elf/ifuncdep2.c: Likewise.
577 * elf/ifuncmain1.c: Likewise.
578 * elf/ifuncmain1vis.c: Likewise.
579 * elf/testobj.h: Likewise.
580 * elf/tst-stackguard1.c: Likewise.
581 * gmon/sys/gmon.h: Likewise.
582 * hurd/hurdmsg.c: Likewise.
583 * hurd/new-fd.c: Likewise.
584 * hurd/ports-get.c: Likewise.
585 * iconvdata/ibm1008_420.c: Likewise.
586 * inet/tst-getni1.c: Likewise.
587 * inet/tst-getni2.c: Likewise.
588 * libio/ioungetc.c: Likewise.
589 * libio/wfiledoalloc.c: Likewise.
590 * manual/libm-err-tab.pl: Likewise.
591 * math/w_dremf.c: Likewise.
592 * misc/ftruncate.c: Likewise.
593 * posix/bug-glob2.c: Likewise.
594 * posix/tst-pcre.c: Likewise.
595 * posix/wait4.c: Likewise.
596 * resolv/README: Likewise.
597 * resolv/res_debug.h: Likewise.
598 * resolv/tst-inet_ntop.c: Likewise.
599 * setjmp/bug269-setjmp.c: Likewise.
600 * soft-fp/extended.h: Likewise.
601 * soft-fp/op-1.h: Likewise.
602 * soft-fp/op-2.h: Likewise.
603 * soft-fp/op-4.h: Likewise.
604 * soft-fp/op-8.h: Likewise.
605 * soft-fp/testit.c: Likewise.
606 * stdio-common/bug16.c: Likewise.
607 * stdlib/random.c: Likewise.
608 * sunrpc/rpcsvc/rquota.x: Likewise.
609 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
610 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
611 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
612 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
613 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
614 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
615 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
616 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
619 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
621 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
622 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
623 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
624 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
625 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
627 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
628 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
629 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
630 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
631 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
632 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
633 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
634 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
636 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
638 * sysdeps/ieee754/s_lib_version.c: Likewise.
639 * sysdeps/mach/hurd/check_fds.c: Likewise.
640 * sysdeps/mach/hurd/getsockname.c: Likewise.
641 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
642 * sysdeps/mach/hurd/recvfrom.c: Likewise.
643 * sysdeps/powerpc/bits/link.h: Likewise.
644 * sysdeps/powerpc/dl-procinfo.c: Likewise.
645 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
646 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
647 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
648 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
649 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
650 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
651 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
652 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
653 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
654 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
655 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
656 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
657 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
658 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
659 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
660 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
664 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
665 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
666 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
667 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
669 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
671 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
672 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
673 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
674 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
675 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
676 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
678 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
680 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
681 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
682 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
683 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
684 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
685 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
686 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
687 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
688 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
689 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
690 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
691 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
692 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
693 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
695 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
696 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
697 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
698 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
699 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
700 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
701 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
702 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
703 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
704 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
706 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
707 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
708 * sysdeps/powerpc/sysdep.h: Likewise.
709 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
710 * sysdeps/s390/s390-64/sub_n.S: Likewise.
711 * sysdeps/sh/dl-trampoline.S: Likewise.
712 * sysdeps/sh/memset.S: Likewise.
713 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
714 * sysdeps/sh/strlen.S: Likewise.
715 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
716 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
717 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
718 * sysdeps/sparc/sparc32/rem.S: Likewise.
719 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
720 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
721 * sysdeps/sparc/sparc32/strchr.S: Likewise.
722 * sysdeps/sparc/sparc32/udiv.S: Likewise.
723 * sysdeps/sparc/sparc32/urem.S: Likewise.
724 * sysdeps/sparc/sparc64/add_n.S: Likewise.
725 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
726 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
727 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
728 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
729 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
730 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
731 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
732 * sysdeps/unix/bsd/times.c: Likewise.
733 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
734 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
740 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
742 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
745 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
746 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
747 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
748 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
749 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
750 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
751 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
752 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
753 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
754 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
755 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
756 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
757 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
758 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
759 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
761 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
762 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
763 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
764 * sysdeps/x86_64/strcspn.S: Likewise.
766 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
768 * locale/C-translit.h: Revert #include <stdint.h> because this is a
769 generated file. Regenerate properly from gen-translit.pl.
770 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
773 2013-06-05 Andreas Schwab <schwab@suse.de>
776 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
777 week as 6 instead of -1.
778 * time/tst-strptime.c (day_tests): Add test case.
780 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
782 * sysdeps/generic/math_private.h
783 (libc_feholdexcept_setround_53bit): Replace with
784 libc_feholdsetround_53bit.
785 (libc_feupdateenv_53bit): Replace with
786 libc_feresetround_53bit.
787 (SET_RESTORE_ROUND_53BIT): Adjust.
789 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
791 * string/test-strchrnul.c: Add copyright header.
793 * posix/tst-getaddrinfo4.c: Increase test timeout.
795 2013-06-03 Carlos O'Donell <carlos@redhat.com>
798 * math/libm-test.inc (MAX_EXP): Remove
800 (ulp): Use MIN_EXP - MANT_DIG.
801 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
803 2013-05-31 Carlos O'Donell <carlos@redhat.com>
805 * po/be.po: Revert last change.
806 * po/zh_CN.po: Likewise.
807 * po/header.pot: Likewise.
809 2013-05-31 Joseph Myers <joseph@codesourcery.com>
811 * Makefile ($(common-objpfx)linkobj/libc.so): Define
812 link-libc-deps to empty as target-specific variable.
813 * Makerules (link-libc-args): New variable.
814 (libc-for-link): Likewise.
815 (link-libc-deps): Likewise.
816 (lib%.so): Depend on $(link-libc-deps). Link with
818 (build-module): Link with $(link-libc-args).
819 (build-module-asneeded): Likewise.
820 (build-module-helper-objlist): Filter out $(link-libc-deps) from
822 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
823 target-specific variable.
824 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
825 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
826 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
828 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
830 ($(objpfx)libpcprofile.so): Likewise.
831 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
833 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
834 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
835 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
837 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
838 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
839 * login/Makefile ($(objpfx)libutil.so): Likewise.
840 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
841 * math/Makefile ($(objpfx)libm.so): Likewise.
842 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
843 $(objpfx)libnsl.so): Define libc-for-link as target-specific
844 variable instead of depending directly on libc.
845 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
846 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
848 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
850 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
851 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
852 ($(objpfx)libanl.so): Likewise.
853 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
855 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
857 * sysdeps/i386/fpu/Makefile: Remove file.
858 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
859 ($(objpfx)libm.so): Remove dependency on ld.so.
861 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
864 * nis/yp_xdr.c (XDRMAXNAME): Define.
865 (XDRMAXRECORD): Define.
866 (xdr_domainname): Use XDRMAXNAME.
867 (xdr_mapname): Likewise.
868 (xdr_peername): Likewise.
869 (xdr_keydat): Use XDRMAXRECORD.
870 (xdr_valdat): Likewise.
872 2013-05-30 Jeff Law <law@redhat.com>
875 * manual/errno.texi (ESTALE): Update to account for more than
876 just NFS file systems.
877 * sysdeps/gnu/errlist.c: Regenerated.
879 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
882 * elf/Makefile (tests): Add tst-null-argv.
883 (modules-names): Add tst-null-argv-lib.
884 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
885 (tst-null-argv-ENV): Set environment for tst-null-argv.
886 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
887 (RTLD_PROGNAME): New macro.
888 * elf/tst-null-argv.c: New test case.
889 * elf/tst-null-argv-lib.c: Library for test case.
890 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
891 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
892 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
893 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
894 * elf/dl-init.c (call_init): Likewise.
895 (_dl_init): Likewise.
896 * elf/dl-load.c (print_search_path): Likewise.
897 (_dl_map_object): Likewise.
898 * elf/dl-lookup.c (do_lookup_x): Likewise.
899 (add_dependency): Likewise.
900 (_dl_lookup_symbol_x): Likewise.
901 (_dl_debug_bindings): Likewise.
902 * elf/dl-open.c (_dl_show_scope): Likewise.
903 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
904 * elf/dl-version.c (match_symbol): Likewise.
905 (_dl_check_map_versions): Likewise.
906 * elf/rtld.c (dl_main): Likewise.
907 (print_unresolved): Use RTLD_PROGNAME.
908 (print_missing_version): Likewise.
909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
910 (elf_machine_rela): Likewise.
911 * sysdeps/powerpc/powerpc32/dl-machine.c
912 (__process_machine_rela): Likewise.
913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
915 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
919 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
922 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
926 2013-05-28 Carlos O'Donell <carlos@redhat.com>
928 * po/be.po: Add descriptive title.
929 * po/zh_CN.po: Likewise.
930 * po/header.pot: Likewise.
932 2013-05-28 Mike Frysinger <vapier@gentoo.org>
934 * locale/programs/locarchive.c (create_archive): Inlucde fname in
936 (enlarge_archive): Likewise.
938 2013-05-28 Ben North <ben@redfrontdoor.org>
940 * manual/arith.texi (frexp): It is the magnitude of the return
941 value which lies in [0.5, 1), not the return value itself.
943 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
947 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
949 * stdio-common/bug26.c (main): Correct fscanf template.
951 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
952 declare _dl_skip_args.
954 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
957 * manual/platform.texi: Add missing @end deftypefun.
959 2013-05-24 Joseph Myers <joseph@codesourcery.com>
962 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
963 bit of mantissa of 2^16382.
964 * math/libm-test.inc (hypot_test_data): Add more tests.
966 * math/libm-test.inc: Add drem and pow10 to list of tested
968 (pow10_test): New function.
969 (drem_test): Likewise.
970 (drem_test_tonearest): Likewise.
971 (drem_test_towardzero): Likewise.
972 (drem_test_downward): Likewise.
973 (drem_test_upward): Likewise.
974 (main): Call the new functions.
976 * math/libm-test.inc (finite_test_data): Remove.
977 (finite_test): Run tests from isfinite_test_data.
978 (gamma_test_data): Remove.
979 (gamma_test): Run tests from lgamma_test_data.
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985 * manual/platform.texi: Add PowerPC PPR function set documentation.
986 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
989 2013-05-24 Carlos O'Donell <carlos@redhat.com>
991 * math/libm-test.inc (MAX_EXP): Define.
994 (check_float_internal): Use ULPDIFF.
995 (cpow_test): Disable failing test.
996 (check_ulp): Test ulp() implemetnation.
997 (main): Call check_ulp before starting tests.
999 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1001 * math/gen-libm-test.pl (generate_testfile): Do not handle
1002 START_DATA and END_DATA.
1003 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1005 (acos_tonearest_test_data): Likewise.
1006 (acos_towardzero_test_data): Likewise.
1007 (acos_downward_test_data): Likewise.
1008 (acos_upward_test_data): Likewise.
1009 (acosh_test_data): Likewise.
1010 (asin_test_data): Likewise.
1011 (asin_tonearest_test_data): Likewise.
1012 (asin_towardzero_test_data): Likewise.
1013 (asin_downward_test_data): Likewise.
1014 (asin_upward_test_data): Likewise.
1015 (asinh_test_data): Likewise.
1016 (atan_test_data): Likewise.
1017 (atanh_test_data): Likewise.
1018 (atan2_test_data): Likewise.
1019 (cabs_test_data): Likewise.
1020 (cacos_test_data): Likewise.
1021 (cacosh_test_data): Likewise.
1022 (carg_test_data): Likewise.
1023 (casin_test_data): Likewise.
1024 (casinh_test_data): Likewise.
1025 (catan_test_data): Likewise.
1026 (catanh_test_data): Likewise.
1027 (cbrt_test_data): Likewise.
1028 (ccos_test_data): Likewise.
1029 (ccosh_test_data): Likewise.
1030 (ceil_test_data): Likewise.
1031 (cexp_test_data): Likewise.
1032 (cimag_test_data): Likewise.
1033 (clog_test_data): Likewise.
1034 (clog10_test_data): Likewise.
1035 (conj_test_data): Likewise.
1036 (copysign_test_data): Likewise.
1037 (cos_test_data): Likewise.
1038 (cos_tonearest_test_data): Likewise.
1039 (cos_towardzero_test_data): Likewise.
1040 (cos_downward_test_data): Likewise.
1041 (cos_upward_test_data): Likewise.
1042 (cosh_test_data): Likewise.
1043 (cosh_tonearest_test_data): Likewise.
1044 (cosh_towardzero_test_data): Likewise.
1045 (cosh_downward_test_data): Likewise.
1046 (cosh_upward_test_data): Likewise.
1047 (cpow_test_data): Likewise.
1048 (cproj_test_data): Likewise.
1049 (creal_test_data): Likewise.
1050 (csin_test_data): Likewise.
1051 (csinh_test_data): Likewise.
1052 (csqrt_test_data): Likewise.
1053 (ctan_test_data): Likewise.
1054 (ctan_tonearest_test_data): Likewise.
1055 (ctan_towardzero_test_data): Likewise.
1056 (ctan_downward_test_data): Likewise.
1057 (ctan_upward_test_data): Likewise.
1058 (ctanh_test_data): Likewise.
1059 (ctanh_tonearest_test_data): Likewise.
1060 (ctanh_towardzero_test_data): Likewise.
1061 (ctanh_downward_test_data): Likewise.
1062 (ctanh_upward_test_data): Likewise.
1063 (erf_test_data): Likewise.
1064 (erfc_test_data): Likewise.
1065 (exp_test_data): Likewise.
1066 (exp_tonearest_test_data): Likewise.
1067 (exp_towardzero_test_data): Likewise.
1068 (exp_downward_test_data): Likewise.
1069 (exp_upward_test_data): Likewise.
1070 (exp10_test_data): Likewise.
1071 (exp2_test_data): Likewise.
1072 (expm1_test_data): Likewise.
1073 (fabs_test_data): Likewise.
1074 (fdim_test_data): Likewise.
1075 (finite_test_data): Likewise.
1076 (floor_test_data): Likewise.
1077 (fma_test_data): Likewise.
1078 (fma_towardzero_test_data): Likewise.
1079 (fma_downward_test_data): Likewise.
1080 (fma_upward_test_data): Likewise.
1081 (fmax_test_data): Likewise.
1082 (fmin_test_data): Likewise.
1083 (fmod_test_data): Likewise.
1084 (fpclassify_test_data): Likewise.
1085 (frexp_test_data): Likewise.
1086 (gamma_test_data): Likewise.
1087 (hypot_test_data): Likewise.
1088 (ilogb_test_data): Likewise.
1089 (isfinite_test_data): Likewise.
1090 (isgreater_test_data): Likewise.
1091 (isgreaterequal_test_data): Likewise.
1092 (isinf_test_data): Likewise.
1093 (isless_test_data): Likewise.
1094 (islessequal_test_data): Likewise.
1095 (islessgreater_test_data): Likewise.
1096 (isnan_test_data): Likewise.
1097 (isnormal_test_data): Likewise.
1098 (issignaling_test_data): Likewise.
1099 (isunordered_test_data): Likewise.
1100 (j0_test_data): Likewise.
1101 (j1_test_data): Likewise.
1102 (jn_test_data): Likewise.
1103 (ldexp_test_data): Likewise.
1104 (lgamma_test_data): Likewise.
1105 (lrint_test_data): Likewise.
1106 (lrint_tonearest_test_data): Likewise.
1107 (lrint_towardzero_test_data): Likewise.
1108 (lrint_downward_test_data): Likewise.
1109 (lrint_upward_test_data): Likewise.
1110 (llrint_test_data): Likewise.
1111 (llrint_tonearest_test_data): Likewise.
1112 (llrint_towardzero_test_data): Likewise.
1113 (llrint_downward_test_data): Likewise.
1114 (llrint_upward_test_data): Likewise.
1115 (log_test_data): Likewise.
1116 (log10_test_data): Likewise.
1117 (log1p_test_data): Likewise.
1118 (log2_test_data): Likewise.
1119 (logb_test_data): Likewise.
1120 (logb_downward_test_data): Likewise.
1121 (lround_test_data): Likewise.
1122 (llround_test_data): Likewise.
1123 (modf_test_data): Likewise.
1124 (nearbyint_test_data): Likewise.
1125 (nextafter_test_data): Likewise.
1126 (nexttoward_test_data): Likewise.
1127 (pow_test_data): Likewise.
1128 (pow_tonearest_test_data): Likewise.
1129 (pow_towardzero_test_data): Likewise.
1130 (pow_downward_test_data): Likewise.
1131 (pow_upward_test_data): Likewise.
1132 (remainder_test_data): Likewise.
1133 (remainder_tonearest_test_data): Likewise.
1134 (remainder_towardzero_test_data): Likewise.
1135 (remainder_downward_test_data): Likewise.
1136 (remainder_upward_test_data): Likewise.
1137 (remquo_test_data): Likewise.
1138 (rint_test_data): Likewise.
1139 (rint_tonearest_test_data): Likewise.
1140 (rint_towardzero_test_data): Likewise.
1141 (rint_downward_test_data): Likewise.
1142 (rint_upward_test_data): Likewise.
1143 (round_test_data): Likewise.
1144 (scalb_test_data): Likewise.
1145 (scalbn_test_data): Likewise.
1146 (scalbln_test_data): Likewise.
1147 (signbit_test_data): Likewise.
1148 (sin_test_data): Likewise.
1149 (sin_tonearest_test_data): Likewise.
1150 (sin_towardzero_test_data): Likewise.
1151 (sin_downward_test_data): Likewise.
1152 (sin_upward_test_data): Likewise.
1153 (sincos_test_data): Likewise.
1154 (sinh_test_data): Likewise.
1155 (sinh_tonearest_test_data): Likewise.
1156 (sinh_towardzero_test_data): Likewise.
1157 (sinh_downward_test_data): Likewise.
1158 (sinh_upward_test_data): Likewise.
1159 (sqrt_test_data): Likewise.
1160 (tan_test_data): Likewise.
1161 (tan_tonearest_test_data): Likewise.
1162 (tan_towardzero_test_data): Likewise.
1163 (tan_downward_test_data): Likewise.
1164 (tan_upward_test_data): Likewise.
1165 (tanh_test_data): Likewise.
1166 (tgamma_test_data): Likewise.
1167 (trunc_test_data): Likewise.
1168 (y0_test_data): Likewise.
1169 (y1_test_data): Likewise.
1170 (yn_test_data): Likewise.
1171 (significand_test_data): Likewise.
1173 * math/gen-libm-test.pl (@functions): Remove variable.
1174 (generate_testfile): Don't handle START and END lines.
1175 * math/libm-test.inc (START): New macro.
1177 (END_COMPLEX): Likewise.
1178 (acos_test): Use END macro without arguments.
1179 (acos_test_tonearest): Likewise.
1180 (acos_test_towardzero): Likewise.
1181 (acos_test_downward): Likewise.
1182 (acos_test_upward): Likewise.
1183 (acosh_test): Likewise.
1184 (asin_test): Likewise.
1185 (asin_test_tonearest): Likewise.
1186 (asin_test_towardzero): Likewise.
1187 (asin_test_downward): Likewise.
1188 (asin_test_upward): Likewise.
1189 (asinh_test): Likewise.
1190 (atan_test): Likewise.
1191 (atanh_test): Likewise.
1192 (atan2_test): Likewise.
1193 (cabs_test): Likewise.
1194 (cacos_test): Use END_COMPLEX macro without arguments.
1195 (cacosh_test): Likewise.
1196 (carg_test): Use END macro without arguments.
1197 (casin_test): Use END_COMPLEX macro without arguments.
1198 (casinh_test): Likewise.
1199 (catan_test): Likewise.
1200 (catanh_test): Likewise.
1201 (cbrt_test): Use END macro without arguments.
1202 (ccos_test): Use END_COMPLEX macro without arguments.
1203 (ccosh_test): Likewise.
1204 (ceil_test): Use END macro without arguments.
1205 (cexp_test): Use END_COMPLEX macro without arguments.
1206 (cimag_test): Use END macro without arguments.
1207 (clog_test): Use END_COMPLEX macro without arguments.
1208 (clog10_test): Likewise.
1209 (conj_test): Likewise.
1210 (copysign_test): Use END macro without arguments.
1211 (cos_test): Likewise.
1212 (cos_test_tonearest): Likewise.
1213 (cos_test_towardzero): Likewise.
1214 (cos_test_downward): Likewise.
1215 (cos_test_upward): Likewise.
1216 (cosh_test): Likewise.
1217 (cosh_test_tonearest): Likewise.
1218 (cosh_test_towardzero): Likewise.
1219 (cosh_test_downward): Likewise.
1220 (cosh_test_upward): Likewise.
1221 (cpow_test): Use END_COMPLEX macro without arguments.
1222 (cproj_test): Likewise.
1223 (creal_test): Use END macro without arguments.
1224 (csin_test): Use END_COMPLEX macro without arguments.
1225 (csinh_test): Likewise.
1226 (csqrt_test): Likewise.
1227 (ctan_test): Likewise.
1228 (ctan_test_tonearest): Likewise.
1229 (ctan_test_towardzero): Likewise.
1230 (ctan_test_downward): Likewise.
1231 (ctan_test_upward): Likewise.
1232 (ctanh_test): Likewise.
1233 (ctanh_test_tonearest): Likewise.
1234 (ctanh_test_towardzero): Likewise.
1235 (ctanh_test_downward): Likewise.
1236 (ctanh_test_upward): Likewise.
1237 (erf_test): Use END macro without arguments.
1238 (erfc_test): Likewise.
1239 (exp_test): Likewise.
1240 (exp_test_tonearest): Likewise.
1241 (exp_test_towardzero): Likewise.
1242 (exp_test_downward): Likewise.
1243 (exp_test_upward): Likewise.
1244 (exp10_test): Likewise.
1245 (exp2_test): Likewise.
1246 (expm1_test): Likewise.
1247 (fabs_test): Likewise.
1248 (fdim_test): Likewise.
1249 (finite_test): Likewise.
1250 (floor_test): Likewise.
1251 (fma_test): Likewise.
1252 (fma_test_towardzero): Likewise.
1253 (fma_test_downward): Likewise.
1254 (fma_test_upward): Likewise.
1255 (fmax_test): Likewise.
1256 (fmin_test): Likewise.
1257 (fmod_test): Likewise.
1258 (fpclassify_test): Likewise.
1259 (frexp_test): Likewise.
1260 (gamma_test): Likewise.
1261 (hypot_test): Likewise.
1262 (ilogb_test): Likewise.
1263 (isfinite_test): Likewise.
1264 (isgreater_test): Likewise.
1265 (isgreaterequal_test): Likewise.
1266 (isinf_test): Likewise.
1267 (isless_test): Likewise.
1268 (islessequal_test): Likewise.
1269 (islessgreater_test): Likewise.
1270 (isnan_test): Likewise.
1271 (isnormal_test): Likewise.
1272 (issignaling_test): Likewise.
1273 (isunordered_test): Likewise.
1274 (j0_test): Likewise.
1275 (j1_test): Likewise.
1276 (jn_test): Likewise.
1277 (ldexp_test): Likewise.
1278 (lgamma_test): Likewise.
1279 (lrint_test): Likewise.
1280 (lrint_test_tonearest): Likewise.
1281 (lrint_test_towardzero): Likewise.
1282 (lrint_test_downward): Likewise.
1283 (lrint_test_upward): Likewise.
1284 (llrint_test): Likewise.
1285 (llrint_test_tonearest): Likewise.
1286 (llrint_test_towardzero): Likewise.
1287 (llrint_test_downward): Likewise.
1288 (llrint_test_upward): Likewise.
1289 (log_test): Likewise.
1290 (log10_test): Likewise.
1291 (log1p_test): Likewise.
1292 (log2_test): Likewise.
1293 (logb_test): Likewise.
1294 (logb_test_downward): Likewise.
1295 (lround_test): Likewise.
1296 (llround_test): Likewise.
1297 (modf_test): Likewise.
1298 (nearbyint_test): Likewise.
1299 (nextafter_test): Likewise.
1300 (nexttoward_test): Likewise.
1301 (pow_test): Likewise.
1302 (pow_test_tonearest): Likewise.
1303 (pow_test_towardzero): Likewise.
1304 (pow_test_downward): Likewise.
1305 (pow_test_upward): Likewise.
1306 (remainder_test): Likewise.
1307 (remainder_test_tonearest): Likewise.
1308 (remainder_test_towardzero): Likewise.
1309 (remainder_test_downward): Likewise.
1310 (remainder_test_upward): Likewise.
1311 (remquo_test): Likewise.
1312 (rint_test): Likewise.
1313 (rint_test_tonearest): Likewise.
1314 (rint_test_towardzero): Likewise.
1315 (rint_test_downward): Likewise.
1316 (rint_test_upward): Likewise.
1317 (round_test): Likewise.
1318 (scalb_test): Likewise.
1319 (scalbn_test): Likewise.
1320 (scalbln_test): Likewise.
1321 (signbit_test): Likewise.
1322 (sin_test): Likewise.
1323 (sin_test_tonearest): Likewise.
1324 (sin_test_towardzero): Likewise.
1325 (sin_test_downward): Likewise.
1326 (sin_test_upward): Likewise.
1327 (sincos_test): Likewise.
1328 (sinh_test): Likewise.
1329 (sinh_test_tonearest): Likewise.
1330 (sinh_test_towardzero): Likewise.
1331 (sinh_test_downward): Likewise.
1332 (sinh_test_upward): Likewise.
1333 (sqrt_test): Likewise.
1334 (tan_test): Likewise.
1335 (tan_test_tonearest): Likewise.
1336 (tan_test_towardzero): Likewise.
1337 (tan_test_downward): Likewise.
1338 (tan_test_upward): Likewise.
1339 (tanh_test): Likewise.
1340 (tgamma_test): Likewise.
1341 (trunc_test): Likewise.
1342 (y0_test): Likewise.
1343 (y1_test): Likewise.
1344 (yn_test): Likewise.
1345 (significand_test): Likewise.
1347 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1350 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1352 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1355 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1356 __ppc_mdoio and __ppc_mdoom.
1357 * manual/platform.texi: Document new functions __ppc_yield,
1358 __ppc_mdoio and __ppc_mdoom.
1360 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1362 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1363 (main): Mention "tls" pseudo-hwcap is legacy.
1364 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1366 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1368 * math/gen-libm-test.pl (parse_args): Output only string of
1369 arguments as text for test name, not full call or descriptions of
1370 tests for extra outputs.
1371 (generate_testfile): Do not pass function name to parse_args.
1372 Generate this_func variable from START.
1373 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1375 (struct test_ff_f_data): Likewise.
1376 (test_ff_f_data_nexttoward): Likewise.
1377 (struct test_fi_f_data): Likewise.
1378 (struct test_fl_f_data): Likewise.
1379 (struct test_if_f_data): Likewise.
1380 (struct test_fff_f_data): Likewise.
1381 (struct test_c_f_data): Likewise.
1382 (struct test_f_f1_data): Likewise. Remove field extra_name.
1383 (struct test_fF_f1_data): Likewise.
1384 (struct test_ffI_f1_data): Likewise.
1385 (struct test_c_c_data): Rename test_name field to arg_str.
1386 (struct test_cc_c_data): Likewise.
1387 (struct test_f_i_data): Likewise.
1388 (struct test_ff_i_data): Likewise.
1389 (struct test_f_l_data): Likewise.
1390 (struct test_f_L_data): Likewise.
1391 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1393 (COMMON_TEST_SETUP): New macro.
1394 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1395 (COMMON_TEST_CLEANUP): Likewise.
1396 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1397 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1399 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1400 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1402 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1403 (RUN_TEST_fff_f): Take argument string. Call new setup and
1405 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1406 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1408 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1409 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1411 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1412 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1414 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1415 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1417 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1418 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1420 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1421 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1423 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1424 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1426 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1427 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1429 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1430 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1432 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1433 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1435 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1436 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1438 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1439 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1441 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1442 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1444 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1445 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1447 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1448 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1450 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1452 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1454 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1455 to _sifields.sigfault.
1456 (si_addr_lsb): Define new macro.
1457 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1458 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1461 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1464 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1466 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1468 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1471 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1473 * math/gen-libm-test.pl (parse_args): Do not include expected
1474 result in test name.
1475 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1477 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1478 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1479 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1482 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1484 * benchtests/Makefile: Sort function entries.
1486 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1487 tanh, asinh, acosh, atanh.
1488 * benchtests/acos-inputs: New file.
1489 * benchtests/acosh-inputs: New file.
1490 * benchtests/asin-inputs: New file.
1491 * benchtests/asinh-inputs: New file.
1492 * benchtests/atanh-inputs: New file.
1493 * benchtests/cosh-inputs: New file.
1494 * benchtests/log-inputs: New file.
1495 * benchtests/sinh-inputs: New file.
1496 * benchtests/tanh-inputs: New file.
1498 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1501 * posix/tst-getaddrinfo4.c: New test.
1502 * posix/Makefile (tests): Add it.
1504 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1508 when no services were used.
1509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1510 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1512 2013-05-21 Andreas Schwab <schwab@suse.de>
1515 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1516 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1518 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1519 redundant variable declarations and reallocation of buffer when
1520 parsing as IPv6 address. Always set NSS status when called from
1521 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1522 buffer too small. Correct computation of needed size.
1523 * nss/Makefile (tests): Add test-digits-dots.
1524 * nss/test-digits-dots.c: New test.
1526 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1528 * benchtests/Makefile: Remove instructions for adding
1530 * benchtests/README: New file to explain how to execute and
1531 enhance the benchmark tests.
1533 2013-05-21 Andreas Schwab <schwab@suse.de>
1536 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1537 * setjmp/tst-sigsetjmp.c: New test.
1539 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1541 * sysdeps/x86_64/memset.S (memset): New implementation.
1542 (__bzero): Likewise.
1543 (__memset_tail): New function.
1545 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1547 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1548 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1549 __memcpy_sse2_unaligned ifunc selection.
1550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1551 Add memcpy-sse2-unaligned.S.
1552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1553 Add: __memcpy_sse2_unaligned.
1555 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1558 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1559 math_force_eval before restoring floating-point envrionment.
1560 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1561 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1563 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1565 (__nearbyintl): Use math_force_eval before restoring
1566 floating-point environment.
1567 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1569 * math/gen-libm-test.pl (special_functions): Remove.
1570 (parse_args): Don't handle TEST_extra. Handle functions with no
1572 * math/libm-test.inc (struct test_sincos_data): Replace with
1573 struct test_fFF_11_data.
1574 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1575 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1576 (sincos_test_data): Change element type to struct
1577 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1578 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1579 RUN_TEST_LOOP_sincos.
1580 * math/README.libm-test: Don't mention special handling of
1581 individual functions.
1582 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1584 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1586 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1589 * math/gen-libm-test.pl (get_variable): Remove function.
1590 (parse_args): Don't show pointer parameters to call in test
1591 names. Use "extra output N" in test names for extra outputs
1592 rather than naming variables.
1594 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1597 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1598 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1599 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1601 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1603 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1606 * math/gen-libm-test.pl (@tests): Remove variable.
1608 (new_test): Remove function.
1609 (show_exceptions): New function.
1610 (special_functions): Use show_exceptions instead of new_test.
1611 (parse_args): Likewise.
1612 (generate_testfile): Pass only function name in generated call to
1613 print_max_error or print_complex_max_error.
1614 (get_ulps): Do not handle complex tests specially.
1615 (output_test): Rename to ...
1616 (get_all_ulps_for_test): ... this. Return a string rather than
1617 printing to a file. Require ulps to be present.
1618 (output_ulps): Generate arrays rather than #defines.
1619 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1620 (struct ulp_data): New type.
1621 (BUILD_COMPLEX_ULP): Remove macro.
1622 (compare_ulp_data): New function.
1623 (find_ulps): Likewise.
1624 (find_test_ulps): Likewise.
1625 (find_function_ulps): Likewise.
1626 (find_complex_function_ulps): Likewise.
1627 (print_max_error): Determine allowed ulps using
1629 (print_complex_max_error): Determine allowed ulps using
1630 find_complex_function_ulps.
1631 (check_float_internal): Determine max ulps using find_test_ulps.
1632 (check_float): Do not take max_ulp parameter. Update call to
1633 check_float_internal.
1634 (check_complex): Likewise.
1635 (check_int): Do not take max_ulp parameter.
1636 (check_long): Likewise.
1637 (check_bool): Likewise.
1638 (check_longlong): Likewise.
1639 (struct test_f_f_data): Remove max_ulp field.
1640 (struct test_ff_f_data): Likewise.
1641 (struct test_ff_f_data_nexttoward): Likewise.
1642 (struct test_fi_f_data): Likewise.
1643 (struct test_fl_f_data): Likewise.
1644 (struct test_if_f_data): Likewise.
1645 (struct test_fff_f_data): Likewise.
1646 (struct test_c_f_data): Likewise.
1647 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1648 (struct test_fF_f1_data): Likewise.
1649 (struct test_ffI_f1_data): Likewise.
1650 (struct test_c_c_data): Remove max_ulp field.
1651 (struct test_cc_c_data): Likewise.
1652 (struct test_f_i_data): Likewise.
1653 (struct test_ff_i_data): Likewise.
1654 (struct test_f_l_data): Likewise.
1655 (struct test_f_L_data): Likewise.
1656 (struct test_sincos_data): Likewise.
1657 (RUN_TEST_f_f): Do not handle ulps.
1658 (RUN_TEST_LOOP_f_f): Likewise.
1659 (RUN_TEST_2_f): Likewise.
1660 (RUN_TEST_LOOP_2_f): Likewise.
1661 (RUN_TEST_fff_f): Likewise.
1662 (RUN_TEST_LOOP_fff_f): Likewise.
1663 (RUN_TEST_c_f): Likewise.
1664 (RUN_TEST_LOOP_c_f): Likewise.
1665 (RUN_TEST_f_f1): Likewise.
1666 (RUN_TEST_LOOP_f_f1): Likewise.
1667 (RUN_TEST_fF_f1): Likewise.
1668 (RUN_TEST_LOOP_fF_f1): Likewise.
1669 (RUN_TEST_fI_f1): Likewise.
1670 (RUN_TEST_LOOP_fI_f1): Likewise.
1671 (RUN_TEST_ffI_f1): Likewise.
1672 (RUN_TEST_LOOP_ffI_f1): Likewise.
1673 (RUN_TEST_c_c): Likewise.
1674 (RUN_TEST_LOOP_c_c): Likewise.
1675 (RUN_TEST_cc_c): Likewise.
1676 (RUN_TEST_LOOP_cc_c): Likewise.
1677 (RUN_TEST_f_i): Likewise.
1678 (RUN_TEST_LOOP_f_i): Likewise.
1679 (RUN_TEST_f_i_tg): Likewise.
1680 (RUN_TEST_LOOP_f_i_tg): Likewise.
1681 (RUN_TEST_ff_i_tg): Likewise.
1682 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1683 (RUN_TEST_f_b): Likewise.
1684 (RUN_TEST_LOOP_f_b): Likewise.
1685 (RUN_TEST_f_b_tg): Likewise.
1686 (RUN_TEST_LOOP_f_b_tg): Likewise.
1687 (RUN_TEST_f_l): Likewise.
1688 (RUN_TEST_LOOP_f_l): Likewise.
1689 (RUN_TEST_f_L): Likewise.
1690 (RUN_TEST_LOOP_f_L): Likewise.
1691 (RUN_TEST_sincos): Likewise.
1692 (RUN_TEST_LOOP_sincos): Likewise.
1694 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1698 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1699 main case of finite arguments, set rounding mode to FE_TONEAREST
1700 and discard exceptions.
1701 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1703 (remainder_tonearest_test_data): New variable.
1704 (remainder_test_tonearest): New function.
1705 (remainder_towardzero_test_data): New variable.
1706 (remainder_test_towardzero): New function.
1707 (remainder_downward_test_data): New variable.
1708 (remainder_test_downward): New function.
1709 (remainder_upward_test_data): New variable.
1710 (remainder_test_upward): New function.
1711 (main): Call the new test functions.
1713 * math/libm-test.inc (struct test_f_f1_data): Remove field
1715 (struct test_fF_f1_data): Likewise.
1716 (struct test_ffI_f1_data): Likewise.
1717 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1718 based on value of EXTRA_EXPECTED.
1719 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1720 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1721 EXTRA_VAR based on value of EXTRA_EXPECTED.
1722 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1723 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1724 EXTRA_VAR based on value of EXTRA_EXPECTED.
1725 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1726 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1727 EXTRA_VAR based on value of EXTRA_EXPECTED.
1728 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1729 * math/gen-libm-test.pl (parse_args): Don't output initializers
1730 for extra output values.
1732 * math/libm-test.inc (check_int): Expect result to be exactly
1733 equal to expected value and do not handle ulps.
1734 (check_long): Likewise.
1735 (check_longlong): Likewise.
1737 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1739 (cimag_test_data): Likewise.
1740 (conj_test_data): Likewise.
1741 (copysign_test_data): Likewise.
1742 (cproj_test_data): Likewise.
1743 (creal_test_data): Likewise.
1744 (fabs_test_data): Likewise.
1745 (fdim_test_data): Likewise.
1746 (finite_test_data): Likewise.
1747 (floor_test_data): Likewise.
1748 (fmax_test_data): Likewise.
1749 (fmin_test_data): Likewise.
1750 (fmod_test_data): Likewise.
1751 (fpclassify_test_data): Likewise.
1752 (frexp_test_data): Likewise.
1753 (ilogb_test_data): Likewise.
1754 (isfinite_test_data): Likewise.
1755 (isgreater_test_data): Likewise.
1756 (isgreaterequal_test_data): Likewise.
1757 (isinf_test_data): Likewise.
1758 (isless_test_data): Likewise.
1759 (islessequal_test_data): Likewise.
1760 (islessgreater_test_data): Likewise.
1761 (isnan_test_data): Likewise.
1762 (isnormal_test_data): Likewise.
1763 (issignaling_test_data): Likewise.
1764 (isunordered_test_data): Likewise.
1765 (ldexp_test_data): Likewise.
1766 (lrint_test_data): Likewise.
1767 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1768 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1769 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1770 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1771 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1772 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1774 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1775 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1776 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1777 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1779 (lrint_downward_test_data): Test for "inexact" exceptions.
1780 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1781 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1782 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1784 (lrint_upward_test_data): Test for "inexact" exceptions.
1785 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1787 (llrint_test_data): Test for "inexact" exceptions.
1788 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1789 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1790 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1791 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1792 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1793 (llrint_downward_test_data): Test for "inexact" exceptions.
1794 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1795 (llrint_upward_test_data): Test for "inexact" exceptions.
1796 (logb_test_data): Likewise.
1797 (logb_downward_test_data): Likewise.
1798 (nextafter_test_data): Likewise.
1799 (nexttoward_test_data): Likewise.
1800 (remainder_test_data): Likewise.
1801 (remquo_test_data): Likewise.
1802 (scalbn_test_data): Likewise.
1803 (scalbln_test_data): Likewise.
1804 (signbit_test_data): Likewise.
1805 (sqrt_test_data): Likewise.
1806 (significand_test_data): Likewise.
1808 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1811 * benchtests/bench-modf.c (struct args): Mark arg0 as
1813 * scripts/bench.pl: Mark members of struct args as volatile.
1815 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1818 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1819 negative infinity on POWER6 or lower.
1820 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1822 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1825 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1826 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1827 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1828 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1829 (_FP_SETQNAN): New macro.
1830 (_FP_SETQNAN_SEMIRAW): Likewise.
1831 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1832 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1833 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1834 (FP_EXTEND): Use _FP_FRAC_SNANP.
1835 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1836 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1838 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1840 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1843 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1845 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1846 with DIVIDE_BY_ZERO_EXCEPTION.
1847 (gamma_test_data): Likewise.
1848 (lgamma_test_data): Likewise.
1849 (log_test_data): Likewise.
1850 (log10_test_data): Likewise.
1851 (log2_test_data): Likewise.
1852 (tgamma_test_data): Likewise.
1854 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1855 (acos_test_tonearest): Likewise.
1856 (acos_test_towardzero): Likewise.
1857 (acos_test_downward): Likewise.
1858 (acos_test_upward): Likewise.
1859 (acosh_test): Likewise.
1860 (asin_test): Likewise.
1861 (asin_test_tonearest): Likewise.
1862 (asin_test_towardzero): Likewise.
1863 (asin_test_downward): Likewise.
1864 (asin_test_upward): Likewise.
1865 (asinh_test): Likewise.
1866 (atan_test): Likewise.
1867 (atanh_test): Likewise.
1868 (atan2_test): Likewise.
1869 (cabs_test): Likewise.
1870 (cacos_test): Likewise.
1871 (cacosh_test): Likewise.
1872 (casin_test): Likewise.
1873 (casinh_test): Likewise.
1874 (catan_test): Likewise.
1875 (catanh_test): Likewise.
1876 (cbrt_test): Likewise.
1877 (ccos_test): Likewise.
1878 (ccosh_test): Likewise.
1879 (cexp_test): Likewise.
1880 (clog_test): Likewise.
1881 (clog10_test): Likewise.
1882 (cos_test): Likewise.
1883 (cos_test_tonearest): Likewise.
1884 (cos_test_towardzero): Likewise.
1885 (cos_test_downward): Likewise.
1886 (cos_test_upward): Likewise.
1887 (cosh_test): Likewise.
1888 (cosh_test_tonearest): Likewise.
1889 (cosh_test_towardzero): Likewise.
1890 (cosh_test_downward): Likewise.
1891 (cosh_test_upward): Likewise.
1892 (cpow_test): Likewise.
1893 (csin_test): Likewise.
1894 (csinh_test): Likewise.
1895 (csqrt_test): Likewise.
1896 (ctan_test): Likewise.
1897 (ctan_test_tonearest): Likewise.
1898 (ctan_test_towardzero): Likewise.
1899 (ctan_test_downward): Likewise.
1900 (ctan_test_upward): Likewise.
1901 (ctanh_test): Likewise.
1902 (ctanh_test_tonearest): Likewise.
1903 (ctanh_test_towardzero): Likewise.
1904 (ctanh_test_downward): Likewise.
1905 (ctanh_test_upward): Likewise.
1906 (erf_test): Likewise.
1907 (erfc_test): Likewise.
1908 (exp_test): Likewise.
1909 (exp_test_tonearest): Likewise.
1910 (exp_test_towardzero): Likewise.
1911 (exp_test_downward): Likewise.
1912 (exp_test_upward): Likewise.
1913 (exp10_test): Likewise.
1914 (exp2_test): Likewise.
1915 (expm1_test): Likewise.
1916 (fmod_test): Likewise.
1917 (gamma_test): Likewise.
1918 (hypot_test): Likewise.
1919 (j0_test): Likewise.
1920 (j1_test): Likewise.
1921 (jn_test): Likewise.
1922 (lgamma_test): Likewise.
1923 (log_test): Likewise.
1924 (log10_test): Likewise.
1925 (log1p_test): Likewise.
1926 (log2_test): Likewise.
1927 (logb_test_downward): Likewise.
1928 (pow_test): Likewise.
1929 (pow_test_tonearest): Likewise.
1930 (pow_test_towardzero): Likewise.
1931 (pow_test_downward): Likewise.
1932 (pow_test_upward): Likewise.
1933 (remainder_test): Likewise.
1934 (remquo_test): Likewise.
1935 (sin_test): Likewise.
1936 (sin_test_tonearest): Likewise.
1937 (sin_test_towardzero): Likewise.
1938 (sin_test_downward): Likewise.
1939 (sin_test_upward): Likewise.
1940 (sincos_test): Likewise.
1941 (sinh_test): Likewise.
1942 (sinh_test_tonearest): Likewise.
1943 (sinh_test_towardzero): Likewise.
1944 (sinh_test_downward): Likewise.
1945 (sinh_test_upward): Likewise.
1946 (sqrt_test): Likewise.
1947 (tan_test): Likewise.
1948 (tan_test_tonearest): Likewise.
1949 (tan_test_towardzero): Likewise.
1950 (tan_test_downward): Likewise.
1951 (tan_test_upward): Likewise.
1952 (tanh_test): Likewise.
1953 (tgamma_test): Likewise.
1954 (y0_test): Likewise.
1955 (y1_test): Likewise.
1956 (yn_test): Likewise.
1958 * math/gen-libm-test.pl (adjust_arg): Remove function.
1959 (special_function): Remove argument $in_func. Only handle
1960 generating output for tables of tests, not inside functions.
1961 (parse_args): Likewise.
1962 (generate_testfile): Remove variable $in_func. Update call to
1964 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1965 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1966 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1967 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1968 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1969 (MAX_VALUE_INIT): Rename macro to max_value.
1970 (MIN_VALUE_INIT): Rename macro to min_value.
1971 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1972 (plus_zero): Remove variable.
1973 (minus_zero): Likewise.
1974 (plus_infty): Likewise.
1975 (minus_infty): Likewise.
1976 (qnan_value): Likewise.
1977 (max_value): Likewise.
1978 (min_value): Likewise.
1979 (min_subnorm_value): Likewise.
1981 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1983 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1984 uint64_t or uint32_t usage.
1985 * crypt/sha256-block.c: Likewise.
1986 * crypt/sha256-crypt.c: Likewise.
1987 * crypt/sha256.c: Likewise.
1988 * crypt/sha512-block.c: Likewise.
1989 * crypt/sha512-crypt.c: Likewise.
1990 * crypt/sha512.c: Likewise.
1991 * debug/backtrace-tst.c: Likewise.
1992 * debug/pcprofiledump.c: Likewise.
1993 * elf/cache.c: Likewise.
1994 * elf/dl-cache.c: Likewise.
1995 * elf/dl-misc.c: Likewise.
1996 * elf/dl-profile.c: Likewise.
1997 * elf/dl-support.c: Likewise.
1998 * elf/ldconfig.c: Likewise.
1999 * elf/sprof.c: Likewise.
2000 * iconv/dummy-repertoire.c: Likewise.
2001 * iconv/iconv_charmap.c: Likewise.
2002 * iconv/skeleton.c: Likewise.
2003 * iconvdata/8bit-generic.c: Likewise.
2004 * iconvdata/cp737.h: Likewise.
2005 * iconvdata/cp775.h: Likewise.
2006 * iconvdata/ibm1008.h: Likewise.
2007 * iconvdata/ibm1025.h: Likewise.
2008 * iconvdata/ibm1046.h: Likewise.
2009 * iconvdata/ibm1097.h: Likewise.
2010 * iconvdata/ibm1112.h: Likewise.
2011 * iconvdata/ibm1122.h: Likewise.
2012 * iconvdata/ibm1123.h: Likewise.
2013 * iconvdata/ibm1124.h: Likewise.
2014 * iconvdata/ibm1129.h: Likewise.
2015 * iconvdata/ibm1130.h: Likewise.
2016 * iconvdata/ibm1132.h: Likewise.
2017 * iconvdata/ibm1133.h: Likewise.
2018 * iconvdata/ibm1137.h: Likewise.
2019 * iconvdata/ibm1140.h: Likewise.
2020 * iconvdata/ibm1141.h: Likewise.
2021 * iconvdata/ibm1142.h: Likewise.
2022 * iconvdata/ibm1143.h: Likewise.
2023 * iconvdata/ibm1144.h: Likewise.
2024 * iconvdata/ibm1145.h: Likewise.
2025 * iconvdata/ibm1146.h: Likewise.
2026 * iconvdata/ibm1147.h: Likewise.
2027 * iconvdata/ibm1148.h: Likewise.
2028 * iconvdata/ibm1149.h: Likewise.
2029 * iconvdata/ibm1153.h: Likewise.
2030 * iconvdata/ibm1154.h: Likewise.
2031 * iconvdata/ibm1155.h: Likewise.
2032 * iconvdata/ibm1156.h: Likewise.
2033 * iconvdata/ibm1157.h: Likewise.
2034 * iconvdata/ibm1158.h: Likewise.
2035 * iconvdata/ibm1160.h: Likewise.
2036 * iconvdata/ibm1161.h: Likewise.
2037 * iconvdata/ibm1162.h: Likewise.
2038 * iconvdata/ibm1163.h: Likewise.
2039 * iconvdata/ibm1164.h: Likewise.
2040 * iconvdata/ibm1166.h: Likewise.
2041 * iconvdata/ibm1167.h: Likewise.
2042 * iconvdata/ibm12712.h: Likewise.
2043 * iconvdata/ibm1390.h: Likewise.
2044 * iconvdata/ibm1399.h: Likewise.
2045 * iconvdata/ibm16804.h: Likewise.
2046 * iconvdata/ibm4517.h: Likewise.
2047 * iconvdata/ibm4899.h: Likewise.
2048 * iconvdata/ibm4909.h: Likewise.
2049 * iconvdata/ibm4971.h: Likewise.
2050 * iconvdata/ibm5347.h: Likewise.
2051 * iconvdata/ibm803.h: Likewise.
2052 * iconvdata/ibm856.h: Likewise.
2053 * iconvdata/ibm901.h: Likewise.
2054 * iconvdata/ibm902.h: Likewise.
2055 * iconvdata/ibm9030.h: Likewise.
2056 * iconvdata/ibm9066.h: Likewise.
2057 * iconvdata/ibm921.h: Likewise.
2058 * iconvdata/ibm922.h: Likewise.
2059 * iconvdata/ibm9448.h: Likewise.
2060 * iconvdata/isiri-3342.h: Likewise.
2061 * iconvdata/jis0201.h: Likewise.
2062 * include/link.h: Likewise.
2063 * include/netdb.h: Likewise.
2064 * inet/check_native.c: Likewise.
2065 * inet/check_pf.c: Likewise.
2066 * inet/getipv4sourcefilter.c: Likewise.
2067 * inet/getnameinfo.c: Likewise.
2068 * inet/getsourcefilter.c: Likewise.
2069 * inet/htonl.c: Likewise.
2070 * inet/setipv4sourcefilter.c: Likewise.
2071 * inet/setsourcefilter.c: Likewise.
2072 * inet/test-inet6_opt.c: Likewise.
2073 * inet/tst-network.c: Likewise.
2074 * locale/C-collate.c: Likewise.
2075 * locale/C-ctype.c: Likewise.
2076 * locale/C-time.c: Likewise.
2077 * locale/C-translit.h: Likewise.
2078 * locale/loadarchive.c: Likewise.
2079 * locale/programs/3level.h: Likewise.
2080 * locale/programs/charmap.c: Likewise.
2081 * locale/programs/charmap.h: Likewise.
2082 * locale/programs/ld-address.c: Likewise.
2083 * locale/programs/ld-collate.c: Likewise.
2084 * locale/programs/ld-ctype.c: Likewise.
2085 * locale/programs/ld-identification.c: Likewise.
2086 * locale/programs/ld-measurement.c: Likewise.
2087 * locale/programs/ld-messages.c: Likewise.
2088 * locale/programs/ld-monetary.c: Likewise.
2089 * locale/programs/ld-name.c: Likewise.
2090 * locale/programs/ld-numeric.c: Likewise.
2091 * locale/programs/ld-paper.c: Likewise.
2092 * locale/programs/ld-telephone.c: Likewise.
2093 * locale/programs/ld-time.c: Likewise.
2094 * locale/programs/linereader.c: Likewise.
2095 * locale/programs/locale.c: Likewise.
2096 * locale/programs/locarchive.c: Likewise.
2097 * locale/programs/locfile.h: Likewise.
2098 * locale/programs/repertoire.c: Likewise.
2099 * locale/programs/simple-hash.c: Likewise.
2100 * locale/programs/simple-hash.h: Likewise.
2101 * malloc/memusage.c: Likewise.
2102 * malloc/memusagestat.c: Likewise.
2103 * nis/nis_defaults.c: Likewise.
2104 * nis/nis_hash.c: Likewise.
2105 * nis/nis_print.c: Likewise.
2106 * nis/nis_xdr.c: Likewise.
2107 * nscd/connections.c: Likewise.
2108 * nscd/hstcache.c: Likewise.
2109 * nscd/nscd_gethst_r.c: Likewise.
2110 * nscd/nscd_getserv_r.c: Likewise.
2111 * nscd/nscd_helper.c: Likewise.
2112 * nscd/servicescache.c: Likewise.
2113 * nss/makedb.c: Likewise.
2114 * nss/nss_db/db-XXX.c: Likewise.
2115 * nss/nss_db/db-initgroups.c: Likewise.
2116 * nss/nss_db/db-netgrp.c: Likewise.
2117 * nss/nss_files/files-network.c: Likewise.
2118 * nss/nss_files/files-parse.c: Likewise.
2119 * posix/bug-regex5.c: Likewise.
2120 * posix/fnmatch_loop.c: Likewise.
2121 * posix/regcomp.c: Likewise.
2122 * posix/regexec.c: Likewise.
2123 * posix/tst-rfc3484-2.c: Likewise.
2124 * posix/tst-rfc3484-3.c: Likewise.
2125 * posix/tst-rfc3484.c: Likewise.
2126 * resolv/nss_dns/dns-canon.c: Likewise.
2127 * resolv/nss_dns/dns-network.c: Likewise.
2128 * resolv/res_init.c: Likewise.
2129 * resolv/res_mkquery.c: Likewise.
2130 * resolv/tst-aton.c: Likewise.
2131 * stdlib/cxa_atexit.c: Likewise.
2132 * stdlib/cxa_finalize.c: Likewise.
2133 * stdlib/gen-fpioconst.c: Likewise.
2134 * stdlib/strtol_l.c: Likewise.
2135 * string/tst-endian.c: Likewise.
2136 * sunrpc/auth_des.c: Likewise.
2137 * sunrpc/clnt_udp.c: Likewise.
2138 * sunrpc/rtime.c: Likewise.
2139 * sunrpc/svcauth_des.c: Likewise.
2140 * sunrpc/xdr.c: Likewise.
2141 * sunrpc/xdr_intXX_t.c: Likewise.
2142 * sunrpc/xdr_rec.c: Likewise.
2143 * sysdeps/generic/ldconfig.h: Likewise.
2144 * sysdeps/generic/ldsodefs.h: Likewise.
2145 * sysdeps/generic/memusage.h: Likewise.
2146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2149 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2156 * sysdeps/posix/getaddrinfo.c: Likewise.
2157 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2158 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2159 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2160 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2161 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2162 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2163 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2164 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2165 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2166 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2167 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2168 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2169 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2170 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2171 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2172 * sysdeps/x86_64/dl-tls.h: Likewise.
2173 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2174 * time/alt_digit.c: Likewise.
2175 * time/era.c: Likewise.
2176 * wcsmbs/tst-c16c32-1.c: Likewise.
2178 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2180 * math/libm-test.inc (struct test_sincos_data): New type.
2181 (RUN_TEST_LOOP_sincos): New macro.
2182 (sincos_test_data): New variable.
2183 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2185 2013-05-16 Richard Henderson <rth@redhat.com>
2187 * math/atest-exp2.c (LIMB64): New macro.
2188 (CONSTSZ): New macro.
2189 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2191 (print_mpn_fp): ... to function scope.
2192 (read_mpn_hex): Remove.
2194 (exp2_mpn): Use mp_log2.
2195 (main): Use mp_exp1.
2197 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2199 * math/libm-test.inc: Remove comment about not testing "inexact"
2201 (INEXACT_EXCEPTION): New macro.
2202 (NO_INEXACT_EXCEPTION): Likewise.
2203 (INVALID_EXCEPTION_OK): Update value.
2204 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2205 (OVERFLOW_EXCEPTION_OK): Likewise.
2206 (UNDERFLOW_EXCEPTION_OK): Likewise.
2207 (IGNORE_ZERO_INF_SIGN): Likewise.
2208 (ERRNO_UNCHANGED): Likewise.
2209 (ERRNO_EDOM): Likewise.
2210 (ERRNO_ERANGE): Likewise.
2211 (test_exceptions): Handle testing "inexact" exceptions.
2212 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2213 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2214 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2215 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2217 (rint_towardzero_test_data): Likewise.
2218 (rint_downward_test_data): Likewise.
2219 (rint_upward_test_data): Likewise.
2221 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2222 with OVERFLOW_EXCEPTION.
2223 (exp10_test_data): Likewise.
2224 (exp2_test_data): Likewise.
2225 (expm1_test_data): Likewise.
2226 (lgamma_test_data): Likewise.
2227 (pow_test_data): Likewise.
2228 (tgamma_test_data): Likewise.
2229 (yn_test_data): Remove duplicate test of overflow.
2231 * math/libm-test.inc (struct test_cc_c_data): New type.
2232 (RUN_TEST_LOOP_cc_c): New macro.
2233 (cpow_test_data): New variable.
2234 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2236 * math/libm-test.inc (struct test_f_L_data): New type.
2237 (RUN_TEST_LOOP_f_L): New macro.
2238 (llrint_test_data): New variable.
2239 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2240 (llrint_tonearest_test_data): New variable.
2241 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2242 (llrint_towardzero_test_data): New variable.
2243 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2244 (llrint_downward_test_data): New variable.
2245 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2246 (llrint_upward_test_data): New variable.
2247 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2248 (llround_test_data): New variable.
2249 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2251 2013-05-13 Peter Collingbourne <pcc@google.com>
2253 * math/atest-exp2.c (get_log2): Remove const attribute.
2255 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2257 * math/libm-test.inc (struct test_f_l_data): New type.
2258 (RUN_TEST_LOOP_f_l): New macro.
2259 (lrint_test_data): New variable.
2260 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2261 (lrint_tonearest_test_data): New variable.
2262 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2263 (lrint_towardzero_test_data): New variable.
2264 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2265 (lrint_downward_test_data): New variable.
2266 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2267 (lrint_upward_test_data): New variable.
2268 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2269 (lround_test_data): New variable.
2270 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2272 2013-05-15 Peter Collingbourne <pcc@google.com>
2274 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2275 (EXTRACT_WORDS64) Use where appropriate.
2276 (INSERT_WORDS64) Likewise.
2278 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2279 constraints with x constraints.
2280 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2282 * malloc/obstack.c (_obstack_compat): Add initializer.
2284 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2287 si_trapno and add si_addr_lsb to _sifields.sigfault.
2288 (si_trapno): Remove macro.
2289 (si_addr_lsb): Define new macro.
2290 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2292 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2294 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2295 instead of TEST_f_l.
2296 (llrint_test_tonearest): Likewise.
2297 (llrint_test_towardzero): Likewise.
2298 (llrint_test_downward): Likewise.
2299 (llrint_test_upward): Likewise.
2300 (llround_test): Likewise.
2302 * math/libm-test.inc (struct test_f_i_data): Add comment.
2303 (RUN_TEST_LOOP_f_b): New macro.
2304 (RUN_TEST_LOOP_f_b_tg): Likewise.
2305 (finite_test_data): New variable.
2306 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2307 (isfinite_test_data): New variable.
2308 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2309 (isinf_test_data): New variable.
2310 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2311 (isnan_test_data): New variable.
2312 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2313 (isnormal_test_data): New variable.
2314 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2315 (issignaling_test_data): New variable.
2316 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2317 (signbit_test_data): New variable.
2318 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2320 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2321 with INVALID_EXCEPTION.
2322 (acosh_test_data): Likewise.
2323 (asin_test_data): Likewise.
2324 (atanh_test_data): Likewise.
2325 (fmod_test_data): Likewise.
2326 (log_test_data): Likewise.
2327 (log10_test_data): Likewise.
2328 (log2_test_data): Likewise.
2329 (pow_test_data): Likewise.
2330 (sqrt_test_data): Likewise.
2331 (y0_test_data): Likewise.
2332 (y1_test_data): Likewise.
2333 (yn_test_data): Likewise.
2335 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2338 * math/libm-test.inc (struct test_ff_i_data): New type.
2339 (RUN_TEST_LOOP_ff_i_tg): New macro.
2340 (isgreater_test_data): New variable.
2341 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2342 (isgreaterequal_test_data): New variable.
2343 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2344 (isless_test_data): New variable.
2345 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2346 (islessequal_test_data): New variable.
2347 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2348 (islessgreater_test_data): New variable.
2349 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2350 (isunordered_test_data): New variable.
2351 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2353 2013-05-14 David S. Miller <davem@davemloft.net>
2355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2357 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2359 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2361 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2363 (struct test_f_i_data): Change type of max_ulp to int.
2365 * math/libm-test.inc (test_ffI_f1_data): New type.
2366 (RUN_TEST_LOOP_ffI_f1): New macro.
2367 (remquo_test_data): New variable.
2368 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2370 * setjmp/tst-setjmp-fp.c: New file.
2371 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2372 (link-libm): New variable.
2373 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2375 * math/libm-test.inc (struct test_f_i_data): New type.
2376 (RUN_TEST_LOOP_f_i): New macro.
2377 (RUN_TEST_LOOP_f_i_tg): Likewise.
2378 (fpclassify_test_data): New variable.
2379 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2380 (ilogb_test_data): New variable.
2381 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2383 * math/libm-test.inc (scalbln_test): Correct function name in END
2386 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2387 (RUN_TEST_LOOP_fI_f1): New macro.
2388 (frexp_test_data): New variable.
2389 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2391 * math/libm-test.inc (struct test_fF_f1_data): New type.
2392 (RUN_TEST_LOOP_fF_f1): New macro.
2393 (modf_test_data): New variable.
2394 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2396 * math/libm-test.inc (struct test_f_f1_data): New type.
2397 (RUN_TEST_LOOP_f_f1): New macro.
2398 (gamma_test_data): New variable.
2399 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2400 (lgamma_test_data): New variable.
2401 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2403 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2405 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2406 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2407 (main): Comment "tls" pseudo-hwcap.
2409 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2411 * math/libm-test.inc (struct test_fl_f_data): New type.
2412 (RUN_TEST_LOOP_fl_f): New variable.
2413 (scalbln_test_data): New variable.
2414 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2416 * math/libm-test.inc (struct test_fi_f_data): New type.
2417 (RUN_TEST_LOOP_fi_f): New macro.
2418 (ldexp_test_data): New variable.
2419 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2420 (scalbn_test_data): New variable.
2421 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2423 * math/libm-test.inc (struct test_c_f_data): New type.
2424 (RUN_TEST_LOOP_c_f): New macro.
2425 (cabs_test_data): New variable.
2426 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2427 (carg_test_data): New variable.
2428 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2429 (cimag_test_data): New variable.
2430 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2431 (creal_test_data): New variable.
2432 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2434 * math/libm-test.inc (struct test_if_f_data): New type.
2435 (RUN_TEST_LOOP_if_f): New macro.
2436 (jn_test_data): New variable.
2437 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2438 (yn_test_data): New variable.
2439 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2441 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2443 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2445 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2446 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2448 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2450 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2451 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2452 (bench-deps): Add bench-timing.h.
2453 * benchtests-bench-skeleton.c: Include bench-timing.h.
2454 (main): Use TIMING_* macros instead of clock_gettime.
2455 * benchtests/bench-timing.h: New file.
2458 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2459 Renamed from _LIB_VERSION.
2460 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2462 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2464 * math/libm-test.inc (struct test_fff_f_data): New type.
2465 (RUN_TEST_LOOP_fff_f): New macro.
2466 (fma_test_data): New variable.
2467 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2468 (fma_towardzero_test_data): New variable.
2469 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2470 (fma_downward_test_data): New variable.
2471 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2472 (fma_upward_test_data): New variable.
2473 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2475 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2476 (struct test_c_c_data): New type.
2477 (RUN_TEST_LOOP_c_c): New macro.
2478 (cacos_test_data): New variable.
2479 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2480 (cacosh_test_data): New variable.
2481 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2482 (casin_test_data): New variable.
2483 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2484 (casinh_test_data): New variable.
2485 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2486 (catan_test_data): New variable.
2487 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2488 (catanh_test_data): New variable.
2489 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2490 (ccos_test_data): New variable.
2491 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2492 (ccosh_test_data): New variable.
2493 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2494 (cexp_test_data): New variable.
2495 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2496 (clog_test_data): New variable.
2497 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2498 (clog10_test_data): New variable.
2499 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2500 (conj_test_data): New variable.
2501 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2502 (cproj_test_data): New variable.
2503 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2504 (csin_test_data): New variable.
2505 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2506 (csinh_test_data): New variable.
2507 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2508 (csqrt_test_data): New variable.
2509 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2510 (ctan_test_data): New variable.
2511 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2512 (ctan_tonearest_test_data): New variable.
2513 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2514 (ctan_towardzero_test_data): New variable.
2515 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2516 (ctan_downward_test_data): New variable.
2517 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2518 (ctan_upward_test_data): New variable.
2519 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2520 (ctanh_test_data): New variable.
2521 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2522 (ctanh_tonearest_test_data): New variable.
2523 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2524 (ctanh_towardzero_test_data): New variable.
2525 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2526 (ctanh_downward_test_data): New variable.
2527 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2528 (ctanh_upward_test_data): New variable.
2529 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2530 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2533 * math/libm-test.inc (struct test_ff_f_data): New type.
2534 (struct test_ff_f_data_nexttoward): Likewise.
2535 (RUN_TEST_LOOP_2_f): New macro.
2536 (RUN_TEST_LOOP_ff_f): Likewise.
2537 (atan2_test_data): New variable.
2538 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2539 (copysign_test_data): New variable.
2540 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2541 (fdim_test_data): New variable.
2542 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2543 (fmax_test_data): New variable.
2544 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2545 (fmin_test_data): New variable.
2546 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2547 (fmod_test_data): New variable.
2548 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2549 (hypot_test_data): New variable.
2550 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2551 (nextafter_test_data): New variable.
2552 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2553 (nexttoward_test_data): New variable.
2554 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2555 (pow_test_data): New variable.
2556 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2557 (pow_tonearest_test_data): New variable.
2558 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2559 (pow_towardzero_test_data): New variable.
2560 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2561 (pow_downward_test_data): New variable.
2562 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2563 (pow_upward_test_data): New variable.
2564 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2565 (remainder_test_data): New variable.
2566 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2567 (scalb_test_data): New variable.
2568 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2569 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2573 * math/libm-test.inc (fma_test): Use max_value instead of local
2575 (nextafter_test): Likewise.
2577 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2578 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2579 (acos_downward_test_data): New variable.
2580 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2581 (acos_upward_test_data): New variable.
2582 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2583 (acosh_test_data): New variable.
2584 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2585 (asin_test_data): New variable.
2586 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2587 (asin_tonearest_test_data): New variable.
2588 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2589 (asin_towardzero_test_data): New variable.
2590 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2591 (asin_downward_test_data): New variable.
2592 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2593 (asin_upward_test_data): New variable.
2594 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2595 (asinh_test_data): New variable.
2596 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2597 (atan_test_data): New variable.
2598 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2599 (atanh_test_data): New variable.
2600 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2601 (cbrt_test_data): New variable.
2602 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2603 (ceil_test_data): New variable.
2604 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2605 (cos_test_data): New variable.
2606 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2607 (cos_tonearest_test_data): New variable.
2608 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2609 (cos_towardzero_test_data): New variable.
2610 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2611 (cos_downward_test_data): New variable.
2612 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2613 (cos_upward_test_data): New variable.
2614 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2615 (cosh_test_data): New variable.
2616 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2617 (cosh_tonearest_test_data): New variable.
2618 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2619 (cosh_towardzero_test_data): New variable.
2620 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2621 (cosh_downward_test_data): New variable.
2622 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2623 (cosh_upward_test_data): New variable.
2624 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2625 (erf_test_data): New variable.
2626 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2627 (erfc_test_data): New variable.
2628 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2629 (exp_test_data): New variable.
2630 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2631 (exp_tonearest_test_data): New variable.
2632 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2633 (exp_towardzero_test_data): New variable.
2634 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2635 (exp_downward_test_data): New variable.
2636 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2637 (exp_upward_test_data): New variable.
2638 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2639 (exp10_test_data): New variable.
2640 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2641 (exp2_test_data): New variable.
2642 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2643 (expm1_test_data): New variable.
2644 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2645 (fabs_test_data): New variable.
2646 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2647 (floor_test_data): New variable.
2648 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2649 (j0_test_data): New variable.
2650 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2651 (j1_test_data): New variable.
2652 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2653 (log_test_data): New variable.
2654 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2655 (log10_test_data): New variable.
2656 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2657 (log1p_test_data): New variable.
2658 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2659 (log2_test_data): New variable.
2660 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2661 (logb_test_data): New variable.
2662 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2663 (logb_downward_test_data): New variable.
2664 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2665 (nearbyint_test_data): New variable.
2666 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2667 (rint_test_data): New variable.
2668 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2669 (rint_tonearest_test_data): New variable.
2670 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2671 (rint_towardzero_test_data): New variable.
2672 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2673 (rint_downward_test_data): New variable.
2674 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2675 (rint_upward_test_data): New variable.
2676 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2677 (round_test_data): New variable.
2678 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2679 (sin_test_data): New variable.
2680 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2681 (sin_tonearest_test_data): New variable.
2682 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2683 (sin_towardzero_test_data): New variable.
2684 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2685 (sin_downward_test_data): New variable.
2686 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2687 (sin_upward_test_data): New variable.
2688 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2689 (sinh_test_data): New variable.
2690 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2691 (sinh_tonearest_test_data): New variable.
2692 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2693 (sinh_towardzero_test_data): New variable.
2694 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2695 (sinh_downward_test_data): New variable.
2696 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2697 (sinh_upward_test_data): New variable.
2698 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2699 (sqrt_test_data): New variable.
2700 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2701 (tan_test_data): New variable.
2702 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2703 (tan_tonearest_test_data): New variable.
2704 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2705 (tan_towardzero_test_data): New variable.
2706 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2707 (tan_downward_test_data): New variable.
2708 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2709 (tan_upward_test_data): New variable.
2710 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2711 (tanh_test_data): New variable.
2712 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2713 (tgamma_test_data): New variable.
2714 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2715 (trunc_test_data): New variable.
2716 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2717 (y0_test_data): New variable.
2718 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2719 (y1_test_data): New variable.
2720 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2721 (significand_test_data): New variable.
2722 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2724 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2727 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2729 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2731 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2733 2013-05-10 Andreas Jaeger <aj@suse.de>
2736 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2737 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2739 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2741 * math/gen-libm-test.pl (adjust_arg): New function.
2742 (special_functions): Handle generating output in both functions
2744 (parse_args): Likewise.
2745 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2746 $in_func argument to parse_args.
2747 * math/libm-test.inc (struct test_f_f_data): New type.
2748 (IF_ROUND_INIT_): New macro.
2749 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2750 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2751 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2752 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2753 (ROUND_RESTORE_): Likewise.
2754 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2755 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2756 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2757 (ROUND_RESTORE_FE_UPWARD): Likewise.
2758 (RUN_TEST_LOOP_f_f): New macro.
2759 (acos_test_data): New variable.
2760 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2761 (acos_tonearest_test_data): New variable.
2762 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2764 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2766 * benchtests/bench-skeleton.c (startup): Fix coding style.
2768 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2771 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2772 negative infinity argument.
2773 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2774 negative infinity argument.
2775 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2776 negative infinity argument.
2777 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2780 2013-05-10 Florian Weimer <fweimer@redhat.com>
2782 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2783 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2784 * iconv/iconv_prog.c (main): Likewise.
2785 * locale/programs/charmap-dir.c (charmap_readdir)
2786 (fopen_uncompressed): Likewise.
2787 * locale/programs/locfile.c (siblings_uncached)
2788 (write_locale_data): Use lstat64 instead of lstat.
2789 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2792 2013-05-10 Andreas Jaeger <aj@suse.de>
2795 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2799 2013-05-09 Carlos O'Donell <carlos@redhat.com>
2801 * elf/dl-close.c (_dl_close_worker): Add comments.
2803 2013-05-09 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2808 (__ieee754_rem_pio2l): Update comments.
2811 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2813 (__ieee754_rem_pio2l): Update comments.
2815 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2816 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2818 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2821 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2822 (M_PI_34_LOG10El): Likewise.
2823 (M_PI2_LOG10El): Likewise.
2824 (M_PI4_LOG10El): Likewise.
2825 (M_PI_LOG10El): Likewise.
2827 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2831 2013-05-08 Joseph Myers <joseph@codesourcery.com>
2833 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2834 (MINUS_ZERO_INIT): Likewise.
2835 (PLUS_INFTY_INIT): Likewise.
2836 (MINUS_INFTY_INIT): Likewise.
2837 (QNAN_VALUE_INIT): Likewise.
2838 (MAX_VALUE_INIT): Likewise.
2839 (MIN_VALUE_INIT): Likewise.
2840 (MIN_SUBNORM_VALUE_INIT): Likewise.
2841 (plus_zero): Initialize with PLUS_ZERO_INIT.
2842 (minus_zero): Initialize with MINUS_ZERO_INIT.
2843 (plus_infty): Initialize with PLUS_INFTY_INIT.
2844 (minus_infty): Initialize with MINUS_INFTY_INIT.
2845 (qnan_value): Initialize with QNAN_VALUE_INIT.
2846 (max_value): Initialize with MAX_VALUE_INIT.
2847 (min_value): Initialize with MIN_VALUE_INIT.
2848 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2850 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2851 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2852 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2853 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2855 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2856 (RUN_TEST_2_f): Likewise.
2857 (RUN_TEST_ff_f): Likewise.
2858 (RUN_TEST_fi_f): Likewise.
2859 (RUN_TEST_fl_f): Likewise.
2860 (RUN_TEST_fff_f): Likewise.
2861 (RUN_TEST_c_f): Likewise.
2862 (RUN_TEST_f_f1): Likewise.
2863 (RUN_TEST_fF_f1): Likewise.
2864 (RUN_TEST_fI_f1): Likewise.
2865 (RUN_TEST_ffI_f1): Likewise.
2866 (RUN_TEST_c_c): Likewise.
2867 (RUN_TEST_cc_c): Likewise.
2868 (RUN_TEST_f_i): Likewise.
2869 (RUN_TEST_f_i_tg): Likewise.
2870 (RUN_TEST_ff_i_tg): Likewise.
2871 (RUN_TEST_f_b): Likewise.
2872 (RUN_TEST_f_b_tg): Likewise.
2873 (RUN_TEST_f_l): Likewise.
2874 (RUN_TEST_f_L): Likewise.
2875 (RUN_TEST_sincos): Likewise.
2876 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2877 whether to show exceptions. Do not include ");\n" in return
2879 (special_functions): Output call to RUN_TEST_sincos instead of
2880 check_float calls. Update calls to new_test.
2881 (parse_args): Output call to single RUN_TEST_* macro instead of
2882 check_* calls and other assignments. Update calls to new_test.
2888 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2889 input to result for tgamma overflow.
2890 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2891 (gamma_coeff): New variable.
2892 (NCOEFF): New macro.
2893 (gamma_positive): New function.
2894 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2895 underflow here. Use gamma_positive instead of exp (lgamma) for
2897 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2898 (gamma_coeff): New variable.
2899 (NCOEFF): New macro.
2900 (gammaf_positive): New function.
2901 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2902 underflow here. Use gamma_positive instead of exp (lgamma) for
2904 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2905 (gamma_coeff): New variable.
2906 (NCOEFF): New macro.
2907 (gammal_positive): New function.
2908 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2909 underflow here. Use gamma_positive instead of exp (lgamma) for
2911 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2912 (gamma_coeff): New variable.
2913 (NCOEFF): New macro.
2914 (gammal_positive): New function.
2915 (__ieee754_gammal_r): Handle positive infinity, overflow and
2916 underflow here. Handle NaN the same as positive infinity. Remove
2917 check x < 0xffffffff for negative integers. Use gamma_positive
2918 instead of exp (lgamma) for other arguments.
2919 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2920 (gamma_coeff): New variable.
2921 (NCOEFF): New macro.
2922 (gammal_positive): New function.
2923 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2924 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2928 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2929 * sysdeps/generic/math_private.h (__gamma_productf): New
2931 (__gamma_product): Likewise.
2932 (__gamma_productl): Likewise.
2933 * math/Makefile (libm-calls): Add gamma_product.
2934 * math/libm-test.inc (tgamma_test): Add more tests.
2935 * sysdeps/i386/fpu/libm-test-ulps: Update.
2936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2938 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2940 * benchtests/bench-skeleton.c (main): Preheat CPU.
2942 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2944 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2946 2013-05-07 Roland McGrath <roland@hack.frob.com>
2948 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2949 and _dl_skip_args_internal.
2951 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2953 * manual/message.texi (Message Translation): Talk about users.
2954 Message to key mapping impacts design.
2956 2013-05-06 Roland McGrath <roland@hack.frob.com>
2958 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2960 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2962 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2963 * sysdeps/wordsize-64/glob64.c: ... here.
2965 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2966 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2969 * debug/getlogin_r_chk.c: Moved to ...
2970 * login/getlogin_r_chk.c: ... here.
2971 * debug/Makefile (routines): Move getlogin_r_chk to ...
2972 * login/Makefile (routines): ... here.
2973 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2974 * login/Versions (libc: GLIBC_2.4): ... here.
2976 * io/poll.c (__poll): Renamed from poll.
2977 Add libc_hidden_def.
2978 (poll): Define as weak alias.
2980 * debug/ptsname_r_chk.c: Moved to ...
2981 * login/ptsname_r_chk.c: ... here.
2982 * debug/Makefile (routines): Move ptsname_r_chk to ...
2983 * login/Makefile (routines): ... here.
2984 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2985 * login/Versions (libc: GLIBC_2.4): ... here.
2987 * posix/getlogin.c: Moved to ...
2988 * login/getlogin.c: ... here.
2989 * posix/getlogin_r.c: Moved to ...
2990 * login/getlogin_r.c: ... here.
2991 * posix/getlogin_r.c: Moved to ...
2992 * login/getlogin_r.c: ... here.
2993 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2994 * login/Makefile (routines): ... here.
2995 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2996 * login/Versions (libc: GLIBC_2.0): ... here.
2998 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2999 (setrlimit): Define as weak alias.
3001 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3002 Call __ names for open, ftruncate, and close.
3003 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3004 (truncate): Define as weak alias.
3006 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3008 * math/gen-libm-test.pl (parse_args): Initialize x before each
3009 test of frexp, modf and remquo.
3011 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3014 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3018 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3022 2013-05-06 Roland McGrath <roland@hack.frob.com>
3024 * elf/dl-writev.h: New file.
3025 * elf/dl-misc.c: Include it.
3026 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3027 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3029 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3031 * math/libm-test.inc (noXFails): Remove variable.
3032 (noXPasses): Likewise.
3033 (BUILD_COMPLEX_INT): Remove macro.
3034 (print_screen): Remove xfail argument.
3035 (print_screen_max_error): Likewise.
3036 (update_stats): Likewise.
3037 (print_max_error): Likewise. Update calls to other affected
3039 (print_complex_max_error): Likewise.
3040 (test_single_exception): Update calls to print_screen.
3041 (test_single_errno): Likewise.
3042 (check_float_internal): Remove xfail argument. Update calls to
3043 other affected functions.
3044 (check_float): Likewise.
3045 (check_complex): Likewise.
3046 (check_int): Likewise.
3047 (check_long): Likewise.
3048 (check_bool): Likewise.
3049 (check_longlong): Likewise.
3050 (main): Don't print noXFails and noXPasses.
3051 * math/gen-libm-test.pl (top level): Don't mention expected
3052 failure handling in comment.
3053 (new_test): Don't handle expected failures.
3054 (parse_args): Don't mention expected failure handling in comment.
3055 (generate_testfile): Don't handle expected failures.
3056 (parse_ulps): Likewise.
3057 (print_ulps_file): Likewise.
3058 (get_failure): Remove function.
3059 (output_test): Don't handle expected failures.
3060 * make/README.libm-test: Don't mention expected failure handling.
3062 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3063 (minus_zero): Likewise.
3064 (plus_infty): Likewise.
3065 (minus_infty): Likewise.
3066 (qnan_value): Likewise.
3067 (max_value): Likewise.
3068 (min_value): Likewise.
3069 (min_subnorm_value): Likewise.
3070 (initialize): Do not initialize those variables dynamically.
3072 2013-05-03 Roland McGrath <roland@hack.frob.com>
3074 * io/open.c (__open_2): Moved to ...
3075 * io/open_2.c: ... this new file.
3076 * io/open64.c (__open64_2): Moved to ...
3077 * io/open64_2.c: ... this new file.
3078 * io/openat.c (__openat_2): Moved to ...
3079 * io/openat_2.c: ... this new file.
3080 * io/openat64.c (__openat64_2): Moved to ...
3081 * io/openat64_2.c: ... this new file.
3082 * io/Makefile (routines): Add them.
3083 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3084 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3085 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3086 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3087 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3088 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3089 (__openat64): Add hidden_ver.
3090 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3091 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3093 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3094 Separately conditionalize setting of GLRO(dl_sysinfo) so
3095 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3096 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3098 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3100 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3103 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3104 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3105 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3106 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3107 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3109 2013-05-03 Joseph Myers <joseph@codesourcery.com>
3111 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3114 * math/libm-test.inc (hypot_test): Do not use
3115 IGNORE_ZERO_INF_SIGN.
3117 2013-05-03 Andreas Jaeger <aj@suse.de>
3119 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3121 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3122 (PF_MAX): Adjust for VSOCK change.
3124 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3128 2013-05-02 Carlos O'Donell <carlos@redhat.com>
3131 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3132 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3133 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3135 2013-05-02 David S. Miller <davem@davemloft.net>
3137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3139 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
3141 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3143 2013-05-01 Roland McGrath <roland@hack.frob.com>
3145 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3147 2013-05-01 Richard Smith <richard@metafoo.co.uk>
3150 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3151 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3152 Use __attribute__ ((__gnu_inline__)).
3153 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3154 Don't use __attribute__ ((__gnu_inline__)).
3156 2013-05-01 Joseph Myers <joseph@codesourcery.com>
3159 * math/s_catan.c (__catan): Handle small real or imaginary part of
3160 input specially to avoid spurious underflow.
3161 * math/s_catanf.c (__catanf): Likewise.
3162 * math/s_catanh.c (__catanh): Likewise.
3163 * math/s_catanhf.c (__catanhf): Likewise.
3164 * math/s_catanhl.c (__catanhl): Likewise.
3165 * math/s_catanl.c (__catanl): Likewise.
3166 * math/libm-test.inc (catan_test): Add more tests.
3167 (catanh_test): Likewise.
3168 * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3171 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3175 2013-04-30 Joseph Myers <joseph@codesourcery.com>
3178 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3179 accurately for denominator in atan2.
3180 * math/s_catanf.c (__catanf): Likewise.
3181 * math/s_catanh.c (__catanh): Likewise.
3182 * math/s_catanhf.c (__catanhf): Likewise.
3183 * math/s_catanhl.c (__catanhl): Likewise.
3184 * math/s_catanl.c (__catanl): Likewise.
3185 * math/libm-test.inc (catan_test): Add more tests.
3186 (catanh_test): Likewise.
3187 * sysdeps/i386/fpu/libm-test-ulps: Update.
3188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3190 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3192 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3194 * benchtests/Makefile (bench): Remove slow benchmarks.
3195 * benchtests/atan-inputs: Add slow benchmark inputs.
3196 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3197 (BENCH_FUNC): Accept variant offset.
3199 * benchtests/bench-skeleton.c (main): Run benchmark for each
3201 * benchtests/cos-inputs: Add slow benchmark inputs.
3202 * benchtests/exp-inputs: Likewise.
3203 * benchtests/pow-inputs: Likewise.
3204 * benchtests/sin-inputs: Likewise.
3205 * benchtests/slowatan-inputs: Remove.
3206 * benchtests/slowatan.c: Remove.
3207 * benchtests/slowcos-inputs: Remove.
3208 * benchtests/slowcos.c: Remove.
3209 * benchtests/slowexp-inputs: Remove.
3210 * benchtests/slowexp.c: Remove.
3211 * benchtests/slowpow-inputs: Remove.
3212 * benchtests/slowpow.c: Remove.
3213 * benchtests/slowsin-inputs: Remove.
3214 * benchtests/slowsin.c: Remove.
3215 * benchtests/slowtan-inputs: Remove.
3216 * benchtests/slowtan.c: Remove.
3217 * benchtests/tan-inputs: Add slow benchmark inputs.
3218 * scripts/bench.pl: Parse comments and directives.
3220 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3222 ($(objpfx)bench-%.c): Remove *-ITER.
3223 * benchtests/bench-modf.c: Remove definition of ITER.
3224 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3225 (main): Loop for DURATION seconds instead of fixed number of
3227 * scripts/bench.pl: Don't expect iterations in parameters.
3229 2013-04-29 Roland McGrath <roland@hack.frob.com>
3231 * io/fchdir.c (__fchdir): Renamed from fchdir.
3232 (fchdir): Define as weak alias.
3234 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3236 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3237 (ERRNO_EDOM): Likewise.
3238 (ERRNO_ERANGE): Likewise.
3239 (noErrnoTests): New variable.
3240 (init_max_error): Set errno to 0.
3241 (test_single_errno): New function.
3242 (test_errno): Likewise.
3243 (check_float_internal): Call test_errno. Set errno to 0.
3244 (check_complex): Refer to errno tests in comment.
3245 (check_int): Call test_errno. Set errno to 0.
3246 (check_long): Likewise.
3247 (check_bool): Likewise.
3248 (check_longlong): Likewise.
3249 (cos_test): Use ERRNO_* flags for errno tests instead of
3251 (expm1_test): Likewise.
3252 (fmod_test): Likewise.
3253 (ilogb_test): Likewise.
3254 (lgamma_test): Likewise.
3255 (pow_test): Likewise.
3256 (remainder_test): Likewise.
3257 (sin_test): Likewise.
3258 (tan_test): Likewise.
3259 (yn_test): Likewise.
3260 (initialize): Set errno to 0.
3261 (main): Print number of errno tests.
3262 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3264 2013-04-29 Andreas Jaeger <aj@suse.de>
3267 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3271 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3272 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3276 * stdlib/random.c (__initstate): Return NULL if
3280 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3281 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3284 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3288 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3290 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3291 of individual tests.
3292 (casin_test): Likewise.
3293 (casinh_test): Likewise.
3295 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3298 * math/s_catan.c (__catan): Handle arguments with large real or
3299 imaginary part separately without squaring.
3300 * math/s_catanf.c (__catanf): Likewise.
3301 * math/s_catanh.c (__catanh): Likewise.
3302 * math/s_catanhf.c (__catanhf): Likewise.
3303 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3305 (__catanhl): Handle arguments with large real or imaginary part
3306 separately without squaring.
3307 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3309 (__catanl): Handle arguments with large real or imaginary part
3310 separately without squaring.
3311 * math/libm-test.inc (catan_test): Add more tests.
3312 (catanh_test): Likewise.
3313 * sysdeps/i386/fpu/libm-test-ulps: Update.
3314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3316 2013-04-27 Andreas Jaeger <aj@suse.de>
3319 * stdlib/stdlib.h: Update guards for qecvt.
3320 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3323 2013-04-27 Allan McRae <allan@archlinux.org>
3325 * sysdeps/i386/fpu/libm-test-ulps: Update.
3327 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3330 * math/s_catan.c: Include <float.h>.
3331 (__catan): Ensure underflow exception occurs for underflowed
3333 * math/s_catanf.c: Include <float.h>.
3334 (__catanf): Ensure underflow exception occurs for underflowed
3336 * math/s_catanh.c: Include <float.h>.
3337 (__catanh): Ensure underflow exception occurs for underflowed
3339 * math/s_catanhf.c: Include <float.h>.
3340 (__catanhf): Ensure underflow exception occurs for underflowed
3342 * math/s_catanhl.c: Include <float.h>.
3343 (__catanhl): Ensure underflow exception occurs for underflowed
3345 * math/s_catanl.c: Include <float.h>.
3346 (__catanl): Ensure underflow exception occurs for underflowed
3348 * math/libm-test.inc (catan_test): Add more tests.
3349 (catanh_test): Likewise.
3352 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3354 * math/s_ccoshf.c (__ccoshf): Likewise.
3355 * math/s_ccoshl.c (__ccoshl): Likewise.
3356 * math/s_csin.c (__csin): Likewise.
3357 * math/s_csinf.c (__csinf): Likewise.
3358 * math/s_csinh.c (__csinh): Likewise.
3359 * math/s_csinhf.c (__csinhf): Likewise.
3360 * math/s_csinhl.c (__csinhl): Likewise.
3361 * math/s_csinl.c (__csinl): Likewise.
3362 * math/libm-test.inc (ccos_test): Add more tests.
3363 (ccosh_test): Likewise.
3364 (csin_test): Likewise.
3365 (csinh_test): Likewise.
3367 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3369 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3370 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3371 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3372 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3373 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3374 powerpc/power5+/fpu folders.
3375 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3378 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3382 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3384 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3385 additions to variable.
3386 [$(config-machine) = x86_64] (modules-names): Likewise.
3387 ($(objpfx)tst-audit3): Remove dependency.
3388 ($(objpfx)tst-audit3.out): Likewise.
3389 ($(objpfx)tst-audit4): Likewise.
3390 ($(objpfx)tst-audit4.out): Likewise.
3391 ($(objpfx)tst-audit5): Likewise.
3392 ($(objpfx)tst-audit5.out): Likewise.
3393 ($(objpfx)tst-audit6): Likewise.
3394 ($(objpfx)tst-audit6.out): Likewise.
3395 ($(objpfx)tst-audit7): Likewise.
3396 ($(objpfx)tst-audit7.out): Likewise.
3397 (tst-audit3-ENV): Remove variable.
3398 (tst-audit4-ENV): Likewise.
3399 (tst-audit5-ENV): Likewise.
3400 (tst-audit6-ENV): Likewise.
3401 (tst-audit7-ENV): Likewise.
3402 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3403 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3404 addition to variable.
3405 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3406 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3409 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3410 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3411 tst-audit3, tst-audit4 and tst-audit5.
3412 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3413 tst-audit6 and tst-audit7.
3414 [$(subdir) = elf] (modules-names): Add audit modules for those
3416 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3417 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3418 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3419 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3420 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3421 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3422 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3423 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3424 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3425 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3426 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3427 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3428 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3429 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3430 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3431 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3433 [$(subdir) = elf && $(config-cflags-avx) = yes]
3434 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3435 [$(subdir) = elf && $(config-cflags-avx) = yes]
3436 (CFLAGS-tst-auditmod4a.c): Likewise.
3437 [$(subdir) = elf && $(config-cflags-avx) = yes]
3438 (CFLAGS-tst-auditmod4b.c): Likewise.
3439 [$(subdir) = elf && $(config-cflags-avx) = yes]
3440 (CFLAGS-tst-auditmod6b.c): Likewise.
3441 [$(subdir) = elf && $(config-cflags-avx) = yes]
3442 (CFLAGS-tst-auditmod6c.c): Likewise.
3443 [$(subdir) = elf && $(config-cflags-avx) = yes]
3444 (CFLAGS-tst-auditmod7b.c): Likewise.
3445 * elf/tst-audit3.c: Move to ...
3446 * sysdeps/x86_64/tst-audit3.c: ... here.
3447 * elf/tst-audit4.c: Move to ...
3448 * sysdeps/x86_64/tst-audit4.c: ... here.
3449 * elf/tst-audit5.c: Move to ...
3450 * sysdeps/x86_64/tst-audit5.c: ... here.
3451 * elf/tst-audit6.c: Move to ...
3452 * sysdeps/x86_64/tst-audit6.c: ... here.
3453 * elf/tst-audit7.c: Move to ...
3454 * sysdeps/x86_64/tst-audit7.c: ... here.
3455 * elf/tst-auditmod3a.c: Move to ...
3456 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3457 * elf/tst-auditmod3b.c: Move to ...
3458 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3459 * elf/tst-auditmod4a.c: Move to ...
3460 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3461 * elf/tst-auditmod4b.c: Move to ...
3462 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3463 * elf/tst-auditmod5a.c: Move to ...
3464 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3465 * elf/tst-auditmod5b.c: Move to ...
3466 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3467 * elf/tst-auditmod6a.c: Move to ...
3468 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3469 * elf/tst-auditmod6b.c: Move to ...
3470 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3471 * elf/tst-auditmod6c.c: Move to ...
3472 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3473 * elf/tst-auditmod7a.c: Move to ...
3474 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3475 * elf/tst-auditmod7b.c: Move to ...
3476 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3478 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3481 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3482 define unconditionally.
3483 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3484 define unconditionally.
3485 (INT8_C, INT16_C, etc.): Likewise.
3487 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3489 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3490 __ehdr_start with hidden visibility.
3492 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3494 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3496 * math/libm-test.inc (cos_test): Use accurate hex constants.
3497 (sincost_test): Likewise.
3499 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3501 * math/libm-test.inc (catan_test): Add more tests.
3502 (catanh_test): Likewise.
3504 * math/s_catanf.c (__catanf): Use suffixed floating-point
3506 * math/s_catanhf.c (__catanhf): Likewise.
3507 * math/s_catanhl.c (__catanhl): Likewise.
3508 * math/s_catanl.c (__catanl): Likewise.
3511 * math/s_catan.c (__catan): Calculate imaginary part of result
3512 with log1p not log unless computing log of number close to 0.
3513 * math/s_catanf.c (__catanf): Likewise.
3514 * math/s_catanl.c (__catanl): Likewise.
3515 * math/s_catanh.c (__catanh): Calculate real part of result with
3516 log1p not log unless computing log of number close to 0.
3517 * math/s_catanhf.c (__catanhf): Likewise.
3518 * math/s_catanhl.c (__catanhl): Likewise.
3519 * math/libm-test.inc (catan_test): Add more tests.
3520 (catanh_test): Likewise.
3521 * sysdeps/i386/fpu/libm-test-ulps: Update.
3522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3524 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3526 * benchtests/Makefile: Mention files in which fast and slow
3527 paths of math functions are implemented.
3529 2013-04-23 Roland McGrath <roland@hack.frob.com>
3531 * sysdeps/posix/timespec_get.c: New file.
3533 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3537 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3539 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3540 powerpc/power5/fpu folders.
3541 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3542 * benchtests/Makefile: Add modf testcase.
3543 * benchtests/bench-modf.c: New file: Benchmark test for mo
3545 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 * time/Makefile (tests): Add tst-strptime-whitespace.
3549 * time/strptime_l.c (get_number): Use ISSPACE.
3550 (__strptime_internal): Likewise.
3551 * time/tst-strptime-whitespace.c: New test case.
3553 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3555 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3557 (_nss_files_init): Set it here.
3559 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3561 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3562 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3565 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3567 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3569 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3574 2013-04-21 David S. Miller <davem@davemloft.net>
3576 * po/ru.po: Update Russion translation from translation project.
3578 2013-04-17 Adam Conrad <adconrad@0c3.net>
3580 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3583 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3585 * configure.in: Remove i386 configure warning. Remove i386 case.
3586 * configure: Regenerate.
3587 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3588 Add example to error message.
3589 * sysdeps/i386/configure: Regenerate.
3591 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3595 * benchtests/cos-inputs: New file.
3596 * benchtests/slowcos-inputs: New file.
3597 * benchtests/slowcos.c: New file.
3598 * benchtests/slowtan-inputs: New file.
3599 * benchtests/slowtan.c: New file.
3600 * benchtests/tan-inputs: New file.
3602 2013-04-16 Roland McGrath <roland@hack.frob.com>
3604 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3607 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3609 * benchtests/Makefile: Include cppflags-iterator.mk to add
3610 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3612 * Makefile.in (bench-clean): New target.
3613 * benchtests/Makefile (bench-clean): Likewise.
3615 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3617 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3619 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3621 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3623 2013-04-15 Andreas Schwab <schwab@suse.de>
3625 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3626 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3627 * nscd/pwdcache.c (cache_addpw): Likewise.
3628 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3631 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3633 * benchtests/Makefile (bench): Write all output to
3634 bench-out.tmp together.
3636 2013-04-15 Andreas Schwab <schwab@suse.de>
3638 * nscd/nscd.c (main): Don't fork again after closing files.
3640 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3642 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3644 * benchtests/Rules (bench-deps): Collect dependencies into a
3645 single variable. Add Makefile to dependencies.
3646 ($(objpfx)bench-%.c): Depend on bench-deps.
3648 2013-04-12 Roland McGrath <roland@hack.frob.com>
3649 Xavier Roche <roche+kml2@exalead.com>
3652 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3653 just that it's a file descriptor.
3654 * manual/llio.texi (Synchronizing AIO Operations): Update description
3655 for EBADF error from aio_fsync.
3657 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3659 * Rules (bench): Move target definition...
3660 * benchtests/Makefile: ... here.
3662 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3664 * math/libm-test.inc (cos_test): Fix PI/2 test.
3665 (sincos_test): Likewise.
3666 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3667 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3669 2013-04-11 Andreas Schwab <schwab@suse.de>
3672 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3673 accept exponent character only when digits were seen.
3674 * stdio-common/Makefile (tests): Add bug26.
3675 * stdio-common/bug26.c: New file.
3678 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3681 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3683 * Makeconfig (rtld-prefix): Define built linker prefix.
3684 * Rules (run-bench): Use it.
3685 * math/Makefile (run-regen-ulps): Likewise.
3687 * Rules (bench): Remove eval.
3689 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3690 Roland McGrath <roland@hack.frob.com>
3691 Ondrej Bilka <neleai@seznam.cz>
3694 * time/getdate.c: Include ctype.h and alloca.h.
3695 (__getdate_r): Trim leading and trailing spaces of input.
3696 * time/tst-getdate.c (tests): Add tests with leading and
3699 2013-04-08 Roland McGrath <roland@hack.frob.com>
3702 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3703 when computing value.
3705 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3707 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3708 Use testrun.sh to run libm tests.
3711 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3713 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3716 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3718 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3720 * Makefile.in (regen-ulps): New target.
3721 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3722 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3723 [ifneq (no,$(PERL)] (regen-ulps): New target.
3724 [ifeq (no,$(PERL)] (regen-ulps): New target.
3725 * math/libm-test.inc (ulps_file_name): Define.
3726 (output_dir): New variable.
3727 (options): Add "output-dir" option.
3728 (parse_opt): Handle 'o' case.
3729 (main): If output_dir is non-NULL use it as a prefix
3731 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3733 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3736 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3737 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3738 fail configure if __sync_val_compare_and_swap is not inlined.
3739 * sysdeps/i386/configure: Regenerate.
3740 * configure.in: Build for i686 when configured for i386.
3741 * configure: Regenerate.
3742 * README: Remove i386 reference.
3744 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3746 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3747 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3749 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3751 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3752 (lmsnanval): New variables.
3753 (F): Add conversion tests.
3754 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3755 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3757 * stdio-common/tstdiomisc.c (F): Properly collect individual
3761 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3762 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3763 Instead, use input NaN values or generate a qNaN by arithmetic
3764 operation. Also fix bugs to comply with the standard.
3765 * math/libm-test.inc (remainder_test): Add more tests.
3768 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3770 input NaN values or generate a qNaN by arithmetic operation.
3772 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3775 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3778 2013-04-03 Joseph Myers <joseph@codesourcery.com>
3781 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3783 * math/s_cexpf.c (__cexpf): Likewise.
3784 * math/s_cexpl.c (__cexpl): Likewise.
3785 * math/libm-test.inc (cexp_test): Add more tests.
3787 2013-04-03 Andreas Schwab <schwab@suse.de>
3790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3791 order arrays from heap if bigger than alloca cutoff.
3793 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3795 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3796 (SNAN_TESTS_double): Refer to GCC PR56831.
3797 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3800 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * Rules (bench): Move bench.out after the run is complete.
3804 * Rules (bench): Echo currently running benchmark.
3806 * benchtests/Makefile (bench): Add atan and slowatan.
3807 * benchtests/atan-inputs: New file.
3808 * benchtests/slowatan-inputs: New file.
3809 * benchtests/slowatan.c: New file.
3811 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3812 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3816 * sysdeps/unix/sysv/linux/kernel-features.h
3817 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3818 __ASSUME_XFS_RESTRICTED_CHOWN.
3819 * sysdeps/unix/sysv/linux/pathconf.c
3820 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3821 Save and restore errno.
3823 2013-04-02 Joseph Myers <joseph@codesourcery.com>
3826 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3827 arguments using __kernel_casinh.
3828 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3829 arguments using __kernel_casinhf.
3830 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3831 arguments using __kernel_casinhl.
3832 * math/libm-test.inc (cacosh_test): Add more tests.
3833 * sysdeps/i386/fpu/libm-test-ulps: Update.
3834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3838 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3841 * bench/Makefile (bench): Add sin and slowsin.
3842 * benchtests/sin-inputs: New file.
3843 * benchtests/slowsin-inputs: New file.
3844 * benchtests/slowsin.c: New file.
3846 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3847 (bench): Add slowexp and slowpow.
3848 (exp-ITER): Increase iterations.
3849 (pow-ITER): Likewise.
3850 * benchtests/exp-inputs: Change input.
3851 * benchtests/pow-inputs: Likewise.
3852 * benchtests/slowexp-inputs: New file.
3853 * benchtests/slowexp.c: New file.
3854 * benchtests/slowpow-inputs: New file.
3855 * benchtests/slowpow.c: New file.
3857 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3859 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3861 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3862 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3863 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3864 * benchtests/Makefile: Add rint benchtest.
3865 * benchtests/rint-inputs: Input for rint benchtest.
3867 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3869 * Versions.def (libm): Add GLIBC_2.18.
3870 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3871 hidden libm prototypes.
3872 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3873 * math/Makefile (libm-calls): Add s_issignaling.
3874 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3875 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3876 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3878 * math/math.h [__USE_GNU] (issignaling): New macro.
3879 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3880 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3885 * manual/arith.texi (issignaling): New section.
3886 * manual/libm-err-tab.pl (@all_functions): Update comment.
3887 * math/gen-libm-test.pl (parse_args): Apply special handling for
3889 * math/libm-test.inc (print_float, issignaling_test): New
3891 (check_float_internal): Add issignaling checks.
3892 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3894 * sysdeps/powerpc/math-tests.h: New file.
3895 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3897 * math/test-snan.c (TEST_FUNC): Likewise.
3899 2013-03-30 David S. Miller <davem@davemloft.net>
3901 * po/de.po: Update from translation team.
3903 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3906 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3907 imaginary part less than 1.0 and real part less than 0.5
3909 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3910 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3911 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3912 (cacos_test): Add more tests.
3913 (casin_test): Likewise.
3914 (casinh_test): Likewise.
3915 * sysdeps/i386/fpu/libm-test-ulps: Update.
3916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3923 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3924 (__pow_mp): Replace ONE and MONE with their values.
3925 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3927 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3928 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3929 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3930 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3932 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3934 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3935 (__pow_mp): Replace ZERO and MZERO with their values.
3936 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3937 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3940 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3941 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3944 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3946 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3948 2013-03-28 Roland McGrath <roland@hack.frob.com>
3950 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3951 Declare with __attribute__ ((weak)).
3952 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3953 Call __call_tls_dtors only if it's not NULL.
3955 2013-03-28 Roland McGrath <roland@hack.frob.com>
3957 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3958 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3959 magic __ehdr_start linker symbol if it's defined.
3960 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3961 them up here if it was already done.
3963 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3964 (_dl_aux_init): Use const in cast when setting it.
3965 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3966 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3967 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3969 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3971 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3972 * csu/libc-tls.c: Nor here.
3973 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3975 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3976 (__libc_message): Never call vsyslog.
3978 2013-03-28 Alan Modra <amodra@gmail.com>
3980 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3982 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3985 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3992 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3995 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3996 Don't add gid passed as argument.
3998 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4000 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4003 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4004 imaginary part between 1.0 and 1.5 and real part less than 0.5
4006 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4007 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4008 * math/libm-test.inc (cacos_test): Add more tests.
4009 (casin_test): Likewise.
4010 (casinh_test): Likewise.
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4014 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4016 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4020 (__dbl_mp): Likewise.
4021 (add_magnitudes): Likewise.
4022 (sub_magnitudes): Likewise.
4030 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4032 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4033 (__dubcos): Likewise.
4034 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4035 (__ieee754_acos): Likewise.
4036 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4037 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4042 (my_log2): Likewise.
4043 (checkint): Likewise.
4044 * sysdeps/ieee754/dbl-64/e_remainder.c
4045 (__ieee754_remainder): Likewise.
4046 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4051 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4052 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4053 MANTISSA_STORE_T to store computations on mantissa. Use
4054 macros for rounding and division.
4056 (__dbl_mp): Likewise.
4057 (add_magnitudes): Likewise.
4058 (sub_magnitudes): Likewise.
4061 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4062 powers of two in terms of TWOPOW macro.
4063 (mp_no): Make type of mantissa as MANTISSA_T.
4064 [!RADIXI]: Define RADIXI.
4065 [!TWO52]: Define TWO52.
4066 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4068 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4070 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4071 llroundl symbol when building for PPC32.
4073 2013-03-24 Mark H Weaver <mhw@netris.org>
4075 * manual/arith.texi (Normalization Functions): Fix prototypes for
4076 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4078 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4082 high value to check if expl overflow.
4083 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4084 to check for underflow and overflow.
4085 * math/libm-test.inc: Add exp test.
4087 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4090 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4093 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4095 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4098 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4100 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4101 wrap blocks consisting of several statements.
4103 * sysdeps/generic/math-tests.h: New file.
4104 * sysdeps/i386/fpu/math-tests.h: Likewise.
4105 * math/test-snan.c: Include it.
4106 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4108 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4111 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4112 (__ieee754_j0l): Do not improve calculations using cos of twice
4113 input for inputs above LDBL_MAX / 2.0L.
4114 (__ieee754_y0l): Likewise.
4115 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4116 (__ieee754_j1l): Do not improve calculations using cos of twice
4117 input for inputs above LDBL_MAX / 2.0L.
4118 (__ieee754_y1l): Likewise.
4119 * math/libm-test.inc (j0_test): Add another test.
4120 (j1_test): Likewise.
4121 (y0_test): Likewise.
4122 (y1_test): Likewise.
4123 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4127 * Rules ($(objpfx)bench-%.c): Include code from a C source
4130 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4133 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4134 imaginary part 1.0 and real part less than 0.5 specially.
4135 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4136 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4137 * math/libm-test.inc (cacos_test): Add more tests.
4138 (casin_test): Likewise.
4139 (casinh_test): Likewise.
4140 * sysdeps/i386/fpu/libm-test-ulps: Update.
4141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4146 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4148 2013-03-20 Joseph Myers <joseph@codesourcery.com>
4150 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4151 * config.make.in (config-cflags-sse4): Remove variable.
4152 (config-cflags-avx): Likewise.
4153 (config-cflags-sse2avx): Likewise.
4154 (config-cflags-novzeroupper): Likewise.
4155 (config-asflags-i686): Likewise.
4156 (have-mfma4): Likewise.
4157 (have-as-vis3): Likewise.
4159 * configure.in (MIG): Do not AC_SUBST.
4160 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4161 (libc_cv_cc_sse4): Do not AC_SUBST.
4162 (libc_cv_cc_avx): Likewise.
4163 (libc_cv_cc_sse2avx): Likewise.
4164 (libc_cv_cc_novzeroupper): Likewise.
4165 (libc_cv_cc_fma4): Likewise.
4166 (libc_cv_as_i686): Likewise.
4167 (libc_cv_sparc_as_vis3): Likewise.
4168 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4170 (config-asflags-i686): Likewise.
4171 (config-cflags-avx): Likewise.
4172 (config-cflags-sse2avx): Likewise.
4173 (have-mfma4): Likewise.
4174 (config-cflags-novzeroupper): Likewise.
4175 * sysdeps/mach/configure.in (MIG): Likewise.
4176 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4177 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4179 (config-cflags-avx): Likewise.
4180 (config-cflags-sse2avx): Likewise.
4181 (have-mfma4): Likewise.
4182 (config-cflags-novzeroupper): Likewise.
4183 * configure: Regenerated.
4184 * sysdeps/i386/configure: Likewise.
4185 * sysdeps/mach/configure: Likewise.
4186 * sysdeps/sparc/configure: Likewise.
4187 * sysdeps/x86_64/configure: Likewise.
4189 2013-03-20 Roland McGrath <roland@hack.frob.com>
4192 * locale/programs/localedef.c (options): Put N_ translation marker
4193 on argument names, not just descriptions.
4195 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4197 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4199 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4202 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4204 2013-03-19 Roland McGrath <roland@hack.frob.com>
4206 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4207 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4208 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4209 [!BEFORE_ABORT] (before_abort): New function.
4210 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4211 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4212 (writev_for_fatal): New function.
4213 (WRITEV_FOR_FATAL): New macro; call that.
4214 (backtrace_and_maps): New function.
4215 (BEFORE_ABORT): New macro; call that.
4216 (struct str_list): Type removed.
4217 (__libc_message, __libc_fatal): Functions removed.
4218 Include <sysdeps/posix/libc_fatal.c> instead.
4220 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4222 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4224 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4227 2013-03-19 Andreas Schwab <schwab@suse.de>
4229 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4230 * sysdeps/gnu/configure: Regenerate.
4232 * configure.in: Substitute libc_cv_rtlddir.
4233 * configure: Regenerate.
4234 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4235 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4236 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4237 * elf/Makefile (install-others, CFLAGS-interp.c)
4238 (ldso_install, common-ldd-rewrite): Likewise.
4239 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4240 $(inst_slibdir)/$(rtld-installed-name).
4241 * scripts/rellns-sh: Add -p option.
4242 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4245 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4247 * manual/nptl.texi: Renamed to ...
4248 * manual/threads.texi: ... this.
4249 * manual/Makefile (chapters): Update.
4251 2013-03-18 Roland McGrath <roland@hack.frob.com>
4254 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4255 on argument names, not just descriptions.
4256 * malloc/memusagestat.c (options): Likewise.
4257 * nss/getent.c (options): Likewise.
4259 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4262 * iconv/iconv_prog.c (options): Put N_ translation marker
4263 on argument names, not just descriptions.
4264 * iconv/iconvconfig.c (options): Likewise.
4266 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4268 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4269 implementation which is faster on all x86_64 architectures.
4270 Tested on AMD, Intel Nehalem, SNB, IVB.
4271 * sysdeps/x86_64/strnlen.S: Likewise.
4273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4274 Remove all multiarch strlen and strnlen versions.
4275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4276 Remove strlen and strnlen related parts.
4278 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4280 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4282 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4283 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4284 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4285 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4286 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4287 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4289 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4291 * manual/memory.texi (Malloc Tunable Parameters):
4292 Sort parameters alphabetically. Add comments for missing entries.
4294 2013-03-17 David S. Miller <davem@davemloft.net>
4296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4298 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4301 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4302 for arguments at most half maximum finite value.
4303 * math/libm-test.inc (j0_test): Add more tests.
4304 (j1_test): Likewise.
4305 (y0_test): Likewise.
4306 (y1_test): Likewise.
4307 * sysdeps/i386/fpu/libm-test-ulps: Update.
4308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4312 1 / x and functions P and Q for arguments above 0x1p256L.
4313 (__ieee754_y0l): Likewise.
4314 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4315 (__ieee754_y1l): Likewise.
4316 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4317 (j1_test): Likewise.
4318 (y0_test): Likewise.
4319 (y1_test): Likewise.
4321 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4323 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4326 2013-03-15 Roland McGrath <roland@hack.frob.com>
4328 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4329 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4330 zero since it's initialized to EXEC_PAGESIZE.
4332 * sysdeps/unix/sysv/linux/ldsodefs.h
4333 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4334 * sysdeps/generic/ldsodefs.h: ... here.
4336 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4338 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4340 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4342 * math/test-snan.c: Renamed from
4343 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4344 * math/Makefile (tests): Add test-snan.
4345 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4348 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4349 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4351 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4352 __builtin_nan family of functions.
4353 * math/libm-test.inc (initialize): Initialize qnan_value with
4354 __builtin_nan family of functions.
4355 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4357 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4359 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4360 storage class. Initialize qNaN_var and sNaN_var with
4361 __builtin_nan and __builtin_nans families of functions,
4364 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4365 (sqrt_test): Remove duplicate test with qNaN input.
4366 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4367 (round_test, signbit_test, significand_test): Note missing +/-Inf
4368 as well as qNaN tests.
4370 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4371 qNaN_var. Fix a few strings, too.
4372 * math/libm-test.inc (nan_value): Rename to qnan_value.
4373 * math/gen-libm-test.pl (%beautify): Adjust to that.
4374 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4375 * math/test-misc.c (main): Likewise.
4376 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4377 to __qnan_bytes, and __qnan_union, respectively.
4378 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4380 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4381 and lqnanval, respectively.
4382 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4383 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4384 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4385 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4387 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4388 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4391 * math/test-misc.c (main): Fix copy'n'pastos.
4392 * misc/tst-efgcvt.c (special): Likewise.
4394 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4395 Remove declarations.
4397 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4399 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4400 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4401 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4402 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4404 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4407 macro to return vdso values correctly in IFUNC implementations.
4408 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4409 Optimization by using IFUNC.
4411 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4412 Richard Henderson <rth@redhat.com>
4413 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4415 * Makefile.in (bench): New target.
4416 * NEWS: Mention the benchmark framework.
4417 * Rules (bench): Likewise.
4418 (binaries-bench): Generate binaries for functions to
4420 * benchtests/Makefile: New makefile for benchmark tests.
4421 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4423 * benchtests/exp-inputs: New input file for EXP function.
4424 * benchtests/pow-inputs: New input file for POW function.
4425 * scripts/bench.pl: New script to generate source files for
4428 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4430 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4432 computations on mantissa. Use macros for rounding and
4435 (__dbl_mp): Likewise.
4436 (add_magnitudes): Likewise.
4437 (sub_magnitudes): Likewise.
4440 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4441 powers of two in terms of TWOPOW macro.
4442 (mp_no): Make type of mantissa as MANTISSA_T.
4443 [!RADIXI]: Define RADIXI.
4444 [!TWO52]: Define TWO52.
4445 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4447 * manual/nptl.texi (cindex): Modify threads to pthreads.
4449 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4451 * sysdeps/x86_64/preconfigure: Regenerated.
4453 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4456 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4458 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4459 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4461 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4462 * math/libm-test.inc (j0_test): Do not allow one spurious
4463 underflow exception.
4464 (y1_test): Likewise.
4466 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4468 * manual/Makefile (chapters): Add nptl.
4469 * manual/debug.texi (Debugging Support): Add link to Threads
4471 * manual/nptl.texi: New file.
4473 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4475 2013-03-14 Petr Baudis <pasky@ucw.cz>
4477 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4478 for non-NULL pointer before the memory validity test. Pointed
4479 out by Holger Brunck <holger.brunck@keymile.com>.
4481 2013-03-13 Andreas Schwab <schwab@suse.de>
4483 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4486 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4488 * timezone/zic.c: Update from tzcode 2013b.
4490 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4492 * manual/install.texi (Configuring and compiling):
4493 Mention i686 and i586.
4494 * INSTALL: Regenerate.
4496 2013-03-12 Roland McGrath <roland@hack.frob.com>
4498 * sysdeps/init_array/elf-init.c: New file.
4500 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4501 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4503 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4504 __gmon_start__ as global, but as static with a .preinit_array pointer.
4505 * sysdeps/init_array/gmon-start.c: New file. Use that.
4506 * sysdeps/init_array/crti.S: New file, empty except for comments.
4507 * sysdeps/init_array/crtn.S: Likewise.
4509 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4511 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4514 Remove Prefer_SSE_for_memop.
4515 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4516 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4517 HAS_PREFER_SSE_FOR_MEMOP.
4518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4521 Remove bzero, memset ifunc support.
4522 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4523 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4524 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4525 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4527 2013-03-11 Andreas Schwab <schwab@suse.de>
4530 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4533 (GLIBC_2.16): Remove pthread_atfork.
4535 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4537 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4538 (ptestcases.h): Likewise.
4540 2013-03-08 Roland McGrath <roland@hack.frob.com>
4542 * Makeconfig ($(common-objpfx)config.status): Depend on
4543 sysdeps/*/preconfigure{,.in} too.
4545 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4547 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4548 (__free_hook): Use void * instead of __malloc_ptr_t.
4549 (__malloc_hook): Likewise.
4550 (__realloc_hook): Likewise.
4551 (__memalign_hook): Likewise.
4552 (__after_morecore_hook): Likewise.
4553 * malloc/arena.c (save_malloc_hook): Likewise.
4554 (save_free_hook): Likewise.
4555 * malloc/hooks.c (malloc_hook_ini): Likewise.
4556 (realloc_hook_ini): Likewise.
4557 (memalign_hook_ini): Likewise.
4558 * malloc/malloc.c (malloc_hook_ini): Likewise.
4559 (realloc_hook_ini): Likewise.
4560 (memalign_hook_ini): Likewise.
4561 (__free_hook): Likewise.
4562 (__malloc_hook): Likewise.
4563 (__realloc_hook): Likewise.
4564 (__memalign_hook): Likewise.
4565 (__libc_malloc): Likewise.
4566 (__libc_free): Likewise.
4567 (__libc_realloc): Likewise.
4568 (__libc_memalign): Likewise.
4569 (__libc_valloc): Likewise.
4570 (__libc_pvalloc): Likewise.
4571 (__libc_calloc): Likewise.
4572 (__posix_memalign): Likewise.
4573 * malloc/morecore.c (__sbrk): Likewise.
4574 (__default_morecore): Likewise.
4576 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4578 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4579 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4582 * malloc/malloc.h (__malloc_size_t): Remove macro.
4583 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4585 (old_memalign_hook): Likewise.
4586 (old_realloc_hook): Likewise.
4587 (struct hdr): Likewise.
4589 (mallochook): Likewise.
4590 (memalignhook): Likewise.
4591 (reallochook): Likewise.
4592 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4593 (tr_old_realloc_hook): Likewise.
4594 (tr_old_memalign_hook): Likewise.
4595 (tr_mallochook): Likewise.
4596 (tr_reallochook): Likewise.
4597 (tr_memalignhook): Likewise.
4599 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4602 default_ldbl_pack and using as default implementation.
4603 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4605 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4606 redundant definition.
4607 (ldbl_insert_mantissa): Likewise.
4608 (ldbl_canonicalize): Likewise.
4609 (ldbl_nearbyint): Likewise.
4610 (ldbl_pack): Rename to ldbl_pack_ppc.
4611 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4612 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4613 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4615 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4618 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4619 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4620 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4622 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4623 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4624 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4626 2013-03-07 Andreas Jaeger <aj@suse.de>
4628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4631 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4633 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4634 Include mpa.h and declare __MPEXP.
4635 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4636 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4637 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4638 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4639 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4640 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4641 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4643 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4644 (__slowpow): Use long double EXPL and LOGL functions to
4646 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4647 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4648 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4649 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4650 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4651 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4654 intermediate variable to calculate exponent.
4656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4660 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4661 [!NO__SQR]: Define __sqr.
4662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4663 and NO__SQR. Remove all code except __mul and __sqr. Include
4664 sysdeps/ieee754/dbl-64/mpa.c.
4665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4668 * posix/Makefile (tests): Add tst-pathconf.
4669 * posix/tst-pathconf.c: New test case.
4670 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4672 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4674 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4676 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4678 2013-03-06 Andreas Jaeger <aj@suse.de>
4680 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4681 definition via __MAP_ANONYMOUS.
4683 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4684 it's not part of Linux headers.
4686 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4687 (MAP_HUGE_MASK): Define.
4689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4691 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4694 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4695 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4697 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4698 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4700 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4702 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4703 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4704 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4705 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4706 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4707 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4712 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4713 Handle f2fs and efivarfs.
4715 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4718 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4719 (EFIVARFS_MAGIC): Add.
4720 (F2FS_LINK_MAX): Add.
4722 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4724 * stdio-common/vfprintf.c: Replace __builtin_expect with
4727 2013-03-06 Joseph Myers <joseph@codesourcery.com>
4730 * sysdeps/generic/bp-sym.h: Remove file.
4731 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4732 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4733 <bp-sym.h> and <bp-asm.h>.
4734 (__longjmp): Don't use BP_SYM.
4735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4737 (memcpy): Don't use BP_SYM.
4738 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4739 <bp-sym.h> and <bp-asm.h>.
4740 (memcpy): Don't use BP_SYM.
4741 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4743 (memcpy): Don't use BP_SYM.
4744 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4746 (memset): Don't use BP_SYM.
4747 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4748 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4749 (__bzero): Don't use BP_SYM.
4750 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4751 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4752 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4753 <bp-sym.h> and <bp-asm.h>.
4754 (memcmp): Don't use BP_SYM. Remove comment about bounded
4756 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4757 <bp-sym.h> and <bp-asm.h>.
4758 (memcpy): Don't use BP_SYM.
4759 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4760 <bp-sym.h> and <bp-asm.h>.
4761 (memset): Don't use BP_SYM.
4762 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4763 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4764 (__bzero): Don't use BP_SYM.
4765 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4766 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4767 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4768 <bp-sym.h> and <bp-asm.h>.
4769 (strncmp): Don't use BP_SYM. Remove comment about bounded
4771 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4772 <bp-sym.h> and <bp-asm.h>.
4773 (memcpy): Don't use BP_SYM.
4774 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4775 <bp-sym.h> and <bp-asm.h>.
4776 (memset): Don't use BP_SYM.
4777 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4778 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4779 (__bzero): Don't use BP_SYM.
4780 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4781 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4783 <bp-sym.h> and <bp-asm.h>.
4784 (__memchr): Don't use BP_SYM.
4785 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4786 <bp-sym.h> and <bp-asm.h>.
4787 (memcmp): Don't use BP_SYM. Remove comment about bounded
4789 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4790 <bp-sym.h> and <bp-asm.h>.
4791 (memcpy): Don't use BP_SYM.
4792 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4793 <bp-sym.h> and <bp-asm.h>.
4794 (__mempcpy): Don't use BP_SYM.
4795 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4796 <bp-sym.h> and <bp-asm.h>.
4797 (__memrchr): Don't use BP_SYM.
4798 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4799 <bp-sym.h> and <bp-asm.h>.
4800 (memset): Don't use BP_SYM.
4801 (__bzero): Likewise.
4802 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4803 <bp-sym.h> and <bp-asm.h>.
4804 (__rawmemchr): Don't use BP_SYM.
4805 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4806 <bp-sym.h> and <bp-asm.h>.
4807 (__STRCMP): Don't use BP_SYM.
4808 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4809 <bp-sym.h> and <bp-asm.h>.
4810 (strchr): Don't use BP_SYM.
4811 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4812 <bp-sym.h> and <bp-asm.h>.
4813 (__strchrnul): Don't use BP_SYM.
4814 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4815 <bp-sym.h> and <bp-asm.h>.
4816 (strlen): Don't use BP_SYM.
4817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4818 <bp-sym.h> and <bp-asm.h>.
4819 (strncmp): Don't use BP_SYM. Remove comment about bounded
4821 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4822 <bp-sym.h> and <bp-asm.h>.
4823 (__strnlen): Don't use BP_SYM.
4824 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4825 <bp-sym.h> and <bp-asm.h>.
4826 (__GI__setjmp): Don't use BP_SYM.
4827 (_setjmp): Likewise.
4828 (__sigsetjmp): Likewise.
4829 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4830 (L(start_addresses)): Don't use BP_SYM.
4832 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4834 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4835 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4836 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4837 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4838 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4840 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4841 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4842 about bounded pointers.
4843 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4844 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4845 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4847 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4848 about bounded pointers. Remove GKM FIXME comments.
4849 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4850 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4852 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4853 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4854 Remove GKM FIXME comments.
4855 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4856 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4857 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4859 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4860 about bounded pointers. Remove GKM FIXME comment.
4861 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4863 (strncmp): Don't use BP_SYM. Remove comment about bounded
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4866 <bp-sym.h> and <bp-asm.h>.
4867 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4869 <bp-sym.h> and <bp-asm.h>.
4870 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4873 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4875 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4878 2013-03-05 David S. Miller <davem@davemloft.net>
4880 * po/es.po: Update from translation team.
4882 2013-03-05 Andreas Jaeger <aj@suse.de>
4884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4885 <bits/mman-linux.h>.
4886 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4888 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4889 <bits/mman-linux.h> to end of file.
4890 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4892 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4893 <bits/mman-linux.h> to end of file.
4894 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4896 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4897 <bits/mman-linux.h> to end of file.
4899 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4900 (MCL_CURRENT, MCL_FUTURE): Define here.
4902 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4905 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4907 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4909 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4911 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4912 fourth parameter needed for rt_sigprocmask syscall.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4914 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4915 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4916 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4918 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4920 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4923 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4924 comment about bounded pointers.
4925 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4926 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4928 2013-03-04 Andreas Jaeger <aj@suse.de>
4930 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4933 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4934 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4935 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4936 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4938 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4940 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4944 __ieee754_sqrl instead of __sqrl.
4946 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4948 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4949 * sysdeps/powerpc/fpu_control.h: ... here.
4950 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4951 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4952 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4953 * sysdeps/powerpc/bits/mathinline.h: ... here.
4955 2013-03-01 Roland McGrath <roland@hack.frob.com>
4957 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4958 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4959 to just [NEED_DL_SYSINFO_DSO].
4960 * elf/dl-support.c: Likewise.
4961 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4962 * elf/rtld.c (dl_main): Likewise.
4963 * elf/setup-vdso.h (setup_vdso): Likewise.
4964 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4965 * sysdeps/unix/sysv/linux/dl-sysdep.c
4966 (_dl_discover_osversion): Likewise.
4968 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4970 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4971 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4973 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4975 * NEWS: Mention libm performance improvements and non-x86 PI
4978 * csu/libc-start.c (__pthread_initialize_minimal): Change
4980 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4982 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4985 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4986 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4987 <bp-sym.h> and <bp-asm.h>.
4988 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4989 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4991 (memcpy): Don't use BP_SYM.
4992 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4994 (__mpn_add_n): Don't use BP_SYM.
4995 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4996 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4998 (__mpn_addmul_1): Don't use BP_SYM.
4999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5000 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5002 (_setjmp): Don't use BP_SYM.
5003 (__novmx_setjmp): Likewise.
5004 (__GI__setjmp): Likewise.
5005 (__vmx_setjmp): Likewise.
5006 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5008 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5009 (__bzero): Don't use BP_SYM.
5010 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5011 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5012 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5013 <bp-sym.h> and <bp-asm.h>.
5014 (memcpy): Don't use BP_SYM.
5015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5016 <bp-sym.h> and <bp-asm.h>.
5017 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5018 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5019 <bp-sym.h> and <bp-asm.h>.
5020 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5021 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5023 (__mpn_lshift): Don't use BP_SYM.
5024 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5025 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5027 (memset): Don't use BP_SYM.
5028 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5029 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5030 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5032 (__mpn_mul_1): Don't use BP_SYM.
5033 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5034 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (memcmp): Don't use BP_SYM.
5037 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5038 <bp-sym.h> and <bp-asm.h>.
5039 (memcpy): Don't use BP_SYM.
5040 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5041 <bp-sym.h> and <bp-asm.h>.
5042 (memset): Don't use BP_SYM.
5043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5044 <bp-sym.h> and <bp-asm.h>.
5045 (strncmp): Don't use BP_SYM.
5046 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5047 <bp-sym.h> and <bp-asm.h>.
5048 (memcpy): Don't use BP_SYM.
5049 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5050 <bp-sym.h> and <bp-asm.h>.
5051 (memset): Don't use BP_SYM.
5052 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5053 <bp-sym.h> and <bp-asm.h>.
5054 (__memchr): Don't use BP_SYM.
5055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5056 <bp-sym.h> and <bp-asm.h>.
5057 (memcmp): Don't use BP_SYM.
5058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5059 <bp-sym.h> and <bp-asm.h>.
5060 (memcpy): Don't use BP_SYM.
5061 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5062 <bp-sym.h> and <bp-asm.h>.
5063 (__mempcpy): Don't use BP_SYM.
5064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5065 <bp-sym.h> and <bp-asm.h>.
5066 (__memrchr): Don't use BP_SYM.
5067 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5068 <bp-sym.h> and <bp-asm.h>.
5069 (memset): Don't use BP_SYM.
5070 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5071 <bp-sym.h> and <bp-asm.h>.
5072 (__rawmemchr): Don't use BP_SYM.
5073 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5074 <bp-sym.h> and <bp-asm.h>.
5075 (__STRCMP): Don't use BP_SYM.
5076 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5077 <bp-sym.h> and <bp-asm.h>.
5078 (strchr): Don't use BP_SYM.
5079 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5080 <bp-sym.h> and <bp-asm.h>.
5081 (__strchrnul): Don't use BP_SYM.
5082 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5083 <bp-sym.h> and <bp-asm.h>.
5084 (strlen): Don't use BP_SYM.
5085 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5086 <bp-sym.h> and <bp-asm.h>.
5087 (strncmp): Don't use BP_SYM.
5088 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5089 <bp-sym.h> and <bp-asm.h>.
5090 (__strnlen): Don't use BP_SYM.
5091 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5093 (__mpn_rshift): Don't use BP_SYM.
5094 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5095 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5096 <bp-sym.h> and <bp-asm.h>.
5097 (__sigsetjmp): Don't use BP_SYM.
5098 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5099 (L(start_addresses)): Don't use BP_SYM.
5101 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5103 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5104 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5105 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5106 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5108 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5109 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5110 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5111 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5113 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5115 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5116 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5118 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5120 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5121 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5122 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5124 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5126 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5128 (strncmp): Don't use BP_SYM,
5129 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5131 (__mpn_sub_n): Don't use BP_SYM.
5132 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5133 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5135 (__mpn_submul_1): Don't use BP_SYM.
5136 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5138 <bp-sym.h> and <bp-asm.h>.
5139 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5141 <bp-sym.h> and <bp-asm.h>.
5142 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5145 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5148 Use ZK to minimize writes to Z.
5149 (sub_magnitudes): Simplify code a bit.
5150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5151 Use ZK to minimize writes to Z.
5152 (sub_magnitudes): Simplify code a bit.
5154 2013-02-27 Roland McGrath <roland@hack.frob.com>
5156 * csu/gmon-start.c: Add special exception to license text.
5158 2013-02-27 Richard Henderson <rth@redhat.com>
5160 * scripts/config.guess: Update from config.git.
5161 * scripts/config.sub: Likewise.
5163 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5167 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5169 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5171 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5173 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5175 2013-02-26 Roland McGrath <roland@hack.frob.com>
5177 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5178 [$(build-shared = yes].
5180 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5182 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5183 (__mul): Reduce iterations for calculating mantissa.
5185 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5187 (__mpranred): Likewise.
5190 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5191 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5193 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5195 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5196 Define __attribute__.
5198 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5200 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5202 * posix/regex_internal.h (__attribute): Remove.
5203 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5204 (re_string_context_at): Likewise.
5205 (bitset_not): Use __attribute__ and mark function as possibly
5207 (bitset_merge): Likewise.
5208 (bitset_mask): Likewise.
5209 (re_string_char_size_at): Likewise.
5210 (re_string_wchar_at): Likewise.
5211 (re_string_elem_size_at): Likewise.
5213 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5215 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5219 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5224 (__dbl_mp): Likewise.
5225 (add_magnitudes): Likewise.
5226 (sub_magnitudes): Likewise.
5230 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5233 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5236 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5240 up changes with default code.
5241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5244 2013-02-24 Allan McRae <allan@archlinux.org>
5246 * manual/socket.texi (The Internet Namespace): Order menu items
5247 to match that in the file.
5249 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5250 node listing of the info page menu.
5252 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5255 * sysdeps/i386/bp-asm.h: Remove file.
5256 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5257 (PARMS): Do not use macros from bp-asm.h.
5261 (__mpn_add_n): Do not use BP_SYM
5262 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5264 (PARMS): Do not use macros from bp-asm.h.
5267 (__mpn_addmul_1): Do not use BP_SYM
5268 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5270 (PARMS): Do not use macros from bp-asm.h.
5272 (_setjmp): Likewise. Do not use BP_SYM.
5273 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5275 (PARMS): Do not use macros from bp-asm.h.
5277 (setjmp): Likewise. Do not use BP_SYM.
5278 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5280 (PARMS): Do not use macros from bp-asm.h.
5281 (__frexp): Do not use BP_SYM.
5283 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5285 (PARMS): Do not use macros from bp-asm.h.
5286 (__frexpf): Do not use BP_SYM.
5288 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5290 (PARMS): Do not use macros from bp-asm.h.
5291 (__frexpl): Do not use BP_SYM.
5293 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5295 (PARMS): Do not use macros from bp-asm.h.
5296 (__remquo): Do not use BP_SYM.
5298 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5300 (PARMS): Do not use macros from bp-asm.h.
5301 (__remquof): Do not use BP_SYM.
5302 (remquof): Likewise.
5303 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5305 (PARMS): Do not use macros from bp-asm.h.
5306 (__remquol): Do not use BP_SYM.
5307 (remquol): Likewise.
5308 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5310 (PARMS): Do not use macros from bp-asm.h.
5313 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5314 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5316 (PARMS): Do not use macros from bp-asm.h.
5317 (strlen): Do not use BP_SYM.
5318 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5320 (PARMS): Do not use macros from bp-asm.h.
5324 (__mpn_add_n): Do not use BP_SYM.
5325 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5327 (PARMS): Do not use macros from bp-asm.h.
5330 (__mpn_addmul_1): Do not use BP_SYM.
5331 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5334 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5336 (PARMS): Do not use macros from bp-asm.h.
5339 (__mpn_lshift): Do not use BP_SYM.
5340 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5342 (PARMS): Do not use macros from bp-asm.h.
5346 (memcpy): Likewise. Do not use BP_SYM.
5347 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5348 libc_hidden_def and weak_alias.
5349 (mempcpy): Do not use BP_SYM in weak_alias.
5350 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5352 (PARMS): Do not use macros from bp-asm.h.
5355 [!BZERO_P] (CHR): Likewise.
5356 (memset): Likewise. Do not use BP_SYM.
5357 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5359 (PARMS): Do not use macros from bp-asm.h.
5362 (__mpn_mul_1): Do not use BP_SYM.
5363 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5365 (PARMS): Do not use macros from bp-asm.h.
5368 (__mpn_rshift): Do not use BP_SYM.
5369 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5371 (PARMS): Do not use macros from bp-asm.h.
5374 (strchr): Likewise. Do not use BP_SYM.
5375 (index): Do not use BP_SYM in weak_alias.
5376 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5378 (PARMS): Do not use macros from bp-asm.h.
5381 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5382 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5384 (PARMS): Do not use macros from bp-asm.h.
5385 (strlen): Do not use BP_SYM.
5386 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5388 (PARMS): Do not use macros from bp-asm.h.
5392 (__mpn_sub_n): Do not use BP_SYM.
5393 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5395 (PARMS): Do not use macros from bp-asm.h.
5398 (__mpn_submul_1): Do not use BP_SYM.
5399 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5401 (PARMS): Do not use macros from bp-asm.h.
5405 (__mpn_add_n): Do not use BP_SYM.
5406 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5409 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5411 (PARMS): Do not use macros from bp-asm.h.
5414 (memcmp): Do not use BP_SYM.
5415 (bcmp): Do not use BP_SYM in weak_alias.
5416 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5418 (PARMS): Do not use macros from bp-asm.h.
5422 (memcpy): Likewise. Do not use BP_SYM.
5423 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5425 (PARMS): Do not use macros from bp-asm.h.
5429 (memmove): Likewise. Do not use BP_SYM.
5430 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5432 (PARMS): Do not use macros from bp-asm.h.
5436 (__mempcpy): Likewise. Do not use BP_SYM.
5437 (mempcpy): Do not use BP_SYM in weak_alias.
5438 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5440 (PARMS): Do not use macros from bp-asm.h.
5443 [!BZERO_P] (CHR): Likewise.
5444 (memset): Likewise. Do not use BP_SYM.
5445 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5447 (PARMS): Do not use macros from bp-asm.h.
5449 (strcmp): Do not use BP_SYM.
5450 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5452 (PARMS): Do not use macros from bp-asm.h.
5455 [USE_AS_STRTOK_R] (SAVE): Likewise.
5456 (FUNCTION): Likewise. Do not use BP_SYM.
5457 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5459 (strtok_r): Likewise.
5460 (__GI___strtok_r): Likewise.
5461 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5462 (PARMS): Do not use macros from bp-asm.h.
5465 (__mpn_lshift): Do not use BP_SYM.
5466 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5467 (PARMS): Do not use macros from bp-asm.h.
5470 (__memchr): Do not use BP_SYM.
5471 (memchr): Do not use BP_SYM in weak_alias.
5472 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5473 (PARMS): Do not use macros from bp-asm.h.
5476 (memcmp): Do not use BP_SYM.
5477 (bcmp): Do not use BP_SYM in weak_alias.
5478 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5479 (PARMS): Do not use macros from bp-asm.h.
5482 (__mpn_mul_1): Do not use BP_SYM.
5483 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5485 (PARMS): Do not use macros from bp-asm.h.
5488 (__rawmemchr): Do not use BP_SYM.
5489 (rawmemchr): Do not use BP_SYM in weak_alias.
5490 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5491 (PARMS): Do not use macros from bp-asm.h.
5494 (__mpn_rshift): Do not use BP_SYM.
5495 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5496 (PARMS): Do not use macros from bp-asm.h.
5498 (__sigsetjmp): Likewise. Do not use BP_SYM.
5499 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5500 (_start): Do not use BP_SYM.
5501 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5502 (PARMS): Do not use macros from bp-asm.h.
5505 (__stpcpy): Likewise. Do not use BP_SYM.
5506 (stpcpy): Do not use BP_SYM in weak_alias.
5507 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5509 (PARMS): Do not use macros from bp-asm.h.
5513 (__stpncpy): Likewise. Do not use BP_SYM.
5514 (stpncpy): Do not use BP_SYM in weak_alias.
5515 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5516 (PARMS): Do not use macros from bp-asm.h.
5519 (strchr): Likewise. Do not use BP_SYM.
5520 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5522 (PARMS): Do not use macros from bp-asm.h.
5525 (__strchrnul): Likewise. Do not use BP_SYM.
5526 (strchrnul): Do not use BP_SYM in weak_alias.
5527 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5529 (PARMS): Do not use macros from bp-asm.h.
5531 (strcspn): Do not use BP_SYM.
5532 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5534 (PARMS): Do not use macros from bp-asm.h.
5537 (strpbrk): Likewise. Do not use BP_SYM.
5538 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5540 (PARMS): Do not use macros from bp-asm.h.
5543 (strrchr): Likewise. Do not use BP_SYM.
5544 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5545 (PARMS): Do not use macros from bp-asm.h.
5547 (strspn): Do not use BP_SYM.
5548 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5549 (PARMS): Do not use macros from bp-asm.h.
5553 (FUNCTION): Likewise. Do not use BP_SYM.
5554 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5556 (strtok_r): Likewise.
5557 (__GI___strtok_r): Likewise.
5558 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5559 (PARMS): Do not use macros from bp-asm.h.
5563 (__mpn_sub_n): Do not use BP_SYM.
5564 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5566 (PARMS): Do not use macros from bp-asm.h.
5569 (__mpn_submul_1): Do not use BP_SYM.
5570 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5572 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5574 (PARMS): Do not use macros from bp-asm.h.
5579 (__clone): Do not use BP_SYM.
5580 (clone): Do not use BP_SYM in weak_alias.
5581 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5583 (PARMS): Do not use macros from bp-asm.h.
5585 (__mmap64): Do not use BP_SYM.
5586 (mmap64): Do not use BP_SYM in weak_alias.
5587 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5588 <bp-sym.h> and <bp-asm.h>.
5589 (PARMS): Do not use macros from bp-asm.h.
5590 (__posix_fadvise64_l64): Do not use BP_SYM.
5591 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5592 (PARMS): Do not use macros from bp-asm.h.
5594 (semtimedop): Do not use BP_SYM.
5595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5598 2013-02-21 Allan McRae <allan@archlinux.org>
5600 * manual/message.texi (Charset conversion in gettext):
5601 Move @end statement to beginning of line.
5603 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5610 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5615 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5617 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5618 tail-call to the resolved function if pltexit isn't needed.
5620 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5623 or Y being zero as being unlikely.
5624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5627 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5629 * manual/nss.texi (System Databases and Name Service Switch):
5630 Remove frobnicate @pxref.
5632 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5634 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5635 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5637 2013-02-20 Petr Machata <pmachata@redhat.com>
5639 * elf/elf.h (R_ARM_TARGET1): New macro.
5640 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5641 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5642 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5643 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5644 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5645 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5646 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5647 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5648 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5649 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5650 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5651 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5652 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5653 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5654 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5655 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5656 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5657 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5658 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5659 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5660 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5661 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5662 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5663 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5664 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5665 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5666 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5667 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5668 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5669 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5670 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5671 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5672 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5673 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5674 (R_ARM_THM_GOT_BREL12): Likewise.
5675 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5676 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5677 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5678 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5679 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5680 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5681 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5682 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5683 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5685 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5687 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5688 __attribute_used__ to __attribute__ ((unused)).
5690 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5692 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5698 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5701 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5703 (ENTER): Remove both macro definitions.
5705 (CHECK_BOUNDS_LOW): Likewise.
5706 (CHECK_BOUNDS_HIGH): Likewise.
5707 (CHECK_BOUNDS_BOTH): Likewise.
5708 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5709 (RETURN_BOUNDED_POINTER): Likewise.
5710 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5711 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5712 (POP_ERRNO_LOCATION_RETURN): Likewise.
5713 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5714 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5715 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5717 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5718 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5719 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5720 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5721 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5722 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5723 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5724 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5725 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5726 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5727 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5728 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5729 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5730 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5732 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5733 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5735 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5736 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5737 * sysdeps/i386/i586/memset.S (memset): Likewise.
5738 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5739 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5740 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5742 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5743 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5744 Change uses of L(2) to L(out).
5745 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5746 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5747 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5748 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5749 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5751 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5752 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5754 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5755 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5756 (RETURN): Do not use macro LEAVE.
5757 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5758 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5759 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5760 * sysdeps/i386/i686/memset.S (memset): Likewise.
5761 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5762 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5763 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5764 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5766 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5767 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5768 L(1_2) and L(1_3) into L(1).
5769 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5770 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5771 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5772 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5773 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5774 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5775 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5776 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5777 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5779 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5780 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5781 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5782 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5783 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5784 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5785 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5786 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5787 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5788 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5789 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5790 * sysdeps/i386/strspn.S (strspn): Likewise.
5791 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5793 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5794 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5795 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5796 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5798 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5799 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5800 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5802 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5804 2013-02-19 Jakub Jelinek <jakub@redhat.com>
5806 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5809 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5811 * math/atest-exp.c (exp_mpn): Remove ROUND.
5812 * math/atest-exp2.c (exp_mpn): Likewise.
5813 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5815 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5816 * stdlib/tst-tls-atexit-lib.c: Likewise.
5817 * stdlib/tst-tls-atexit.c: Likewise.
5819 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5821 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5822 and __attribute_alloc_size__.
5824 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5826 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5827 __attribute_alloc_size__.
5828 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5829 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5831 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5833 * include/programs/xmalloc.h: New file.
5834 * catgets/gencat.c: Include it.
5835 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5836 * elf/pldd.c: Likewise.
5837 * iconv/iconv_charmap.c: Likewise.
5838 * iconv/iconvconfig.c: Likewise.
5839 * iconv/strtab.c: Likewise.
5840 * locale/programs/locale.c: Likewise.
5841 * locale/programs/localedef.h: Likewise.
5842 * locale/programs/simple-hash.c: Likewise.
5843 * nscd/nscd.h: Likewise.
5844 * nss/makedb.c: Likewise.
5845 * sysdeps/generic/ldconfig.h: Likewise.
5847 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5849 * Versions.def: Add GLIBC_2.18.
5850 * include/link.h (struct link_map): New member l_tls_dtor_count.
5851 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5852 (__call_tls_dtors): Likewise.
5853 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5854 __cxa_thread_atexit_impl.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5871 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5872 (tests): Add test case tst-tls-atexit.
5873 (modules-names): Add shared library for tst-tls-atexit.
5874 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5875 (GLIBC_PRIVATE): Add __call_tls_dtors.
5876 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5878 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5879 * stdlib/tst-tls-atexit.c: New test case.
5880 * stdlib/tst-tls-atexit-lib.c: New test case.
5882 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5884 * elf/Versions (ld): Add _dl_find_dso_for_object.
5885 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5886 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5887 (dl_open_worker): Use _dl_find_dso_for_object.
5888 * elf/dl-sym.c (do_sym): Likewise.
5889 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5891 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5893 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5894 Syntactic changes only.
5895 (_dl_runtime_profile): Do a tail-call to the resolved function.
5897 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5900 * sysdeps/x86_64/bp-asm.h: Remove file.
5901 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5902 <bp-sym.h> and <bp-asm.h>.
5903 (__clone): Do not use BP_SYM.
5904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5905 <bp-sym.h> and <bp-asm.h>.
5906 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5907 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5909 (_setjmp): Do not use BP_SYM.
5910 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5912 (setjmp): Do not use BP_SYM.
5913 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5915 (mempcpy): Do not use BP_SYM in weak_alias.
5916 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5918 (strchr): Do not use BP_SYM.
5919 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5921 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5922 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5923 (_start): Do not use BP_SYM.
5924 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5926 (strcat): Do not use BP_SYM.
5927 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5929 (STRCMP): Do not use BP_SYM.
5930 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5932 (STRCPY): Do not use BP_SYM.
5933 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5935 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5937 (FUNCTION): Do not use BP_SYM.
5938 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5940 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5942 2013-02-17 Andreas Jaeger <aj@suse.de>
5944 * time/Versions: Sort entries.
5945 * string/Versions: Likewise.
5946 * resolv/Versions: Likewise.
5947 * posix/Versions: Likewise.
5948 * iconv/Versions: Likewise.
5949 * elf/Versions: Likewise.
5950 * wcsmbs/Versions: Likewise.
5952 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5954 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5955 loop termination condition.
5957 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5958 variable to calculate EZ.
5961 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5962 the lower precision input.
5964 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5967 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5968 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5969 (run-via-rtld-prefix): Do not handle %-bp tests.
5970 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5971 (all-object-suffixes): Remove .ob.
5972 (bppfx): Remove variable.
5973 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5974 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5975 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5976 [$(build-bounded) = yes] (libtype.ob): Likewise.
5977 * Makerules (elide-routines.ob): Remove variable.
5978 (do-tests-clean): Do not handle *-bp.out.
5979 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5980 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5981 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5982 (tests): Do not include $(tests-bp.out).
5983 (xtests): Do not include $(xtests-bp.out).
5984 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5985 [$(build-bounded) = yes] ($(addprefix
5986 $(objpfx),$(binaries-bounded))): Remove rule.
5987 ($(objpfx)%-bp.out): Remove rule.
5988 * config.make.in (build-bounded): Remove variable.
5989 * crypt/Makefile [$(build-bounded) = yes]
5990 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5991 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5993 [$(build-bounded) = yes] (install-lib): Likewise.
5994 [$(build-bounded) = yes] (generated): Likewise.
5995 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5997 * intl/Makefile [$(build-bounded) = yes]
5998 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5999 * math/Makefile [$(build-bounded) = yes]
6000 ($(tests:%=$(objpfx)%-bp): Likewise.
6001 * misc/Makefile [$(build-bounded) = yes]
6002 ($(objpfx)tst-tsearch-bp): Likewise.
6003 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6004 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6006 * string/Makefile (o-objects.ob): Remove variable.
6007 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6008 (CFLAGS-.ob): Remove variable.
6009 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6010 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6011 both definitions of variable.
6012 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6013 (ASFLAGS-.ob): Remove variable.
6015 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6018 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6019 Remove __BOUNDED_POINTERS__ from condition.
6020 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6021 * string/bits/string2.h [!__NO_STRING_INLINES &&
6022 !__BOUNDED_POINTERS__]: Likewise.
6023 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6025 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6026 Remove conditional code.
6027 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6028 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6029 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6033 * csu/libc-start.c: Do not include <bp-sym.h>.
6034 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6035 * elf/dl-open.c: Do not include <bp-sym.h>.
6036 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6037 * math/fegetenv.c: Do not include <bp-sym.h>.
6038 (fegetenv): Do not use BP_SYM in versioned symbols.
6039 * nptl/sysdeps/pthread/bits/libc-lockP.h
6040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6043 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6045 (__pthread_mutex_destroy): Likewise.
6046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6047 (__pthread_mutex_lock): Likewise.
6048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6049 (__pthread_mutex_trylock): Likewise.
6050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6051 (__pthread_mutex_unlock): Likewise.
6052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6053 (__pthread_mutexattr_init): Likewise.
6054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6055 (__pthread_mutexattr_destroy): Likewise.
6056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6057 (__pthread_mutexattr_settype): Likewise.
6058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6059 (__pthread_rwlock_init): Likewise.
6060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6061 (__pthread_rwlock_destroy): Likewise.
6062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6063 (__pthread_rwlock_rdlock): Likewise.
6064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6065 (__pthread_rwlock_tryrdlock): Likewise.
6066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6067 (__pthread_rwlock_wrlock): Likewise.
6068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6069 (__pthread_rwlock_trywrlock): Likewise.
6070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6071 (__pthread_rwlock_unlock): Likewise.
6072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6073 (__pthread_key_create): Likewise.
6074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6075 (__pthread_setspecific): Likewise.
6076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6077 (__pthread_getspecific): Likewise.
6078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6081 (_pthread_cleanup_push_defer): Likewise.
6082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6083 (_pthread_cleanup_pop_restore): Likewise.
6084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6085 (pthread_setcancelstate): Likewise.
6086 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6088 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6089 (memchr): Do not use BP_SYM in weak_alias.
6090 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6091 (fegetenv): Do not use BP_SYM in versioned symbols.
6092 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6093 (fesetenv): Do not use BP_SYM in versioned symbols.
6094 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6095 (feupdateenv): Do not use BP_SYM in versioned symbols.
6096 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6097 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6098 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6099 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6100 (open64): Do not use BP_SYM in weak_alias.
6101 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6102 (fegetenv): Do not use BP_SYM in versioned symbols.
6103 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6104 (fesetenv): Do not use BP_SYM in versioned symbols.
6105 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6106 (feupdateenv): Do not use BP_SYM in versioned symbols.
6107 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6108 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6109 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6110 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6111 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6112 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6113 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6115 (__libc_start_main): Do not use BP_SYM.
6117 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6120 redundant return line.
6124 (sub_magnitudes): Likewise.
6130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6134 (sub_magnitudes): Likewise.
6141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6143 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6144 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6147 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6148 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6150 of __mul for squares.
6151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6155 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6156 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6158 2013-02-13 Joseph Myers <joseph@codesourcery.com>
6161 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6163 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6164 prototype or function definition. Rename ubp_* variables and
6165 parameters. Remove argv definitions conditional on
6166 [__BOUNDED_POINTERS__].
6167 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6168 * elf/dl-runtime.c (_dl_fixup): Likewise.
6169 * include/set-hooks.h (RUN_HOOK): Likewise.
6170 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6172 * string/strcpy.c (strcpy): Do not use __unbounded.
6173 * sysdeps/generic/frame.h (struct layout): Likewise.
6174 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6175 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6176 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6177 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6178 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6179 (__backtrace): Likewise.
6180 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6182 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6183 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6184 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6186 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6187 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6188 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6189 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6190 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6191 Do not use __unbounded.
6192 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6193 Rename __unboundedrlimits parameter to rlimits in prototype.
6194 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6195 Do not use __unbounded.
6196 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6198 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6199 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6200 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6201 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6202 __ptrvalue or __unbounded.
6203 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6204 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6206 (__new_msgctl): Do not use __ptrvalue.
6207 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6209 (__libc_msgrcv): Do not use __ptrvalue.
6210 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6211 startup_info): Do not use __unbounded.
6212 (__libc_start_main): Likewise. Rename ubp_* variables and
6213 parameters. Remove argv definitions conditional on
6214 [__BOUNDED_POINTERS__].
6215 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6217 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6219 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6221 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6223 (__new_shmctl): Do not use __ptrvalue.
6224 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6225 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6227 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6229 (__libc_sigaction): Likewise.
6230 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6231 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6233 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6235 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6237 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6239 * string/mempcpy.c: Implement by calling memcpy.
6241 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6248 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6249 values in the mantissa.
6251 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6252 minimize writes to Z.
6253 (sub_magnitudes): Simplify code a bit.
6255 2013-02-12 Roland McGrath <roland@hack.frob.com>
6257 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6258 from the message. The linker prefixes all warnings with that already.
6260 2013-02-12 Andreas Schwab <schwab@suse.de>
6263 * posix/regexec.c (extend_buffers): Add parameter min_len.
6264 (check_matching): Pass minimum needed length.
6265 (clean_state_log_if_needed): Likewise.
6266 (get_subexp): Likewise.
6267 * posix/Makefile (tests): Add bug-regex34.
6268 (bug-regex34-ENV): Define.
6269 * posix/bug-regex34.c: New file.
6272 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6273 elements compare against the byte sequence of it, not its name.
6274 * posix/Makefile (tests): Add bug-regex35.
6275 (bug-regex35-ENV): Define.
6276 * posix/bug-regex35.c: New file.
6278 2013-02-11 Tom de Vries <tom@codesourcery.com>
6280 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6282 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6283 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6284 (CHECK_EOL): Add undef.
6286 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6288 * bits/stdlib-bsearch.h: New file.
6289 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6290 * stdlib/stdlib.h: Likewise.
6292 2013-02-11 Roland McGrath <roland@hack.frob.com>
6294 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6295 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6297 * manual/search.texi (Array Search Function): Add missing const in
6299 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6300 declaration to use rlim_t.
6301 (Basic Scheduling Functions): Remove erroneous const from
6302 sched_getparam prototype. Remove erroneous * from
6303 sched_get_priority_max and sched_get_priority_min prototypes.
6304 (Resource Usage): Fix summary @comment on vtimes to refer to
6305 sys/vtimes.h rather than vtimes.h.
6306 Add missing *s in vtimes prototype.
6307 (Limits on Resources): Fix ulimit prototype to return long int.
6308 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6309 prototypes to use long int rather than double.
6310 (BSD Random): Fix initstate and setstate to use char *, not void *.
6311 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6312 prototype to make second argument 'struct aiocb64 *const[]'.
6313 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6314 (Status of AIO Operations): Remove erroneous const in aio_return and
6315 aio_return64 prototypes.
6316 (Synchronizing I/O): Fix sync prototype to return void.
6317 * manual/startup.texi (Suboptions): Remove an erroneous const in
6318 getsubopt prototype.
6319 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6320 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6321 use size_t rather than int.
6322 (Scanning All Users): Likewise for getpwent_r.
6323 (Setting Groups): Add missing const to setgroups prototype.
6324 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6325 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6326 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6327 'const void *' rather than 'const char *'.
6328 (Host Address Functions): Likewise for inet_ntop.
6329 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6330 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6331 ssize_t for return value.
6332 (Sending Data): Likewise for send, sendto, sendmsg.
6333 (Socket Option Functions): Add a missing const in setsockopt prototype.
6334 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6335 use wchar_t for the argument.
6336 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6337 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6339 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6340 double/float/long double for second argument.
6341 Fix return types of significand, significandf, significandl.
6342 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6343 argument in fchmod prototype.
6344 (File Owner): Use uid_t and gid_t in fchown prototype.
6345 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6346 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6347 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6348 use 'const struct dirent **' as argument types to CMP function pointer
6350 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6351 (File Times): Fix summary magic @comment for struct utimbuf and utime
6352 to refer to utime.h, not time.h.
6353 * manual/string.texi (Argz Functions): Add missing const in
6354 argz_extract and argz_next prototypes.
6355 (Finding Tokens in a String): Likewise for basename.
6356 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6357 (Copying and Concatenation): Fix typo in wmemmove prototype.
6358 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6359 (Signal Stack): Remove erroneous const in sigstack prototype.
6360 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6362 (Simple Calendar Time): Likewise for stime.
6363 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6365 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6366 say sys/sysctl.h instead.
6367 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6368 and vsyslog prototypes.
6370 2013-02-11 Tom de Vries <tom@codesourcery.com>
6372 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6375 2013-02-11 Roland McGrath <roland@hack.frob.com>
6377 * misc/sys/mman.h: Fix typo in mremap comment.
6379 2013-02-08 Roland McGrath <roland@hack.frob.com>
6381 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6382 the '\0' terminator.
6384 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6387 * debug/segfault.c: Don't include <bp-checks.h>.
6388 * sysdeps/generic/bp-checks.h: Remove file.
6389 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6390 (__GETDENTS): Don't use CHECK_N.
6391 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6392 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6393 (__getgroups): Don't use CHECK_N.
6394 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6395 (setgroups): Don't use CHECK_N.
6396 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6397 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6398 (__libc_msgrcv): Don't use CHECK_N.
6399 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6400 (__libc_msgsnd): Don't use CHECK_N.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6403 (__libc_pread): Don't use CHECK_N.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6405 include <bp-checks.h>.
6406 (__libc_pread64): Don't use CHECK_N.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6408 include <bp-checks.h>.
6409 (__libc_pwrite): Don't use CHECK_N.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6411 include <bp-checks.h>.
6412 (__libc_pwrite64): Don't use CHECK_N.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6415 (__libc_pread): Don't use CHECK_N.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6417 include <bp-checks.h>.
6418 (__libc_pread64): Don't use CHECK_N.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6420 include <bp-checks.h>.
6421 (__libc_pwrite): Don't use CHECK_N.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6423 include <bp-checks.h>.
6424 (__libc_pwrite64): Don't use CHECK_N.
6425 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6426 (do_pread): Don't use CHECK_N.
6427 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6428 (do_pread64): Don't use CHECK_N.
6429 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6430 (do_pwrite): Don't use CHECK_N.
6431 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6432 (do_pwrite64): Don't use CHECK_N.
6433 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6434 (__libc_readv): Don't use CHECK_N.
6435 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6436 (semop): Don't use CHECK_N.
6437 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6439 (semtimedop): Don't use CHECK_N.
6440 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6441 (__libc_pread): Don't use CHECK_N.
6442 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6444 (__libc_pread64): Don't use CHECK_N.
6445 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6447 (__libc_pwrite): Don't use CHECK_N.
6448 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6450 (__libc_pwrite64): Don't use CHECK_N.
6451 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6453 (__libc_msgrcv): Don't use CHECK_N.
6454 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6455 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6456 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6457 (__libc_writev): Don't use CHECK_N.
6459 2013-02-08 Roland McGrath <roland@hack.frob.com>
6461 * string/strcpy.c: Removed unused variable.
6463 * Makeconfig (+sysdep-includes): Define with := rather than =.
6464 Use an existing include/ subdir of each sysdeps dir before it.
6466 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6468 * nscd/connection.c (register_traced_file): Comment function.
6469 [HAVE_INOTIFY] (union __inev): Define.
6470 [HAVE_INOTIFY] (inotify_check_files): New function.
6471 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6472 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6474 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6476 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6478 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6479 loaded if not already and that a failure is permanent.
6481 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6484 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6485 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6487 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6490 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6491 (CHECK_1_NULL_OK): Likewise.
6492 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6493 (__fxstat): Do not use CHECK_1.
6494 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6496 (___fxstat64): Do not use CHECK_1.
6497 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6499 (__fxstatat): Do not use CHECK_1.
6500 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6502 (__fxstatat64): Do not use CHECK_1.
6503 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6505 (__fxstat): Do not use CHECK_1.
6506 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6508 (__fxstatat): Do not use CHECK_1.
6509 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6511 (__getresgid): Do not use CHECK_1.
6512 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6514 (__getresuid): Do not use CHECK_1.
6515 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6517 (__lxstat): Do not use CHECK_1.
6518 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6520 (__old_msgctl): Do not use CHECK_1.
6521 (__new_msgctl): Likewise.
6522 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6524 (__new_setrlimit): Do not use CHECK_1.
6525 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6527 (__old_shmctl): Do not use CHECK_1.
6528 (__new_shmctl): Likewise.
6529 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6531 (__xstat): Do not use CHECK_1.
6532 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6533 (__lxstat): Do not use CHECK_1.
6534 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6536 (___lxstat64): Do not use CHECK_1.
6537 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6538 (__old_msgctl): Do not use CHECK_1.
6539 (__new_msgctl): Likewise.
6540 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6542 (__gettimeofday): Do not use CHECK_1.
6543 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6544 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6545 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6547 (__gettimeofday): Do not use CHECK_1.
6548 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6549 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6550 (__new_shmctl): Do not use CHECK_1.
6551 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6553 (do_sigtimedwait): Do not use CHECK_1.
6554 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6556 (do_sigwaitinfo): Do not use CHECK_1.
6557 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6559 (msgctl): Do not use CHECK_1.
6560 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6562 (shmctl): Do not use CHECK_1.
6563 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6564 (ustat): Do not use CHECK_1.
6565 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6567 (__fxstat): Do not use CHECK_1.
6568 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6570 (__fxstatat): Do not use CHECK_1.
6571 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6573 (__lxstat): Do not use CHECK_1.
6574 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6576 (__xstat): Do not use CHECK_1.
6577 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6578 (__xstat): Do not use CHECK_1.
6579 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6580 (___xstat64): Do not use CHECK_1.
6583 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6585 (CHECK_BOUNDS_HIGH): Likewise.
6586 * string/strcpy.c: Do not include <bp-checks.h>.
6587 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6589 2013-02-07 Roland McGrath <roland@hack.frob.com>
6591 * nscd/nscd-client.h (__nscd_drop_map_ref):
6592 Add __attribute__ ((unused)).
6593 * nis/nss-nisplus.h (niserr2nss): Likewise.
6595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6596 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6598 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6599 Remove inline keyword.
6600 * include/rounding-mode.h (round_away): Likewise.
6601 * libio/wfileops.c (adjust_wide_data): Likewise.
6602 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6603 (__m128i_strloadu_tolower): Likewise.
6604 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6605 (__m128i_strloadu_tolower): Likewise.
6606 * time/mktime.c (ydhms_diff): Likewise.
6607 * locale/elem-hash.h (elem_hash): Likewise.
6608 * locale/setlocale.c (setdata): Likewise.
6609 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6610 (re_string_wchar_at): Likewise.
6611 (bitset_not, bitset_merge, bitset_mask): Likewise.
6612 [!(__GNUC__ > 3)] (inline): Remove macro.
6613 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6614 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6615 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6616 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6617 * string/memcmp.c (memcmp_bytes): Likewise.
6618 * locale/programs/locarchive.c (compute_hashval): Likewise.
6619 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6620 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6621 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6622 * nss/getent.c (print_rpc, print_protocols): Likewise.
6623 (print_passwd, print_group, print_aliases): Likewise.
6624 * nis/nss-nisplus.h (niserr2nss): Likewise.
6625 * nscd/connections.c (restart_p): Likewise.
6626 Change return type to bool.
6628 2013-02-05 Roland McGrath <roland@hack.frob.com>
6630 * Makeconfig (all-Depend-files): Add existing
6631 $(sorted-subdirs:=/Depend) files.
6632 (all-subdirs): Remove nss.
6633 * sysdeps/unix/inet/Subdirs: Add it here instead.
6634 * hesiod/Depend: New file.
6636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6637 instead of calling alloca.
6639 * io/lseek.c (__lseek): Rename to __libc_lseek.
6640 Define __lseek as an alias.
6642 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6644 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6646 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6647 else clause and remove check for non-standard endianness.
6649 2013-02-04 David S. Miller <davem@davemloft.net>
6651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6653 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6656 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6657 (__ubp_memchr): Remove prototype.
6658 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6659 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6660 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6661 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6662 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6664 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6665 (__ubp_memchr): Likewise.
6666 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6667 (__ubp_memchr): Likewise.
6668 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6669 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6670 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6671 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6673 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6674 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6675 (__getcwd): Do not use CHECK_STRING.
6676 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6678 (__real_chown): Do not use CHECK_STRING.
6679 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6681 (fchownat): Do not use CHECK_STRING.
6682 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6684 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6686 (__lchown): Do not use CHECK_STRING.
6687 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6688 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6689 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6690 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6692 include <bp-checks.h>.
6693 (truncate64): Do not use CHECK_STRING.
6694 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6696 (__real_chown): Do not use CHECK_STRING.
6697 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6699 (__lchown): Do not use CHECK_STRING.
6700 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6702 (__chown): Do not use CHECK_STRING.
6703 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6705 (truncate64): Do not use CHECK_STRING.
6706 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6708 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6709 (__xmknod): Do not use CHECK_STRING.
6710 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6712 (__xmknodat): Do not use CHECK_STRING.
6713 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6714 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6716 2013-02-04 Andreas Schwab <schwab@suse.de>
6719 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6720 * include/netdb.h: Likewise for h_errno.
6721 * elf/tst-stackguard1.c: Include <tls.h>.
6723 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6725 * elf/link.h (struct link_map): Extend the l_addr comment.
6726 * include/link.h (struct link_map): Likewise.
6728 2013-02-01 Joseph Myers <joseph@codesourcery.com>
6731 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6732 (BOUNDED_1): Remove macro.
6733 * debug/backtrace.c: Don't include <bp-checks.h>.
6734 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6735 (__backtrace): Likewise.
6736 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6738 (__backtrace): Don't use BOUNDED_1.
6739 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6741 (__backtrace): Don't use BOUNDED_1.
6742 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6743 (__backtrace): Don't use BOUNDED_1.
6744 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6745 (shmat): Don't use BOUNDED_N.
6747 2013-01-31 Joseph Myers <joseph@codesourcery.com>
6750 * sysdeps/generic/bp-start.h: Remove file.
6751 * csu/libc-start.c: Don't include <bp-start.h>.
6752 (LIBC_START_MAIN): Set up __environ directly instead of using
6753 INIT_ARGV_and_ENVIRON.
6754 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6758 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6760 (CHECK_FCNTL): Likewise.
6761 (CHECK_N_PAGES): Likewise.
6764 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6766 (CHECK_SIGSET_NULL_OK): Likewise.
6767 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6769 (sigpending): Don't use CHECK_SIGSET.
6770 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6772 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6773 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6775 (do_sigsuspend): Don't use CHECK_SIGSET.
6776 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6778 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6779 (do_sigwait): Don't use CHECK_SIGSET.
6780 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6782 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6783 include <bp-checks.h>.
6784 (sigpending): Don't use CHECK_SIGSET.
6785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6786 include <bp-checks.h>.
6787 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6788 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6790 (sigpending): Don't use CHECK_SIGSET.
6791 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6793 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6796 * sysdeps/generic/bp-semctl.h: Remove file.
6797 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6798 <bp-checks.h> and <bp-semctl.h>.
6799 (__old_semctl): Don't use CHECK_SEMCTL.
6800 (__new_semctl): Likewise.
6801 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6803 (__old_semctl): Don't use CHECK_SEMCTL.
6804 (__new_semctl): Likewise.
6805 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6806 <bp-checks.h> and <bp-semctl.h>.
6807 (__old_semctl): Don't use CHECK_SEMCTL.
6808 (__new_semctl): Likewise.
6809 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6810 <bp-checks.h> and <bp-semctl.h>.
6811 (semctl): Don't use CHECK_SEMCTL.
6814 * Makerules (elide-bp-thunks): Remove variable.
6815 (elide-routines.oS): Don't use $(elide-bp-thunks).
6816 (elide-routines.os): Likewise.
6817 (elide-routines.o): Likewise.
6818 (elide-routines.op): Likewise.
6819 (elide-routines.og): Likewise.
6820 (objects): Don't use $(bp-thunks).
6821 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6823 (common-generated): Do not add s-proto-bp.d.
6824 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6827 Do not generate makefile rules for bounded-pointer thunks.
6828 * sysdeps/generic/bp-thunks.h: Remove file.
6829 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6830 * sysdeps/unix/s-proto-bp.S: Likewise.
6833 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6834 parts of result separately when argument is not close to line from
6835 -i to i and one part of argument is small.
6836 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6837 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6838 * math/libm-test.inc (cacos_test): Add more tests.
6839 (casin_test): Likewise.
6840 (casinh_test): Likewise.
6841 * sysdeps/i386/fpu/libm-test-ulps: Update.
6842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6844 2013-01-31 David S. Miller <davem@davemloft.net>
6846 * po/de.po: Update from translation team.
6848 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6850 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6852 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6854 * configure.in (_AC_PROG_CC_C89): New definition.
6855 * configure: Regenerate.
6857 * configure.in (AC_PROG_CPP): New definition.
6858 * configure: Regenerate.
6860 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6862 * debug/tst-backtrace.h: New file.
6863 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6864 (ret): Remove variable.
6866 (FAIL): Remove macro.
6867 (NO_INLINE): Likewise.
6868 (fn1): Use match function instead of strstr.
6869 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6870 (ret): Remove variable.
6872 (FAIL): Remove macro.
6873 (NO_INLINE): Likewise.
6874 (fn): Use match function instead of strstr.
6875 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6876 (ret): Remove variable.
6878 (FAIL): Remove macro.
6879 (NO_INLINE): Likewise.
6880 (handle_signal): Use match function instead of strstr.
6881 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6882 (ret): Remove variable.
6884 (FAIL): Remove macro.
6885 (NO_INLINE): Likewise.
6886 (handle_signal): Use match function instead of strstr.
6888 2013-01-23 Roland McGrath <roland@hack.frob.com>
6890 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6892 2013-01-23 David S. Miller <davem@davemloft.net>
6894 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6895 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6896 argument of CAS if possible.
6897 * sysdeps/sparc/sparc64/bits/atomic.h
6898 (__arch_compare_and_exchange_val_32_acq): Likewise.
6899 (__arch_compare_and_exchange_val_64_acq): Likewise.
6901 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6903 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6904 * sysdeps/posix/ulimit.c: ... this.
6906 * sysdeps/unix/bsd/ulimit.c: Remove file.
6908 2013-01-23 Adam Conrad <adconrad@0c3.net>
6910 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6911 (LDFLAGS-tst-array5): Likewise.
6913 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6916 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6917 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6918 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6919 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6921 2013-01-21 David S. Miller <davem@davemloft.net>
6923 * sysdeps/sparc/backtrace.c: New file.
6924 * sysdeps/sparc/sparc32/backtrace.h: New file.
6925 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6926 * sysdeps/sparc/sparc64/backtrace.h: New file.
6927 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6928 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6931 2013-01-21 Andreas Schwab <schwab@suse.de>
6934 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6937 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6943 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6944 Mark Mitchell <mark@codesourcery.com>
6945 Tom de Vries <tom@codesourcery.com>
6946 Paul Pluzhnikov <ppluzhnikov@google.com>
6948 * debug/tst-backtrace2.c: New file.
6949 * debug/tst-backtrace3.c: Likewise.
6950 * debug/tst-backtrace4.c: Likewise.
6951 * debug/tst-backtrace5.c: Likewise.
6952 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6953 (CFLAGS-tst-backtrace3.c): Likewise.
6954 (CFLAGS-tst-backtrace4.c): Likewise.
6955 (CFLAGS-tst-backtrace5.c): Likewise.
6956 (LDFLAGS-tst-backtrace2): Likewise.
6957 (LDFLAGS-tst-backtrace3): Likewise.
6958 (LDFLAGS-tst-backtrace4): Likewise.
6959 (LDFLAGS-tst-backtrace5): Likewise.
6960 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6961 tst-backtrace4 and tst-backtrace5.
6963 2013-01-18 Anton Blanchard <anton@samba.org>
6964 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6966 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6967 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6968 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6969 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6971 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6972 "+r" and remove output regs list as redundant. Add explicit inline
6973 asm to specify register of return val to work around compiler codegen
6974 bug. Remove (int) cast on return value. Add return type parameter to
6975 use in macro so that this macro does not truncate return value for
6977 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6978 pass to INTERNAL_VSYSCALL_NCS.
6979 (INLINE_VSYSCALL): Add 'long int' as return type to
6980 INTERNAL_VSYSCALL_NCS macro invocation.
6981 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6982 INTERNAL_VSYSCALL_NCS macro invocation.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6985 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6988 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6989 Fix application of SIMD FP exception mask.
6991 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6992 mp_no from a power of two.
6993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6994 __mpexp_twomm1. Use __pow_mp.
6996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6999 2013-01-17 David S. Miller <davem@davemloft.net>
7001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7003 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7006 * include/complex.h: Condition contents on [!_COMPLEX_H].
7007 (__kernel_casinhf): New prototype.
7008 (__kernel_casinh): Likewise.
7009 (__kernel_casinhl): Likewise.
7010 * math/Makefile (libm_calls): Add k_casinh.
7011 * math/k_casinh.c: New file.
7012 * math/k_casinhf.c: Likewise.
7013 * math/k_casinhl.c: Likewise.
7014 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7015 finite nonzero arguments.
7016 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7017 finite nonzero arguments.
7018 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7019 finite nonzero arguments.
7020 * math/s_casinh.c: Do not include <float.h>.
7021 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7022 * math/s_casinhf.c: Do not include <float.h>.
7023 (__casinhf): Move code for finite nonzero arguments to
7025 * math/s_casinhl.c: Do not include <float.h>.
7026 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7028 (__casinhl): Move code for finite nonzero arguments to
7030 * math/libm-test.inc (cacos_test): Add more tests.
7031 * sysdeps/i386/fpu/libm-test-ulps: Update.
7032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7034 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7036 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7037 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7038 [!HAVE_MREMAP]: Remove [defined linux] case.
7039 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7041 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7043 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7045 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7047 * elf/elf.h (R_386_SIZE32): New relocation.
7048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7050 (elf_machine_rela): Likewise.
7051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7052 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7054 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7056 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7057 (FP_FAST_FMA): Do not define.
7058 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7059 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7060 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7061 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7062 !_SOFT_FLOAT]: Likewise.
7063 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7064 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7066 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7067 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7068 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7069 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7070 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7071 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7074 2013-01-16 Andreas Schwab <schwab@suse.de>
7077 * include/stdlib.h (__mktemp): Add declaration.
7078 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7079 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7081 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7083 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7085 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7086 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7087 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7089 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7090 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7092 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7094 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7095 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7096 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7098 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7099 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7101 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7103 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7105 2013-01-15 David S. Miller <davem@davemloft.net>
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7108 trunc{,f} to libm-sysdep_routes.
7109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7119 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7120 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7121 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7122 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7123 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7124 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7127 nearbyint{,f} to libm-sysdep_routes.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7145 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7146 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7148 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7149 libc_feholdexcept and libc_fesetenv.
7151 2013-01-15 Mike Frysinger <vapier@gentoo.org>
7153 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7155 2013-01-14 David S. Miller <davem@davemloft.net>
7157 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7158 (SPARC_ASM_VIS2_IFUNC): Likewise.
7159 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7161 use of 'siam' instruction.
7162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7195 routines to libm-sysdep_routines.
7196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7199 fdim/fdimf to libm-sysdep_routines.
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7208 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7209 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7210 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7211 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7213 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7215 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7218 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7223 local variable MPTWO.
7224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7227 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7229 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7232 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7234 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7236 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7238 * manual/pattern.texi (glob_t): Document gl_flags.
7239 (glob64_t): Likewise.
7241 2013-01-11 David S. Miller <davem@davemloft.net>
7243 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7244 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7245 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7246 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7247 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7248 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7249 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7250 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7251 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7252 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7253 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7254 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7255 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7258 sparc V9 rather than using V8 code.
7259 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7260 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7262 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7264 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7267 2013-01-11 Roland McGrath <roland@hack.frob.com>
7269 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7270 not in the main loop.
7271 * configure: Regenerated.
7273 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7275 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7276 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7278 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7279 [!__GLIBC_HAVE_LONG_LONG] case.
7280 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7281 condition to just #else.
7282 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7283 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7284 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7285 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7287 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7288 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7289 #elif condition to just #else.
7290 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7291 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7292 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7293 #elif condition to just #else.
7295 2013-01-11 Steve Ellcey <sellcey@mips.com>
7297 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7298 (EF_MIPS_ARCH_64): Fix value.
7299 (EF_MIPS_ARCH_32R2): New.
7300 (EF_MIPS_ARCH_64R2): New.
7302 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7304 * Makeconfig (+link-pie-before-libc): New.
7305 (+link-pie-after-libc): Likewise.
7306 (+link-pie-tests): Likewise.
7307 (+link-pie): Rewritten.
7308 (link-before-libc): Remove $(config-LDFLAGS).
7309 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7310 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7311 (config-LDFLAGS): Renamed to ...
7312 (rtld-LDFLAGS): This.
7313 (rtld-tests-LDFLAGS): New macro.
7314 (link-libc-rpath-link): Likewise.
7315 (link-libc-tests-rpath-link): Likewise.
7316 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7317 (link-libc): Prepand $(link-libc-rpath-link).
7318 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7319 (test-program-prefix): New macro.
7320 (test-via-rtld-prefix): Likewise.
7321 (test-program-cmd): Likewise.
7322 (host-test-program-cmd): Likewise.
7323 * Makefile ($(common-objpfx)testrun.sh): Replace
7324 $(run-program-prefix) with $(test-program-prefix).
7325 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7327 ($(common-objpfx)shlib.lds): Likewise.
7328 (build-module-helper): Likewise.
7329 ($(common-objpfx)format.lds): Likewise.
7330 * Rules (binaries-pie-tests): New.
7331 (binaries-pie-notests): Likewise.
7332 (binaries-pie): Rewritten.
7333 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7334 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7335 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7336 (make-test-out): Replace $(host-built-program-cmd) with
7337 $(host-test-program-cmd).
7338 * config.make.in (build-hardcoded-path-in-tests): New variable.
7339 * configure.in (--enable-hardcoded-path-in-tests): New configure
7341 (hardcoded_path_in_tests): New AC_SUBST.
7342 * configure: Regenerated.
7343 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7344 $(built-program-cmd) with $(test-program-cmd).
7345 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7346 (test_program_cmd): This.
7347 * elf/Makefile ($(objpfx)order.out): Run test with
7348 $(test-program-prefix).
7349 ($(objpfx)order2.out): Likewise.
7350 ($(objpfx)tst-initorder.out): Likewise.
7351 ($(objpfx)tst-initorder2.out): Likewise.
7352 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7353 $(test-program-cmd).
7354 ($(objpfx)tst-array1-static.out): Likewise.
7355 ($(objpfx)tst-array2.out): Likewise.
7356 ($(objpfx)tst-array3.out): Likewise.
7357 ($(objpfx)tst-array4.out): Likewise.
7358 ($(objpfx)tst-array5.out): Likewise.
7359 ($(objpfx)tst-array5-static.out): Likewise.
7360 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7361 $(test-program-cmd).
7362 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7363 $(run-program-prefix) with $(test-program-prefix).
7364 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7365 (test_program_prefix): This.
7366 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7367 $(run-program-prefix) with $(test-program-prefix).
7368 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7369 (test_program_prefix): This.
7370 * iconvdata/tst-tables.sh: Likewise.
7371 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7372 $(run-program-prefix) with $(test-program-prefix).
7373 ($(objpfx)tst-translit.out): Likewise.
7374 ($(objpfx)tst-gettext2.out): Likewise.
7375 ($(objpfx)tst-gettext4.out): Likewise.
7376 ($(objpfx)tst-gettext6.out): Likewise.
7377 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7378 (test_program_prefix): This.
7379 * intl/tst-gettext2.sh: Likewise.
7380 * intl/tst-gettext4.sh Likewise.
7381 * intl/tst-gettext6.sh: Likewise.
7382 * intl/tst-translit.sh: Likewise.
7383 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7384 with $(test-program-cmd).
7385 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7386 $(run-program-prefix) with $(test-program-prefix).
7387 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7388 (test_program_prefix): This.
7389 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7390 $(run-program-prefix) with $(test-program-prefix).
7391 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7392 (test_program_prefix): This.
7393 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7394 * posix/Makefile ($(objpfx)globtest.out): Replace
7395 $(run-via-rtld-prefix) and $(test-wrapper) with
7396 $(test-program-prefix) and $(test-via-rtld-prefix).
7397 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7398 $(test-program-prefix).
7399 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7400 $(host-test-program-cmd).
7401 (tst-spawn-ARGS): Likewise.
7402 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7403 $(test-program-prefix).
7404 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7405 (test_via_rtld_prefix): This.
7406 (test_wrapper): Renamed to ...
7407 (test_program_prefix): This.
7408 (run_program_prefix): Replaced by test_program_prefix.
7409 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7410 (test_program_prefix): This.
7411 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7412 with $(host-test-program-cmd).
7413 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7414 $(run-program-prefix) with $(test-program-prefix).
7415 ($(objpfx)tst-printf.out): Likewise.
7416 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7417 $(test-program-cmd).
7418 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7419 (test_program_prefix): This.
7420 * stdio-common/tst-unbputc.sh: Likewise.
7421 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7422 $(run-program-prefix) with $(test-program-prefix).
7423 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7424 (test_program_prefix): This.
7425 * string/Makefile ($(objpfx)tst-svc.out): Replace
7426 $(built-program-cmd) with $(test-program-cmd).
7428 2013-01-11 Andreas Jaeger <aj@suse.de>
7431 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7432 value. Sync with Linux 3.7.
7434 2013-01-10 David S. Miller <davem@davemloft.net>
7436 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7437 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7438 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7440 2013-01-10 Roland McGrath <roland@hack.frob.com>
7442 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7444 * configure: Regenerated.
7446 2013-01-10 David S. Miller <davem@davemloft.net>
7448 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7449 sparc V9 rather than using V8 code.
7450 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7451 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7453 2013-01-10 Roland McGrath <roland@hack.frob.com>
7455 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7456 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7457 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7458 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7459 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7460 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7461 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7462 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7463 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7464 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7465 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7466 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7467 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7468 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7469 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7470 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7471 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7472 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7473 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7474 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7475 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7476 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7477 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7478 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7479 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7480 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7481 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7483 2013-01-10 David S. Miller <davem@davemloft.net>
7485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7487 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7489 * posix/Makefile (tests-static): New variable.
7490 (tests): Add $(tests-static).
7491 (tst-exec-static-ARGS): New variable.
7492 (tst-spawn-static-ARGS): Likewise.
7493 * posix/tst-exec-static.c: New file.
7494 * posix/tst-spawn-static.c: Likewise.
7495 * posix/tst-exec.c: Support run directly.
7496 * posix/tst-spawn.c: Likewise.
7498 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7500 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7502 * math/bits/mathcalls.h (llrint): Likewise.
7503 (llround): Likewise.
7504 * stdlib/stdlib.h (struct drand48_data): Likewise.
7505 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7506 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7507 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7509 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7511 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7512 (elf_greg_t): Likewise.
7513 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7514 (__jmp_buf): Likewise.
7515 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7517 (llrint): Likewise, for all definitions.
7518 (llrintl): Likewise.
7520 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7521 Remove [__GNUC__] condition.
7522 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7523 condition to just [__USE_ISOC99].
7524 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7526 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7529 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7530 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7532 (_POSIX_V6_ILP32_OFF32): Likewise.
7533 (_XBS5_ILP32_OFF32): Likewise.
7534 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7535 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7537 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7539 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7542 doubles __mpexp_twomm1. Adjust usage.
7543 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7546 2013-01-10 Andreas Schwab <schwab@suse.de>
7549 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7550 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7552 2013-01-09 David S. Miller <davem@davemloft.net>
7555 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7556 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7557 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7558 TCP_FASTOPEN): Define.
7559 (tcp_repair_opt): New structure.
7560 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7562 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7563 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7564 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7565 (tcp_cookie_transactions): New structure.
7567 2013-01-09 Anton Blanchard <anton@samba.org>
7569 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7570 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7571 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7572 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7574 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7576 * include/features.h (__USE_ANSI): Remove.
7578 2013-01-09 Roland McGrath <roland@hack.frob.com>
7580 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7582 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7584 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7586 * sysdeps/s390/fpu/libm-test-ulps: Update.
7588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7590 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7595 (__mp_dbl): Likewise.
7596 (__dbl_mp): Likewise.
7597 (add_magnitudes): Likewise.
7598 (sub_magnitudes): Likewise.
7604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7609 (__mp_dbl): Likewise.
7610 (__dbl_mp): Likewise.
7611 (add_magnitudes): Likewise.
7612 (sub_magnitudes): Likewise.
7618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7623 (__mp_dbl): Likewise.
7624 (__dbl_mp): Likewise.
7625 (add_magnitudes): Likewise.
7626 (sub_magnitudes): Likewise.
7633 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7635 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7636 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7637 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7638 2 && __USE_EXTERN_INLINES]: Likewise.
7640 2013-01-08 Andreas Jaeger <aj@suse.de>
7643 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7645 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7646 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7648 2013-01-07 Anton Blanchard <anton@samba.org>
7650 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7651 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7652 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7653 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7654 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7655 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7656 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7657 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7659 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7660 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7661 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7662 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7665 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7666 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7667 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7668 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7669 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7670 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7671 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7673 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7674 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7675 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7676 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7677 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7679 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7680 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7682 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7683 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7684 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7686 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7689 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7691 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7692 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7694 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7696 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7697 (__MALLOC_PMT): Likewise.
7698 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7699 [__GNUC__], only on [_LIBC].
7700 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7701 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7702 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7703 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7704 forward declaration.
7705 (realloc_hook_ini): Likewise.
7706 (memalign_hook_ini): Likewise.
7707 (__libc_memalign): Do not use __MALLOC_PMT in variable
7709 (__libc_valloc): Likewise.
7710 (__libc_pvalloc): Likewise.
7711 (__libc_calloc): Likewise.
7712 (__posix_memalign): Likewise.
7715 * math/s_casinh.c: Include <float.h>.
7716 (__casinh): Do not do computation with squaring and square root
7717 for large arguments.
7718 * math/s_casinhf.c: Include <float.h>.
7719 (__casinhf): Do not do computation with squaring and square root
7720 for large arguments.
7721 * math/s_casinhl.c: Include <float.h>.
7722 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7723 (__casinhl): Do not do computation with squaring and square root
7724 for large arguments.
7725 * math/libm-test.inc (casin_test): Add more tests.
7726 (casinh_test): Likewise.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7730 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7732 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7733 (__x86_64_raw_data_cache_size): Likewise.
7734 (__x86_64_data_cache_size_half): Likewise.
7735 (__x86_64_raw_data_cache_size_half): Likewise.
7736 (__x86_64_shared_cache_size): Likewise.
7737 (__x86_64_raw_shared_cache_size): Likewise.
7738 (__x86_64_shared_cache_size_half): Likewise.
7739 (__x86_64_raw_shared_cache_size_half): Likewise.
7740 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7742 (__x86_data_cache_size): This.
7743 (__x86_64_raw_data_cache_size): Renamed to ...
7744 (__x86_raw_data_cache_size): This.
7745 (__x86_64_data_cache_size_half): Renamed to ...
7746 (__x86_data_cache_size_half): This.
7747 (__x86_64_raw_data_cache_size_half): Renamed to ...
7748 (__x86_raw_data_cache_size_half): This.
7749 (__x86_64_shared_cache_size): Renamed to ...
7750 (__x86_shared_cache_size): This.
7751 (__x86_64_raw_shared_cache_size): Renamed to ...
7752 (__x86_raw_shared_cache_size): This.
7753 (__x86_64_shared_cache_size_half): Renamed to ...
7754 (__x86_shared_cache_size_half): This.
7755 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7756 (__x86_raw_shared_cache_size_half): This.
7757 * sysdeps/x86_64/memcpy.S: Updated.
7758 * sysdeps/x86_64/memset.S: Likewise.
7759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7763 2013-01-04 David S. Miller <davem@davemloft.net>
7765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7767 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7769 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7770 1 to avoid redefinition warning.
7771 (__USE_GNU): Don't define.
7772 (init_signaling_nan): Protoize.
7774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7776 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7778 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7780 (__cpymn): Likewise.
7781 (norm): Remove commented code.
7783 (__mp_dbl): Likewise.
7785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7786 (__cpymn): Likewise.
7787 (norm): Remove commented code.
7789 (__mp_dbl): Likewise.
7792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7793 mp_no value for 1.0 and 2.0.
7794 (norm): Use RADIXI instead of radixi.d.
7796 (__mul): Use 0.0 instead of zero.d.
7797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7798 mp_no value for 1.0 and 2.0.
7799 (norm): Use RADIXI instead of radixi.d.
7801 (__mul): Use 0.0 instead of zero.d.
7803 2013-01-04 Joseph Myers <joseph@codesourcery.com>
7806 * math/s_casinh.c (__casinh): Reduce finite argument to first
7807 quadrant then set signs of results at the end.
7808 * math/s_casinhf.c (__casinhf): Likewise.
7809 * math/s_casinhl.c (__casinhl): Likewise.
7810 * math/libm-test.inc (casin_test): Add more tests.
7811 (casinh_test): Likewise.
7812 * sysdeps/i386/fpu/libm-test-ulps: Update.
7813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7815 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7817 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7819 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7821 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7824 (__mp_dbl): Likewise.
7827 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7828 and adjust the header comment.
7830 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7831 variable name from declaration.
7833 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7836 Initialize COMMON_CPUID_INDEX_7 element.
7837 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7838 (CPUID_RTM): Likewise.
7839 (HAS_RTM): Likewise.
7840 (COMMON_CPUID_INDEX_7): New enum.
7842 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7845 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7846 size is zero, record memory as freed.
7848 2013-01-03 Andreas Jaeger <aj@suse.de>
7850 * po/ia.po: Add new Interlingua translation.
7852 2012-01-03 Allan McRae <allan@archlinux.org>
7854 * locale/programs/localedef.c: Fix description of '--posix' flag.
7856 2013-01-02 Joseph Myers <joseph@codesourcery.com>
7858 * NEWS: Update dates in second copyright notice.
7859 * README: Update copyright dates in example.
7860 * manual/libc.texinfo: Update copyright dates.
7861 * scripts/test-installation.pl: Update copyright date in --version
7864 * hurd/ctty-input.c: Fix copyright notice formatting.
7865 * hurd/ctty-output.c: Likewise.
7866 * hurd/dtable.c: Likewise.
7867 * hurd/hurd-raise.c: Likewise.
7868 * hurd/hurdprio.c: Likewise.
7869 * hurd/msgportdemux.c: Likewise.
7870 * misc/sys/file.h: Likewise.
7871 * misc/sys/ioctl.h: Likewise.
7872 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7873 * sysdeps/mach/hurd/chdir.c: Likewise.
7874 * sysdeps/mach/hurd/fchdir.c: Likewise.
7875 * sysdeps/mach/hurd/rename.c: Likewise.
7876 * sysdeps/mach/hurd/rmdir.c: Likewise.
7877 * sysdeps/mach/hurd/seekdir.c: Likewise.
7878 * sysdeps/mach/hurd/setsid.c: Likewise.
7879 * sysdeps/posix/wait3.c: Likewise.
7881 * All files with FSF copyright notices: Update copyright dates
7882 using scripts/update-copyrights.
7883 * intl/plural.c: Regenerated.
7884 * locale/programs/charmap-kw.h: Likewise.
7885 * locale/programs/locfile-kw.h: Likewise.
7887 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7889 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7892 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7893 calculation loop and add branch prediction.
7895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7896 check access beyond bounds of m1np.
7898 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7900 (__inv): Remove local variable MPTWO to use the global
7902 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7903 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7905 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7906 MP3HALFS static const.
7908 2013-01-01 David S. Miller <davem@davemloft.net>
7910 * po/ca.po: Update from translation team.
7912 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7914 * scripts/update-copyrights: New file.
7915 * Makeconfig: Reformat copyright notice.
7916 * ctype/ctype.h: Likewise.
7917 * debug/swprintf_chk.c: Likewise.
7918 * elf/dl-cache.c: Likewise.
7919 * elf/dl-debug.c: Likewise.
7920 * elf/dl-object.c: Likewise.
7921 * grp/initgroups.c: Likewise.
7922 * hurd/Makefile: Likewise.
7923 * hurd/hurd/signal.h: Likewise.
7924 * hurd/hurdfault.c: Likewise.
7925 * hurd/hurdioctl.c: Likewise.
7926 * hurd/hurdlookup.c: Likewise.
7927 * hurd/intr-msg.c: Likewise.
7928 * iconv/gconv_open.c: Likewise.
7929 * libio/swprintf.c: Likewise.
7930 * locale/lc-ctype.c: Likewise.
7931 * locale/nl_langinfo.c: Likewise.
7932 * mach/Machrules: Likewise.
7933 * mach/Makefile: Likewise.
7934 * malloc/obstack.h: Likewise.
7935 * manual/Makefile: Likewise.
7936 * manual/tsort.awk: Likewise.
7937 * misc/bits/stab.def: Likewise.
7938 * nis/nis_print_group_entry.c: Likewise.
7939 * nis/nis_table.c: Likewise.
7940 * nis/nss_compat/compat-pwd.c: Likewise.
7941 * nis/nss_compat/compat-spwd.c: Likewise.
7942 * po/Makefile: Likewise.
7943 * posix/fnmatch.c: Likewise.
7944 * posix/regex.h: Likewise.
7945 * resolv/Makefile: Likewise.
7946 * resolv/nss_dns/dns-network.c: Likewise.
7947 * resolv/res_hconf.c: Likewise.
7948 * scripts/gen-sorted.awk: Likewise.
7949 * soft-fp/soft-fp.h: Likewise.
7950 * stdio-common/printf.h: Likewise.
7951 * stdlib/monetary.h: Likewise.
7952 * stdlib/random.c: Likewise.
7953 * stdlib/random_r.c: Likewise.
7954 * sysdeps/generic/Makefile: Likewise.
7955 * sysdeps/gnu/Makefile: Likewise.
7956 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7979 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7982 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7983 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7984 * sysdeps/mach/hurd/errnos.awk: Likewise.
7985 * sysdeps/mach/hurd/fork.c: Likewise.
7986 * sysdeps/mach/hurd/getcwd.c: Likewise.
7987 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7988 * sysdeps/mach/hurd/mmap.c: Likewise.
7989 * sysdeps/mach/hurd/utimes.c: Likewise.
7990 * sysdeps/mach/hurd/xmknod.c: Likewise.
7991 * sysdeps/posix/profil.c: Likewise.
7992 * sysdeps/posix/readdir_r.c: Likewise.
7993 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7994 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7995 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7996 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7999 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8000 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8002 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8003 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8004 * sysdeps/pthread/lio_listio.c: Likewise.
8005 * sysdeps/sparc/dl-procinfo.h: Likewise.
8006 * sysdeps/unix/i386/sysdep.S: Likewise.
8007 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8008 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8009 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8010 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8012 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8013 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8014 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8015 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8016 * sysdeps/wordsize-32/divdi3.c: Likewise.
8017 * time/sys/time.h: Likewise.
8018 * wcsmbs/Makefile: Likewise.
8020 2013-01-01 David S. Miller <davem@davemloft.net>
8022 * po/fr.po: Update from translation team.
8024 * catgets/gencat.c: Update copyright year.
8025 * csu/version.c: Likewise.
8026 * debug/catchsegv.sh: Likewise.
8027 * debug/pcprofiledump.c: Likewise.
8028 * debug/xtrace.sh: Likewise.
8029 * elf/ldconfig.c: Likewise.
8030 * elf/ldd.bash.in: Likewise.
8031 * elf/pldd.c: Likewise.
8032 * elf/sotruss.ksh: Likewise.
8033 * elf/sprof.c: Likewise.
8034 * iconv/iconv_prog.c: Likewise.
8035 * iconv/iconvconfig.c: Likewise.
8036 * locale/programs/locale.c: Likewise.
8037 * locale/programs/localedef.c: Likewise.
8038 * login/programs/pt_chown.c: Likewise.
8039 * malloc/memusage.sh: Likewise.
8040 * malloc/memusagestat.c: Likewise.
8041 * malloc/mtrace.pl: Likewise.
8042 * nscd/nscd.c: Likewise.
8043 * nss/getent.c: Likewise.
8044 * nss/makedb.c: Likewise.
8045 * posix/getconf.c: Likewise.
8047 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8049 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8052 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8054 * math/bits/mathcalls.h (modf): Use __nonnull.
8056 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8058 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8059 (split): Use macro CN instead of the bare value.
8060 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8063 instead of the bare value.
8066 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8068 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8070 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8072 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8074 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8075 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8076 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8077 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8079 2012-12-28 Andreas Jaeger <aj@suse.de>
8081 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8082 values are from Linux 3.7.
8084 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8085 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8087 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8089 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8092 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8094 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8095 variables with preprocessor constants.
8096 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8097 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8100 2012-12-27 Bruno Haible <bruno@clisp.org>
8103 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8106 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8109 and use variable directly.
8110 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8112 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8114 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8117 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8119 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8120 include directive. Remove local variable MPONE.
8121 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8122 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8123 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8125 2012-12-25 David S. Miller <davem@davemloft.net>
8127 * version.h (RELEASE): Set to "development".
8128 (VERSION): Set to "2.17.90".
8129 * NEWS: Add 2.18 section.
8131 2012-12-21 David S. Miller <davem@davemloft.net>
8133 * po/hr.po: Update from translation team.
8135 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8137 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8139 2012-12-19 Steve Ellcey <sellcey@mips.com>
8141 * NEWS: Mention new memcpy for MIPS.
8143 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8145 * manual/contrib.texi (Contributors): Spelling correction.
8147 2012-12-15 David S. Miller <davem@davemloft.net>
8149 * po/ru.po: Update from translation team.
8151 2012-12-13 David S. Miller <davem@davemloft.net>
8153 * NEWS: Mention IFUNC testsuite enhancements.
8155 * po/pl.po: Update from translation team.
8156 * po/bg.po: Likewise.
8158 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8159 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8161 2012-12-11 David S. Miller <davem@davemloft.net>
8163 * po/sv.po: Update from translation team.
8165 * po/vi.po: Update from translation team.
8167 * po/cs.po: Update from translation team.
8169 * po/de.po: Update from translation team.
8170 * po/eo.po: Likewise.
8171 * po/nl.po: Likewise.
8173 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8176 * manual/argp.texi (Argp Helper Functions): Move node to follow
8180 * manual/conf.texi (Limits on File System Capacity): Mention if
8181 terminating null is included in the max size.
8183 2012-12-10 Andreas Jaeger <aj@suse.de>
8185 * po/cs.po: Update from translation team.
8187 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8189 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8190 void pointer and cast to uintptr_t.
8191 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8193 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8194 * sysdeps/s390/s390-64/memset.S: Likewise.
8196 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8199 * menual/message.texi (Message Translation): Fix typos.
8200 (Helper programs for gettext): Likewise.
8202 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8205 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8208 2012-12-07 David S. Miller <davem@davemloft.net>
8210 * po/libc.pot: Update.
8212 2012-12-07 Richard Henderson <rth@redhat.com>
8215 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8216 normal/normal case to before the switch.
8217 (_FP_DIV): Likewise.
8219 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8220 Mike Frysinger <vapier@gentoo.org>
8222 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8223 check for __NR_fadvise64_64.
8225 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8227 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8228 0, not just to plain "0" as a statement.
8229 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8232 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8234 * NEWS: Use sourceware.org in Bugzilla URL.
8236 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8239 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8241 * stdio-common/tst-put-error.c (do_test): Add newline to the
8242 padded test to ensure flush.
8244 2012-12-05 Jeff Law <law@redhat.com>
8246 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8248 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8250 * README: Don't refer to ports add-on as distributed separately.
8251 Mention AArch64 in list of systems supported in the ports add-on.
8253 * LICENSES: Add more non-FSF copyright and license notices.
8255 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8258 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8260 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8261 10000 as width of padded output.
8263 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8265 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8267 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8268 variable LX with __attribute__ ((unused)).
8269 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8271 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8274 with __attribute__ ((unused)).
8276 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8278 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8280 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8282 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8283 (CFLAGS-nldbl-acos.c): New variable.
8284 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8285 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8286 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8287 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8288 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8289 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8290 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8291 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8292 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8293 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8294 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8295 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8296 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8297 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8298 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8299 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8300 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8301 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8302 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8303 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8304 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8305 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8306 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8307 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8308 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8309 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8310 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8311 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8312 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8313 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8314 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8315 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8316 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8317 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8318 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8319 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8320 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8321 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8322 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8323 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8324 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8325 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8326 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8327 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8328 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8329 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8330 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8331 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8332 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8333 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8334 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8335 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8336 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8337 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8338 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8339 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8340 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8341 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8342 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8343 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8344 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8345 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8346 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8347 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8348 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8349 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8350 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8351 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8352 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8353 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8354 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8355 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8356 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8357 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8358 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8359 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8360 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8361 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8362 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8363 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8364 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8365 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8366 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8367 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8368 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8369 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8370 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8371 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8372 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8373 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8374 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8375 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8376 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8377 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8378 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8379 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8380 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8383 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8387 whole low double instead of just low 47 bits when splitting values
8390 2012-12-03 Allan McRae <allan@archlinux.org>
8392 * manual/stdio.texi (Predefined Printf Handlers): Remove
8393 @hsep and @vsep usage.
8395 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8397 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8398 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8400 2012-12-03 Jeff Law <law@redhat.com>
8402 * time/sys/time.h (settimeofday): Do not mark TV argument
8405 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8407 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8408 when currently writing and seek to current position when not.
8409 * libio/Makefile (tests): Remove bug-fclose1.
8410 * libio/bug-fclose1.c: Delete.
8412 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8414 * manual/arith.texi (feenableexcept): Fix typo.
8415 (fedisableexcept): Likewise.
8417 2012-11-30 Roland McGrath <roland@hack.frob.com>
8419 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8420 second, differently-typed declaration, rather than a cast.
8422 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8424 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8425 * include/rpc/svc.h: ... here.
8427 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8430 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8431 depending n and resplen2 to catch cases where answer
8434 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8436 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8437 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8439 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8443 2012-11-29 Roland McGrath <roland@hack.frob.com>
8445 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8447 2012-11-28 Jeff Law <law@redhat.com>
8450 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8451 dataset_temporary. Track alloca usage into alloca_used.
8452 If dataset is large allocate and release it via malloc/free.
8454 2012-06-04 Florian Weimer <fweimer@redhat.com>
8457 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8459 2012-11-28 David S. Miller <davem@davemloft.net>
8461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8463 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8466 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8467 of pi/2 rounded to nearest to 64 bits.
8468 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8470 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8473 2012-11-28 Jeff Law <law@redhat.com>
8474 Martin Osvald <mosvald@redhat.com>
8477 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8478 * sunrpc/svc.c: Include time.h.
8479 (__svc_accept_failed): New function.
8480 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8481 any reason other than EINTR, call __svc_accept_failed.
8482 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8483 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8485 2012-11-28 Andreas Schwab <schwab@suse.de>
8487 * scripts/abilist.awk: Also handle indirect functions in .opd
8490 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8493 * sysdeps/x86/fpu/powl_helper.c: New file.
8494 * sysdeps/x86/fpu/Makefile: Likewise.
8495 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8497 (__ieee754_powl): Use __powl_helper for finite arguments except
8498 integer exponents below 8.
8499 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8501 (__ieee754_powl): Use __powl_helper for finite arguments except
8502 integer exponents below 8.
8503 * math/libm-test.inc (pow_test): Add more tests and enable some
8504 previously disabled tests.
8505 * sysdeps/i386/fpu/libm-test-ulps: Update.
8506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8508 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8509 Carlos O'Donell <carlos_odonell@mentor.com>
8511 * nss/makedb.c (is_prime): Assert that input is odd and greater
8512 than 4. Note that fact in a comment too.
8513 (next_prime): Add 4 to input.
8515 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8518 * libio/Makefile (tests): Add test case tst-fwrite-error.
8519 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8520 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8521 * libio/tst-fwrite-error.c: New test case.
8523 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8525 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8526 before casting to void *.
8527 * include/libc-internal.h (__pointer_type): New macro.
8528 (__integer_if_pointer_type_sub): Likewise.
8529 (__integer_if_pointer_type): Likewise.
8530 (cast_to_integer): Likewise.
8531 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8532 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8533 before casting to atomic64_t.
8534 (atomic_exchange_acq): Likewise.
8535 (__arch_exchange_and_add_body): Likewise.
8536 (__arch_add_body): Likewise.
8537 (atomic_add_negative): Likewise.
8538 (atomic_add_zero): Likewise.
8540 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8542 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8543 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8544 (add_fdes): Likewise.
8545 (linear_search_fdes): Likewise.
8546 (binary_search_unencoded_fdes): Likewise.
8548 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8550 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8552 2012-11-24 Adam Conrad <adconrad@0c3.net>
8554 * configure.in: Autodetect C++ header directories.
8555 * configure: Regenerated.
8557 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8559 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8561 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8565 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8567 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8568 LDBL_MANT_DIG == 106]: Disable some tests.
8569 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8571 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8576 input for small inputs. Return +/- pi/2 for large inputs.
8577 * math/libm-test.inc (atan_test): Add more tests.
8579 * sysdeps/generic/unwind-dw2-fde-glibc.c
8580 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8581 __attribute__ ((unused)).
8584 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8585 x * y if x and y are nonzero and z is zero.
8588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8589 nonzero exponents with absolute value below 0x1p-117 to +/-
8593 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8594 up arguments below 2**-450, not just those below 2**-500.
8595 * math/libm-test.inc (hypot_test): Add another test.
8598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8599 Return a+b for ratio over 2**120, not 2**60.
8600 * math/libm-test.inc (hypot_test): Add another test.
8602 * math/libm-test.inc (clog_test): Use
8603 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8604 (clog10_test): Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8609 2012-11-22 Andreas Schwab <schwab@suse.de>
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8613 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8615 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8616 printf output with newline.
8618 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8621 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8622 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8623 -z nodlopen, -z initfirst and -z execstack support.
8624 * configure: Regenerated.
8626 * elf/elf.h (DF_1_NODIRECT): New macro.
8627 (DF_1_IGNMULDEF): Likewise.
8628 (DF_1_NOKSYMS): Likewise.
8629 (DF_1_NOHDR): Likewise.
8630 (DF_1_EDITED): Likewise.
8631 (DF_1_NORELOC): Likewise.
8632 (DF_1_SYMINTPOSE): Likewise.
8633 (DF_1_GLOBAUDIT): Likewise.
8634 (DF_1_SINGLETON): Likewise.
8635 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8636 DT_1_SUPPORTED_MASK bits.
8637 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8639 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8641 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8643 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8645 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8648 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8649 (sendmmsg): Move declarations...
8650 * socket/sys/socket.h: ... here.
8651 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8652 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8654 * socket/recvmmsg.c: ... this new file.
8655 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8656 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8657 definition of __sendmmsg hidden.
8658 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8659 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8660 Move ENOSYS stub into and include it from...
8661 * socket/sendmmsg.c: ... this new file.
8662 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8663 (sysdep_routines): Move recvmmsg and sendmmsg...
8664 * socket/Makefile (routines): ... here.
8665 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8666 (GLIBC_PRIVATE): Add __sendmmsg.
8667 * include/sys/socket.h (__sendmmsg): Add declarations.
8668 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8671 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8674 variable I1 with __attribute__ ((unused)).
8675 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8677 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8679 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8680 DUMMY variables with __attribute__ ((unused)).
8682 * bits/byteswap.h: Include <bits/types.h>.
8683 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8685 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8687 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8688 string_t. Do not manually set errno.
8689 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8690 length with __strnlen. Make sure to both set errno and return it on
8693 2012-11-19 David S. Miller <davem@davemloft.net>
8695 With help from Joseph Myers.
8696 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8697 very large arguments properly.
8698 * math/libm-test.inc (atan_test): New tests.
8699 (atan2_test): New tests.
8700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8703 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8706 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8709 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8710 [POSIX] (EADDRNOTAVAIL): Likewise.
8711 [POSIX] (EAFNOSUPPORT): Likewise.
8712 [POSIX] (EALREADY): Likewise.
8713 [POSIX] (ECONNABORTED): Likewise.
8714 [POSIX] (ECONNREFUSED): Likewise.
8715 [POSIX] (ECONNRESET): Likewise.
8716 [POSIX] (EDESTADDRREQ): Likewise.
8717 [POSIX] (EDQUOT): Likewise.
8718 [POSIX] (EHOSTUNREACH): Likewise.
8719 [POSIX] (EIDRM): Likewise.
8720 [POSIX] (EISCONN): Likewise.
8721 [POSIX] (ELOOP): Likewise.
8722 [POSIX] (EMULTIHOP): Likewise.
8723 [POSIX] (ENETDOWN): Likewise.
8724 [POSIX] (ENETUNREACH): Likewise.
8725 [POSIX] (ENOBUFS): Likewise.
8726 [POSIX] (ENODATA): Likewise.
8727 [POSIX] (ENOLINK): Likewise.
8728 [POSIX] (ENOMSG): Likewise.
8729 [POSIX] (ENOPROTOOPT): Likewise.
8730 [POSIX] (ENOSR): Likewise.
8731 [POSIX] (ENOSTR): Likewise.
8732 [POSIX] (ENOTCONN): Likewise.
8733 [POSIX] (ENOTSOCK): Likewise.
8734 [POSIX] (EOPNOTSUPP): Likewise.
8735 [POSIX] (EOVERFLOW): Likewise.
8736 [POSIX] (EPROTO): Likewise.
8737 [POSIX] (EPROTONOSUPPORT): Likewise.
8738 [POSIX] (EPROTOTYPE): Likewise.
8739 [POSIX] (ESTALE): Likewise.
8740 [POSIX] (ETIME): Likewise.
8741 [POSIX] (ETXTBSY): Likewise.
8742 [POSIX] (EWOULDBLOCK): Likewise.
8743 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8744 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8745 [POSIX] (SEEK_CUR): Likewise.
8746 [POSIX] (SEEK_END): Likewise.
8747 [POSIX || UNIX98] (mode_t): Do not require.
8748 [POSIX] (off_t): Likewise.
8749 [POSIX] (pid_t): Likewise.
8750 [POSIX] (sys/stat.h): Do not allow header.
8751 [POSIX] (unistd.h): Likewise.
8752 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8753 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8754 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8755 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8757 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8758 sigevent): Specify elements.
8759 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8761 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8762 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8764 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8765 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8766 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8767 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8768 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8769 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8770 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8771 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8772 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8773 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8774 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8775 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8776 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8777 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8779 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8781 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8783 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8785 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8786 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8787 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8788 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8789 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8790 Specify lower bound on value.
8791 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8792 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8793 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8794 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8795 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8796 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8797 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8798 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8800 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8802 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8803 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8804 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8805 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8806 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8807 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8808 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8809 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8810 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8811 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8812 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8813 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8814 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8815 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8816 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8817 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8819 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8821 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8822 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8823 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8824 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8825 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8826 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8828 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8829 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8830 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8831 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8832 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8833 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8834 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8836 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8837 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8838 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8839 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8840 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8841 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8842 specify as optional.
8843 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8844 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8845 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8846 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8847 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8848 [XPG3] (NL_LANGMAX): Likewise.
8849 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8850 [POSIX || XPG3] (NL_NMAX): Likewise.
8851 [POSIX || XPG3] (NL_SETMAX): Likewise.
8852 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8853 [XPG3] (NZERO): Likewise.
8854 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8855 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8856 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8857 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8858 (REG_ERANGE): Expect.
8859 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8861 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8862 Use (void) in prototype.
8863 [POSIX] (*_t): Allow.
8864 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8865 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8866 (WRDE_BADVAL): Expect.
8868 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8870 [XPG3 || XPG4] (O_RSYNC): Likewise.
8871 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8873 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8874 [XPG3 || XPG4] (sigqueue): Likewise.
8875 [XPG3 || XPG4] (sigtimedwait): Likewise.
8876 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8877 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8878 [XPG3 || XPG4] (vsnprintf): Likewise.
8879 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8881 [XPG3 || XPG4] (blksize_t): Likewise.
8882 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8884 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8885 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8886 [XPG3 || XPG4] (struct itimerspec): Likewise.
8887 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8888 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8889 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8890 [XPG3 || XPG4] (clockid_t): Likewise.
8891 [XPG3 || XPG4] (timer_t): Likewise.
8892 [XPG3 || XPG4] (clock_getres): Likewise.
8893 [XPG3 || XPG4] (clock_gettime): Likewise.
8894 [XPG3 || XPG4] (clock_settime): Likewise.
8895 [XPG3 || XPG4] (nanosleep): Likewise.
8896 [XPG3 || XPG4] (timer_create): Likewise.
8897 [XPG3 || XPG4] (timer_delete): Likewise.
8898 [XPG3 || XPG4] (timer_gettime): Likewise.
8899 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8900 [XPG3 || XPG4] (timer_settime): Likewise.
8901 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8902 [XPG3 || XPG4] (getlogin_r): Likewise.
8903 [XPG3 || XPG4] (pread): Likewise.
8904 [XPG3 || XPG4] (pthread_atfork): Likewise.
8905 [XPG3 || XPG4] (pwrite): Likewise.
8908 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8911 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8913 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8914 finalizing MALLSTREAM.
8916 * sysdeps/mach/hurd/syncfs.c: New file.
8918 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8921 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8922 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8923 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8924 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8925 (_nss_dns_gethostbyname4_r): Likewise.
8926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8927 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8929 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8932 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8934 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8936 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8937 * elf/cache.c (print_entry): Print ",AArch64" for
8940 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8941 * elf/cache.c (print_entry): Print ",hard-float" for
8944 2012-11-18 David S. Miller <davem@davemloft.net>
8946 With help from Joseph Myers.
8947 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8949 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8951 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8952 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8954 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8955 * math/libm-test.inc (y0_test): New tests.
8956 (y1_test): New tests.
8957 * sysdeps/i386/fpu/libm-test-ulps: Update.
8958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8961 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8963 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8965 * configure: Regenerated.
8967 2012-11-17 David S. Miller <davem@davemloft.net>
8970 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8971 nonzero exponents with absolute value below 0x1p-128 to +/-
8974 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8976 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8978 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8980 * posix/getconf-speclist.c: New file.
8981 * posix/posix-envs.def: Likewise.
8982 * posix/confstr.c (START_ENV_GROUP): New macro.
8983 (END_ENV_GROUP): Likewise.
8984 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8985 (KNOWN_PRESENT_ENV_STRING): Likewise.
8986 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8987 (UNKNOWN_ENVIRONMENT): Likewise.
8988 (confstr): Include posix-envs.def instead of handling
8989 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8990 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8991 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8992 (END_ENV_GROUP): Likewise.
8993 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8994 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8995 (UNKNOWN_ENVIRONMENT): Likewise.
8996 (__sysconf): Include posix-envs.def instead of handling associated
8997 cases directly here.
8998 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8999 preprocessing getconf-speclist.c rather than running getconf or
9000 generating empty file.
9002 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9004 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9006 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9009 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9011 2012-11-16 David S. Miller <davem@davemloft.net>
9013 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9014 smaller than LDBL_EPSILON/2.0L, just return xm1.
9016 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9018 * elf/tst-array1.c (init): Set constructor priority to 1000.
9019 (fini): Set destructor priority to 1000.
9020 * elf/tst-array2dep.c: Likewise.
9022 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9025 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9026 (_IO_new_file_xsputn): Also return EOF if none of the input
9027 data was written when overflow failed.
9028 * libio/iopadn.c (_IO_padn): Likewise.
9029 * libio/iowpadn.c (_IO_wpadn): Likewise.
9030 * stdio-common/tst-put-error.c: Add copyright notice.
9031 (do_test): Add case for printing padded string.
9032 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9033 _IO_padn returned error.
9034 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9035 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9038 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9040 * libio/libioP.h: Add comment note that the references to C++
9041 bits are now obsolete.
9043 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9045 * math/libm-test.inc (check_complex): Use asprintf.
9047 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9049 * debug/pcprofiledump.c (print_version): Update copyright year.
9050 * malloc/memusagestat.c (print_version): Likewise.
9052 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9055 * elf/Makefile (tests): Add tst-audit8.
9056 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9057 ($(objpfx)tst-audit8.out): New target.
9058 (tst-audit8-ENV): New variable.
9059 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9060 audit if l_reloc_result is NULL.
9061 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9062 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9063 * elf/tst-audit8.c: New file.
9065 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9067 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9068 * misc/Makefile (CFLAGS-select.c): Define.
9069 * posix/Makefile (CFLAGS-pause.c): Define.
9071 2012-11-13 David S. Miller <davem@davemloft.net>
9073 * crypt/Makefile: Move test targets after toplevel Rules
9074 inclusion. Grab any necessary sysdep routines when linking.
9075 * crypt/md5.c (md5_process_block): Remove define, we will always
9076 name it __md5_process_block.
9077 (md5_finish_ctx): Update md5_process_block call.
9078 (md5_stream): Likewise.
9079 (md5_process_bytes): Likewise.
9080 (md5_process_block): Rename to __md5_process_block and move to ...
9081 * crypt/md5-block.c: ... here.
9082 * crypt/sha256.c (sha256_process_block): Move to ...
9083 * crypt/sha256-block.c: ... here.
9084 * crypt/sha512.c (sha512_process_block): Move to ...
9085 * crypt/sha512-block.c: ... here.
9086 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9088 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9089 * sysdeps/sparc/sparc64/multiarch/Makefile
9090 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9092 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9093 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9095 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9096 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9097 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9098 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9099 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9100 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9101 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9102 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9103 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9106 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9110 2012-11-13 Joseph Myers <joseph@codesourcery.com>
9112 * timezone/tzselect.ksh: Update from tzcode git revision
9113 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9114 * timezone/zdump.c: Likewise.
9115 * timezone/zic.c: Likewise.
9116 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9117 in TZVERSION setting, not $(PKGVERSION).
9118 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9119 REPORT_BUGS_TO settings.
9122 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9125 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9127 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9128 detection to immediately after _FP_ROUND().
9129 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9132 2012-11-11 David S. Miller <davem@davemloft.net>
9134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9136 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9137 __close rather than their public counterparts.
9139 2012-11-10 Joseph Myers <joseph@codesourcery.com>
9141 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9143 [UNIX98] (sem_timedwait): Do not expect.
9144 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9145 [XPG4 || UNIX98] (sockatmark): Do not expect.
9146 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9147 (clock_getcpuclockid): Do not expect.
9148 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9149 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9151 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9152 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9153 [UNIX98] (vwscanf): Likewise.
9154 [UNIX98] (vswscanf): Likewise.
9156 2012-11-09 Joseph Myers <joseph@codesourcery.com>
9158 * timezone/version.h: Remove file.
9159 * timezone/README: Do not refer to version.h.
9160 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9162 ($(objpfx)zdump.o): Likewise.
9163 ($(objpfx)version.h): New target.
9165 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9167 * timezone/README: Don't mention modification to tzselect.ksh.
9168 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9169 work on unmodified tzselect.ksh. Substitute version numbers in
9172 * Makefile (format-me): Remove.
9173 (INSTALL): Adjust indentation. Use commands directly instead of
9176 * aclocal.m4 (ACX_PKGVERSION): New macro.
9177 (ACX_BUGURL): Likewise.
9178 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9179 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9180 (REPORT_BUGS_TO): Likewise.
9181 * configure: Regenerated.
9182 * config.h.in (PKGVERSION): New macro.
9183 (REPORT_BUGS_TO): Likewise.
9184 * config.make.in (PKGVERSION): New variable.
9185 (PKGVERSION_TEXI): Likewise.
9186 (REPORT_BUGS_TO): Likewise.
9187 (REPORT_BUGS_TEXI): Likewise.
9188 * Makefile (format-me): Use -I$(common-objpfx)manual.
9189 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9190 ($(common-objpfx)manual/%): New target.
9191 (manual/%): Remove target.
9192 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9193 (print_version): Use PKGVERSION.
9194 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9195 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9197 ($(objpfx)xtrace): Likewise.
9198 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9199 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9200 (print_version): Use PKGVERSION.
9201 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9202 (do_version): Use PKGVERSION.
9203 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9205 (common-ldd-rewrite): Likewise.
9206 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9207 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9208 (print_version): Use PKGVERSION.
9209 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9210 * elf/pldd.c (argp_program_bug_address): Remove variable.
9211 (more_help): New function.
9212 (argp): Use more_help.
9213 (print_version): Use PKGVERSION.
9214 * elf/sln.c (main): Use PKGVERSION.
9215 (usage): Use REPORT_BUGS_TO.
9216 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9217 (top level): Use PKGVERSION.
9218 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9219 (print_version): Use PKGVERSION.
9220 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9221 (print_version): Use PKGVERSION.
9222 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9223 (print_version): Use PKGVERSION.
9224 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9225 (print_version): Use PKGVERSION.
9226 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9227 (print_version): Use PKGVERSION.
9228 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9229 (print_version): Use PKGVERSION.
9230 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9232 ($(objpfx)memusage): Likewise.
9233 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9234 (do_version): Use PKGVERSION.
9235 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9236 (print_version): Use PKGVERSION.
9237 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9238 ($PKGVERSION): New variable.
9239 ($REPORT_BUGS_TO): Likewise.
9240 (usage): Use $REPORT_BUGS_TO.
9241 (top level): Use $PKGVERSION.
9242 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9243 ($(objpfx)pkgvers.texi): New rule.
9244 ($(objpfx)stamp-pkgvers): Likewise.
9245 * manual/install.texi: Include pkgvers.texi.
9246 (--with-pkgversion): Document new configure option.
9247 (--with-bugurl): Likewise.
9248 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9249 than necessarily for this particular distribution. Use
9250 REPORT_BUGS_TO for where to report bugs.
9251 * INSTALL: Regenerated.
9252 * manual/libc.texinfo: Include pkgvers.texi.
9253 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9254 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9255 (print_version): Use PKGVERSION.
9256 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9257 (print_version): Use PKGVERSION.
9258 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9259 (print_version): Use PKGVERSION.
9260 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9261 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9263 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9264 (print_version): Use PKGVERSION.
9265 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9266 (print_version): Use PKGVERSION.
9267 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9270 * timezone/checktab.awk: Update from tzcode 2012i.
9271 * timezone/ialloc.c: Likewise.
9272 * timezone/private.h: Likewise.
9273 * timezone/scheck.c: Likewise.
9274 * timezone/tzfile.h: Likewise.
9275 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9276 (TZVERSION): Hardcode tzcode version number.
9277 * timezone/zdump.c: Update from tzcode 2012i.
9278 * timezone/zic.c: Likewise.
9279 * timezone/version.h: New file.
9280 * timezone/README: Describe version.h. Update upstream location.
9283 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9284 (mktemp): Enable declaration.
9285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9302 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9303 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9304 for copies of such integer values.
9305 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9306 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9308 2012-11-09 Andreas Jaeger <aj@suse.de>
9310 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9311 definitions and declarations that are provided by
9312 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9314 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9316 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9317 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9318 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9321 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9323 * elf/elf.h: Update comment before AArch64 relocations.
9325 2012-11-07 David S. Miller <davem@davemloft.net>
9327 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9328 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9329 (__start_context): Declare.
9330 (__makecontext_ret): Delete.
9331 (__makecontext): Hook up __start_context instead of
9333 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9334 (sysdep_routines): Add __start_context when in stdlib.
9336 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9338 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9339 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9340 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9342 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9343 (READELF): New variable. Use it instead of hardcoded "readelf".
9345 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9347 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9348 * sysdeps/x86/Makefile: Here.
9349 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9350 * sysdeps/x86/tst-xmmymm.sh: This.
9352 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9354 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9356 [UNIX98] (pthread_barrier_t): Do not expect.
9357 [UNIX98] (pthread_barrierattr_t): Likewise.
9358 [UNIX98] (pthread_spinlock_t): Likewise.
9359 [UNIX98] (pthread_barrier_destroy): Likewise.
9360 [UNIX98] (pthread_barrier_init): Likewise.
9361 [UNIX98] (pthread_barrier_wait): Likewise.
9362 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9363 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9364 [UNIX98] (pthread_barrierattr_init): Likewise.
9365 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9366 [UNIX98] (pthread_getcpuclockid): Likewise.
9367 [UNIX98] (pthread_mutex_timedlock): Likewise.
9368 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9369 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9370 [UNIX98] (pthread_sigmask): Likewise.
9371 [UNIX98] (pthread_spin_destroy): Likewise.
9372 [UNIX98] (pthread_spin_init): Likewise.
9373 [UNIX98] (pthread_spin_lock): Likewise.
9374 [UNIX98] (pthread_spin_trylock): Likewise.
9375 [UNIX98] (pthread_spin_unlock): Likewise.
9376 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9378 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9379 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9380 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9381 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9382 [XPG3 || XPG4] (pthread_key_t): Likewise.
9383 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9384 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9385 [XPG3 || XPG4] (pthread_once_t): Likewise.
9386 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9387 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9388 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9389 [XPG3 || XPG4] (pthread_t): Likewise.
9391 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9393 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9395 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9396 Change function return type to int.
9398 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9399 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9400 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9401 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9402 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9403 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9404 [!POSIX] (posix_madvise): Likewise.
9405 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9407 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9408 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9410 (posix_mem_offset): Likewise.
9411 (posix_typed_mem_get_info): Likewise.
9412 (posix_typed_mem_open): Likewise.
9414 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9415 Change condition to [XOPEN2K8].
9417 * conform/conformtest.pl: Preprocess allow-header data with -x c
9418 instead of from stdin.
9419 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9420 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9421 [C99-based standards] (cerfc): Likewise.
9422 [C99-based standards] (cexp2): Likewise.
9423 [C99-based standards] (cexpm1): Likewise.
9424 [C99-based standards] (clog10): Likewise.
9425 [C99-based standards] (clog1p): Likewise.
9426 [C99-based standards] (clog2): Likewise.
9427 [C99-based standards] (clgamma): Likewise.
9428 [C99-based standards] (ctgamma): Likewise.
9429 [C99-based standards] (cerff): Likewise.
9430 [C99-based standards] (cerfcf): Likewise.
9431 [C99-based standards] (cexp2f): Likewise.
9432 [C99-based standards] (cexpm1f): Likewise.
9433 [C99-based standards] (clog10f): Likewise.
9434 [C99-based standards] (clog1pf): Likewise.
9435 [C99-based standards] (clog2f): Likewise.
9436 [C99-based standards] (clgammaf): Likewise.
9437 [C99-based standards] (ctgammaf): Likewise.
9438 [C99-based standards] (cerfl): Likewise.
9439 [C99-based standards] (cerfcl): Likewise.
9440 [C99-based standards] (cexp2l): Likewise.
9441 [C99-based standards] (cexpm1l): Likewise.
9442 [C99-based standards] (clog10l): Likewise.
9443 [C99-based standards] (clog1pl): Likewise.
9444 [C99-based standards] (clog2l): Likewise.
9445 [C99-based standards] (clgammal): Likewise.
9446 [C99-based standards] (ctgammal): Likewise.
9447 * conform/data/inttypes.h-data [C99-based standards]: Include
9448 stdint.h-data. Remove all expectations for stdint.h contents.
9449 [C99-based standards] (PRI*): Do not allow.
9450 [C99-based standards] (SCN*): Likewise.
9451 [C99-based standards] (*_t): Likewise.
9452 [C99-based-standards] (PRId8): Expect macro.
9453 [C99-based-standards] (PRIi8): Likewise.
9454 [C99-based-standards] (PRIo8): Likewise.
9455 [C99-based-standards] (PRIu8): Likewise.
9456 [C99-based-standards] (PRIx8): Likewise.
9457 [C99-based-standards] (PRIX8): Likewise.
9458 [C99-based-standards] (SCNd8): Likewise.
9459 [C99-based-standards] (SCNi8): Likewise.
9460 [C99-based-standards] (SCNo8): Likewise.
9461 [C99-based-standards] (SCNu8): Likewise.
9462 [C99-based-standards] (SCNx8): Likewise.
9463 [C99-based-standards] (PRIdLEAST8): Likewise.
9464 [C99-based-standards] (PRIiLEAST8): Likewise.
9465 [C99-based-standards] (PRIoLEAST8): Likewise.
9466 [C99-based-standards] (PRIuLEAST8): Likewise.
9467 [C99-based-standards] (PRIxLEAST8): Likewise.
9468 [C99-based-standards] (PRIXLEAST8): Likewise.
9469 [C99-based-standards] (SCNdLEAST8): Likewise.
9470 [C99-based-standards] (SCNiLEAST8): Likewise.
9471 [C99-based-standards] (SCNoLEAST8): Likewise.
9472 [C99-based-standards] (SCNuLEAST8): Likewise.
9473 [C99-based-standards] (SCNxLEAST8): Likewise.
9474 [C99-based-standards] (PRIdFAST8): Likewise.
9475 [C99-based-standards] (PRIiFAST8): Likewise.
9476 [C99-based-standards] (PRIoFAST8): Likewise.
9477 [C99-based-standards] (PRIuFAST8): Likewise.
9478 [C99-based-standards] (PRIxFAST8): Likewise.
9479 [C99-based-standards] (PRIXFAST8): Likewise.
9480 [C99-based-standards] (SCNdFAST8): Likewise.
9481 [C99-based-standards] (SCNiFAST8): Likewise.
9482 [C99-based-standards] (SCNoFAST8): Likewise.
9483 [C99-based-standards] (SCNuFAST8): Likewise.
9484 [C99-based-standards] (SCNxFAST8): Likewise.
9485 [C99-based-standards] (PRId16): Likewise.
9486 [C99-based-standards] (PRIi16): Likewise.
9487 [C99-based-standards] (PRIo16): Likewise.
9488 [C99-based-standards] (PRIu16): Likewise.
9489 [C99-based-standards] (PRIx16): Likewise.
9490 [C99-based-standards] (PRIX16): Likewise.
9491 [C99-based-standards] (SCNd16): Likewise.
9492 [C99-based-standards] (SCNi16): Likewise.
9493 [C99-based-standards] (SCNo16): Likewise.
9494 [C99-based-standards] (SCNu16): Likewise.
9495 [C99-based-standards] (SCNx16): Likewise.
9496 [C99-based-standards] (PRIdLEAST16): Likewise.
9497 [C99-based-standards] (PRIiLEAST16): Likewise.
9498 [C99-based-standards] (PRIoLEAST16): Likewise.
9499 [C99-based-standards] (PRIuLEAST16): Likewise.
9500 [C99-based-standards] (PRIxLEAST16): Likewise.
9501 [C99-based-standards] (PRIXLEAST16): Likewise.
9502 [C99-based-standards] (SCNdLEAST16): Likewise.
9503 [C99-based-standards] (SCNiLEAST16): Likewise.
9504 [C99-based-standards] (SCNoLEAST16): Likewise.
9505 [C99-based-standards] (SCNuLEAST16): Likewise.
9506 [C99-based-standards] (SCNxLEAST16): Likewise.
9507 [C99-based-standards] (PRIdFAST16): Likewise.
9508 [C99-based-standards] (PRIiFAST16): Likewise.
9509 [C99-based-standards] (PRIoFAST16): Likewise.
9510 [C99-based-standards] (PRIuFAST16): Likewise.
9511 [C99-based-standards] (PRIxFAST16): Likewise.
9512 [C99-based-standards] (PRIXFAST16): Likewise.
9513 [C99-based-standards] (SCNdFAST16): Likewise.
9514 [C99-based-standards] (SCNiFAST16): Likewise.
9515 [C99-based-standards] (SCNoFAST16): Likewise.
9516 [C99-based-standards] (SCNuFAST16): Likewise.
9517 [C99-based-standards] (SCNxFAST16): Likewise.
9518 [C99-based-standards] (PRId32): Likewise.
9519 [C99-based-standards] (PRIi32): Likewise.
9520 [C99-based-standards] (PRIo32): Likewise.
9521 [C99-based-standards] (PRIu32): Likewise.
9522 [C99-based-standards] (PRIx32): Likewise.
9523 [C99-based-standards] (PRIX32): Likewise.
9524 [C99-based-standards] (SCNd32): Likewise.
9525 [C99-based-standards] (SCNi32): Likewise.
9526 [C99-based-standards] (SCNo32): Likewise.
9527 [C99-based-standards] (SCNu32): Likewise.
9528 [C99-based-standards] (SCNx32): Likewise.
9529 [C99-based-standards] (PRIdLEAST32): Likewise.
9530 [C99-based-standards] (PRIiLEAST32): Likewise.
9531 [C99-based-standards] (PRIoLEAST32): Likewise.
9532 [C99-based-standards] (PRIuLEAST32): Likewise.
9533 [C99-based-standards] (PRIxLEAST32): Likewise.
9534 [C99-based-standards] (PRIXLEAST32): Likewise.
9535 [C99-based-standards] (SCNdLEAST32): Likewise.
9536 [C99-based-standards] (SCNiLEAST32): Likewise.
9537 [C99-based-standards] (SCNoLEAST32): Likewise.
9538 [C99-based-standards] (SCNuLEAST32): Likewise.
9539 [C99-based-standards] (SCNxLEAST32): Likewise.
9540 [C99-based-standards] (PRIdFAST32): Likewise.
9541 [C99-based-standards] (PRIiFAST32): Likewise.
9542 [C99-based-standards] (PRIoFAST32): Likewise.
9543 [C99-based-standards] (PRIuFAST32): Likewise.
9544 [C99-based-standards] (PRIxFAST32): Likewise.
9545 [C99-based-standards] (PRIXFAST32): Likewise.
9546 [C99-based-standards] (SCNdFAST32): Likewise.
9547 [C99-based-standards] (SCNiFAST32): Likewise.
9548 [C99-based-standards] (SCNoFAST32): Likewise.
9549 [C99-based-standards] (SCNuFAST32): Likewise.
9550 [C99-based-standards] (SCNxFAST32): Likewise.
9551 [C99-based-standards] (PRId64): Likewise.
9552 [C99-based-standards] (PRIi64): Likewise.
9553 [C99-based-standards] (PRIo64): Likewise.
9554 [C99-based-standards] (PRIu64): Likewise.
9555 [C99-based-standards] (PRIx64): Likewise.
9556 [C99-based-standards] (PRIX64): Likewise.
9557 [C99-based-standards] (SCNd64): Likewise.
9558 [C99-based-standards] (SCNi64): Likewise.
9559 [C99-based-standards] (SCNo64): Likewise.
9560 [C99-based-standards] (SCNu64): Likewise.
9561 [C99-based-standards] (SCNx64): Likewise.
9562 [C99-based-standards] (PRIdLEAST64): Likewise.
9563 [C99-based-standards] (PRIiLEAST64): Likewise.
9564 [C99-based-standards] (PRIoLEAST64): Likewise.
9565 [C99-based-standards] (PRIuLEAST64): Likewise.
9566 [C99-based-standards] (PRIxLEAST64): Likewise.
9567 [C99-based-standards] (PRIXLEAST64): Likewise.
9568 [C99-based-standards] (SCNdLEAST64): Likewise.
9569 [C99-based-standards] (SCNiLEAST64): Likewise.
9570 [C99-based-standards] (SCNoLEAST64): Likewise.
9571 [C99-based-standards] (SCNuLEAST64): Likewise.
9572 [C99-based-standards] (SCNxLEAST64): Likewise.
9573 [C99-based-standards] (PRIdFAST64): Likewise.
9574 [C99-based-standards] (PRIiFAST64): Likewise.
9575 [C99-based-standards] (PRIoFAST64): Likewise.
9576 [C99-based-standards] (PRIuFAST64): Likewise.
9577 [C99-based-standards] (PRIxFAST64): Likewise.
9578 [C99-based-standards] (PRIXFAST64): Likewise.
9579 [C99-based-standards] (SCNdFAST64): Likewise.
9580 [C99-based-standards] (SCNiFAST64): Likewise.
9581 [C99-based-standards] (SCNoFAST64): Likewise.
9582 [C99-based-standards] (SCNuFAST64): Likewise.
9583 [C99-based-standards] (SCNxFAST64): Likewise.
9584 [C99-based-standards] (PRIdMAX): Likewise.
9585 [C99-based-standards] (PRIiMAX): Likewise.
9586 [C99-based-standards] (PRIoMAX): Likewise.
9587 [C99-based-standards] (PRIuMAX): Likewise.
9588 [C99-based-standards] (PRIxMAX): Likewise.
9589 [C99-based-standards] (PRIXMAX): Likewise.
9590 [C99-based-standards] (SCNdMAX): Likewise.
9591 [C99-based-standards] (SCNiMAX): Likewise.
9592 [C99-based-standards] (SCNoMAX): Likewise.
9593 [C99-based-standards] (SCNuMAX): Likewise.
9594 [C99-based-standards] (SCNxMAX): Likewise.
9595 [C99-based-standards] (PRIdPTR): Likewise.
9596 [C99-based-standards] (PRIiPTR): Likewise.
9597 [C99-based-standards] (PRIoPTR): Likewise.
9598 [C99-based-standards] (PRIuPTR): Likewise.
9599 [C99-based-standards] (PRIxPTR): Likewise.
9600 [C99-based-standards] (PRIXPTR): Likewise.
9601 [C99-based-standards] (SCNdPTR): Likewise.
9602 [C99-based-standards] (SCNiPTR): Likewise.
9603 [C99-based-standards] (SCNoPTR): Likewise.
9604 [C99-based-standards] (SCNuPTR): Likewise.
9605 [C99-based-standards] (SCNxPTR): Likewise.
9606 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9608 * conform/data/stdint.h-data: Update comments to clarify
9610 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9612 [C99-based standards] (INT8_MAX): Likewise.
9613 [C99-based standards] (INT16_MIN): Likewise.
9614 [C99-based standards] (INT16_MAX): Likewise.
9615 [C99-based standards] (INT32_MIN): Likewise.
9616 [C99-based standards] (INT32_MAX): Likewise.
9617 [C99-based standards] (INT64_MIN): Likewise.
9618 [C99-based standards] (INT64_MAX): Likewise.
9619 [C99-based standards] (UINT8_MAX): Likewise.
9620 [C99-based standards] (UINT16_MAX): Likewise.
9621 [C99-based standards] (UINT32_MAX): Likewise.
9622 [C99-based standards] (UINT64_MAX): Likewise.
9623 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9624 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9625 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9626 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9627 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9628 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9629 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9630 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9631 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9632 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9633 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9634 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9635 [C99-based standards] (INT_FAST8_MIN): Likewise.
9636 [C99-based standards] (INT_FAST8_MAX): Likewise.
9637 [C99-based standards] (INT_FAST16_MIN): Likewise.
9638 [C99-based standards] (INT_FAST16_MAX): Likewise.
9639 [C99-based standards] (INT_FAST32_MIN): Likewise.
9640 [C99-based standards] (INT_FAST32_MAX): Likewise.
9641 [C99-based standards] (INT_FAST64_MIN): Likewise.
9642 [C99-based standards] (INT_FAST64_MAX): Likewise.
9643 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9644 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9645 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9646 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9647 [C99-based standards] (INTPTR_MIN): Likewise.
9648 [C99-based standards] (INTPTR_MAX): Likewise.
9649 [C99-based standards] (UINTPTR_MAX): Likewise.
9650 [C99-based standards] (INTMAX_MIN): Likewise.
9651 [C99-based standards] (INTMAX_MAX): Likewise.
9652 [C99-based standards] (UINTMAX_MAX): Likewise.
9653 [C99-based standards] (PTRDIFF_MIN): Likewise.
9654 [C99-based standards] (PTRDIFF_MAX): Likewise.
9655 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9656 [C99-based standards] (SIZE_MAX): Likewise.
9657 [C99-based standards] (WCHAR_MAX): Likewise.
9658 [C99-based standards] (WINT_MAX): Likewise.
9659 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9660 constraint on value.
9661 [C99-based standards] (WCHAR_MIN): Likewise.
9662 [C99-based standards] (WINT_MIN): Likewise.
9663 [C99-based standards] (*_t): Allow.
9664 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9665 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9666 Include math.h-data and complex.h-data. Remove all expectations
9667 of math.h and complex.h contents.
9668 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9670 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9671 (struct tm): Expect tag.
9672 [C99-based-standards] (wcstof): Expect function.
9673 [C99-based-standards] (wcstold): Likewise.
9674 [C99-based-standards] (wcstoll): Likewise.
9675 [C99-based-standards] (wcstoull): Likewise.
9676 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9677 macro-int-constant. Specify type.
9678 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9679 constraint on value.
9680 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9682 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9684 [ISO C standards]: Do not allow headers.
9685 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9686 wcs[abcdefghijklmnopqrstuvwxyz]*.
9687 [ISO C standards] (*_t): Do not allow.
9688 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9690 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9691 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9693 [ISO C standards]: Do not allow headers.
9694 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9695 is[abcdefghijklmnopqrstuvwxyz]*.
9696 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9697 to[abcdefghijklmnopqrstuvwxyz]*.
9698 [ISO C standards] (*_t): Do not allow.
9699 * conform/data/stdalign.h-data: New file.
9700 * conform/data/stdbool.h-data: Likewise.
9701 * conform/data/stdnoreturn.h-data: Likewise.
9703 2012-11-07 Roland McGrath <roland@hack.frob.com>
9706 * manual/filesys.texi (Directory Entries): Typo fix.
9707 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9709 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9711 * elf/elf.h (EM_AARCH64): New macro.
9712 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9713 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9714 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9715 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9716 (R_AARCH64_TLSDESC): Likewise.
9717 (NT_ARM_TLS): Likewise.
9718 (NT_ARM_HW_BREAK): Likewise.
9719 (NT_ARM_HW_WATCH): Likewise.
9721 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9724 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9725 (__ieee754_powl): Saturate nonzero exponents with absolute value
9726 below 0x1p-79 to +/- 0x1p-79.
9727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9728 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9729 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9730 nonzero exponents with absolute value below 0x1p-32 to +/-
9732 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9733 (__ieee754_powl): Saturate nonzero exponents with absolute value
9734 below 0x1p-79 to +/- 0x1p-79.
9735 * math/libm-test.inc (pow_test): Add more tests.
9737 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9739 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9740 _dl_s390_cap_flags with kernel. Increase string length.
9741 (_dl_s390_platforms): Add z196 and zEC12.
9743 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9745 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9746 Change XOPEN21K to XOPEN2K.
9748 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9750 * string/memmove.c: Use memcpy when possible.
9752 2012-11-06 Andreas Jaeger <aj@suse.de>
9754 * po/eo.po: Update from translation team.
9756 2012-11-06 Joseph Myers <joseph@codesourcery.com>
9759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9760 exponent and small x and y exponents, scale x or y up. Increase
9761 by 2 the exponent used in scaling up.
9762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9764 * math/libm-test.inc (fma_test): Add more tests.
9765 (fma_test_towardzero): Likewise.
9766 (fma_test_downward): Likewise.
9767 (fma_test_upward): Likewise.
9769 2012-11-05 Joseph Myers <joseph@codesourcery.com>
9772 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9776 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9777 namespace for names of struct fields.
9778 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9780 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9781 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9783 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9786 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9788 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9790 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9794 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9797 2012-11-04 Joseph Myers <joseph@codesourcery.com>
9800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9801 definitely overflow as x * y not x * y + z.
9802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9804 * math/libm-test.inc (fma_test): Add more tests.
9805 (fma_test_towardzero): Likewise.
9806 (fma_test_downward): Likewise.
9807 (fma_test_upward): Likewise.
9809 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9813 * include/stub-tag.h: Remove file.
9814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9816 * manual/maint.texi (Porting): Don't reference it.
9817 * Makerules ($(objpfx)stubs): Likewise.
9818 * dirent/closedir.c: Don't include <stub-tag.h>.
9819 * dirent/dirfd.c: Likewise.
9820 * dirent/fdopendir.c: Likewise.
9821 * dirent/getdents.c: Likewise.
9822 * dirent/getdents64.c: Likewise.
9823 * dirent/opendir.c: Likewise.
9824 * dirent/readdir.c: Likewise.
9825 * dirent/readdir64.c: Likewise.
9826 * dirent/readdir64_r.c: Likewise.
9827 * dirent/readdir_r.c: Likewise.
9828 * dirent/rewinddir.c: Likewise.
9829 * dirent/seekdir.c: Likewise.
9830 * dirent/telldir.c: Likewise.
9831 * gmon/profil.c: Likewise.
9832 * grp/setgroups.c: Likewise.
9833 * inet/if_index.c: Likewise.
9834 * io/access.c: Likewise.
9835 * io/chdir.c: Likewise.
9836 * io/chmod.c: Likewise.
9837 * io/chown.c: Likewise.
9838 * io/close.c: Likewise.
9839 * io/dup.c: Likewise.
9840 * io/dup2.c: Likewise.
9841 * io/dup3.c: Likewise.
9842 * io/euidaccess.c: Likewise.
9843 * io/faccessat.c: Likewise.
9844 * io/fchdir.c: Likewise.
9845 * io/fchmod.c: Likewise.
9846 * io/fchmodat.c: Likewise.
9847 * io/fchown.c: Likewise.
9848 * io/fchownat.c: Likewise.
9849 * io/fcntl.c: Likewise.
9850 * io/flock.c: Likewise.
9851 * io/fstatfs.c: Likewise.
9852 * io/fstatfs64.c: Likewise.
9853 * io/fstatvfs.c: Likewise.
9854 * io/fstatvfs64.c: Likewise.
9855 * io/futimens.c: Likewise.
9856 * io/fxstat.c: Likewise.
9857 * io/fxstat64.c: Likewise.
9858 * io/fxstatat.c: Likewise.
9859 * io/fxstatat64.c: Likewise.
9860 * io/getcwd.c: Likewise.
9861 * io/isatty.c: Likewise.
9862 * io/lchmod.c: Likewise.
9863 * io/lchown.c: Likewise.
9864 * io/link.c: Likewise.
9865 * io/linkat.c: Likewise.
9866 * io/lseek.c: Likewise.
9867 * io/lseek64.c: Likewise.
9868 * io/lxstat64.c: Likewise.
9869 * io/mkdir.c: Likewise.
9870 * io/mkdirat.c: Likewise.
9871 * io/mkfifo.c: Likewise.
9872 * io/mkfifoat.c: Likewise.
9873 * io/open.c: Likewise.
9874 * io/open64.c: Likewise.
9875 * io/openat.c: Likewise.
9876 * io/openat64.c: Likewise.
9877 * io/pipe.c: Likewise.
9878 * io/pipe2.c: Likewise.
9879 * io/poll.c: Likewise.
9880 * io/posix_fadvise.c: Likewise.
9881 * io/posix_fadvise64.c: Likewise.
9882 * io/posix_fallocate.c: Likewise.
9883 * io/posix_fallocate64.c: Likewise.
9884 * io/read.c: Likewise.
9885 * io/readlink.c: Likewise.
9886 * io/readlinkat.c: Likewise.
9887 * io/rmdir.c: Likewise.
9888 * io/sendfile.c: Likewise.
9889 * io/sendfile64.c: Likewise.
9890 * io/statfs.c: Likewise.
9891 * io/statfs64.c: Likewise.
9892 * io/statvfs.c: Likewise.
9893 * io/statvfs64.c: Likewise.
9894 * io/symlink.c: Likewise.
9895 * io/symlinkat.c: Likewise.
9896 * io/ttyname.c: Likewise.
9897 * io/ttyname_r.c: Likewise.
9898 * io/umask.c: Likewise.
9899 * io/unlink.c: Likewise.
9900 * io/unlinkat.c: Likewise.
9901 * io/utime.c: Likewise.
9902 * io/utimensat.c: Likewise.
9903 * io/write.c: Likewise.
9904 * io/xmknod.c: Likewise.
9905 * io/xmknodat.c: Likewise.
9906 * io/xstat.c: Likewise.
9907 * io/xstat64.c: Likewise.
9908 * login/getpt.c: Likewise.
9909 * login/grantpt.c: Likewise.
9910 * login/unlockpt.c: Likewise.
9911 * math/e_acoshl.c: Likewise.
9912 * math/e_acosl.c: Likewise.
9913 * math/e_asinl.c: Likewise.
9914 * math/e_atan2l.c: Likewise.
9915 * math/e_atanhl.c: Likewise.
9916 * math/e_coshl.c: Likewise.
9917 * math/e_expl.c: Likewise.
9918 * math/e_fmodl.c: Likewise.
9919 * math/e_gammal_r.c: Likewise.
9920 * math/e_hypotl.c: Likewise.
9921 * math/e_j0l.c: Likewise.
9922 * math/e_j1l.c: Likewise.
9923 * math/e_jnl.c: Likewise.
9924 * math/e_lgammal_r.c: Likewise.
9925 * math/e_log10l.c: Likewise.
9926 * math/e_log2l.c: Likewise.
9927 * math/e_logl.c: Likewise.
9928 * math/e_powl.c: Likewise.
9929 * math/e_rem_pio2l.c: Likewise.
9930 * math/e_sinhl.c: Likewise.
9931 * math/e_sqrtl.c: Likewise.
9932 * math/fclrexcpt.c: Likewise.
9933 * math/fedisblxcpt.c: Likewise.
9934 * math/feenablxcpt.c: Likewise.
9935 * math/fegetenv.c: Likewise.
9936 * math/fegetexcept.c: Likewise.
9937 * math/fegetround.c: Likewise.
9938 * math/feholdexcpt.c: Likewise.
9939 * math/fesetenv.c: Likewise.
9940 * math/fesetround.c: Likewise.
9941 * math/feupdateenv.c: Likewise.
9942 * math/fgetexcptflg.c: Likewise.
9943 * math/fraiseexcpt.c: Likewise.
9944 * math/fsetexcptflg.c: Likewise.
9945 * math/ftestexcept.c: Likewise.
9946 * math/k_cosl.c: Likewise.
9947 * math/k_rem_pio2l.c: Likewise.
9948 * math/k_sinl.c: Likewise.
9949 * math/k_tanl.c: Likewise.
9950 * math/s_asinhl.c: Likewise.
9951 * math/s_atanl.c: Likewise.
9952 * math/s_cbrtl.c: Likewise.
9953 * math/s_erfl.c: Likewise.
9954 * math/s_expm1l.c: Likewise.
9955 * math/s_log1pl.c: Likewise.
9956 * math/s_tanhl.c: Likewise.
9957 * misc/acct.c: Likewise.
9958 * misc/brk.c: Likewise.
9959 * misc/chflags.c: Likewise.
9960 * misc/chroot.c: Likewise.
9961 * misc/fchflags.c: Likewise.
9962 * misc/fgetxattr.c: Likewise.
9963 * misc/flistxattr.c: Likewise.
9964 * misc/fremovexattr.c: Likewise.
9965 * misc/fsetxattr.c: Likewise.
9966 * misc/fsync.c: Likewise.
9967 * misc/ftruncate.c: Likewise.
9968 * misc/futimes.c: Likewise.
9969 * misc/futimesat.c: Likewise.
9970 * misc/getdomain.c: Likewise.
9971 * misc/getdtsz.c: Likewise.
9972 * misc/gethostid.c: Likewise.
9973 * misc/gethostname.c: Likewise.
9974 * misc/getloadavg.c: Likewise.
9975 * misc/getpagesize.c: Likewise.
9976 * misc/getsysstats.c: Likewise.
9977 * misc/getxattr.c: Likewise.
9978 * misc/gtty.c: Likewise.
9979 * misc/ioctl.c: Likewise.
9980 * misc/lgetxattr.c: Likewise.
9981 * misc/listxattr.c: Likewise.
9982 * misc/llistxattr.c: Likewise.
9983 * misc/lremovexattr.c: Likewise.
9984 * misc/lsetxattr.c: Likewise.
9985 * misc/lutimes.c: Likewise.
9986 * misc/madvise.c: Likewise.
9987 * misc/mincore.c: Likewise.
9988 * misc/mlock.c: Likewise.
9989 * misc/mlockall.c: Likewise.
9990 * misc/mmap.c: Likewise.
9991 * misc/mprotect.c: Likewise.
9992 * misc/msync.c: Likewise.
9993 * misc/munlock.c: Likewise.
9994 * misc/munlockall.c: Likewise.
9995 * misc/munmap.c: Likewise.
9996 * misc/preadv.c: Likewise.
9997 * misc/preadv64.c: Likewise.
9998 * misc/ptrace.c: Likewise.
9999 * misc/pwritev.c: Likewise.
10000 * misc/pwritev64.c: Likewise.
10001 * misc/readv.c: Likewise.
10002 * misc/reboot.c: Likewise.
10003 * misc/remap_file_pages.c: Likewise.
10004 * misc/removexattr.c: Likewise.
10005 * misc/revoke.c: Likewise.
10006 * misc/select.c: Likewise.
10007 * misc/setdomain.c: Likewise.
10008 * misc/setegid.c: Likewise.
10009 * misc/seteuid.c: Likewise.
10010 * misc/sethostid.c: Likewise.
10011 * misc/sethostname.c: Likewise.
10012 * misc/setregid.c: Likewise.
10013 * misc/setreuid.c: Likewise.
10014 * misc/setxattr.c: Likewise.
10015 * misc/sstk.c: Likewise.
10016 * misc/stty.c: Likewise.
10017 * misc/swapoff.c: Likewise.
10018 * misc/swapon.c: Likewise.
10019 * misc/sync.c: Likewise.
10020 * misc/syncfs.c: Likewise.
10021 * misc/syscall.c: Likewise.
10022 * misc/truncate.c: Likewise.
10023 * misc/ualarm.c: Likewise.
10024 * misc/usleep.c: Likewise.
10025 * misc/ustat.c: Likewise.
10026 * misc/utimes.c: Likewise.
10027 * misc/vhangup.c: Likewise.
10028 * misc/writev.c: Likewise.
10029 * posix/_exit.c: Likewise.
10030 * posix/alarm.c: Likewise.
10031 * posix/execve.c: Likewise.
10032 * posix/fexecve.c: Likewise.
10033 * posix/fork.c: Likewise.
10034 * posix/fpathconf.c: Likewise.
10035 * posix/getaddrinfo.c: Likewise.
10036 * posix/getegid.c: Likewise.
10037 * posix/geteuid.c: Likewise.
10038 * posix/getgid.c: Likewise.
10039 * posix/getgroups.c: Likewise.
10040 * posix/getlogin.c: Likewise.
10041 * posix/getlogin_r.c: Likewise.
10042 * posix/getpgid.c: Likewise.
10043 * posix/getpid.c: Likewise.
10044 * posix/getppid.c: Likewise.
10045 * posix/getresgid.c: Likewise.
10046 * posix/getresuid.c: Likewise.
10047 * posix/getsid.c: Likewise.
10048 * posix/getuid.c: Likewise.
10049 * posix/glob64.c: Likewise.
10050 * posix/nanosleep.c: Likewise.
10051 * posix/pathconf.c: Likewise.
10052 * posix/pause.c: Likewise.
10053 * posix/posix_madvise.c: Likewise.
10054 * posix/pread.c: Likewise.
10055 * posix/pread64.c: Likewise.
10056 * posix/pwrite.c: Likewise.
10057 * posix/pwrite64.c: Likewise.
10058 * posix/sched_getaffinity.c: Likewise.
10059 * posix/sched_getp.c: Likewise.
10060 * posix/sched_gets.c: Likewise.
10061 * posix/sched_primax.c: Likewise.
10062 * posix/sched_primin.c: Likewise.
10063 * posix/sched_rr_gi.c: Likewise.
10064 * posix/sched_setaffinity.c: Likewise.
10065 * posix/sched_setp.c: Likewise.
10066 * posix/sched_sets.c: Likewise.
10067 * posix/sched_yield.c: Likewise.
10068 * posix/setgid.c: Likewise.
10069 * posix/setlogin.c: Likewise.
10070 * posix/setpgid.c: Likewise.
10071 * posix/setresgid.c: Likewise.
10072 * posix/setresuid.c: Likewise.
10073 * posix/setsid.c: Likewise.
10074 * posix/setuid.c: Likewise.
10075 * posix/sleep.c: Likewise.
10076 * posix/spawni.c: Likewise.
10077 * posix/sysconf.c: Likewise.
10078 * posix/times.c: Likewise.
10079 * posix/wait.c: Likewise.
10080 * posix/wait3.c: Likewise.
10081 * posix/wait4.c: Likewise.
10082 * posix/waitpid.c: Likewise.
10083 * resolv/gai_sigqueue.c: Likewise.
10084 * resource/getpriority.c: Likewise.
10085 * resource/getrlimit.c: Likewise.
10086 * resource/getrusage.c: Likewise.
10087 * resource/nice.c: Likewise.
10088 * resource/setpriority.c: Likewise.
10089 * resource/setrlimit.c: Likewise.
10090 * resource/ulimit.c: Likewise.
10091 * rt/aio_cancel.c: Likewise.
10092 * rt/aio_fsync.c: Likewise.
10093 * rt/aio_read.c: Likewise.
10094 * rt/aio_sigqueue.c: Likewise.
10095 * rt/aio_suspend.c: Likewise.
10096 * rt/aio_write.c: Likewise.
10097 * rt/clock_getres.c: Likewise.
10098 * rt/clock_gettime.c: Likewise.
10099 * rt/clock_nanosleep.c: Likewise.
10100 * rt/clock_settime.c: Likewise.
10101 * rt/lio_listio.c: Likewise.
10102 * rt/mq_close.c: Likewise.
10103 * rt/mq_getattr.c: Likewise.
10104 * rt/mq_notify.c: Likewise.
10105 * rt/mq_open.c: Likewise.
10106 * rt/mq_receive.c: Likewise.
10107 * rt/mq_send.c: Likewise.
10108 * rt/mq_setattr.c: Likewise.
10109 * rt/mq_timedreceive.c: Likewise.
10110 * rt/mq_timedsend.c: Likewise.
10111 * rt/mq_unlink.c: Likewise.
10112 * rt/shm_open.c: Likewise.
10113 * rt/shm_unlink.c: Likewise.
10114 * rt/timer_create.c: Likewise.
10115 * rt/timer_delete.c: Likewise.
10116 * rt/timer_getoverr.c: Likewise.
10117 * rt/timer_gettime.c: Likewise.
10118 * rt/timer_settime.c: Likewise.
10119 * setjmp/__longjmp.c: Likewise.
10120 * setjmp/setjmp.c: Likewise.
10121 * signal/kill.c: Likewise.
10122 * signal/killpg.c: Likewise.
10123 * signal/raise.c: Likewise.
10124 * signal/sigaction.c: Likewise.
10125 * signal/sigaltstack.c: Likewise.
10126 * signal/sigblock.c: Likewise.
10127 * signal/sigignore.c: Likewise.
10128 * signal/sigintr.c: Likewise.
10129 * signal/signal.c: Likewise.
10130 * signal/sigpause.c: Likewise.
10131 * signal/sigpending.c: Likewise.
10132 * signal/sigqueue.c: Likewise.
10133 * signal/sigreturn.c: Likewise.
10134 * signal/sigset.c: Likewise.
10135 * signal/sigsetmask.c: Likewise.
10136 * signal/sigstack.c: Likewise.
10137 * signal/sigsuspend.c: Likewise.
10138 * signal/sigtimedwait.c: Likewise.
10139 * signal/sigvec.c: Likewise.
10140 * signal/sigwait.c: Likewise.
10141 * signal/sigwaitinfo.c: Likewise.
10142 * signal/sysv_signal.c: Likewise.
10143 * socket/accept.c: Likewise.
10144 * socket/accept4.c: Likewise.
10145 * socket/bind.c: Likewise.
10146 * socket/connect.c: Likewise.
10147 * socket/getpeername.c: Likewise.
10148 * socket/getsockname.c: Likewise.
10149 * socket/getsockopt.c: Likewise.
10150 * socket/isfdtype.c: Likewise.
10151 * socket/listen.c: Likewise.
10152 * socket/recv.c: Likewise.
10153 * socket/recvfrom.c: Likewise.
10154 * socket/recvmsg.c: Likewise.
10155 * socket/send.c: Likewise.
10156 * socket/sendmsg.c: Likewise.
10157 * socket/sendto.c: Likewise.
10158 * socket/setsockopt.c: Likewise.
10159 * socket/shutdown.c: Likewise.
10160 * socket/sockatmark.c: Likewise.
10161 * socket/socket.c: Likewise.
10162 * socket/socketpair.c: Likewise.
10163 * stdio-common/ctermid.c: Likewise.
10164 * stdio-common/cuserid.c: Likewise.
10165 * stdio-common/remove.c: Likewise.
10166 * stdio-common/rename.c: Likewise.
10167 * stdio-common/renameat.c: Likewise.
10168 * stdio-common/tempname.c: Likewise.
10169 * stdlib/getcontext.c: Likewise.
10170 * stdlib/makecontext.c: Likewise.
10171 * stdlib/setcontext.c: Likewise.
10172 * stdlib/swapcontext.c: Likewise.
10173 * stdlib/system.c: Likewise.
10174 * streams/fattach.c: Likewise.
10175 * streams/fdetach.c: Likewise.
10176 * streams/getmsg.c: Likewise.
10177 * streams/getpmsg.c: Likewise.
10178 * streams/putmsg.c: Likewise.
10179 * streams/putpmsg.c: Likewise.
10180 * sysdeps/unix/bsd/getpt.c: Likewise.
10181 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10182 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10183 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10186 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10187 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10188 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10189 * sysvipc/msgctl.c: Likewise.
10190 * sysvipc/msgget.c: Likewise.
10191 * sysvipc/msgrcv.c: Likewise.
10192 * sysvipc/msgsnd.c: Likewise.
10193 * sysvipc/semctl.c: Likewise.
10194 * sysvipc/semget.c: Likewise.
10195 * sysvipc/semop.c: Likewise.
10196 * sysvipc/semtimedop.c: Likewise.
10197 * sysvipc/shmat.c: Likewise.
10198 * sysvipc/shmctl.c: Likewise.
10199 * sysvipc/shmdt.c: Likewise.
10200 * sysvipc/shmget.c: Likewise.
10201 * termios/tcdrain.c: Likewise.
10202 * termios/tcflow.c: Likewise.
10203 * termios/tcflush.c: Likewise.
10204 * termios/tcgetattr.c: Likewise.
10205 * termios/tcgetpgrp.c: Likewise.
10206 * termios/tcsendbrk.c: Likewise.
10207 * termios/tcsetattr.c: Likewise.
10208 * termios/tcsetpgrp.c: Likewise.
10209 * time/adjtime.c: Likewise.
10210 * time/clock.c: Likewise.
10211 * time/getitimer.c: Likewise.
10212 * time/gettimeofday.c: Likewise.
10213 * time/setitimer.c: Likewise.
10214 * time/settimeofday.c: Likewise.
10215 * time/stime.c: Likewise.
10216 * time/time.c: Likewise.
10218 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10220 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10223 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10225 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10227 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10231 FE_TONEAREST before applying Dekker multiplication and Knuth
10232 addition. Clear inexact exceptions and check for exact zero
10233 results afterwards.
10234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10237 * math/libm-test.inc (fma_test): Add more tests.
10238 (fma_test_towardzero): Likewise.
10239 (fma_test_downward): Likewise.
10240 (fma_test_upward): Likewise.
10241 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10243 (libc_fesetround): New macro.
10244 (libc_fesetroundf): Likewise.
10245 (libc_fesetroundl): Likewise.
10246 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10248 (libc_fesetround_387): Likewise.
10249 (libc_fesetroundf): New macro.
10250 (libc_fesetround): Likewise.
10251 (libc_fesetroundl): Likewise.
10252 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10254 (libc_fesetroundf): New macro.
10255 (libc_fesetround): Likewise.
10256 (libc_fesetroundl): Likewise.
10257 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10258 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10259 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10261 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10262 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10264 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10265 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10267 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10271 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10272 integer constant usable in #if and use that to give value to enum
10274 (FE_DIVBYZERO): Likewise.
10275 (FE_UNDERFLOW): Likewise.
10276 (FE_OVERFLOW): Likewise.
10277 (FE_INVALID): Likewise.
10278 (FE_INVALID_SNAN): Likewise.
10279 (FE_INVALID_ISI): Likewise.
10280 (FE_INVALID_IDI): Likewise.
10281 (FE_INVALID_ZDZ): Likewise.
10282 (FE_INVALID_IMZ): Likewise.
10283 (FE_INVALID_COMPARE): Likewise.
10284 (FE_INVALID_SOFTWARE): Likewise.
10285 (FE_INVALID_SQRT): Likewise.
10286 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10287 (FE_TONEAREST): Likewise.
10288 (FE_TOWARDZERO): Likewise.
10289 (FE_UPWARD): Likewise.
10290 (FE_DOWNWARD): Likewise.
10291 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10292 (FE_DIVBYZERO): Likewise.
10293 (FE_OVERFLOW): Likewise.
10294 (FE_UNDERFLOW): Likewise.
10295 (FE_INEXACT): Likewise.
10296 (FE_TONEAREST): Likewise.
10297 (FE_DOWNWARD): Likewise.
10298 (FE_UPWARD): Likewise.
10299 (FE_TOWARDZERO): Likewise.
10300 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10301 (FE_UNDERFLOW): Likewise.
10302 (FE_OVERFLOW): Likewise.
10303 (FE_DIVBYZERO): Likewise.
10304 (FE_INVALID): Likewise.
10305 (FE_TONEAREST): Likewise.
10306 (FE_TOWARDZERO): Likewise.
10307 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10308 (FE_OVERFLOW): Likewise.
10309 (FE_UNDERFLOW): Likewise.
10310 (FE_DIVBYZERO): Likewise.
10311 (FE_INEXACT): Likewise.
10312 (FE_TONEAREST): Likewise.
10313 (FE_TOWARDZERO): Likewise.
10314 (FE_UPWARD): Likewise.
10315 (FE_DOWNWARD): Likewise.
10316 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10317 (FE_DIVBYZERO): Likewise.
10318 (FE_OVERFLOW): Likewise.
10319 (FE_UNDERFLOW): Likewise.
10320 (FE_INEXACT): Likewise.
10321 (FE_TONEAREST): Likewise.
10322 (FE_DOWNWARD): Likewise.
10323 (FE_UPWARD): Likewise.
10324 (FE_TOWARDZERO): Likewise.
10326 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10328 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10330 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10332 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10333 commands. Quote $PWD.
10334 (blacklist_exports): Don't use remove_newlines. Replace "declare
10336 (remove_newlines): Remove.
10338 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10340 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10341 * stdlib/stdlib.h (atof): Moved to ...
10342 * include/bits/stdlib-float.h: Here. New file.
10343 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10344 * stdlib/bits/stdlib-float.h: New file.
10345 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10347 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10350 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10352 * conform/conformtest.pl (@headers): Add fenv.h.
10353 * conform/data/fenv.h-data: New file.
10354 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10355 include of <math/fenv.h>.
10357 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10358 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10359 && !UNIX98]. Enables tests for XOPEN2K8.
10360 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10361 POSIX2008]: Likewise.
10363 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10364 (struct rusage): Do not expect type or its members.
10367 * math/math.h (FP_NAN): Define macro to integer constant usable in
10368 #if and use that to give value to enum constant.
10369 (FP_INFINITE): Likewise.
10370 (FP_ZERO): Likewise.
10371 (FP_SUBNORMAL): Likewise.
10372 (FP_NORMAL): Likewise.
10374 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10376 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10377 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10380 2012-11-02 Roland McGrath <roland@hack.frob.com>
10382 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10383 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10384 autoconf-time if not.
10385 * configure.in: Remove AC_PREREQ.
10387 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10389 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10390 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10391 of the internal implementation.
10393 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10395 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10396 except include of <misc/sys/syslog.h>.
10398 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10401 function returns with a NULL context exit with zero.
10403 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10405 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10407 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10409 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10410 (run_program_cmd): This.
10411 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10412 (tst_langinfo): New variable. Use it.
10414 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10416 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10417 floating point opcodes.
10419 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10421 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10424 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10426 * sysdeps/mach/hurd/powerpc: Remove directory.
10427 * sysdeps/mach/powerpc: Likewise.
10429 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10431 * scripts/check-local-headers.sh: Ignore c++ headers.
10433 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10435 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10436 __libc_cleanup_region_start argument.
10438 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10443 x * y using scaling, not as x * y + z.
10444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10446 * math/libm-test.inc (fma_test): Add more tests.
10447 (fma_test_towardzero): Likewise.
10448 (fma_test_downward): Likewise.
10449 (fma_test_upward): Likewise.
10451 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10453 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10455 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10457 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10460 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10462 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10464 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10471 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10474 Fix the order of the list for glibc 2.17.
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10478 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10482 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10485 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10486 for low part of x being zero before using __atanl (y).
10487 * math/libm-test.inc (atan2_test): Add another test.
10489 * manual/install.texi (Configuring and compiling): Document
10490 general use of test-wrapper and test-wrapper-env.
10491 * INSTALL: Regenerated.
10493 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10494 (__fma): Do not extract and scale down low bits on after-rounding
10495 systems when result rounded to normal precision would have normal
10497 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10498 (__fmal): Do not extract and scale down low bits on after-rounding
10499 systems when result rounded to normal precision would have normal
10501 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10502 (__fmal): Do not extract and scale down low bits on after-rounding
10503 systems when result rounded to normal precision would have normal
10505 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10507 (fma_test): Add more tests.
10508 (fma_test_towardzero): Likewise.
10509 (fma_test_downward): Likewise.
10510 (fma_test_upward): Likewise.
10512 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10514 * sysdeps/i386/tininess.h: Renamed to ...
10515 * sysdeps/x86/tininess.h: This.
10516 * sysdeps/x86_64/tininess.h: Removed.
10518 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10520 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10521 input. Use $(build-program-cmd).
10522 ($(objpfx)tst-array1-static.out): Likewise.
10523 ($(objpfx)tst-array2.out): Likewise.
10524 ($(objpfx)tst-array3.out): Likewise.
10525 ($(objpfx)tst-array4.out): Likewise.
10526 ($(objpfx)tst-array5.out): Likewise.
10527 ($(objpfx)tst-array5-static.out): Likewise.
10529 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10531 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10534 * nss/nsswitch.h (nss_interface_function): Provide new
10535 macro for use with NSS functions.
10536 * grp/initgroups.c: Use new macro.
10537 * nss/getXXbyYY.c: Likewise.
10538 * nss/getXXbyYY_r.c: Likewise.
10539 * nss/getXXent.c: Likewise.
10540 * nss/getXXent_r.c: Likewise.
10541 * sysdeps/posix/getaddrinfo.c: Likewise.
10543 2012-10-30 Andreas Jaeger <aj@suse.de>
10545 * po/ru.po: Update Russion translation from translation project.
10547 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10552 result and shift together with sticky bit instead of replicating
10553 round-to-nearest rounding.
10554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10555 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10556 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10557 missing underflow exceptions.
10558 (fma_test_towardzero): Add more tests.
10559 (fma_test_downward): Likewise.
10560 (fma_test_upward): Likewise.
10563 * sysdeps/generic/tininess.h: New file.
10564 * sysdeps/i386/tininess.h: Likewise.
10565 * sysdeps/sh/tininess.h: Likewise.
10566 * sysdeps/x86_64/tininess.h: Likewise.
10567 * stdlib/tst-strtod-underflow.c: Likewise.
10568 * stdlib/tst-tininess.c: Likewise.
10569 * stdlib/strtod_l.c: Include <tininess.h>.
10570 (round_and_return): Do not set errno for exact underflow cases.
10571 Force an underflow exception when setting errno for underflow.
10572 Determine underflow based on rounding to normal precision if
10573 TININESS_AFTER_ROUNDING.
10574 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10575 ERANGE for exact underflow cases.
10576 * stdlib/Makefile (tests): Add tst-tininess and
10577 tst-strtod-underflow.
10578 ($(objpfx)tst-tininess): Use $(link-libm).
10579 ($(objpfx)tst-strtod-underflow): Likewise.
10581 2012-10-30 Andreas Jaeger <aj@suse.de>
10584 * elf/Makefile (tests): Remove conditional for have-initfini-array
10585 since this is now always required and the variable does not exist
10587 (tests-static): Likewise.
10588 (modules-names): Likewise.
10590 * po/eo.po: Add Esperanto translation from translation project.
10592 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10593 merged with constructor/destructor.
10594 (init_array): Likewise.
10595 * elf/tst-array2dep.c (fini_array): Likewise.
10596 (init_array): Likewise.
10598 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10600 * manual/message.texi: Delete @cartouche tags.
10602 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10604 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10606 * sysdeps/mach/hurd/fsync.c: Likewise.
10608 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10609 [_POSIX_REALTIME_SIGNALS]: Change condition to
10610 [_POSIX_REALTIME_SIGNALS > 0].
10612 2012-10-27 Andreas Jaeger <aj@suse.de>
10614 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10615 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10617 [__WORDSIZE != 64]: Likewise.
10619 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10621 * iconvdata/tst-table.sh: Remove ${SHELL}.
10622 * iconvdata/tst-tables.sh: Likewise.
10624 2012-10-25 David S. Miller <davem@davemloft.net>
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10627 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10633 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10634 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10637 2012-10-25 Roland McGrath <roland@hack.frob.com>
10639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10640 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10643 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10644 Jim Blandy <jimb@codesourcery.com>
10646 * scripts/cross-test-ssh.sh: New file.
10647 * manual/install.texi (Configuring and compiling): Document use of
10649 * INSTALL: Regenerated.
10651 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10653 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10656 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10658 * Makeconfig (run-program-prefix): Fix comment.
10660 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10661 Jim Blandy <jimb@codesourcery.com>
10663 * Makeconfig (test-wrapper): New variable,
10664 (test-wrapper-env): Likewise.
10665 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10666 (run-built-tests): Define to yes.
10667 (run-program-prefix): Use $(test-wrapper).
10668 (built-program-cmd): Likewise.
10669 * Rules (make-test-out): Use $(test-wrapper-env) and
10670 $(host-built-program-cmd).
10671 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10672 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10674 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10675 $(test-wrapper-env) to tst-rtld-load-self.sh.
10676 ($(objpfx)order2.out): Use $(test-wrapper).
10677 ($(objpfx)tst-initorder.out): Likewise.
10678 ($(objpfx)tst-initorder2.out): Likewise.
10679 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10680 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10681 (test_wrapper_env): New variable. Use it to run ld.so.
10682 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10683 Use it to run ld.so.
10684 (test_wrapper_env): Likewise.
10685 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10686 $(test-wrapper) to run-iconv-test.sh.
10687 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10688 (ICONV): Use $test_wrapper.
10689 * posix/Makefile ($(objpfx)globtest.out): Pass
10690 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10691 globtest.sh, not $(run-program-prefix).
10692 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10693 (test_wrapper): Likewise.
10694 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10695 set together with run_via_rtld_prefix.
10696 (run_program_prefix): Define in terms of test_wrapper and
10697 run_via_rtld_prefix.
10699 2012-10-24 Roland McGrath <roland@hack.frob.com>
10701 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10702 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10706 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10707 Declare __clock_getres, __clock_gettime, __clock_settime,
10708 __clock_nanosleep, and __clock_getcpuclockid.
10709 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10710 Remove librt_hidden_def (clock_gettime).
10711 * sysdeps/unix/clock_gettime.c: Likewise.
10712 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10714 * rt/clock_getres.c: Define __clock_getres as an alias.
10715 * sysdeps/posix/clock_getres.c: Likewise.
10716 * rt/clock_settime.c: Define __clock_settime as an alias.
10717 * sysdeps/unix/clock_settime.c: Likewise.
10718 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10719 * sysdeps/unix/clock_nanosleep.c: Likewise.
10720 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10721 * rt/clock-compat.c: New file.
10722 * rt/Makefile (librt-routines): Add clock-compat and move
10723 $(clock-routines) to ...
10724 (routines): ... here, new variable.
10725 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10726 Don't add get_clockfreq here.
10727 * rt/Versions (libc: GLIBC_2.17): New version set.
10728 Add clock_* symbols here.
10729 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10730 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10731 (GLIBC_2.17): Add clock_* symbols.
10732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10743 * NEWS: Mention the move.
10745 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10746 Use __open, __read, __close rather than their public counterparts.
10747 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10748 (__get_clockfreq_via_cpuinfo): Likewise.
10749 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10750 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10752 * config.h.in (HAVE_IFUNC): New #undef.
10753 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10755 * configure: Regenerated.
10757 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10759 * configure.in: Move READELF check to start of file.
10760 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10761 libc_cv_asm_gnu_indirect_function in the process.
10762 * configure: Regenerated.
10764 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10766 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10767 send the output to /dev/null.
10768 (libc_cv_cc_with_libunwind): Likewise.
10769 (libc_cv_as_noexecstack): Likewise.
10770 * configure: Regenerate.
10772 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10774 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10776 * posix/globtest.sh (TMPDIR): Do not set.
10777 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10778 (testout): Likewise.
10780 2012-10-24 Andreas Jaeger <aj@suse.de>
10782 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10783 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10784 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10785 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10786 posix_fadvise64, posix_fallocate64.
10788 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10789 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10790 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10792 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10794 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10797 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10798 <bits/fcntl-linux.h>.
10799 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10802 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10803 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10804 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10805 [__WORDSIZE != 64]: Likewise.
10807 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10809 * Makeconfig (run-built-tests): New variable.
10810 * Rules [$(cross-compiling) = yes]: Change condition to
10811 [$(run-built-tests) = no].
10812 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10813 to [$(run-built-tests) = yes].
10814 * elf/Makefile [$(cross-compiling) = no]: Likewise
10815 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10816 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10817 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10818 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10819 * io/Makefile [$(cross-compiling) = no]: Likewise.
10820 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10821 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10822 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10823 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10824 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10825 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10826 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10827 * string/Makefile [$(cross-compiling) = no]: Likewise.
10829 * posix/Makefile ($(objpfx)globtest.out): Pass
10830 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10831 $(rtld-installed-name).
10832 * posix/globtest.sh (elf_objpfx): Remove variable.
10833 (rtld_installed_name): Likewise.
10834 (library_path): Likewise.
10835 (run_program_prefix): New variable. Use for running globtest
10838 2012-10-23 Jim Blandy <jimb@codesourcery.com>
10839 Joseph Myers <joseph@codesourcery.com>
10841 * Makeconfig (host-built-program-cmd): New variable.
10842 * elf/Makefile (tst-stackguard1-ARGS): Use
10843 $(host-built-program-cmd).
10844 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10845 (tst-spawn-ARGS): Likewise.
10846 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10848 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10849 Jim Blandy <jimb@codesourcery.com>
10851 * Makeconfig (run-via-rtld-prefix): New variable.
10852 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10853 (built-program-cmd): Likewise.
10855 2012-10-22 Andreas Jaeger <aj@suse.de>
10857 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10858 __O_RSYNC if it exists, otherwise to O_SYNC.
10860 2012-10-22 Jim Blandy <jimb@codesourcery.com>
10861 Joseph Myers <joseph@codesourcery.com>
10863 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10865 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10867 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10870 2012-10-22 Andreas Jaeger <aj@suse.de>
10872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10877 bits/fcntl-linux.h.
10879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10880 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10887 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10888 Joseph Myers <joseph@codesourcery.com>
10890 * config.make.in (NM): New variable.
10892 2012-10-21 Andreas Jaeger <aj@suse.de>
10894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10895 definitions and declarations that are provided by
10896 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10898 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10901 * elf/Makefile (tests-static): Add tst-leaks1-static.
10902 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10903 ($(objpfx)tst-leaks1-static): New rule.
10904 ($(objpfx)tst-leaks1-static-mem): Likewise.
10905 (tst-leaks1-static-ENV): New macro.
10906 * elf/dl-open.c (dl_open_worker): Check the main application
10907 only if SHARED is defined.
10908 * elf/tst-leaks1-static.c: New file.
10910 2012-10-20 Andreas Jaeger <aj@suse.de>
10912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10913 generic values for Linux.
10914 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10915 and declarations that are provided by <bits/fcntl-linux.h> and
10916 include <bits/fcntl-linux.h>.
10917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10920 2012-10-20 Roland McGrath <roland@hack.frob.com>
10922 * io/fcntl.h: Move include of <bits/types.h> to the top and
10923 include it unconditionally.
10925 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10927 * wcsmbs/Makefile (tests-ifunc): New variable.
10928 (tests): Add $(tests-ifunc).
10929 * wcsmbs/test-wcschr-ifunc.c: New file.
10930 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10931 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10932 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10933 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10934 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10936 * string/Makefile (tests-ifunc): New variable.
10937 (tests): Add $(tests-ifunc).
10938 * string/test-memccpy.c (TEST_NAME): New macro.
10939 * string/test-memchr.c (TEST_NAME): Likewise.
10940 * string/test-memcmp.c (TEST_NAME): Likewise.
10941 * string/test-memcpy.c (TEST_NAME): Likewise.
10942 * string/test-memmem.c (TEST_NAME): Likewise.
10943 * string/test-memmove.c (TEST_NAME): Likewise.
10944 * string/test-memset.c (TEST_NAME): Likewise.
10945 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10946 * string/test-stpcpy.c (TEST_NAME): Likewise.
10947 * string/test-stpncpy.c (TEST_NAME): Likewise.
10948 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10949 * string/test-strcasestr.c (TEST_NAME): Likewise.
10950 * string/test-strcat.c (TEST_NAME): Likewise.
10951 * string/test-strchr.c (TEST_NAME): Likewise.
10952 * string/test-strcmp.c(TEST_NAME): Likewise.
10953 * string/test-strcpy.c (TEST_NAME): Likewise.
10954 * string/test-strcspn.c (TEST_NAME): Likewise.
10955 * string/test-strlen.c (TEST_NAME): Likewise.
10956 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10957 * string/test-strncmp.c (TEST_NAME): Likewise.
10958 * string/test-strncpy.c (TEST_NAME): Likewise.
10959 * string/test-strnlen.c (TEST_NAME): Likewise.
10960 * string/test-strpbrk.c (TEST_NAME): Likewise.
10961 * string/test-strrchr.c (TEST_NAME): Likewise.
10962 * string/test-strspn.c (TEST_NAME): Likewise.
10963 * string/test-strstr.c (TEST_NAME): Likewise.
10964 * string/test-bcopy-ifunc.c: New file.
10965 * string/test-bzero-ifunc.c: Likewise.
10966 * string/test-memccpy-ifunc.c: Likewise.
10967 * string/test-memchr-ifunc.c: Likewise.
10968 * string/test-memcmp-ifunc.c: Likewise.
10969 * string/test-memcpy-ifunc.c: Likewise.
10970 * string/test-memmem-ifunc.c: Likewise.
10971 * string/test-memmove-ifunc.c: Likewise.
10972 * string/test-mempcpy-ifunc.c: Likewise.
10973 * string/test-memset-ifunc.c: Likewise.
10974 * string/test-rawmemchr-ifunc.c: Likewise.
10975 * string/test-stpcpy-ifunc.c: Likewise.
10976 * string/test-stpncpy-ifunc.c: Likewise.
10977 * string/test-strcasecmp-ifunc.c: Likewise.
10978 * string/test-strcasestr-ifunc.c: Likewise.
10979 * string/test-strcat-ifunc.c: Likewise.
10980 * string/test-strchr-ifunc.c: Likewise.
10981 * string/test-strchrnul-ifunc.c: Likewise.
10982 * string/test-strcmp-ifunc.c: Likewise.
10983 * string/test-strcpy-ifunc.c: Likewise.
10984 * string/test-strcspn-ifunc.c: Likewise.
10985 * string/test-strlen-ifunc.c: Likewise.
10986 * string/test-strncasecmp-ifunc.c: Likewise.
10987 * string/test-strncat-ifunc.c: Likewise.
10988 * string/test-strncmp-ifunc.c: Likewise.
10989 * string/test-strncpy-ifunc.c: Likewise.
10990 * string/test-strnlen-ifunc.c: Likewise.
10991 * string/test-strpbrk-ifunc.c: Likewise.
10992 * string/test-strrchr-ifunc.c: Likewise.
10993 * string/test-strspn-ifunc.c: Likewise.
10994 * string/test-strstr-ifunc.c: Likewise.
10996 * debug/Makefile (tests-ifunc): New variable.
10997 (tests): Add $(tests-ifunc).
10998 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10999 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11000 * debug/test-stpcpy_chk-ifunc.c: New file.
11001 * debug/test-strcpy_chk-ifunc.c: Likewise.
11003 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11006 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11007 header is not read in.
11009 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11011 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11012 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11013 directly. Pass built executable to script as
11014 $(built-program-cmd).
11015 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11016 $testprogram without using LD_LIBRARY_PATH and $ldso.
11018 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11019 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11020 $(rtld-installed-name).
11021 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11022 (rtld_installed_name): Likewise.
11023 (library_path): Likewise.
11024 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11025 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11026 $(run-program-prefix) to tst-tables.sh.
11027 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11028 it to run tst-table-from and tst-table-to.
11029 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11030 Pass it to tst-table.sh.
11031 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11032 $(run-program-prefix) to tst-gettext.sh.
11033 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11035 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11037 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11038 to run tst-gettext.
11039 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11040 to run tst-gettext2.
11041 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11042 to run tst-translit.
11043 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11044 $(run-program-prefix) to tst-mtrace.sh.
11045 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11047 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11048 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11049 $(rtld-installed-name).
11050 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11051 (rtld_installed_name): Likewise.
11052 (run_program_prefix): New variable. Use it to run wordexp-test.
11054 * Makeconfig (ARCH): Remove all definitions.
11055 (machine): Likewise.
11056 [ARCH]: Remove conditional code.
11057 [!objdir]: Give error.
11058 [!objdir] (objpfx): Remove.
11059 [!objdir] (common-objpfx): Likewise.
11060 [!objdir] (common-objdir): Likewise.
11061 * configure.in (config_makefile): Remove. Hardcode Makefile in
11062 AC_CONFIG_FILES call.
11063 * configure: Regenerated.
11066 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11068 (testout): Likewise.
11070 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11071 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11072 $(rtld-installed-name).
11073 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11074 (rtld_installed_name): Likwise.
11075 (runit): Remove function.
11076 (run_getconf): New variable, Use it for running getconf binary.
11078 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11081 * string/test-memmem.c (check_result): New function.
11082 (do_one_test): Use it.
11083 (check1): New function.
11084 (test_main): Use it.
11086 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11088 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11090 2012-10-18 Joseph Myers <joseph@codesourcery.com>
11092 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11093 (_G_LSEEK64): Likewise.
11094 (_G_MMAP64): Likewise.
11095 (_G_FSTAT64): Likewise.
11096 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11097 (_G_LSEEK64): Likewise.
11098 (_G_MMAP64): Likewise.
11099 (_G_FSTAT64): Likewise.
11100 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11101 unconditional. Call __mmap64 directly.
11102 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11103 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11104 __lseek64 directly.
11105 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11106 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11108 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11109 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11110 __lseek64 directly.
11111 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11112 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11113 __lseek64 directly.
11114 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11115 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11116 __lseek64 directly.
11117 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11118 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11119 __fxstat64 directly.
11120 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11121 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11123 (freopen64) [!_G_OPEN64]: Remove conditional code.
11124 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11126 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11127 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11129 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11130 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11132 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11133 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11135 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11136 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11138 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11139 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11141 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11142 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11144 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11146 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11149 * manual/memory.texi (Malloc Tunable Parameters): Add note
11150 about free list pointers overwriting some perturb bytes.
11151 Wording suggested by Roland McGrath.
11153 2012-10-17 Joseph Myers <joseph@codesourcery.com>
11155 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11156 (lgamma_test): Likewise.
11157 (tgamma_test): Likewise.
11159 2012-10-16 Florian Weimer <fweimer@redhat.com>
11162 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11163 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11165 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11167 * NEWS: Mention BZ #14716.
11168 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11169 when removing AVAILABLE1_USES_J macro.
11171 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11173 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11174 (__bswap_64): __uint64_t for unsigned 64-bit int.
11176 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11178 * include/string.h (memmem): Declare libc hidden alias.
11179 * string/memmem.c (memmem): Define libc hidden alias.
11180 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11181 __read, __close instead of open, read, close.
11183 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11186 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11188 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11189 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11190 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11192 (__rawmemchr_sse2): Likewise.
11193 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11194 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11195 (__strchr_sse2): Likewise.
11196 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11197 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11198 (__strcasecmp_sse2): Likewise.
11199 (__strncasecmp_sse2): Likewise.
11200 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11201 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11202 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11203 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11204 (__strrchr_sse2): Likewise.
11205 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11207 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11208 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11209 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11210 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11211 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11212 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11213 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11214 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11215 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11216 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11217 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11218 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11219 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11220 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11221 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11222 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11223 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11224 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11225 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11226 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11227 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11228 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11229 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11230 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11231 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11232 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11233 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11234 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11235 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11236 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11238 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11240 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11241 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11242 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11243 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11245 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11247 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11248 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11249 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11250 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11252 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11253 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11254 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11255 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11256 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11257 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11258 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11259 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11260 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11261 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11262 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11263 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11264 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11265 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11266 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11268 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11269 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11270 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11272 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11273 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11274 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11275 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11276 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11277 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11278 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11279 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11280 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11281 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11282 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11283 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11284 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11285 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11286 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11287 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11288 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11289 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11290 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11291 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11292 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11294 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11295 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11296 * include/ifunc-impl-list.h: New file.
11297 * misc/ifunc-impl-list.c: Likewise.
11298 * misc/Makefile (routines): Add ifunc-impl-list.
11299 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11300 * string/test-string.h: Include <ifunc-impl-list.h>.
11301 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11302 impl_array): New variables.
11303 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11305 (test_init): Call __libc_ifunc_impl_list to initialize
11306 func_list if TEST_IFUNC and TEST_NAME are defined.
11308 * string/Makefile (strop-tests): Add bcopy and bzero.
11309 * string/test-bcopy.c: New file.
11310 * string/test-bzero.c: Likewise.
11311 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11313 * string/test-memset.c: Support bzero test if TEST_BZERO is
11315 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11317 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11319 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11322 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11324 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11325 * configure: Regenerated.
11327 * Makeconfig (+link-static-before-libc): Don't include
11328 $(link-static-libc).
11330 * libio/libio.h (_IO_pos_t): Remove.
11332 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11334 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11337 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11339 * crypt/crypt-entry.c: Include fips-private.h.
11340 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11341 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11342 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11343 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11345 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11347 * crypt/crypt-private.h: Include stdbool.h.
11348 (_ufc_setup_salt_r): Return bool.
11349 * crypt/crypt-entry.c: Include errno.h.
11350 (__crypt_r): Return NULL with EINVAL for bad salt.
11351 * crypt/crypt_util.c (bad_for_salt): New.
11352 (_ufc_setup_salt_r): Check that salt is long enough and within
11353 the specified alphabet.
11354 * crypt/badsalttest.c: New file.
11355 * crypt/Makefile (tests): Add it.
11356 ($(objpfx)badsalttest): New.
11358 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11360 * NEWS: Add entry for BZ #14602.
11362 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11364 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11366 * math/libm-test.inc: Update comment listing what functions and
11368 (isgreater_test): New function.
11369 (isgreaterequal_test): Likewise.
11370 (isless_test): Likewise.
11371 (islessequal_test): Likewise.
11372 (islessgreater_test): Likewise.
11373 (isunordered_test): Likewise.
11374 (main): Call the new functions.
11376 2012-10-09 Roland McGrath <roland@hack.frob.com>
11378 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11379 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11380 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11381 * sysdeps/i386/configure: Regenerated.
11382 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11383 * sysdeps/mach/configure: Regenerated.
11384 * sysdeps/mach/hurd/configure: Regenerated.
11385 * sysdeps/powerpc/configure: Regenerated.
11386 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11387 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11388 * sysdeps/s390/s390-32/configure: Regenerated.
11389 * sysdeps/s390/s390-64/configure: Regenerated.
11390 * sysdeps/sh/configure: Regenerated.
11391 * sysdeps/sparc/configure: Regenerated.
11392 * sysdeps/unix/sysv/linux/configure: Regenerated.
11393 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11394 * sysdeps/x86_64/configure: Regenerated.
11396 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11397 defined. Don't check if MAP is NULL.
11399 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11401 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11402 (_G_stat64): Likewise.
11403 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11404 (_G_stat64): Likewise.
11405 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11406 instead of struct _G_stat64.
11407 * libio/fileops.c (mmap_remap_check): Likewise.
11408 (decide_maybe_mmap): Likewise.
11409 (_IO_new_file_seekoff): Likewise.
11410 (_IO_file_stat): Likewise.
11411 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11413 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11414 instead of struct _G_stat64.
11415 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11417 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11420 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11422 (CHECK_EOL): New macro.
11423 (two_way_short_needle): Check beginning of haystack for EOL. Use
11425 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11426 Replace with CHECK_EOL.
11427 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11428 Replace with CHECK_EOL.
11430 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11432 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11434 * math/libm-test.inc: Update comment listing what functions and
11436 (finite_test): New function.
11437 (isinf_test): Likewise.
11438 (isnan_test): Likewise.
11439 (fpclassify_test): Test subnormal input.
11440 (isfinite_test): Likewise.
11441 (isnormal_test): Likewise.
11442 (main): Call the new functions.
11444 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11447 * Makerules (%.dynsym): Force C locale when running
11448 $(OBJDUMP) --dynamic-syms.
11450 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11452 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11455 2012-10-06 David S. Miller <davem@davemloft.net>
11457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11458 upper 32-bits of the length value in %o2 since we use branch-on-register
11459 tests which consider the entire 64-bit register.
11461 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11463 * string/test-strstr.c (check2): Add a test for page boundary.
11465 2012-10-05 David S. Miller <davem@davemloft.net>
11467 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11468 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11470 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11472 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11473 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11474 and bzero when HWCAP_SPARC_CRYPTO is present.
11476 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11479 * string/test-strstr.c (check2): New function.
11480 (test_main): Call check2.
11482 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11484 * string/bug-strcasestr1.c (do_test): Moved to ...
11485 * string/test-strcasestr.c (check1): Here. New function.
11486 (do_one_test): Break out result checking code into ...
11487 (check_result): This. New function.
11488 (do_one_test): Call check_result.
11489 (test_main): Call check1.
11490 * string/bug-strchr1.c (do_test): Moved to ...
11491 * string/test-strchr.c (check1): Here. New function.
11492 (do_one_test): Break out result checking code into ...
11493 (check_result): This. New function.
11494 (do_one_test): Call check_result.
11495 (test_main): Call check1.
11496 * string/bug-strstr1.c (main): Moved to ...
11497 * string/test-strstr.c (check1): Here. New function.
11498 (do_one_test): Break out result checking code into ...
11499 (check_result): This. New function.
11500 (do_one_test): Call check_result.
11501 (test_main): Call check1.
11502 * string/bug-strcasestr1.c: Removed.
11503 * string/bug-strchr1.c: Likewise.
11504 * string/bug-strstr1.c: Likewise.
11506 * elf/Makefile (dl-routines): Add hwcaps.
11507 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11508 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11509 (_dl_important_hwcaps): Moved to ...
11510 * elf/dl-hwcaps.c: Here. New file.
11511 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11514 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11515 if IS_IN_rtld isn't defined.
11517 * elf/dl-support.c (_dl_sysinfo_map): New.
11518 Include "get-dynamic-info.h" and "setup-vdso.h".
11519 (_dl_non_dynamic_init): Call setup_vdso.
11520 * elf/dynamic-link.h: Don't include <assert.h>.
11521 (elf_get_dynamic_info): Moved to ...
11522 * elf/get-dynamic-info.h: Here. New file.
11523 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11524 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11525 * elf/setup-vdso.h: Here. New file.
11526 * elf/rtld.c: Include "setup-vdso.h".
11527 (dl_main): Call setup_vdso.
11529 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11531 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11532 creal in comment listing functions tested. List finite, isinf,
11533 isnan, isless, islessequal, isgreater, isgreaterequal,
11534 islessgreater, isunordered, lgamma_r and pow10 as functions and
11535 macros not tested. Mention which functions not tested are aliases
11536 for other functions. Fix typo. Note that signs of NaNs are not
11539 * scripts/config.guess: Update from config.git.
11540 * scripts/config.sub: Likewise.
11542 2012-10-04 Roland McGrath <roland@hack.frob.com>
11544 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11545 * misc/madvise.c (madvise): Renamed to __madvise.
11546 Make madvise a weak alias.
11547 * include/sys/mman.h: Declare __madvise.
11548 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11549 * sysdeps/unix/syscalls.list
11550 (madvise): Make __madvise the strong name, and madvise a weak alias.
11551 * sysdeps/unix/sysv/linux/syscalls.list
11552 (madvise, mmap): Remove redundant entries.
11553 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11554 * malloc/malloc.c (mtrim): Likewise.
11555 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11557 2012-10-03 Roland McGrath <roland@hack.frob.com>
11559 * sysdeps/mach/hurd/dl-cache.c: File removed.
11560 * config.h.in (USE_LDCONFIG): New #undef.
11561 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11562 * configure: Regenerated.
11563 * elf/Makefile (dl-routines): Add dl-cache only under
11564 [$(use-ldconfig) = yes].
11565 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11566 cache on [USE_LDCONFIG].
11567 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11569 * elf/rtld.c (dl_main): Likewise.
11571 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11573 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11574 _SC_LEVEL4_CACHE_LINESIZE.
11576 2012-10-03 Roland McGrath <roland@hack.frob.com>
11578 * sysdeps/unix/bsd/confstr.h: File removed.
11580 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11582 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11585 2012-10-02 Roland McGrath <roland@hack.frob.com>
11587 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11588 Make 'mapoff' field ElfW(Off) rather than off_t.
11590 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11592 * nscd/Makefile: Remove nscd-cflags and all its users.
11593 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11594 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11597 * malloc.c (malloc_printerr): Clarify error message.
11599 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11603 Set bit_FMA_Usable if FMA is supported.
11604 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11606 (bit_FMA4_Usable): Updated.
11607 (index_FMA_Usable): New macro.
11608 (CPUID_FMA): Likewise
11609 (HAS_FMA): Defined with bit_FMA_Usable.
11611 2012-10-01 Roland McGrath <roland@hack.frob.com>
11613 * bits/types.h (__swblk_t): Type removed.
11614 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11615 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11617 (__SWBLK_T_TYPE): Likewise.
11618 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11619 (__SWBLK_T_TYPE): Likewise.
11620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11621 (__SWBLK_T_TYPE): Likewise.
11622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11623 (__SWBLK_T_TYPE): Likewise.
11625 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11626 Honza Horak <hhorak@redhat.com>
11628 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11629 (xdr_mapname): Use YPMAXMAP as maxsize.
11630 (xdr_peername): Use YPMAXPEER as maxsize.
11631 (xdr_keydat): Use YPAXRECORD as maxsize.
11632 (xdr_valdat): Use YPMAXRECORD as maxsize.
11634 2012-10-01 Roland McGrath <roland@hack.frob.com>
11636 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11638 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11639 * csu/init-first.c: ... here.
11640 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11641 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11642 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11643 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11644 * sysdeps/i386/init-first.c: File removed.
11645 * sysdeps/sh/init-first.c: File removed.
11647 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11651 if x * y might underflow to zero and z is zero.
11652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11654 * math/libm-test.inc (min_subnorm_value): New variable.
11655 (fma_test): Add more tests.
11656 (fma_test_towardzero): Likewise.
11657 (fma_test_downward): Likewise
11658 (fma_test_upward): Likewise.
11659 (initialize): Set min_subnorm_value.
11661 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11666 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11667 mode for addition resulting in exact zero.
11668 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11673 * math/libm-test.inc (fma_test): Add more tests.
11674 (fma_test_towardzero): New function.
11675 (fma_test_downward): Likewise.
11676 (fma_test_upward): Likewise.
11677 (main): Call the new functions.
11679 2012-09-28 David S. Miller <davem@davemloft.net>
11681 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11683 2012-09-28 Roland McGrath <roland@hack.frob.com>
11685 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11686 instead of SIGALRM.
11688 * sysdeps/gnu/_G_config.h: Moved to ...
11689 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11690 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11691 * sysdeps/generic/_G_config.h: ... here.
11693 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11695 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11697 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11698 Conditionalize target on [libnss_test1.so-version].
11700 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11702 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11703 (elfobjdir): Move out of conditionals.
11705 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11706 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11707 (__nss_lookup_function): Conditionalize label remove_from_tree on
11708 [!DO_STATIC_NSS || SHARED], matching its only use.
11710 2012-09-28 David S. Miller <davem@davemloft.net>
11712 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11713 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11715 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11717 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11719 when HWCAP_SPARC_CRYPTO is present.
11721 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11723 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11725 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11728 * stdio-common/vfprintf.c (process_string_arg): Revert
11731 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11733 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11735 * stdio-common/tst-sprintf.c: Include <locale.h>
11736 (main): Test sprintf's handling of incomplete multibyte
11739 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11741 * elf/dl-runtime.c (VERSYMIDX): Removed.
11742 * elf/dl-version.c (VERSYMIDX): Likewise.
11743 * elf/do-rel.h (VERSYMIDX): Likewise.
11744 (VALIDX): Likewise.
11745 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11746 * elf/rtld.c (VALIDX): Likewise.
11747 (ADDRIDX): Likewise.
11748 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11749 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11750 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11751 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11752 (VALIDX): Likewise.
11753 (ADDRIDX): Likewise.
11755 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11757 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11759 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11762 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11764 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11765 addresses are in the same scope as 192.0.2/24.
11766 * posix/gai.conf: Document new scope table defaults.
11768 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11771 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11772 for ftell. Compute offsets from write pointers instead.
11773 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11775 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11778 * libio/Makefile (tests): New test case tst-fseek.
11779 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11780 combination works in wide mode.
11781 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11782 state when the external buffer state changes.
11784 2012-09-27 David S. Miller <davem@davemloft.net>
11787 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11788 pass reloc->r_addend in as the 'high' argument to
11789 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11793 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11795 * rt/tst-aio2.c: Include <pthread.h>.
11796 * rt/tst-aio3.c: Likewise.
11798 2012-09-27 Steve Ellcey <sellcey@mips.com>
11800 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11802 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11804 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11805 contents on [SHARED].
11807 2012-09-26 Marek Polacek <polacek@redhat.com>
11811 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11812 for C++ and GCC <4.3 as well as for non GCC compilers.
11814 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11818 2012-09-25 Roland McGrath <roland@hack.frob.com>
11820 * Makefile.in (all, install): Declare with .PHONY.
11821 Reported by Michael Hope <michael.hope@linaro.org>.
11823 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11825 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11826 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11828 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11830 (sydep_routines): Add the new and the internal functions.
11831 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11832 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11834 (GLIBC_2.17): Add the new function.
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11836 (GLIBC_2.17): Likewise.
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11838 (GLIBC_2.17): Likewise.
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11840 (GLIBC_2.17): Likewise.
11841 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11843 2012-09-25 Alan Modra <amodra@gmail.com>
11845 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11846 Add release barrier before setting once_control to say
11847 initialisation is done. Add hints on lwarx. Use macro in
11849 (clear_once_control): Add release barrier.
11851 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11854 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11856 * math/s_clog10.c (__clog10): Likewise.
11857 * math/s_clog10f.c (__clog10f): Likewise.
11858 * math/s_clog10l.c (__clog10l): Likewise.
11859 * math/s_clogf.c (__clogf): Likewise.
11860 * math/s_clogl.c (__clogl): Likewise.
11861 * math/Makefile (libm-calls): Add x2y2m1.
11862 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11863 (__x2y2m1): Likewise.
11864 (__x2y2m1l): Likewise.
11865 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11866 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11869 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11870 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11871 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11872 * sysdeps/i386/fpu/libm-test-ulps: Update.
11873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11876 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11877 int as type of variable DEPTH.
11878 (glob): Use size_t instead of int as type of variables NEWCOUNT
11881 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11883 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11884 Add s_sincosf-sse2.
11885 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11886 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11887 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11888 macros for using routine as __sincosf_ia32.
11889 Use macro for function declaration and weak_alias.
11890 * sysdeps/i386/fpu/libm-test-ulps: Update.
11892 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11895 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11896 subnormal argument.
11897 * math/s_cexpf.c (__cexpf): Likewise.
11898 * math/s_csinf.c (__csinf): Likewise.
11899 * math/s_csinhf.c (__csinhf): Likewise.
11900 * math/s_ctanf.c (__ctanf): Likewise.
11901 * math/s_ctanhf.c (__ctanhf): Likewise.
11902 * math/s_ccosh.c (__ccoshf): Likewise.
11903 * math/s_cexp.c (__cexpl): Likewise.
11904 * math/s_csin.c (__csin): Likewise.
11905 * math/s_csinh.c (__csinh): Likewise.
11906 * math/s_ctan.c (__ctan): Likewise.
11907 * math/s_ctanh.c (ctanh): Likewise.
11908 * math/s_ccoshl.c (__ccoshl): Likewise.
11909 * math/s_cexpl.c (__cexpl): Likewise.
11910 * math/s_csinl.c (__csinl): Likewise.
11911 * math/s_csinhl.c (__csinhl): Likewise.
11912 * math/s_ctanl.c (__ctanl): Likewise.
11913 * math/s_ctanhl.c (__ctanhl): Likewise.
11915 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11917 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11918 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11919 (_IO_off_t): Define to __off_t, not _G_off_t.
11920 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11921 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11922 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11923 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11924 type of __dummy and __dummy2 fields.
11925 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11926 (_G_ssize_t): Likewise.
11927 (_G_off_t): Likewise.
11928 (_G_pid_t): Likewise.
11929 (_G_uid_t): Likewise.
11930 (_G_wchar_t): Likewise.
11931 (_G_wint_t): Likewise.
11932 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11933 (_G_ssize_t): Likewise.
11934 (_G_off_t): Likewise.
11935 (_G_pid_t): Likewise.
11936 (_G_uid_t): Likewise.
11937 (_G_wchar_t): Likewise.
11938 (_G_wint_t): Likewise.
11939 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11940 (_G_ssize_t): Likewise.
11941 (_G_off_t): Likewise.
11942 (_G_pid_t): Likewise.
11943 (_G_uid_t): Likewise.
11944 (_G_wchar_t): Likewise.
11945 (_G_wint_t): Likewise.
11947 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11949 * malloc/arena.c: Include malloc-sysdep.h.
11950 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11951 is sufficient to shrink the heap or an unmap is needed.
11952 * sysdeps/generic/malloc-sysdep.h: New file. Define
11953 new function check_may_shrink_heap.
11954 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11955 new function check_may_shrink_heap.
11957 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11959 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11962 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11964 * catgets/test-gencat.sh: Add "set -e".
11965 * elf/tst-pathopt.sh: Likewise.
11966 * grp/tst_fgetgrent.sh: Likewise.
11967 * iconvdata/run-iconv-test.sh: Likewise.
11968 * intl/tst-gettext.sh: Likewise.
11969 * intl/tst-gettext2.sh: Likewise.
11970 * intl/tst-gettext4.sh: Likewise.
11971 * intl/tst-gettext6.sh: Likewise.
11972 * intl/tst-translit.sh: Likewise.
11973 * io/ftwtest-sh: Likewise.
11974 * libio/test-freopen.sh: Likewise.
11975 * malloc/tst-mtrace.sh: Likewise.
11976 * posix/globtest.sh: Likewise.
11977 * posix/tst-getconf.sh: Likewise.
11978 * posix/wordexp-tst.sh: Likewise.
11979 * stdio-common/tst-printf.sh: Likewise.
11980 * stdio-common/tst-unbputc.sh: Likewise.
11981 * stdlib/tst-fmtmsg.sh: Likewise.
11982 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11983 * catgets/Makefile: Do not specify -e option when running
11984 testsuite shell scripts.
11985 * elf/Makefile: Likewise.
11986 * grp/Makefile: Likewise.
11987 * iconvdata/Makefile: Likewise.
11988 * intl/Makefile: Likewise.
11989 * io/Makefile: Likewise.
11990 * libio/Makefile: Likewise.
11991 * malloc/Makefile: Likewise.
11992 * posix/Makefile: Likewise.
11993 * stdio-common/Makefile: Likewise.
11994 * stdlib/Makefile: Likewise.
11995 * sysdeps/x86_64/Makefile: Likewise.
11997 * io/ftwtest-sh: Add copyright header.
11998 * posix/globtest.sh: Likewise.
11999 * posix/tst-getconf.sh: Likewise.
12000 * posix/wordexp-tst.sh: Likewise.
12001 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12003 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12006 * Makeconfig (+link): Defined as $(+link-static) if
12007 $(build-shared) isn't yes.
12008 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12010 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12012 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12015 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12016 new chunk size with MALLOC_ALIGN_MASK.
12018 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12021 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12023 (__printf_fphex): Determine rounding using get_rounding_mode and
12025 * stdio-common/tst-printf-round.c (struct hex_test): New
12027 (hex_tests): New variable.
12028 (test_hex_in_one_mode): New function.
12029 (do_test): Also run tests for hex float output.
12031 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12033 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12034 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12035 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12036 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12037 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12038 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12039 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12040 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12042 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12044 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12045 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12046 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12047 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12049 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12052 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12054 * elf/tst-rtld-load-self.sh: New test.
12055 * elf/Makefile: Run it.
12057 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12059 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12060 (tst-writev-ENV): Remove.
12061 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12063 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12065 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12067 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12069 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12071 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12073 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12074 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12075 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12078 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12081 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12082 * config.make.in (have-cpp-asm-debuginfo): Removed.
12083 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12084 * configure: Regenerated.
12086 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12089 * stdio-common/printf_fp.c: Include <stdbool.h> and
12091 (___printf_fp): Determine rounding using get_rounding_mode and
12093 * stdio-common/tst-printf-round.c: New file.
12094 * stdio-common/Makefile (tests): Add tst-printf-round.
12095 (link-libm): New variable.
12096 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12098 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12101 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12102 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12104 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12107 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12109 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12110 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12111 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12112 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12114 2012-09-12 Joseph Myers <joseph@codesourcery.com>
12117 * include/rounding-mode.h: New file.
12118 * sysdeps/generic/get-rounding-mode.h: Likewise.
12119 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12120 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12121 (MAX_VALUE): New macro.
12122 (MIN_VALUE): Likewise.
12123 (overflow_value): New function.
12124 (underflow_value): Likewise.
12125 (round_and_return): Use overflow_value and underflow_value to
12126 determine return values in overflow and underflow cases. Use
12127 round_away to determine rounding depending on rounding mode.
12128 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12129 determine return values in overflow and underflow cases.
12130 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12131 (struct test_results): New structure.
12132 (struct test): Use struct test_results to store expected results
12133 for all rounding modes.
12134 (TEST): Include expected results for all rounding modes.
12135 (test_in_one_mode): New function.
12136 (do_test): Use test_in_one_mode to compute and check results.
12137 Check results for all rounding modes.
12138 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12141 2012-12-09 Allan McRae <allan@archlinux.org>
12143 * sysdeps/i386/fpu/libm-test-ulps: Update
12145 2012-09-11 Joseph Myers <joseph@codesourcery.com>
12147 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12148 (_G_int32_t): Likewise.
12149 (_G_uint16_t): Likewise.
12150 (_G_uint32_t): Likewise.
12151 (_G_HAVE_BOOL): Likewise.
12152 (_G_HAVE_ATEXIT): Likewise.
12153 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12154 (_G_HAVE_IO_FILE_OPEN): Likewise.
12155 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12156 (_G_int32_t): Likewise.
12157 (_G_uint16_t): Likewise.
12158 (_G_uint32_t): Likewise.
12159 (_G_HAVE_BOOL): Likewise.
12160 (_G_HAVE_ATEXIT): Likewise.
12161 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12162 (_G_HAVE_IO_FILE_OPEN): Likewise.
12163 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12164 (_G_int32_t): Likewise.
12165 (_G_uint16_t): Likewise.
12166 (_G_uint32_t): Likewise.
12167 (_G_HAVE_BOOL): Likewise.
12168 (_G_HAVE_ATEXIT): Likewise.
12169 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12170 (_G_HAVE_IO_FILE_OPEN): Likewise.
12172 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12174 * csu/libc-tls.c: Update copyright years.
12176 2012-09-10 Joseph Myers <joseph@codesourcery.com>
12178 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12179 [!_G_USING_THUNKS]: Remove conditional code.
12180 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12181 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12183 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12184 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12185 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12186 (_G_VTABLE_LABEL_PREFIX): Likewise.
12187 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12188 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12189 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12190 (_G_VTABLE_LABEL_PREFIX): Likewise.
12191 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12192 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12193 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12194 (_G_VTABLE_LABEL_PREFIX): Likewise.
12195 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12197 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12199 * libio/Makefile: Include ../Makeconfig before tests.
12200 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12201 only if $(build-shared) is yes.
12203 * iconv/gconv_db.c: Update copyright years.
12205 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12207 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12208 unwind info if defined PIC. Fix special cases description.
12209 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12211 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12213 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12215 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12217 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12219 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12222 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12223 (LDLIBS-tst-chk4): This.
12224 (LDFLAGS-tst-chk5): Renamed to ...
12225 (LDLIBS-tst-chk5): This.
12226 (LDFLAGS-tst-chk6): Renamed to ...
12227 (LDLIBS-tst-chk6): This.
12228 (LDFLAGS-tst-lfschk4): Renamed to ...
12229 (LDLIBS-tst-lfschk4): This.
12230 (LDFLAGS-tst-lfschk5): Renamed to ...
12231 (LDLIBS-tst-lfschk5): This.
12232 (LDFLAGS-tst-lfschk6): Renamed to ...
12233 (LDLIBS-tst-lfschk6): This.
12235 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12236 on $(common-objpfx)soversions.mk.
12238 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12241 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12244 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12246 * malloc/arena.c (arena_get_retry): New function that gets
12247 another arena for the caller to try its request on.
12248 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12249 current arena cannot fulfill the request.
12250 (__libc_memalign): Likewise.
12251 (__libc_memalign): Likewise.
12252 (__libc_pvalloc): Likewise.
12253 (__libc_calloc): Likewise.
12255 2012-09-05 John Tobey <john.tobey@gmail.com>
12258 * manual/arith.texi (Operations on Complex): Fix description
12259 of carg branch cut.
12261 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12264 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12268 * manual/memory.texi (Memory): Make order of menu items match
12271 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12273 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12274 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12275 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12277 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12279 * csu/libc-tls.c (static_dtv): Renamed to ...
12280 (_dl_static_dtv): This. Make it global.
12281 (_dl_initial_dtv): Removed.
12282 (__libc_setup_tls): Updated.
12283 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12284 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12287 2012-09-06 Petr Machata <pmachata@redhat.com>
12289 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12290 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12291 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12292 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12294 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12297 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12298 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12301 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12304 * Makeconfig (link-static-before-libc): Replace $(+prector)
12306 (link-static-after-libc): Replace $(+postctor) with
12308 (link-bounded): Replace $(+prector)/$(+postctor) with
12309 $(+prectorT)/$(+postctorT).
12310 (+prectorT): New macro.
12311 (+postctorT): Likewise.
12313 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12315 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12316 (round_str): Handle values above the maximum for IBM long double
12318 * stdlib/tst-strtod-round.c (tests): Regenerated.
12320 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12322 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12324 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12325 zarch_nohighgprs around the zarch optimized routines.
12326 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12327 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12328 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12331 2012-09-05 David S. Miller <davem@davemloft.net>
12333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12335 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12336 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12337 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12338 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12341 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12343 * malloc/arena.c: Fold copyright years.
12344 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12346 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12348 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12350 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12352 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12354 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12356 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12357 change internal state upon failure.
12359 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12361 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12362 * malloc/memusage.c (mmap): Likewise.
12363 (mmap64, mremap): Likewise. Adjust name in comment.
12365 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12367 * libio/fileops.c: Fix typos in comments.
12368 * libio/oldfileops.c: Likewise.
12369 * libio/wfileops.c: Likewise.
12371 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12374 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12375 (tst-malloc-usable-ENV): Set environment for test case.
12376 * malloc/hooks.c (malloc_check_get_size): New function to get
12378 * malloc/malloc.c (musable): Use malloc_check_get_size.
12379 * malloc/tst-malloc-usable.c: New test case.
12381 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12383 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12385 2012-09-05 Allan McRae <allan@archlinux.org>
12388 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12389 determine header location.
12390 * configure: Regenerated.
12392 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12394 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12396 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12397 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12399 (test): Regenerate.
12401 2012-09-04 David S. Miller <davem@davemloft.net>
12403 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12404 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12405 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12407 2012-09-04 Florian Weimer <fweimer@redhat.com>
12409 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12412 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12414 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12417 * libio/iogetdelim.c: Include <limits.h>.
12418 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12419 + len + 1 would overflow.
12421 2012-09-03 Andreas Jaeger <aj@suse.de>
12423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12424 * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12428 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12429 Add s_sinf-sse2, s_conf-sse2.
12431 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12432 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12433 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12434 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12436 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12437 for using routine as __sinf_ia32.
12438 Use macro for function declaration and weak_alias.
12439 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12440 for using routine as __cosf_ia32.
12441 Use macro for function declaration and weak_alias.
12443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12444 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12446 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12447 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12450 * math/libm-test.inc (cos_test): Add more test cases.
12451 (sin_test): Likewise.
12452 (sincos_test): Likewise.
12454 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12456 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12457 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12459 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12461 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12464 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12465 first element of the GOT.
12466 (elf_machine_load_address): Return the difference between
12467 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12469 2012-09-01 Allan McRae <allan@archlinux.org>
12472 * configure.in (AWK): Require gawk version 3.0 or later.
12473 * configure: Regenerated.
12475 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12477 * sysdeps/unix/sysv/linux/kernel-features.h
12478 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12479 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12480 [__NR_clock_getres]: Make code unconditional.
12481 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12482 (clock_getcpuclockid): Remove code left unreachable by removal of
12484 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12485 code unconditional.
12486 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12487 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12488 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12489 Make code unconditional.
12490 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12491 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12492 * sysdeps/unix/sysv/linux/clock_settime.c
12493 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12495 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12496 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12498 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12501 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12502 scripts/test-installation.pl.
12504 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12505 and $ld_so_version if it is set.
12507 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12510 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12511 failure if reading from procfs failed.
12512 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12514 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12516 * sysdeps/unix/sysv/linux/kernel-features.h
12517 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12518 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12519 Remove conditional code.
12520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12521 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12522 Remove conditional code.
12523 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12524 * sysdeps/unix/sysv/linux/i386/fxstat.c
12525 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12527 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12528 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12529 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12530 * sysdeps/unix/sysv/linux/i386/lxstat.c
12531 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12532 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12533 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12534 Remove conditional code.
12535 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12536 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12537 Remove conditional code.
12538 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12539 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12540 <kernel-features.h>.
12541 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12543 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12544 Remove conditional code.
12545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12546 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12547 Remove conditional.
12549 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12552 * NEWS: Add fixed bug number.
12554 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12557 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12558 underflowing exponent in case of negative sign.
12559 * stdlib/tst-strtod-round-data: Add more tests.
12560 * stdlib/tst-strtod-round.c (tests): Regenerated.
12563 * stdlib/strtod_l.c (NDIG): Remove.
12564 (HEXNDIG): Likewise.
12565 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12566 smallest representable value.
12567 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12568 lie within an exact representation of 1/2 ulp of the result.
12569 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12571 (TENS_P9_IDX): Define unconditionally.
12572 (TENS_P9_SIZE): Likewise.
12573 (TENS_P10_IDX): Likewise.
12574 (TENS_P10_SIZE): Likewise.
12575 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12576 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12577 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12578 entries for 10^2^13 and 10^2^14.
12579 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12580 (TENS_P13_IDX): Define.
12581 (TENS_P13_SIZE): Likewise.
12582 (TENS_P14_IDX): Likewise.
12583 (TENS_P14_SIZE): Likewise.
12584 (_fpioconst_pow10): Change array size to
12585 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12587 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12588 1024]: Add entries for 10^2^13 and 10^2^14.
12589 [LAST_POW10 > _LAST_POW10]: Remove #error.
12590 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12591 (_fpioconst_pow10): Change array size to
12592 FPIOCONST_POW10_ARRAY_SIZE.
12593 * stdlib/gen-fpioconst.c: New file.
12594 * stdlib/gen-tst-strtod-round.c: Likewise.
12595 * stdlib/tst-strtod-round-data: Likewise.
12596 * stdlib/tst-strtod-round.c: Likewise.
12597 * stdlib/Makefile (tests): Add tst-strtod-round.
12600 * stdlib/strtod_l.c: Include <stdint.h>.
12601 (NDEBUG): Do not define.
12602 (round_and_return): Change EXPONENT parameter to type intmax_t.
12603 Rearrange calculations to avoid internal overflow possibilities.
12604 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12605 Rearrange calculations to avoid internal overflow possibilities.
12606 Assert that number fits inside MPNSIZE limbs.
12607 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12608 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12609 calculations and add assertions to avoid internal overflow
12610 possibilities. Add casts to avoid signed/unsigned operations.
12611 * stdlib/tst-strtod-overflow.c: New file.
12612 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12614 2012-08-25 Marek Polacek <polacek@redhat.com>
12616 * time/time.h: Fix some typos in comments.
12618 2012-08-23 Roland McGrath <roland@hack.frob.com>
12620 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12621 * posix/tst-rfc3484-2.c: Likewise.
12622 * posix/tst-rfc3484-3.c: Likewise.
12624 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12626 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12627 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12629 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12632 #include of fxstatat64.c.
12634 2012-08-22 Roland McGrath <roland@hack.frob.com>
12636 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12637 * shadow/getspent_r.c: Likewise.
12638 * shadow/getspnam.c: Likewise.
12639 * shadow/getspnam_r.c: Likewise.
12640 * gshadow/getsgent.c: Likewise.
12641 * gshadow/getsgent_r.c: Likewise.
12642 * gshadow/getsgnam.c: Likewise.
12643 * gshadow/getsgnam_r.c: Likewise.
12644 * inet/getnetbyad.c: Likewise.
12645 * inet/getnetbyad_r.c: Likewise.
12646 * inet/getnetbynm.c: Likewise.
12647 * inet/getnetbynm_r.c: Likewise.
12648 * inet/getnetent.c: Likewise.
12649 * inet/getnetent_r.c: Likewise.
12650 * inet/getproto.c: Likewise.
12651 * inet/getproto_r.c: Likewise.
12652 * inet/getprtent.c: Likewise.
12653 * inet/getprtent_r.c: Likewise.
12654 * inet/getprtname.c: Likewise.
12655 * inet/getprtname_r.c: Likewise.
12656 * inet/getrpcbyname.c: Likewise.
12657 * inet/getrpcbyname_r.c: Likewise.
12658 * inet/getrpcbynumber.c: Likewise.
12659 * inet/getrpcbynumber_r.c: Likewise.
12660 * inet/getrpcent.c: Likewise.
12661 * inet/getrpcent_r.c: Likewise.
12662 * inet/getaliasent.c: Likewise.
12663 * inet/getaliasent_r.c: Likewise.
12664 * inet/getaliasname.c: Likewise.
12665 * inet/getaliasname_r.c: Likewise.
12666 * nscd/getgrgid_r.c: Likewise.
12667 * nscd/getgrnam_r.c: Likewise.
12668 * nscd/gethstbyad_r.c: Likewise.
12669 * nscd/gethstbynm3_r.c: Likewise.
12670 * nscd/getpwnam_r.c: Likewise.
12671 * nscd/getpwuid_r.c: Likewise.
12672 * nscd/getsrvbynm_r.c: Likewise.
12673 * nscd/getsrvbypt_r.c: Likewise.
12674 * nscd/gai.c: Likewise.
12676 * configure.in (build_nscd): New substituted variable, set
12677 by --disable-build-nscd and defaults to $use_nscd.
12678 * configure: Regenerated.
12679 * config.make.in (build-nscd): New substituted variable.
12680 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12681 Change conditional to require [$(build-nscd) = yes] as well.
12682 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12685 * configure.in (use_nscd): New substituted variable, set by
12686 --disable-nscd. If enabled, define USE_NSCD.
12687 * configure: Regenerated.
12688 * config.h.in: Add USE_NSCD.
12689 * config.make.in (use-nscd): New substituted variable.
12690 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12691 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12692 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12693 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12694 (CFLAGS-getgrnam_r.c): Likewise.
12695 (CFLAGS-initgroups.c): Likewise.
12696 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12697 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12699 * inet/getnetgrent_r.c
12700 (nscd_setnetgrent): New function, broken out of ...
12701 (setnetgrent): ... here. Call it.
12702 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12703 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12704 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12705 * nscd/Makefile (routines, aux): Move definitions after include of
12706 Makeconfig. Conditionalize on [$(use-nscd) != no].
12707 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12708 Conditionalize on [USE_NSCD].
12709 (is_nscd, nscd_init_cb): Likewise.
12710 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12711 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12712 * nss/nss_db/db-init.c: Likewise.
12713 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12715 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12716 (make_request): Use it.
12717 (cache_valid_p): New function.
12718 (__check_pf): Use it.
12719 * NEWS: Add item for --disable-nscd.
12721 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12723 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12724 to support sed >= 4.2.1-20-ga9bf076.
12725 * configure: Regenerated.
12727 2012-08-22 Roland McGrath <roland@hack.frob.com>
12729 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12730 Conditionalize whole body on [IREL].
12732 2012-08-22 Jeff Law <law@redhat.com>
12735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12736 if the family is PF_UNSPEC.
12738 2012-08-22 Mike Frysinger <vapier@gentoo.org>
12740 * Makerules (lib-version): Rename from V.
12741 (install-lib-nosubdir): Change V to lib-version.
12743 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12746 * powerpc32/power6/wcschr.c: New file.
12747 * powerpc32/power6/wcscpy.c: New file.
12748 * powerpc32/power6/wcsrchr.c: New file.
12749 * powerpc64/power6/wcschr.c: New file.
12750 * powerpc64/power6/wcscpy.c: New file.
12751 * powerpc64/power6/wcsrchr.c: New file.
12753 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12755 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12756 (two_way_short_needle): Use it.
12757 * string/strstr.c (AVAILABLE1_USES_J): Define.
12758 * string/strcasestr.c: Likewise.
12760 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12762 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12765 * NEWS: Add an entry.
12766 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12767 define their defaults.
12768 (two_way_short_needle): Detect end-of-string on-the-fly.
12769 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12770 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12771 * string/bug-strcasestr1.c: New test.
12772 * string/Makefile: Run it.
12774 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12777 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12778 the first character.
12780 2012-08-21 Roland McGrath <roland@hack.frob.com>
12782 * csu/elf-init.c (__libc_csu_irel): Function removed.
12783 * csu/libc-start.c (apply_irel): New function.
12784 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12786 2012-08-21 Joseph Myers <joseph@codesourcery.com>
12788 * sysdeps/unix/sysv/linux/kernel-features.h
12789 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12790 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12791 <kernel-features.h>.
12792 [__NR_fadvise64_64]: Make code unconditional.
12793 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12794 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12795 !__NR_fadvise64_64)]: Likewise.
12796 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12797 !__NR_fadvise64_64))]: Likewise.
12798 [__NR_fadvise64]: Make code unconditional.
12799 [!__NR_fadvise64]: Remove conditional code.
12800 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12801 <kernel-features.h>.
12802 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12804 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12807 not include <kernel-features.h>.
12808 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12810 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12812 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12813 include <kernel-features.h>.
12814 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12816 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12819 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12821 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12822 slight instruction rearrangements per scrollpipe analysis.
12823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12825 2012-08-20 Roland McGrath <roland@hack.frob.com>
12827 * manual/syslog.texi (syslog; vsyslog, closelog):
12828 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12829 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12831 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12832 DSOCAPS to match condition on defining it.
12834 2012-08-20 Joseph Myers <joseph@codesourcery.com>
12836 * sysdeps/unix/sysv/linux/kernel-features.h
12837 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12839 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12840 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12842 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12843 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12845 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12846 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12848 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12849 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12851 * sysdeps/unix/sysv/linux/kernel-features.h
12852 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12853 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12855 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12856 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12857 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12858 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12859 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12860 Make code unconditional.
12861 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12862 (__mmap64) [!__NR_mmap2]: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12864 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12865 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12866 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12867 [__NR_mmap2]: Make code unconditional.
12868 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12869 (__mmap64) [!__NR_mmap2]: Likewise.
12871 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12873 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12875 2012-08-18 Andreas Jaeger <aj@suse.de>
12877 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12879 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12881 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12882 * include/unistd.h (__have_sock_cloexec): Likewise.
12883 (__have_pipe2): Likewise.
12884 (__have_dup3): Likewise.
12886 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12889 * include/unistd.h (__have_pipe2): Change define into an extern int.
12890 (__have_dup3): Likewise.
12891 * socket/have_sock_cloexec.c: Include fcntl.h.
12892 (__have_pipe2): New variable.
12893 (__have_dup3): Likewise.
12895 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12897 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12899 2012-08-17 Marek Polacek <polacek@redhat.com>
12901 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12902 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12904 2012-08-17 Roland McGrath <roland@hack.frob.com>
12906 * configure.in: Add AC_SUBST for sysheaders.
12907 * configure: Regenerated.
12908 * config.make.in (sysheaders): New substituted variable.
12910 * sysdeps/unix/mkfifo.c: Moved ...
12911 * sysdeps/posix/mkfifo.c: ... here.
12912 * sysdeps/unix/mkfifoat.c: Moved ...
12913 * sysdeps/posix/mkfifoat.c: ... here.
12915 * sysdeps/unix/utime.c: Moved ...
12916 * sysdeps/posix/utime.c: ... here.
12918 * sysdeps/unix/time.c: Moved ...
12919 * sysdeps/posix/time.c: ... here.
12920 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12921 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12923 * sysdeps/unix/nice.c: Moved ...
12924 * sysdeps/posix/nice.c: ... here.
12926 * sysdeps/unix/alarm.c: Moved ...
12927 * sysdeps/posix/alarm.c: ... here.
12929 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12931 2012-08-17 Jeff Law <law@redhat.com>
12933 * intl/Makefile (codeset_mo): New variable.
12934 ($(codeset_mo)): New target.
12935 (tst-codeset.out): Depend on that. Remove explicit rule.
12936 (tst-gettext3.out, tst-gettext5.out): Likewise.
12937 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12938 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12939 * intl/tst-codeset.sh: Remove.
12940 * intl/tst-gettext3.sh: Likewise.
12941 * intl/tst-gettext5.sh: Likewise.
12943 2012-08-17 Roland McGrath <roland@hack.frob.com>
12945 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12946 * sysdeps/unix/syscalls.list: ... here.
12948 * sysdeps/posix/getaddrinfo.c
12949 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12950 (gaiconf_init, gaiconf_reload): Use them.
12951 [!_STATBUF_ST_NSEC]
12952 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12953 Define using time_t rather than struct timespec.
12955 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12956 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12958 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12960 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12961 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12964 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12965 __libc_cleanup_push argument.
12967 * bits/param.h: New file.
12968 * misc/sys/param.h: New file.
12969 * include/sys/param.h: New file.
12970 * misc/Makefile (headers): Add bits/param.h.
12971 * sysdeps/generic/sys/param.h: File removed.
12972 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12973 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12974 * sysdeps/mach/hurd/bits/param.h: New file.
12975 * sysdeps/mach/hurd/sys/param.h: File removed.
12977 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12980 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12982 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12983 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12986 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12987 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12988 rather than -D_IO_MTSAFE_IO conditionally.
12989 * stdio-common/Makefile (CPPFLAGS): Likewise.
12990 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12991 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12992 Use $(libio-mtsafe).
12993 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12994 of -D_IO_MTSAFE_IO.
12995 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12996 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12997 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12998 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12999 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13000 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13001 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13002 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13003 (CFLAGS-fread_u_chk.c): Likewise.
13004 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13005 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13006 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13007 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13008 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13009 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13010 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13011 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13012 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13014 * libio/Makefile: Test [$(libc-reentrant) = yes]
13015 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13018 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13019 * sysdeps/pthread/configure: File removed.
13020 * sysdeps/pthread/Makeconfig: New file.
13021 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13022 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13024 2012-08-16 Gary Benson <gbenson@redhat.com>
13026 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13027 unmapping the first object in a namespace.
13029 2012-08-16 Roland McGrath <roland@hack.frob.com>
13031 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13032 (__internal_setnetgrent): ... this. Add internal_function to
13033 definition. Add libc_hidden_def.
13034 (setnetgrent): Update caller.
13035 (internal_endnetgrent): Renamed to ...
13036 (__internal_endnetgrent): ... this. Add internal_function to
13037 definition. Add libc_hidden_def.
13038 (endnetgrent): Update caller.
13039 (internal_getnetgrent_r): Renamed to ...
13040 (__internal_getnetgrent_r): ... this. Add internal_function to
13041 definition. Add libc_hidden_def.
13042 (__getnetgrent_r): Update caller.
13043 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13045 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13047 * stdlib/longlong.h: Update from GCC.
13049 2012-08-16 Roland McGrath <roland@hack.frob.com>
13051 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13052 on _QL, which is set by umul_ppmm but never used.
13053 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13054 variables, which are set by GMP macros but never used.
13055 * stdio-common/_itowa.c (_itowa): Likewise.
13056 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13057 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13059 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13061 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13062 struct La_sh_regs is not constant.
13063 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13064 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13065 and struct La_sparc64_regs are not constant.
13067 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13069 * sysdeps/unix/sysv/linux/kernel-features.h
13070 (__ASSUME_POSIX_TIMERS): Remove.
13071 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13072 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13073 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13074 Make code unconditional.
13075 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13076 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13077 Make code unconditional.
13078 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13079 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13080 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13081 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13082 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13083 Make code unconditional.
13084 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13085 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13086 (__libc_missing_posix_timers): Remove.
13088 2012-08-15 Roland McGrath <roland@hack.frob.com>
13090 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13091 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13093 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13095 * elf/dl-sym.c: Include <stdlib.h>.
13097 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13098 constants, which avoids warnings in 32-bit builds.
13100 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13101 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13103 * misc/lseek.c: File moved to ...
13104 * io/lseek.c: ... here.
13106 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13108 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13109 shifting LEN more than 31 bits at once.
13111 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13114 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13115 segmentation fault for a case of two empty input strings.
13116 * string/test-strncasecmp.c (check1): Renamed to...
13117 (bz12205): ...this.
13118 (bz14195): Add new testcase for two empty input strings and N > 0.
13119 (test_main): Call new testcase, adapt for renamed function.
13121 2012-08-15 Andreas Jaeger <aj@suse.de>
13124 * crypt/md5test2.c: New test, based on test supplied by Serge
13125 Belyshev <belyshev@depni.sinp.msu.ru>.
13126 * crypt/Makefile (xtests): Add md5test-giant..
13127 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13129 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13132 * crypt/md5.c (md5_process_block): Don't assume the buffer
13133 length is less than 2**32.
13134 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13135 length is less than 2**64.
13137 2012-08-15 Roland McGrath <roland@hack.frob.com>
13139 * string/str-two-way.h: Include <sys/param.h>.
13140 (MAX): Macro removed.
13142 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13143 Move #define and #undef of memmove to just before and after
13144 including <string.h>.
13146 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13147 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13148 and after including <string.h>. Move declarations of
13149 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13150 to before #include "string/memmove.c".
13152 * include/dirent.h: Declare __getdirentries.
13154 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13155 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13157 2012-08-14 Mike Frysinger <vapier@gentoo.org>
13159 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13160 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13161 * sysdeps/i386/configure: Regenerated.
13162 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13163 STABS_CURRENT_FILE, and STABS_FUN.
13164 (END): Remove call to STABS_FUN_END.
13165 (STABS_CURRENT_FILE1): Delete.
13166 (STABS_CURRENT_FILE): Likewise.
13167 (STABS_FUN): Likewise.
13168 (STABS_FUN_END): Likewise.
13169 (STABS_FUN2): Likewise.
13170 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13171 * sysdeps/x86_64/configure: Regenerated.
13173 2012-08-14 Roland McGrath <roland@hack.frob.com>
13175 * elf/dl-open.c: Include <atomic.h>.
13176 * elf/dl-lookup.c: Likewise.
13178 2012-08-14 Joseph Myers <joseph@codesourcery.com>
13180 * sysdeps/unix/sysv/linux/kernel-features.h
13181 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13182 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13184 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13186 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13187 condition on __ASSUME_CLONE_THREAD_FLAGS.
13189 2012-08-14 Andreas Jaeger <aj@suse.de>
13191 * sysdeps/i386/fpu/libm-test-ulps: Update.
13193 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13195 * include/atomic.h (atomic_exchange_and_add): Split into ...
13196 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13199 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13203 2012-08-13 Jeff Law <law@redhat.com>
13205 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13206 null byte in the output string.
13208 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13210 * sysdeps/unix/sysv/linux/kernel-features.h
13211 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13212 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13213 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13214 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13215 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13216 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13217 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13219 2012-08-09 Jeff Law <law@redhat.com>
13222 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13223 When avoid_arena is set, don't retry in the that arena. Pick the
13224 next one, whatever it might be.
13225 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13226 (arena_lock): Pass in new parameter to arena_get2.
13227 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13229 (__libc_malloc): Unify retrying after main arena failure with
13230 __libc_memalign version.
13231 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13233 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13236 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13237 to __redirect_strstr.
13238 (__strstr_sse42): Use typeof __redirect_strstr.
13239 (__strstr_ia32): Likewise.
13240 (__libc_strstr): New prototype.
13241 (strstr): Renamed to ...
13242 (__libc_strstr): This.
13243 (strstr): New strong alias of __libc_strstr.
13244 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13248 (__libc_time): New prototype.
13249 (time_ifunc): Replace time with __libc_time.
13250 (time): New strong alias and hidden definition of __libc_time.
13251 (__GI_time): Remove strong alias.
13252 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13253 Include <stddef.h>.
13254 (memmove): Redefined to __redirect_memmove.
13255 (__memmove_sse2): Use typeof __redirect_memmove.
13256 (__memmove_ssse3): Likewise.
13257 (__memmove_ssse3_back): Likewise.
13258 (__libc_memmove): New prototype.
13259 (memmove): Renamed to ...
13260 (__libc_memmove): This.
13261 (memmove): New strong alias of __libc_memmove.
13263 2012-08-08 Mark Salter <msalter@redhat.com>
13266 (R_MN10300_TLS_GD): Define.
13267 (R_MN10300_TLS_LD): Likewise.
13268 (R_MN10300_TLS_LDO): Likewise.
13269 (R_MN10300_TLS_GOTIE): Likewise.
13270 (R_MN10300_TLS_IE): Likewise.
13271 (R_MN10300_TLS_LE): Likewise.
13272 (R_MN10300_TLS_DTPMOD): Likewise.
13273 (R_MN10300_TLS_DTPOFF): Likewise.
13274 (R_MN10300_TLS_TPOFF): Likewise.
13275 (R_MN10300_SYM_DIFF): Likewise.
13276 (R_MN10300_ALIGN): Likewise.
13277 (R_MN10300_NUM): Update.
13279 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13284 2012-08-08 Roland McGrath <roland@hack.frob.com>
13286 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13288 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13289 sysdeps/unix -> sysdeps/posix move.
13290 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13292 2012-08-07 Allan McRae <allan@archlinux.org>
13295 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13296 (SUNOS_CPP): Likewise.
13297 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13299 (open_input): Call CPP using execvp.
13301 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13303 * sysdeps/unix/sysv/linux/kernel-features.h
13304 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13305 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13306 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13307 (__ASSUME_WAITID_SYSCALL): Likewise.
13308 * sysdeps/unix/sysv/linux/dl-execstack.c
13309 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13310 code unconditional.
13311 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13313 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13314 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13315 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13317 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13319 [__ASSUME_WAITID_SYSCALL]: Likewise.
13320 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13322 2012-08-07 Roland McGrath <roland@hack.frob.com>
13324 * sysdeps/unix/closedir.c: Renamed to ...
13325 * sysdeps/posix/closedir.c: ... here.
13326 * sysdeps/unix/dirfd.c: Renamed to ...
13327 * sysdeps/posix/dirfd.c: ... here.
13328 * sysdeps/unix/dirstream.h: Renamed to ...
13329 * sysdeps/posix/dirstream.h: ... here.
13330 * sysdeps/unix/fdopendir.c: Renamed to ...
13331 * sysdeps/posix/fdopendir.c: ... here.
13332 * sysdeps/unix/opendir.c: Renamed to ...
13333 * sysdeps/posix/opendir.c: ... here.
13334 * sysdeps/unix/readdir.c: Renamed to ...
13335 * sysdeps/posix/readdir.c: ... here.
13336 * sysdeps/unix/readdir_r.c: Renamed to ...
13337 * sysdeps/posix/readdir_r.c: ... here.
13338 * sysdeps/unix/rewinddir.c: Renamed to ...
13339 * sysdeps/posix/rewinddir.c: ... here.
13340 * sysdeps/unix/seekdir.c: Renamed to ...
13341 * sysdeps/posix/seekdir.c: ... here.
13342 * sysdeps/unix/telldir.c: Renamed to ...
13343 * sysdeps/posix/telldir.c: ... here.
13344 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13345 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13346 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13347 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13349 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13350 * bits/fcntl.h: ... here.
13352 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13354 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13355 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13356 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13357 (struct flock): Move l_start, l_len to the beginning.
13358 Use __pid_t for l_pid.
13359 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13360 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13361 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13362 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13363 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13364 [__USE_LARGEFILE64] (struct flock64): New type.
13365 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13367 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13368 * bits/dirent.h: ... here.
13370 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13371 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13373 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13376 Change from 2.6.0 to 2.6.16.
13377 * sysdeps/unix/sysv/linux/configure: Regenerated.
13378 * sysdeps/unix/sysv/linux/kernel-features.h
13379 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13380 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13382 (__ASSUME_UTIMES): Likewise.
13383 (__ASSUME_CLONE_STOPPED): Remove.
13384 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13385 architectures, not kernel version.
13386 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13387 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13388 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13389 (__ASSUME_WAITID_SYSCALL): Likewise.
13390 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13391 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13392 * README: State 2.6.16 as minimum Linux kernel version. Do not
13393 refer to older versions.
13395 2012-08-06 Roland McGrath <roland@hack.frob.com>
13397 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13398 Define alphasort64 as an alias.
13399 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13400 Define versionsort64 as an alias.
13401 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13402 Define scandir64 as an alias.
13403 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13404 Define scandirat64 as an alias.
13405 * dirent/alphasort64.c (alphasort64):
13406 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13407 * dirent/versionsort64.c: Likewise.
13408 * dirent/scandir64.c: Likewise.
13409 * dirent/scandirat64.c: Likewise.
13410 * sysdeps/wordsize-64/alphasort.c: File removed.
13411 * sysdeps/wordsize-64/alphasort64.c: File removed.
13412 * sysdeps/wordsize-64/scandir.c: File removed.
13413 * sysdeps/wordsize-64/scandir64.c: File removed.
13414 * sysdeps/wordsize-64/scandirat.c: File removed.
13415 * sysdeps/wordsize-64/scandirat64.c: File removed.
13416 * sysdeps/wordsize-64/versionsort.c: File removed.
13417 * sysdeps/wordsize-64/versionsort64.c: File removed.
13418 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13420 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13421 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13422 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13423 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13425 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13427 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13429 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13431 [defined __arch64__ || defined __sparcv9]
13432 (__INO_T_MATCHES_INO64_T): New macro.
13433 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13434 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13435 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13436 * sysdeps/unix/sysv/linux/bits/dirent.h
13437 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13438 (_DIRENT_MATCHES_DIRENT64): New macro.
13440 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13441 Define lockf64 as an alias.
13442 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13443 Define fseeko64 as an alias.
13444 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13445 Define ftello64 as an alias.
13446 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13447 Define _IO_fgetpos64 and fgetpos64 as aliases.
13448 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13449 Define _IO_fsetpos64 and fsetpos64 as aliases.
13450 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13451 Conditionalize body on this.
13452 * libio/fseeko64.c: Likewise.
13453 * libio/ftello64.c: Likewise.
13454 * libio/iofgetpos64.c: Likewise.
13455 * libio/iofsetpos64.c: Likewise.
13456 * sysdeps/wordsize-64/lockf.c: File removed.
13457 * sysdeps/wordsize-64/lockf64.c: File removed.
13458 * sysdeps/wordsize-64/fseeko.c: File removed.
13459 * sysdeps/wordsize-64/fseeko64.c: File removed.
13460 * sysdeps/wordsize-64/ftello.c: File removed.
13461 * sysdeps/wordsize-64/ftello64.c: File removed.
13462 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13463 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13464 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13465 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13467 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13468 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13469 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13470 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13471 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13472 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13473 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13474 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13475 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13477 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13479 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13480 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13481 [defined __arch64__ || defined __sparcv9]
13482 (__OFF_T_MATCHES_OFF64_T): New macro.
13483 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13484 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13486 (__OFF_T_MATCHES_OFF64_T): New macro.
13488 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13490 * stdlib/secure-getenv.c (__secure_getenv): Replace
13491 GLIBC_2_16 with GLIBC_2_17.
13493 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13495 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13496 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13498 2012-08-03 David S. Miller <davem@davemloft.net>
13500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13502 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13504 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13506 (__ASSUME_CORRECT_SI_PID): Likewise.
13507 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13508 (__ASSUME_TMPFS_NAME): Likewise.
13509 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13510 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13511 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13512 (HAVE_AUX_SECURE): Make definition unconditional.
13513 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13514 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13516 2012-08-03 Roland McGrath <roland@hack.frob.com>
13518 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13519 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13520 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13521 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13522 __eloop_threshold instead of SYMLOOP_MAX.
13524 * sysdeps/generic/eloop-threshold.h: New file.
13525 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13527 * elf/chroot_canon.c (chroot_canon): Likewise.
13529 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13533 Change to 2.6.0 everywhere.
13534 * sysdeps/unix/sysv/linux/configure: Regenerated.
13535 * sysdeps/unix/sysv/linux/kernel-features.h
13536 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13537 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13539 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13540 (__ASSUME_FUTEX_REQUEUE): Remove.
13541 (__ASSUME_STATFS64): Define unconditionally.
13542 (__ASSUME_AT_SECURE): Likewise.
13543 (__ASSUME_CORRECT_SI_PID): Likewise.
13544 (__ASSUME_TGKILL): Define without depending on kernel version for
13546 (__ASSUME_UTIMES): Likewise.
13547 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13549 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13550 (__ASSUME_TMPFS_NAME): Likewise.
13551 * README: Update reference to Linux kernel versions.
13553 2012-08-02 Marek Polacek <polacek@redhat.com>
13556 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13557 libc_cv_asm_type_prefix with %.
13558 * configure: Regenerated.
13559 * include/libc-symbols.h: Remove comment about
13560 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13561 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13562 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13563 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13564 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13565 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13566 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13567 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13568 * elf/tst-unique2mod1.c: Likewise.
13569 * elf/tst-unique1mod2.c: Likewise.
13570 * elf/tst-unique1mod1.c: Likewise.
13571 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13572 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13573 Replace ASM_TYPE_DIRECTIVE with .type.
13574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13575 * sysdeps/i386/sysdep.h: Likewise.
13576 * sysdeps/x86_64/sysdep.h: Likewise.
13577 * sysdeps/sh/sysdep.h: Likewise.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13579 Do not define ASM_TYPE_DIRECTIVE.
13580 * sysdeps/powerpc/sysdep.h: Likewise.
13581 * sysdeps/powerpc/powerpc32/sysdep.h:
13582 Replace ASM_TYPE_DIRECTIVE with .type.
13583 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13584 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13585 * sysdeps/i386/fpu/e_powf.S: Likewise.
13586 * sysdeps/i386/fpu/e_expl.S: Likewise.
13587 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13588 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13589 * sysdeps/i386/fpu/e_pow.S: Likewise.
13590 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13591 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13592 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13593 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13594 * sysdeps/i386/fpu/e_log2.S: Likewise.
13595 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13596 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13597 * sysdeps/i386/fpu/e_powl.S: Likewise.
13598 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13599 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13600 * sysdeps/i386/fpu/e_logl.S: Likewise.
13601 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13602 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13603 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13604 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13605 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13606 * sysdeps/i386/fpu/e_log.S: Likewise.
13607 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13608 * sysdeps/i386/fpu/e_logf.S: Likewise.
13609 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13610 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13611 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13612 * sysdeps/i386/fpu/e_log10.S: Likewise.
13613 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13614 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13615 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13616 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13617 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13618 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13619 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13620 * sysdeps/i386/i686/strtok.S: Likewise.
13621 * sysdeps/i386/i386-mcount.S: Likewise.
13622 * sysdeps/i386/strtok.S: Likewise.
13623 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13624 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13626 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13627 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13628 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13629 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13630 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13631 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13632 * sysdeps/x86_64/_mcount.S: Likewise.
13633 * sysdeps/x86_64/strtok.S: Likewise.
13634 * sysdeps/sh/_mcount.S: Likewise.
13636 2012-08-01 Roland McGrath <roland@hack.frob.com>
13638 * libio/iofopen.c: Include <fcntl.h>.
13639 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13640 (_IO_fopen64, fopen64): Define as aliases.
13641 * libio/iofopen64.c: Include <fcntl.h>.
13642 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13643 Conditionalize body on this.
13644 * sysdeps/wordsize-64/iofopen.c: File removed.
13645 * sysdeps/wordsize-64/iofopen64.c: File removed.
13647 2012-08-01 Marek Polacek <polacek@redhat.com>
13649 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13650 Use dlfcn directly instead of a variable.
13651 (binfmt-subdir): Do not define.
13654 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13657 Remove all definitions.
13658 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13659 <kernel-features.h>.
13660 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13661 (miss_F_GETOWN_EX): Remove all definitions.
13662 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13664 [!__ASSUME_FCNTL64]: Remove conditional code.
13665 [__ASSUME_FCNTL64]: Make code unconditional.
13666 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13667 <kernel-features.h>.
13668 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13669 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13670 (lockf64) [__NR_fcntl64]: Make code unconditional.
13671 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13673 * sysdeps/unix/sysv/linux/kernel-features.h
13674 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13675 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13676 Make code unconditional.
13677 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13678 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13680 [__NR_vfork]: Make code unconditional.
13681 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13682 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13684 [__NR_vfork]: Make code unconditional.
13685 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13686 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13688 2012-08-01 Roland McGrath <roland@hack.frob.com>
13690 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13691 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13693 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13694 Define mkstemp64 as an alias.
13695 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13696 Define mkstemps64 as an alias.
13697 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13698 Define mkostemp64 as an alias.
13699 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13700 Define mkostemps64 as an alias.
13701 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13702 Conditionalize body on this.
13703 * misc/mkostemp64.c: Likewise.
13704 * misc/mkostemps64.c: Likewise.
13705 * misc/mkstemps64.c: Likewise.
13706 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13707 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13708 * sysdeps/wordsize-64/mkostemp.c: File removed.
13709 * sysdeps/wordsize-64/mkstemp.c: File removed.
13710 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13712 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13713 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13716 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13717 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13718 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13719 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13721 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13722 compat_symbol macros from <shlib-compat.h> rather than the underlying
13723 default_symbol_version and symbol_version macros, so that DEFAULT
13724 lines in shlib-versions are respected.
13725 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13727 2012-08-01 Florian Weimer <fweimer@redhat.com>
13729 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13730 Declare with warn_unused_result.
13731 (setgid, setregid, setegid, setresgid): Likewise.
13732 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13734 * WUR-REPORT: Remove set*id functions.
13736 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13738 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13740 2012-07-31 Roland McGrath <roland@hack.frob.com>
13743 * include/sys/socket.h (__libc_accept, __libc_accept4):
13744 Add attribute_hidden.
13745 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13747 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13749 * inet/getnetgrent_r.c (setup): Likewise.
13751 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13753 2012-07-31 David S. Miller <davem@davemloft.net>
13755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13757 2012-07-31 Joseph Myers <joseph@codesourcery.com>
13760 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13761 value between 1.0 and 2.0 and smaller part has absolute value less
13763 * math/s_clog10.c (__clog10): Likewise.
13764 * math/s_clog10f.c (__clog10f): Likewise.
13765 * math/s_clog10l.c (__clog10l): Likewise.
13766 * math/s_clogf.c (__clogf): Likewise.
13767 * math/s_clogl.c (__clogl): Likewise.
13768 * math/libm-test.inc (clog_test): Add more tests.
13769 (clog10_test): Likewise.
13770 * sysdeps/i386/fpu/libm-test-ulps: Update.
13771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13773 2012-07-31 Florian Weimer <fweimer@redhat.com>
13775 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13776 Exit with zero in case no suitable GID is found, and write a
13777 message to standard error.
13779 2012-07-30 Roland McGrath <roland@hack.frob.com>
13781 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13783 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13784 (MAXPATHLEN): Removed.
13785 (NOGROUP, NODEV): New macros.
13786 (setbit, clrbit, isset, isclr): New macros.
13787 (howmany, roundup, powerof2): New macros.
13788 (DEV_BSIZE): New macro.
13790 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13791 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13793 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13794 definition on [!__NO_LONG_DOUBLE_MATH].
13796 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13797 PTR_MANGLE and PTR_DEMANGLE.
13799 * socket/accept4.c (accept4): Rename to __libc_accept4.
13800 Define accept4 as a weak alias.
13802 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13803 on [_DIRENT_HAVE_D_TYPE].
13804 * io/ftw.c (ftw_dir): Likewise.
13806 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13808 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13810 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13811 Use the BSD numbers rather than the arbitrary ones we had.
13812 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13813 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13814 (SIGXCPU, SIGXFSZ): New macros.
13817 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13818 initializer on [_LIBC_REENTRANT].
13820 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13821 definitions inside [_POSIX_MAPPED_FILES].
13823 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13825 * dirent/opendir.c: Include <fcntl.h>.
13827 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13828 (__libc_getspecific): Likewise.
13829 (__libc_key_create): Likewise.
13831 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13832 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13833 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13834 (tmpfile64): Define as alias.
13835 * sysdeps/wordsize-64/tmpfile.c: File removed.
13836 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13837 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13838 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13840 * stdio-common/vfscanf.c: Include <stdbool.h>.
13841 * nss/makedb.c: Likewise.
13842 * stdio-common/_i18n_number.h: Likewise.
13843 * argp/argp-help.c: Likewise.
13844 * posix/wordexp.c: Likewise.
13845 * sysdeps/posix/spawni.c: Likewise.
13846 * nss/nss_files/files-initgroups.c: Likewise.
13847 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13848 * nss/nss_files/files-initgroups.c: Likewise.
13849 * nss/nss_db/db-netgrp.c: Likewise.
13850 * nss/nss_db/db-initgroups.c: Likewise.
13851 * io/fchmodat.c: Include <sys/stat.h>.
13853 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13854 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13856 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13859 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13860 Add multiple inclusion protection.
13862 2012-07-27 David S. Miller <davem@davemloft.net>
13864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13866 2012-07-27 Gary Benson <gbenson@redhat.com>
13869 * elf/rtld.c: Include <stap-probe.h>.
13870 (dl_main): Added static probes "init_start" and "init_complete".
13871 * elf/dl-load.c: Include <stap-probe.h>.
13872 (lose): Take new parameter "nsid".
13873 Added static probe "map_failed".
13874 (_dl_map_object_from_fd): Pass namespace id to lose.
13875 Added static probe "map_start".
13876 (open_verify): Pass namespace id to lose.
13877 * elf/dl-open.c: Include <stap-probe.h>.
13878 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13879 and "reloc_complete".
13880 * elf/dl-close.c: Include <stap-probe.h>.
13881 (_dl_close_worker): Added static probes "unmap_start" and
13883 * elf/rtld-debugger-interface.txt: New file documenting the above.
13885 2012-07-26 Roland McGrath <roland@hack.frob.com>
13887 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13888 rather than a string variable.
13889 * sunrpc/rpc_main.c (h_output): Likewise.
13890 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13892 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13894 * inet/check_native.c: New file.
13896 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13899 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13900 if larger part has absolute value 1.0.
13901 * math/s_clog10.c (__clog10): Likewise.
13902 * math/s_clog10f.c (__clog10f): Likewise.
13903 * math/s_clog10l.c (__clog10l): Likewise.
13904 * math/s_clogf.c (__clogf): Likewise.
13905 * math/s_clogl.c (__clogl): Likewise.
13906 * math/libm-test.inc (clog_test): Add more tests.
13907 (clog10_test): Likewise.
13908 * sysdeps/i386/fpu/libm-test-ulps: Update.
13909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13911 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13912 (pltexit): Likewise.
13913 (La_regs): Likewise.
13914 (La_retval): Likewise.
13915 (int_retval): Likewise.
13916 Update #error for removed macros to refer only to definitions in
13918 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13920 (pltexit): Likewise.
13921 (La_regs): Likewise.
13922 (La_retval): Likewise.
13923 (int_retval): Likewise.
13924 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13926 (pltexit): Likewise.
13927 (La_regs): Likewise.
13928 (La_retval): Likewise.
13929 (int_retval): Likewise.
13930 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13932 (pltexit): Likewise.
13933 (La_regs): Likewise.
13934 (La_retval): Likewise.
13935 (int_retval): Likewise.
13936 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13938 (pltexit): Likewise.
13939 (La_regs): Likewise.
13940 (La_retval): Likewise.
13941 (int_retval): Likewise.
13942 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13944 (pltexit): Likewise.
13945 (La_regs): Likewise.
13946 (La_retval): Likewise.
13947 (int_retval): Likewise.
13948 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13950 (pltexit): Likewise.
13951 (La_regs): Likewise.
13952 (La_retval): Likewise.
13953 (int_retval): Likewise.
13954 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13955 macro definitions in tst-audit.h.
13956 * sysdeps/i386/tst-audit.h: New file.
13957 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13958 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13959 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13960 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13961 * sysdeps/sh/tst-audit.h: Likewise.
13962 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13963 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13964 * sysdeps/x86_64/tst-audit.h: Likewise.
13966 2012-07-26 Andreas Jaeger <aj@suse.de>
13968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13971 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13972 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13973 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13975 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13977 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13979 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13982 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13984 (si_call_addr, si_syscall, si_arch): Define new macro.
13985 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13987 (si_call_addr, si_syscall, si_arch): Define new marcro.
13988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13990 (si_call_addr, si_syscall, si_arch): Define new macro.
13991 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13993 (si_call_addr, si_syscall, si_arch): Define new macro.
13995 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13999 Change to 2.4.21 where previously 2.4.1.
14000 * sysdeps/unix/sysv/linux/configure: Regenerated.
14001 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14002 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14003 Linux kernel version.
14004 (__ASSUME_STD_AUXV): Remove.
14005 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14007 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14008 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14009 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14010 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14011 (__ASSUME_NETLINK_SUPPORT): Likewise.
14012 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14013 (__no_netlink_support): Remove conditional definition.
14014 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14016 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14017 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14018 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14019 (if_nameindex_ioctl): Remove.
14020 (if_nameindex_netlink): Do not handle __no_netlink_support.
14021 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14023 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14024 Remove conditional code.
14025 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14027 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14029 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14030 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14031 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14033 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14034 [!__ASSUME_STD_AUXV]: Remove conditional code.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14036 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14037 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14039 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14040 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14042 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14044 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14045 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14047 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14049 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14052 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14055 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14056 code unconditional.
14057 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14059 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14061 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14064 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14066 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14069 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14070 code unconditional.
14071 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14073 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14075 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14078 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14079 code unconditional.
14080 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14082 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14084 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14087 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14089 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14090 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14091 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14092 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14093 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14094 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14095 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14096 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14097 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14098 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14099 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14100 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14101 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14102 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14103 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14104 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14105 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14107 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14109 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14110 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14111 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14113 2012-07-25 Florian Weimer <fweimer@redhat.com>
14115 * Versions.def: Add GLIBC_2.17.
14116 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14117 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14118 Introduce __libc_secure_getenv.
14119 * stdlib/Versions (2.17): Add secure_getenv
14120 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14121 * stdlib/secure-getenv.c: Rename __secure_getenv to
14122 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14123 symbol __secure_getenv for GLIBC_2.0.
14124 * stdlib/tst-secure-getenv.c: New.
14125 * stdlib/Makefile (tests): Add testcase.
14126 * manual/startup.texi (Environment Access): Document
14128 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14129 __libc_secure_getenv.
14130 * inet/ruserpass.c (ruserpass): Likewise.
14131 * malloc/mtrace.c (mtrace): Likewise.
14132 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14133 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14134 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14135 * sysdeps/posix/tempname.c: Likewise. Evaluate
14136 HAVE_SECURE_GETENV.
14137 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14138 __secure_getenv to __libc_secure_getenv.
14139 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14152 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14154 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14155 (struct La_i86_retval): Likewise.
14156 (struct La_x86_64_regs): Likewise.
14157 (struct La_x86_64_retval): Likewise.
14158 (struct La_x32_regs): Likewise.
14159 (struct La_x32_retval): Likewise.
14160 (struct La_ppc32_regs): Likewise.
14161 (struct La_ppc32_retval): Likewise.
14162 (struct La_ppc64_regs): Likewise.
14163 (struct La_ppc64_retval): Likewise.
14164 (struct La_sh_regs): Likewise.
14165 (struct La_sh_retval): Likewise.
14166 (struct La_s390_32_regs): Likewise.
14167 (struct La_s390_32_retval): Likewise.
14168 (struct La_s390_64_regs): Likewise.
14169 (struct La_s390_64_retval): Likewise.
14170 (struct La_sparc32_regs): Likewise.
14171 (struct La_sparc32_retval): Likewise.
14172 (struct La_sparc64_regs): Likewise.
14173 (struct La_sparc64_retval): Likewise.
14174 (struct audit_ifaces): Remove architecture-specific pltenter and
14176 * sysdeps/i386/ldsodefs.h: New file.
14177 * sysdeps/powerpc/ldsodefs.h: Likewise.
14178 * sysdeps/s390/ldsodefs.h: Likewise.
14179 * sysdeps/sh/ldsodefs.h: Likewise.
14180 * sysdeps/sparc/ldsodefs.h: Likewise.
14181 * sysdeps/x86_64/ldsodefs.h: Likewise.
14183 2012-07-25 Marek Polacek <polacek@redhat.com>
14186 * math/libm-test.inc (yn_test): Add another test.
14187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14188 to ERANGE when the result is +-Inf.
14189 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14191 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14192 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14194 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14196 * conform/data/time.h-data (NULL): Use macro-constant. Require
14198 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14200 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14202 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14204 * configure.in <sysdeps resolving>: Correct printing
14206 * configure: Regenerate.
14208 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14210 * math/w_ilogb.c: Include <limits.h>.
14211 * math/w_ilogbl.c: Likewise.
14213 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14215 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14216 va_copy. Document allowing for unavailable va_copy only as
14217 pre-C99 compatibility.
14218 * manual/string.texi (Copying and Concatenation): Use va_copy
14219 instead of __va_copy in concat example.
14221 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14223 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14224 (__sendto): Use create_address_port. Initialize APORT and deallocate
14227 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14228 with O_NOLINK passed to __file_name_lookup.
14230 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14231 with O_NOLINK passed to __file_name_lookup.
14233 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14234 negative N or less than NGIDS.
14236 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14237 type to string_t. Set ERANGE as errno and return it if NAME is not big
14238 enough. Use memcpy instead of strncpy.
14240 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14242 * elf/Makefile (check-data): Remove.
14243 (localplt.data): New vpath directive.
14244 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14245 instead of $(check-data).
14246 * scripts/data/localplt-generic.data: Move to ...
14247 * sysdeps/generic/localplt.data: ... here.
14248 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14249 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14250 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14253 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14256 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14259 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14262 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14265 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14269 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14271 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14272 PPC32 and PPC64 files.
14273 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14274 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14276 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14278 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14279 __makecontext_ret to ...
14280 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14281 ... here and call exit if uc_link is NULL. New file.
14282 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14283 __makecontext_ret.S.
14284 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14285 __makecontext_ret to ...
14286 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14287 ... here and call exit if uc_link is NULL. New file.
14288 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14289 __makecontext_ret.S.
14291 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14293 * elf/elf.h (R_390_IRELATIVE): New definition.
14294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14295 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14296 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14298 (elf_machine_lazy_rel): Likewise.
14299 * sysdeps/s390/dl-irel.h: New file.
14300 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14301 * sysdeps/s390/s390-64/memset.S: New asm code.
14302 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14303 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14304 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14305 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14306 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14307 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14308 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14309 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14310 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14311 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14312 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14313 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14314 * sysdeps/s390/s390-32/memset.S: New asm code.
14315 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14317 2012-07-17 Marek Polacek <polacek@redhat.com>
14320 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14321 * sysdeps/s390/s390-64/configure.in: Likewise.
14322 * sysdeps/sparc/configure.in: Likewise.
14323 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14324 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14325 * sysdeps/i386/configure.in: Likewise.
14326 * sysdeps/x86_64/configure.in: Likewise.
14327 * sysdeps/sh/configure.in: Likewise.
14328 * sysdeps/s390/s390-32/configure: Regenerated.
14329 * sysdeps/s390/s390-64/configure: Likewise.
14330 * sysdeps/x86_64/configure: Likewise.
14331 * sysdeps/sh/configure: Likewise.
14332 * sysdeps/powerpc/powerpc64/configure: Likewise.
14333 * sysdeps/powerpc/powerpc32/configure: Likewise.
14334 * sysdeps/sparc/configure: Likwise.
14335 * sysdeps/i386/configure: Likewise.
14337 * elf/dl-open.c: Comment fixes.
14339 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14341 * Makefile [CXX] (check-data): Remove.
14342 [CXX] (c++-types.data): New vpath directive.
14343 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14344 vpath. Do not allow for C++ type data being missing.
14345 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14346 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14347 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14348 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14349 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14350 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14351 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14354 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14357 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14360 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14363 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14366 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14369 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14372 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14375 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14376 definitions to architecture-specific files.
14377 (TLS_IE): Likewise.
14378 (TLS_LD): Likewise.
14379 (TLS_GD): Likewise.
14380 * sysdeps/i386/tls-macros.h: New file.
14381 * sysdeps/powerpc/tls-macros.h: Likewise.
14382 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14383 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14384 * sysdeps/sh/tls-macros.h: Likewise.
14385 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14386 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14387 * sysdeps/x86_64/tls-macros.h: Likewise.
14389 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14391 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14392 zero value for regular exit case.
14394 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14395 (__start_context): Preserve zero value for regular exit case.
14397 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14398 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14400 * manual/setjmp.texi (setcontext): Clarify normal process
14401 termination when uc_link is the null pointer.
14402 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14405 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14407 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14408 preprocessor. Test for each exception mask separately.
14410 2012-07-16 Andreas Jaeger <aj@suse.de>
14412 * po/ru.po: Update from translation team.
14414 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14416 * conform/data/string.h-data (NULL): Use macro-constant. Require
14418 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14419 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14420 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14421 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14424 2012-07-13 Andreas Jaeger <aj@suse.de>
14426 * po/fr.po: Update from translation team.
14428 2012-07-12 Marek Polacek <polacek@redhat.com>
14431 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14432 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14435 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14439 Change to 2.4.1 where previously 2.4.0.
14440 * sysdeps/unix/sysv/linux/configure: Regenerated.
14441 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14442 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14444 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14445 (__ASSUME_AT_CLKTCK): Remove.
14446 (__ASSUME_AT_PAGESIZE): Likewise.
14447 (__ASSUME_AT_XID): Likewise.
14448 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14449 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14450 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14452 (HAVE_AUX_PAGESIZE): Likewise.
14453 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14454 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14455 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14457 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14461 the temporary buffer used to invoke __gethostbyname2_r,
14462 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14463 host_data / struct gaih_addrtuple.
14464 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14465 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14466 header file nss/nsswitch.h.
14467 * nss/nsswitch.h (global scope): Add definition of implementation
14468 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14469 resolv/nss_dns/dns-host.c).
14471 2012-07-11 Andreas Jaeger <aj@suse.de>
14473 * po/fr.po: Update from translation team.
14475 * po/sv.po: Update from translation team
14476 * po/fr.po: Another update from translation team.
14478 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14481 for subnormals or multiply small sinh result by itself.
14482 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14485 2012-07-11 David S. Miller <davem@davemloft.net>
14487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14489 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14492 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14493 (INTERNAL_MARK): Shift it here.
14495 2012-07-10 Marek Polacek <polacek@redhat.com>
14498 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14499 libc_cv_asm_global_directive with .globl.
14500 * configure: Regenerated.
14501 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14503 * sysdeps/i386/configure: Regenerated.
14504 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14506 * sysdeps/x86_64/configure: Regenerated.
14507 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14508 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14509 * elf/tst-unique2mod2.c: Likewise.
14510 * elf/tst-unique2mod1.c: Likewise.
14511 * elf/tst-unique1mod2.c: Likewise.
14512 * elf/tst-unique1mod1.c: Likewise.
14513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14514 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14516 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14517 * sysdeps/mach/sysdep.h: Likewise.
14518 * sysdeps/i386/sysdep.h: Likewise.
14519 * sysdeps/i386/i386-mcount.S: Likewise.
14520 * sysdeps/x86_64/_mcount.S: Likewise.
14521 * sysdeps/x86_64/sysdep.h: Likewise.
14522 * sysdeps/sh/_mcount.S: Likewise.
14523 * sysdeps/sh/sysdep.h: Likewise.
14524 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14525 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14526 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14527 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14528 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14529 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14530 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14531 * locale/localeinfo.h: Likewise.
14532 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14533 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14535 2012-07-09 Roland McGrath <roland@hack.frob.com>
14538 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14540 * manual/message.texi (The Uniforum approach): Likewise.
14541 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14542 (glibc iconv Implementation): Likewise.
14544 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14547 * math/s_clog.c (__clog): Avoid scaling a value down where that
14548 could result in underflow.
14549 * math/s_clog10.c (__clog10): Likewise.
14550 * math/s_clog10f.c (__clog10f): Likewise.
14551 * math/s_clog10l.c (__clog10l): Likewise.
14552 * math/s_clogf.c (__clogf): Likewise.
14553 * math/s_clogl.c (__clogl): Likewise.
14554 * math/libm-test.inc (clog_test): Add more tests.
14555 (clog10_test): Likewise.
14556 * sysdeps/i386/fpu/libm-test-ulps: Update.
14557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14559 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14562 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14563 by 7 not 8 to examine high bit of fractional part.
14566 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14567 for call to __mcount_internal.
14568 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14569 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14570 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14572 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14575 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14576 approximation for values within 0x1p-13f of an odd multiple of
14578 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14579 exception. Add more tests.
14580 * sysdeps/i386/fpu/libm-test-ulps: Update.
14583 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14584 inputs and return -1 for them. Do not check for +Inf in case not
14585 reachable for +Inf.
14586 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14587 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14588 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14589 and return -1 for them. Do not check for +Inf in case not
14590 reachable for +Inf.
14591 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14594 and return -1 for them. Do not check for +Inf in case not
14595 reachable for +Inf.
14596 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14597 spurious underflow.
14598 * sysdeps/i386/fpu/libm-test-ulps: Update.
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14601 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14603 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14605 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14609 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14610 could result in spurious underflow. Scale down values above
14611 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14612 * math/s_csqrtf.c (__csqrtf): Likewise.
14613 * math/s_csqrtl.c (__csqrtl): Likewise.
14614 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14615 spurious underflow.
14616 * sysdeps/i386/fpu/libm-test-ulps: Update.
14617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14619 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14621 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14623 * catgets/xopen-msg.awk: New file.
14624 * catgets/xopen-msg.sed: Removed.
14626 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14628 * intl/po2test.awk: New file.
14629 * intl/po2test.sed: Removed.
14631 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14634 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14635 or multiply small sinh result by itself.
14636 * math/s_ctanf.c (__ctanf): Likewise.
14637 * math/s_ctanh.c (__ctanh): Likewise.
14638 * math/s_ctanhf.c (__ctanhf): Likewise.
14639 * math/s_ctanhl.c (__ctanhl): Likewise.
14640 * math/s_ctanl.c (__ctanl): Likewise.
14641 * math/libm-test.inc (ctan_test_tonearest): New function.
14642 (ctan_test_towardzero): Likewise.
14643 (ctan_test_downward): Likewise.
14644 (ctan_test_upward): Likewise.
14645 (ctanh_test_tonearest): Likewise.
14646 (ctanh_test_towardzero): Likewise.
14647 (ctanh_test_downward): Likewise.
14648 (ctanh_test_upward): Likewise.
14649 (main): Call these new functions.
14650 * sysdeps/i386/fpu/libm-test-ulps: Update.
14651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14653 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14655 * .gitignore: Delete /ports entry.
14657 2012-07-03 Andreas Jaeger <aj@suse.de>
14659 * po/bg.po: Update from translation team.
14660 * po/cs.po: Likewise.
14661 * po/de.po: Likewise.
14662 * po/hr.po: Likewise.
14663 * po/nl.pl: Likewise.
14664 * po/pl.po: Likewise.
14665 * po/vi.po: Likewise.
14667 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14669 * Makeconfig [!+link] (+link-before-libc): New variable.
14670 [!+link] (+link-after-libc): Likewise.
14671 [!+link] (+link-tests): Likewise.
14672 [!+link] (+link): Define in terms of $(+link-before-libc) and
14673 $(+link-after-libc).
14674 [!+link-static] (+link-static-before-libc): New variable.
14675 [!+link-static] (+link-static-after-libc): Likewise.
14676 [!+link-static] (+link-static-tests): Likewise.
14677 [!+link-static] (+link-static): Define in terms of
14678 $(+link-static-before-libc) and $(+link-static-after-libc).
14679 [build-shared] (link-libc-before-gnulib): New variable.
14680 [build-shared] (link-libc-tests): Likewise.
14681 [build-shared] (link-libc): Define in terms of
14682 $(link-libc-before-gnulib).
14683 [!build-shared] (link-libc-tests): New variable.
14684 (link-libc-static-tests): New variable.
14685 [!gnulib] (gnulib-arch): New variable.
14686 [!gnulib] (gnulib-tests): Likewise.
14687 [!gnulib] (static-gnulib-arch): Likewise.
14688 [!gnulib] (static-gnulib-tests): Likewise.
14689 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14690 Define with "=" instead of ":=".
14691 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14692 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14693 * Rules (binaries-all-notests): New variable.
14694 (binaries-all-tests): Likewise.
14695 (binaries-static-notests): Likewise.
14696 (binaries-static-tests): Likewise.
14697 (binaries-all): Define using $(binaries-all-notests) and
14698 $(binaries-all-tests).
14699 (binaries-static): Define using $(binaries-static-notests) and
14700 $(binaries-static-tests).
14701 (binaries-shared-tests): New variable.
14702 (binaries-shared-notests): Likewise.
14703 (binaries-shared): Remove variable.
14704 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14705 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14706 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14707 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14708 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14709 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14710 * elf/Makefile (sln-modules): New variable.
14711 (extra-objs): Add $(sln-modules:=.o).
14712 (ldconfig-modules): Add static-stubs.
14713 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14714 * elf/static-stubs.c: New file.
14717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14718 by 7 not 8 to examine high bit of fractional part. Use volatile
14719 variables when splitting into final array of floats if
14720 __FLT_EVAL_METHOD__ != 0.
14721 * math/libm-test.inc (cos_test): Add another test.
14722 (sin_test): Likewise.
14723 * sysdeps/i386/fpu/libm-test-ulps: Update.
14726 * math/libm-test.inc (cosh_test): Add more tests.
14728 * version.h (RELEASE): Set to "development".
14729 (VERSION): Set to "2.16.90".
14731 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14733 * NEWS: Update copyright. Remove last-updated date.
14734 Mention math library bug fixes and timezone data changes.
14735 * README: Mention GNU/Hurd, x32, and HPPA support status.
14737 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14739 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14741 2012-06-27 Andreas Jaeger <aj@suse.de>
14743 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14745 2012-06-25 Andreas Jaeger <aj@suse.de>
14747 * sysdeps/s390/fpu/libm-test-ulps: Update.
14749 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14750 Thomas Schwinge <thomas@codesourcery.com>
14752 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14753 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14757 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14759 * sysdeps/mach/start.c: Remove file.
14760 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14761 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14762 * sysdeps/sh/init-first.c: Likewise.
14764 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14765 registers for frame unwinding purposes, add CFI directives.
14766 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14767 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14768 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14771 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14772 __fortify_fail returning.
14773 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14775 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14776 sysdeps/sh/____longjmp_chk.S.
14777 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14778 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14779 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14780 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14782 * sysdeps/sh/abort-instr.h: New file.
14783 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14784 process in case exit returns.
14786 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14787 initialize the GOT register before use.
14789 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14790 calculation of ARGC > 4.
14792 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14793 meaningful names to some local labels.
14795 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14796 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14798 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14799 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14800 (__arch_compare_and_exchange_val_16_acq): Likewise.
14801 (__arch_compare_and_exchange_val_32_acq): Likewise.
14802 (atomic_exchange_and_add): Fix gUSA sequence.
14803 (atomic_add): Likewise.
14804 (atomic_add_negative): Likewise.
14805 (atomic_add_zero): Likewise.
14806 (atomic_bit_test_set): Likewise.
14808 2012-06-22 Andreas Schwab <schwab@redhat.com>
14811 * include/link.h (struct link_map): Add l_free_initfini.
14812 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14814 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14815 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14816 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14819 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14821 * configure.in: Use AC_LANG_SOURCE.
14822 * configure: Regenerate.
14824 2012-06-22 Roland McGrath <roland@hack.frob.com>
14826 * configure.in (libc_cv_localstatedir): New substituted variable.
14827 * configure: Regenerated.
14828 * config.make.in (localstatedir): New variable, substituted from
14829 libc_cv_localstatedir.
14830 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14831 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14832 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14833 * sysdeps/gnu/configure: Regenerated.
14835 2012-06-21 Jeff Law <law@redhat.com>
14838 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14839 free. Simplify list management for _LIBC case.
14841 2012-06-21 Joseph Myers <joseph@codesourcery.com>
14844 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14845 Clear sign bit of 64-bit integer value before comparing against
14848 * sysdeps/mach/configure: Regenerated.
14850 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14853 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14855 2012-06-21 Jeff Law <law@redhat.com>
14858 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14859 uint16_t for elements in the "seen" array to avoid char overflows.
14860 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14861 * elf/dl-open.c (dl_open_worker): Likewise.
14863 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14865 * scripts/list-sources.sh: Scan PORTS for translations.
14866 * po/libc.pot: Regenerated.
14868 2012-06-21 Andreas Jaeger <aj@suse.de>
14871 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14873 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14874 * bits/byteswap-16.h (__bswap_16): Likewise.
14875 * bits/byteswap.h (__bswap_constant_16): Likewise.
14877 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14880 * sysdeps/i386/fpu_control.h: Removed.
14881 * sysdeps/x86_64/fpu_control.h: Moved to ...
14882 * sysdeps/x86/fpu_control.h: Here.
14884 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14885 (_FPU_SETCW): Likewise.
14887 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14890 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14891 * sysdeps/x86/fpu/bits/mathinline.h: This.
14892 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14896 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14897 functions if __x86_64__ is defined.
14899 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14901 * string/endian.h: Add !__ASSEMBLER__ condition for including
14902 conversion interfaces.
14904 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14908 of ABS(x) in calculating zero to negative powers other than odd
14910 * math/libm-test.inc (pow_test): Add more tests.
14912 2012-06-15 Andreas Jaeger <aj@suse.de>
14914 * manual/contrib.texi (Contributors): Update entry of Liubov
14915 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14918 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14920 * string/string.h: Add __wur to GNU version of strerror_r.
14922 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14925 * string/Makefile (tests): Add tst-strtok_r.
14926 * string/tst-strtok_r.c: New file.
14927 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14928 RAX_LP/RDX_LP on SAVE_PTR.
14930 2012-06-14 Roland McGrath <roland@hack.frob.com>
14932 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14934 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14936 * libm_test.inc (csqrt_test): Allow more spurious underflow
14938 (j0_test): Likewise.
14939 (j1_test): Likewise.
14940 (y0_test): Likewise.
14941 (y1_test): Likewise.
14943 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14945 * po/Makefile (libc.pot): Use UTF-8 charset.
14947 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14950 Suppress sign-conversion warning from FD_SET.
14951 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14952 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14953 not unsigned long int.
14954 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14956 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14960 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14961 __extern_always_inline instead of __extern_inline.
14962 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14963 (__signbit): Likewise.
14964 (__signbitl): Support C++ namespace.
14965 (lrintf): New inline function.
14967 (llrintf): Likewise.
14968 (llrint): Likewise.
14978 (floorf): Likewise.
14979 (nearbyint): Likewise.
14980 (nearbyintf): Likewise.
14982 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14984 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14985 non-default versions.
14987 2012-06-11 Roland McGrath <roland@hack.frob.com>
14990 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14992 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14994 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14995 (FE_UPWARD, FE_DOWNWARD): Don't define.
14996 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14997 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14999 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15001 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15002 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15004 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15006 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15008 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15009 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15011 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15014 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15015 * sysdeps/i386/fpu/Implies: New file.
15016 * sysdeps/x86_64/fpu/Implies: Likewise.
15017 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15018 * sysdeps/x86/fpu/bits/fenv.h: This.
15020 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15023 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15026 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15027 character 0xffff that matches the last element of the
15030 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15032 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15035 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15038 values higher than 25.6283.
15040 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15042 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15043 subnormal exponent extraction and add some __builtin_expect.
15044 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15045 Fix for subnormal mantissa calculation.
15047 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15049 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15050 cpu2 is -1 and errno is not ENOSYS.
15052 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15055 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15056 * sysdeps/x86/bits/string.h: This.
15057 * sysdeps/x86_64/bits/string.h: Removed.
15059 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15060 if not compiling for x86-64, but compiling for >= i486.
15062 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15063 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15065 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15066 New macro from Linux kernel 3.4.0.
15067 (FP_XSTATE_MAGIC2): Likewise.
15068 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15069 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15070 (struct _fpx_sw_bytes): New struct.
15071 (struct _xsave_hdr): Likewise.
15072 (struct _ymmh_state): Likewise.
15073 (struct _xstate): Likewise.
15075 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15076 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15078 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15079 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15080 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15082 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15083 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15084 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15085 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15086 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15087 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15089 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15092 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15093 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15094 (sysdep_headers): Include sys/platform/ppc.h.
15095 * sysdeps/powerpc/test-gettimebase.c: Test for
15096 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15097 * manual/Makefile (appendices): Include platform.texi.
15098 * manual/contrib.texi (Contributors): Update @node pointers.
15099 * manual/maint.texi (Maintenance): Likewise.
15100 (Platform): New node.
15101 * manual/platform.texi: New file. Document the new features.
15103 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15104 Jakub Jelinek <jakub@redhat.com>
15107 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15108 where __builtin_expect is unavailable.
15110 2012-06-03 David S. Miller <davem@davemloft.net>
15112 * stdlib/longlong.h: Updated from GCC.
15114 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15117 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15118 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15121 (GLIBC_2.16): Likewise.
15123 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15125 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15127 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15130 (default-abi): New variable.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15132 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15134 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15136 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15141 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15142 definition. Document in comment.
15144 2012-06-01 David S. Miller <davem@davemloft.net>
15146 * stdlib/longlong.h: Updated from GCC.
15148 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15151 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15152 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15153 sys/debugreg.h sys/io.h here.
15154 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15155 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15157 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15158 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15159 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15160 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15161 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15162 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15164 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15165 Define only if __x86_64__ is defined.
15167 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15170 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15171 Use int64_t for variable i.
15172 * math/libm-test.inc (fmod_test): Add more tests.
15174 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15175 z computation is not scheduled after fetestexcept.
15176 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15177 Use math_force_eval instead of asm to ensure calculation scheduled
15178 before exception test.
15179 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15180 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15182 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15185 computation is not scheduled after fetestexcept.
15187 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15190 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15191 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15193 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15195 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15196 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15198 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15201 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15203 (__WCHAR_MIN): Support __WORDSIZE == 64.
15204 (__WCHAR_MAX): Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15211 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15214 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15215 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15217 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15218 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15220 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15221 Defined to 1 if __x86_64__ isn't defined.
15222 (_STAT_VER_LINUX_OLD): New.
15223 (st_atime): Remove duplicate.
15224 (st_mtime): Likewise.
15225 (st_ctime): Likewise.
15227 2012-05-31 David S. Miller <davem@davemloft.net>
15229 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15232 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15234 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15238 * elf/dl-reloc.c: Include <_itoa.h>.
15239 (_dl_reloc_bad_type): Remove use of INTUSE.
15240 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15241 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15242 * stdio-common/psiginfo.c (psiginfo): Likewise.
15243 * stdio-common/psignal.c (psignal): Likewise.
15244 * string/strsignal.c (strsignal): Likewise.
15245 * include/signal.h (_sys_siglist): Declare hidden proto.
15246 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15247 INTVARDEF with libc_hidden_data_def.
15248 * stdio-common/itoa-udigits.c: Likewise.
15249 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15250 (_itoa_lower_digits_internal): Remove declaration.
15251 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15252 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15253 (_sys_sigabbrev_internal): Remove aliases.
15254 (_sys_siglist): Define hidden alias.
15256 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15261 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15264 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15265 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15267 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15268 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15269 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15270 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15271 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15272 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15274 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15275 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15276 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15278 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15286 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15287 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15288 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15290 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15291 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15293 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15294 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15295 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15297 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15298 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15300 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15301 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15305 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15307 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15308 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15310 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15312 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15313 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15314 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15316 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15318 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15320 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15322 * math/math.h (M_El): Use two more decimal places.
15323 (M_LOG2El): Likewise.
15324 (M_LOG10El): Likewise.
15325 (M_LN2l): Likewise.
15326 (M_LN10l): Likewise.
15328 (M_PI_2l): Likewise.
15329 (M_PI_4l): Likewise.
15330 (M_1_PIl): Likewise.
15331 (M_2_PIl): Likewise.
15332 (M_2_SQRTPIl): Likewise.
15333 (M_SQRT2l): Likewise.
15334 (M_SQRT1_2l): Likewise.
15336 2012-05-31 David S. Miller <davem@davemloft.net>
15338 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15339 values between float registers.
15340 * sysdeps/sparc/sparc64/memset.S: Likewise.
15341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15343 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15345 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15346 -D_FORTIFY_SOURCE=1.
15347 (CPPFLAGS-tst-longjmp_chk.c): Define.
15348 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15349 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15350 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15351 CFLAGS-tst-wchar-h.c.
15353 2012-05-31 Marek Polacek <polacek@redhat.com>
15356 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15357 __endmntent_internal): Remove declaration.
15358 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15359 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15360 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15362 2012-05-30 David S. Miller <davem@davemloft.net>
15364 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15365 (___Q_simulate_exceptions): Use real FP ops rather than writing
15367 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15370 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15373 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15374 * sysdeps/x86/bits/xtitypes.h: This.
15376 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15377 * sysdeps/x86/bits/wordsize.h: This.
15379 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15380 * sysdeps/x86/bits/huge_vall.h: This.
15382 * sysdeps/i386/bits/select.h: Removed.
15383 * sysdeps/x86_64/bits/select.h: Renamed to ...
15384 * sysdeps/x86/bits/select.h: This.
15386 * sysdeps/i386/bits/setjmp.h: Removed.
15387 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15388 * sysdeps/x86/bits/setjmp.h: This.
15390 * sysdeps/i386/bits/mathdef.h: Removed.
15391 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15392 * sysdeps/x86/bits/mathdef.h: This.
15394 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15397 * include/sys/socket.h (__connect_internal)
15398 (__libc_sa_len_internal): Remove declaration.
15399 (__connect, __libc_sa_len): Declare hidden_proto.
15400 (SA_LEN): Remove use of INTUSE.
15401 * socket/connect.c: Add libc_hidden_def.
15402 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15403 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15404 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15406 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15407 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15408 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15409 of adding _internal alias.
15411 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15414 * sysdeps/i386/bits/link.h: Removed.
15415 * sysdeps/i386/bits/linkmap.h: Likewise.
15416 * sysdeps/x86_64/bits/link.h: Renamed to ...
15417 * sysdeps/x86/bits/link.h: This.
15418 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15419 * sysdeps/x86/bits/linkmap.h: This.
15421 * sysdeps/i386/bits/endian.h: Removed.
15422 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15423 * sysdeps/x86/bits/endian.h: This.
15425 * sysdeps/i386/bits/byteswap.h: Removed.
15426 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15427 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15428 * sysdeps/x86/bits/byteswap.h: This.
15429 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15430 * sysdeps/x86/bits/byteswap-16.h: This.
15431 * sysdeps/i386/Implies: Add x86.
15432 * sysdeps/x86_64/Implies: Likewise.
15434 2012-05-30 David S. Miller <davem@davemloft.net>
15436 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15437 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15438 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15439 (FP_TRAPPING_EXCEPTIONS): Define.
15440 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15441 (FP_TRAPPING_EXCEPTIONS): Define.
15442 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15443 subnormals only when inexact has been signalled or underflow
15444 exceptions are enabled.
15445 (_FP_PACK_CANONICAL): Likewise.
15447 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15451 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15453 2012-05-30 Richard Henderson <rth@twiddle.net>
15455 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15456 with #ifndef NOT_IN_libc.
15458 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15459 marked to avoid plt entry.
15461 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15464 * Makeconfig (default-abi): New macro.
15465 (abi-includes): Likewise.
15466 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15467 $(abi-$(default-abi)-lib-soname) for soname if defined.
15468 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15470 * Makefile (installed-stubs): Likewise.
15471 * include/stubs-biarch.h: Removed.
15472 * scripts/lib-names.awk: Only handle one library at a time.
15473 * scripts/soversions.awk: Remove WORDSIZE support.
15474 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15476 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15478 (syscall-list-default-condition): Likewise.
15479 (syscall-list-default-condition): Likewise.
15480 (syscall-list-includes): Likewise.
15481 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15482 syscall-list-* with abi-*. Handle undefined abi-variants.
15483 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15484 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15485 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15487 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15488 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15490 (syscall-list-32-options): Likewise.
15491 (syscall-list-32-condition): Likewise.
15492 (syscall-list-64-options): Likewise.
15493 (syscall-list-64-condition): Likewise.
15494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15496 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15499 (abi-64-ld-soname): New macro.
15500 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15501 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15504 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15505 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15507 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15509 * sysdeps/unix/sysv/linux/kernel-features.h
15510 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15511 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15512 include <kernel-features.h>.
15513 [!__NR_ftruncate64]: Remove conditional code.
15514 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15515 [__NR_ftruncate64]: Make code unconditional.
15516 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15517 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15518 include <kernel-features.h>.
15519 [!__NR_ftruncate64]: Remove conditional code.
15520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15521 [__NR_ftruncate64]: Make code unconditional.
15522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15524 include <kernel-features.h>.
15525 [!__NR_ftruncate64]: Remove conditional code.
15526 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15527 [__NR_ftruncate64]: Make code unconditional.
15528 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15530 include <kernel-features.h>.
15531 [!__NR_ftruncate64]: Remove conditional code.
15532 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15533 [__NR_ftruncate64]: Make code unconditional.
15534 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15536 * configure.in (libc_cv_fpie): Weaken to a compile test using
15537 LIBC_TRY_CC_OPTION.
15538 * configure: Regenerated.
15540 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15555 2012-05-27 David S. Miller <davem@davemloft.net>
15557 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15559 (__Q_simulate_exceptions): Return void. Change to simulate
15560 exceptions by writing into the %fsr.
15561 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15562 (__Qp_handle_exceptions): Likewise.
15564 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15565 __Qp_handle_exceptions.
15566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15567 __Qp_handle_exceptions.
15568 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15569 as unused and give dummy FP_RND_NEAREST initializer.
15570 (FP_INHIBIT_RESULTS): Define.
15571 (___Q_simulate_exceptions): Update declaration.
15572 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15574 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15575 as unused and give dummy FP_RND_NEAREST initializer.
15576 (__Qp_handle_exceptions): Update declaration.
15577 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15580 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15582 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15583 the temporary FPU control word.
15584 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15585 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15586 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15587 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15588 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15589 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15590 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15591 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15592 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15593 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15594 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15596 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15598 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15601 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15603 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15604 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15605 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15606 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15608 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15609 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15612 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15614 * po/h.po: Update from translation team.
15616 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15618 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15620 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15621 handling of denormals.
15622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15623 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15624 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15625 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15628 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15631 2012-05-26 Marek Polacek <polacek@redhat.com>
15634 * math/libm-test.inc (fma_test): Don't always expect underflow
15637 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15640 * elf/tst-execstack.c: Include stackinfo.h.
15641 (do_test): Adjust test case to ensure that pthread_getattr_np
15642 behaviour remains the same after marking stack executable.
15644 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/unix/sysv/linux/kernel-features.h
15647 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15648 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15650 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15651 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15652 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15654 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15655 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15657 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15659 * configure.in: Define the default includes to being none.
15660 * configure: Regenerated.
15662 2012-05-25 Roland McGrath <roland@hack.frob.com>
15664 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15665 * sysdeps/x86_64/setjmp.S: Likewise.
15666 * sysdeps/i386/bsd-setjmp.S: Likewise.
15667 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15668 * sysdeps/i386/setjmp.S: Likewise.
15669 * sysdeps/i386/__longjmp.S: Likewise.
15670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15671 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15673 * include/stap-probe.h: New file.
15674 * configure.in: Handle --enable-systemtap.
15675 * configure: Regenerated.
15676 * config.h.in (USE_STAP_PROBE): New #undef.
15677 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15678 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15679 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15681 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15685 to 2.4.0 where earlier.
15686 * sysdeps/unix/sysv/linux/configure: Regenerated.
15687 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15688 <kernel-features.h>.
15689 [__ASSUME_32BITUIDS]: Make code unconditional.
15690 [!__ASSUME_32BITUIDS]: Remove conditional code.
15691 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15692 <kernel-features.h>.
15693 [__ASSUME_32BITUIDS]: Make code unconditional.
15694 [!__ASSUME_32BITUIDS]: Remove conditional code.
15695 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15696 [__ASSUME_32BITUIDS]: Make code unconditional.
15697 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15698 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15699 <kernel-features.h>.
15700 [__ASSUME_32BITUIDS]: Make code unconditional.
15701 [!__ASSUME_32BITUIDS]: Remove conditional code.
15702 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15703 <kernel-features.h>.
15704 [__ASSUME_32BITUIDS]: Make code unconditional.
15705 [!__ASSUME_32BITUIDS]: Remove conditional code.
15706 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15707 <kernel-features.h>.
15708 [__ASSUME_32BITUIDS]: Make code unconditional.
15709 [!__ASSUME_32BITUIDS]: Remove conditional code.
15710 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15711 <kernel-features.h>.
15712 [__ASSUME_32BITUIDS]: Make code unconditional.
15713 [!__ASSUME_32BITUIDS]: Remove conditional code.
15714 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15715 <kernel-features.h>.
15716 [__ASSUME_32BITUIDS]: Make code unconditional.
15717 [!__ASSUME_32BITUIDS]: Remove conditional code.
15718 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15719 <kernel-features.h>.
15720 [__ASSUME_32BITUIDS]: Make code unconditional.
15721 [!__ASSUME_32BITUIDS]: Remove conditional code.
15722 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15723 <kernel-features.h>.
15724 [__ASSUME_32BITUIDS]: Make code unconditional.
15725 [!__ASSUME_32BITUIDS]: Remove conditional code.
15726 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15727 <kernel-features.h>.
15728 [__ASSUME_32BITUIDS]: Make code unconditional.
15729 [!__ASSUME_32BITUIDS]: Remove conditional code.
15730 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15731 <kernel-features.h>.
15732 [__ASSUME_32BITUIDS]: Make code unconditional.
15733 [!__ASSUME_32BITUIDS]: Remove conditional code.
15734 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15735 <kernel-features.h>.
15736 [__ASSUME_32BITUIDS]: Make code unconditional.
15737 [!__ASSUME_32BITUIDS]: Remove conditional code.
15738 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15739 <kernel-features.h>.
15740 [__NR_setresgid] (__setresgid): Do not declare.
15741 [__ASSUME_32BITUIDS]: Make code unconditional.
15742 [!__ASSUME_32BITUIDS]: Remove conditional code.
15743 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15744 <kernel-features.h>.
15745 [__NR_setresuid] (__setresuid): Do not declare.
15746 [__ASSUME_32BITUIDS]: Make code unconditional.
15747 [!__ASSUME_32BITUIDS]: Remove conditional code.
15748 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15749 <kernel-features.h>.
15750 [__ASSUME_32BITUIDS]: Make code unconditional.
15751 [!__ASSUME_32BITUIDS]: Remove conditional code.
15752 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15753 <kernel-features.h>.
15754 [__ASSUME_32BITUIDS]: Make code unconditional.
15755 [!__ASSUME_32BITUIDS]: Remove conditional code.
15756 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15757 <kernel-features.h>.
15758 [__ASSUME_32BITUIDS]: Make code unconditional.
15759 [!__ASSUME_32BITUIDS]: Remove conditional code.
15760 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15761 <kernel-features.h>.
15762 [__ASSUME_32BITUIDS]: Make code unconditional.
15763 [!__ASSUME_32BITUIDS]: Remove conditional code.
15764 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15765 <kernel-features.h>.
15766 [__ASSUME_32BITUIDS]: Make code unconditional.
15767 [!__ASSUME_32BITUIDS]: Remove conditional code.
15768 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15769 <kernel-features.h>.
15770 [__ASSUME_32BITUIDS]: Make code unconditional.
15771 [!__ASSUME_32BITUIDS]: Remove conditional code.
15772 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15773 <kernel-features.h>.
15774 [__ASSUME_32BITUIDS]: Make code unconditional.
15775 [!__ASSUME_32BITUIDS]: Remove conditional code.
15776 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15777 <kernel-features.h>.
15778 [__ASSUME_32BITUIDS]: Make code unconditional.
15779 [!__ASSUME_32BITUIDS]: Remove conditional code.
15780 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15781 <kernel-features.h>.
15782 [__ASSUME_32BITUIDS]: Make code unconditional.
15783 [!__ASSUME_32BITUIDS]: Remove conditional code.
15784 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15785 <kernel-features.h>.
15786 [__ASSUME_32BITUIDS]: Make code unconditional.
15787 [!__ASSUME_32BITUIDS]: Remove conditional code.
15788 * sysdeps/unix/sysv/linux/kernel-features.h
15789 (__ASSUME_SETRESUID_SYSCALL): Remove.
15790 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15791 (__ASSUME_32BITUIDS): Likewise.
15792 (__ASSUME_LDT_WORKS): Likewise.
15793 (__ASSUME_O_DIRECTORY): Likewise.
15794 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15795 architecture but not kernel version.
15796 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15797 (__ASSUME_MMAP2_SYSCALL): Likewise.
15798 (__ASSUME_STAT64_SYSCALL): Likewise.
15799 (__ASSUME_IPC64): Likewise.
15800 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15801 <kernel-features.h>.
15802 [__ASSUME_32BITUIDS]: Make code unconditional.
15803 [!__ASSUME_32BITUIDS]: Remove conditional code.
15804 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15805 <kernel-features.h>.
15806 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15807 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15808 132096]: Remove conditional code.
15809 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15810 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15811 <kernel-features.h>.
15812 [__ASSUME_32BITUIDS]: Make code unconditional.
15813 [!__ASSUME_32BITUIDS]: Remove conditional code.
15814 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15815 <kernel-features.h>.
15816 [__ASSUME_32BITUIDS]: Make code unconditional.
15817 [!__ASSUME_32BITUIDS]: Remove conditional code.
15818 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15819 <kernel-features.h>.
15820 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15822 (__setresgid): Do not declare.
15823 [__ASSUME_32BITUIDS]: Make code unconditional.
15824 [!__ASSUME_32BITUIDS]: Remove conditional code.
15825 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15826 <kernel-features.h>.
15827 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15829 (__setresuid): Do not declare.
15830 [__ASSUME_32BITUIDS]: Make code unconditional.
15831 [!__ASSUME_32BITUIDS]: Remove conditional code.
15832 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15833 <kernel-features.h>.
15834 [__ASSUME_32BITUIDS]: Make code unconditional.
15835 [!__ASSUME_32BITUIDS]: Remove conditional code.
15836 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15837 <kernel-features.h>.
15838 [__ASSUME_32BITUIDS]: Make code unconditional.
15839 [!__ASSUME_32BITUIDS]: Remove conditional code.
15841 2012-05-25 Richard Henderson <rth@twiddle.net>
15843 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15844 dl_hwcap to ifunc resolver.
15845 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15847 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15848 dl_hwcap to ifunc resolver.
15849 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15851 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15854 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15855 for |x| <= 2**-26, not 2**-57.
15856 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15859 2012-05-24 Jeff Law <law@redhat.com>
15861 * stdio-common/Makefile (tests): Add bug25.
15862 * stdio-common/bug25.c: New test.
15864 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15867 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15868 multiple of MALLOC_ALIGNMENT in size.
15869 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15871 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15873 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15875 (FILENAME_MAX): Use macro-int-constant.
15876 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15877 (_IOFBF): Use macro-int-constant.
15878 (_IOLBF): Likewise.
15879 (_IONBF): Likewise.
15880 (SEEK_CUR): Likewise.
15881 (SEEK_END): Likewise.
15882 (SEEK_SET): Likewise.
15883 (TMP_MAX): Likewise.
15884 (EOF): Use macro-int-constant. Require < 0.
15885 (NULL): Use macro-constant. Require == 0.
15886 (stdin): Require type to be FILE *.
15887 (stdout): Likewise.
15888 (stderr): Likewise.
15889 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15890 macro-int-constant.
15891 (EXIT_SUCCESS): Likewise.
15892 (NULL): Use macro-constant. Require == 0.
15893 (RAND_MAX): Use macro-int-constant.
15894 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15895 [C99-based standards] (strtof): Require function.
15896 [C99-based standards] (strtold): Likewise.
15897 [C99-based standards] (strtoll): Likewise.
15898 [C99-based standards] (strtoull): Likewise.
15899 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15900 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15901 [ISO || ISO99 || ISO11] (math.h): Likewise.
15902 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15903 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15906 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15909 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15910 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15911 * intl/dgettext.c (DCGETTEXT): Likewise.
15912 * intl/gettext.c (DCGETTEXT): Likewise.
15913 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15914 * posix/regex_internal.h (gettext): Likewise.
15915 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15916 Remove declaration.
15917 * include/argz.h (__argz_count_internal)
15918 (__argz_stringify_internal): Remove declaration.
15919 (__argz_count, __argz_stringify): Declare hidden proto.
15920 * intl/dcgettext.c: Remove use of INTDEF.
15921 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15922 * string/argz-stringify.c: Likewise.
15923 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15924 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15925 Declare hidden proto.
15926 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15927 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15928 Declare hidden proto.
15929 * include/stdio.h (__asprintf_internal): Don't declare.
15930 (__asprintf): Don't define as macro. Declare hidden proto.
15931 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15932 (__fsetlocking): Declare hidden proto.
15933 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15934 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15936 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15937 (_IO_setlinebuf): Remove use of INTUSE.
15938 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15939 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15940 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15941 Remove declaration.
15942 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15943 (_IO_do_flush): Remove use of INTUSE.
15944 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15945 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15946 (_IO_adjust_column, _IO_least_wmarker)
15947 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15948 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15949 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15950 (_IO_default_doallocate, _IO_wdefault_doallocate)
15951 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15952 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15953 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15954 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15955 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15956 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15957 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15958 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15959 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15960 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15961 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15962 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15963 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15965 (_IO_flush_all_internal, _IO_adjust_column_internal)
15966 (_IO_default_uflow_internal, _IO_default_finish_internal)
15967 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15968 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15969 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15970 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15971 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15972 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15973 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15974 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15975 (_IO_file_close_internal, _IO_file_close_it_internal)
15976 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15977 (_IO_file_init_internal, _IO_file_attach_internal)
15978 (_IO_file_fopen_internal, _IO_file_read_internal)
15979 (_IO_file_sync_internal, _IO_file_seek_internal)
15980 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15981 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15982 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15983 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15984 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15985 (_IO_list_all_internal, _IO_link_in_internal)
15986 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15987 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15988 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15989 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15990 (_IO_do_write_internal, _IO_padn_internal)
15991 (_IO_getline_info_internal, _IO_getline_internal)
15992 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15993 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15994 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15995 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15996 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15997 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15998 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15999 with libc_hidden_ver, remove use of INTUSE.
16000 * libio/genops.c: Likewise.
16001 * libio/freopen.c: Likewise.
16002 * libio/freopen64.c: Likewise.
16003 * libio/iofclose.c: Likewise.
16004 * libio/iofdopen.c: Likewise.
16005 * libio/iofflush.c: Likewise.
16006 * libio/iofflush_u.c: Likewise.
16007 * libio/iofgets.c: Likewise.
16008 * libio/iofgets_u.c: Likewise.
16009 * libio/iofopen.c: Likewise.
16010 * libio/iofopncook.c: Likewise.
16011 * libio/iofread.c: Likewise.
16012 * libio/iofread_u.c: Likewise.
16013 * libio/ioftell.c: Likewise.
16014 * libio/iofwrite.c: Likewise.
16015 * libio/iogetline.c: Likewise.
16016 * libio/iogets.c: Likewise.
16017 * libio/iogetwline.c: Likewise.
16018 * libio/iopadn.c: Likewise.
16019 * libio/iopopen.c: Likewise.
16020 * libio/ioseekoff.c: Likewise.
16021 * libio/ioseekpos.c: Likewise.
16022 * libio/iosetbuffer.c: Likewise.
16023 * libio/iosetvbuf.c: Likewise.
16024 * libio/ioungetc.c: Likewise.
16025 * libio/ioungetwc.c: Likewise.
16026 * libio/iovdprintf.c: Likewise.
16027 * libio/iovsprintf.c: Likewise.
16028 * libio/iovsscanf.c: Likewise.
16029 * libio/memstream.c: Likewise.
16030 * libio/obprintf.c: Likewise.
16031 * libio/oldfileops.c: Likewise.
16032 * libio/oldiofclose.c: Likewise.
16033 * libio/oldiofdopen.c: Likewise.
16034 * libio/oldiofopen.c: Likewise.
16035 * libio/oldiopopen.c: Likewise.
16036 * libio/oldstdfiles.c: Likewise.
16037 * libio/putc.c: Likewise.
16038 * libio/setbuf.c: Likewise.
16039 * libio/setlinebuf.c: Likewise.
16040 * libio/stdfiles.c: Likewise.
16041 * libio/strops.c: Likewise.
16042 * libio/vasprintf.c: Likewise.
16043 * libio/vscanf.c: Likewise.
16044 * libio/vsnprintf.c: Likewise.
16045 * libio/vswprintf.c: Likewise.
16046 * libio/wfiledoalloc.c: Likewise.
16047 * libio/wfileops.c: Likewise.
16048 * libio/wgenops.c: Likewise.
16049 * libio/wmemstream.c: Likewise.
16050 * libio/wstrops.c: Likewise.
16051 * libio/__fpurge.c: Likewise.
16052 * libio/__fsetlocking.c: Likewise.
16053 * assert/assert.c: Likewise.
16054 * debug/fgets_chk.c: Likewise.
16055 * debug/fgets_u_chk.c: Likewise.
16056 * debug/fread_chk.c: Likewise.
16057 * debug/fread_u_chk.c: Likewise.
16058 * debug/gets_chk.c: Likewise.
16059 * debug/obprintf_chk.c: Likewise.
16060 * debug/vasprintf_chk.c: Likewise.
16061 * debug/vdprintf_chk.c: Likewise.
16062 * debug/vsnprintf_chk.c: Likewise.
16063 * debug/vsprintf_chk.c: Likewise.
16064 * malloc/mtrace.c: Likewise.
16065 * misc/error.c: Likewise.
16066 * misc/syslog.c: Likewise.
16067 * stdio-common/asprintf.c: Likewise.
16068 * stdio-common/fxprintf.c: Likewise.
16069 * stdio-common/getw.c: Likewise.
16070 * stdio-common/isoc99_fscanf.c: Likewise.
16071 * stdio-common/isoc99_scanf.c: Likewise.
16072 * stdio-common/isoc99_vfscanf.c: Likewise.
16073 * stdio-common/isoc99_vscanf.c: Likewise.
16074 * stdio-common/isoc99_vsscanf.c: Likewise.
16075 * stdio-common/printf-prs.c: Likewise.
16076 * stdio-common/printf_fp.c: Likewise.
16077 * stdio-common/printf_fphex.c: Likewise.
16078 * stdio-common/printf_size.c: Likewise.
16079 * stdio-common/putw.c: Likewise.
16080 * stdio-common/scanf.c: Likewise.
16081 * stdio-common/sprintf.c: Likewise.
16082 * stdio-common/tmpfile.c: Likewise.
16083 * stdio-common/vfprintf.c: Likewise.
16084 * stdio-common/vfscanf.c: Likewise.
16085 * stdlib/strfmon_l.c: Likewise.
16086 * sunrpc/openchild.c: Likewise.
16087 * sunrpc/xdr_stdio.c: Likewise.
16088 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16089 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16091 2012-05-24 Roland McGrath <roland@hack.frob.com>
16093 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16095 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16096 in the third column, to generate for the shared library an IFUNC
16097 that uses _dl_vdso_vsym.
16098 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16099 * Makeconfig (object-suffixes-noshared): New variable.
16101 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16102 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16103 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16104 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16107 * include/sys/time.h (__gettimeofday): Remove macro.
16108 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16109 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16111 (__gettimeofday): Add libc_hidden_def.
16112 (gettimeofday): Add libc_hidden_weak.
16113 * sysdeps/mach/gettimeofday.c: Likewise.
16114 * sysdeps/posix/gettimeofday.c: Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16118 (__gettimeofday_internal): Remove strong_alias.
16119 (__gettimeofday): Add libc_hidden_def.
16120 (gettimeofday): Add libc_hidden_weak.
16121 * sysdeps/unix/syscalls.list (gettimeofday):
16122 Remove __gettimeofday_internal alias.
16124 2012-05-24 Daniel Jacobowitz <drow@false.org>
16125 H.J. Lu <hongjiu.lu@intel.com>
16128 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16129 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16130 (largebin_index_32_big): New.
16131 (largebin_index): Use it for 16-byte alignment.
16132 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16133 correction with front_misalign.
16135 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16163 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16164 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16166 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16170 * math/libm-test.inc (exp_test): Add test from bug 14036.
16171 (pow_test): Add test from bug 10846.
16173 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16175 (special_function): Do not include flags in test name.
16176 (parse_args): Likewise.
16177 * sysdeps/i386/fpu/libm-test-ulps: Update.
16178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16179 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16180 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16183 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16185 * math/libm-test.inc ("Philosophy"): Update comment about
16187 (UNDERFLOW_EXCEPTION): New macro.
16188 (UNDERFLOW_EXCEPTION_OK): Likewise.
16189 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16190 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16191 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16192 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16193 (INVALID_EXCEPTION_OK): Update value.
16194 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16195 (OVERFLOW_EXCEPTION_OK): Likewise.
16196 (IGNORE_ZERO_INF_SIGN): Likewise.
16197 (test_exceptions): Handle underflow exceptions.
16198 (acos_test): Update for underflow exception expectations.
16199 (cexp_test): Likewise.
16200 (clog_test): Likewise.
16201 (clog10_test): Likewise.
16202 (csqrt_test): Likewise.
16203 (ctan_test): Likewise.
16204 (ctanh_test): Likewise.
16205 (exp_test): Likewise.
16206 (exp10_test): Likewise.
16207 (exp2_test): Likewise.
16208 (expm1_test): Likewise.
16209 (fma_test): Likewise.
16210 (j0_test): Likewise.
16211 (jn_test): Likewise.
16212 (nexttoward_test): Likewise.
16213 (pow_test): Likewise.
16214 (scalbn_test): Likewise.
16215 (scalbln_test): Likewise.
16216 (tan_test): Likewise.
16217 (y1_test): Likewise.
16218 * sysdeps/i386/fpu/libm-test-ulps: Update.
16219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16221 2012-05-23 David S. Miller <davem@davemloft.net>
16223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16224 (__libc_sigaction): Remove unused local variables.
16226 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16228 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16230 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16232 mktime: avoid signed integer overflow
16233 * time/mktime.c (__mktime_internal): Do not mishandle the case
16234 where diff == INT_MIN.
16236 mktime: simplify computation of average
16237 * time/mktime.c (ranged_convert): Use new time_t_avg function
16238 instead of rolling our own (probably-slower) code.
16240 mktime: do not assume signed right shift propagates sign bit
16241 * time/mktime.c (isdst_differ): New static function.
16242 (__mktime_internal): No need to normalize tm_isdst now.
16243 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16246 mktime: merge another wrapv change from gnulib
16247 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16248 from some compilers.
16250 mktime: remove incorrect attempt at unusual arithmetics
16251 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16252 The code didn't really work on such machines anyway.
16253 (TYPE_MINIMUM): Assume two's complement.
16254 (twos_complement_arithmetic): Verify that long_int and time_t
16255 are two's complement (or unsigned, in the latter case).
16257 mktime: check signed shifts on long_int and time_t, too
16258 * time/mktime.c (SHR): Check that shifts work as desired
16259 on the types long_int and time_t too, as SHR is used on
16262 mktime: do not assume 'long' is wide enough
16263 * time/mktime.c (verify): Move decl up.
16264 (long_int): New type.
16265 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16266 to remove assumption in the code that 'long' is wide enough to
16267 store year values. This assumption is not true on x32 and on
16268 some non-glibc platforms.
16270 mktime: merge wrapv change from gnulib
16271 * time/mktime.c (WRAPV): New macro.
16272 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16273 (guess_time_tm, __mktime_internal): Do not assume that signed
16274 integer overflow wraps around; modern compilers generate code
16275 where this assumption is no longer valid.
16277 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16279 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16280 Replace "jmp L(pseudo_end)" with "ret".
16281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16284 2012-05-23 Andreas Jaeger <aj@suse.de>
16286 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16287 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16289 2012-05-23 Andreas Jaeger <aj@suse.de>
16290 Maximilian Attems <max@stro.at>
16292 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16295 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16297 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16298 code so that pseudo_end is just ret and the stack pointer is
16299 correct also for static library in error case.
16301 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16303 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16304 move to syscalls.list.
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16310 * manual/install.texi (Running make install): Do not mention Linux
16311 kernel version for which pt_chown is not needed.
16312 (Linux): Do not mention problems with nscd with 2.0 kernels.
16313 * INSTALL: Regenerated.
16315 2012-05-23 Andreas Jaeger <aj@suse.de>
16317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16318 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16320 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16321 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16322 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16324 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16328 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16330 * sysdeps/unix/sysv/linux/bits/in.h
16331 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16333 2012-05-22 Roland McGrath <roland@hack.frob.com>
16335 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16336 (PREPARE_VERSION): Just use assert instead, it will be elided
16337 under [NDEBUG] anyway.
16339 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16341 * sysdeps/unix/sysv/linux/Makefile: Include
16342 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16343 (sysdep_routines): Remove sysctl.
16344 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16345 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16347 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16348 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16350 2012-05-22 Andreas Jaeger <aj@suse.de>
16352 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16353 that pseudo_end is just ret and the stack pointer is correct also
16354 for static library in error case.
16356 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16359 * nss/nsswitch.c (defconfig_entries): New variable.
16360 (__nss_database_lookup): Don't leak defconfig entries.
16361 (nss_parse_service_list): Don't leak on error paths.
16362 (free_database_entries): New function.
16363 (free_defconfig): New function.
16364 (free_mem): Move common code to free_database_entries.
16366 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16368 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16370 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16372 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16373 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16376 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16377 (INTERNAL_SYSCALL_TYPES): Likewise.
16378 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16379 (LOAD_REGS_TYPES_[1-6]): Likewise.
16380 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16381 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16383 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16386 copysignl for GLIBC_2_0.
16387 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16388 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16389 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16390 logbl for GLIBC_2_0.
16391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16392 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16394 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16397 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16399 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16402 * time/mktime.c: Update copyright years.
16404 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16406 mktime: merge comment-quoting-style change from gnulib
16407 * time/mktime.c: Quote 'like this' in comments.
16408 The GNU coding standards suggest that we no longer quote `like this',
16409 as "`" and "'" are typically rendered asymmetrically nowadays.
16410 The typical gnulib style is to quote 'like this' when quoting
16411 code, and "like this" when quoting English.
16413 * time/mktime.c (compile-command): Add "-I.".
16415 mktime: merge mktime-internal.h change from gnulib
16416 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16418 mktime: merge time_r change from gnulib
16419 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16421 mktime: merge DEBUG change from gnulib
16422 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16423 case system <time.h> has a #define.
16425 mktime: merge <sys/types.h> change from gnulib
16426 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16427 since <time.t> is now guaranteed to define time_t.
16429 mktime: merge HAVE_CONFIG_H change from gnulib
16430 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16432 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16437 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16439 (struct rusage): Use anonymous union to pad each field to
16442 2012-05-21 David S. Miller <davem@davemloft.net>
16444 * Makefules (o-iterator): Remove .s cases.
16445 (compile-command.s): Delete.
16446 (COMPILE.s): Delete.
16447 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16449 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16451 * configure.in (libc_cv_predef_stack_protector): Only consider
16452 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16453 * configure: Regenerated.
16455 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16458 New macro. Use R*LP on int and pointer.
16459 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16460 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16461 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16462 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16464 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16465 [__WORDSIZE_TIME64_COMPAT32] instead of
16466 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16467 (struct utmp): Likewise.
16468 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16469 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16471 (__WORDSIZE_TIME64_COMPAT32): This.
16472 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16473 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16474 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16475 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16476 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16477 (__WORDSIZE_TIME64_COMPAT32): New macro.
16479 2012-05-21 Andreas Jaeger <aj@suse.de>
16481 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16482 only if [SHARED]. Add prototype for __wcschr_ia32.
16484 2012-05-21 Roland McGrath <roland@hack.frob.com>
16486 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16487 of %rbp unmolested in the jmp_buf while mangling the low bits.
16488 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16489 unmolested high bits of %rbp while demangling the low bits.
16490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16492 2012-05-21 Andreas Jaeger <aj@suse.de>
16494 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16495 * sunrpc/svc_simple.c: Use it for registerrpc.
16496 * sunrpc/xcrypt.c: Use it for passwd2des.
16498 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16500 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16502 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16503 Don't define if [__SYSCALL_WORDSIZE != 32].
16504 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16507 2012-05-21 Bruno Haible <bruno@clisp.org>
16508 Andreas Jaeger <aj@suse.de>
16510 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16511 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16512 inptr and inend for must_buffer_ch.
16513 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16514 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16515 * stdio-common/Makefile (tests): Remove bug15.
16516 (bug15-ENV): Remove macro.
16517 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16520 2012-05-19 Andreas Jaeger <aj@suse.de>
16521 Roland McGrath <roland@hack.frob.com>
16523 * manual/contrib.texi: Completely rewritten. It contains now an
16524 alphabetical list of contributors and their contributions.
16526 2012-05-21 Richard Henderson <rth@twiddle.net>
16528 * misc/getauxval.c (__getauxval): Use unsigned long int.
16529 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16530 (getauxval): Use unsigned long int.
16532 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16534 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16536 2012-05-21 Roland McGrath <roland@hack.frob.com>
16538 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16539 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16540 __alignof__ (long double).
16542 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16546 2012-05-20 Richard Henderson <rth@twiddle.net>
16548 * misc/getauxval.c: New file.
16549 * misc/sys/auxv.h: New file.
16550 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16551 (routines): Add getauxval.
16552 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16553 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16554 * elf/dl-sysdep.c (_dl_auxv): Remove.
16555 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16556 * elf/dl-support.c (_dl_auxv): New variable.
16557 (_dl_aux_init): Initialize it.
16558 * manual/startup.texi (Auxiliary Vector): New node.
16559 * sysdeps/generic/bits/hwcap.h: New file.
16560 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16561 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16562 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16563 * sysdeps/sparc/sysdep.h: ... here. Include it.
16564 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16577 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16581 2012-05-19 David S. Miller <davem@davemloft.net>
16583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16585 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16588 * math/s_ccosh.c: Include <float.h>
16589 (__ccosh): Avoid internal overflow calculating sinh and cosh
16590 values before multiplying by sin and cos values.
16591 * math/s_ccoshf.c: Likewise.
16592 * math/s_ccoshl.c: Likewise.
16593 * math/s_csin.c: Likewise.
16594 * math/s_csinf.c: Likewise.
16595 * math/s_csinl.c: Likewise.
16596 * math/s_csinh.c: Likewise.
16597 * math/s_csinhf.c: Likewise.
16598 * math/s_csinhl.c: Likewise.
16599 * math/libm-test.inc (ccos_test): Add more tests.
16600 (ccosh_test): Likewise.
16601 (csin_test): Likewise.
16602 (csinh_test): Likewise.
16603 * sysdeps/i386/fpu/libm-test-ulps: Update.
16604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16606 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16608 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16609 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16611 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16613 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16615 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16616 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16617 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16618 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16619 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16620 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16621 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16622 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16623 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16624 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16625 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16626 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16627 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16628 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16629 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16630 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16631 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16632 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16633 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16634 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16635 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16636 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16637 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16638 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16639 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16640 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16641 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16642 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16643 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16644 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16645 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16647 2012-05-18 Andreas Jaeger <aj@suse.de>
16649 * csu/.gitignore: Delete.
16651 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16653 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16654 (timex): Use __syscall_slong_t.
16656 2012-05-18 Andreas Jaeger <aj@suse.de>
16657 Carlos O'Donell <carlos_odonell@mentor.com>
16659 * manual/install.texi (Configuring and compiling): Update
16660 description about files modified in the source directory.
16661 * INSTALL: Regenerated.
16663 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16665 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16666 value. Use "or" to set return value to -1.
16667 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16668 negate return value.
16670 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16672 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16673 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16674 failure if the compiler has Graphite support disabled.
16675 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16677 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16678 CFLAGS-memmove.c): Likewise.
16679 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16682 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16684 * sysdeps/x86_64/x32/_itoa.h: New file.
16686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16687 getdents system call only if kernel and user dirents have the
16688 same d_ino and d_off.
16690 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16691 LLONG_MAX != LONG_MAX.
16692 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16693 (_fitoa_word): Likewise.
16695 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16698 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16699 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16701 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16702 include <bits/wordsize.h>. Check __x86_64__ instead of
16704 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16705 if __x86_64__ is defined. Use anonymous union on fpstate.
16707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16710 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16712 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16713 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16714 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16715 Refer to _rtld_local_ro instead of _rtld_global_ro.
16716 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16718 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16720 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16722 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16723 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16724 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16726 * sysdeps/powerpc/powerpc32/dl-machine.c
16727 (__elf_machine_runtime_setup) [PROF]: Don't reference
16730 2012-05-18 Andreas Jaeger <aj@suse.de>
16732 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16733 function only available for GCCs before 3.4 since GCC 3.4
16734 introduced a builtin.
16736 (llrintf): Likewise.
16737 (llrint): Likewise.
16744 (nearbyint): Likewise.
16745 (nearbyintf): Likewise.
16749 (floorf): Likewise.
16751 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16753 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16754 on both fields and cast pointer to __syscall_ulong_t.
16756 * bits/types.h (__fsword_t): New type.
16757 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16758 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16760 (__FSWORD_T_TYPE): Likewise.
16761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16762 (__FSWORD_T_TYPE): Likewise.
16763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16764 (__FSWORD_T_TYPE): Likewise.
16765 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16766 (__FSWORD_T_TYPE): Likewise.
16767 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16768 __SWORD_TYPE with __fsword_t.
16769 (statfs64): Likewise.
16771 2012-05-17 David S. Miller <davem@davemloft.net>
16773 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16775 2012-05-17 Andreas Jaeger <aj@suse.de>
16777 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16780 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16782 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16784 2012-05-17 Andreas Jaeger <aj@suse.de>
16786 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16789 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16791 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16793 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16795 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16796 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16798 2012-05-17 Andreas Jaeger <aj@suse.de>
16799 Carlos O'Donell <carlos_odonell@mentor.com>
16802 * sysdeps/x86_64/multiarch/init-arch.h
16803 (bit_YMM_Usable): Rename to...
16804 (bit_AVX_Usable): ... this.
16805 (bit_FMA4_Usable): New macro.
16806 (bit_XMM_state): New macro.
16807 (bit_YMM_state): New macro.
16808 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16809 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16810 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16811 (CPUID_OSXSAVE): New macro.
16812 (CPUID_AVX): New macro.
16813 (CPUID_FMA4): New macro.
16814 (index_YMM_Usable): Rename to...
16815 (index_AVX_Usable): ... this.
16816 (HAS_AVX): Use HAS_ARCH_FEATURE.
16817 (HAS_FMA4): Likewise.
16818 (HAS_YMM_USABLE): Remove.
16819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16820 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16822 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16823 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16824 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16825 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16826 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16828 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16830 * math/libm-test.c: Support platforms without multiple rounding modes.
16831 * math/bug-nextafter.c: Support platforms without FP exceptions.
16832 * math/bug-nexttoward.c: Likewise.
16833 * math/test-fenv.c: Likewise.
16834 * math/test-misc.c: Likewise.
16835 * stdlib/bug-getcontext.c: Likewise.
16837 2012-05-17 Andreas Jaeger <aj@suse.de>
16839 * manual/examples/search.c (critter_cmp): Change signature to
16841 * manual/string.texi (Collation Functions): Likewise.
16843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16845 * bits/types.h: Fold copyright years.
16846 * bits/typesizes.h: Likewise.
16847 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16851 * time/time.h: Likewise.
16853 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16856 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16857 in instead of returning them. Return void.
16858 (__libc_mallinfo): Accumulate over all arenas.
16859 (__malloc_stats): Adjust for change in int_mallinfo interface.
16861 2012-05-16 Roland McGrath <roland@hack.frob.com>
16864 * configure.in (NM): Add AC_CHECK_TOOL for it.
16865 (libc_extra_cflags): New substituted variable.
16866 Check for -fstack-protector being used implicitly.
16867 * configure: Regenerated.
16868 * config.make.in (config-extra-cflags): New variable,
16869 gets @libc_extra_cflags@.
16870 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16873 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16874 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16875 * configure: Regenerated.
16876 * config.make.in (CPPUNDEFS): New substituted variable.
16877 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16878 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16879 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16881 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16883 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16884 (mq_attr): Use __syscall_slong_t.
16886 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16888 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16889 Check __x86_64__ instead of __WORDSIZE.
16890 (_STAT_VER_LINUX): Likewise.
16891 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16892 __syscall_ulong_t and __syscall_slong_t.
16893 (stat64): Likewise.
16895 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16899 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16901 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16903 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16905 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16908 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16909 include <bits/wordsize.h>. Check __x86_64__ instead of
16911 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16913 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16915 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16916 include <bits/wordsize.h>. Check __x86_64__ instead of
16918 (user_regs_struct): Use "__extension__ unsigned long long"
16919 instead of "unsigned long" if __x86_64__ is defined.
16920 (user): Likewise. Pad after pointer field if __ILP32__ is
16923 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16925 * configure.in (makeinfo): Require version 4.5 or later. Allow
16927 * configure: Regenerated.
16928 * manual/install.texi (texinfo): Increase version requirement to
16930 * INSTALL: Regenerated.
16932 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16934 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16936 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16938 * sysdeps/x86_64/x32/ffs.c: New file.
16940 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16942 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16943 defined. Use __syscall_ulong_t.
16944 (shminfo): Use __syscall_ulong_t.
16945 (shm_info): Likewise.
16947 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16950 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16952 (msgqnum_t): Use __syscall_ulong_t.
16953 (msglen_t): Likewise.
16954 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16957 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16958 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16960 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16962 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16963 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16965 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16968 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16969 include <bits/wordsize.h>. Check __x86_64__ instead of
16972 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16973 "unsigned long long int" if __x86_64__ is defined.
16974 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16977 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16978 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16980 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16982 (GET_PC): Cast to uintptr_t first.
16983 (GET_FRAME): Likewise.
16984 (GET_STACK): Likewise.
16986 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16987 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16988 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16989 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16990 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16991 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16992 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16993 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16994 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16996 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16997 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16998 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16999 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17000 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17001 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17002 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17003 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17007 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17009 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17011 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17013 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17016 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17018 * Makerules (+depfiles): Also collect depfiles from .oS in
17020 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17021 .oS, $(libnldbl-routines)).
17023 * Makerules (native-compile-mkdep-flags): Define.
17024 * sunrpc/Makefile (extra-objs): Add $(addprefix
17025 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17026 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17027 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17028 calling $(make-target-directory).
17030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17032 * bits/types.h (__snseconds_t): Removed.
17033 * time/time.h (struct timespec): Replace __snseconds_t with
17035 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17036 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17039 (__SNSECONDS_T_TYPE): Likewise.
17040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17041 (__SNSECONDS_T_TYPE): Likewise.
17042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17043 (__SNSECONDS_T_TYPE): Likewise.
17045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17047 * sysdeps/mach/hurd/bits/typesizes.h
17048 (__SYSCALL_SLONG_TYPE): New macro.
17049 (__SYSCALL_ULONG_TYPE): Likewise.
17051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17053 * bits/types.h (__syscall_slong_t): New type.
17054 (__syscall_ulong_t): Likewise.
17056 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17057 (__SYSCALL_ULONG_TYPE): Likewise.
17058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17059 (__SYSCALL_SLONG_TYPE): Likewise.
17060 (__SYSCALL_ULONG_TYPE): Likewise.
17061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17062 (__SYSCALL_SLONG_TYPE): Likewise.
17063 (__SYSCALL_ULONG_TYPE): Likewise.
17064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17065 (__SYSCALL_SLONG_TYPE): Likewise.
17066 (__SYSCALL_ULONG_TYPE): Likewise.
17068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17070 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17071 Add sigaltstack-offsets.sym.
17072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17073 <sigaltstack-offsets.h>.
17074 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17075 longjmp_msg pointer.
17076 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17077 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17079 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17081 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17083 * elf/stackguard-macros.h: Remove file.
17084 * sysdeps/generic/stackguard-macros.h: New file.
17085 * sysdeps/i386/stackguard-macros.h: Likewise.
17086 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17087 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17088 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17089 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17090 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17091 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17092 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17093 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17094 <elf/stackguard-macros.h>.
17097 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17098 __aligned__ in attribute.
17099 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17100 (gregset_t): Likewise.
17102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17104 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17105 * sysdeps/x86_64/64/Implies-after: Here. New file.
17106 * sysdeps/x86_64/x32/Implies-after: New file.
17108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17110 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17111 and access return value for _dl_profile_fixup. Use R10_LP to
17114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17116 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17120 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17121 * sysdeps/x86_64/x32/sysdep.h: New file.
17123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17125 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17126 * sysdeps/x86_64/setjmp.S: Likewise.
17128 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17130 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17131 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17132 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17133 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17134 remove unused global constant.
17136 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17138 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17139 include of <not-cancel.h>.
17141 2012-05-15 Roland McGrath <roland@hack.frob.com>
17143 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17145 2012-05-15 Jeff Law <law@redhat.com>
17146 Andreas Jaeger <aj@suse.de>
17149 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17151 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17152 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17153 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17154 code changing __hst_map_handle.map.
17156 2012-05-15 Roland McGrath <roland@hack.frob.com>
17158 * configure.in (sysnames): Look for Implies-before and Implies-after
17160 * configure: Regenerated.
17162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17164 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17165 8-byte data alignment with LP_SIZE alignment.
17167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17169 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17174 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17178 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17186 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17187 (stackinfo_sub_sp): Likewise.
17189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17191 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17196 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17201 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17206 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17210 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17211 into R11_LP and load __x86_64_shared_cache_size_half into
17214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17216 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17219 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17227 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17228 powerpc32/power7/fpu/s_logb.c via #include.
17229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17230 powerpc32/power7/fpu/s_logbf.c via #include.
17231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17232 powerpc32/power7/fpu/s_logbl.c via #include.
17234 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17236 * README.libm: Remove file.
17238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17240 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17241 count for x32. Use R*_LP and omit operand-size suffix.
17243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17245 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17246 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17247 * sysdeps/x86_64/x32/shlib-versions: New file.
17249 2012-05-14 Roland McGrath <roland@hack.frob.com>
17251 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17252 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17253 Use _dl_fatal_printf instead.
17255 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17257 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17258 set if not set by the user. Do not allow for being unset.
17259 * sysdeps/unix/sysv/linux/configure: Regenerated.
17261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17263 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17264 the `q' suffix from lea and replace .quad with ASM_ADDR.
17266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17269 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17271 (PTR_DEMANGLE): Likewise.
17273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17275 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17277 (ASM_ADDR): Likewise.
17278 (RAX_LP): Likewise.
17279 (RBP_LP): Likewise.
17280 (RBX_LP): Likewise.
17281 (RCX_LP): Likewise.
17282 (RDI_LP): Likewise.
17283 (RSI_LP): Likewise.
17284 (RSP_LP): Likewise.
17287 (R10_LP): Likewise.
17288 (R10_LP): Likewise.
17289 (R11_LP): Likewise.
17290 (R12_LP): Likewise.
17291 (R13_LP): Likewise.
17292 (R14_LP): Likewise.
17293 (R15_LP): Likewise.
17295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17297 * sysdeps/x86_64/x32/dl-machine.h: New file.
17299 2012-05-14 Andreas Jaeger <aj@suse.de>
17301 * manual/Makefile (subdir): Remove export of subdir.
17302 (all): Remove target.
17303 (.PHONY): Remove all from list.
17304 (mkinstalldirs): Remove.
17305 (.PHONY): Remove installdirs from list.
17306 ($(inst_infodir)/libc.info): Use make-target-directory.
17307 (installdirs): Remove.
17308 (subdir_%): Remove.
17309 (glibc-targets): Remove.
17312 ($(objpfx)stubs ../po/manual.pot): Remove.
17313 ($(objpfx)stamp%): Remove.
17314 (make-target-directory): Remove.
17315 (subdir_install): Remove.
17316 (routines): Remove.
17323 * manual/.gitignore: Remove, it's not needed anymore.
17324 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17326 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17328 (texis): Renamed to $(objpfx)texis.
17329 (texis-path): New, contains path to generated files.
17330 (chapters.%): Use texis-path for complete path, add extra argument
17332 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17333 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17334 (summary,texi, stamp-summary): Use complete path of
17335 files. Generate files in build dir.
17336 (dir-add.texi): Build in build dir.
17337 (libm-err.texi,stamp-libm-err): Likewise.
17338 (version.texi, stamp-version): Likewise.
17339 (.%c.texi): Likewise.
17340 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17341 (mostlyclean): Remove target.
17342 (realclean): Remove target.
17343 (generated): Add new variable with contents from mostlyclean and
17344 realclean, remove entries duplicated in common-mostlyclean, add
17345 stamp-libm-err and stamp-version.
17346 (generated-dirs): Add libc directory.
17347 ($(inst_infodir)/libc.info): Install files from build dir.
17349 * manual/install.texi (Configuring and compiling): Adjust since
17350 the info files are not part of the tar ball anymore.
17352 2012-05-14 Andreas Jaeger <aj@suse.de>
17354 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17357 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17360 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17361 to 2.2.0 where earlier.
17362 * sysdeps/unix/sysv/linux/configure: Regenerated.
17363 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17364 Remove conditional code.
17365 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17366 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17367 Remove conditional code.
17368 [!__NR_lchown]: Likewise.
17369 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17370 [__NR_lchown]: Likewise.
17371 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17372 comment referencing __ASSUME_LCHOWN_SYSCALL.
17373 * sysdeps/unix/sysv/linux/i386/sigaction.c
17374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17376 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17377 Remove conditional code.
17378 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17379 (__protocol_available): Remove #if 0 code.
17380 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17382 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17383 * sysdeps/unix/sysv/linux/kernel-features.h
17384 (__ASSUME_GETCWD_SYSCALL): Don't define.
17385 (__ASSUME_REALTIME_SIGNALS): Likewise.
17386 (__ASSUME_PREAD_SYSCALL): Likewise.
17387 (__ASSUME_PWRITE_SYSCALL): Likewise.
17388 (__ASSUME_POLL_SYSCALL): Likewise.
17389 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17390 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17392 (__ASSUME_SIOCGIFNAME): Don't define.
17393 (__ASSUME_MSG_NOSIGNAL): Likewise.
17394 (__ASSUME_SENDFILE): Define unconditionally.
17395 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17396 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17398 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17399 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17400 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17401 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17402 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17403 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17404 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17406 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17409 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17410 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17412 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17415 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17418 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17421 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17427 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17429 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17430 Remove conditional code.
17431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17432 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17433 Remove conditional code.
17434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17435 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17436 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17437 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17438 Remove conditional code.
17439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17440 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17441 Remove conditional code.
17442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17443 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17444 Remove conditional code.
17445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17446 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17447 Remove conditional code.
17448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17449 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17450 Remove conditional code.
17451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17452 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17455 * sysdeps/unix/sysv/linux/sigaction.c
17456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17458 * sysdeps/unix/sysv/linux/sigpending.c
17459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17461 * sysdeps/unix/sysv/linux/sigprocmask.c
17462 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17463 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17464 * sysdeps/unix/sysv/linux/sigsuspend.c
17465 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17466 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17468 (__libc_missing_rt_sigs): Remove.
17469 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17470 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17471 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17472 Remove conditional code.
17473 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17474 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17477 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17479 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17481 2012-05-14 Andreas Jaeger <aj@suse.de>
17483 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17484 it's not used in glibc.
17485 (__coshm1): Likewise.
17486 (__acosh1p): Likewise.
17489 * manual/string.texi (Copying and Concatenation): Add missing
17490 variable in concat example.
17491 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17497 __builtin_clzl with __builtin_clzll.
17499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17502 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17505 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17507 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17508 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17509 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17510 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17512 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17514 * NEWS: Update ia64 info.
17516 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17518 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17521 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17523 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17524 * sysdeps/unix/syscalls.list (dup3): Likewise.
17525 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17526 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17528 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17530 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17531 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17533 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17535 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17537 (TLS_IE): Use mov/add instead of movq/addq to load thread
17539 (TLS_GD_PREFIX): New.
17542 2012-05-11 David S. Miller <davem@davemloft.net>
17544 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17545 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17546 (_FPU_SETCW): Likewise.
17548 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17550 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17551 is 32-byte aligned.
17553 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17556 * iconvdata/gb18030.c: Update tables.
17557 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17558 characters specially.
17559 (BODY for TO_LOOP): Add encoding of missing ranges.
17561 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17564 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17565 * sysdeps/mach/hurd/dup3.c: Likewise.
17566 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17567 * sysdeps/powerpc/memmove.c:: Likewise.
17569 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17572 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17574 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17576 * elf/elf.h (R_X86_64_RELATIVE64): New.
17577 (R_X86_64_NUM): Updated.
17578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17579 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17580 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17581 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17582 tst-quad1pie tst-quad2pie
17583 (modules-names): Add tst-quadmod1 tst-quadmod2.
17584 ($(objpfx)tst-quad1): New dependency.
17585 ($(objpfx)tst-quad2): Likewise.
17586 ($(objpfx)tst-quad1pie): Likewise.
17587 ($(objpfx)tst-quad2pie): Likewise.
17588 * sysdeps/x86_64/tst-quad1.c: New file.
17589 * sysdeps/x86_64/tst-quad1pie.c: New file.
17590 * sysdeps/x86_64/tst-quad2.c: Likewise.
17591 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17592 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17593 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17594 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17595 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17599 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17600 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17601 * streams/stropts.h (t_scalar_t): Define type.
17603 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17604 (_PATH_PRESERVE): Set to "/var/lib".
17605 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17607 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17610 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17611 if __dir_mkfile succeeded.
17613 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17614 checking for _hurd_dtablesize. Unlock it right after having
17615 finished _hurd_dtable allocation.
17617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17619 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17620 * sysdeps/mach/hurd/configure: Regenerated.
17621 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17622 special-casing to...
17623 * sysdeps/gnu/configure.in: ... this new file.
17624 * sysdeps/unix/sysv/linux/configure: Regenerated.
17625 * sysdeps/gnu/configure: New generated file.
17627 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17628 for Linux: use nsec instead of usec, as well as:
17629 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17630 members of type struct timespec.
17631 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17633 (struct stat64): Likewise.
17634 (_STATBUF_ST_NSEC): New macro.
17635 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17637 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17638 __strtoul_internal rather than strtoul.
17640 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17642 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17645 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17647 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17648 which preserves existing values.
17649 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17651 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17653 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17654 TIMEOUT values. Return EINVAL for NFDS values either negative or
17655 greater than FD_SETSIZE.
17657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17659 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17660 allocated, call __vm_protect to finish enabling the existing space, and
17661 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17662 allocate the remainder.
17664 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17666 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17667 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17671 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17672 sysdeps/mach/hurd/readlink.c.
17674 * posix/tst-sysconf.c (posix_options): Only use
17675 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17676 _POSIX_SYNCHRONIZED_IO when they are defined
17677 * sysdeps/mach/hurd/bits/posix_opt.h:
17678 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17679 (_XOPEN_REALTIME): Undefine macro.
17680 (_XOPEN_REALTIME_THREADS): Undefine macro.
17681 (_XOPEN_SHM): Undefine macro.
17682 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17684 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17686 (_POSIX_ASYNC_IO): Undefine macro.
17687 (_POSIX_PRIORITIZED_IO): Undefine macro.
17688 (_POSIX_SPIN_LOCKS): Define macro to -1.
17690 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17691 SA_NODEFER, SA_RESETHAND.
17692 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17693 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17696 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17698 * elf/Makefile (pldd-modules): Define unconditionally.
17700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17702 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17706 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17707 Return ENOENT when name is empty.
17708 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17712 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17714 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17716 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17718 Fix mlock in all cases except non-readable pages.
17719 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17720 instead of VM_PROT_ALL as parameter to __vm_wire function.
17722 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17723 (__mkdir): When path is `/', just fail with EEXIST.
17724 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17728 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17729 <sys/uio.h> (for writev).
17730 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17731 and <sys/param.h> (for MIN).
17733 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17735 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17736 REQUESTED_TIME. Properly set the remaining time and return EINTR
17739 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17741 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17742 Depend on against $(link-rpcuserlibs).
17744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17746 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17747 (__libc_stack_end): Do not use attribute_relro.
17748 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17749 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17750 to libthread-provided value.
17751 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17757 * bits/libc-lock.h (__libc_once_get): New macro.
17758 * sysdeps/mach/bits/libc-lock.h: Likewise.
17759 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17760 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17761 instead of using implementation details.
17763 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17764 * libio/freopen.c: Likewise.
17765 * libio/freopen64.c: Likewise.
17766 * misc/syslog.c: Likewise.
17767 * nscd/connections.c: Likewise.
17768 * nscd/netgroupcache.c: Likewise.
17769 * sysdeps/posix/getcwd.c: Likewise.
17771 2012-05-10 Roland McGrath <roland@hack.frob.com>
17773 * math/w_ilogbf.c: Add #include <limits.h>.
17775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17777 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17778 path instead of returning without unlocking.
17780 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17781 immediate-write ioctls.
17782 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17786 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17787 __builtin_frame_address instead of making assumptions about the
17788 location of the return address relative to DATA. Force early load of
17789 the return address.
17790 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17791 __builtin_frame_address.
17794 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17795 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17796 implement dup3 and do some further code clean-ups.
17797 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17798 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17802 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17804 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17805 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17806 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17807 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17808 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17811 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17812 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17813 when handler == SIG_ERR, not when handler != SIG_ERR.
17815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17817 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17818 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17821 accept4 for GNU Hurd.
17822 * include/sys/socket.h (__libc_accept4): New prototype.
17823 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17824 to implement __libc_accept4.
17825 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17827 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17829 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17830 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17831 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17832 signal-defines.sym.
17834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17836 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17840 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17841 assertion on O_CLOEXEC flag.
17842 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17843 * hurd/intern-fd.c: Likewise.
17844 * hurd/port2fd.c: Likewise.
17846 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17849 * bits/in.h (IPV6_PKTINFO): Define new macro.
17850 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17852 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17857 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17859 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17860 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17862 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17863 * math/libm-test.inc (logb_test) : Additional logb tests.
17865 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17866 Andreas Jaeger <aj@suse.de>
17868 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17869 * configure: Regenerated.
17870 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17871 * config.make.in (link-obsolete-rpc): New substituted variable.
17872 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17873 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17874 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17875 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17876 so that libc.a contains the symbols.
17877 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17878 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17879 * sunrpc/auth_none.c: Likewise.
17880 * sunrpc/auth_unix.c: Likewise.
17881 * sunrpc/authdes_prot.c: Likewise.
17882 * sunrpc/authuxprot.c: Likewise.
17883 * sunrpc/clnt_gen.c: Likewise.
17884 * sunrpc/clnt_perr.c: Likewise.
17885 * sunrpc/clnt_raw.c: Likewise.
17886 * sunrpc/clnt_simp.c: Likewise.
17887 * sunrpc/clnt_tcp.c: Likewise.
17888 * sunrpc/clnt_udp.c: Likewise.
17889 * sunrpc/clnt_unix.c: Likewise.
17890 * sunrpc/des_crypt.c: Likewise.
17891 * sunrpc/des_soft.c: Likewise.
17892 * sunrpc/get_myaddr.c: Likewise.
17893 * sunrpc/key_call.c: Likewise.
17894 * sunrpc/key_prot.c: Likewise.
17895 * sunrpc/netname.c: Likewise.
17896 * sunrpc/pm_getmaps.c: Likewise.
17897 * sunrpc/pm_getport.c: Likewise.
17898 * sunrpc/pmap_clnt.c: Likewise.
17899 * sunrpc/pmap_prot.c: Likewise.
17900 * sunrpc/pmap_prot2.c: Likewise.
17901 * sunrpc/pmap_rmt.c: Likewise.
17902 * sunrpc/publickey.c: Likewise.
17903 * sunrpc/rpc_cmsg.c: Likewise.
17904 * sunrpc/rpc_common.c: Likewise.
17905 * sunrpc/rpc_dtable.c: Likewise.
17906 * sunrpc/rpc_prot.c: Likewise.
17907 * sunrpc/rpc_thread.c: Likewise.
17908 * sunrpc/rtime.c: Likewise.
17909 * sunrpc/svc.c: Likewise.
17910 * sunrpc/svc_auth.c: Likewise.
17911 * sunrpc/svc_raw.c: Likewise.
17912 * sunrpc/svc_run.c: Likewise.
17913 * sunrpc/svc_tcp.c: Likewise.
17914 * sunrpc/svc_udp.c: Likewise.
17915 * sunrpc/svc_unix.c: Likewise.
17916 * sunrpc/svcauth_des.c: Likewise.
17917 * sunrpc/xcrypt.c: Likewise.
17918 * sunrpc/xdr.c: Likewise.
17919 * sunrpc/xdr_array.c: Likewise.
17920 * sunrpc/xdr_float.c: Likewise.
17921 * sunrpc/xdr_intXX_t.c: Likewise.
17922 * sunrpc/xdr_mem.c: Likewise.
17923 * sunrpc/xdr_rec.c: Likewise.
17924 * sunrpc/xdr_ref.c: Likewise.
17925 * sunrpc/xdr_sizeof.c: Likewise.
17926 * sunrpc/xdr_stdio.c: Likewise.
17928 2012-05-10 Roland McGrath <roland@hack.frob.com>
17930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17931 change. Update copyright years.
17933 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17935 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17937 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17938 Joseph Myers <joseph@codesourcery.com>
17939 Paul Pluzhnikov <ppluzhnikov@google.com>
17942 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17944 [cross-compiling] (extra-libs): Likewise.
17945 [cross-compiling] (extra-libs-others): Likewise.
17946 [cross-compiling] (librpcsvc-routines): Likewise.
17947 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17948 [cross-compiling] (omit-deps): Likewise.
17949 (sunrpc-CPPFLAGS): New variable.
17950 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17951 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17952 (cross-rpcgen-objs): New variable.
17953 (extra-objs): Append $(cross-rpcgen-objs).
17954 ($(cross-rpcgen-objs)): New rule.
17955 ($(objpfx)cross-rpcgen): Likewise.
17956 (rpcgen-cmd): Define to use $(built-program-file). Expand
17958 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17959 ($(objpfx)x%.stmp): Likewise.
17960 * sunrpc/proto.h [IS_IN_build] (_): Define.
17961 [IS_IN_build] (_libc_intl_domainname): Likewise.
17963 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17966 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17967 and R_X86_64_TPOFF64.
17969 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17971 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17972 sysdeps/unix/sysv/syscalls.list.
17975 * sysdeps/unix/sysv/syscalls.list: Remove file.
17977 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17980 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17981 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17982 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17983 (__LC_IDENTIFICATION): Make these macros useful in #if
17984 expressions, as required by C99.
17986 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17988 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17989 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17992 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17994 * stdlib/longlong.h: Updated from GCC.
17996 2012-05-09 Andreas Jaeger <aj@suse.de>
17998 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17999 default is first entry.
18000 (run_mode): Set type.
18001 (main): Remove informal message about syslog.
18002 (options): Fix typo.
18005 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18008 (llrintf): Likewise.
18009 (llrint): Likewise.
18012 (nearbyint): Likewise.
18013 (nearbyintf): Likewise.
18015 2012-05-09 Andreas Jaeger <aj@suse.de>
18016 Pedro Alves <palves@redhat.com>
18018 * nscd/nscd.c (run_mode): Use enum.
18019 (main): Cleanup coding style issue.
18021 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18022 Andreas Jaeger <aj@suse.de>
18024 * nscd/nscd.c (go_background): Replaced with...
18025 (run_mode): ... this.
18026 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18027 (options): Add -F --foreground.
18028 (main): Implement it.
18029 (parse_opt): Parse it.
18031 2012-05-09 Andreas Jaeger <aj@suse.de>
18034 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18035 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18036 -Wconversion warning.
18037 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18040 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18042 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18044 (LC_ALL): Use macro-int-constant.
18045 (LC_COLLATE): Likewise.
18046 (LC_CTYPE): Likewise.
18047 (LC_MESSAGES): Likewise.
18048 (LC_MONETARY): Likewise.
18049 (LC_NUMERIC): Likewise.
18050 (LC_TIME): Likewise.
18051 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18052 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18054 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18056 [C99-based standards] (float_t): Expect type.
18057 [C99-based standards] (double_t): Expect type.
18058 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18060 [C99-based standards] (HUGE_VALL): Likewise.
18061 [C99-based standards] (INFINITY): Likewise.
18062 [C99-based standards] (NAN): Likewise.
18063 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18064 [C99-based standards] (FP_NAN): Likewise.
18065 [C99-based standards] (FP_NORMAL): Likewise.
18066 [C99-based standards] (FP_SUBNORMAL): Likewise.
18067 [C99-based standards] (FP_ZERO): Likewise.
18068 [C99-based standards] (FP_FAST_FMA): Use
18069 optional-macro-int-constant. Specify type. Require == 1.
18070 [C99-based standards] (FP_FAST_FMAF): Likewise.
18071 [C99-based standards] (FP_FAST_FMAL): Likewise.
18072 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18073 [C99-based standards] (FP_ILOGBNAN): Likewise.
18074 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18076 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18077 [C99-based standards] (math_errhandling): Specify type.
18078 [ISO99 || ISO11] (signgam): Do not allow.
18079 [non-C99-based standards] (copysignf): Do not allow.
18080 [non-C99-based standards] (exp2f): Likewise.
18081 [non-C99-based standards] (log2f): Likewise.
18082 [non-C99-based standards] (modff): Allow.
18083 [non-C99-based standards] (erff): Do not allow.
18084 [non-C99-based standards] (erfcf): Likewise.
18085 [non-C99-based standards] (gammaf): Likewise.
18086 [non-C99-based standards] (hypotf): Likewise.
18087 [non-C99-based standards] (j0f): Likewise.
18088 [non-C99-based standards] (j1f): Likewise.
18089 [non-C99-based standards] (jnf): Likewise.
18090 [non-C99-based standards] (lgammaf): Likewise.
18091 [non-C99-based standards] (tgammaf): Likewise.
18092 [non-C99-based standards] (y0f): Likewise.
18093 [non-C99-based standards] (y1f): Likewise.
18094 [non-C99-based standards] (ynf): Likewise.
18095 [non-C99-based standards] (isnanf): Likewise.
18096 [non-C99-based standards] (acoshf): Likewise.
18097 [non-C99-based standards] (asinhf): Likewise.
18098 [non-C99-based standards] (atanhf): Likewise.
18099 [non-C99-based standards] (cbrtf): Likewise.
18100 [non-C99-based standards] (expm1f): Likewise.
18101 [non-C99-based standards] (ilogbf): Likewise.
18102 [non-C99-based standards] (log1pf): Likewise.
18103 [non-C99-based standards] (logbf): Likewise.
18104 [non-C99-based standards] (nextafterf): Likewise.
18105 [non-C99-based standards] (remainderf): Likewise.
18106 [non-C99-based standards] (rintf): Likewise.
18107 [non-C99-based standards] (scalbf): Likewise.
18108 [non-C99-based standards] (copysignl): Likewise.
18109 [non-C99-based standards] (exp2l): Likewise.
18110 [non-C99-based standards] (log2l): Likewise.
18111 [non-C99-based standards] (modfl): Allow.
18112 [non-C99-based standards] (erfl): Do not allow.
18113 [non-C99-based standards] (erfcl): Likewise.
18114 [non-C99-based standards] (gammal): Likewise.
18115 [non-C99-based standards] (hypotl): Likewise.
18116 [non-C99-based standards] (j0l): Likewise.
18117 [non-C99-based standards] (j1l): Likewise.
18118 [non-C99-based standards] (jnl): Likewise.
18119 [non-C99-based standards] (lgammal): Likewise.
18120 [non-C99-based standards] (tgammal): Likewise.
18121 [non-C99-based standards] (y0l): Likewise.
18122 [non-C99-based standards] (y1l): Likewise.
18123 [non-C99-based standards] (ynl): Likewise.
18124 [non-C99-based standards] (isnanl): Likewise.
18125 [non-C99-based standards] (acoshl): Likewise.
18126 [non-C99-based standards] (asinhl): Likewise.
18127 [non-C99-based standards] (atanhl): Likewise.
18128 [non-C99-based standards] (cbrtl): Likewise.
18129 [non-C99-based standards] (expm1l): Likewise.
18130 [non-C99-based standards] (ilogbl): Likewise.
18131 [non-C99-based standards] (log1pl): Likewise.
18132 [non-C99-based standards] (logbl): Likewise.
18133 [non-C99-based standards] (nextafterl): Likewise.
18134 [non-C99-based standards] (remainderl): Likewise.
18135 [non-C99-based standards] (rintl): Likewise.
18136 [non-C99-based standards] (scalbl): Likewise.
18137 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18138 [non-C99-based standards] (FP_*): Do not allow.
18139 [C99-based standards] (FP_*): Change to
18140 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18141 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18143 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18144 (SIG_ERR): Likewise.
18145 [X/Open-based standards] (SIG_HOLD): Likewise.
18146 (SIG_IGN): Likewise.
18147 (SIGABRT): Use macro-int-constant. Specify type. Require
18149 (SIGFPE): Likewise.
18150 (SIGILL): Likewise.
18151 (SIGINT): Likewise.
18152 (SIGSEGV): Likewise.
18153 (SIGTER): Likewise.
18154 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18155 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18156 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18157 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18158 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18159 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18160 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18161 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18162 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18163 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18164 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18165 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18166 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18167 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18168 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18169 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18170 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18171 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18172 [X/Open-based standards] (SIGTRAP): Likewise.
18173 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18174 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18175 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18176 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18177 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18180 2012-05-08 Ian Wienand <ianw@vmware.com>
18183 * time/tzset.c (__tzset_parse_tz): Update default rules for
18184 daylight time changes in the Energy Policy Act of 2005.
18186 2012-05-09 Andreas Jaeger <aj@suse.de>
18189 * elf/ldconfig.c (parse_conf): Change string to make clear that
18190 ldconfig only issued a warning if ld.so.conf does not exist.
18192 2012-05-08 David S. Miller <davem@davemloft.net>
18194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18195 movxtod instead of popping the value on the stack.
18197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18199 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18201 * config.h.in: Add HAVE_ARM_PCS_VFP.
18203 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18206 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18207 checking but the checks are disabled for any reason.
18209 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18211 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18212 and ELF64_R_TYPE with ELFW(R_TYPE).
18214 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18216 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18217 (ulimit): Likewise.
18219 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18220 (settimeofday): Likewise.
18222 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18224 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18225 a struct th_u2 inside the union, and move tu_block/tu_code into
18226 a new th_u3 union of tu_block/tu_code inside of that. Move
18227 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18228 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18229 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18230 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18231 (th_stuff): Change to th_u1.tu_stuff.
18233 (th_msg): Change to th_u1.th_u2.tu_data.
18235 2012-05-07 David S. Miller <davem@davemloft.net>
18237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18240 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18241 (SETUP_PIC_REG): Use it.
18242 (SETUP_PIC_REG_LEAF): Use it.
18244 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18248 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18250 (EXPL_FINITE): Likewise.
18251 (FLDLOG): Likewise.
18252 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18253 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18255 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18257 (EXPL_FINITE): Likewise.
18258 (FLDLOG): Likewise.
18259 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18260 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18262 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18263 test of -max_value argument for long double.
18264 * sysdeps/i386/fpu/libm-test-ulps: Update.
18265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267 2012-05-06 David S. Miller <davem@davemloft.net>
18269 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18270 quad soft-float symbols whose references which are compiler
18272 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18274 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18278 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18280 (EXPL_FINITE): Likewise.
18281 (FLDLOG): Likewise.
18284 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18285 Adjust comments for base varying.
18286 (__expl_finite): Change alias to EXPL_FINITE.
18287 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18289 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18290 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18292 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18293 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18295 (EXPL_FINITE): Likewise.
18296 (FLDLOG): Likewise.
18299 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18300 Adjust comments for base varying.
18301 (__expl_finite): Change alias to EXPL_FINITE.
18302 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18307 * math/libm-test.inc (check_float_internal): Correct ulp
18308 calculation for subnormal expected results.
18310 2012-05-06 Andreas Jaeger <aj@suse.de>
18312 * Makeconfig (+math-flags): New, set to -frounding-math.
18313 (+cflags): Add +math-flags so that all of glibc gets compiled with
18316 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18318 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18320 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18326 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18327 (__ieee754_expl): Allow for and saturate large arguments.
18328 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18329 (u_threshold): Likewise.
18330 (__exp): Call __ieee754_exp before checking for overflow and
18332 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18333 (u_threshold): Likewise.
18334 (__expf): Call __ieee754_expf before checking for overflow and
18336 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18337 (u_threshold): Likewise.
18338 (__expl): Call __ieee754_expl before checking for overflow and
18340 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18341 (__ieee754_expl): Allow for and saturate large arguments.
18342 * math/libm-test.inc (exp_test): Add another test. Do not allow
18343 missing overflow exception on overflow.
18344 (expm1_test): Do not allow missing overflow exception on overflow.
18346 * sysdeps/i386/fpu/e_expl.c: Move to ...
18347 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18348 rather than using inline asm.
18349 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18350 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18351 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18353 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18356 (signal): Likewise.
18360 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18362 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18363 sysdeps/unix/common/syscalls.list.
18364 (fchmod): Likewise.
18365 (fchown): Likewise.
18366 (ftruncate): Likewise.
18367 (getrusage): Likewise.
18368 (gettimeofday): Likewise.
18369 (setpgid): Likewise.
18370 (setregid): Likewise.
18371 (setreuid): Likewise.
18372 (sigaction): Likewise.
18373 (truncate): Likewise.
18374 (vhangup): Likewise.
18375 * sysdeps/unix/common/syscalls.list: Remove file.
18376 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18377 * sysdeps/unix/sysv/linux/Implies: Likewise.
18379 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18381 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18383 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18387 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18390 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18393 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18396 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18399 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18402 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18405 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18409 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18413 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18416 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18420 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18424 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18426 * sysdeps/unix/common/bits/dirent.h: Remove file.
18427 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18429 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18430 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18431 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18432 * sysdeps/unix/bsd/isatty.c: Likewise.
18433 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18434 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18435 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18437 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18440 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18441 long double comparison inaccuracies.
18442 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18445 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18447 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18450 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18453 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18454 nonzero digits before rounding a hex value.
18455 * stdlib/tst-strtod.c (tests): Add another test.
18457 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18459 * sysdeps/s390/fpu/libm-test-ulps: Update.
18461 2012-05-03 Andreas Jaeger <aj@suse.de>
18463 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18464 does not get optimized out.
18465 (malloc_opt_barrier): New.
18467 2012-05-03 Andreas Jaeger <aj@suse.de>
18468 Roland McGrath <roland@hack.frob.com>
18470 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18471 intermediate file deletion.
18472 (generated): Add .symlist files.
18474 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18477 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18478 Redirect under this condition.
18479 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18480 [__USE_GNU] (__dprintf_chk): Not under this condition.
18481 [__USE_GNU] (__vdprintf_chk): Likewise.
18482 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18483 under this condition.
18484 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18485 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18486 [__USE_XOPEN2K8] (vdprintf): Likewise.
18487 [__USE_GNU] (__dprintf_chk): Not under this condition.
18488 [__USE_GNU] (__vdprintf_chk): Likewise.
18489 [__USE_GNU] (dprintf): Likewise.
18490 [__USE_GNU] (vdprintf): Likewise.
18492 2012-05-03 Roland McGrath <roland@hack.frob.com>
18494 * elf/Makefile (common-generated): Set this instead of generated for
18495 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18496 $(all-built-dso)-derived lists.
18498 2012-05-03 Andreas Jaeger <aj@suse.de>
18500 * sysdeps/i386/fpu/libm-test-ulps: Update.
18503 * FAQ.in: Likewise.
18504 * scripts/gen-FAQ.pl: Likewise.
18505 * manual/install.texi (Installation): Point to online location of
18507 * Makefile (files-for-dist): Remove FAQ.
18510 2012-05-02 Allan McRae <allan@archlinux.org>
18512 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18513 (LDFLAGS-reldepmod5.so): Likewise.
18514 (LDFLAGS-reldep6mod1.so): Likewise.
18515 (LDFLAGS-reldep6mod4.so): Likewise.
18516 (LDFLAGS-reldep8mod3.so): Likewise.
18517 (LDFLAGS-unload4mod1.so): Likewise.
18518 (LDFLAGS-unload4mod2.so): Likewise.
18519 (LDFLAGS-tst-initorder): Likewise.
18520 (LDFLAGS-tst-initordera2.so): Likewise.
18521 (LDFLAGS-tst-initordera3.so): Likewise.
18522 (LDFLAGS-tst-initordera4.so): Likewise.
18523 (LDFLAGS-tst-initorderb2.so): Likewise.
18524 (LDFLAGS-noload): Likewise.
18525 (LDFLAGS-next): Likewise.
18526 (LDFLAGS-order2mod1.so): Likewise.
18527 (LDFLAGS-order2mod2.so): Likewise.
18528 (LDFLAGS-tst-initorder2): Likewise.
18529 (LDFLAGS-tst-initorder2a.so): Likewise.
18530 (LDFLAGS-tst-initorder2b.so): Likewise.
18531 (LDFLAGS-tst-initorder2c.so): Likewise.
18532 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18534 2012-05-02 David S. Miller <davem@davemloft.net>
18536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18538 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18541 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18543 2012-05-02 Andreas Jaeger <aj@suse.de>
18545 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18546 since we manipulate rounding mode.
18547 (CPPFLAGS-test-idouble.c): Likewise.
18548 (CPPFLAGS-test-ifloat.c): Likewise.
18549 (CFLAGS-test-ldouble.c): Likewise.
18550 (CFLAGS-test-double.c): Likewise.
18551 (CFLAGS-test-float.c): Likewise.
18552 (CFLAGS-test-misc.c): Likewise.
18553 (CFLAGS-test-test-fenv.c): Likewise.
18555 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18559 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18560 comparisons to determine direction to adjust input.
18562 2012-05-01 Roland McGrath <roland@hack.frob.com>
18564 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18565 output to the target.
18567 * scripts/localplt.awk: New file.
18568 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18569 (check-localplt-CFLAGS): Variable removed.
18570 ($(all-built-dso:=.jmprel)): New static pattern rule.
18571 (generated): Add those targets.
18572 (localplt-built-dso): New variable.
18573 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18575 * elf/check-localplt.c: File removed.
18577 * scripts/check-execstack.awk: New file.
18578 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18579 (check-execstack-CFLAGS): Variable removed.
18580 ($(objpfx)check-execstack.h): Target removed.
18581 ($(objpfx)execstack-default): New target.
18582 (generated): Add that instead of check-execstack.h.
18583 ($(all-built-dso:=.phdr)): New static pattern rule.
18584 (generated): Add those targets.
18585 * elf/check-execstack.c: File removed.
18587 * scripts/check-textrel.awk: New file.
18588 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18589 (check-textrel-CFLAGS): Variable removed.
18590 (all-built-dso): Use := to define.o
18591 ($(all-built-dso:=.dyn)): New static pattern rule.
18592 (generated): Add those targets.
18593 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18594 * config.make.in (READELF): New substituted variable.
18595 * elf/check-textrel.c: File removed.
18597 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18599 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18601 * conform/data/ctype.h-data [C99-based standards] (isblank):
18603 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18604 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18606 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18607 Specify type. Require positive value.
18608 (EILSEQ): Likewise.
18609 (ERANGE): Likewise.
18610 [ISO || POSIX] (EILSEQ): Do not expect.
18611 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18612 Specify type. Require positive value.
18613 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18614 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18615 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18616 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18617 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18618 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18619 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18620 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18621 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18622 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18623 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18624 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18625 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18626 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18627 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18628 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18629 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18630 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18631 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18632 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18633 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18634 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18635 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18636 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18637 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18638 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18639 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18640 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18641 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18642 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18643 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18644 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18645 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18646 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18647 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18648 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18649 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18650 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18651 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18652 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18653 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18654 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18655 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18656 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18657 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18658 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18659 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18660 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18661 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18662 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18663 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18664 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18665 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18666 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18667 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18668 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18669 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18670 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18671 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18672 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18673 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18674 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18675 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18676 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18677 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18678 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18679 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18680 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18681 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18682 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18683 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18684 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18685 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18686 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18687 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18688 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18689 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18691 (FLT_ROUNDS): Expect as macro, not constant.
18692 (FLT_MANT_DIG): Use macro-int-constant.
18693 (DBL_MANT_DIG): Likewise.
18694 (LDBL_MANT_DIG): Likewise.
18695 (FLT_DIG): Likewise.
18696 (DBL_DIG): Likewise.
18697 (LDBL_DIG): Likewise.
18698 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18699 (DBL_MIN_EXP): Likewise.
18700 (LDBL_MIN_EXP): Likewise.
18701 (FLT_MAX_EXP): Use macro-int-constant.
18702 (DBL_MAX_EXP): Likewise.
18703 (LDBL_MAX_EXP): Likewise.
18704 (FLT_MAX_10_EXP): Likewise.
18705 (DBL_MAX_10_EXP): Likewise.
18706 (LDBL_MAX_10_EXP): Likewise.
18707 (FLT_MAX): Use macro-constant.
18708 (DBL_MAX): Likewise.
18709 (LDBL_MAX): Likewise.
18710 (FLT_EPSILON): Use macro-constant. Give upper bound.
18711 (DBL_EPSILON): Likewise.
18712 (LDBL_EPSILON): Likewise.
18713 (FLT_MIN): Likewise.
18714 (DBL_MIN): Likewise.
18715 (LDBL_MIN): Likewise.
18716 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18717 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18718 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18719 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18720 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18721 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18722 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18723 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18724 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18725 [ISO11] (FLT_TRUE_MIN): Likewise.
18726 [ISO11] (LDBL_TRUE_MIN): Likewise.
18727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18728 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18729 (SCHAR_MIN): Use macro-int-constant. Specify type.
18730 (SCHAR_MAX): Likewise.
18731 (UCHAR_MAX): Likewise.
18732 (CHAR_MIN): Likewise.
18733 (CHAR_MAX): Likewise.
18734 (MB_LEN_MAX): Use macro-int-constant.
18735 (SHRT_MIN): Use macro-int-constant. Specify type.
18736 (SHRT_MAX): Likewise.
18737 (USHRT_MAX): Likewise.
18738 (INT_MAX): Likewise.
18739 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18741 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18743 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18745 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18746 bound negative. Suffix upper bound with "L".
18747 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18749 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18751 [C99-based standards] (LLONG_MAX): Likewise.
18752 [C99-based standards] (ULLONG_MAX): Likewise.
18753 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18755 [ISO11] (max_align_t): Require type.
18756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18758 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18759 from $CFLAGS, without defining away __attribute__ calls.
18760 (checknamespace): Use $CFLAGS_namespace.
18762 * conform/conformtest.pl (@keywords): Only include C99 keywords
18763 for standards based on C99 or C11.
18765 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18767 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18770 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18771 usability of symbols in #if.
18773 * conform/conformtest.pl: If macro or constant types start
18774 "promoted:", expect the symbol to be of the following type
18775 promoted by the integer promotions.
18777 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18778 in one place. Also handle "macro-constant".
18780 * conform/conformtest.pl: Only accept expected macro values with
18781 "==". Parse all "macro" lines in one place.
18782 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18784 * conform/conformtest.pl: Handle braced types on "constant" lines
18785 instead of handling "typed-constant".
18786 * conform/data/signal.h-data: Use "constant" instead of
18789 * conform/conformtest.pl: Handle "optional-" at start of lines in
18790 one place rather than duplicating several cases. Handle each
18791 format of "macro" line with initial "optional-".
18793 * conform/conformtest.pl: Only accept expected constant or
18794 optional-constant values with "==". Parse all "constant" lines in
18795 one place. Parse all "optional-constant" lines in one place.
18796 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18797 * conform/data/fmtmsg.h-data: Likewise.
18798 * conform/data/netinet/in.h-data: Likewise.
18799 * conform/data/tar.h-data: Likewise.
18800 * conform/data/limits.h-data: Use "==" form on "constant" and
18801 "optional-constant" lines.
18803 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18804 Use -std=c99 for XOPEN2K.
18805 (@knownproblems): Remove.
18806 (newtoken): Don't check %isknown.
18808 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18809 Do not expect macro.
18810 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18811 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18812 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18813 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18814 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18815 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18816 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18817 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18818 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18819 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18820 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18821 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18822 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18823 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18824 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18825 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18826 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18827 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18828 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18829 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18830 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18831 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18832 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18833 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18834 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18835 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18836 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18837 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18838 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18839 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18840 [XPG3] (acosh): Likewise.
18841 [XPG3] (asinh): Likewise.
18842 [XPG3] (atanh): Likewise.
18843 [XPG3] (cbrt): Likewise.
18844 [XPG3] (expm1): Likewise.
18845 [XPG3] (ilogb): Likewise.
18846 [XPG3] (log1p): Likewise.
18847 [XPG3] (logb): Likewise.
18848 [XPG3] (nextafter): Likewise.
18849 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18850 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18851 [XPG3] (remainder): Likewise.
18852 [XPG3] (rint): Likewise.
18853 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18854 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18855 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18856 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18857 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18858 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18859 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18860 [UNIX98 || XOPEN2K] (scalb): Expect.
18861 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18862 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18863 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18864 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18865 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18866 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18867 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18868 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18869 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18870 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18871 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18872 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18873 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18874 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18875 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18876 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18877 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18878 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18879 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18880 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18881 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18882 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18883 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18884 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18885 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18886 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18887 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18888 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18889 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18890 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18891 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18892 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18893 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18894 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18895 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18896 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18897 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18898 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18899 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18900 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18901 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18902 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18903 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18904 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18905 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18906 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18907 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18908 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18909 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18910 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18911 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18912 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18913 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18914 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18915 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18916 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18917 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18918 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18919 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18920 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18921 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18922 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18923 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18924 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18925 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18926 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18927 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18928 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18929 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18930 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18931 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18932 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18933 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18934 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18935 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18936 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18937 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18938 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18939 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18940 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18941 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18942 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18943 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18944 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18945 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18946 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18947 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18948 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18949 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18950 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18951 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18952 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18953 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18954 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18955 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18956 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18957 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18958 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18959 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18960 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18961 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18962 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18963 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18964 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18965 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18966 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18967 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18968 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18969 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18970 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18971 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18972 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18973 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18974 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18975 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18976 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18977 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18978 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18979 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18980 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18981 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18982 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18983 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18984 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18985 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18986 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18987 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18988 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18989 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18990 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18991 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18992 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18993 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18994 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18995 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18996 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18997 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18999 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19000 _XOPEN_SOURCE_EXTENDED for XPG4.
19002 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19004 * Makeconfig (localtime): Remove variable.
19005 (inst_localtime-file): Likewise.
19007 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19028 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19032 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19033 comparisons to determine direction to adjust input.
19034 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19035 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19038 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19040 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19042 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19045 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19047 * math/libm-test.inc (nexttoward_test): Add more tests.
19049 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19052 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19053 in version GLIBC_2.1, not GLIBC_2.0.
19054 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19057 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19060 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19062 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19063 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19064 * math/libm-test.inc (acos_test): Add more tests.
19065 (asin_test): Likewise.
19066 * sysdeps/i386/fpu/libm-test-ulps: Update.
19067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19070 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19072 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19073 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19074 * math/libm-test.inc (acos_test_tonearest): New function.
19075 (acos_test_towardzero): Likewise.
19076 (acos_test_downward): Likewise.
19077 (acos_test_upward): Likewise.
19078 (asin_test_tonearest): Likewise.
19079 (asin_test_towardzero): Likewise.
19080 (asin_test_downward): Likewise.
19081 (asin_test_upward): Likewise.
19082 (main): Call the new functions.
19083 * sysdeps/i386/fpu/libm-test-ulps: Update.
19084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19088 * math/e_exp10.c: Include <float.h>.
19089 (__ieee754_exp10): Handle underflow here rather than multiplying
19090 large negative argument by M_LN10.
19091 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19093 * math/e_exp10l.c: Include <float.h>.
19094 (__ieee754_exp10l): Handle underflow here rather than multiplying
19095 large negative argument by M_LN10l.
19096 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19097 spurious overflow exception on underflow.
19099 2012-04-29 Marek Polacek <polacek@redhat.com>
19101 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19102 (__fortify_function): New macro.
19103 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19104 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19105 __extern_always_inline.
19106 * libio/bits/stdio2.h: Likewise.
19107 * libio/bits/stdio.h: Likewise.
19108 * string/string.h: Likewise.
19109 * string/bits/string3.h: Likewise.
19110 * include/stdio.h: Likewise.
19111 * stdlib/bits/stdlib.h: Likewise.
19112 * stdlib/stdlib.h: Likewise.
19113 * rt/bits/mqueue2.h: Likewise.
19114 * rt/mqueue.h: Likewise.
19115 * posix/bits/unistd.h: Likewise.
19116 * posix/unistd.h: Likewise.
19117 * io/bits/poll2.h: Likewise.
19118 * io/bits/fcntl2.h: Likewise.
19119 * io/fcntl.h: Likewise.
19120 * io/sys/poll.h: Likewise.
19121 * misc/bits/syslog.h: Likewise.
19122 * misc/bits/syslog-ldbl.h: Likewise.
19123 * misc/sys/syslog.h: Likewise.
19124 * socket/bits/socket2.h: Likewise.
19125 * socket/sys/socket.h: Likewise.
19126 * debug/tst-chk1.c: Likewise.
19127 * wcsmbs/bits/wchar2.h: Likewise.
19128 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19129 * wcsmbs/wchar.h: Likewise.
19131 2012-04-29 Andreas Jaeger <aj@suse.de>
19133 * Makerules (tests): Remove enable-check-abi protection.
19134 (check-abi-warn): Remove.
19135 (check-abi-%): Remove check-abi-warn usage.
19137 * configure.in: Remove check-abi configure option.
19138 * configure: Regenerated.
19139 * config.make.in (enable-check-abi): Remove.
19141 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19144 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19145 double functions to double *_finite functions.
19148 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19149 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19151 * stdio-common/Makefile (tests): Add tst-sprintf3.
19152 * stdio-common/tst-sprintf3.c: New file.
19154 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19155 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19157 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19159 * conform/conformtest.pl: Remove duplicate typed-constant
19162 2012-04-28 David S. Miller <davem@davemloft.net>
19164 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19165 (check-abi-%): Remove AWK script prerequisite and explicit
19167 (check-abi): Rewrite to just diff the symlist with the abilist.
19168 (config-tls, config-abi-config): Delete, no longer used.
19169 (update-abi-%): Remove AWK script and explicit abilist directory.
19170 (update-abi): Rewrite to simply compare and conditionally copy the
19171 symlist and the sysdep abilist file. Remove update-abi-config
19173 * abilist/ld.abilist: Remove.
19174 * abilist/libBrokenLocale.abilist: Remove.
19175 * abilist/libanl.abilist: Remove.
19176 * abilist/libcrypt.abilist: Remove.
19177 * abilist/libdl.abilist: Remove.
19178 * abilist/librt.abilist: Remove.
19179 * abilist/libthread_db.abilist: Remove.
19180 * abilist/libutil.abilist: Remove.
19181 * scripts/extract-abilist.awk: Remove.
19182 * scripts/merge-abilist.awk: Remove.
19183 * sysdeps/generic/libcidn.abilist: New file.
19184 * sysdeps/generic/libnss_compat.abilist: New file.
19185 * sysdeps/generic/libnss_db.abilist: New file.
19186 * sysdeps/generic/libnss_dns.abilist: New file.
19187 * sysdeps/generic/libnss_files.abilist: New file.
19188 * sysdeps/generic/libnss_hesiod.abilist: New file.
19189 * sysdeps/generic/libnss_nis.abilist: New file.
19190 * sysdeps/generic/libnss_nisplus.abilist: New file.
19191 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19192 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19193 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19195 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19196 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19197 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19198 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19199 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19200 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19201 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19202 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19203 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19205 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19206 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19207 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19208 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19210 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19211 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19212 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19213 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19214 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19215 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19217 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19218 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19219 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19221 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19324 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19325 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19326 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19328 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19329 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19330 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19331 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19332 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19333 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19334 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19335 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19336 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19337 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19389 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19391 * conform/conformtest.pl: Fix typo in handling typed-constant from
19394 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19396 * README: Cut down references to pre-2.6 Linux kernels and
19397 Linuxthreads. Update lists of configurations in libc and ports
19398 and sort alphabetically. Say "or newer" with Linux kernel version
19401 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19403 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19406 * math/libm-test.inc (logb_test_downward): New test to expose
19407 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19410 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19413 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19415 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19416 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19418 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19420 * sysdeps/unix/i386/brk.S: Remove file.
19421 * sysdeps/unix/i386/dl-brk.S: Likewise.
19422 * sysdeps/unix/i386/pipe.S: Likewise.
19423 * sysdeps/unix/i386/sigreturn.S: Likewise.
19424 * sysdeps/unix/i386/syscall.S: Likewise.
19425 * sysdeps/unix/i386/vfork.S: Likewise.
19426 * sysdeps/unix/i386/wait.S: Likewise.
19428 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19429 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19431 * configure.in (arm*-none*): Do not allow without
19432 --enable-hacker-mode.
19433 (netbsd*): Remove case setting base_os.
19434 (386bsd*): Likewise.
19435 (freebsd*): Likewise.
19438 (sunos*): Likewise.
19439 (ultrix*): Likewise.
19440 (newsos*): Likewise.
19441 (dynix*): Likewise.
19447 (minix*): Likewise.
19448 (irix4*): Likewise.
19449 (irix6*): Likewise.
19450 (solaris[2-9]*): Likewise.
19452 * configure: Regenerated.
19454 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19457 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19458 overflow or cancellation in calculating denominator.
19459 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19461 down expression to avoid unexpected rounding in newer GCCs.
19462 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19464 2012-04-26 David S. Miller <davem@davemloft.net>
19466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19467 long-double compat symbols.
19468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19482 2012-04-25 David S. Miller <davem@davemloft.net>
19484 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19485 HWCAP_* values only after the memory barriers have been defined.
19486 (atomic_full_barrier): Define.
19487 (atomic_read_barrier): Define.
19488 (atomic_write_barrier): Define.
19490 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19492 * shlib-versions: Add libgcc_s version information.
19493 * sysdeps/generic/libgcc_s.h: Remove.
19494 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19496 * sysdeps/gnu/unwind-resume.c: Likewise.
19497 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19499 2012-04-25 David S. Miller <davem@davemloft.net>
19501 * sysdeps/unix/sparc/brk.S: Delete.
19502 * sysdeps/unix/sparc/dl-brk.S: Delete.
19503 * sysdeps/unix/sparc/pipe.S: Delete.
19504 * sysdeps/unix/sparc/sysdep.S: Delete.
19505 * sysdeps/unix/sparc/sysdep.h: Delete.
19506 * sysdeps/unix/sparc/vfork.S: Delete.
19507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19508 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19510 ret_ERRVAL, r0, r1, MOVE): Define.
19511 (JUMPTARGET): Remove.
19512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19513 sysdeps/unix/sparc/sysdep.h
19514 (ENTRY, END): Remove.
19515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19517 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19519 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19520 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19523 * timezone/README: Update upstream location and email address for
19525 * timezone/zdump.c: Update from tzcode 2012b.
19526 * timezone/zic.c: Likewise.
19528 * configure.in (libc_cv_as_needed): Remove test.
19529 * configure: Regenerated.
19530 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19531 conditional definition.
19532 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19533 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19534 * config.make.in (have-as-needed): Remove variable.
19536 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19537 Paul Pluzhnikov <ppluzhnikov@google.com>
19539 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19542 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19544 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19545 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19546 * sysdeps/sh/strlen.S: Likewise.
19548 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19550 * sysdeps/unix/fork.S: Remove file.
19551 * sysdeps/unix/i386/fork.S: Likewise.
19552 * sysdeps/unix/sparc/fork.S: Likewise.
19554 * sysdeps/unix/system.c: Remove file.
19555 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19557 * sysdeps/unix/getegid.S: Remove file.
19558 * sysdeps/unix/geteuid.S: Likewise.
19560 2012-04-24 Roland McGrath <roland@hack.frob.com>
19562 * scripts/check-localplt.awk: New file.
19563 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19565 * scripts/data/localplt-generic.data: Add a comment.
19567 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19568 NODE when __dir_mkfile failed.
19569 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19570 Reported by Ludovic Courtès <ludo@gnu.org>.
19572 2012-04-24 Andreas Jaeger <aj@suse.de>
19574 * Makerules (common-clean): Also remove gen-as-const-headers
19577 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19579 * Makerules (native-compile): Do not change working directory for
19580 build. Use $(OUTPUT_OPTION) in command.
19581 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19583 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19586 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19587 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19588 * math/libm-test.inc (floor_test): Add more tests.
19589 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19591 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19593 * sysdeps/unix/getdents.c: Remove file.
19594 * sysdeps/unix/sysv/getdents.c: Likewise.
19595 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19597 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19598 sysdeps/unix/mman/syscalls.list.
19600 (mprotect): Likewise.
19602 (munmap): Likewise.
19603 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19604 * sysdeps/unix/mman/syscalls.list: Remove.
19605 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19607 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19608 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19609 * configure: Regenerated.
19610 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19611 $(libgcc_s_suffix).
19612 * config.make.in (libgcc_s_suffix): Remove variable.
19614 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19616 * sysdeps/unix/sysv/gethostname.c: Move to ...
19617 * sysdeps/posix/gethostname.c: ... here.
19619 * sysdeps/unix/execve.S: Remove file.
19621 * sysdeps/unix/_exit.S: Remove file.
19623 2012-04-23 Andreas Jaeger <aj@suse.de>
19626 * manual/Makefile: Remove make dist support, there's no
19627 need for a stand-alone documentation tar ball.
19628 (TEXI2DVI): Define always, it's not in Makeconfig.
19631 (edition): Removed.
19632 (glibc-doc-$(edition).tar): Removed
19636 (ETAGS): Remove, it's in Makeconfig.
19637 (move-if-change): Remove, it's in Makeconfig.
19639 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19642 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19643 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19644 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19645 (strtod_l, strtof_l, strtold_l): Remove __wur.
19646 It is not necessarily an error to ignore strtol's return value.
19647 One can reliably look at the stored endptr to decide whether
19648 the number had valid syntax.
19650 2012-04-21 Andreas Jaeger <aj@suse.de>
19653 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19655 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19657 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19658 * sysdeps/unix/sysv/Versions: Remove file.
19660 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19665 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19669 version from __vm86.
19671 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19673 * sysdeps/unix/common/lxstat.c: Remove file.
19674 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19676 * sysdeps/unix/sysv/Makefile: Remove file.
19678 * sysdeps/unix/sysv/direct.h: Remove file.
19680 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19681 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19682 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19683 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19684 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19685 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19686 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19688 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19690 * sysdeps/unix/xmknod.c: Remove file.
19691 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19693 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19695 * sysdeps/unix/sysv/i386/time.S: Remove file.
19697 * sysdeps/unix/fxstat.c: Remove file.
19698 * sysdeps/unix/xstat.c: Likewise.
19699 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19701 * sysdeps/unix/sysv/sigaction.c: Remove file.
19703 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19704 (sysdep_headers): Remove variable.
19705 [termio.h not in sysdep_headers] (generated): Likewise.
19706 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19707 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19708 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19709 * sysdeps/unix/sysv/tcflow.c: Likewise.
19710 * sysdeps/unix/sysv/tcflush.c: Likewise.
19711 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19712 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19713 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19714 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19715 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19717 * sysdeps/unix/siglist.c: Remove file.
19719 * sysdeps/unix/getppid.S: Remove file.
19721 * sysdeps/unix/mkdir.c: Remove file.
19722 * sysdeps/unix/rmdir.c: Likewise.
19724 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19726 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19728 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19729 errlist-compat value.
19731 2012-04-18 David S. Miller <davem@davemloft.net>
19733 * sysdeps/generic/memcopy.h (reg_char): Delete.
19734 * debug/strcat_chk.c: Use char, not reg_char.
19735 * debug/strcpy_chk.c: Likewise.
19736 * debug/strncat_chk.c: Likewise.
19737 * debug/strncpy_chk.c: Likewise.
19738 * string/memchr.c: Likewise.
19739 * string/memrchr.c: Likewise.
19740 * string/rawmemchr.c: Likewise.
19741 * string/strcat.c: Likewise.
19742 * string/strchr.c: Likewise.
19743 * string/strchrnul.c: Likewise.
19744 * string/strcmp.c: Likewise.
19745 * string/strcpy.c: Likewise.
19746 * string/strncat.c: Likewise.
19747 * string/strncmp.c: Likewise.
19748 * string/strncpy.c: Likewise.
19750 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19752 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19753 __builtin_memcopy is called when src and dest ranges are known to not
19756 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19758 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19759 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19760 fwd_align_merge macro call.
19761 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19762 bwd_align_merge macro call.
19763 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19765 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19767 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19768 bwd_align_merge macros.
19769 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19770 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19771 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19773 2012-04-18 David S. Miller <davem@davemloft.net>
19775 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19777 2012-04-18 Andreas Jaeger <aj@suse.de>
19780 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19781 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19782 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19784 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19785 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19786 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19788 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19789 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19790 Adjust for changed ldbl-128 files.
19792 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19793 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19794 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19796 2012-04-17 David S. Miller <davem@davemloft.net>
19798 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19800 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19802 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19803 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19804 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19805 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19806 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19807 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19809 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19812 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19813 * math/libm-test.inc: Add ilogb errno and exception tests.
19814 * math/w_ilogb.c: New file: ilogb wrapper.
19815 * math/w_ilogbf.c: New file: ilogbf wrapper.
19816 * math/w_ilogbl.c: New file: ilogbl wrapper.
19817 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19818 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19819 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19820 exception being thrown with 0.0 as argument.
19821 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19822 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19823 exception being thrown with 0.0 as argument.
19824 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19825 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19826 exception being thrown with 0.0 as argument.
19827 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19828 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19829 exception being thrown with 0.0 as argument.
19830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19831 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19832 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19833 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19834 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19835 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19836 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19837 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19838 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19840 2012-04-17 Petr Baudis <pasky@ucw.cz>
19842 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19845 2012-04-16 Marek Polacek <polacek@redhat.com>
19847 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19849 2012-04-16 Marek Polacek <polacek@redhat.com>
19851 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19852 operands of fdivp instruction.
19854 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19856 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19857 * elf/tst-auditmod3b.c: Likewise.
19858 * elf/tst-auditmod4b.c: Likewise.
19859 * elf/tst-auditmod5b.c: Likewise.
19860 * elf/tst-auditmod6b.c: Likewise.
19861 * elf/tst-auditmod6c.c: Likewise.
19862 * elf/tst-auditmod7b.c: Likewise.
19863 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19864 * sysdeps/x86_64/preconfigure.in: Likewise.
19865 * sysdeps/x86_64/preconfigure: Regenerated.
19867 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19869 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19872 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19875 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19877 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19880 * locale/iso-639.def: Fix gl language name. Spotted by
19883 2012-04-12 Roland McGrath <roland@hack.frob.com>
19886 * libio/libio.h (__io_write_fn): Update comment.
19888 2012-04-12 Petr Baudis <pasky@ucw.cz>
19891 * stdio.texi (Hook Functions): The user provided writer function
19892 is not allowed to return -1.
19894 2012-04-11 David S. Miller <davem@davemloft.net>
19896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19898 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19900 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19901 Add a leading slash to rtkaio.
19903 2012-04-11 Jim Meyering <meyering@redhat.com>
19906 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19907 It is not necessarily an error to ignore fwrite's return
19908 value. One can reliably use ferror to test for errors after
19911 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19913 * bits/types.h (__snseconds_t): New type.
19914 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19916 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19918 (__SNSECONDS_T_TYPE): Likewise.
19919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19920 (__SNSECONDS_T_TYPE): Likewise.
19921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19922 (__SNSECONDS_T_TYPE): Likewise.
19924 2012-04-10 Andreas Jaeger <aj@suse.de>
19927 * manual/time.texi (Processor Time): Return type of times is
19928 elapsed real time since an arbitrary point in the past.
19929 (CPU Time): Move CLK_TCK from here...
19930 (Processor Time): ...to here. Correct description.
19931 * manual/conf.texi (Constants for Sysconf): Correct description of
19934 2012-04-10 David S. Miller <davem@davemloft.net>
19937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19938 where the is a gap between DT_REL(A) and DT_JMPREL.
19940 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19942 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19943 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19944 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19946 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19948 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19949 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19950 (dl_main): Handle --inhibit-cache.
19951 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19953 * elf/dl-load.c (_dl_map_object): Use it.
19954 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19956 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19959 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19960 (__ieee754_powl): Saturate large exponents rather than testing for
19961 overflow of y*log2(x).
19962 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19963 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19967 * math/s_ctan.c: Include <float.h>.
19968 (__ctan): Avoid internal overflow or cancellation in calculating
19970 * math/s_ctanf.c: Likewise.
19971 * math/s_ctanl.c: Likewise.
19972 * math/s_ctanh.c: Likewise.
19973 * math/s_ctanhf.c: Likewise.
19974 * math/s_ctanhl.c: Likewise.
19975 * math/libm-test.inc (ctan_test): Add more tests.
19976 (ctanh_test): Likewise.
19977 * sysdeps/i386/fpu/libm-test-ulps: Update.
19978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19980 2012-04-09 Andreas Jaeger <aj@suse.de>
19983 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19984 is an optional BSD extension.
19987 * manual/stdio.texi (Opening Streams): Document additional fopen
19990 2012-04-09 Roland McGrath <roland@hack.frob.com>
19992 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19993 %eax without telling the compiler.
19995 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19998 * manual/install.texi: Use sourceware.org.
20000 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20003 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20004 (__ieee754_pow): Generate overflow and underflow using huge*huge
20005 and tiny*tiny rather than just returning constant infinity or zero
20006 for large exponents.
20007 * math/libm-test.inc (pow_test): Require overflow exceptions for
20008 applicable cases of large exponents.
20011 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20012 (__ieee754_pow): Use iterative multiplication algorithm only for
20013 integer exponents with absolute value below 1024. Check for odd
20014 integer exponents when using algorithm for real exponents.
20015 * math/libm-test.inc (pow_test): Add more tests.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20018 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20021 * math/libm-test.inc (exp_test): Do not allow overflow exception
20024 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20027 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20028 instead of __kernel_standard_f.
20030 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20032 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20033 * sysdeps/x86_64/memset_chk.S: Likewise.
20035 2012-04-08 Andreas Jaeger <aj@suse.de>
20038 * manual/startup.texi (Environment Access): Describe return value
20039 for putenv and setenv.
20042 * manual/filesys.texi (Directory Entries): Add description for
20046 * manual/filesys.texi (Directory Entries): Clarify that it's file
20047 system not operating system in the description of DT_UNKNOWN.
20050 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20052 2012-04-08 Stephen Compall <s11@member.fsf.org>
20055 * manual/llio.texi (Opening and Closing Files): Add cross
20056 reference to explain mode argument.
20058 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20060 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20061 * sysdeps/x86_64/memset_chk.S: Likewise.
20063 2012-04-07 David S. Miller <davem@davemloft.net>
20065 * elf/elf.h (R_SPARC_WDISP10): Define.
20066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20068 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20069 R_SPARC_SIZE64 and R_SPARC_H34.
20071 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20073 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20074 conditions and remove no longer applicable assertion.
20076 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20078 * bits/byteswap.h: Include <features.h>.
20079 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20080 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20082 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20084 * bits/byteswap.h (__bswap_16): Removed.
20085 Include <bits/byteswap-16.h> to get __bswap_16.
20086 * sysdeps/i386/bits/byteswap.h: Likewise.
20087 * sysdeps/s390/bits/byteswap.h: Likewise.
20088 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20089 * bits/byteswap-16.h: New file.
20090 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20091 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20092 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20093 * string/Makefile (headers): Add bits/byteswap-16.h.
20095 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20098 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20100 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20101 * nss/tst-nss-static.c: New.
20103 2012-04-06 Robert Millan <rmh@gnu.org>
20106 * manual/llio.texi (File Position Primitive): lseek
20107 refers to WHENCE when it really means OFFSET.
20109 2012-04-06 Andreas Jaeger <aj@suse.de>
20111 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20112 strncmp declarations.
20114 * abilist/libc.abilist: Add __poll and __ppoll.
20116 2012-04-05 David S. Miller <davem@davemloft.net>
20118 * scripts/check-local-headers.sh: Accept a host triplet in the
20119 path matched by the exclude regexp.
20121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20123 * sysdeps/powerpc/powerpc32/dl-machine.h
20124 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20125 * sysdeps/s390/s390-32/dl-machine.h
20126 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20127 * sysdeps/sparc/sparc32/dl-machine.h
20128 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20129 * sysdeps/sparc/sparc64/dl-machine.h
20130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20132 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20134 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20135 undefined symbol errors.
20137 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20140 2012-04-05 Michael Matz <matz@suse.de>
20143 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20145 2012-04-05 Andreas Jaeger <aj@suse.de>
20148 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20151 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20153 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20154 which ROUND is no valid rounding mode.
20156 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20158 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20160 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20162 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20164 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20165 an exception using FPU order intentionally.
20167 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20169 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20170 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20171 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20172 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20174 2012-04-05 Simon Josefsson <simon@josefsson.org>
20177 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20178 EINVAL when BUFLEN is too smal.
20180 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20183 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20184 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20186 2012-04-03 Andreas Jaeger <aj@suse.de>
20189 * manual/setjmp.texi (System V contexts): Fix sentence.
20192 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20193 New macro for this case.
20194 [!__GNUC__] (__bswap_64): New inline function for this case.
20195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20196 * bits/byteswap.h: Likewise.
20197 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20198 ull, guard with __GLIBC_HAVE_LONG_LONG.
20200 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20201 __GLIBC_HAVE_LONG_LONG.
20203 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20204 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20206 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20209 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20210 inptr and inend, rather than using last_ch.
20212 2012-04-02 David S. Miller <davem@davemloft.net>
20214 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20215 * stdio-common/printf-parse.h (read_int): Change return type to
20216 'int', return -1 on INT_MAX overflow.
20217 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20218 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20219 overflows INT_MAX. Check for overflow of in-format-string precision
20220 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20221 SIZE_MAX not INT_MAX for integer overflow test.
20222 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20223 skip the construct in the format string but do not record anything.
20224 * stdio-common/bug22.c: Adjust to test both width/prevision
20225 INT_MAX overflow as well as total length INT_MAX overflow. Check
20226 explicitly for proper errno values.
20228 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20230 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20232 * string/test-strcmp.c [! WIDE]: Likewise.
20233 * time/tst-mktime2.c: Likewise for INT_MAX.
20234 * string/test-string.h: #include <sys/param.h> for MIN.
20236 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20237 * sysdeps/i386/init-first.c (init): Likewise.
20238 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20239 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20240 * sysdeps/sh/init-first.c (init): Likewise.
20242 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20244 * po/ru.po: Update from translation team.
20245 * po/vi.po: Likewise.
20247 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20249 * resolv/nss_dns/dns-host.c: Merge copyright years.
20251 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20254 Optimize memcpy with prefetch if
20255 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20256 src, dst pointers have unequal 16 byte alignments.
20258 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20261 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20262 from a CNAME entry and return the minimum ttl for the query.
20263 (gaih_getanswer_slice): Likewise.
20265 2012-03-30 Jeff Law <law@redhat.com>
20267 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20269 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20270 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20272 * resolv/nss_dns/dns-host.c: Update copyright year.
20274 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20276 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20277 requests to save a system call. Fix check that all bytes are sent.
20279 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20280 comments for sendmmsg.
20282 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20285 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20286 with only 1 character between 0x0041 and 0x01b0.
20287 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20288 * wcsmbs/tst-mbsnrtowcs.c: New file.
20290 2012-03-29 David S. Miller <davem@davemloft.net>
20292 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20293 small copies by hand.
20295 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20298 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20299 _nss_compat_initgroups_dyn): Fall back to malloc/free
20300 for large group memberships.
20302 2012-03-28 David S. Miller <davem@davemloft.net>
20304 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20305 that branches into memcpy.
20306 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20308 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20309 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20312 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20313 implementation too.
20314 * sysdeps/sparc/mempcpy.S: New file.
20316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20317 the IFUNC routine in the libc case.
20318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20320 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20321 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20322 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20323 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20324 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20325 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20326 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20327 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20329 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20330 loop to 256 bytes instead of 64 bytes and fix test signedness.
20332 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20333 * sysdeps/sparc/sparc32/Makefile: rather than here...
20334 * sysdeps/sparc/sparc64/Makefile: and here.
20336 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20338 * malloc/mallocbug.c: Avoid warnings about unused variables.
20340 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20343 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20344 in the right place. Discard and retry query if response is
20345 larger than input buffer size.
20347 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20352 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20353 x for large integer exponent.
20354 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20355 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20356 sign of result as needed afterwards.
20357 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20358 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20359 result for underflowing pow the same as for overflow.
20360 (__kernel_standard_l): Handle powl overflow and underflow here
20361 rather than calling __kernel_standard.
20362 * math/libm-test.inc (pow_test): Add more tests.
20377 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20378 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20379 (__kernel_standard_l): New function.
20380 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20382 * math/w_acosl.c (__acosl): Likewise.
20383 * math/w_asinl.c (__asinl): Likewise.
20384 * math/w_atan2l.c (__atan2l): Likewise.
20385 * math/w_atanhl.c (__atanhl): Likewise.
20386 * math/w_coshl.c (__coshl): Likewise.
20387 * math/w_exp10l.c (__exp10l): Likewise.
20388 * math/w_exp2l.c (__exp2l): Likewise.
20389 * math/w_fmodl.c (__fmodl): Likewise.
20390 * math/w_hypotl.c (__hypotl): Likewise.
20391 * math/w_j0l.c (__j0l, __y0l): Likewise.
20392 * math/w_j1l.c (__j1l, __y1l): Likewise.
20393 * math/w_jnl.c (__jnl, __ynl): Likewise.
20394 * math/w_lgammal.c (__lgammal): Likewise.
20395 * math/w_log10l.c (__log10l): Likewise.
20396 * math/w_log2l.c (__log2l): Likewise.
20397 * math/w_logl.c (__logl): Likewise.
20398 * math/w_powl.c (__powl): Likewise.
20399 * math/w_remainderl.c (__remainderl): Likewise.
20400 * math/w_scalbl.c (sysv_scalbl): Likewise.
20401 * math/w_sinhl.c (__sinhl): Likewise.
20402 * math/w_sqrtl.c (__sqrtl): Likewise.
20403 * math/w_tgammal.c (__tgammal): Likewise.
20404 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20405 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20406 * math/libm-test.inc (acos_test): Add more tests.
20407 (acosh_test): Likewise.
20408 (asin_test): Likewise.
20409 (atanh_test): Likewise.
20410 (exp_test): Likewise.
20411 (exp10_test): Likewise.
20412 (exp2_test): Likewise.
20413 (expm1_test): Likewise.
20414 (lgamma_test): Likewise.
20415 (log_test): Likewise.
20416 (log10_test): Likewise.
20417 (log1p_test): Likewise.
20418 (log2_test): Likewise.
20419 (pow_test): Do not allow some spurious overflow exceptions.
20420 (sqrt_test): Add more tests.
20421 (tgamma_test): Likewise.
20422 (y0_test): Likewise.
20423 (y1_test): Likewise.
20424 (yn_test): Likewise.
20426 2012-03-27 Anton Blanchard <anton@samba.org>
20428 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20430 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20431 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20432 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20434 2012-03-27 David S. Miller <davem@davemloft.net>
20436 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20438 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20439 have-as-vis3 check.
20441 2012-03-27 Andreas Jaeger <aj@suse.de>
20443 * sysdeps/x86_64/elf/configure.in: Moved to ...
20444 * sysdeps/x86_64/configure.in: ... here.
20445 * sysdeps/x86_64/elf/start.S: Moved to ...
20446 * sysdeps/x86_64/start.S: ... here.
20447 * sysdeps/x86_64/elf/configure: Delete.
20449 * sysdeps/x86_64/configure.in: Merge contents from
20450 sysdeps/i386/configure.in (without i686 check).
20452 * sysdeps/i386/elf/Versions: Merge into ...
20453 * sysdeps/i386/Versions: ... this.
20454 * sysdeps/i386/elf/Versions: Delete file.
20455 * sysdeps/i386/elf/start.S: Moved to ...
20456 * sysdeps/i386/start.S: ...here.
20457 * sysdeps/i386/elf/configure.in: Merge into...
20458 * sysdeps/i386/configure.in: ...here.
20459 * sysdeps/i386/elf/configure.in: Delete file.
20460 * sysdeps/i386/elf/configure: Delete file.
20462 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20463 * debug/backtracesyms.c: ... here.
20464 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20465 * debug/backtracesymsfd.c: ... here.
20466 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20467 * sysdeps/generic/ifunc-sel.h: ... here.
20469 * sysdeps/unix/i386/start.c: Delete file.
20470 * sysdeps/unix/sparc/start.c: Delete file.
20471 * sysdeps/unix/start.c: Delete file.
20473 * sysdeps/sh/elf/configure.in: Moved to ...
20474 * sysdeps/sh/configure.in: ... here.
20475 * sysdeps/sh/elf/start.S: Moved to ...
20476 * sysdeps/sh/start.S: ... here.
20477 * sysdeps/sh/elf/configure: Delete file.
20479 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20480 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20481 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20482 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20483 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20484 * sysdeps/powerpc/powerpc64/start.S: here.
20485 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20486 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20487 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20488 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20489 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20491 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20492 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20493 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20494 * sysdeps/powerpc/powerpc32/start.S: ... here.
20495 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20496 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20497 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20499 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20500 * sysdeps/powerpc/ifunc-sel.h: ... here.
20501 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20502 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20504 * sysdeps/sparc/elf/configure.in: Moved to ...
20505 * sysdeps/sparc/configure.in: ... here.
20506 * sysdeps/sparc/elf/configure: Delete file.
20507 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20508 * sysdeps/sparc/sparc32/start.S: ... here.
20509 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20510 * sysdeps/sparc/sparc64/start.S: ... here.
20511 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20512 * sysdeps/sparc/sparc32/Makefile: ... this.
20513 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20514 * sysdeps/sparc/sparc64/Makefile: ... this.
20516 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20517 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20518 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20519 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20520 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20521 * sysdeps/s390/s390-32/setjmp.S: ... here.
20522 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20523 * sysdeps/s390/s390-32/configure.in: ... here.
20524 * sysdeps/s390/s390-32/elf/configure: Delete file.
20525 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20526 * sysdeps/s390/s390-32/start.S: ... here.
20528 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20529 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20530 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20531 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20532 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20533 * sysdeps/s390/s390-64/setjmp.S: ... here.
20534 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20535 * sysdeps/s390/s390-64/configure.in: ... here
20536 * sysdeps/s390/s390-64/elf/configure: Delete file.
20537 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20538 * sysdeps/s390/s390-64/start.S: ... here.
20539 * sysdeps/s390/s390-64/elf/configure: Delete.
20541 * configure.in: Remove support for elf directories in sysdeps.
20543 * configure: Regenerated.
20544 * sysdeps/i386/configure: Regenerated.
20545 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20546 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20547 * sysdeps/s390/s390-32/configure: Regenerated.
20548 * sysdeps/s390/s390-64/configure: Regenerated.
20549 * sysdeps/sh/configure: Regenerated.
20550 * sysdeps/sparc/configure: Regenerated.
20551 * sysdeps/x86_64/configure: Regenerated.
20553 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20557 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20558 denormal result into account.
20560 2012-03-25 Roland McGrath <roland@hack.frob.com>
20562 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20563 Reported by Allan McRae <allan@archlinux.org>.
20565 2012-03-23 Jeff Law <law@redhat.com>
20567 * nss/getnssent.c (__nss_getent): Fix typo.
20569 2012-03-23 David S. Miller <davem@davemloft.net>
20571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20573 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20575 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20576 to pad to uint64_t for each field.
20577 (dl_tls_index): Replace unsigned long with uint64_t.
20579 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20580 Paul Pluzhnikov <ppluzhnikov@google.com>
20583 * grp/Makefile (otherlibs): Don't set it.
20584 * inet/Makefile (otherlibs): Likewise.
20585 * login/Makefile (otherlibs): Likewise.
20586 * nscd/Makefile (otherlibs): Likewise.
20587 * posix/Makefile (otherlibs): Likewise.
20588 * pwd/Makefile (otherlibs): Likewise.
20589 * rt/Makefile (otherlibs): Likewise.
20590 * sunrpc/Makefile (otherlibs): Likewise.
20591 * nss/Makefile (otherlibs): Likewise.
20592 Add libnss_files to routines and static-only-routines.
20593 ($(objpfx)getent): Remove rule.
20594 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20595 static-only-routines.
20597 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20600 * math/s_cexp.c: Include <float.h>.
20601 (__cexp): Handle exp result overflowing not necessarily
20602 overflowing both real and imaginary parts of result.
20603 * math/s_cexpf.c: Likewise.
20604 * math/s_cexpl.c: Likewise.
20605 * math/libm-test.inc (cexp_test): Add more tests.
20606 * sysdeps/i386/fpu/libm-test-ulps: Update.
20607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20609 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20611 * include/link.h (ELFW): New macro.
20612 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20613 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20615 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20617 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20620 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20622 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20624 (struct La_x32_retval): Likewise.
20626 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20628 * sysdeps/x86_64/preconfigure.in: New file.
20629 * sysdeps/x86_64/preconfigure: New generated file.
20631 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20634 * math/e_exp2l.c: Include <float.h>.
20635 (__ieee754_exp2l): Handle overflow and underflow cases
20636 separately. Only pass fractional part of argument to
20638 * math/libm-test.inc (exp2_test): Add more tests.
20640 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20641 negating x to take absolute value.
20642 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20644 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20645 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20647 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20648 computing low part if x was negated.
20649 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20651 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20653 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20654 la_x32_gnu_pltexit.
20655 (pltexit): Cast int_retval to ptrdiff_t.
20656 * elf/tst-auditmod3b.c: Likewise.
20657 * elf/tst-auditmod4b.c: Likewise.
20658 * elf/tst-auditmod5b.c: Likewise.
20659 * elf/tst-auditmod6b.c: Likewise.
20660 * elf/tst-auditmod6c.c: Likewise.
20661 * elf/tst-auditmod7b.c: Likewise.
20663 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20664 and x32_gnu_pltexit.
20666 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20667 __ELF_NATIVE_CLASS.
20668 (La_x32_regs): New macro.
20669 (La_x32_retval): Likewise.
20670 (la_x32_gnu_pltenter): New function prototype.
20671 (la_x32_gnu_pltexit): Likewise.
20673 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20680 * configure.in (libc_cv_cc_nofma): Check for option to disable
20681 generation of FMA instructions.
20682 * configure: Regenerate.
20683 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20684 * sysdeps/ieee754/dbl-64/Makefile: New file.
20685 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20686 Remove brandred-fma4.
20687 (CFLAGS-brandred-fma4.c): Remove.
20688 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20689 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20691 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20694 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20696 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20697 LLONG_MAX != LONG_MAX.
20698 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20699 (_fitoa_word): Likewise.
20700 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20701 LLONG_MAX != LONG_MAX.
20702 * stdio-common/_itowa.h: Include <_itoa.h>.
20703 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20704 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20705 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20706 only if not defined.
20707 (_ITOA_WORD_TYPE): Likewise.
20708 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20709 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20711 2012-03-21 David S. Miller <davem@davemloft.net>
20713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20715 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20717 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20718 of x86_64 when setting libc_cv_slibdir, libdir and
20720 * sysdeps/unix/sysv/linux/configure: Regenerated.
20722 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20724 * manual/lang.texi (Old Varargs): Remove section.
20725 (How Variadic): Update menu.
20726 (va_start): Do not mention varargs.h.
20728 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20729 Joseph Myers <joseph@codesourcery.com>
20731 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20733 * configure: Regenerated.
20735 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20737 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20738 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20741 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20744 * Makefile (files-for-dist): Remove NOTES.
20745 (NOTES): Remove rule.
20746 * README: Don't refer to NOTES.
20747 * manual/creature.texi: Don't include macros.texi.
20748 * manual/intro.texi (creature.texi): Remove comment referring to
20751 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20752 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20753 * configure: Regenerated.
20754 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20755 LIBC_TRY_CC_OPTION.
20756 (libc_cv_as_i686): Likewise.
20757 (libc_cv_cc_avx): Likewise.
20758 (libc_cv_cc_sse2avx): Likewise.
20759 (libc_cv_cc_fma4): Likewise.
20760 (libc_cv_cc_novzeroupper): Likewise.
20761 * sysdeps/i386/configure: Regenerated.
20764 * sysdeps/i386/fpu/s_cexp.S: Remove.
20765 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20766 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20767 * math/libm-test.inc (cexp_test): Add more tests.
20768 * sysdeps/i386/fpu/libm-test-ulps: Update.
20769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20771 2012-03-21 Allan McRae <allan@archlinux.org>
20773 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20775 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20778 * math/w_exp2.c: Do not include <float.h>.
20779 (o_threshold, u_threshold): Remove.
20780 (__exp2): Calculate result before checking finiteness and calling
20782 * math/w_exp2f.c: Likewise.
20783 * math/w_exp2l.c: Likewise.
20784 * math/libm-test.inc (exp2_test): Require overflow exception for
20788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20789 range of signed 64-bit integers before using fistpll. Remove
20790 checks for whether integers fit in mantissa bits.
20791 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20792 the range of signed 32-bit integers before using fistpl. Remove
20793 checks for whether integers fit in mantissa bits.
20794 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20795 (__ieee754_powl): Test for y outside the range of signed 64-bit
20796 integers before using fistpll. Reduce 64-bit values to 63-bit
20798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20799 divide-by-zero is raised for zero to large negative powers.
20800 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20801 (__ieee754_powl): Test for y outside the range of signed 64-bit
20802 integers before using fistpll. Reduce 64-bit values to 63-bit
20804 * math/libm-test.inc (pow_test): Add more tests.
20806 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20808 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20809 <stdio-common/_itoa.h>.
20810 * debug/segfault.c: Likewise.
20811 * elf/dl-cache.c: Likewise.
20812 * elf/dl-minimal.c: Likewise.
20813 * elf/dl-misc.c: Likewise.
20814 * elf/dl-sysdep.c: Likewise.
20815 * elf/dl-version.c: Likewise.
20816 * elf/rtld.c: Likewise.
20817 * hurd/hurdsock.c: Likewise.
20818 * hurd/lookup-retry.c: Likewise.
20819 * malloc/malloc.c: Likewise.
20820 * malloc/mtrace.c: Likewise.
20821 * nscd/nscd_getgr_r.c: Likewise.
20822 * nscd/nscd_getpw_r.c: Likewise.
20823 * nscd/nscd_getserv_r.c: Likewise.
20824 * posix/getopt_init.c: Likewise.
20825 * posix/wordexp.c: Likewise.
20826 * stdio-common/_itoa.c: Likewise.
20827 * stdio-common/printf_fphex.c: Likewise.
20828 * stdio-common/vfprintf.c: Likewise.
20829 * string/_strerror.c: Likewise.
20830 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20831 * sysdeps/i386/i686/hp-timing.h: Likewise.
20832 * sysdeps/mach/_strerror.c: Likewise.
20833 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20834 * sysdeps/mach/hurd/sethostid.c: Likewise.
20835 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20836 * sysdeps/mach/xpg-strerror.c: Likewise.
20837 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20838 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20839 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20840 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20841 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20842 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20843 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20844 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20845 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20846 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20847 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20848 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20849 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20850 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20851 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20852 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20853 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20854 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20855 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20856 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20857 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20859 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20861 * stdio-common/_itoa.h: Moved to ...
20862 * sysdeps/generic/_itoa.h: Here.
20864 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20866 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20867 instead of "_itoa.h" and "_itowa.h".
20868 * stdio-common/vfprintf.: Likewise.
20870 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20872 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20874 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20875 (__signbit): Likwise.
20876 (llrintf): Likwise.
20879 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20881 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20884 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20886 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20887 OVERFLOW_EXCEPTION_OK.
20888 * math/libm-test.inc ("Philosophy"): Update comment about
20890 (OVERFLOW_EXCEPTION): Define.
20891 (OVERFLOW_EXCEPTION_OK): Likewise.
20892 (INVALID_EXCEPTION_OK): Renumber.
20893 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20894 (IGNORE_ZERO_INF_SIGN): Likewise.
20895 (test_exceptions): Handle FE_OVERFLOW.
20896 (exp10_test): Expect overflow exceptions.
20897 (exp2_test): Likewise.
20898 (expm1_test): Likewise.
20899 (nextafter_test): Likewise.
20900 (pow_test): Likewise.
20901 (scalbn_test): Likewise.
20902 (scalbln_test): Likewise.
20904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20906 * sysdeps/x86_64/bits/atomic.h
20907 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20909 (atomic_exchange_acq): Likewise.
20910 (__arch_exchange_and_add_body): Likewise.
20911 (__arch_add_body): Likewise.
20912 (atomic_add_negative): Likewise.
20913 (atomic_add_zero): Likewise.
20915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20917 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20918 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20920 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20922 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20923 Check __x86_64__ instead of __WORDSIZE.
20925 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20927 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20929 2012-03-19 David S. Miller <davem@davemloft.net>
20931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20933 * sysdeps/sparc/fpu/fenv_private.h: New file.
20934 * sysdeps/sparc/fpu/math_private.h: Use it.
20935 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20937 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20938 (libc_feholdexcept_setroundl): Remove.
20939 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20941 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20942 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20944 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20946 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20947 int64_t instead of long int.
20948 (INSERT_WORDS64): Likwise.
20950 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20952 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20953 _Unwind_GetCFA return to _Unwind_Ptr first.
20955 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20958 * math/s_clog.c: Include <float.h>.
20959 (__clog): Scale large or subnormal inputs.
20960 * math/s_clogf.c: Likewise.
20961 * math/s_clogl.c: Likewise.
20962 * math/s_clog10.c: Include <float.h>.
20963 (M_LOG10_2): Define.
20964 (__clog10): Scale large or subnormal inputs.
20965 * math/s_clog10f.c: Likewise.
20966 * math/s_clog10l.c: Likewise.
20967 * math/libm-test.inc (clog_test): Add more tests.
20968 (clog10_test): Likewise.
20969 * sysdeps/i386/fpu/libm-test-ulps: Update.
20970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20973 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20975 * math/libm-test.inc (atan2_test): Add another test.
20977 * Makerules (common-objdir-compile): Remove.
20978 * sysdeps/unix/Makefile (config-generated): Do not add
20979 $(unix-generated) to variable.
20980 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20981 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20983 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20985 [generic bits/local_lim.h] (before-compile): Do not append to
20987 [generic bits/local_lim.h] (common-generated): Likewise.
20988 [generic sys/param.h] (before-compile): Do not append to variable.
20989 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20990 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20991 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20992 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20994 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20995 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20996 [generic sys/param.h] ($(addprefix
20997 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20998 [generic sys/param.h] (common-generated): Do not append to
21000 [generic sys/param.h] (sysdep_headers): Likewise.
21001 [generic bits/errno.h] (before-compile): Do not append to
21003 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21005 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21006 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21007 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21008 [generic bits/errno.h] (common-generated): Do not append to
21010 [generic bits/ioctls.h] (before-compile): Do not append to
21012 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21014 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21015 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21016 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21018 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21019 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21020 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21021 [generic bits/ioctls.h] (common-generated): Do not append to
21023 [generic sys/syscall.h] (syscall.h): Remove variable.
21024 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21026 [generic sys/syscall.h] (before-compile): Do not append to
21028 [generic sys/syscall.h] (common-generated): Likewise.
21029 * sysdeps/unix/errnos-tmpl.c: Remove file.
21030 * sysdeps/unix/errnos.awk: Likewise.
21031 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21032 * sysdeps/unix/ioctls.awk: Likewise.
21033 * sysdeps/unix/mk-local_lim.c: Likewise.
21034 * sysdeps/unix/snarf-ioctls: Likewise.
21036 2012-03-19 Richard Henderson <rth@twiddle.net>
21038 * sysdeps/i386/fpu/fenv_private.h: New file.
21039 * sysdeps/i386/fpu/math_private.h: Use it.
21040 (math_opt_barrier, math_force_eval): Remove.
21041 (libc_feholdexcept_setround_53bit): Remove.
21042 (libc_feupdateenv_53bit): Remove.
21043 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21044 (math_opt_barrier, math_force_eval): Remove.
21045 (libc_feholdexcept): Remove.
21046 (libc_feholdexcept_setround): Remove.
21047 (libc_fetestexcept, libc_fesetenv): Remove.
21048 (libc_feupdateenv_test): Remove.
21049 (libc_feupdateenv, libc_feholdsetround): Remove.
21050 (libc_feresetround): Remove.
21052 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21053 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21055 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21056 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21057 (libc_feupdateenv_testl): New.
21058 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21059 (libc_feupdateenv_testf): New.
21060 (libc_feupdateenv): Use libc_feupdateenv_test.
21061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21062 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21064 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21065 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21066 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21067 (libc_feresetround_noex): New.
21068 (libc_feresetround_noexf): New.
21069 (libc_feresetround_noexl): New.
21070 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21071 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21072 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21073 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21075 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21078 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21079 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21080 SET_RESTORE_ROUND_NOEX.
21081 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21082 SET_RESTORE_ROUND_NOEXF.
21083 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21084 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21085 (libc_feholdsetroundf): New.
21086 (libc_feresetround, libc_feresetroundf): New.
21088 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21089 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21090 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21092 * sysdeps/generic/math_private.h: Include <fenv.h>.
21093 (default_libc_feholdexcept): New.
21094 (default_libc_feholdexcept_setround): New.
21095 (default_libc_fesetenv, default_libc_feupdateenv): New.
21096 (libc_feholdexcept): Only define if undefined.
21097 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21098 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21099 (libc_feholdexcept_setroundl): Likewise.
21100 (libc_feholdexcept_setround_53bit): Likewise.
21101 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21102 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21103 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21104 (libc_feupdateenv_53bit): Likewise.
21105 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21106 (libc_feholdexcept): Convert from macro to inline function.
21107 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21108 (libc_fesetenv, libc_feupdateenv): Likewise.
21110 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21111 not previously defined.
21112 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21113 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21114 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21115 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21116 * sysdeps/ieee754/flt-32/math_private.h: New file.
21117 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21118 math_private.h below SET_FLOAT_WORD.
21119 (__isnan, __isinf_ns, __finite): Remove.
21120 (__isnanf, __isinf_nsf, __finitef): Remove.
21122 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21126 2012-03-17 David S. Miller <davem@davemloft.net>
21129 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21132 2012-03-16 David S. Miller <davem@davemloft.net>
21134 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21138 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21140 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21141 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21142 sysdep_routines when subdir is sysvipc.
21143 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21144 __getshmlba helper.
21146 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21148 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21150 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21153 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21155 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21156 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21157 (__lround): Renamed to ...
21158 (__llround): This. Replace long int with long long int.
21159 Define lround functions as aliases of llround functions.
21160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21162 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21164 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21165 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21166 adresses to uintptr_t. Replace "long int" and "unsigned long
21167 int" with "greg_t" on va_arg.
21169 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21171 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21172 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21174 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21175 Move e_machine check before EI_CLASS check. Handle x32
21176 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21177 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21178 SKIP_EM_IA_64 and include
21179 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21181 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21182 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21183 (add_system_dir): New macro.
21185 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21186 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21188 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21199 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21201 * math/w_j0f.c (j0f): Likewise.
21203 * math/w_j0l.c (__j0l): Likewise.
21205 * math/w_j1.c (j1): Likewise.
21207 * math/w_j1f.c (j1f): Likewise.
21209 * math/w_j1l.c (__j1l): Likewise.
21211 * math/w_jn.c (jn): Likewise.
21213 * math/w_jnf.c (jnf): Likewise.
21215 * math/w_jnl.c (__jnl): Likewise.
21217 * math/libm-test.inc (j0_test): Add more tests.
21218 (j1_test): Likewise.
21219 (jn_test): Likewise. Add trailing semicolon to existing test.
21220 (y0_test): Likewise.
21221 (y1_test): Likewise.
21222 * sysdeps/i386/fpu/libm-test-ulps: Update.
21223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21227 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21228 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21229 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21231 (__tanl): Set errno for infinite argument.
21232 * sysdeps/i386/fpu/mptan.c: Remove.
21233 * sysdeps/i386/fpu/s_tan.S: Likewise.
21234 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21235 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21236 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21237 * math/libm-test.inc (tan_test): Add more tests and enable more
21238 tests for double and long double.
21239 * sysdeps/i386/fpu/libm-test-ulps: Update.
21240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21244 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21245 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21247 2012-03-16 Roland McGrath <roland@hack.frob.com>
21249 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21250 * configure.in: Use it for both main tree and add-ons.
21251 * configure: Regenerated.
21253 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21255 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21257 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21259 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21263 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21264 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21265 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21266 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21267 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21269 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21271 != 0 for prec == 2.
21272 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21273 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21274 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21275 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21276 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21277 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21278 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21279 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21280 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21281 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21282 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21283 * math/libm-test.inc (cos_test): Add more tests and enable more
21284 tests for long double.
21285 (sin_test): Likewise.
21286 (sincos_test): Likewise.
21287 * sysdeps/i386/fpu/libm-test-ulps: Update.
21288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21290 2012-03-16 David S. Miller <davem@davemloft.net>
21292 * sysdeps/sparc/fpu/math_private.h: New file.
21294 2012-03-15 David S. Miller <davem@davemloft.net>
21296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21310 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21311 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21313 * sysdeps/sparc/sparc-ifunc.h: New file.
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21359 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21361 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21365 2012-03-15 Andreas Jaeger <aj@suse.de>
21368 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21369 ieee754/flt-32 implementation for sin, cos and sincos.
21370 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21371 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21372 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21373 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21374 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21375 ieee754/flt-32 implementation for tan.
21377 * math/libm-test.inc (cos_test): Enable some large input tests for
21379 (sin_test): Likewise.
21380 (sincos_test): Likewise.
21381 (tan_test): Add tests for large input.
21383 * sysdeps/i386/fpu/libm-test-ulps: Update.
21385 2012-03-15 Andreas Jaeger <aj@suse.de>
21388 * math/libm-test.inc (cos_test): Add more test cases.
21389 (sin_test): Likewise.
21390 (sincos_test): Likewise.
21392 2012-03-15 Andreas Jaeger <aj@suse.de>
21395 * math/libm-test.inc (cos_test): Add a test case for large input
21397 (sin_test): Likewise.
21398 (sincos_test): Likewise.
21400 2012-03-15 Andreas Jaeger <aj@suse.de>,
21401 Joseph Myers <joseph@codesourcery.com>
21404 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21405 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21406 * sysdeps/i386/fpu/branred.c: Likewise.
21407 * sysdeps/i386/fpu/dosincos.c: Likewise.
21408 * sysdeps/i386/fpu/mpa.c: Likewise.
21409 * sysdeps/i386/fpu/s_cos.S: Likewise.
21410 * sysdeps/i386/fpu/s_sin.S: Likewise.
21411 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21412 * sysdeps/i386/fpu/sincos32.c: Likewise.
21414 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21416 (libc_feupdateenv_53bit): Define.
21417 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21419 (libc_feupdateenv_53bit): Define.
21421 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21422 53 bit (without extend i386 double precision).
21424 * math/libm-test.inc (sincos_test): Add tests for large input.
21428 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21430 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21434 2012-03-15 David S. Miller <davem@davemloft.net>
21436 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21437 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21438 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21439 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21464 fmin/fmax sysdep routines.
21465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21467 2012-03-14 David S. Miller <davem@davemloft.net>
21469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21490 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21546 * sysdeps/sparc/configure.in: New file.
21547 * sysdeps/sparc/configure: Generate.
21548 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21549 * configure: Regenerate.
21550 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21551 * config.make.in (have-as-vis3): New.
21552 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21553 available use -Av9d instead of -Av9a.
21554 * sysdeps/sparc/sparc64/Makefile: Likewise.
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21570 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21571 fzeros/fnegs to load 0x80000000 into a float register instead of
21573 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21575 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21579 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21580 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21581 ($(inst_includedir)/bits/syscall.h): Remove rule.
21582 ($(objpfx)bits/syscall.d): Include instead of
21583 $(objpfx)syscall-list.d.
21584 (generated): Change syscall-list.h and syscall-list.d to
21585 bits/syscall.h and bits/syscall.d.
21587 2012-03-14 Roland McGrath <roland@hack.frob.com>
21590 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21592 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21595 * math/s_csqrt.c: Include <float.h>.
21596 (__csqrt): Scale large or subnormal inputs.
21597 * math/s_csqrtf.c: Likewise.
21598 * math/s_csqrtl.c: Likewise.
21599 * math/libm-test.inc (csqrt_test): Add more tests.
21600 * sysdeps/i386/fpu/libm-test-ulps: Update.
21601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604 * math/libm-test.inc (hypot_test): Add more tests.
21606 2012-03-13 David S. Miller <davem@davemloft.net>
21609 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21610 double-precision for the calculation instead of scaling.
21612 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21614 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21615 manipulate bits before adding and subtracting TWO52[sx].
21616 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21617 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21619 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21621 2012-03-13 David S. Miller <davem@davemloft.net>
21623 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21624 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21626 rtld-global-offsets.h
21627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21629 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21632 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21634 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21635 'err' in the ifdef scope in which it is actually used.
21637 * nss/nss_db/db-init.c: Include string.h
21639 2012-03-12 David S. Miller <davem@davemloft.net>
21641 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21642 masking out of the most significant byte of random value used.
21643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21644 Fix coding style in previous change.
21646 * sysdeps/unix/sysv/linux/kernel-features.h
21647 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21648 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21650 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21653 2012-03-11 David S. Miller <davem@davemloft.net>
21655 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21656 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21657 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21658 for 'resultvar' otherwise things get truncated on 64-bit.
21660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21661 Fix masking out of the most significant byte of random value used.
21663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21665 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21669 2012-03-09 David S. Miller <davem@davemloft.net>
21671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21672 variables with appropriate CPP guards.
21673 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21674 frame pointer, not the stack pointer. Correct layout comments. Fix test
21675 on resulting framesize and the management of the outregs buffer for pltexit.
21676 Preserve floating point return values across _dl_call_pltexit call.
21677 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21678 framesize and the management of the outregs buffer for pltexit.
21679 Preserve floating point return values across _dl_call_pltexit
21681 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21682 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21683 (print_exit): Fix format string for return register value.
21685 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21687 * sunrpc/Makefile (others): Add rpcgen.
21688 ($(objpfx)rpcgen): Remove special build rule and dependency on
21690 * sunrpc/rpcgen.c: New file.
21692 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21695 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21696 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21697 * sysdeps/i386/crti.S: Likewise.
21698 * sysdeps/i386/crtn.S: Likewise.
21699 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21700 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21701 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21702 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21703 * sysdeps/sh/crti.S: Likewise.
21704 * sysdeps/sh/crtn.S: Likewise.
21705 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21708 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21710 * locale/programs/locfile-kw.gperf: Likewise.
21711 * locale/programs/charmap-kw.h: Regenerated.
21712 * locale/programs/locfile-kw.h: Likewise.
21715 * intl/plural.y: Replace FSF snail mail address with URL.
21716 * intl/plural.c: Regenerated.
21718 2012-03-09 Richard Henderson <rth@twiddle.net>
21720 * include/math_private.h: Remove file.
21721 * math/math_private.h: Move file ...
21722 * sysdeps/generic/math_private.h: ... here.
21724 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21725 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21726 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21728 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21729 and <math_private.h>.
21730 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21731 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21732 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21733 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21734 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21735 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21738 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21739 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21742 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21744 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21745 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21747 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21754 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21755 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21770 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21771 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21772 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21773 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21776 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21809 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21818 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21819 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21820 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21821 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21823 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21824 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21825 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21826 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21827 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21828 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21829 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21830 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21831 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21832 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21833 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21834 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21835 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21836 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21837 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21838 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21839 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21840 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21841 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21842 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21844 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21845 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21846 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21847 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21848 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21849 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21850 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21851 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21852 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21853 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21854 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21855 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21857 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21858 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21859 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21860 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21861 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21862 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21863 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21864 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21865 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21866 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21867 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21868 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21869 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21870 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21871 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21872 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21873 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21874 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21875 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21876 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21877 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21878 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21879 * sysdeps/ieee754/k_standard.c: Likewise.
21880 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21881 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21882 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21883 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21884 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21885 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21886 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21887 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21888 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21890 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21891 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21892 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21893 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21894 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21895 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21896 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21897 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21904 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21905 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21906 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21907 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21910 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21911 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21912 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21913 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21914 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21916 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21917 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21919 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21920 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21921 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21922 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21924 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21925 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21926 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21930 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21931 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21941 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21944 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21948 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21952 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21953 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21963 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21964 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21965 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21966 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21970 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21971 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21996 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21997 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21999 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22000 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22002 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22004 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22005 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22006 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22007 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22010 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22012 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22013 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22015 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22016 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22018 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22019 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22023 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22024 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22025 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22026 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22027 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22028 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22029 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22030 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22031 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22032 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22033 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22034 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22036 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22038 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22039 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22040 * sysdeps/ieee754/s_lib_version.c: Likewise.
22041 * sysdeps/ieee754/s_matherr.c: Likewise.
22042 * sysdeps/ieee754/s_signgam.c: Likewise.
22043 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22044 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22045 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22046 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22047 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22048 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22049 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22050 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22051 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22052 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22053 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22054 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22055 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22056 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22057 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22058 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22059 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22060 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22061 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22065 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22067 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22068 * sunrpc/rpc_main.c: Likewise.
22069 * sunrpc/rpc_svcout.c: Likewise.
22071 2012-03-09 David S. Miller <davem@davemloft.net>
22073 * include/math_private.h: New file.
22075 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22077 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22078 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22079 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22080 from <bits/socket_type.h>.
22081 (enum __socket_type): Don't define here.
22082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22084 bits/socket_type.h.
22087 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22088 checking __USE_GNU.
22090 * Makerules ($(inst_includedir)/%.h): New rule.
22091 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22092 (install-others): Remove variable setting.
22093 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22095 2012-03-08 Richard Henderson <rth@twiddle.net>
22097 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22098 from macro to inline function; merge with the
22099 !__LIBC_INTERNAL_MATH_INLINES version.
22100 (__ieee754_sqrtf): Likewise.
22102 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22103 to inline function.
22104 (__rintf, __floor, __floorf): Likewise.
22106 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22107 macro to inline function.
22108 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22110 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22111 not <math/math_private.h>.
22113 2012-03-08 David S. Miller <davem@davemloft.net>
22115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22117 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22119 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22121 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22123 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22124 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22126 2012-03-08 Ulrich Drepper <drepper@gmail.com>
22128 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22129 be defined individually, they must be defined as a block. Define
22130 S for printing a string instead of hidint the different by using a
22131 macro for adding the 'l'.
22132 * stdio-common/tst-fphex-wide.c: Adjust.
22134 2012-03-07 Marek Polacek <polacek@redhat.com>
22136 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22138 2012-03-08 Marek Polacek <polacek@redhat.com>
22141 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22142 * stdio-common/tst-fphex.c: Define a few macros to make the
22143 test reusable. Use them.
22144 * stdio-common/tst-fphex-wide.c: New file.
22146 2012-03-08 Joseph Myers <joseph@codesourcery.com>
22149 * manual/macros.texi (gnusystems): New macro.
22150 (nongnusystems): Likewise.
22151 (gnulinuxhurdsystems): Likewise.
22152 (gnuhurdsystems): Likewise..
22153 (gnulinuxsystems): Likewise.
22154 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22155 variants of the GNU system, not "GNU system".
22156 * manual/conf.texi: Likewise.
22157 * manual/errno.texi: Likewise. Update example of errno macro
22159 * manual/filesys.texi: Likewise.
22160 (getumask): Document as specific to GNU/Hurd.
22161 * manual/install.texi: Likewise. Reword some references to
22163 * manual/intro.texi: Likewise.
22164 * manual/io.texi: Likewise.
22165 (File Name Portability): Detail which constraints are inapplicable
22166 to all GNU systems and which are only inapplicable to GNU/Hurd.
22167 * manual/job.texi: Likewise.
22168 * manual/llio.texi: Likewise.
22169 (O_NOCTTY): Document as present on GNU/Linux.
22170 * manual/maint.texi: Likewise.
22171 * manual/memory.texi: Likewise.
22172 * manual/pattern.texi: Likewise.
22173 * manual/pipe.texi: Likewise.
22174 * manual/process.texi: Likewise.
22175 * manual/resource.texi: Likewise.
22176 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22178 * manual/setjmp.texi: Likewise.
22179 * manual/signal.texi: Likewise.
22180 * manual/startup.texi: Likewise.
22181 * manual/stdio.texi: Likewise.
22182 * manual/terminal.texi: Likewise.
22183 (ONLCR): Document as POSIX.
22184 (OXTABS): Document availability on GNU/Linux as XTABS.
22185 (ONOEOT): Document availability separately from other bits.
22186 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22187 * manual/time.texi: Likewise.
22188 * manual/users.texi: Likewise.
22189 * INSTALL: Regenerated.
22190 * sysdeps/gnu/errlist.c: Regenerated.
22192 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22193 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22194 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22196 * configure: Regenerated.
22198 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22200 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22201 default includes instead of AC_HEADER_CHECK.
22202 * sysdeps/i386/configure: Regenerated.
22205 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22206 * math/s_cacoshf.c (__cacoshf): Likewise.
22207 * math/s_cacoshl.c (__cacoshl): Likewise.
22208 * math/s_casinh.c (__casinh): Set signs of result from argument.
22209 * math/s_casinhf.c (__casinhf): Likewise.
22210 * math/s_casinhl.c (__casinhl): Likewise.
22211 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22212 (casinh_test): Add more tests.
22213 * sysdeps/i386/fpu/libm-test-ulps: Update.
22214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22216 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22218 * po/zh_TW.po: Update from translation team.
22220 * login/Makefile (distribute): Remove variable.
22221 * catgets/Makefile: Likewise.
22222 * mach/Makefile: Likewise.
22223 * malloc/Makefile: Likewise.
22224 * misc/Makefile: Likewise.
22225 * iconv/Makefile: Likewise.
22226 * nscd/Makefile: Likewise.
22227 * hurd/Makefile: Likewise.
22228 * manual/Makefile: Likewise.
22229 * locale/Makefile: Likewise.
22230 * intl/Makefile: Likewise.
22231 * conform/Makefile: Likewise.
22232 * nss/Makefile: Likewise.
22233 * time/Makefile: Likewise.
22234 * soft-fp/Makefile: Likewise.
22235 * dirent/Makefile: Likewise.
22236 * gmon/Makefile: Likewise.
22237 * po/Makefile: Likewise.
22238 * rt/Makefile: Likewise.
22239 * socket/Makefile: Likewise.
22240 * math/Makefile: Likewise.
22241 * signal/Makefile: Likewise.
22242 * debug/Makefile: Likewise.
22243 * elf/Makefile: Likewise.
22244 * timezone/Makefile: Likewise.
22245 * stdlib/Makefile: Likewise.
22246 * iconvdata/Makefile: Likewise.
22247 * sunrpc/Makefile: Likewise.
22248 * io/Makefile: Likewise.
22249 * argp/Makefile: Likewise.
22250 * inet/Makefile: Likewise.
22251 * hesiod/Makefile: Likewise.
22252 * grp/Makefile: Likewise.
22253 * csu/Makefile: Likewise.
22254 * wctype/Makefile: Likewise.
22255 * crypt/Makefile: Likewise.
22256 * libio/Makefile: Likewise.
22257 * string/Makefile: Likewise.
22258 * nis/Makefile: Likewise.
22259 * resolv/Makefile: Likewise.
22260 * stdio-common/Makefile: Likewise.
22261 * wcsmbs/Makefile: Likewise.
22262 * dlfcn/Makefile: Likewise.
22263 * posix/Makefile: Likewise.
22266 * timezone/Makefile: Don't install timezone files, just the programs
22269 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22271 * nss/databases.def: Add missing gshadow entry.
22273 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22275 2012-03-06 Marek Polacek <polacek@redhat.com>
22278 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22279 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22280 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22281 * stdio-common/tst-long-dbl-fphex.c: New file.
22283 2012-03-06 David S. Miller <davem@davemloft.net>
22285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22286 (set_obp_int): New function.
22287 (get_obp_int): New function.
22288 (__get_clockfreq_via_dev_openprom): Likewise.
22289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22290 Avoid unused variable warnings on 'val' and use builtin_expect.
22291 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22293 (INLINE_CLONE_SYSCALL): Likewise.
22295 2012-03-05 David S. Miller <davem@davemloft.net>
22297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22299 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22304 only for |x| >= 40.
22305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22307 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22310 Replace gettimeofday with __vdso_gettimeofday.
22312 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22313 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22314 __vdso_clock_gettime and __vdso_getcpu.
22316 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22317 time with __vdso_time.
22319 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22321 * manual/lang.texi (size_t): Note types to which size_t may be
22322 equivalent with the GNU C Library, but do not describe when
22323 differences between them are significant.
22325 2012-03-05 Andreas Jaeger <aj@suse.de>
22327 * sysdeps/i386/fpu/libm-test-ulps: Update.
22329 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22332 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22333 (__ieee754_pow): Save and restore rounding mode and use
22334 round-to-nearest for main computations.
22335 * math/libm-test.inc (pow_test_tonearest): New function.
22336 (pow_test_towardzero): Likewise.
22337 (pow_test_downward): Likewise.
22338 (pow_test_upward): Likewise.
22339 (main): Call the new functions.
22340 * sysdeps/i386/fpu/libm-test-ulps: Update.
22341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344 * math/libm-test.inc (cosh_test_tonearest): New function.
22345 (cosh_test_towardzero): Likewise.
22346 (cosh_test_downward): Likewise.
22347 (cosh_test_upward): Likewise.
22348 (sinh_test_tonearest): Likewise.
22349 (sinh_test_towardzero): Likewise.
22350 (sinh_test_downward): Likewise.
22351 (sinh_test_upward): Likewise.
22352 (main): Call the new functions.
22353 * sysdeps/i386/fpu/libm-test-ulps: Update.
22354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22356 2012-03-05 Tom de Vries <tom@codesourcery.com>
22358 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22359 default stack guard is set in last bytes.
22360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22362 2012-03-05 Kees Cook <keescook@chromium.org>
22364 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22367 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22368 possibly allocate from heap instead of stack.
22369 * stdio-common/bug-vfprintf-nargs.c: New file.
22370 * stdio-common/Makefile (tests): Add nargs overflow test.
22372 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22376 2012-03-03 Marek Polacek <polacek@redhat.com>
22378 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22379 * math/math_private.h: Likewise.
22380 * stdlib/tst-strtod.c: Likewise.
22381 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22382 * sysdeps/x86_64/bits/atomic.h: Likewise.
22384 2012-03-02 David S. Miller <davem@davemloft.net>
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22390 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22391 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22392 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22393 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22395 2012-03-02 Roland McGrath <roland@hack.frob.com>
22398 * manual/examples/README: New file, says the example source files
22399 can be used under GPL>=2.
22400 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22401 line containing just "*/".
22402 * manual/examples/add.c: Add copyright header (GPL>=2).
22403 * manual/examples/argp-ex1.c: Likewise.
22404 * manual/examples/argp-ex2.c: Likewise.
22405 * manual/examples/argp-ex3.c: Likewise.
22406 * manual/examples/argp-ex4.c: Likewise.
22407 * manual/examples/atexit.c: Likewise.
22408 * manual/examples/db.c: Likewise.
22409 * manual/examples/dir.c: Likewise.
22410 * manual/examples/dir2.c: Likewise.
22411 * manual/examples/execinfo.c: Likewise.
22412 * manual/examples/filecli.c: Likewise.
22413 * manual/examples/filesrv.c: Likewise.
22414 * manual/examples/fmtmsgexpl.c: Likewise.
22415 * manual/examples/genpass.c: Likewise.
22416 * manual/examples/inetcli.c: Likewise.
22417 * manual/examples/inetsrv.c: Likewise.
22418 * manual/examples/isockad.c: Likewise.
22419 * manual/examples/longopt.c: Likewise.
22420 * manual/examples/memopen.c: Likewise.
22421 * manual/examples/memstrm.c: Likewise.
22422 * manual/examples/mkfsock.c: Likewise.
22423 * manual/examples/mkisock.c: Likewise.
22424 * manual/examples/mygetpass.c: Likewise.
22425 * manual/examples/pipe.c: Likewise.
22426 * manual/examples/popen.c: Likewise.
22427 * manual/examples/rprintf.c: Likewise.
22428 * manual/examples/search.c: Likewise.
22429 * manual/examples/select.c: Likewise.
22430 * manual/examples/setjmp.c: Likewise.
22431 * manual/examples/sigh1.c: Likewise.
22432 * manual/examples/sigusr.c: Likewise.
22433 * manual/examples/stpcpy.c: Likewise.
22434 * manual/examples/strdupa.c: Likewise.
22435 * manual/examples/strftim.c: Likewise.
22436 * manual/examples/strncat.c: Likewise.
22437 * manual/examples/subopt.c: Likewise.
22438 * manual/examples/swapcontext.c: Likewise.
22439 * manual/examples/termios.c: Likewise.
22440 * manual/examples/testopt.c: Likewise.
22441 * manual/examples/testpass.c: Likewise.
22442 * manual/examples/timeval_subtract.c: Likewise.
22445 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22447 * manual/timeval_subtract.c.texi: ... here, new file.
22449 2012-03-02 David S. Miller <davem@davemloft.net>
22451 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22453 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22456 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22457 (__sin): Save and restore rounding mode and use round-to-nearest
22458 for all computations.
22459 (__cos): Save and restore rounding mode and use round-to-nearest
22460 for all computations.
22461 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22463 (tan): Save and restore rounding mode and use round-to-nearest for
22465 * math/libm-test.inc (cos_test_tonearest): New function.
22466 (cos_test_towardzero): Likewise.
22467 (cos_test_downward): Likewise.
22468 (cos_test_upward): Likewise.
22469 (sin_test_tonearest): Likewise.
22470 (sin_test_towardzero): Likewise.
22471 (sin_test_downward): Likewise.
22472 (sin_test_upward): Likewise.
22473 (tan_test_tonearest): Likewise.
22474 (tan_test_towardzero): Likewise.
22475 (tan_test_downward): Likewise.
22476 (tan_test_upward): Likewise.
22477 (main): Call the new functions.
22478 * sysdeps/i386/fpu/libm-test-ulps: Update.
22479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22482 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22483 small n, then large n, before computing and testing k+n.
22484 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22489 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22490 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22491 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22492 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22495 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22497 * math/libm-test.inc (scalbn_test): Add more tests.
22498 (scalbln_test): Likewise.
22500 * manual/filesys.texi (mode_t): Describe constraints on size and
22501 signedness, not exact equivalence to a particular type.
22503 (ino64_t): Likewise.
22505 (nlink_t): Likewise.
22506 (blkcnt_t): Likewise.
22507 (blkcnt64_t): Likewise.
22508 * manual/llio.texi (off_t): Likewise.
22511 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22512 (__ieee754_exp): Save and restore rounding mode and use
22513 round-to-nearest for all computations.
22514 * math/libm-test.inc (exp_test_tonearest): New function.
22515 (exp_test_towardzero): Likewise.
22516 (exp_test_downward): Likewise.
22517 (exp_test_upward): Likewise.
22518 (main): Call the new functions.
22519 * sysdeps/i386/fpu/libm-test-ulps: Update.
22520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22522 2012-03-01 Chris Demetriou <cgd@google.com>
22524 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22525 have predictable order.
22527 2012-03-01 David S. Miller <davem@davemloft.net>
22529 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22531 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22532 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22533 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22534 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22536 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22537 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22538 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22540 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22541 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22542 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22543 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22544 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22548 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22549 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22550 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22552 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22553 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22554 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22555 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22556 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22559 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22560 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22561 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22562 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22563 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22565 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22566 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22568 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22569 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22570 * sysdeps/sparc/elf/configure: Regenerated.
22572 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22574 * configure.in (AS, LD): Require binutils 2.20 or later.
22575 * configure: Regenerated.
22576 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22577 as required minimum version.
22578 * INSTALL: Regenerated.
22582 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22583 before squaring exponent.
22584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22585 bottom long double and 27 bits of top long double before squaring
22587 * math/libm-test.inc (erfc_test): Add more tests.
22588 * sysdeps/i386/fpu/libm-test-ulps: Update.
22589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22592 2012-03-01 Kai Tietz <ktietz@redhat.com>
22594 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22595 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22596 containing bit-fields.
22597 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22598 * soft-fp/single.h (_FP_UNION_S): Likewise.
22599 * soft-fp/double.h (_FP_UNION_D): Likewise.
22601 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22604 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22605 not include ../strcmp.S.
22606 [USE_AS_STRNCASECMP_L]: Likewise.
22607 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22608 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22609 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22610 (__strncasecmp_l_ia32): Define as alias to
22611 __strncasecmp_l_nonascii.
22614 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22615 * sysdeps/i386/fpu/libm-test-ulps: Update.
22616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22618 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22621 2012-02-29 Jeff Law <law@redhat.com>
22623 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22624 out of bounds read.
22626 2012-02-29 Marek Polacek <polacek@redhat.com>
22629 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22630 * elf/Makefile: Add rules to run tst-unused-dep.out.
22632 2012-02-28 David S. Miller <davem@davemloft.net>
22634 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22635 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22638 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22639 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22641 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22643 * math/libm-test.inc (llround_test): Move one test from
22644 lround_test. Use TEST_f_L in moved test.
22645 (lround_test): Move misplaced test to llround_test. Add testcase
22648 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22650 * sysdeps/x86_64/fpu/e_expf.S: New file.
22651 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22653 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22656 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22657 of remain_len that may cause incomplete multi-byte character and
22659 * posix/bug-regex33.c: New file.
22660 * posix/Makefile (tests): Add bug-regex33.
22662 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22664 * manual/macros.texi: New file.
22665 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22666 * manual/libc.texinfo: Include macros.texi.
22667 * manual/creatute.texi: Likewise.
22668 * manual/install.texi: Likewise.
22669 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22670 @glibcadj{} in references to the GNU C Library.
22671 * manual/charset.texi: Likewise.
22672 * manual/conf.texi: Likewise.
22673 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22674 when not using those macros.
22675 * manual/creature.texi: Likewise.
22676 * manual/crypt.texi: Likewise.
22677 * manual/errno.texi: Likewise.
22678 * manual/filesys.texi: Likewise.
22679 * manual/header.texi: Likewise.
22680 * manual/install.texi: Likewise.
22681 * manual/intro.texi: Likewise.
22682 * manual/io.texi: Likewise.
22683 * manual/job.texi: Likewise.
22684 * manual/lang.texi: Likewise.
22685 * manual/libc.texiinfo: Likewise.
22686 * manual/llio.texi: Likewise.
22687 * manual/locale.texi: Likewise.
22688 * manual/maint.texi: Likewise.
22689 * manual/math.texi: Likewise.
22690 * manual/memory.texi: Likewise.
22691 * manual/message.texi: Likewise.
22692 * manual/nss.texi: Likewise.
22693 * manual/pattern.texi: Likewise.
22694 * manual/process.texi: Likewise.
22695 * manual/resource.texi: Likewise.
22696 * manual/search.texi: Likewise.
22697 * manual/setjmp.texi: Likewise.
22698 * manual/signal.texi: Likewise.
22699 * manual/socket.texi: Likewise.
22700 * manual/startup.texi: Likewise.
22701 * manual/stdio.texi: Likewise.
22702 * manual/string.texi: Likewise.
22703 * manual/sysinfo.texi: Likewise.
22704 * manual/syslog.texi: Likewise.
22705 * manual/terminal.texi: Likewise.
22706 * manual/time.texi: Likewise.
22707 * manual/users.texi: Likewise.
22708 * INSTALL: Regenerated.
22709 * NOTES: Regenerated.
22710 * sysdeps/gnu/errlist.c: Regenerated.
22712 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22714 * include/dirent.h: Include <dirstream.h> before
22717 2012-02-28 David S. Miller <davem@davemloft.net>
22719 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22720 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22721 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22722 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22724 2012-02-27 David S. Miller <davem@davemloft.net>
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22728 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22729 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22732 frame pointer instead of stack pointer relative arg slot.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22734 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22735 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22737 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22740 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22742 2012-02-27 David S. Miller <davem@davemloft.net>
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22748 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22749 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22750 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22751 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22753 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22755 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22756 later. Allow versions 5-9.
22757 * configure: Regenerated.
22758 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22759 required minimum version and 4.6 as recommended version. Do not
22760 mention bugs in GCC 2.7 and 2.8.
22761 * INSTALL: Regenerated.
22763 2012-02-27 David S. Miller <davem@davemloft.net>
22765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22769 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22770 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22771 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22772 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22774 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22775 manipulate bits before adding and subtracting TWO112[sx].
22776 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22778 2012-02-27 Roland McGrath <roland@hack.frob.com>
22781 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22782 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22783 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22784 being in POSIX, because they are in 1003.1-2008.
22786 * rt/tst-aio.c: Include <fcntl.h>.
22787 * rt/tst-aio7.c: Likewise.
22788 * rt/tst-aio64.c: Likewise.
22790 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22792 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22794 * manual/install.texi (--with-headers): Describe headers as
22795 interface headers, not private headers.
22796 (Specific advice for GNU/Linux systems): Describe use of headers
22797 from "make headers_install", not private headers from older
22799 * INSTALL: Regenerated.
22800 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22802 * sysdeps/unix/sysv/linux/configure: Regenerated.
22804 * manual/llio.texi (fclean): Remove documentation.
22806 * manual/Makefile (libc-texi-generated): New variable. Include
22808 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22809 $(libc-texi-generated), not duplicated list of files.
22810 (version.texi, stamp-version): New rules.
22811 (realclean): Remove $(libc-texi-generated), not individual files
22812 from that list. Do not remove dir-add.texinfo.
22813 * manual/libc.texinfo: Comment out uses of edition numbers and
22814 references to printed manual. Remove last-updated dates.
22815 (EDITION): Comment out.
22817 (VERSION, UPDATED): Remove.
22818 (version.texi): Include.
22820 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22822 * sysdeps/posix/spawni.c: Include <signal.h>.
22823 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22824 * sysdeps/pthread/aio_fsync.c: Likewise.
22826 2012-02-26 Ulrich Drepper <drepper@gmail.com>
22828 * conform/Makefile (tests): Run only when not cross-compiling and
22829 when fast-check is not defined.
22831 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22832 * conform/data/limits.h-data: Fixes for POSIX2008.
22833 * conform/run-conformtest.sh: Run all tests.
22834 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22836 * include/bits/dlfcn.h: Likewise.
22837 * include/langinfo.h: Likewise.
22838 * include/monetary.h: Likewise.
22839 * include/sys/poll.h: Likewise.
22841 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22843 * posix/spawn.h: Define __need_sigset_t.
22844 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22845 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22846 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22847 to get sigevent_t only.
22848 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22849 only for __USE_GNU.
22850 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22851 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22852 process_vm_writev only for __USE_GNU.
22853 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22855 * conform/Makefile: For now ignore errors from run-conformtest.
22856 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22857 POSIX to avoid namespace pollution. Don't prepend headers.
22858 * conform/data/aio.h-data: Fixes for POSIX testing.
22859 * conform/data/fcntl.h-data: Likewise.
22860 * conform/data/glob.h-data: Likewise.
22861 * conform/data/grp.h-data: Likewise.
22862 * conform/data/pthread.h-data: Likewise.
22863 * conform/data/pwd.h-data: Likewise.
22864 * conform/data/signal.h-data: Likewise.
22865 * conform/data/spawn.h-data: Likewise.
22866 * conform/data/stdio.h-data: Likewise.
22867 * conform/data/stdlib.h-data: Likewise.
22868 * conform/data/stropts.h-data: Likewise.
22869 * conform/data/sys/mman.h-data: Likewise.
22870 * conform/data/sys/stat.h-data: Likewise.
22871 * conform/data/sys/types.h-data: Likewise.
22872 * conform/data/sys/wait.h-data: Likewise.
22873 * conform/data/time.h-data: Likewise.
22874 * conform/data/unistd.h-data: Likewise.
22875 * conform/data/utime.h-data: Likewise.
22877 * io/sys/stat.h: fchmod was always in POSIX.
22878 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22879 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22880 * rt/aio.h: Define __need_timespec before including <time.h>.
22881 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22882 struct. Add forward declaration of pthread_attr_t and use it in
22884 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22886 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22887 always remove CLK_TCK definition.
22889 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22891 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22893 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22895 * conform/run-conformtest.sh: New file.
22896 * conform/Makefile: Run run-conformtest for tests.
22897 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22900 * conform/data/uchar.h-data: New file.
22901 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22902 * conform/data/arpa/inet.h-data: Likewise.
22903 * conform/data/assert.h-data: Likewise.
22904 * conform/data/complex.h-data: Likewise.
22905 * conform/data/cpio.h-data: Likewise.
22906 * conform/data/ctype.h-data: Likewise.
22907 * conform/data/dirent.h-data: Likewise.
22908 * conform/data/dlfcn.h-data: Likewise.
22909 * conform/data/errno.h-data: Likewise.
22910 * conform/data/fcntl.h-data: Likewise.
22911 * conform/data/float.h-data: Likewise.
22912 * conform/data/fmtmsg.h-data: Likewise.
22913 * conform/data/fnmatch.h-data: Likewise.
22914 * conform/data/ftw.h-data: Likewise.
22915 * conform/data/glob.h-data: Likewise.
22916 * conform/data/grp.h-data: Likewise.
22917 * conform/data/iconv.h-data: Likewise.
22918 * conform/data/inttypes.h-data: Likewise.
22919 * conform/data/langinfo.h-data: Likewise.
22920 * conform/data/libgen.h-data: Likewise.
22921 * conform/data/limits.h-data: Likewise.
22922 * conform/data/locale.h-data: Likewise.
22923 * conform/data/math.h-data: Likewise.
22924 * conform/data/monetary.h-data: Likewise.
22925 * conform/data/mqueue.h-data: Likewise.
22926 * conform/data/ndbm.h-data: Likewise.
22927 * conform/data/net/if.h-data: Likewise.
22928 * conform/data/netdb.h-data: Likewise.
22929 * conform/data/netinet/in.h-data: Likewise.
22930 * conform/data/nl_types.h-data: Likewise.
22931 * conform/data/poll.h-data: Likewise.
22932 * conform/data/pthread.h-data: Likewise.
22933 * conform/data/pwd.h-data: Likewise.
22934 * conform/data/regex.h-data: Likewise.
22935 * conform/data/sched.h-data: Likewise.
22936 * conform/data/search.h-data: Likewise.
22937 * conform/data/semaphore.h-data: Likewise.
22938 * conform/data/setjmp.h-data: Likewise.
22939 * conform/data/signal.h-data: Likewise.
22940 * conform/data/spawn.h-data: Likewise.
22941 * conform/data/stdarg.h-data: Likewise.
22942 * conform/data/stdio.h-data: Likewise.
22943 * conform/data/stdlib.h-data: Likewise.
22944 * conform/data/string.h-data: Likewise.
22945 * conform/data/strings.h-data: Likewise.
22946 * conform/data/stropts.h-data: Likewise.
22947 * conform/data/sys/ipc.h-data: Likewise.
22948 * conform/data/sys/mman.h-data: Likewise.
22949 * conform/data/sys/msg.h-data: Likewise.
22950 * conform/data/sys/resource.h-data: Likewise.
22951 * conform/data/sys/select.h-data: Likewise.
22952 * conform/data/sys/sem.h-data: Likewise.
22953 * conform/data/sys/shm.h-data: Likewise.
22954 * conform/data/sys/socket.h-data: Likewise.
22955 * conform/data/sys/stat.h-data: Likewise.
22956 * conform/data/sys/statvfs.h-data: Likewise.
22957 * conform/data/sys/time.h-data: Likewise.
22958 * conform/data/sys/timeb.h-data: Likewise.
22959 * conform/data/sys/times.h-data: Likewise.
22960 * conform/data/sys/types.h-data: Likewise.
22961 * conform/data/sys/uio.h-data: Likewise.
22962 * conform/data/sys/un.h-data: Likewise.
22963 * conform/data/sys/utsname.h-data: Likewise.
22964 * conform/data/sys/wait.h-data: Likewise.
22965 * conform/data/syslog.h-data: Likewise.
22966 * conform/data/tar.h-data: Likewise.
22967 * conform/data/termios.h-data: Likewise.
22968 * conform/data/utime.h-data: Likewise.
22969 * conform/data/utmpx.h-data: Likewise.
22970 * conform/data/varargs.h-data: Likewise.
22971 * conform/data/wchar.h-data: Likewise.
22972 * conform/data/wctype.h-data: Likewise.
22973 * conform/data/wordexp.h-data: Likewise.
22975 * include/stropts.h: New file.
22976 * include/uchar.h: New file.
22977 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22978 * include/assert.h: Likewise.
22979 * include/ctype.h: Likewise.
22980 * include/dirent.h: Likewise.
22981 * include/dlfcn.h: Likewise.
22982 * include/fcntl.h: Likewise.
22983 * include/fnmatch.h: Likewise.
22984 * include/glob.h: Likewise.
22985 * include/grp.h: Likewise.
22986 * include/libio.h: Likewise.
22987 * include/locale.h: Likewise.
22988 * include/math.h: Likewise.
22989 * include/net/if.h: Likewise.
22990 * include/netdb.h: Likewise.
22991 * include/netinet/in.h: Likewise.
22992 * include/pthread.h: Likewise.
22993 * include/pwd.h: Likewise.
22994 * include/regex.h: Likewise.
22995 * include/sched.h: Likewise.
22996 * include/search.h: Likewise.
22997 * include/setjmp.h: Likewise.
22998 * include/signal.h: Likewise.
22999 * include/stdio.h: Likewise.
23000 * include/stdlib.h: Likewise.
23001 * include/string.h: Likewise.
23002 * include/sys/cdefs.h: Likewise.
23003 * include/sys/mman.h: Likewise.
23004 * include/sys/msg.h: Likewise.
23005 * include/sys/resource.h: Likewise.
23006 * include/sys/select.h: Likewise.
23007 * include/sys/socket.h: Likewise.
23008 * include/sys/stat.h: Likewise.
23009 * include/sys/statvfs.h: Likewise.
23010 * include/sys/time.h: Likewise.
23011 * include/sys/times.h: Likewise.
23012 * include/sys/uio.h: Likewise.
23013 * include/sys/utsname.h: Likewise.
23014 * include/sys/wait.h: Likewise.
23015 * include/termios.h: Likewise.
23016 * include/time.h: Likewise.
23017 * include/ulimit.h: Likewise.
23018 * include/unistd.h: Likewise.
23019 * include/utime.h: Likewise.
23020 * include/wchar.h: Likewise.
23021 * include/wctype.h: Likewise.
23022 * include/wordexp.h: Likewise.
23024 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23026 * time/time.h: TIME_UTC must be a macro.
23027 Make timespec_get available for ISO C11 only as well.
23029 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23031 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23032 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23034 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23036 * configure.in: Use -o not -a in test for unsupported multi-arch.
23038 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23040 * manual/texinfo.tex: Update to version 2012-01-19.16.
23042 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23044 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23046 2012-02-24 Roland McGrath <roland@hack.frob.com>
23049 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23050 * manual/fdl-1.3.texi: New file.
23051 * manual/fdl-1.1.texi: File removed.
23054 * manual/libc.texinfo (FDL_VERSION): New @set.
23055 Use it for mention of FDL in cover text.
23056 (Documentation License): Use it in @include file name.
23058 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23059 Roland McGrath <roland@hack.frob.com>
23062 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23063 not LONG_LONG_MAX and LONG_LONG_MIN.
23064 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23065 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23067 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23069 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23073 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23074 manipulate bits before adding and subtracting TWO23[sx].
23075 * math/libm-test.inc (nearbyint_test): Add more tests.
23077 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23080 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23081 bits before adding and subtracting TWO23[sx].
23082 * math/libm-test.inc (rint_test): Add more tests.
23083 (rint_test_tonearest): Likewise.
23084 (rint_test_towardzero): Likewise.
23085 (rint_test_downward): Likewise.
23086 (rint_test_upward: Likewise.
23088 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23091 * include/stdc-predef.h: New file. Extracted from features.h.
23092 * include/features.h: Include stdc-predef.h.
23093 * Makefile (headers): Add stdc-predef.h.
23094 * CONFORMANCE (Compiler limitations): Update.
23096 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23098 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23100 2012-02-21 David S. Miller <davem@davemloft.net>
23102 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23103 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23105 2012-02-20 David S. Miller <davem@davemloft.net>
23107 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23108 using a normal save/restore sequence, rather than allocating a
23109 dummy stack frame just to store a frame pointer and restore.
23110 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23112 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23114 * manual/install.texi: Fix stray word in line-wrapped comment.
23116 2012-02-20 David S. Miller <davem@davemloft.net>
23118 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23119 both binutils and gcc support GOTDATA.
23121 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23122 "rd %pc" in the PIC register setup sequences.
23124 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23125 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23126 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23127 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23128 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23130 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23133 (SYSCALL_ERROR_HANDLER): Likewise.
23134 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23135 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23137 (SYSCALL_ERROR_HANDLER): Likewise.
23139 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23140 (HAVE_GCC_GOTDATA): New.
23141 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23142 relocation support in both binutils and gcc.
23143 * sysdeps/sparc/elf/configure: Regenerate.
23145 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23146 * sysdeps/sparc/sparc32/elf/configure: Delete.
23147 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23148 * sysdeps/sparc/sparc64/elf/configure: Delete.
23149 * sysdeps/sparc/elf/configure.in: New file.
23150 * sysdeps/sparc/elf/configure: Generate.
23152 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23153 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23154 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23155 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23156 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23158 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23160 * manual/install.texi: Do not mention specific glibc version
23162 * manual/libc.texinfo (VERSION, UPDATED): Update.
23163 (@copying): Use @copyright{} and range of years.
23165 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23168 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23169 [crti.S not in sysdirs] (generated): Do not append.
23170 [crti.S not in sysdirs] (omit-deps): Likewise.
23171 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23172 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23173 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23174 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23175 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23177 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23178 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23179 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23180 * csu/defs.awk: Remove file.
23181 * sysdeps/generic/initfini.c: Likewise.
23182 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23184 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23187 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23189 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23190 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23191 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23194 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23196 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23197 (__EPOLL_PACKED): Define to empty if not defined by
23199 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23203 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23205 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23206 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23207 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23208 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23210 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23214 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23216 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23219 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23223 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23226 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23228 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23230 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23231 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23233 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23235 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23238 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23240 * math/w_acos.c: Use non-signaling floating-point comparisons.
23241 * math/w_acosf.c: Likewise.
23242 * math/w_acosh.c: Likewise.
23243 * math/w_acoshf.c: Likewise.
23244 * math/w_acoshl.c: Likewise.
23245 * math/w_acosl.c: Likewise.
23246 * math/w_asin.c: Likewise.
23247 * math/w_asinf.c: Likewise.
23248 * math/w_asinl.c: Likewise.
23249 * math/w_atanh.c: Likewise.
23250 * math/w_atanhf.c: Likewise.
23251 * math/w_atanhl.c: Likewise.
23252 * math/w_exp2.c: Likewise.
23253 * math/w_exp2f.c: Likewise.
23254 * math/w_exp2l.c: Likewise.
23255 * math/w_j0.c: Likewise.
23256 * math/w_j0f.c: Likewise.
23257 * math/w_j0l.c: Likewise.
23258 * math/w_j1.c: Likewise.
23259 * math/w_j1f.c: Likewise.
23260 * math/w_j1l.c: Likewise.
23261 * math/w_jn.c: Likewise.
23262 * math/w_jnf.c: Likewise.
23263 * math/w_log.c: Likewise.
23264 * math/w_log10.c: Likewise.
23265 * math/w_log10f.c: Likewise.
23266 * math/w_log10l.c: Likewise.
23267 * math/w_log2.c: Likewise.
23268 * math/w_log2f.c: Likewise.
23269 * math/w_log2l.c: Likewise.
23270 * math/w_logf.c: Likewise.
23271 * math/w_logl.c: Likewise.
23272 * math/w_sqrt.c: Likewise.
23273 * math/w_sqrtf.c: Likewise.
23274 * math/w_sqrtl.c: Likewise.
23275 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23276 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23277 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23278 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23279 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23281 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23284 * manual/string.texi (strnlen): Use correct parameter name in
23285 equivalent expression.
23287 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23290 * manual/users.texi (seteuid): Consistently use neweuid for
23293 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23296 * manual/nss.texi (Services in the NSS configuration): Correct
23297 list of services in example configuration file.
23299 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23302 * manual/arith.texi: Remove statements about negative zero
23303 behaving identically to zero.
23305 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23308 * manual/install.texi: Do not document upgrading from libc5.
23310 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23313 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23315 2012-02-18 David S. Miller <davem@davemloft.net>
23317 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23318 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23319 %o7 across the call.
23320 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23323 SETUP_PIC_REG_LEAF.
23324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23325 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23326 * sysdeps/sparc/crtn.S: Likewise.
23328 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23330 * aout/Makefile: Remove.
23332 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23335 * manual/examples/argp-ex1.c (main): Format definition in GNU
23337 * manual/examples/argp-ex2.c (main): Likewise.
23338 * manual/examples/argp-ex3.c (main): Likewise.
23339 * manual/examples/argp-ex4.c (main): Likewise.
23340 * manual/examples/longopt.c (main): Use new-style prototype
23342 * manual/examples/strncat.c (main): Specify return type and use
23343 (void) for arguments.
23344 * manual/examples/subopt.c (main): Use char **argv argument.
23346 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23349 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23352 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23355 * manual/string.texi (strchr): Change when strchrnul is
23358 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23361 * manual/locale.texi (setlocale): Document LOCPATH.
23363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23366 * manual/process.texi (execle): Move @dots{} before last argument.
23368 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23371 * manual/charset.texi (Generic Charset Conversion): Fix typo
23372 (LC_TYPE -> LC_CTYPE).
23374 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23377 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23378 (scalbnf): Likewise.
23379 (scalbnl): Likewise.
23380 (scalbln): Likewise.
23381 (scalblnf): Likewise.
23382 (scalblnl): Likewise.
23383 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23384 (vwarnx): Likewise.
23387 * manual/filesys.texi (telldir): Use braces around return type.
23388 * manual/llio.texi (mmap): Add space after comma.
23389 (mmap64): Likewise.
23390 * manual/math.texi (jn): Use @var{} on parameter names.
23396 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23398 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23400 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23401 (sched_get_priority_max): Likewise.
23402 * manual/signal.texi (sigvec): Add space after comma.
23403 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23405 (if_indextoname): Likewise.
23406 (if_freenameindex): Likewise.
23407 (sendto): Use ',' instead of '.' in prototype.
23408 * manual/startup.texi (syscall): Use @dots{} instead of literal
23410 * manual/stdio.texi (__fpending): Separate initial words of
23411 paragraph from @deftypefun line.
23412 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23414 (vsyslog): Use @var{} on parameter names.
23415 * manual/terminal.texi (stty): Use @var{} on parameter names.
23416 * manual/users.texi (getutmp): Use @var{} on parameter names.
23417 (getutmpx): Likewise.
23419 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23422 * manual/stdio.texi (fopen): Fix typos in description of
23425 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23428 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23429 get clock_id definition.
23431 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23434 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23435 (madvise): Cast every argument to void on its own.
23437 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23440 * manual/startup.texi (Exit Status): Fix typo.
23442 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23445 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23446 * manual/examples/argp-ex2.c: Likewise.
23447 * manual/examples/argp-ex3.c: Likewise.
23449 2012-02-16 Richard Henderson <rth@redhat.com>
23451 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23452 * sysdeps/s390/s390-32/initfini.c: Remove.
23453 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23454 * sysdeps/s390/s390-64/initfini.c: Remove.
23456 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23458 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23459 compiler output for sysdeps/generic/initfini.c.
23460 * sysdeps/sh/elf/initfini.c: Remove file.
23462 2012-02-16 David S. Miller <davem@davemloft.net>
23465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23467 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23468 * sysdeps/sparc/crti.S: New file.
23469 * sysdeps/sparc/crtn.S: New file.
23470 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23471 * sysdeps/sparc/sparc64/Makefile: Likewise.
23473 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23476 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23478 2012-02-15 Roland McGrath <roland@hack.frob.com>
23481 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23483 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23484 (write, read, close): Likewise.
23485 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23487 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23489 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23490 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23491 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23492 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23494 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23498 2012-02-14 Marek Polacek <polacek@redhat.com>
23500 * sysdeps/x86_64/crti.S: New file.
23501 * sysdeps/x86_64/crtn.S: New file.
23502 * sysdeps/x86_64/elf/initfini.c: Remove file.
23504 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23506 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23507 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23508 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23509 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23511 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23515 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23517 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23518 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23519 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23520 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23522 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23526 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23528 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23529 __feraiseexcept instead of feraiseexcept.
23531 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23532 nanosleep invocations.
23533 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23534 strings, and add error checking for a nanosleep invocations.
23536 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23538 Replace FSF snail mail address with URLs, as per GNU coding standards.
23539 Most of the snail mail addresses were wrong anyway, and omitting
23540 them makes the source code easier to maintain. Almost all of the
23541 changes are to license notices and to locale LC_IDENTIFICATION
23542 addresses, except for this one:
23543 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23544 not its snail mail address.
23546 2012-02-09 Richard Henderson <rth@twiddle.net>
23548 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23549 of kernel-features.h.
23551 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23553 2012-02-08 Marek Polacek <polacek@redhat.com>
23555 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23556 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23557 * sysdeps/gnu/_G_config.h: Likewise.
23558 * sysdeps/generic/_G_config.h: Likewise.
23560 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23562 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23566 * sysdeps/powerpc/powerpc32/crti.S: New file.
23567 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23568 * sysdeps/powerpc/powerpc64/crti.S: New file.
23569 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23571 * Makeconfig (have-initfini): Don't set.
23572 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23573 * configure.in (nopic_initfini): Don't substitute.
23574 * config.h.in (HAVE_INITFINI): Don't #undef.
23575 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23576 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23578 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23580 Support crti.S and crtn.S provided directly by architectures.
23581 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23582 [crti.S in sysdirs] (omit-deps): Likewise.
23583 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23584 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23585 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23586 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23587 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23588 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23589 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23590 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23591 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23592 compiler output for sysdeps/generic/initfini.c.
23593 * sysdeps/i386/elf/Makefile: Remove file.
23594 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23596 2012-02-07 Marek Polacek <polacek@redhat.com>
23598 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23599 * sysdeps/gnu/_G_config.h: Likewise.
23600 * sysdeps/mach/hurd/_G_config.h: Likewise.
23602 2012-02-07 Marek Polacek <polacek@redhat.com>
23604 * math/Makefile (tests): Add tst-CMPLX2.
23605 * math/tst-CMPLX2.c: New file.
23607 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23609 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23611 * math/libm-test.inc (jn_test): Add missing L suffix.
23613 2012-02-06 Marek Polacek <polacek@redhat.com>
23615 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23616 * sysdeps/i386/fpu/e_powf.S: Likewise.
23617 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23618 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23619 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23620 * sysdeps/i386/fpu/e_pow.S: Likewise.
23621 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23622 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23623 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23624 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23625 * sysdeps/i386/fpu/e_log2.S: Likewise.
23626 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23627 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23628 * sysdeps/i386/fpu/e_powl.S: Likewise.
23629 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23630 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23631 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23632 * sysdeps/i386/fpu/e_logl.S: Likewise.
23633 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23634 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23635 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23636 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23637 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23638 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23639 * sysdeps/i386/fpu/e_log.S: Likewise.
23640 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23642 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23643 * sysdeps/i386/fpu/e_logf.S: Likewise.
23644 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23645 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23646 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23647 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23648 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23649 * sysdeps/i386/fpu/e_log10.S: Likewise.
23650 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23651 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23652 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23653 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23654 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23655 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23656 * sysdeps/i386/asm-syntax.h: Likewise.
23657 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23658 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23659 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23660 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23661 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23663 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23664 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23665 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23666 * sysdeps/powerpc/sysdep.h: Likewise.
23667 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23668 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23670 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23673 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23675 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23677 * sysdeps/i386/sysdep.h: Include <features.h>.
23678 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23681 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23683 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23685 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23688 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23690 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23691 (SETUP_PIC_REG): Use GET_PC_THUNK.
23692 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23695 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23697 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23698 for non-PIC compilation.
23699 (SETUP_PIC_REG): Add .p2align directive.
23700 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23701 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23702 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23703 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23704 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23705 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23706 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23707 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23708 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23709 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23710 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23711 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23712 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23713 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23714 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23715 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23716 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23717 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23718 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23719 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23720 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23721 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23722 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23723 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23724 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23726 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23727 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23728 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23729 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23730 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23731 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23732 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23733 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23734 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23735 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23736 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23737 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23738 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23739 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23740 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23742 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23744 * math/tst-CMPLX.c: Include <stdio.h>.
23746 2012-01-31 Joseph Myers <joseph@codesourcery.com>
23748 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23750 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23751 * sysdeps/sparc/bits/mathdef.h: Likewise.
23753 2012-01-31 Marek Polacek <polacek@redhat.com>
23755 * libio/libio.h: Don't define _PARAMS.
23756 * locale/programs/config.h: Don't define PARAMS.
23757 * stdlib/strtol_l.c: Likewise.
23758 (__strtol_l): Remove PARAMS from the prototype.
23760 2012-01-31 Ulrich Drepper <drepper@gmail.com>
23762 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23763 names. Just use the correct names. Remove unnecessary wrapper
23765 * malloc/arena.c: Likewise.
23766 * malloc/hooks.c: Likewise.
23768 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23769 ARENA_TEST says not to. Simplify test for creation of a new arena.
23770 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23772 2012-01-30 Ulrich Drepper <drepper@gmail.com>
23774 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23776 (update_get_addr): New function.
23777 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23778 GET_ADDR_MODULE parameter.
23780 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23782 * crypt/cert.c: Remove __STDC__ conditionals.
23783 * crypt/crypt-entry.c: Likewise.
23784 * crypt/crypt_util.c: Likewise.
23785 * libio/filedoalloc.c: Likewise.
23786 * libio/fileops.c: Likewise.
23787 * libio/genops.c: Likewise.
23788 * libio/iofclose.c: Likewise.
23789 * libio/iofdopen.c: Likewise.
23790 * libio/iofopen.c: Likewise.
23791 * libio/iofopen64.c: Likewise.
23792 * libio/iogetdelim.c: Likewise.
23793 * libio/iopopen.c: Likewise.
23794 * libio/obprintf.c: Likewise.
23795 * libio/oldfileops.c: Likewise.
23796 * libio/oldiofclose.c: Likewise.
23797 * libio/oldiofdopen.c: Likewise.
23798 * libio/oldiofopen.c: Likewise.
23799 * libio/oldiopopen.c: Likewise.
23800 * libio/wfiledoalloc.c: Likewise.
23801 * libio/wgenops.c: Likewise.
23802 * locale/programs/xmalloc.c: Likewise.
23803 * misc/syslog.c: Likewise.
23804 * stdio-common/xbug.c: Likewise.
23805 * string/memchr.c: Likewise.
23806 * string/memcmp.c: Likewise.
23807 * string/memrchr.c: Likewise.
23808 * string/rawmemchr.c: Likewise.
23809 * sysdeps/posix/getcwd.c: Likewise.
23810 * time/strftime_l.c: Likewise.
23812 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23814 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23815 * config.make.in (config-cflags-sse2avx): Define.
23816 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23819 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23821 * scripts/config.guess: Update from upstream config git repository.
23822 * scripts/config.sub: Likewise.
23824 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23826 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23828 (R_TILEPRO_*, R_TILEGX_*): New macros.
23830 * scripts/firstversions.awk: Fix bug in version range handling.
23832 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23834 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23836 * include/sys/epoll.h: New file.
23837 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23840 2012-01-28 Ulrich Drepper <drepper@gmail.com>
23842 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23843 Avoid unnecessary __WORDSIZE == 64 test.
23844 (fmaxf): Use VEX format if possible.
23849 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23850 * math/math_private.h: Remove libc_fegetround* and
23852 * sysdeps/i386/configure.in: Check for -msse2avx.
23853 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23854 also if SSE2AVX is defined.
23855 Remove libc_fegetround* and libc_fesetround*.
23856 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23857 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23860 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23861 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23862 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23864 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23866 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23868 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23872 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23874 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23877 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23879 * Makeconfig (libm): Define.
23880 * elf/Makefile: Add rules to build and run tst-relsort1.
23881 * elf/tst-relsort1.c: New file.
23882 * elf/tst-relsort1mod1.c: New file.
23883 * elf/tst-relsort1mod2.c: New file.
23885 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23887 * math/s_ldexp.c: Remove __STDC__ conditionals.
23888 * math/s_ldexpf.c: Likewise.
23889 * math/s_ldexpl.c: Likewise.
23890 * math/s_nextafter.c: Likewise.
23891 * math/s_nexttowardf.c: Likewise.
23892 * math/s_significand.c: Likewise.
23893 * math/s_significandf.c: Likewise.
23894 * math/s_significandl.c: Likewise.
23895 * math/w_jnl.c: Likewise.
23896 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23897 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23898 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23899 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23900 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23902 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23903 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23904 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23905 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23908 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23915 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23916 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23917 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23918 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23919 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23920 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23921 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23922 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23923 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23924 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23925 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23927 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23928 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23929 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23930 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23931 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23932 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23933 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23934 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23935 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23936 * sysdeps/ieee754/k_standard.c: Likewise.
23937 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23946 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23998 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24003 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24011 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24012 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24016 * sysdeps/ieee754/s_matherr.c: Likewise.
24017 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24018 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24022 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24024 * crypt/md5.h: Remove __STDC__ conditionals.
24025 * libio/libioP.h: Likewise.
24026 * locale/programs/config.h: Likewise.
24027 * sysdeps/generic/sysdep.h: Likewise.
24028 * sysdeps/i386/asm-syntax.h: Likewise.
24029 * sysdeps/s390/asm-syntax.h: Likewise.
24030 * sysdeps/unix/sysdep.h: Likewise.
24031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24034 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24036 * libio/libio.h: Remove __STDC__ conditionals.
24037 * malloc/obstack.h: Likewise.
24038 * math/complex.h: Likewise.
24039 * math/math.h: Likewise.
24040 * sysdeps/generic/_G_config.h: Likewise.
24041 * sysdeps/gnu/_G_config.h: Likewise.
24042 * sysdeps/mach/hurd/_G_config.h: Likewise.
24043 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24044 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24045 * sysdeps/sparc/bits/mathdef.h: Likewise.
24047 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24050 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24051 Clean up HAS_* macros.
24052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24053 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24055 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24057 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24058 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24059 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24060 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24061 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24063 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24065 * elf/tst-unique3.cc (gets): Remove declaration.
24066 * elf/tst-unique3lib.cc (gets): Likewise.
24067 * elf/tst-unique3lib2.cc (gets): Likewise.
24068 * elf/tst-unique4.cc (gets): Likewise.
24070 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24072 * include/stdio.h: Add C++ protection. Add gets declarations and
24074 * debug/tst-chk1.c: Don't declare gets here.
24075 * stdio-common/tst-gets.c: Likewise.
24077 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24079 * posix/glob: Remove directory.
24081 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24083 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24085 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24087 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24088 of the non-standard EPFNOSUPPORT.
24090 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24092 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24093 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24094 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24096 2012-01-21 Ulrich Drepper <drepper@gmail.com>
24098 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24100 2012-01-20 Ulrich Drepper <drepper@gmail.com>
24102 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24104 * nscd/grpcache.c (cache_addgr): Likewise.
24105 * nscd/hstcache.c (cache_addhst): Likewise.
24106 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24107 * nscd/pwdcache.c (cache_addpw): Likewise.
24108 * nscd/servicescache.c (cache_addserv): Likewise.
24110 2012-01-16 Ulrich Drepper <drepper@gmail.com>
24112 * malloc/malloc.c: Various cleanups.
24113 * malloc/hooks.c: Likewise.
24115 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24116 * stdlib/bug-fmtmsg1.c: New file.
24118 * stdlib/fmtmsg.c (init): Add missing unlock.
24119 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24121 2012-01-12 Marek Polacek <polacek@redhat.com>
24123 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24126 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24128 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24129 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24130 macro to ensure uniqueness of label name.
24131 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24132 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24134 2012-01-11 Ulrich Drepper <drepper@gmail.com>
24136 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24138 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24139 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24140 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24143 2012-01-10 Ulrich Drepper <drepper@gmail.com>
24145 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24147 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24148 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24149 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24151 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24153 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24154 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24155 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24158 * math/bits/math-finite.h: Add ldexp support.
24160 2012-01-10 Marek Polacek <polacek@redhat.com>
24162 * locale/programs/localedef.h (show_archive_content): Add noreturn
24165 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24167 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24169 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24171 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24173 * io/Makefile (headers): Add bits/poll2.h.
24175 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24178 typo #include statement.
24180 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24182 * include/sys/cdefs.h: Define __attribute_alloc_size.
24183 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24184 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24185 * elf/pldd.c: Likewise.
24186 * iconv/iconv_charmap.c: Likewise.
24187 * iconv/iconvconfig.c: Likewise.
24188 * iconv/strtab.c: Likewise.
24189 * locale/programs/locale.c: Likewise.
24190 * locale/programs/localedef.h: Likewise.
24191 * locale/programs/simple-hash.c: Likewise.
24192 * nscd/nscd.h: Likewise.
24193 * nss/makedb.c: Likewise.
24194 * sysdeps/generic/ldconfig.h: Likewise.
24195 * locale/programs/localedef.c: Remove xmalloc prototype.
24196 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24198 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24200 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24203 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24205 * math/Makefile (tests): Add tst-CMPLX.
24206 * math/tst-CMPLX.c: New file.
24208 * math/complex.h (CMPLXL): Fix typo.
24210 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24211 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24213 * debug/tst-chk1.c: Add poll and ppoll tests.
24214 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24215 * include/sys/poll.h: Add hidden proto for ppoll.
24216 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24217 * sysdeps/mach/hurd/ppoll.c: Likewise.
24218 * io/ppoll.c: Likewise.
24219 * debug/poll_chk.c: New file.
24220 * debug/ppoll_chk.c: New file.
24221 * include/bits/poll2.h: New file.
24222 * io/bits/poll2.h: New file.
24225 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24227 * configure.in: static is always set to yes. Remove.
24228 * config.make.in: Don't set build-static.
24229 * Makeconfig: Remove use of build-static.
24230 * dlfcn/Makefile: Likewise.
24231 * elf/Makefile: Likewise.
24232 * math/Makefile: Likewise.
24233 * misc/Makefile: Likewise.
24234 * nptl/Makefile: Likewise.
24235 * sysdeps/mach/hurd/Makefile: Likewise.
24237 * configure.in: PWD_P is not used anymore.
24238 * config.make.in: Remove PWD_P entry.
24240 * configure.in: Remove last remnants of RANLIB.
24241 No need to check for signed size_t anymore.
24242 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24244 Remove __builtin_expect test because we require at least gcc 3.4.
24245 * aclocal.m4: Likewise.
24247 * wcsmbs/mbrtoc16.c: Implement using towc function.
24248 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24249 * wcsmbs/wcsmbsload.c: Likewise.
24250 * iconv/gconv_simple.c: Likewise.
24251 * iconv/gconv_int.h: Likewise.
24252 * iconv/gconv_builtin.h: Likewise.
24253 * iconv/iconv_prog.c: Remove CHAR16 handling.
24255 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24257 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24259 * configure.in: Remove --with-elf and --enable-bounded options.
24260 Dont set base_machine for ia64. More non-ELF conditions removed.
24261 Remove testing and setting of leading underscore information.
24262 * config.make.in (build-bounded): Set to no.
24263 * config.h.in: Remove NO_UNDERSCORES entry.
24264 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24266 * csu/start.c: Remove !NO_UNDERSCORE code.
24267 * locale/localeinfo.h: Likewise.
24268 * sysdeps/generic/machine-gmon.h: Likewise.
24269 * sysdeps/generic/sysdep.h: Likewise.
24270 * sysdeps/i386/sysdep.h: Likewise.
24271 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24272 * sysdeps/mach/sysdep.h: Likewise.
24273 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24275 * sysdeps/sh/sysdep.h: Likewise.
24276 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24277 * sysdeps/unix/i386/sysdep.S: Likewise.
24278 * sysdeps/unix/sparc/start.c: Likewise.
24279 * sysdeps/unix/sparc/sysdep.S: Likewise.
24280 * sysdeps/unix/sparc/sysdep.h: Likewise.
24281 * sysdeps/unix/start.c: Likewise.
24282 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24283 * sysdeps/x86_64/sysdep.h: Likewise.
24285 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24288 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24290 * argp/argp-fmtstream.h: Use const instead __const.
24291 * argp/argp.h: Likewise.
24292 * assert/assert.h: Likewise.
24293 * bits/fenv.h: Likewise.
24294 * bits/sched.h: Likewise.
24295 * bits/sigset.h: Likewise.
24296 * bits/sigthread.h: Likewise.
24297 * catgets/nl_types.h: Likewise.
24298 * conform/data/pthread.h-data: Likewise.
24299 * crypt/crypt-private.h: Likewise.
24300 * crypt/crypt.h: Likewise.
24301 * crypt/crypt_util.c: Likewise.
24302 * ctype/ctype.h: Likewise.
24303 * debug/execinfo.h: Likewise.
24304 * debug/mbsnrtowcs_chk.c: Likewise.
24305 * debug/mbsrtowcs_chk.c: Likewise.
24306 * debug/wcsnrtombs_chk.c: Likewise.
24307 * debug/wcsrtombs_chk.c: Likewise.
24308 * debug/wcstombs_chk.c: Likewise.
24309 * dirent/dirent.h: Likewise.
24310 * dlfcn/dlfcn.h: Likewise.
24311 * elf/neededtest4.c: Likewise.
24312 * grp/grp.h: Likewise.
24313 * gshadow/gshadow.h: Likewise.
24314 * iconv/gconv.h: Likewise.
24315 * iconv/gconv_int.h: Likewise.
24316 * iconv/gconv_simple.c: Likewise.
24317 * iconv/iconv.h: Likewise.
24318 * iconv/loop.c: Likewise.
24319 * iconv/skeleton.c: Likewise.
24320 * include/aio.h: Likewise.
24321 * include/aliases.h: Likewise.
24322 * include/argz.h: Likewise.
24323 * include/arpa/inet.h: Likewise.
24324 * include/assert.h: Likewise.
24325 * include/dirent.h: Likewise.
24326 * include/dlfcn.h: Likewise.
24327 * include/execinfo.h: Likewise.
24328 * include/fcntl.h: Likewise.
24329 * include/fenv.h: Likewise.
24330 * include/glob.h: Likewise.
24331 * include/grp.h: Likewise.
24332 * include/libintl.h: Likewise.
24333 * include/mntent.h: Likewise.
24334 * include/netdb.h: Likewise.
24335 * include/pwd.h: Likewise.
24336 * include/rpc/netdb.h: Likewise.
24337 * include/sched.h: Likewise.
24338 * include/search.h: Likewise.
24339 * include/shadow.h: Likewise.
24340 * include/signal.h: Likewise.
24341 * include/stdio.h: Likewise.
24342 * include/stdlib.h: Likewise.
24343 * include/string.h: Likewise.
24344 * include/sys/socket.h: Likewise.
24345 * include/sys/stat.h: Likewise.
24346 * include/sys/statfs.h: Likewise.
24347 * include/sys/statvfs.h: Likewise.
24348 * include/sys/syslog.h: Likewise.
24349 * include/sys/time.h: Likewise.
24350 * include/sys/uio.h: Likewise.
24351 * include/time.h: Likewise.
24352 * include/unistd.h: Likewise.
24353 * include/utmp.h: Likewise.
24354 * include/wchar.h: Likewise.
24355 * include/wctype.h: Likewise.
24356 * inet/aliases.h: Likewise.
24357 * inet/arpa/inet.h: Likewise.
24358 * inet/netinet/ether.h: Likewise.
24359 * inet/netinet/in.h: Likewise.
24360 * intl/libintl.h: Likewise.
24361 * io/bits/fcntl2.h: Likewise.
24362 * io/fcntl.h: Likewise.
24363 * io/ftw.h: Likewise.
24364 * io/sys/poll.h: Likewise.
24365 * io/sys/stat.h: Likewise.
24366 * io/sys/statfs.h: Likewise.
24367 * io/sys/statvfs.h: Likewise.
24368 * io/utime.h: Likewise.
24369 * libio/bits/stdio.h: Likewise.
24370 * libio/bits/stdio2.h: Likewise.
24371 * libio/libio.h: Likewise.
24372 * libio/libioP.h: Likewise.
24373 * libio/stdio.h: Likewise.
24374 * locale/lc-ctype.c: Likewise.
24375 * locale/locale.h: Likewise.
24376 * login/utmp.h: Likewise.
24377 * malloc/arena.c: Likewise.
24378 * malloc/malloc.c: Likewise.
24379 * malloc/malloc.h: Likewise.
24380 * malloc/mcheck.c: Likewise.
24381 * malloc/mtrace.c: Likewise.
24382 * math/bits/mathcalls.h: Likewise.
24383 * math/fenv.h: Likewise.
24384 * math/math_private.h: Likewise.
24385 * misc/bits/error.h: Likewise.
24386 * misc/bits/syslog.h: Likewise.
24387 * misc/err.h: Likewise.
24388 * misc/error.h: Likewise.
24389 * misc/fstab.h: Likewise.
24390 * misc/mntent.h: Likewise.
24391 * misc/regexp.h: Likewise.
24392 * misc/search.h: Likewise.
24393 * misc/sgtty.h: Likewise.
24394 * misc/sys/mman.h: Likewise.
24395 * misc/sys/syslog.h: Likewise.
24396 * misc/sys/uio.h: Likewise.
24397 * misc/sys/xattr.h: Likewise.
24398 * misc/ttyent.h: Likewise.
24399 * nis/rpcsvc/ypclnt.h: Likewise.
24400 * nss/nss.h: Likewise.
24401 * posix/bits/unistd.h: Likewise.
24402 * posix/fnmatch.h: Likewise.
24403 * posix/glob.h: Likewise.
24404 * posix/sched.h: Likewise.
24405 * posix/spawn.h: Likewise.
24406 * posix/sys/wait.h: Likewise.
24407 * posix/unistd.h: Likewise.
24408 * posix/wordexp.h: Likewise.
24409 * pwd/pwd.h: Likewise.
24410 * resolv/netdb.h: Likewise.
24411 * resource/sys/resource.h: Likewise.
24412 * rt/aio.h: Likewise.
24413 * rt/bits/mqueue2.h: Likewise.
24414 * rt/mqueue.h: Likewise.
24415 * shadow/shadow.h: Likewise.
24416 * signal/signal.h: Likewise.
24417 * socket/send.c: Likewise.
24418 * socket/sendto.c: Likewise.
24419 * socket/sys/socket.h: Likewise.
24420 * stdio-common/printf.h: Likewise.
24421 * stdlib/bits/stdlib.h: Likewise.
24422 * stdlib/fmtmsg.h: Likewise.
24423 * stdlib/monetary.h: Likewise.
24424 * stdlib/stdlib.h: Likewise.
24425 * stdlib/ucontext.h: Likewise.
24426 * streams/stropts.h: Likewise.
24427 * string/argz.h: Likewise.
24428 * string/bits/string2.h: Likewise.
24429 * string/string.h: Likewise.
24430 * string/strings.h: Likewise.
24431 * sunrpc/rpc/auth.h: Likewise.
24432 * sunrpc/rpc/auth_des.h: Likewise.
24433 * sunrpc/rpc/clnt.h: Likewise.
24434 * sunrpc/rpc/netdb.h: Likewise.
24435 * sunrpc/rpc/pmap_clnt.h: Likewise.
24436 * sunrpc/rpc/xdr.h: Likewise.
24437 * sysdeps/generic/inttypes.h: Likewise.
24438 * sysdeps/generic/net/if.h: Likewise.
24439 * sysdeps/generic/sys/swap.h: Likewise.
24440 * sysdeps/gnu/net/if.h: Likewise.
24441 * sysdeps/gnu/utmpx.h: Likewise.
24442 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24443 * sysdeps/i386/i486/bits/string.h: Likewise.
24444 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24445 * sysdeps/s390/bits/string.h: Likewise.
24446 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24447 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24448 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24449 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24450 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24451 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24452 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24453 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24454 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24455 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24456 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24457 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24458 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24459 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24460 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24461 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24462 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24466 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24467 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24468 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24469 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24470 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24471 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24472 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24474 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24475 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24476 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24477 * sysvipc/sys/ipc.h: Likewise.
24478 * sysvipc/sys/msg.h: Likewise.
24479 * sysvipc/sys/sem.h: Likewise.
24480 * sysvipc/sys/shm.h: Likewise.
24481 * termios/termios.h: Likewise.
24482 * time/sys/time.h: Likewise.
24483 * time/time.h: Likewise.
24484 * wcsmbs/bits/wchar2.h: Likewise.
24485 * wcsmbs/uchar.h: Likewise.
24486 * wcsmbs/wchar.h: Likewise.
24487 * wctype/wctype.h: Likewise.
24490 * Makeconfig: Remove all but ELF support including AIX support.
24491 * Makerules: Likewise.
24492 * config.h.in: Likewise.
24493 * config.make.in: Likewise.
24494 * configure: Likewise.
24495 * configure.in: Likewise.
24496 * csu/Makefile: Likewise.
24497 * csu/version.c: Likewise.
24498 * debug/Makefile: Likewise.
24499 * dlfcn/Makefile: Likewise.
24500 * elf/Makefile: Likewise.
24501 * extra-lib.mk: Likewise.
24502 * iconv/Makefile: Likewise.
24503 * include/libc-symbols.h: Likewise.
24504 * include/shlib-compat.h: Likewise.
24505 * resolv/Makefile: Likewise.
24506 * resolv/res_libc.c: Likewise.
24507 * rt/Makefile: Likewise.
24508 * sysdeps/i386/asm-syntax.h: Likewise.
24509 * sysdeps/i386/sysdep.h: Likewise.
24510 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24511 * sysdeps/mach/sysdep.h: Likewise.
24512 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24513 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24514 * sysdeps/s390/asm-syntax.h: Likewise.
24515 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24516 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24517 * sysdeps/sh/sysdep.h: Likewise.
24518 * sysdeps/unix/sparc/sysdep.h: Likewise.
24519 * sysdeps/wordsize-32/divdi3.c: Likewise.
24520 * sysdeps/x86_64/sysdep.h: Likewise.
24522 * argp/Versions: Remove _argp_unlock_xxx.
24525 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24526 * abilist/libBrokenLocale.abilist: Likewise.
24527 * abilist/libanl.abilist: Likewise.
24528 * abilist/libc.abilist: Likewise.
24529 * abilist/libcrypt.abilist: Likewise.
24530 * abilist/libdl.abilist: Likewise.
24531 * abilist/libm.abilist: Likewise.
24532 * abilist/libnsl.abilist: Likewise.
24533 * abilist/libpthread.abilist: Likewise.
24534 * abilist/libresolv.abilist: Likewise.
24535 * abilist/librt.abilist: Likewise.
24536 * abilist/libthread_db.abilist: Likewise.
24537 * abilist/libutil.abilist: Likewise.
24538 * abilist/libnss_db.abilist: New file.
24540 * scripts/abilist.awk: Add support for indirect functions.
24542 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24544 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24546 * shlib-versions: Remove entries for ports architectures.
24548 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24550 * elf/stackguard-macros.h: Remove support for IA-64.
24551 * elf/tst-auditmod1.c: Likewise.
24552 * sysdeps/generic/ldsodefs.h: Likewise.
24554 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24555 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24559 * configure.in: Remove --enable-omitfp support.
24561 * config.make.in: Likewise.
24562 * Makeconfig: Likewise.
24563 * manual/install.texi: Likewise.
24565 In case anyone cares, the IA-64 architecture could move to ports.
24566 * sysdeps/ia64/*: Removed.
24567 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24568 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24571 * configure.in: Remove entries for unsupported architectures.
24574 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24575 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24577 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24578 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24579 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24580 fall back to using wcrtomb.
24581 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24582 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24584 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24585 * wcsmbs/tst-c16c32-1.c: New file.
24587 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24590 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24592 * elf/tst-unique3.cc: Add explicit declaration of gets.
24593 * elf/tst-unique3lib.cc: Likewise.
24594 * elf/tst-unique3lib2.cc: Likewise.
24595 * elf/tst-unique4.cc: Likewise.
24597 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24599 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24602 * assert/assert.h (static_assert): Don't define for C++.
24603 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24604 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24606 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24608 * iconv/loop.c (single loop): Fix assertion in storing of
24611 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24613 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24615 * posix/getconf.c: Update copyright year.
24616 * nss/getent.c: Likewise.
24617 * nss/makedb.c: Likewise.
24618 * iconv/iconvconfig.c: Likewise.
24619 * iconv/iconv_prog.c: Likewise.
24620 * elf/ldconfig.c: Likewise.
24621 * elf/pldd.c: Likewise.
24622 * elf/sotruss.ksh: Likewise.
24623 * catgets/gencat.c: Likewise.
24624 * csu/version.c: Likewise.
24625 * elf/ldd.bash.in: Likewise.
24626 * elf/sprof.c (print_version): Likewise.
24627 * locale/programs/locale.c: Likewise.
24628 * locale/programs/localedef.c: Likewise.
24629 * login/programs/pt_chown.c: Likewise.
24630 * nscd/nscd.c (print_version): Likewise.
24631 * debug/xtrace.sh: Likewise.
24632 * malloc/memusage.sh: Likewise.
24633 * malloc/mtrace.pl: Likewise.
24634 * debug/catchsegv.sh: Likewise.
24636 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24638 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24641 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24644 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24645 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24647 * iconv/gconv_int.h: Likewise.
24648 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24649 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24650 from libc for GLIBC_2.16.
24651 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24652 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24653 * wcsmbs/uchar.h: Really define mbstate_t.
24654 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24655 * wcsmbs/c16rtomb.c: New file.
24656 * wcsmbs/mbrtoc16.c: New file.
24657 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24658 for C/POSIX locale.
24659 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24660 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24662 * wcsmbs/wchar.h: Add missing __restrict.
24664 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24667 * time/Makefile (routines): Add timespec_get.
24668 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24669 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24670 timespec for ISO C11.
24671 * time/timespec_get.c: New file.
24672 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24673 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24676 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24677 * stdlib/stdlib.h: Declare aligned_alloc.
24678 * Versions.def: Add GLIBC_2.16 for libc.
24679 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24682 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24685 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24689 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24692 * assert/assert.h (static_assert): Define.
24694 * version.h: Update for 2.16 development version.
24697 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24700 * version.h (RELEASE): Bump for 2.15 release.
24701 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24703 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24704 Patch by Marek Polacek <mpolacek@redhat.com>.
24706 * bits/byteswap.h: Protect long long constants with __extension__.
24707 * sysdeps/i386/bits/byteswap.h: Likewise.
24708 * sysdeps/ia64/bits/byteswap.h: Likewise.
24709 * sysdeps/s390/bits/byteswap.h: Likewise.
24710 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24712 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24716 destination buffer.
24717 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24719 2011-12-23 Marek Polacek <polacek@redhat.com>
24721 * elf/dl-addr.c (determine_info): Add inline keyword.
24722 * elf/tst-auditmod4b.c (check_avx): Likewise.
24723 * elf/tst-auditmod6b.c (check_avx): Likewise.
24724 * elf/tst-auditmod6c.c (check_avx): Likewise.
24725 * elf/tst-auditmod7b.c (check_avx): Likewise.
24727 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24729 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24732 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24735 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24736 processing for last bytes.
24738 2011-08-06 Bruno Haible <bruno@clisp.org>
24741 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24742 U+0385, not to U+1FEE.
24745 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24746 entry for U+00A5 U+0301.
24748 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24751 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24752 buffer for the output is too small.
24754 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24758 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24759 SSE flags if possible.
24761 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24765 processing for last bytes.
24767 2011-12-22 Joseph Myers <joseph@codesourcery.com>
24769 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24770 (syscall-list-default-options, syscall-list-default-condition)
24771 (syscall-list-includes): Define.
24772 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24773 list of ABIs and options and #if conditions for each ABI. Do not
24774 handle common syscalls between ABIs specially.
24775 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24777 (syscall-list-variants, syscall-list-32bit-options)
24778 (syscall-list-32bit-condition, syscall-list-64bit-options)
24779 (syscall-list-64bit-condition): Define.
24780 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24781 (syscall-list-variants, syscall-list-32bit-options)
24782 (syscall-list-32bit-condition, syscall-list-64bit-options)
24783 (syscall-list-64bit-condition): Define.
24784 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24786 (syscall-list-variants, syscall-list-32bit-options)
24787 (syscall-list-32bit-condition, syscall-list-64bit-options)
24788 (syscall-list-64bit-condition): Define.
24789 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24791 (syscall-list-variants, syscall-list-32bit-options)
24792 (syscall-list-32bit-condition, syscall-list-64bit-options)
24793 (syscall-list-64bit-condition): Define.
24795 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24797 * locale/iso-639.def: Add brx entry.
24800 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24801 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24803 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24804 __feraiseexcept_renamed.
24806 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24809 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24810 EPOLLET with unsigned values.
24811 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24814 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24815 to large cancellation.
24816 * math/s_cacoshf.c: Likewise.
24817 * math/s_cacoshl.c: Likewise.
24819 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24823 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24824 * math/s_cacoshf.c: Likewise.
24825 * math/s_cacoshl.c: Likewise.
24827 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24830 * iconv/gconv.h: Define __GCONV_SWAP.
24831 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24832 * iconvdata/utf-16.c: Likewise.
24833 * iconvdata/utf-32.c: Likewise.
24835 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24839 numerator after shifting it by one limb.
24841 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24843 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24844 under [__USE_EXTERN_INLINES].
24846 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24849 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24851 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24853 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24854 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24856 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24857 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24858 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24859 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24860 for strncasecmp/strncasecmp_l compilation.
24861 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24862 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24864 2011-12-08 Marek Polacek <mpolacek@redhat.com>
24867 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24870 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24873 * time/tzfile.c (__tzfile_read): Check values from file header.
24875 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24877 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24878 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24879 * powerpc/powerpc32/dl-start.S: Likewise.
24880 * powerpc/powerpc32/elf/start.S: Likewise.
24881 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24882 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24883 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24884 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24885 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24886 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24887 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24888 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24889 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24890 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24891 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24892 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24893 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24894 * powerpc/powerpc32/memset.S: Likewise.
24895 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24896 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24897 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24898 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24899 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24900 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24901 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24902 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24903 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24904 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24905 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24906 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24907 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24909 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24911 * math/libm-test.inc: Added more nearbyint tests.
24912 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24917 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24919 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24922 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24924 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24925 Add wcscpy-ssse3 wcscpy-c.
24926 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24927 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24928 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24929 * sysdeps/x86_64/wcschr.S: New file.
24930 * sysdeps/x86_64/wcsrchr.S: New file.
24931 * string/test-strcmp.c: Remove checking of wcscmp function for
24933 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24934 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24935 wcsrchr-sse2 wcsrchr-c.
24936 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24937 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24938 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24939 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24940 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24941 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24942 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24943 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24944 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24945 * wcsmbc/wcschr.c (WCSCHR): New macro.
24947 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24949 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24950 * wcsmbs/test-wcsrchr.c: New file.
24951 * string/test-strrchr.c: Add wcsrchr support.
24953 * wcsmbs/test-wcscpy.c: New file.
24954 * string/test-strcpy.c: Add wcscpy support.
24957 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24959 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24962 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24965 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24967 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24969 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24970 Minor optimizations.
24972 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24973 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24974 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24976 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24978 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24979 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24980 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24981 for gcc to avoid warnings.
24982 * inet/Makefile (tests): Add tst-checks.
24983 * inet/tst-checks.c: New file.
24985 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24988 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24991 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24992 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24994 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24996 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24998 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25001 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25003 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25005 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25006 conditional on GCC version.
25007 (__arch_compare_and_exchange_val_8_acq)
25008 (__arch_compare_and_exchange_val_16_acq)
25009 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25010 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25011 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25013 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25015 * sysdeps/sh/backtrace.c: New file.
25017 2011-12-02 Andreas Schwab <schwab@redhat.com>
25019 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25022 2011-12-01 Andreas Schwab <schwab@redhat.com>
25024 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25025 falling back to utime.
25027 2011-11-30 Andreas Schwab <schwab@redhat.com>
25029 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25030 expectations for float.
25032 2011-11-29 Andreas Schwab <schwab@redhat.com>
25034 * locale/weight.h (findidx): Add parameter len.
25035 * locale/weightwc.h (findidx): Likewise.
25036 * posix/fnmatch_loop.c (FCT): Adjust caller.
25037 * posix/regcomp.c (build_equiv_class): Likewise.
25038 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25039 * posix/regexec.c (check_node_accept_bytes): Likewise.
25040 * string/strcoll_l.c (STRCOLL): Likewise.
25041 * string/strxfrm_l.c (STRXFRM): Likewise.
25043 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25045 * Makefile.in: Remove CVSOPT handling.
25046 * configure.in: Remove use of AC_REVISION.
25047 * iconvdata/Makefile (distribute): No need to filter out CVS.
25048 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25051 2011-11-16 Andreas Schwab <schwab@redhat.com>
25053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25054 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25055 [USE_AS_STRNCASECMP_L]: Likewise.
25056 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25057 NO_TLS_DIRECT_SEG_REFS.
25058 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25059 Fix argument offsets for non-PIC.
25060 [USE_AS_STRNCASECMP_L]: Likewise.
25061 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25062 NO_TLS_DIRECT_SEG_REFS.
25064 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25066 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25068 * locale/loadlocale.c (_nl_load_locale): Likewise.
25070 2011-11-15 Andreas Schwab <schwab@redhat.com>
25072 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25073 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25074 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25075 (SYSCALL_GETTIME): Set errno on error.
25077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25078 count references to noai6ai_cached.
25080 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25082 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25084 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25085 FD_CLOEXEC for /proc/self/maps.
25087 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25088 FD_CLOEXEC for /proc/meminfo.
25090 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25093 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25094 FD_CLOEXEC for given file.
25096 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25098 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25099 FD_CLOEXEC for /etc/hosts.
25100 (_gethtent): Likewise.
25102 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25104 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25105 cancellation and set FD_CLOEXEC for /etc/netgroup.
25107 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25108 reading /etc/publickey.
25110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25111 allow cancellation when reading /etc/group.
25113 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25115 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25117 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25118 when using data file.
25120 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25122 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25123 (write_nis_obj): Use "c" and "e" in fopen.
25125 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25127 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25129 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25131 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25133 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25136 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25138 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25140 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25142 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25143 file parsing and set FD_CLOEXEC.
25145 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25147 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25149 2011-11-14 Andreas Schwab <schwab@redhat.com>
25151 * malloc/arena.c (arena_get2): Don't call reused_arena when
25152 _int_new_arena failed.
25154 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25156 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25157 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25158 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25159 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25160 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25161 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25162 to compile strcasecmp and strncasecmp.
25163 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25164 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25168 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25170 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25171 locale-defines.sym to gen-as-const-headers.
25172 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25173 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25175 to compile strcasecmp and strncasecmp.
25176 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25177 strcasecmp_l and strncasecmp_l.
25178 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25179 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25180 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25181 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25182 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25183 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25184 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25185 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25186 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25187 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25188 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25190 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25192 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25193 result of SYSDEP_GETTIME_CPU to retval.
25194 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25195 parameter list to macro. Remove trailing semicolon. Adjust users.
25197 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25200 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25202 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25204 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25205 from unused variable.
25207 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25209 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25212 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25215 * sunrpc/rpc_prot.c (rejected): Fix case value.
25217 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25218 unsigned long long int to avoid warnings in shift.
25220 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25222 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25225 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25226 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25227 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25229 * nis/nis_table.c (nis_list): Use variable of correct type for
25230 result of __follow_path call.
25232 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25234 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25235 of math functions ceil, trunc, floor, round, and sqrt, when
25236 avaliable on the platform.
25237 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25240 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25241 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25243 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25245 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25246 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25248 2011-11-11 Roland McGrath <roland@hack.frob.com>
25250 * include/unistd.h: Fix __readlink return type.
25251 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25253 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25255 * stdlib/ucontext.h: Undo last change for makecontext.
25257 2011-11-11 Andreas Schwab <schwab@redhat.com>
25259 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25261 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25262 * setjmp/setjmp.h: Mark functions as non-leaf.
25263 * setjmp/bits/setjmp2.h: Likewise.
25264 * stdlib/ucontext.h: Likewise.
25266 2011-11-10 Andreas Schwab <schwab@redhat.com>
25268 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25269 (reused_arena): Don't check arena limit.
25270 (arena_get2): Atomically check arena limit.
25272 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25274 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25275 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25280 2011-11-07 Andreas Schwab <schwab@redhat.com>
25282 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25283 handler when locking.
25285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25286 Fix size of allocated buffer.
25288 2011-11-04 Andreas Schwab <schwab@redhat.com>
25291 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25292 declarations for long double functions.
25293 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25295 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25297 2011-11-03 Andreas Schwab <schwab@redhat.com>
25299 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25302 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25305 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25307 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25309 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25311 * include/alloca.h (stackinfo_alloca_round): Define.
25312 (extend_alloca): Use it.
25313 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25314 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25317 * scripts/check-local-headers.sh: Ignore libaudit.h.
25319 * nscd/Makefile (extra-objs): Make recursively expanded.
25321 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25323 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25324 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25326 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25327 * posix/tst-rfc3484-2.c: Likewise.
25328 * posix/tst-rfc3484-3.c: Likewise.
25330 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25332 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25334 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25335 process_vm_writev from libc using GLIBC_2.15 version.
25337 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25339 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25341 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25344 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25347 * nss/getent.c (initgroups_keys): Show error message in case no group
25350 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25351 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25352 __bump_nl_timestamp.
25353 * nscd/connections (nscd_init): When host database is served open
25354 netlink socket and request notification about configuration changes.
25355 (main_loop_poll): Track netlink file descriptor and bump timestamp
25356 in case data becomes available.
25357 (main_loop_epoll): Likewise.
25358 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25359 (database_pers_head): Add extra_data fileds.
25360 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25361 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25362 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25364 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25365 in6ai data, call __free_in6ai.
25366 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25367 Add -DHAVE_NETLINK.
25368 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25369 interface information. Reuse previous data if netlink timestamp
25371 (__bump_nl_timestamp): New function.
25372 (__free_in6ai): New function.
25374 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25376 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25377 close_not_cancel_no_status here.
25378 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25380 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25383 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25386 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25387 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25388 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25390 2011-07-03 Andreas Jaeger <aj@suse.de>
25393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25394 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25395 * math/libm-test.inc (sin_test): Add test case.
25397 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25400 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25401 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25403 * elf/chroot_canon.c (chroot_canon): Cleanups.
25405 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25408 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25409 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25411 * string/test-strchr.c: Make usable for strchrnul testing.
25412 * string/test-strchrnul.c: New file.
25413 * string/Makefile (strop-tests): Add strchrnul.
25415 * po/it.po: Update from translation team.
25416 * po/es.po: Likewise.
25418 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25420 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25421 the three constants needed as parameters. Drop the others.
25422 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25423 __m128i_strloadu_tolower.
25424 Create and initialize variable zero and use it in all the places
25425 where _mm_setzero_si128 was used.
25427 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25428 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25429 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25430 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25432 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25433 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25434 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25435 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25436 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25437 __mpranred, __mptan.
25438 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25439 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25440 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25441 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25442 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25443 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25445 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25446 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25448 2011-10-28 Andreas Schwab <schwab@redhat.com>
25450 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25451 redefine if SHARED.
25452 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25455 wide char related routines to wcsmbs subdir.
25457 2011-10-27 Andreas Schwab <schwab@redhat.com>
25460 * misc/sys/cdefs.h (__THROWNL): Define.
25461 * posix/unistd.h: Use __THREADNL instead of __THREAD
25462 for memory synchronization functions.
25464 2011-10-26 Roland McGrath <roland@hack.frob.com>
25467 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25469 * manual/stdio.texi (Obstack Streams): Node removed.
25471 2011-10-26 Andreas Schwab <schwab@redhat.com>
25473 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25474 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25475 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25477 * math/math_private.h (math_force_eval): Allow non-addressable
25479 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25481 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25483 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25484 file is not needed.
25486 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25487 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25489 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25490 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25493 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25495 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25496 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25497 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25498 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25499 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25500 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25501 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25502 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25503 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25504 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25505 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25506 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25508 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25509 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25510 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25511 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25512 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25513 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25515 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25516 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25518 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25519 place. Use VEX encoding when compiling for AVX.
25521 2011-10-25 Andreas Schwab <schwab@redhat.com>
25523 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25524 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25526 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25528 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25530 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25531 useless if() expression.
25532 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25541 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25542 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25544 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25545 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25552 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25554 2011-10-25 Andreas Schwab <schwab@redhat.com>
25556 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25558 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25560 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25562 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25563 .text section. Avoid duplicate constants.
25564 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25572 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25574 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25575 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25576 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25577 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25579 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25581 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25587 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25588 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25589 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25590 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25591 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25593 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25594 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25595 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25596 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25597 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25598 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25599 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25600 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25601 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25602 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25603 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25604 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25605 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25606 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25607 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25608 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25610 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25612 * sysdeps/x86_64/dla.h: Move to ...
25613 * sysdeps/x86_64/fpu/dla.h: ...here.
25614 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25615 situations. Use __builtin_fma only for gcc 4.6 and up.
25617 * config.make.in: Add have-mfma4 entry.
25618 * configure.in: Substitute libc_cv_cc_fma4.
25619 * math/Makefile (dbl-only-routines): Add sincostab.
25620 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25621 Use __sincostab not sincos.
25622 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25624 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25629 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25630 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25631 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25632 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25634 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25635 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25637 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25638 define aliases when function name is a macro.
25639 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25640 sysdeps/ieee754/dbl-64/sincos.tbl.
25641 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25642 fma4-enabled routines.
25643 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25644 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25645 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25646 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25648 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25649 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25651 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25652 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25653 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25654 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25655 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25656 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25657 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25658 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25659 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25660 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25661 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25662 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25663 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25664 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25666 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25667 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25668 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25669 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25670 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25672 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25674 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25685 2011-10-24 Andreas Schwab <schwab@redhat.com>
25687 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25689 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25691 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25693 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25695 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25697 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25698 Remove unused variable magic_bits.
25699 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25701 * string/strnlen.c: Define and use STRNLEN macro.
25702 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25703 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25704 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25705 * wcsmbs/wcslen.c: Define and use WCSLEN.
25706 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25707 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25708 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25709 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25710 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25711 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25712 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25714 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25717 strnlen-sse2-no-bsf.
25718 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25720 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25721 Add strnlen support.
25722 (USE_AS_STRNLEN): New macro.
25723 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25724 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25725 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25726 * sysdeps/x86_64/wcslen.S: New file.
25728 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25730 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25731 XMM-moves are used for copying on small sizes.
25733 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25735 * wcsmbs/Makefile (strop-tests): Add wcschr.
25736 * wcsmbs/test-wcschr.c: New file.
25737 * string/test-strchr.c: Update.
25738 Add wcschr support.
25741 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25743 * wcsmbs/Makefile (strop-tests): Add wcslen.
25744 * wcsmbs/test-wcslen.c: New file.
25745 * string/test-strlen.c: Update.
25746 Add wcslen support.
25749 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25751 * po/it.po: Update from translation team.
25753 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25755 * sysdeps/x86_64/wcscmp.S: Update.
25756 Fix wrong comparison semantics.
25757 wcscmp shall use signed comparison not unsigned.
25758 Don't use substraction to avoid overflow bug.
25759 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25760 * wcsmbc/wcscmp.c: Likewise.
25761 * string/test-strcmp.c: Likewise.
25762 Add new tests to check cases with negative values.
25764 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25766 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25767 * sysdeps/x86_64/dla.h: ...here. New file.
25768 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25773 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25778 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25781 __ynl_finite aliases.
25783 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25787 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25789 [DLA_FMA] (EMULV): Use DLA_FMA.
25790 [DLA_FMA] (MUL12): Use EMULV.
25791 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25792 that are not needed.
25793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25798 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25799 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25801 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25803 * math/s_nan.c: Undef __nan.
25804 * math/s_nanf.c: Undef __nanf.
25805 * math/s_nanl.c: Undef __nanl.
25806 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25809 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25811 * math/s_catan.c: Add branch predictions.
25812 * math/s_catanf.c: Likewise.
25813 * math/s_catanh.c: Likewise.
25814 * math/s_catanhf.c: Likewise.
25815 * math/s_catanhl.c: Likewise.
25816 * math/s_catanl.c: Likewise.
25817 * math/s_cexp.c: Likewise.
25818 * math/s_cexpf.c: Likewise.
25819 * math/s_cexpl.c: Likewise.
25820 * math/s_clog.c: Likewise.
25821 * math/s_clog10.c: Likewise.
25822 * math/s_clog10f.c: Likewise.
25823 * math/s_clog10l.c: Likewise.
25824 * math/s_clogf.c: Likewise.
25825 * math/s_clogl.c: Likewise.
25826 * math/s_csqrt.c: Likewise.
25827 * math/s_csqrtf.c: Likewise.
25828 * math/s_csqrtl.c: Likewise.
25829 * math/s_ctanf.c: Likewise.
25830 * math/s_ctanh.c: Likewise.
25831 * math/s_ctanhf.c: Likewise.
25832 * math/s_ctanhl.c: Likewise.
25833 * math/s_ctanl.c: Likewise.
25835 * math/math_private.h: Define __nan, __nanf, __nanl.
25836 * math/s_cacosh.c: Include <math_private.h>.
25837 * math/s_cacoshl.c: Likewise.
25838 * math/s_casinh.c: Likewise.
25839 * math/s_casinhf.c: Likewise.
25840 * math/s_casinhl.c: Likewise.
25841 * math/s_ccos.c: Rely entire on ccosh.
25842 * math/s_ccosf.c: Rely entire on ccoshf.
25843 * math/s_ccosl.c: Rely entirely on ccoshl.
25844 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25845 Remove tests for FE_INVALID.
25846 * math/s_ccoshf.c: Likewise.
25847 * math/s_ccoshl.c: Likewise.
25848 * math/s_csin.c: Likewise.
25849 * math/s_csinf.c: Likewise.
25850 * math/s_csinh.c Likewise.
25851 * math/s_csinhf.c: Likewise.
25852 * math/s_csinhl.c: Likewise.
25853 * math/s_csinl.c: Likewise.
25854 * math/s_ctan.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25856 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25857 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25859 2011-10-21 Ulrich Drepper <drepper@gmail.com>
25861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25862 compilation problems.
25864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25867 2011-10-20 Ulrich Drepper <drepper@gmail.com>
25869 * sysdeps/i386/configure.in: Test for -mfma4 option.
25870 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25871 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25872 COMMON_CPUID_INDEX_80000001.
25873 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25874 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25875 use it if FMA3 is not supported.
25876 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25878 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25879 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25881 2011-10-20 Andreas Schwab <schwab@redhat.com>
25884 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25885 it would create a cycle with a link time dependency.
25887 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25889 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25891 * string/Makefile (strop-tests): Add rawmemchr.
25892 * string/test-rawmemchr.c: New file.
25894 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25896 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25897 when compiling str{,n}casecmp and when AVX is available. Hook up
25898 new optimized code in initializers.
25900 2011-10-19 Andreas Schwab <schwab@redhat.com>
25902 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25903 __feraiseexcept instead of feraiseexcept.
25905 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25907 * math/math_private.h: Define defaults for libc_fetestexcept and
25909 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25910 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25911 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25912 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25913 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25914 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25915 libc_fetestexcept and libc_feupdateenv.
25917 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25918 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25919 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25920 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25921 libc_feholdexcept_setround.
25923 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25924 Add s_nearbyint-c and s_nearbyintf-c.
25925 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25926 nearbyintf inlines.
25927 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25928 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25929 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25930 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25932 * math/math_private.h: Define defaults for libc_fegetround,
25933 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25934 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25935 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25937 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25938 standard functions.
25939 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25940 Remove comments and hacks for old compiler versions.
25941 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25942 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25943 libc_feholdexceptl.
25945 2011-10-18 Andreas Schwab <schwab@redhat.com>
25947 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25948 (__feraiseexcept_renamed): Add __NTH.
25949 (feraiseexcept): Add __NTH. Rename local variables to fix
25950 namespace violations.
25952 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25954 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25956 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25958 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25959 recently added interfaces.
25960 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25962 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25963 about macro parameter expansion.
25965 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25966 __NO_MATH_INLINES is defined. Cleanups.
25968 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25969 and __floorf is target has SSE4.1.
25970 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25971 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25972 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25973 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25975 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25977 (floorf): Likewise.
25979 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25981 2011-10-17 Andreas Schwab <schwab@redhat.com>
25983 * misc/sys/cdefs.h: Fix last change.
25985 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25988 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25990 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25992 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25994 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25995 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25996 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25997 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25998 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26000 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26001 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26002 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26003 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26004 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26005 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26006 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26007 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26008 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26009 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26010 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26011 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26012 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26013 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26015 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26016 ceil, ceilf, floor, floorf.
26018 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26019 Perform IRELATIVE relocations last.
26021 * elf/do-rel.h: Add another parameter nrelative, replacing the
26022 local variable with the same name. Change name of the function
26023 to end in Rel or Rela (uppercase).
26024 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26025 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26026 elf_dynamic_do_##reloc function.
26028 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26030 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26031 is sufficient, at least on modern CPUs.
26033 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26035 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26036 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26038 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26040 * math/bits/math-finite.h: Add entries for exp.
26041 * math/e_expl.c: Add __*_finite alias.
26042 * sysdeps/i386/fpu/e_exp.S: Likewise.
26043 * sysdeps/i386/fpu/e_expf.S: Likewise.
26044 * sysdeps/i386/fpu/e_expl.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26046 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26047 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26050 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26051 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26053 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26054 is sufficient, at least on modern CPUs.
26056 * ctype/ctype-info.c (__ctype_init): Define.
26057 * include/ctype.h (__ctype_init): Declare.
26058 (__ctype_b_loc): The variable is always initialized.
26059 (__ctype_toupper_loc): Likewise.
26060 (__ctype_tolower_loc): Likewise.
26061 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26062 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26064 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26066 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26068 * configure.in: Also look in $cxxmachine/include for C++ system
26071 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26073 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26074 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26075 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26076 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26077 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26078 (USE_AS_WMEMCMP): New macro.
26080 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26081 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26082 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26083 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26085 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26086 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26087 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26088 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26089 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26090 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26091 (USE_AS_WMEMCMP): New macro.
26092 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26093 * sysdeps/string/test-memcmp.c: Update.
26094 Fix simple_wmemcmp.
26096 * wcsmbs/wmemcmp.c: Update.
26097 (WMEMCMP): New macro.
26100 2011-10-12 Andreas Jaeger <aj@suse.de>
26103 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26105 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26107 * libio/iofwide.c (do_length): Avoid warning.
26109 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26111 2011-10-14 Ulrich Drepper <drepper@gmail.com>
26113 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26115 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26116 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26117 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26118 * sysdeps/i386/i686/fpu/e_log.S: New file.
26119 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26120 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26122 * ctype/ctype.h: Add support for inlined isXXX functions when
26123 compiling C++ code.
26125 2011-10-14 Andreas Schwab <schwab@redhat.com>
26127 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26129 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26131 2011-10-13 Roland McGrath <roland@hack.frob.com>
26134 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26136 2011-10-13 Andreas Schwab <schwab@redhat.com>
26138 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26139 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26142 * sysdeps/x86_64/memrchr.S: Check for zero size.
26144 * string/stratcliff.c: Add memrchr tests.
26146 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26149 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26150 rawmemchr-sse2 rawmemchr-sse2-bsf.
26151 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26152 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26153 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26154 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26155 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26156 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26157 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26158 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26159 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26160 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26161 * string/memrchr.c (MEMRCHR): New macro.
26163 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26165 Add integration with gcc's -ffinite-math-only and optimize wrapper
26167 * Versions.def: Define GLIBC_2.15 version for libm.
26168 * math/Makefile (headers): Add bits/math-finite.h.
26169 * math/bits/math-finite.h: New file.
26170 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26171 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26172 * math/e_acoshl.c: Add __*_finite alias.
26173 * math/e_acosl.c: Likewise.
26174 * math/e_asinl.c: Likewise.
26175 * math/e_atan2l.c: Likewise.
26176 * math/e_atanhl.c: Likewise.
26177 * math/e_coshl.c: Likewise.
26178 * math/e_exp10.c: Likewise.
26179 * math/e_exp10f.c: Likewise.
26180 * math/e_exp10l.c: Likewise.
26181 * math/e_exp2l.c: Likewise.
26182 * math/e_fmodl.c: Likewise.
26183 * math/e_gammal_r.c: Likewise.
26184 * math/e_hypotl.c: Likewise.
26185 * math/e_j0l.c: Likewise.
26186 * math/e_j1l.c: Likewise.
26187 * math/e_jnl.c: Likewise.
26188 * math/e_lgammal_r.c: Likewise.
26189 * math/e_log10l.c: Likewise.
26190 * math/e_log2l.c: Likewise.
26191 * math/e_logl.c: Likewise.
26192 * math/e_powl.c: Likewise.
26193 * math/e_sinhl.c: Likewise.
26194 * math/e_sqrtl.c: Likewise.
26195 * math/e_scalb.c: Completely rewritten and optimized.
26196 * math/e_scalbf.c: Likewise.
26197 * math/e_scalbl.c: Likewise.
26198 * math/w_acos.c: Likewise.
26199 * math/w_acosf.c: Likewise.
26200 * math/w_acosl.c: Likewise.
26201 * math/w_acosh.c: Likewise.
26202 * math/w_acoshf.c: Likewise.
26203 * math/w_acoshl.c: Likewise.
26204 * math/w_asin.c: Likewise.
26205 * math/w_asinf.c: Likewise.
26206 * math/w_asinl.c: Likewise.
26207 * math/w_atan2.c: Likewise.
26208 * math/w_atan2f.c: Likewise.
26209 * math/w_atan2l.c: Likewise.
26210 * math/w_atanh.c: Likewise.
26211 * math/w_atanhf.c: Likewise.
26212 * math/w_atanhl.c: Likewise.
26213 * math/w_exp10.c: Likewise.
26214 * math/w_exp10f.c: Likewise.
26215 * math/w_exp10l.c: Likewise.
26216 * math/w_fmod.c: Likewise.
26217 * math/w_fmodf.c: Likewise.
26218 * math/w_fmodl.c: Likewise.
26219 * math/w_j0.c: Likewise.
26220 * math/w_j0f.c: Likewise.
26221 * math/w_j0l.c: Likewise.
26222 * math/w_j1.c: Likewise.
26223 * math/w_j1f.c: Likewise.
26224 * math/w_j1l.c: Likewise.
26225 * math/w_jn.c: Likewise.
26226 * math/w_jnf.c: Likewise.
26227 * math/w_log.c: Likewise.
26228 * math/w_logf.c: Likewise.
26229 * math/w_logl.c: Likewise.
26230 * math/w_log10.c: Likewise.
26231 * math/w_log10f.c: Likewise.
26232 * math/w_log10l.c: Likewise.
26233 * math/w_log2.c: Likewise.
26234 * math/w_log2f.c: Likewise.
26235 * math/w_log2l.c: Likewise.
26236 * math/w_pow.c: Likewise.
26237 * math/w_powf.c: Likewise.
26238 * math/w_powl.c: Likewise.
26239 * math/w_remainder.c: Likewise.
26240 * math/w_remainderf.c: Likewise.
26241 * math/w_remainderl.c: Likewise.
26242 * math/w_scalb.c: Likewise.
26243 * math/w_scalbf.c: Likewise.
26244 * math/w_scalbl.c: Likewise.
26245 * math/w_sqrt.c: Likewise.
26246 * math/w_sqrtf.c: Likewise.
26247 * math/w_sqrtl.c: Likewise.
26248 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26249 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26251 * math/math_private.h: Declare __kernel_standard_f.
26252 * math/w_cosh.c: Remove cruft and optimize a bit.
26253 * math/w_coshf.c: Likewise.
26254 * math/w_coshl.c: Likewise.
26255 * math/w_exp2.c: Likewise.
26256 * math/w_exp2f.c: Likewise.
26257 * math/w_exp2l.c: Likewise.
26258 * math/w_hypot.c: Likewise.
26259 * math/w_hypotf.c: Likewise.
26260 * math/w_hypotl.c: Likewise.
26261 * math/w_lgamma.c: Likewise.
26262 * math/w_lgamma_r.c: Likewise.
26263 * math/w_lgammaf.c: Likewise.
26264 * math/w_lgammaf_r.c: Likewise.
26265 * math/w_lgammal.c: Likewise.
26266 * math/w_lgammal_r.c: Likewise.
26267 * math/w_sinh.c: Likewise.
26268 * math/w_sinhf.c: Likewise.
26269 * math/w_sinhl.c: Likewise.
26270 * math/w_tgamma.c: Likewise.
26271 * math/w_tgammaf.c: Likewise.
26272 * math/w_tgammal.c: Likewise.
26273 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26275 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26276 Minor optimizations. Pretty printing. Remove cruft.
26277 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26278 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26279 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26280 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26281 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26282 * sysdeps/i386/fpu/e_asin.S: Likewise.
26283 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26284 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26285 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26286 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26287 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26288 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26290 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26291 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26292 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26293 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26294 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26295 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26296 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26297 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26298 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26299 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26300 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26301 * sysdeps/i386/fpu/e_log.S: Likewise.
26302 * sysdeps/i386/fpu/e_log10.S: Likewise.
26303 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26305 * sysdeps/i386/fpu/e_log2.S: Likewise.
26306 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26307 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26308 * sysdeps/i386/fpu/e_logf.S: Likewise.
26309 * sysdeps/i386/fpu/e_logl.S: Likewise.
26310 * sysdeps/i386/fpu/e_pow.S: Likewise.
26311 * sysdeps/i386/fpu/e_powf.S: Likewise.
26312 * sysdeps/i386/fpu/e_powl.S: Likewise.
26313 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26314 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26315 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26316 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26317 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26319 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26320 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26321 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26322 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26323 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26325 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26326 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26327 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26328 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26329 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26330 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26331 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26332 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26333 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26335 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26343 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26344 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26345 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26346 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26347 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26348 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26349 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26350 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26351 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26352 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26353 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26354 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26355 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26356 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26357 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26358 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26359 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26360 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26361 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26362 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26363 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26374 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26375 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26402 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26404 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26405 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26406 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26407 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26408 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26409 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26410 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26411 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26413 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26415 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26416 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26417 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26418 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26419 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26420 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26421 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26422 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26423 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26424 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26425 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26430 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26431 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26432 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26433 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26434 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26435 (__isnanf): Likewise.
26436 (__isinf_ns): Likewise.
26437 (__isinf_nsf): Likewise.
26438 (__finite): Likewise.
26439 (__finitef): Likewise.
26440 (__ieee754_sqrt): Define as macro.
26441 (__ieee754_sqrtf): Define as macro.
26442 (__ieee754_sqrtl): Define as macro.
26443 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26445 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26446 __FINITE_MATH_ONLY__ consistent.
26447 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26449 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26451 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26454 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26456 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26458 * po/ja.po: Update from translation team.
26460 2011-10-08 Roland McGrath <roland@hack.frob.com>
26462 * locale/programs/locarchive.c (prepare_address_space): New function.
26463 (create_archive, enlarge_archive, open_archive): Use it.
26465 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26466 inside [SHARED], where it is used.
26468 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26470 * nss/getent.c (netgroup_keys): Remove unused variable.
26471 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26473 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26475 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26476 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26478 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26479 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26480 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26481 * math/Makefile (libm-calls): Add s_isinf_ns.
26482 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26483 * math/multc3.c: Likewise.
26484 * math/s_casin.c: Likewise.
26485 * math/s_casinf.c: Likewise.
26486 * math/s_casinl.c: Likewise.
26487 * math/s_ccos.c: Likewise.
26488 * math/s_ccosf.c: Likewise.
26489 * math/s_ccosl.c: Likewise.
26490 * math/s_ctan.c: Likewise.
26491 * math/s_ctanf.c: Likewise.
26492 * math/s_ctanh.c: Likewise.
26493 * math/s_ctanhf.c: Likewise.
26494 * math/s_ctanhl.c: Likewise.
26495 * math/s_ctanl.c: Likewise.
26496 * math/w_fmod.c: Likewise.
26497 * math/w_fmodf.c: Likewise.
26498 * math/w_fmodl.c: Likewise.
26499 * math/w_remainder.c: Likewise.
26500 * math/w_remainderf.c: Likewise.
26501 * math/w_remainderl.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26503 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26506 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26507 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26508 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26509 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26511 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26513 * stdio-common/printf_fphex.c: Likewise.
26514 * stdio-common/printf_size.c: Likewise.
26516 * math/e_exp10.c: Include math_private.h using <...> not "...".
26517 * math/e_exp10f.c: Likewise.
26518 * math/e_exp10l.c: Likewise.
26519 * math/e_exp2l.c: Likewise.
26520 * math/e_j0l.c: Likewise.
26521 * math/e_j1l.c: Likewise.
26522 * math/e_jnl.c: Likewise.
26523 * math/e_lgammal_r.c: Likewise.
26524 * math/e_rem_pio2l.c: Likewise.
26525 * math/e_scalb.c: Likewise.
26526 * math/e_scalbf.c: Likewise.
26527 * math/e_scalbl.c: Likewise.
26528 * math/k_cosl.c: Likewise.
26529 * math/k_sinl.c: Likewise.
26530 * math/k_tanl.c: Likewise.
26531 * math/s_cacoshf.c: Likewise.
26532 * math/s_catan.c: Likewise.
26533 * math/s_catanf.c: Likewise.
26534 * math/s_catanh.c: Likewise.
26535 * math/s_catanhf.c: Likewise.
26536 * math/s_catanhl.c: Likewise.
26537 * math/s_catanl.c: Likewise.
26538 * math/s_ccosh.c: Likewise.
26539 * math/s_ccoshf.c: Likewise.
26540 * math/s_ccoshl.c: Likewise.
26541 * math/s_cexp.c: Likewise.
26542 * math/s_cexpf.c: Likewise.
26543 * math/s_cexpl.c: Likewise.
26544 * math/s_clog.c: Likewise.
26545 * math/s_clog10.c: Likewise.
26546 * math/s_clog10f.c: Likewise.
26547 * math/s_clog10l.c: Likewise.
26548 * math/s_clogf.c: Likewise.
26549 * math/s_clogl.c: Likewise.
26550 * math/s_csin.c: Likewise.
26551 * math/s_csinf.c: Likewise.
26552 * math/s_csinh.c: Likewise.
26553 * math/s_csinhf.c: Likewise.
26554 * math/s_csinhl.c: Likewise.
26555 * math/s_csinl.c: Likewise.
26556 * math/s_csqrt.c: Likewise.
26557 * math/s_csqrtf.c: Likewise.
26558 * math/s_csqrtl.c: Likewise.
26559 * math/s_ctan.c: Likewise.
26560 * math/s_ctanf.c: Likewise.
26561 * math/s_ctanh.c: Likewise.
26562 * math/s_ctanhf.c: Likewise.
26563 * math/s_ctanhl.c: Likewise.
26564 * math/s_ctanl.c: Likewise.
26565 * math/s_ldexp.c: Likewise.
26566 * math/s_ldexpf.c: Likewise.
26567 * math/s_ldexpl.c: Likewise.
26568 * math/s_significand.c: Likewise.
26569 * math/s_significandf.c: Likewise.
26570 * math/s_significandl.c: Likewise.
26571 * math/w_acos.c: Likewise.
26572 * math/w_acosf.c: Likewise.
26573 * math/w_acosh.c: Likewise.
26574 * math/w_acoshf.c: Likewise.
26575 * math/w_acoshl.c: Likewise.
26576 * math/w_acosl.c: Likewise.
26577 * math/w_asin.c: Likewise.
26578 * math/w_asinf.c: Likewise.
26579 * math/w_asinl.c: Likewise.
26580 * math/w_atan2.c: Likewise.
26581 * math/w_atan2f.c: Likewise.
26582 * math/w_atan2l.c: Likewise.
26583 * math/w_atanh.c: Likewise.
26584 * math/w_atanhf.c: Likewise.
26585 * math/w_atanhl.c: Likewise.
26586 * math/w_cosh.c: Likewise.
26587 * math/w_coshf.c: Likewise.
26588 * math/w_coshl.c: Likewise.
26589 * math/w_dremf.c: Likewise.
26590 * math/w_exp10.c: Likewise.
26591 * math/w_exp10f.c: Likewise.
26592 * math/w_exp10l.c: Likewise.
26593 * math/w_exp2.c: Likewise.
26594 * math/w_exp2f.c: Likewise.
26595 * math/w_fmod.c: Likewise.
26596 * math/w_fmodf.c: Likewise.
26597 * math/w_fmodl.c: Likewise.
26598 * math/w_hypot.c: Likewise.
26599 * math/w_hypotf.c: Likewise.
26600 * math/w_hypotl.c: Likewise.
26601 * math/w_j0.c: Likewise.
26602 * math/w_j0f.c: Likewise.
26603 * math/w_j0l.c: Likewise.
26604 * math/w_j1.c: Likewise.
26605 * math/w_j1f.c: Likewise.
26606 * math/w_j1l.c: Likewise.
26607 * math/w_jn.c: Likewise.
26608 * math/w_jnf.c: Likewise.
26609 * math/w_jnl.c: Likewise.
26610 * math/w_lgamma.c: Likewise.
26611 * math/w_lgamma_r.c: Likewise.
26612 * math/w_lgammaf.c: Likewise.
26613 * math/w_lgammaf_r.c: Likewise.
26614 * math/w_lgammal.c: Likewise.
26615 * math/w_lgammal_r.c: Likewise.
26616 * math/w_log.c: Likewise.
26617 * math/w_log10.c: Likewise.
26618 * math/w_log10f.c: Likewise.
26619 * math/w_log10l.c: Likewise.
26620 * math/w_log2.c: Likewise.
26621 * math/w_log2f.c: Likewise.
26622 * math/w_log2l.c: Likewise.
26623 * math/w_logf.c: Likewise.
26624 * math/w_logl.c: Likewise.
26625 * math/w_pow.c: Likewise.
26626 * math/w_powf.c: Likewise.
26627 * math/w_powl.c: Likewise.
26628 * math/w_remainder.c: Likewise.
26629 * math/w_remainderf.c: Likewise.
26630 * math/w_remainderl.c: Likewise.
26631 * math/w_scalb.c: Likewise.
26632 * math/w_scalbf.c: Likewise.
26633 * math/w_scalbl.c: Likewise.
26634 * math/w_sinh.c: Likewise.
26635 * math/w_sinhf.c: Likewise.
26636 * math/w_sinhl.c: Likewise.
26637 * math/w_sqrt.c: Likewise.
26638 * math/w_sqrtf.c: Likewise.
26639 * math/w_sqrtl.c: Likewise.
26640 * math/w_tgamma.c: Likewise.
26641 * math/w_tgammaf.c: Likewise.
26642 * math/w_tgammal.c: Likewise.
26644 * po/ja.po: Update from translation team.
26646 2011-09-29 Andreas Jaeger <aj@suse.de>
26649 * sunrpc/netname.c (netname2host): Fix logic.
26653 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26655 * math/w_remainder.c (__remainder): Likewise.
26656 * math/w_remainderf.c (__remainderf): Likewise.
26657 * math/libm-test.inc (remainder_test): Add test cases.
26659 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26661 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26664 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26666 * string/test-memcmp.c: Avoid unncessary #defines.
26667 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26669 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26671 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26672 Use new sse2 version for core i3 - i7 as it's faster
26673 than sse42 version.
26674 (bit_Prefer_PMINUB_for_stringop): New.
26675 * sysdeps/x86_64/rawmemchr.S: Update.
26676 Replace with faster SSE2 version.
26677 * sysdeps/x86_64/memrchr.S: New file.
26678 * sysdeps/x86_64/memchr.S: Update.
26679 Replace with faster SSE2 version.
26681 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26683 * elf/dl-load.c (lose): Add cast to avoid warning.
26685 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26687 * po/ca.po: Update from translation team.
26689 * inet/getnetgrent_r.c: Hook up nscd.
26690 * nscd/Makefile (routines): Add nscd_netgroup.
26691 (nscd-modules): Add netgroupcache.
26692 (CFLAGS-netgroupcache.c): Define.
26693 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26694 (cache_search): Add const to second parameter.
26695 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26697 (dbs): Add netgrdb entry.
26698 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26699 (verify_persistent_db): Handle netgrdb.
26700 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26701 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26703 (netgroup_response_header): Define.
26704 (innetgroup_response_header): Define.
26705 (datahead): Add netgroup_response_header and innetgroup_response_header
26707 * nscd/nscd.conf: Add entries for netgroup cache.
26708 * nscd/nscd.h (dbtype): Add netgrdb.
26709 (_PATH_NSCD_NETGROUP_DB): Define.
26710 (netgroup_iov_disabled): Declare.
26711 (xmalloc, xcalloc, xrealloc): Move declarations here.
26712 (cache_search): Adjust prototype.
26713 Add netgroup-related prototypes.
26714 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26715 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26716 (__nscd_innetgr): Declare.
26717 * nscd/selinux.c (perms): Use access_vector_t as element type and
26718 add netgroup-related initializers.
26719 * nscd/netgroupcache.c: New file.
26720 * nscd/nscd_netgroup.c: New file.
26721 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26722 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26723 For four parameters use innetgr.
26724 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26725 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26726 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26727 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26729 * nscd/connections.c (register_traced_file): Don't register file
26730 for disabled databases.
26732 2011-10-06 Ulrich Drepper <drepper@gmail.com>
26734 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26736 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26737 from tree and freeing node.
26739 2011-09-25 Jiri Olsa <jolsa@redhat.com>
26741 * nss/nsswitch.c (__nss_database_lookup): Handle
26742 nss_parse_service_list out of memory case.
26744 2011-09-15 Jiri Olsa <jolsa@redhat.com>
26746 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26747 out of memory case.
26749 2011-10-04 Andreas Schwab <schwab@redhat.com>
26751 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26752 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26754 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26755 elf_machine_rela, elf_machine_lazy_rel.
26756 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26757 (ELF_DYNAMIC_DO_REL): Likewise.
26758 (ELF_DYNAMIC_DO_RELA): Likewise.
26759 (ELF_DYNAMIC_RELOCATE): Likewise.
26760 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26761 to ELF_DYNAMIC_DO_REL.
26762 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26763 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26764 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26766 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26767 skip_ifunc, don't call ifunc function if non-zero.
26768 (elf_machine_rela): Likewise.
26769 (elf_machine_lazy_rel): Likewise.
26770 (elf_machine_lazy_rela): Likewise.
26771 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26772 (elf_machine_lazy_rel): Likewise.
26773 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26775 (elf_machine_lazy_rel): Likewise.
26776 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26778 (elf_machine_lazy_rel): Likewise.
26779 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26780 (elf_machine_lazy_rel): Likewise.
26781 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26782 (elf_machine_lazy_rel): Likewise.
26783 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26784 (elf_machine_lazy_rel): Likewise.
26785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26786 (elf_machine_lazy_rel): Likewise.
26787 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26788 (elf_machine_lazy_rel): Likewise.
26789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26790 (elf_machine_lazy_rel): Likewise.
26792 2011-09-28 Ulrich Drepper <drepper@gmail.com>
26794 * nss/nss_files/files-init.c (_nss_files_init): Use static
26795 initialization for all the *_traced_file variables.
26797 2011-09-28 Andreas Schwab <schwab@redhat.com>
26799 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26801 2011-09-27 Roland McGrath <roland@hack.frob.com>
26804 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26806 2011-09-27 Andreas Schwab <schwab@redhat.com>
26808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26809 Reread the line before reparsing it.
26811 2011-09-26 Andreas Schwab <schwab@redhat.com>
26813 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26815 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26816 Maxim Kuvyrkov <maxim@codesourcery.com>
26817 Joseph Myers <joseph@codesourcery.com>
26819 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26820 if needed for __stack_chk_guard.
26822 2011-09-19 Roland McGrath <roland@hack.frob.com>
26824 * sysdeps/posix/spawni.c (script_execute): Always define it.
26825 It will be optimized away if unused.
26826 (maybe_script_execute): New function.
26827 (__spawni): Call it.
26829 * Makerules: Don't include tls.make.
26830 (config-tls): Always set to thread.
26831 * tls.make.c: File removed.
26833 2011-09-19 Mike Frysinger <vapier@gentoo.org>
26835 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26836 * config.make.in (CPPFLAGS-config): New substituted variable.
26838 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26840 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26843 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26844 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26846 2011-09-15 Roland McGrath <roland@hack.frob.com>
26848 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26849 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26850 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26851 (CALL_FAIL): Likewise.
26852 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26853 (CALL_FAIL): Macro removed.
26854 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26856 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26858 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26859 for __FINITE_MATH_ONLY__ == 1.
26861 2011-09-15 Andreas Schwab <schwab@redhat.com>
26863 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26864 __ieee754_sqrt instead of sqrt.
26865 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26866 __ieee754_sqrtf instead of sqrtf.
26867 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26868 __floorf instead of floorf.
26869 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26870 __floorf, __truncf instead of floorf, truncf.
26872 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26874 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26876 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26877 __extern_always_inline.
26878 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26881 2011-09-14 Andreas Schwab <schwab@redhat.com>
26883 * elf/rtld.c (dl_main): Also relocate in dependency order when
26884 doing symbol dependency testing.
26886 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26889 Always define `refsym'.
26891 2011-09-13 Andreas Schwab <schwab@redhat.com>
26893 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26894 (__FD_ELT): Renamed from __FDELT.
26895 * misc/bits/select2.h (__FD_ELT): Likewise.
26896 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26897 __FD_MASK instead of __FDELT, __FDMASK.
26898 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26900 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26903 * elf/Makefile (gen-ldd): Fix pattern.
26905 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26906 (init_tls): Likewise.
26908 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26912 2011-09-12 Andreas Schwab <schwab@redhat.com>
26914 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26915 `struct cmsghdr *' instead of `void *'.
26916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26919 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26921 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26923 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26924 ldd_rewrite_script.
26926 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26928 * configure.in: Remove --with-tls option.
26929 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26930 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26931 out in case it is missing.
26932 * sysdeps/ia64/elf/configure.in: Likewise.
26933 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26934 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26935 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26936 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26937 * sysdeps/sh/elf/configure.in: Likewise.
26938 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26939 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26940 * sysdeps/x86_64/elf/configure.in: Likewise.
26941 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26942 * sysdeps/mach/hurd/tls.h: Likewise.
26945 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26948 * configure.in: Fix use of AC_INIT.
26950 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26952 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26954 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26956 * malloc/hooks.c: Likewise.
26959 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26960 variables statically.
26961 (narenas): Initialize.
26962 (list_lock): Initialize.
26963 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26964 initializtion of main_arena and list_lock. Small cleanups.
26965 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26966 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26967 Add initializers to main_arena and mp_.
26968 (malloc_state): Remove pagesize member. Change all users to use
26971 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26972 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26973 is always initialized.
26975 * malloc/malloc.c: Removed unused configurations and dead code.
26976 * malloc/arena.c: Likewise.
26977 * malloc/hooks.c: Likewise.
26978 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26980 * include/tls.h: Removed. USE___THREAD must always be defined.
26981 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26982 * elf/dl-libc.c: Likewise.
26983 * elf/dl-tsd.c: Likewise.
26984 * include/errno.h: Likewise.
26985 * include/netdb.h: Likewise.
26986 * include/resolv.h: Likewise.
26987 * inet/herrno-loc.c: Likewise.
26988 * inet/herrno.c: Likewise.
26989 * malloc/arena.c: Likewise.
26990 * malloc/hooks.c: Likewise.
26991 * malloc/malloc.c: Likewise.
26992 * resolv/res-state.c: Likewise.
26993 * resolv/res_libc.c: Likewise.
26994 * sysdeps/i386/dl-machine.h: Likewise.
26995 * sysdeps/ia64/dl-machine.h: Likewise.
26996 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26997 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26998 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26999 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27000 * sysdeps/sh/dl-machine.h: Likewise.
27001 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27002 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27003 * sysdeps/unix/i386/sysdep.S: Likewise.
27004 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27005 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27007 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27008 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27010 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27014 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27015 * sysdeps/x86_64/dl-machine.h: Likewise.
27016 * tls.make.c: Likewise.
27018 * configure.in: Remove --with-__thread option. Make tests for
27019 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27020 tls_model attribute fail if no support is available. Remove
27022 * Makeconfig: Adjust for dropped configure option. All features are
27024 * Makerules: Likewise.
27025 * Versions.def: Likewise.
27026 * argp/argp-fmtstream.c: Likewise.
27027 * argp/argp-fmtstream.h: Likewise.
27028 * argp/argp-help.c: Likewise.
27029 * assert/assert.c: Likewise.
27030 * config.h.in: Likewise.
27031 * config.make.in: Likewise.
27032 * configure: Likewise.
27033 * configure.in: Likewise.
27034 * csu/Versions: Likewise.
27035 * csu/init.c: Likewise.
27036 * elf/tst-audit2.c: Likewise.
27037 * elf/tst-tls10.c: Likewise.
27038 * elf/tst-tls10.h: Likewise.
27039 * elf/tst-tls11.c: Likewise.
27040 * elf/tst-tls12.c: Likewise.
27041 * elf/tst-tls14.c: Likewise.
27042 * elf/tst-tlsmod11.c: Likewise.
27043 * elf/tst-tlsmod12.c: Likewise.
27044 * elf/tst-tlsmod13.c: Likewise.
27045 * elf/tst-tlsmod13a.c: Likewise.
27046 * elf/tst-tlsmod14a.c: Likewise.
27047 * elf/tst-tlsmod15b.c: Likewise.
27048 * elf/tst-tlsmod16a.c: Likewise.
27049 * elf/tst-tlsmod16b.c: Likewise.
27050 * elf/tst-tlsmod7.c: Likewise.
27051 * elf/tst-tlsmod8.c: Likewise.
27052 * elf/tst-tlsmod9.c: Likewise.
27053 * gmon/gmon.c: Likewise.
27054 * grp/fgetgrent_r.c: Likewise.
27055 * grp/putgrent.c: Likewise.
27056 * hurd/fopenport.c: Likewise.
27057 * include/libc-symbols.h: Likewise.
27058 * include/tls.h: Likewise.
27059 * intl/gettextP.h: Likewise.
27060 * intl/loadinfo.h: Likewise.
27061 * locale/global-locale.c: Likewise.
27062 * locale/localeinfo.h: Likewise.
27063 * mach/devstream.c: Likewise.
27064 * malloc/arena.c: Likewise.
27065 * malloc/set-freeres.c: Likewise.
27066 * misc/err.c: Likewise.
27067 * misc/getttyent.c: Likewise.
27068 * misc/mntent_r.c: Likewise.
27069 * posix/getopt.c: Likewise.
27070 * posix/wordexp.c: Likewise.
27071 * pwd/fgetpwent_r.c: Likewise.
27072 * resolv/Versions: Likewise.
27073 * resolv/res_hconf.c: Likewise.
27074 * shadow/fgetspent_r.c: Likewise.
27075 * shadow/putspent.c: Likewise.
27076 * stdio-common/printf_fphex.c: Likewise.
27077 * stdio-common/tmpfile.c: Likewise.
27078 * stdlib/abort.c: Likewise.
27079 * stdlib/fmtmsg.c: Likewise.
27080 * sunrpc/auth_unix.c: Likewise.
27081 * sunrpc/clnt_perr.c: Likewise.
27082 * sunrpc/clnt_tcp.c: Likewise.
27083 * sunrpc/clnt_udp.c: Likewise.
27084 * sunrpc/clnt_unix.c: Likewise.
27085 * sunrpc/openchild.c: Likewise.
27086 * sunrpc/svc_simple.c: Likewise.
27087 * sunrpc/svc_tcp.c: Likewise.
27088 * sunrpc/svc_udp.c: Likewise.
27089 * sunrpc/svc_unix.c: Likewise.
27090 * sunrpc/xdr.c: Likewise.
27091 * sunrpc/xdr_array.c: Likewise.
27092 * sunrpc/xdr_rec.c: Likewise.
27093 * sunrpc/xdr_ref.c: Likewise.
27094 * sunrpc/xdr_stdio.c: Likewise.
27096 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27098 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27100 2011-07-03 Andreas Jaeger <aj@suse.de>
27102 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27103 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27104 regenerate with gen-libm-tests.pl.
27106 2010-05-12 Petr Baudis <pasky@suse.cz>
27109 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27110 around j0() zero points by switching to j1().
27111 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27114 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27116 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27118 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27120 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27123 Patch in part by Pavel Roskin <proski@gnu.org>.
27126 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27128 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27129 Free memory block if necessary.
27132 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27133 be NULL. Don't lock in this case.
27135 2011-09-09 Roland McGrath <roland@hack.frob.com>
27137 * elf/elf.h (ELFOSABI_GNU): New macro.
27138 (ELFOSABI_LINUX): Define to that.
27140 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27142 * string/strncat.c (strncat): Undef the symbol in case it has been
27143 defined in bits/string.h.
27145 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27147 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27149 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27152 2011-08-17 Andreas Jaeger <aj@suse.de>
27154 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27156 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27157 Ian Lance Taylor <iant@google.com>
27159 * math/libm-test.inc (lround_test): New testcase.
27160 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27162 2011-09-08 Ulrich Drepper <drepper@gmail.com>
27164 * Makefile: Remove support for automatic cvs check-ins.
27165 * Makerules: Likewise.
27166 * config.make.in: Likewise.
27167 * configure.in: Likewise.
27168 * intl/Makefile: Likewise.
27169 * locale/Makefile: Likewise.
27170 * po/Makefile: Likewise.
27171 * posix/Makefile: Likewise.
27172 * sysdeps/gnu/Makefile: Likewise.
27173 * sysdeps/mach/hurd/Makefile: Likewise.
27174 * sysdeps/sparc/sparc32/Makefile: Likewise.
27177 * posix/Makefile (bug-regex32-ENV): Define.
27178 Patch by John Stanley <jpsinthemix@verizon.net>.
27180 * misc/Makefile (headers): Add bits/select2.h.
27181 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27182 * misc/bits/select2.h: New file.
27183 * include/bits/select2.h: New file.
27184 * debug/Makefile (routines): Add fdelt_chk.
27185 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27186 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27188 * debug/fdelt_chk.c: New file.
27190 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27191 * wcsmbs/test-wmemcmp.c: Likewise.
27192 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27193 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27195 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27197 * string/Makefile (strop-tests): Add memcmp.
27198 * string/test-wmemcmp.c: New file.
27199 * string/test-memcmp.c: Add wmemcmp support.
27201 2011-09-08 Roland McGrath <roland@hack.frob.com>
27204 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27207 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27208 garbage value in a __mach_port_mod_refs call in the cases of the
27209 task-self and thread-self ports.
27211 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27213 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27215 2011-09-08 Andreas Schwab <schwab@redhat.com>
27217 * elf/dl-load.c (lose): Check for non-null L.
27219 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27221 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27223 * elf/dl-libc.c (dlerror_run): Pass back error code from
27227 * elf/dl-load.c (lose): Free l_origin if it is valid.
27229 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27231 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27232 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27233 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27234 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27235 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27236 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27238 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27240 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27241 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27242 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27243 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27244 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27245 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27246 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27247 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27248 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27249 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27251 2011-08-15 Alan Modra <amodra@gmail.com>
27254 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27255 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27256 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27257 ppc_mcount to static-only-routines.
27258 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27260 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27261 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27263 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27265 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27266 for finite and infinity parameters.
27268 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27270 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27271 and add nop instructions for throughput optimization.
27272 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27274 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27276 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27277 aligned copy for power7 with vector-scalar instructions.
27278 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27280 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27285 2011-09-07 Andreas Schwab <schwab@redhat.com>
27288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27291 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27293 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27294 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27295 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27296 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27299 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27301 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27302 Forgot to demangle the pointer.
27304 * sysdeps/i386/sysdep.h: Define atom_text_section.
27305 * sysdeps/x86_64/sysdep.h: Likewise.
27306 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27307 section with atom_text_section.
27308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27309 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27310 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27312 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27315 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27316 already be defined. Change to take two parameters and don't assign
27317 result to variable. Adjust all users.
27318 Define INTERNAL_GETTIME if not already defined.
27319 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27322 HAVE_CLOCK_GETTIME_VSYSCALL.
27323 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27326 gettimeofday vsyscall, just use time.
27328 2011-09-06 Andreas Schwab <schwab@redhat.com>
27330 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27333 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27335 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27339 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27340 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27341 syscall if possible.
27343 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27345 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27346 e_ident. Don't pass to find_mapsXX.
27347 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27349 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27352 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27353 * sysdeps/x86_64/multiarch/strchr.S: Update.
27354 Check bit_slow_BSF bit.
27355 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27356 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27357 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27359 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27362 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27364 (tryshell): Define.
27365 (__spawni): Change last parameter to be flag. Test
27366 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27367 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27368 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27369 * posix/spawni.c: Likewise.
27370 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27371 * posix/spawnp.c: Likewise. Change normal version to use
27372 SPAWN_XFLAGS_USE_PATH.
27373 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27374 SPAWN_XFLAGS_TRY_SHELL.
27377 * posix/glob.h: Remove gcc 1.x support.
27380 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27382 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27385 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27387 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27388 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27389 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27390 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27391 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27392 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27394 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27396 * sysdeps/x86_64/wcscmp.S: New file.
27398 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27399 wcscmp-c wcscmp-sse2
27400 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27401 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27402 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27403 * wcsmbs/wcscmp.c: Allow renaming.
27405 2011-09-05 David S. Miller <davem@davemloft.net>
27407 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27408 stack slot, rather than the struct return pointer slot.
27409 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27410 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27412 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27414 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27416 * po/ja.po: Update from translation team.
27419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27420 kernel in 64-bit binaries.
27422 2011-09-01 David S. Miller <davem@davemloft.net>
27424 * elf/elf.h (HWCAP_SPARC_*): Move to..
27425 * sysdeps/sparc/sysdep.h: this new file and add new values.
27426 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27427 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27428 _DL_HWCAP_COUNT to 24.
27429 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27431 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27432 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27433 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27435 instead of magic constants.
27436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27438 2011-08-31 David S. Miller <davem@davemloft.net>
27440 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27442 Reimplement to do errno handling inline.
27443 (SYSCALL_ERROR_HANDLER): New macro.
27444 (__SYSCALL_STRING): Do not do errno handling in asm.
27445 (__CLONE_SYSCALL_STRING): Delete.
27446 (__INTERNAL_SYSCALL_STRING): Delete.
27447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27448 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27449 (PSEUDO): Reimplement to do errno handling inline.
27450 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27451 (SYSCALL_ERROR_HANDLER): New macro.
27452 (__SYSCALL_STRING): Do not do errno handling in asm.
27453 (__CLONE_SYSCALL_STRING): Delete.
27454 (__INTERNAL_SYSCALL_STRING): Delete.
27455 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27456 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27458 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27459 (inline_syscall*): Add 'err' argument.
27460 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27461 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27462 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27463 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27465 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27466 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27468 2011-08-30 Andreas Schwab <schwab@redhat.com>
27470 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27472 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27474 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27477 2011-08-24 David S. Miller <davem@davemloft.net>
27479 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27481 2011-08-24 Andreas Schwab <schwab@redhat.com>
27483 * elf/Makefile: Add rules to build and run unload8 test.
27484 * elf/unload8.c: New file.
27485 * elf/unload8mod1.c: New file.
27486 * elf/unload8mod1x.c: New file.
27487 * elf/unload8mod2.c: New file.
27488 * elf/unload8mod3.c: New file.
27490 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27493 2011-08-23 David S. Miller <davem@davemloft.net>
27495 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27496 subtract stack bias.
27497 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27498 %sp not %fp in calculations.
27499 (_JMPBUF_UNWINDS_ADJ): Likewise.
27501 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27502 (aio_suspend): Call it to force an exception region around the
27503 AIO_MISC_WAIT() invocation.
27505 2011-08-23 Andreas Schwab <schwab@redhat.com>
27507 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27510 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27512 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27514 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27515 and <dl-machine.h>.
27516 (Elf64_FuncDesc): Remove.
27518 2011-08-22 David S. Miller <davem@davemloft.net>
27520 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27521 sigaltstack check, add missing cfi directives.
27522 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27523 missing cfi directives, and sigaltstack handling.
27525 2011-08-16 Andreas Schwab <schwab@redhat.com>
27528 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27529 object is seen twice.
27530 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27532 * elf/Makefile (distribute): Add tst-initorder2.c.
27533 (tests): Add tst-initorder2.
27534 (modules-names): Add tst-initorder2a tst-initorder2b
27535 tst-initorder2c tst-initorder2d. Add rules to build them.
27536 ($(objpfx)tst-initorder2.out): New rule.
27537 * elf/tst-initorder2.c: New file.
27538 * elf/tst-initorder2.exp: New file.
27540 2011-08-22 Andreas Schwab <schwab@redhat.com>
27542 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27544 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27545 dependencies back to end of function.
27547 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27548 $(elfobjdir)/ld.so.
27550 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27553 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27555 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27556 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27557 of __vdso_gettimeofday.
27558 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27559 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27561 (_libc_vdso_platform_setup): Remove initialization of
27562 __vdso_gettimeofday and __vdso_time.
27564 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27566 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27567 and fgetc_unlocked.
27568 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27571 * elf/dl-open.c (add_to_global): Report additions to the global scope
27572 for LD_DEBUG=scopes.
27573 (dl_open_worker): Also print scope of newly loaded dependencies.
27574 (_dl_show_scope): Indicate if there is no scope.
27577 * stdio-common/Makefile (tests): Add bug24.
27578 * stdio-common/bug24.c: New file.
27580 2011-08-19 Andreas Jaeger <aj@suse.de>
27583 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27584 non-existant file when using close-on-exec mode.
27586 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27589 the very first instruction.
27591 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27592 the CFI state in the end.
27593 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27594 inclusion of dl-trampoline.h.
27595 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27597 2011-08-19 Andreas Schwab <schwab@redhat.com>
27599 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27600 expectations for long double.
27602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27603 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27605 2011-08-14 David S. Miller <davem@davemloft.net>
27607 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27608 artificual limit depends upon the system page size.
27610 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27612 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27613 * resolv/Makefile: Define CFLAGS-libresolv.
27615 2011-08-17 Andreas Schwab <schwab@redhat.com>
27617 * nss/makedb.c (compute_tables): Make variables used in nested
27620 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27622 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27623 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27624 if buffer was too small.
27626 * elf/pldd.c (main): Attach to all threads in the process.
27627 Rewrite /proc handling to use *at functions.
27629 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27631 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27632 specifies first scope to show.
27633 (dl_open_worker): Update callers. Move printing scope of new
27634 object to before the relocation.
27635 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27636 * sysdeps/generic/ldsodefs.h: Update declaration.
27638 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27639 string for the scope number.
27641 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27643 * nscd/servicescache.c (cache_addserv): Make sure written is always
27646 2011-08-14 Roland McGrath <roland@hack.frob.com>
27648 * sysdeps/i386/i486/bits/atomic.h
27649 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27650 statement expression, so as to suppress "set but not used" warning.
27651 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27653 * string/strncat.c (STRNCAT): Use prototype definition.
27655 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27656 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27658 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27659 (localedef-modules): Add localedef.
27660 (locale-modules): Add locale.
27662 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27663 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27664 to avoid a warning.
27666 2011-08-14 David S. Miller <davem@davemloft.net>
27668 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27669 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27671 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27673 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27674 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27675 * elf/rtld.c (dl_main): Set l_name of vDSO.
27676 Call _dl_show_scope when DL_DEBUG_SCOPES.
27677 (process_dl_debug): Recognize scopes flag and also set it for all.
27678 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27679 Declare _dl_show_scope.
27681 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27682 (do_dlopen): Pass caller_dlopen to dl_open.
27683 (__libc_dlopen_mode): Initialize caller_dlopen.
27685 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27686 of libc. Make tolower call locale-independent. Optimize a bit by
27687 using isdigit instead of isalnum.
27688 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27690 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27692 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27693 was a dependency or dynamically loaded.
27695 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27697 * intl/l10nflist.c: Allow architecture-specific pop function.
27698 * sysdeps/x86_64/l10nflist.c: New file.
27700 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27703 2011-08-10 Andreas Schwab <schwab@redhat.com>
27705 * include/dirent.h: Add libc_hidden_proto for scandirat and
27706 scandirat64. Don't declare __scandirat64.
27707 * dirent/scandirat.c: Add libc_hidden_def.
27708 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27709 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27711 2011-08-10 David S. Miller <davem@davemloft.net>
27713 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27715 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27717 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27719 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27721 * Versions.def [libc]: Add GLIBC_2.15.
27722 * dirent/Makefile (routines): Add scandirat and scandirat64.
27723 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27725 * dirent/dirent.h: Declare scandirat and scandirat64.
27726 * dirent/scandirat.c: New file.
27727 * dirent/scandirat64.c: New file.
27728 * sysdeps/wordsize-64/scandirat.c: New file.
27729 * sysdeps/wordsize-64/scandirat64.c: New file.
27730 * dirent/opendir.c: Define opendirat.
27731 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27733 * dirent/scandir64.c: Adjust for scandir.c change.
27734 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27735 __scandirat64, and __scandir_cancel_handler.
27736 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27737 additional parameter and use openat instead of open (outside of ld.so).
27738 Add new __opendir as wrapper around __opendirat.
27739 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27740 here without requiring old scandirat implementation.
27742 2011-08-08 Ulrich Drepper <drepper@gmail.com>
27744 * dirent/scandir.c (cancel_handler): Renamed to
27745 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27746 defined. Adjust users.
27747 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27748 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27750 2011-08-04 Ulrich Drepper <drepper@gmail.com>
27752 * string/test-string.h (IMPL): Use __STRING to expand name and then
27755 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27758 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27760 * string/Makefile: Update.
27761 (strop-tests): Append strncat.
27762 * string/test-wcscmp.c: New file.
27763 New comprehensive test for wcscmp.
27764 * string/test-strcmp.c: Update.
27765 (WIDE): New define.
27767 2011-07-22 Andreas Schwab <schwab@redhat.com>
27769 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27772 2011-07-26 Andreas Schwab <schwab@redhat.com>
27774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27775 encoding to ACE if AI_IDN.
27777 2011-08-01 Jakub Jelinek <jakub@redhat.com>
27779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27780 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27782 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27784 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27785 Fix overflow bug in strncat.
27786 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27788 * string/test-strncat.c: Update.
27789 Add new tests for checking overflow bugs.
27791 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27794 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27795 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27796 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27798 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27799 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27800 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27801 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27803 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27804 (USE_AS_STRCAT): Define.
27805 Add strcat and strncat support.
27806 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27808 2011-07-25 Andreas Schwab <schwab@redhat.com>
27810 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27811 __n bigger than INT_MAX+1.
27812 (__strncmp_g): Likewise.
27814 2011-07-23 Ulrich Drepper <drepper@gmail.com>
27816 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27817 * libio/stido.h: Likewise.
27819 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27824 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27825 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27827 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27831 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27836 (_dl_x86_64_save_sse): Likewise.
27838 2011-07-22 Ulrich Drepper <drepper@gmail.com>
27840 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27842 (_dl_x86_64_save_sse): Likewise.
27844 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27846 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27848 2011-07-21 Andreas Schwab <schwab@redhat.com>
27850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27852 (_dl_x86_64_save_sse): Use correct AVX check.
27854 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27856 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27857 bug in strncpy/strncat.
27858 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27860 2011-07-21 Ulrich Drepper <drepper@gmail.com>
27862 * string/tester.c (test_strcat): Add tests for different alignments
27863 of source and destination.
27864 (test_strncat): Likewise.
27866 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27869 * posix/glob.c (glob): Check passed in values before using them in
27870 expressions to avoid some overflows.
27871 (glob_in_dir): Likewise.
27874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27875 check for AVX enablement so that we don't crash with old kernels and
27877 * elf/tst-audit4.c: Add same checks here.
27878 * elf/tst-audit6.c: Likewise.
27880 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27882 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27884 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27886 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27888 * po/cs.po: Update from translation team.
27889 * po/bg.po: Likewise.
27891 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27893 * misc/sys/cdefs.h: Add support for const attribute.
27894 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27895 to gnu_dev_{major,minor,makedev} functions.
27897 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27899 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27901 2011-07-20 Andreas Schwab <schwab@redhat.com>
27903 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27906 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27909 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27910 register in order to avoid conflicts with the soft frame pointer
27911 being held in r11 when necessary.
27912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27913 (INTERNAL_VSYSCALL_NCS): Likewise.
27915 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27917 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27918 * elf/dl-fini.c (_dl_fini): Adjust caller.
27919 * elf/dl-close.c (_dl_close_worker): Likewise.
27920 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27922 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27924 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27925 "aux_cache->nlibs < 0".
27927 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27928 in the reload-count case.
27930 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27933 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27934 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27935 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27936 * sysdeps/x86_64/multiarch/strcat.S: New file.
27937 * sysdeps/x86_64/multiarch/strncat.S: New file.
27938 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27939 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27940 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27941 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27942 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27943 (USE_AS_STRCAT): Define.
27944 Add strcat and strncat support.
27945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27946 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27947 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27948 * string/strncat.c: Update.
27949 (USE_AS_STRNCAT): Define.
27950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27951 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27953 * sysdeps/x86_64/multiarch/init-arch.h
27954 (bit_Prefer_PMINUB_for_stringop): New.
27955 (index_Prefer_PMINUB_for_stringop): Likewise.
27956 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27957 bit_Prefer_PMINUB_for_stringop.
27959 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27961 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27963 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27964 of casting of buffer.
27965 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27966 buffer32 and buffer64.
27967 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27968 writes instead of casting of buffer.
27969 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27971 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27974 2011-07-19 Andreas Schwab <schwab@redhat.com>
27976 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27978 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27980 * nscd/nscd.c (termination_handler): Don't do anything for a database
27981 if it has not yet been initialized.
27983 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27985 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27987 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27989 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27991 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27993 * po/nl.po: Update from translation team.
27994 * po/sv.po: Likewise.
27996 2011-07-16 Roland McGrath <roland@hack.frob.com>
27998 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27999 now disallowed by GCC.
28001 * configure.in (use-default-link): Default to yes if a test -shared
28002 link meets our qualifications.
28003 * configure: Regenerated.
28005 * config.make.in (output-format): New variable.
28006 * configure.in: Check for ld --print-output-format support.
28007 * configure: Regenerated.
28008 * Makerules ($(common-objpfx)format.lds)
28009 [$(output-format) != unknown]: Just use $(output-format),
28010 instead of the linker-script munging.
28012 2011-07-14 Roland McGrath <roland@hack.frob.com>
28014 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28015 of $(common-objpfx)shlib.lds.
28016 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28018 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28019 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28021 * configure.in (-z relro check): Adjust test code to add a large
28022 writable data section after it.
28023 * configure: Regenerated.
28025 2011-07-11 Roland McGrath <roland@hack.frob.com>
28027 * configure.in (-z relro check): Fix test code to make the variable
28029 * configure: Regenerated.
28031 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28033 * nscd/nscd.h (struct traced_file): Define.
28034 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28035 elements. Add traced_files.
28036 (inotify_fd): Declare.
28037 (register_traced_file): Declare.
28038 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28039 (inotify_fd): Export.
28040 (resolv_conf_descr): Remove.
28041 (nscd_init): Move inotify descriptor creation to main.
28042 Don't register files for notification here.
28043 (register_traced_file): New function.
28044 (invalidate_cache): Don't use reset_res to determine whether to call
28045 res_init, go through the list of registered files.
28046 (main_loop_poll): The inotify descriptors are now stored in the
28047 structures for the traced files.
28048 (main_loop_epoll): Likewise
28049 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28050 to __nss_disable_nscd.
28051 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28052 for a database anymore. Check the records for all the registered
28054 * nss/Makefile (libnss_files-routines): Add files-init.
28055 (libnss_db-routines): Add db-init.
28056 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28057 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28058 * nss/nss_db/db-init.c: New file.
28059 * nss/nss_files/files-init.c: New file.
28060 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28061 __nss_lookup_function.
28062 (__nss_lookup_function): Call nss_load_library.
28063 (nss_load_all_libraries): New function.
28064 (__nss_disable_nscd): Take parameter with callback function for files
28065 to register. Set is_nscd. Load all the DSOs for the NSS modules
28066 used for the cached services.
28067 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28068 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28069 options for features to all the files in nscd.
28071 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28073 2011-07-10 Roland McGrath <roland@hack.frob.com>
28075 * csu/elf-init.c (__libc_csu_init): Comment typo.
28077 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28079 * po/pl.po: Update from translation team.
28080 * po/ja.po: Likewise.
28081 * po/ru.po: Likewise.
28082 * po/ko.po: Likewise.
28083 * po/fr.po: Likewise.
28085 2011-07-09 Roland McGrath <roland@hack.frob.com>
28087 * configure.in (.ctors/.dtors header and trailer check):
28088 Use an empirical test on a built program.
28089 * configure: Regenerated.
28091 * configure.in (-z relro check): Use an empirical test on a built DSO.
28092 Detect, but do not require, on ia64.
28093 * configure: Regenerated.
28095 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28096 Update tests that use readelf to use $READELF instead.
28097 * configure: Regenerated.
28099 2011-07-08 Ulrich Drepper <drepper@gmail.com>
28101 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28102 if the result is not used.
28104 2011-07-05 Andreas Jaeger <aj@suse.de>
28107 * stdlib/tst-strtod.c: Add testcase.
28109 2011-07-07 Ulrich Drepper <drepper@gmail.com>
28111 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28112 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28113 The latter has a higher limit. Take additional parameter to pass to
28115 (__pathconf): Pass file to __statfs_link_max.
28116 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28118 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28122 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28125 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28126 (__statfs_filesize_max): Likewise.
28127 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28129 2011-07-05 Andreas Jaeger <aj@suse.de>
28131 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28133 2011-07-06 Marek Polacek <mpolacek@redhat.com>
28135 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28137 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28140 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28142 * Makefile (strop-tests): Add strncat.
28143 * string/test-strncat.c: New file.
28145 2011-06-30 Marek Polacek <mpolacek@redhat.com>
28147 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28149 2011-06-21 Andreas Jaeger <aj@suse.de>
28151 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28152 Copy rule from iconvdata/Makefile.
28154 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28157 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28158 but no long options are defined, just return 'W'.
28160 2011-06-22 Marek Polacek <mpolacek@redhat.com>
28163 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28165 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28167 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28169 (innetgr): Likewise.
28171 2011-07-05 Roland McGrath <roland@hack.frob.com>
28173 * config.make.in (install_root): Default to $(DESTDIR).
28175 2011-07-05 Ulrich Drepper <drepper@gmail.com>
28177 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28179 2011-07-02 Roland McGrath <roland@hack.frob.com>
28181 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28183 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28184 containing directory rather than embedding absolute directory names.
28186 * scripts/check-local-headers.sh: Rewritten using awk.
28187 Match by word, not by line. Print error messages for matches.
28188 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28190 * Makerules [shlib-lds-flags empty]:
28191 ($(common-objpfx)libc_pic.opts): New target.
28192 ($(common-objpfx)libc_pic.os.clean): New target.
28193 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28195 * config.make.in (OBJCOPY): New variable.
28196 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28197 * configure: Regenerated.
28199 * config.make.in (use-default-link): New variable.
28200 * configure.in (use_default_link): Grok --with-default-link to set it.
28201 * configure: Regenerated.
28202 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28203 (shlib-lds, shlib-lds-flags): Define to empty.
28205 * Makerules (shlib-lds): New variable.
28206 (shlib-lds-flags): New variable.
28207 (build-shlib, build-moduile, build-module-asneeded): Use it.
28208 ($(common-objpfx)libc.so): Use $(shlib-lds).
28209 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28210 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28212 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28213 DT_FLAGS/DT_FLAGS_1 with zero flags.
28215 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28216 linker script munging.
28218 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28220 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28222 * crypt/sha512.c (sha512_process_block): Perform total addition using
28223 128-bit if possible.
28224 (__sha512_finish_ctx): Likewise.
28225 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28227 * crypt/sha256.c (SWAP64): Define.
28228 (sha256_process_block): Perform total addition using 64-bit if
28230 (__sha256_finish_ctx): Likewise.
28232 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28234 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28236 * nscd/hstcache.c (cache_addhst): Likewise.
28237 * nscd/grpcache.c (cache_addgr): Likewise.
28238 * nscd/aicache.c (addhstaiX): Likewise
28239 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28241 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28243 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28244 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28245 * nscd/hstcache.c (cache_addhst): Likewise.
28246 * nscd/grpcache.c (cache_addgr): Likewise.
28247 * nscd/aicache.c (addhstaiX): Likewise
28249 2011-07-01 Andreas Schwab <schwab@redhat.com>
28251 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28252 domain only when needed.
28254 2011-06-30 Andreas Schwab <schwab@redhat.com>
28256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28257 is always restored.
28259 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28261 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28262 are re-adding the entry.
28263 * nscd/servicescache.c (cache_addserv): Likewise.
28265 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28267 * sysdeps/generic/dl-irel.h: fix protection against multiple
28269 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28271 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28274 * malloc/memusage.sh: Fix quoting in message.
28275 * debug/xtrace.sh: Likewise.
28277 * configure.in: Remove support for --experimental-malloc option, make
28279 * config.make.in: Likewise.
28280 * malloc/Makefile: Likewise.
28282 2011-06-27 Andreas Schwab <schwab@redhat.com>
28284 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28285 two-byte characters.
28287 2011-06-27 Roland McGrath <roland@hack.frob.com>
28289 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28290 AC_CACHE_CHECK invocation.
28291 * configure: Regenerated.
28293 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28295 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28298 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28299 bit from old_res_options.
28301 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28303 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28304 value type for setfct.
28306 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28308 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28309 __gettimeofday instead of gettimeofday.
28311 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28313 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28315 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28317 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28319 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28322 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28325 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28326 strcpy-sse2-unaligned strncpy-sse2-unaligned
28327 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28328 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28329 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28330 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28331 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28334 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28335 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28336 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28337 (STRCPY): Support SSE2 and SSSE3 versions.
28339 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28343 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28344 kernels which artificially limit size of requests.
28346 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28349 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28350 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28351 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28352 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28353 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28354 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28355 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28356 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28358 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28359 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28360 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28361 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28362 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28364 Enable unaligned load optimization for Intel Core i3, i5 and i7
28366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28368 (index_Fast_Unaligned_Load): Define.
28369 (HAS_FAST_UNALIGNED_LOAD): Define.
28371 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28373 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28375 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28379 until it is clear that the information is realy needed.
28380 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28382 2011-06-22 Andreas Schwab <schwab@redhat.com>
28384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28386 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28389 /sys/devices/system/cpu/online if it is usable.
28391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28392 reading the information from the /proc filesystem to once a second.
28394 2011-06-21 Andreas Jaeger <aj@suse.de>
28396 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28397 NULL after inclusion of kernel headers.
28399 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28401 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28402 calls to internal_setent.
28405 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28406 addresses using gethostbyname4_r ignore IPv4 addresses.
28408 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28409 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28411 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28413 2011-06-20 David S. Miller <davem@davemloft.net>
28415 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28417 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28419 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28420 (elf_irel): Use it.
28421 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28422 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28423 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28424 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28425 * sysdeps/x86_64/dl-irel.h: Likewise.
28427 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28428 * elf/dl-sym.c: Likewise.
28430 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28432 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28433 need to dereference resplen2.
28435 2011-06-14 Andreas Schwab <schwab@redhat.com>
28437 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28439 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28441 * Makeconfig: Define vardbdir and inst_vardbdir.
28442 * nss/Makefile: Add rules to install db-Makefile.
28444 * nss/nss_db/db-XXX.c: Cleanup.
28446 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28447 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28449 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28450 * nss/makedb.c: Implement -g option to specify that value strings
28451 are generated and should not be added to table iterated over for
28453 * nss/nss_db/db-initgroups.c: New file.
28455 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28458 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28459 (internal_getgrouplist): Adjust to name change.
28460 Update use_initgroups_entry if this is not the first call.
28461 * nss/databases.def: Add initgroups entry.
28463 * nss/makedb.c (compute_tables): Check result of multiple hash table
28464 sizes to minimize maximum chain length.
28466 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28468 * Versions.def: Add entry for libnss_db.
28469 * shlib-versions: Likewise.
28470 * nss/Makefile: Add rules to build libnss_db.
28471 * nss/Versions: Add libnss_db information. Organize libnss_files
28473 * nss/db-Makefile: Add gshadow support. Change rules for the new
28474 makedb progra. Some minor improvements to generate smaller files.
28475 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28477 * nss/makedb.c: ...here.
28478 Improve database format to be smaller and require less memory at
28480 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28482 * nss/nss_db/db-netgrp.c: Likewise.
28483 * nss/nss_db/db-open.c: Likewise.
28484 * nss/nss_files/flies-XXX.x: Adjust comments.
28485 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28486 * nss/nss_files/files-grp.c: Likewise.
28487 * nss/nss_files/files-hosts.c: Likewise.
28488 * nss/nss_files/files-network.c: Likewise.
28489 * nss/nss_files/files-proto.c: Likewise.
28490 * nss/nss_files/files-pwd.c: Likewise.
28491 * nss/nss_files/files-rpc.c: Likewise.
28492 * nss/nss_files/files-service.c: Likewise.
28493 * nss/nss_files/files-sgrp.c: Likewise.
28494 * nss/nss_files/files-spwd.c: Likewise.
28495 * nss/nss_db/db-alias.c: Removed.
28496 * nss/nss_db/dummy-db.h: Removed.
28498 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28500 * nss/makedb.c: Rewritten to not use database library.
28501 * nss/Makefile: Update to build new makedb program.
28503 2011-06-14 Andreas Jaeger <aj@suse.de>
28505 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28506 memset declaration.
28508 2011-06-10 Andreas Schwab <schwab@redhat.com>
28510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28513 2011-06-10 Roland McGrath <roland@hack.frob.com>
28515 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28516 * elf/Makefile ($(objpfx)ld.so): Likewise.
28518 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28519 Don't list ld.so twice in dependencies.
28521 * posix/bug-regex31.c: Include <stdlib.h>.
28523 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28525 * nis/nss_compat/compat-spwd.c
28526 (getspent_next_nss_netgr): Remove unused variable.
28527 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28529 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28530 nonmembers" output to use the right array.
28532 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28534 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28536 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28537 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28538 * catgets/gencat.c (read_input_file): Likewise.
28539 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28541 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28542 variable definition inside #if's controlling its use.
28544 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28546 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28548 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28550 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28553 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28555 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28556 * configure: Regenerated.
28558 * Makerules: Revert last change.
28559 * elf/Makefile: Likewise.
28561 2011-06-09 Roland McGrath <roland@hack.frob.com>
28563 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28564 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28565 (reloc-link): Likewise.
28567 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28569 * elf/Makefile: Add rules to build pldd.
28570 * elf/pldd.c: New file.
28571 * elf/pldd-xx.c: New file.
28573 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28575 * version.h: Update for 2.15 development version.
28577 2011-06-07 David S. Miller <davem@davemloft.net>
28579 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28582 elf_machine_lazy_rel): Likewise.
28583 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28585 elf_machine_lazy_rel): Likewise.
28586 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28587 dl_hwcap via passed in argument.
28588 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28591 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28593 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28595 2011-06-06 Roland McGrath <roland@hack.frob.com>
28598 * manual/fdl-1.1.texi: New file, verbatim from:
28599 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28600 * manual/lgpl-2.1.texi: New file, verbatim from:
28601 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28602 * manual/Makefile (licenses): New variable, list those new file names.
28604 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28606 * manual/fdl.texi: File removed.
28607 * manual/lesser.texi: File removed.
28608 * manual/libc.texinfo (Copying, Documentation License):
28609 Use new @include file names, put @appendix directive before @include.
28611 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28614 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28615 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28616 (mq_open): Add __NTH.
28618 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28621 Assume Intel Core i3/i5/i7 processor if AVX is available.
28623 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28628 2011-05-31 Andreas Schwab <schwab@redhat.com>
28630 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28631 memory. Use alloca_account. Fix memory leak when retrying.
28633 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28635 * version.h (RELEASE): Bump for 2.14 release.
28636 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28638 * config.make.in (RANLIB): Remove entry.
28640 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28642 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28643 (libc.pot): Work around missing support for .ksh extension in xgettext.
28646 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28647 if both request failed.
28648 (send_dg): In case of server errors clear resplen or *resplen2.
28651 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28652 when there are multiple maps.
28653 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28654 (_dl_fini): Remove test here.
28656 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28658 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28661 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28662 bit from old_res_options.
28663 (gaih_inet): Likewise.
28666 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28669 * resolv/res_init.c (res_setoptions): Make the code more compact.
28672 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28676 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28678 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28681 * malloc/malloc.h: Declare malloc hook variables as volatile.
28683 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28687 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28688 raise in the comment.
28689 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28690 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28691 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28693 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28696 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28697 grow the buffers more if it already has to be sufficient.
28698 (build_wcs_upper_buffer): Likewise.
28699 * posix/regexec.c (check_matching): Likewise.
28700 (clean_state_log_if_needed): Likewise.
28701 (extend_buffers): Don't enlarge buffers beyond size of the input
28703 Patches mostly by Emil Wojak <emil@wojak.eu>.
28704 * posix/bug-regex32.c: New file.
28705 * posix/Makefile (tests): Add bug-regex32.
28707 * locale/findlocale.c (_nl_find_locale): Return right away if
28708 _nl_explode_name failed.
28709 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28711 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28713 * debug/xtrace.sh: Unify messages.
28714 * malloc/memusage.sh: Likewise.
28717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28718 time symbol from vDSO. Substitute with vsyscall if not available.
28719 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28722 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28723 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28724 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28725 Add sendmmsg and internal_sendmmsg.
28726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28727 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28730 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28731 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28732 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28734 2011-05-27 Ulrich Drepper <drepper@gmail.com>
28737 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28738 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28740 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28744 * iconvdata/Makefile (tests): Add bug-iconv9.
28745 * iconvdata/bug-iconv9.c: New file.
28747 2011-05-27 Andreas Schwab <schwab@redhat.com>
28750 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28752 2011-05-25 Jakub Jelinek <jakub@redhat.com>
28754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28755 (struct user_regs_struct): Change intcs field back to cs.
28757 2011-05-25 Ulrich Drepper <drepper@gmail.com>
28759 * po/ja.po: Update from translation team.
28761 2011-05-23 Ulrich Drepper <drepper@gmail.com>
28764 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28767 2011-05-20 Andreas Schwab <schwab@redhat.com>
28769 * stdlib/longlong.h: Update from GCC.
28771 2011-05-23 Andreas Schwab <schwab@redhat.com>
28773 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28775 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28776 Add parameter name.
28777 (__sysconf): Pass it down.
28779 2011-05-22 Ulrich Drepper <drepper@gmail.com>
28782 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28784 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28785 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28786 add in in __libc_use_alloca calls. Adjust callers.
28787 (glob): Use malloc in some situations.
28789 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28790 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28793 2011-05-21 Ulrich Drepper <drepper@gmail.com>
28795 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28796 and CLOCK_BOOTTIME_ALARM.
28799 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28802 * string/_strerror.c (__strerror_r): Print negative errors as signed
28806 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28807 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28808 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28810 * configure.in: Fix typo in redirection and correct removal of test
28811 files in two cases.
28814 * locale/setlocale.c (new_composite_name): Fix test to check for
28815 identical name of all categories.
28818 * libio/filedoalloc.c (local_isatty): New function.
28819 (_IO_file_doallocate): Use local_isatty.
28820 * stdio-common/perror.c (perror): In case a new stream is used
28821 forward the stream error.
28822 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28825 2011-05-20 Ulrich Drepper <drepper@gmail.com>
28828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28830 * include/alloca.h (extend_alloca_account): Define.
28833 * posix/regex.h: Fix comments with documentation of user-accessible
28834 fields after compilation and describe correct free'ing of pattern
28835 after re_compile_pattern.
28836 Patch by Reuben Thomas <rrt@sc3d.org>.
28838 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28840 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28841 and -mno-altivec to prevent the compiler from using Altivec and/or
28842 VSX instructions when the corresponding registers are not available.
28844 2011-05-19 Andreas Schwab <schwab@redhat.com>
28846 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28848 2011-05-19 Ulrich Drepper <drepper@gmail.com>
28850 * libio/freopen.c (freopen): Use __dup2, not dup2.
28851 * libio/freopen64.c (freopen64): Likewise.
28853 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28856 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28857 * math/Makefile (tests): Add test-powl.
28858 (CFLAGS-test-powl.c): Define.
28859 * math/test-powl.c: New file.
28861 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28863 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28865 2011-05-17 Ulrich Drepper <drepper@gmail.com>
28868 * iconvdata/gb18030.c: Update to GB18020-2005.
28870 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28872 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28873 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28874 Patch by Aharon Robbins <arnold@skeeve.com>.
28877 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28881 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28882 through underflows.
28885 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28886 point to strings before performing equality test for error_one_per_line
28890 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28894 (struct user_fpregs_struct): Avoid __uint*_t types.
28897 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28898 symbol info. Use it instead of calling _dl_addr locally.
28899 (lock_and_info): New function.
28900 (tr_freehook): Call lock_and_info and pass symbol info as additional
28901 parameter to tr_where.
28902 (tr_mallochook): Likewise.
28903 (tr_reallochook): Likewise.
28904 (tr_memalignhook): Likewise.
28906 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28907 used and couldn't be at all thread-safe.
28909 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28911 * libio/freopen.c (freopen): Don't close old file descriptor
28912 before the new one is opened. Instead dup the new file descriptor
28913 to the old one after the new stream is created.
28914 * libio/freopen64.c (freopen64): Likewise.
28915 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28916 * libio/fileops.c (_IO_new_file_close_it): Handle new
28917 _IO_FLAGS2_NOCLOSE flag.
28918 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28919 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28920 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28921 _IO_FLAGS2_NOCLOSE flag.
28922 * include/unistd.h: Add hidden_proto for dup3.
28923 Define __have_dup3.
28924 * io/dup3.c: Define hidden symbol.
28925 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28928 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28929 when an incomplete long option is used.
28930 * posix/tst-getopt_long1.c: New file.
28931 * posix/Makefile (tests): Add tst-getopt_long1.
28934 * scripts/config.guess: Update from autoconf-2.68.
28935 * scripts/config.sub: Likewise.
28938 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28940 (has_cpuclock): ...this. New function.
28941 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28942 macro here based on has_cpuclock code.
28945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28946 First byte (not low byte) is now always NUL.
28947 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28950 Use non-cancelable interfaces.
28953 * locale/iso-639.def: Add entry for Sorani.
28956 * include/stdlib.h: Move include protection to the right place.
28957 Define abort_msg_s. Declare __abort_msg with it.
28958 * stdlib/abort.c (__abort_msg): Adjust type.
28959 * assert/assert.c (__assert_fail_base): New function. Majority
28960 of code from __assert_fail. Allocate memory for __abort_msg with
28962 (__assert_fail): Now call __assert_fail_base.
28963 * assert/assert-perr.c: Remove bulk of implementation. Use
28964 __assert_fail_base.
28965 * include/assert.hL Declare __assert_fail_base.
28966 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28968 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28970 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28974 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28975 until all modules are registered in the DTV.
28976 * elf/Makefile: Add rules to build and run tst-tls19.
28977 * elf/tst-tls19.c: New file.
28978 * elf/tst-tls19mod1.c: New file.
28979 * elf/tst-tls19mod2.c: New file.
28980 * elf/tst-tls19mod3.c: New file.
28981 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28984 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28988 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28989 two-byte sequence errors.
28990 * iconvdata/Makefile (tests): Add bug-iconv8.
28991 * iconvdata/bug-iconv8.c: New file.
28994 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28997 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29000 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29001 (dummy_getcfa): New function.
29002 (init): Get _Unwind_GetCFA address, use dummy if not found.
29003 (backtrace_helper): In recursion check, also check whether CFA changes.
29004 (__backtrace): Completely initialize arg.
29006 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29007 storing incomplete byte sequence in state object. Avoid testing for
29008 guaranteed too small input if we know there is enough data available.
29010 2011-05-11 Andreas Schwab <schwab@redhat.com>
29012 * Makeconfig (+link-pie): Indent.
29013 * Rules (binaries-pie): Define if $(have-fpie) and
29015 (binaries-shared): Also filter out $(binaries-pie).
29016 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29017 * nscd/Makefile (others-pie): Add nscd.
29018 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29019 ($(objpfx)nscd): Remove command override.
29020 * login/Makefile (others-pie): Add pt_chown.
29021 ($(objpfx)pt_chown): Remove command override.
29022 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29023 remove command overrides.
29025 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29027 * libio/tst_putwc.c: Fix error messages.
29030 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29031 currently writing and seek to current position when not.
29032 * libio/Makefile (tests): Add bug-fclose1.
29033 * libio/bug-fclose1.c: New file.
29035 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29038 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29039 don't set DF_1_NODELETE here.
29040 (do_lookup_x): When entering new entry test for copy relocation
29041 and if necessary set DF_1_NODELETE flag.
29042 * elf/tst-unique4.cc: New file.
29043 * elf/tst-unique4.h: New file.
29044 * elf/tst-unique4lib.cc: New file.
29045 * elf/Makefile: Add rules to build and run tst-unique4.
29046 Patch by Piotr Bury <pbury@goahead.com>.
29048 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29051 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29054 * misc/mntent_r.c (addmntent): Flush the stream after the output
29057 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29058 (is_trusted_path_normalize): Skip initial colon. Append slash
29059 to empty buffer. Duplicate is_trusted_path code but allow
29060 constructed patch to be prefix.
29061 (is_dst): Allow $ORIGIN followed by /.
29062 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29063 Correct testing of result of is_trusted_path_normalize
29064 (decompose_rpath): Fix warning.
29066 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29069 * grp/initgroups.c (internal_getgrouplist): When we found the service
29070 list through the initgroups entry in nsswitch.conf do not always
29071 continue on a successful lookup. Don't always use the
29072 __nss_group_database value if it is set.
29073 * nss/nsswitch.conf (initgroups): Change action for successful db
29074 lookup to continue for compatibility.
29076 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29079 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29081 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29083 * iconvdata/tst-tables.sh: Likewise.
29084 * iconvdata/cp770.c: New file.
29085 * iconvdata/cp771.c: New file.
29086 * iconvdata/cp772.c: New file.
29087 * iconvdata/cp773.c: New file.
29088 * iconvdata/cp774.c: New file.
29089 * iconvdata/testdata/CP770: New file.
29090 * iconvdata/testdata/CP770..UTF8: New file.
29091 * iconvdata/testdata/CP771: New file.
29092 * iconvdata/testdata/CP771..UTF8: New file.
29093 * iconvdata/testdata/CP772: New file.
29094 * iconvdata/testdata/CP772..UTF8: New file.
29095 * iconvdata/testdata/CP773: New file.
29096 * iconvdata/testdata/CP773..UTF8: New file.
29097 * iconvdata/testdata/CP774: New file.
29098 * iconvdata/testdata/CP774..UTF8: New file.
29100 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29102 * iconvdata/gen-8bit-gap.sh: Likewise.
29103 * iconvdata/gen-8bit.sh: Likewise.
29105 * locale/iso-639.def: Add ary entry.
29108 * locale/C-translit.h.in: Add U20A1 transliteration.
29111 * locale/iso-639.def: Add wae entry.
29112 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29115 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29119 * locale/C-translit.h.in: Add entry for U20B9.
29120 Patch by pravin.d.s@gmail.com.
29122 2011-05-08 Ulrich Drepper <drepper@gmail.com>
29125 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29126 ENAMETOOLONG use generic getcwd.
29127 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29128 in rtld. Use *stat64.
29129 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29130 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29131 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29132 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29133 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29134 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29135 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29136 __fstatat64 macros.
29137 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29138 * dirent/rewinddir.c: Add libc_hidden_def.
29139 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29140 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29142 * include/dirent.h (__alloc_dir): Add flags parameter.
29143 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29144 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29146 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29147 from fdopendir if O_CLOEXEC is already set.
29149 2011-03-15 Alan Modra <amodra@gmail.com>
29151 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29152 l_tls_firstbyte_offset non-zero. Save padding offset in
29153 l_tls_firstbyte_offset for later use.
29154 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29155 freeing static tls block.
29157 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29159 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29160 where #ifdef was intended. The intent is to prevent ARG_MAX from
29161 being defined by the kernel headers.
29163 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29166 * resolv/resolv.h: Define RES_NOTLDQUERY.
29167 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29168 no-tld-query and set RES_NOTLDQUERY.
29169 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29170 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29171 modern BIND to search name as TLD unless forbidden.
29173 2011-05-07 Petr Baudis <pasky@suse.cz>
29174 Ulrich Drepper <drepper@gmail.com>
29177 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29178 (is_trusted_path): ...to here.
29179 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29180 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29181 using is_trusted_path_normalize() in setuid scripts.
29183 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29185 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29186 __BEGIN/__END_DECLS.
29188 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29190 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29191 NSS_STATUS_NOTFOUND if no record was found.
29193 2011-05-05 Andreas Schwab <schwab@redhat.com>
29195 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29196 (headers-not-in-tirpc): Remove rpc/netdb.h
29197 * resolv/netdb.h: Revert last change.
29199 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29201 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29202 circular dependency between libgcc.a and libc.a.
29204 2011-05-05 Andreas Schwab <schwab@redhat.com>
29206 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29207 * nis/Makefile: Don't install rpcsvc/*.
29208 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29209 instead of <rpc/types.h>.
29210 (MAXHOSTNAMELEN): Define.
29212 2011-05-03 Andreas Schwab <schwab@redhat.com>
29214 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29216 2011-04-28 Maciej Babinski <mbabinski@google.com>
29219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29220 gethostbyname4_r when IPv6 results are possible.
29222 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29225 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29226 _PC_PIPE_BUF handling.
29228 2011-04-30 Bruno Haible <bruno@clisp.org>
29231 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29232 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29234 * inet/getnameinfo.c (getnameinfo): Likewise.
29236 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29238 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29239 to groups setting in database lookup.
29240 * nss/nsswitch.conf: Add initgroups entry.
29242 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29245 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29247 Patch by Eric Blake <eblake@redhat.com>.
29249 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29251 * sunrpc/Makefile (need-export-routines): Add svc_run.
29252 (routines): Remove svc_run.
29253 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29254 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29255 * sunrpc/svc_run.c (svc_run): Likewise.
29256 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29258 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29260 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29261 problem in reallocation in last patch.
29263 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29265 * sunrpc/Makefile: Move inclusion of Rules.
29267 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29269 * nss/nss_files/files-initgroups.c: New file.
29270 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29271 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29272 _nss_files_initgroups_dyn.
29274 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29276 * elf/elf.h (R_ARM_IRELATIVE): Define.
29278 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29280 * po/ru.po: Update from translation team.
29282 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29284 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29287 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29290 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29291 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29293 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29296 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29298 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29300 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29301 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29304 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29307 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29309 * stdlib/bug-getcontext.c: New file.
29310 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29312 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29314 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29315 instructions into .machine "z9-109".
29316 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29317 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29319 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29321 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29322 between environment variables and auxiliary vector.
29324 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29326 * Makefile: Add rules to build linkobj/libc.so.
29327 * include/libc-symbols.h: Define libc_hidden_nolink.
29328 * include/rpc/auth.h: Mark functions which are to be hidden.
29329 * include/rpc/auth_des.h: Likewise.
29330 * include/rpc/auth_unix.h: Likewise.
29331 * include/rpc/clnt.h: Likewise.
29332 * include/rpc/des_crypt.h: Likewise.
29333 * include/rpc/key_prot.h: Likewise.
29334 * include/rpc/pmap_clnt.h: Likewise.
29335 * include/rpc/pmap_prot.h: Likewise.
29336 * include/rpc/pmap_rmt.h: Likewise.
29337 * include/rpc/rpc_msg.h: Likewise.
29338 * include/rpc/svc.h: Likewise.
29339 * include/rpc/svc_auth.h: Likewise.
29340 * include/rpc/xdr.h: Likewise.
29341 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29342 * nss/Makefile: Likewise.
29343 * sunrpc/Makefile: Don't install headers. Build library with normal
29344 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29345 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29346 for the compat linking library. Remove use of INTDEF/INTUSE.
29347 * sunrpc/auth_none.c: Likewise.
29348 * sunrpc/auth_unix.c: Likewise.
29349 * sunrpc/authdes_prot.c: Likewise.
29350 * sunrpc/authuxprot.c: Likewise.
29351 * sunrpc/clnt_gen.c: Likewise.
29352 * sunrpc/clnt_perr.c: Likewise.
29353 * sunrpc/clnt_raw.c: Likewise.
29354 * sunrpc/clnt_simp.c: Likewise.
29355 * sunrpc/clnt_tcp.c: Likewise.
29356 * sunrpc/clnt_udp.c: Likewise.
29357 * sunrpc/clnt_unix.c: Likewise.
29358 * sunrpc/des_crypt.c: Likewise.
29359 * sunrpc/des_soft.c: Likewise.
29360 * sunrpc/get_myaddr.c: Likewise.
29361 * sunrpc/key_call.c: Likewise.
29362 * sunrpc/key_prot.c: Likewise.
29363 * sunrpc/netname.c: Likewise.
29364 * sunrpc/pm_getmaps.c: Likewise.
29365 * sunrpc/pm_getport.c: Likewise.
29366 * sunrpc/pmap_clnt.c: Likewise.
29367 * sunrpc/pmap_prot.c: Likewise.
29368 * sunrpc/pmap_prot2.c: Likewise.
29369 * sunrpc/pmap_rmt.c: Likewise.
29370 * sunrpc/publickey.c: Likewise.
29371 * sunrpc/rpc_cmsg.c: Likewise.
29372 * sunrpc/rpc_common.c: Likewise.
29373 * sunrpc/rpc_dtable.c: Likewise.
29374 * sunrpc/rpc_prot.c: Likewise.
29375 * sunrpc/rpc_thread.c: Likewise.
29376 * sunrpc/rtime.c: Likewise.
29377 * sunrpc/svc.c: Likewise.
29378 * sunrpc/svc_auth.c: Likewise.
29379 * sunrpc/svc_authux.c: Likewise.
29380 * sunrpc/svc_raw.c: Likewise.
29381 * sunrpc/svc_run.c: Likewise.
29382 * sunrpc/svc_simple.c: Likewise.
29383 * sunrpc/svc_tcp.c: Likewise.
29384 * sunrpc/svc_udp.c: Likewise.
29385 * sunrpc/svc_unix.c: Likewise.
29386 * sunrpc/svcauth_des.c: Likewise.
29387 * sunrpc/xcrypt.c: Likewise.
29388 * sunrpc/xdr.c: Likewise.
29389 * sunrpc/xdr_array.c: Likewise.
29390 * sunrpc/xdr_float.c: Likewise.
29391 * sunrpc/xdr_intXX_t.c: Likewise.
29392 * sunrpc/xdr_mem.c: Likewise.
29393 * sunrpc/xdr_rec.c: Likewise.
29394 * sunrpc/xdr_ref.c: Likewise.
29395 * sunrpc/xdr_sizeof.c: Likewise.
29396 * sunrpc/xdr_stdio.c: Likewise.
29398 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29401 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29402 * sysdeps/ia64/dl-tls.h: Likewise.
29403 * sysdeps/powerpc/dl-tls.h: Likewise.
29404 * sysdeps/s390/dl-tls.h: Likewise.
29405 * sysdeps/sh/dl-tls.h: Likewise.
29406 * sysdeps/sparc/dl-tls.h: Likewise.
29407 * sysdeps/x86_64/dl-tls.h: Likewise.
29408 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29410 2011-03-14 Andreas Schwab <schwab@redhat.com>
29412 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29413 rpath element also skip the following colon.
29414 (expand_dynamic_string_token): Add is_path parameter and pass
29415 down to DL_DST_REQUIRED and _dl_dst_substitute.
29416 (decompose_rpath): Call expand_dynamic_string_token with
29417 non-zero is_path. Ignore empty rpaths.
29418 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29421 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29426 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29429 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29430 Patch by Filipe David Manana <fdmanana@apache.org>.
29432 2011-04-07 Andreas Schwab <schwab@redhat.com>
29434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29435 Maintain aligned stack.
29436 (CHECK_RSP): Remove unused macro.
29438 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29440 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29441 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29443 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29445 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29447 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29449 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29452 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29453 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29454 * sysdeps/x86_64/memmove.c: New file.
29455 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29456 (memcpy): Renamed to ...
29457 (__new_memcpy): This.
29458 (memcpy): Provide GLIBC_2_14 memcpy.
29459 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29460 (memcpy): Provide GLIBC_2_2_5 memcpy.
29462 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29465 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29467 2011-03-30 Andreas Schwab <schwab@redhat.com>
29469 * misc/syncfs.c: New file.
29470 * misc/Makefile (routines): Add syncfs.
29471 * posix/unistd.h: Declare syncfs.
29472 * sysdeps/unix/syscalls.list: Add syncfs.
29474 2011-04-01 Andreas Schwab <schwab@redhat.com>
29476 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29479 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29483 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29484 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29486 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29488 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29490 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29496 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29497 sync_file_range.c with -fexceptions.
29498 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29499 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29500 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29501 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29502 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29503 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29505 sync_file_range as cancellation point
29506 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29507 now a wrapper around __call_sync_file_range with cancellation handling.
29508 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29509 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29510 function name to __call_sync_file_range.
29511 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29512 Add call_sync_file_range.
29514 2011-04-01 Andreas Schwab <schwab@redhat.com>
29516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29519 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29521 * iconv/iconv.h: Fix typo in comment.
29522 * io/fcntl.h: Likewise.
29523 * libio/stdio.h: Likewise.
29524 * posix/spawn.h: Likewise.
29525 * posix/unistd.h: Likewise.
29526 * stdlib/stdlib.h: Likewise.
29527 * time/time.h: Likewise.
29528 * wcsmbs/wchar.h: Likewise.
29530 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29531 open_by_handle): Add.
29532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29533 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29534 Augment a few comments.
29535 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29537 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29539 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29540 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29543 * io/fcntl.h (AT_EMPTY_PATH): Define.
29545 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29547 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29548 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29549 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29551 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29552 * Versions.def: Add GLIBC_2.14.
29553 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29556 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29558 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29560 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29562 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29565 * string/test-strncmp.c (do_page_test): New function.
29566 (check2): Likewise.
29567 (test_main): Call check2.
29568 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29570 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29573 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29574 Handle cache information in CPU leaf 4.
29575 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29577 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29580 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29581 character representation.
29582 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29584 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29586 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29587 END(__isnan) to END(__isnanf) to match function entry point/label
29588 EALIGN(__isnanf,...).
29590 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29592 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29594 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29597 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29598 copy from the symbol referenced in the relocation to initialize the
29600 Patch by Piotr Bury <pbury@goahead.com>.
29601 * elf/Makefile: Add rules to build and tst-unique3.
29602 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29603 * elf/tst-unique3.cc: New file.
29604 * elf/tst-unique3.h: New file.
29605 * elf/tst-unique3lib.cc: New file.
29606 * elf/tst-unique3lib2.cc: New file.
29608 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29610 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29612 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29613 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29616 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29618 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29619 to-be-loaded object along a path to loader is ld.so.
29621 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29622 Ulrich Drepper <drepper@gmail.com>
29624 * sysdeps/x86_64/memset.S: After aligning destination, code
29625 branches to different locations depending on the value of
29626 misalignment, when multiarch is enabled. Fix this.
29628 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29630 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29631 Set _x86_64_preferred_memory_instruction for AMD processsors.
29632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29633 Set bit_Prefer_SSE_for_memop for AMD processors.
29635 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29637 * libio/fmemopen.c (fmemopen): Optimize a bit.
29639 2011-03-03 Andreas Schwab <schwab@redhat.com>
29641 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29643 2011-03-03 Roland McGrath <roland@redhat.com>
29645 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29647 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29649 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29650 __bzero_ultra1 instead of __memset_ultra1.
29652 2011-02-23 Andreas Schwab <schwab@redhat.com>
29653 Ulrich Drepper <drepper@gmail.com>
29656 * include/link.h (struct link_map): Add l_orig_initfini.
29657 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29658 returning unsuccessfully.
29659 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29660 close of a file loaded at startup, restore the original l_initfini
29662 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29663 list, store the pointer.
29664 * elf/Makefile ($(objpfx)noload-mem): New rule.
29665 (noload-ENV): Define.
29666 (tests): Add $(objpfx)noload-mem.
29667 * elf/noload.c: Include <memcheck.h>.
29668 (main): Call mtrace. Close all opened handles.
29670 2011-02-17 Andreas Schwab <schwab@redhat.com>
29673 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29674 dependencies are missing.
29676 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29678 Fix __if_freereq crash: Unlike the generic version which uses free,
29680 * sysdeps/mach/hurd/ifreq.h: New file.
29682 2011-01-27 Petr Baudis <pasky@suse.cz>
29683 Ulrich Drepper <drepper@gmail.com>
29686 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29687 to extend_alloca().
29688 * stdio-common/bug23.c: New file.
29689 * stdio-common/Makefile (tests): Add bug23.
29691 2010-09-28 Andreas Schwab <schwab@redhat.com>
29692 Ulrich Drepper <drepper@gmail.com>
29695 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29696 before performing relro protection. At old place add assertion
29697 to make sure nothing changed.
29699 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29700 Glauber de Oliveira Costa <glommer@gmail.com>
29702 * elf/elf.h: Add new ARM TLS relocs.
29704 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29707 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29709 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29711 * sysdeps/wordsize-64/tst-writev.c: New file.
29713 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29715 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29716 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29717 insns in _dl_start to prevent a TOC reference before relocs are
29720 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29723 * Makeconfig: Remove RANLIB definition.
29724 * Makerules: Don't use RANLIB.
29725 * aclocal.m4: Remove ranlib test.
29726 * configure.in: No need to check for ranlib.
29727 * elf/rtld-Rules: Don't use RANLIB.
29729 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29731 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29733 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29734 inclusion protection macro.
29736 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29737 SIGRTMIN and SIGRTMAX and print information in that case only when
29738 SIGRTMIN is defined.
29740 2011-02-11 Jakub Jelinek <jakub@redhat.com>
29742 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29743 arginfo fn returning -1.
29745 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29746 and thousands string is zero terminated.
29748 2011-02-03 Andreas Schwab <schwab@redhat.com>
29750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29751 sysdeps/unix/sysv/linux/bits/socket.h.
29753 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29755 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29756 (__CPU_COUNT): Remove old macros.
29757 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29758 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29759 (__CPU_ALLOC, __CPU_FREE): Add macros.
29760 (__sched_cpualloc, __sched_cpufree): Add declarations.
29762 2011-02-05 Ulrich Drepper <drepper@gmail.com>
29764 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29765 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29766 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29767 (readdhstai): Return value of addhstaiX call.
29768 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29769 (addgrbyX): Return value returned by cache_addgr.
29770 (readdgrbyname): Return value returned by addgrbyX.
29771 (readdgrbygid): Likewise.
29772 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29773 (addpwbyX): Return value returned by cache_addpw.
29774 (readdpwbyname): Return value returned by addhstbyX.
29775 (readdpwbyuid): Likewise.
29776 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29777 (addservbyX): Return value returned by cache_addserv.
29778 (readdservbyname): Return value returned by addservbyX:
29779 (readdservbyport): Likewise.
29780 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29781 (addhstbyX): Return value returned by cache_addhst.
29782 (readdhstbyname): Return value returned by addhstbyX.
29783 (readdhstbyaddr): Likewise.
29784 (readdhstbynamev6): Likewise.
29785 (readdhstbyaddrv6): Likewise.
29786 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29787 (readdinitgroups): Return value returned by addinitgroupsX.
29788 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29789 (prune_cache): Keep track of timeout value of re-added entries.
29790 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29791 * nscd/nscd.h: Adjust prototypes of readd* functions.
29793 2011-02-04 Roland McGrath <roland@redhat.com>
29795 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29796 (nis_stats): Likewise.
29797 * nis/nis_modify.c (nis_modify): Likewise.
29798 * nis/nis_remove.c (nis_remove): Likewise.
29799 * nis/nis_add.c (nis_add): Likewise.
29801 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29803 * posix/fnmatch_loop.c: Add some consts.
29805 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29807 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29810 * config.make.in (config-cflags-novzeroupper): Define.
29811 * configure.in: Substitute libc_cv_cc_novzeroupper.
29812 * elf/Makefile (AVX-CFLAGS): Define.
29813 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29814 (CFLAGS-tst-auditmod4a.c): Likewise.
29815 (CFLAGS-tst-auditmod4b.c): Likewise.
29816 (CFLAGS-tst-auditmod6b.c): Likewise.
29817 (CFLAGS-tst-auditmod6c.c): Likewise.
29818 (CFLAGS-tst-auditmod7b.c): Likewise.
29819 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29821 2011-02-02 Ulrich Drepper <drepper@gmail.com>
29823 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29824 function to the callback.
29825 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29827 2011-02-02 Andreas Schwab <schwab@redhat.com>
29829 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29832 2011-01-19 Ulrich Drepper <drepper@gmail.com>
29835 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29837 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29839 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29842 * elf/Makefile: Add rules to build and run new test.
29843 * elf/tst-initorder.c: New file.
29844 * elf/tst-initorder.exp: New file.
29845 * elf/tst-initordera1.c: New file.
29846 * elf/tst-initordera2.c: New file.
29847 * elf/tst-initordera3.c: New file.
29848 * elf/tst-initordera4.c: New file.
29849 * elf/tst-initorderb1.c: New file.
29850 * elf/tst-initorderb2.c: New file.
29851 * elf/tst-order-a1.c: New file.
29852 * elf/tst-order-a2.c: New file.
29853 * elf/tst-order-a3.c: New file.
29854 * elf/tst-order-a4.c: New file.
29855 * elf/tst-order-b1.c: New file.
29856 * elf/tst-order-b2.c: New file.
29857 * elf/tst-order-main.c: New file.
29858 New test case by George Gensure <werkt0@gmail.com>.
29860 2010-10-01 Andreas Schwab <schwab@redhat.com>
29862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29863 decoding ACE if AI_CANONIDN.
29865 2011-01-18 Ulrich Drepper <drepper@gmail.com>
29867 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29869 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29871 * version.h (RELEASE): Bump for 2.13 release.
29872 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29874 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29876 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29878 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29879 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29880 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29881 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29882 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29883 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29885 * posix/getconf.c: Update copyright year.
29886 * catgets/gencat.c: Likewise.
29887 * csu/version.c: Likewise.
29888 * debug/catchsegv.sh: Likewise.
29889 * debug/xtrace.sh: Likewise.
29890 * elf/ldconfig.c: Likewise.
29891 * elf/ldd.bash.in: Likewise.
29892 * elf/sprof.c (print_version): Likewise.
29893 * iconv/iconv_prog.c: Likewise.
29894 * iconv/iconvconfig.c: Likewise.
29895 * locale/programs/locale.c: Likewise.
29896 * locale/programs/localedef.c: Likewise.
29897 * malloc/memusage.sh: Likewise.
29898 * malloc/mtrace.pl: Likewise.
29899 * nscd/nscd.c (print_version): Likewise.
29900 * nss/getent.c: Likewise.
29902 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29903 PF_CAIF, and PF_ALG.
29904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29906 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29908 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29909 (modules-names): Use them.
29910 (ifunc-test-modules, ifunc-pie-tests): Define.
29911 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29912 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29913 (test-extras): Likewise.
29914 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29915 $(compile-command.c).
29916 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29917 (all-built-dso): Define.
29918 (check-textrel.out, check-execstack.out): Depend on it.
29920 * configure.in: Don't override --enable-multi-arch.
29922 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29925 * nscd/hstcache.c (tryagain): Define.
29926 (cache_addhst): Return tryagain not notfound for temporary errors.
29927 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29930 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29933 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29934 to make the syscall.
29935 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29938 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29939 and fall back to matching as normal character if the string ends before
29940 the matching ']' is found. This is what POSIX requires.
29941 * posix/testfnm.c: Adjust test result.
29942 * posix/globtest.sh: Adjust test result. Add new test.
29943 * posix/tst-fnmatch.input: Likewise.
29944 * posix/tst-fnmatch2.c: Add new test.
29946 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29948 * elf/Makefile (check-execstack): Revert last change. Depend on
29950 (check-execstack.h): New target.
29951 (generated): Add check-execstack.h.
29952 * elf/check-execstack.c: Include "check-execstack.h".
29953 (main): Revert last change.
29954 (handle_file): Return zero if GNU_STACK is absent and
29955 DEFAULT_STACK_PERMS doesn't include PF_X.
29957 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29959 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29960 in child fails because the descriptor is already closed.
29961 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29962 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29963 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29966 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29970 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29971 temporary buffer used to handle multi lookups locally.
29972 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29974 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29976 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29979 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29981 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29982 alignment for SSE2.
29984 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29987 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29988 characters. When rounding increased number of integer digits recompute
29990 * stdio-common/tst-grouping.c: New file.
29991 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29993 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29995 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29996 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29998 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30000 * bits/select.h: Likewise.
30002 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30004 * po/ja.po: Update from translation team.
30006 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30009 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30010 implementation just like for lxstat, fxstatat, et al.
30012 2010-12-27 Jim Meyering <meyering@redhat.com>
30015 * posix/regexec.c (build_trtable): Return failure indication upon
30016 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30018 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30021 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30022 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30023 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30024 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30027 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30030 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30031 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30033 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30035 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30036 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30037 script has SORT_BY_INIT_PRIORITY.
30038 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30039 NO_CTORS_DTORS_SECTIONS is defined.
30040 * elf/soinit.c: Likewise.
30041 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30042 NO_CTORS_DTORS_SECTIONS is defined.
30043 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30044 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30045 * sysdeps/sh/init-first.c: Likewise.
30046 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30048 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30050 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30051 always use the slow path.
30053 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30055 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30056 similar rule which adds the sysdep directories to the header search in
30057 order to pick up the correct platform stackinfo.h.
30058 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30059 perform test if it is, otherwise return successfully without testing.
30060 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30061 DEFAULT_STACK_PERMS define in stackinfo.h.
30062 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30063 defined in stackinfo.h.
30064 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30065 DEFAULT_STACK_PERMS defined in stackinfo.h.
30066 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30067 * sysdeps/ia64/stackinfo.h: Likewise.
30068 * sysdeps/s390/stackinfo.h: Likewise.
30069 * sysdeps/sh/stackinfo.h: Likewise.
30070 * sysdeps/sparc/stackinfo.h: Likewise.
30071 * sysdeps/x86_64/stackinfo.h: Likewise.
30072 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30073 PF_X for powerpc64. Retain PF_X for powerpc32.
30075 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30077 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30079 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30080 GETDENTS_64BIT_ALIGNED.
30082 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30084 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30086 2010-12-10 Andreas Schwab <schwab@redhat.com>
30088 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30091 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30092 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30094 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30095 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30097 2010-12-09 Ulrich Drepper <drepper@gmail.com>
30100 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30103 2010-12-09 Jakub Jelinek <jakub@redhat.com>
30105 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30107 2010-12-03 Ulrich Drepper <drepper@gmail.com>
30109 * po/it.po: Update from translation team.
30111 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30116 2010-11-30 Ulrich Drepper <drepper@gmail.com>
30118 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30120 2010-11-24 Andreas Schwab <schwab@redhat.com>
30122 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30124 (gaih_getanswer_slice): Likewise.
30126 2010-10-20 Jakub Jelinek <jakub@redhat.com>
30128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30130 2010-05-31 Petr Baudis <pasky@suse.cz>
30133 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30134 silently even in the chroot mode.
30136 2010-11-22 Ulrich Drepper <drepper@gmail.com>
30138 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30139 last patch a bit. Pretty printing
30141 2010-05-31 Petr Baudis <pasky@suse.cz>
30144 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30145 initialization of skip_initgroups_dyn.
30147 2010-11-19 Ulrich Drepper <drepper@gmail.com>
30149 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30150 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30152 2010-11-16 Ulrich Drepper <drepper@gmail.com>
30154 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30156 2010-11-11 Andreas Schwab <schwab@redhat.com>
30158 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30159 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30160 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30161 ($(objpfx)tst-fnmatch-mem): New rule.
30162 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30163 * posix/tst-fnmatch.c (main): Call mtrace.
30165 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30168 Support Intel processor model 6 and model 0x2c.
30170 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
30172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30175 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30178 * string/test-strncasecmp.c (check_result): New function.
30179 (do_one_test): Use it.
30180 (check1): New function.
30181 (test_main): Use it.
30182 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30183 Support strcasecmp and strncasecmp.
30185 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30188 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30189 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30191 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30193 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30197 * sysdeps/x86_64/multiarch/bzero.S: New file.
30198 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30199 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30200 * sysdeps/x86_64/multiarch/memset.S: New file.
30201 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30203 Set bit_Prefer_SSE_for_memop for Intel processors.
30204 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30206 (index_Prefer_SSE_for_memop): Define.
30207 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30209 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30211 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30212 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30214 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30217 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30218 (__x86_64_raw_data_cache_size_half): Likewise.
30219 (__x86_64_raw_shared_cache_size): Likewise.
30220 (__x86_64_raw_shared_cache_size_half): Likewise.
30222 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30223 (__x86_64_raw_data_cache_size_half): Likewise.
30224 (__x86_64_raw_shared_cache_size): Likewise.
30225 (__x86_64_raw_shared_cache_size_half): Likewise.
30226 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30227 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30228 and __x86_64_raw_shared_cache_size_half. Round
30229 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30230 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30231 to multiple of 256 bytes.
30233 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30236 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30237 of inacessible symlinks. Verify result of symlink before returning it.
30238 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30239 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30241 2010-10-28 Erich Ritz <erichritz@gmail.com>
30243 * math/math.h (isinf): Fix typo in comment.
30245 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30247 * po/da.po: Update from translation team.
30249 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30251 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30252 is added to the list.
30254 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30255 Ulrich Drepper <drepper@gmail.com>
30257 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30258 the global list here. Move code to...
30259 (_dl_add_to_namespace_list): ...here. New function.
30260 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30261 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30262 * elf/dl-load.c (lose): Don't remove the element from the list.
30263 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30264 (_dl_map_object): Likewise.
30266 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30269 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30270 into all bytes of SSE register.
30271 Patch by Richard Li <richardpku@gmail.com>.
30273 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30276 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30279 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30281 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30282 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30283 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30284 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30289 2010-10-22 Andreas Schwab <schwab@redhat.com>
30291 * include/dlfcn.h (__RTLD_SECURE): Define.
30292 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30293 mode & __RTLD_SECURE instead.
30294 (open_path): Rename preloaded parameter to secure.
30295 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30296 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30297 * elf/dl-deps.c (openaux): Likewise.
30298 * elf/rtld.c (struct map_args): Remove is_preloaded.
30299 (map_doit): Don't use it.
30300 (dl_main): Likewise.
30301 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30302 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30304 2010-09-09 Andreas Schwab <schwab@redhat.com>
30306 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30307 (sysd-rules-targets): Remove duplicates.
30308 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30309 rtld-%.$o dependency.
30311 2010-10-18 Andreas Schwab <schwab@redhat.com>
30313 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30314 _dl_map_object do it.
30316 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30318 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30319 fast fma builtins, define the macros in the C99 standard.
30320 (FP_FAST_FMAF): Likewise.
30321 (FP_FAST_FMAL): Likewise.
30322 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30324 * bits/mathdef.h: Update copyright year.
30325 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30327 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30329 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30330 builtins, define the macros in the C99 standard.
30331 (FP_FAST_FMAF): Likewise.
30332 (FP_FAST_FMAL): Likewise.
30333 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30335 (FP_FAST_FMAF): Likewise.
30337 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30340 * math/libm-test.inc (fma_test): Some new testcases.
30341 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30342 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30343 y and infinite z. Do multiplication by C already in long double.
30344 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30346 y and infinite z. Do bitwise or of inexact bit into u.d.
30347 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30348 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30349 * sysdeps/i386/fpu/s_fma.S: Removed.
30350 * sysdeps/i386/fpu/s_fmal.S: Removed.
30352 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30355 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30357 computation is not scheduled after fetestexcept. Fix value
30358 of minimum denormal long double.
30360 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30363 * math/libm-test.inc (fma_test): Add some more tests.
30364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30367 2010-10-15 Andreas Schwab <schwab@redhat.com>
30369 * scripts/data/localplt-s390-linux-gnu.data: New file.
30370 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30372 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30375 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30376 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30378 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30380 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30382 if one of x and y is very large and the other is subnormal.
30383 * sysdeps/s390/fpu/s_fmaf.c: New file.
30384 * sysdeps/s390/fpu/s_fma.c: New file.
30385 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30386 * sysdeps/powerpc/fpu/s_fma.S: New file.
30387 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30388 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30389 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30391 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30394 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30396 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30397 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30398 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30399 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30400 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30401 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30404 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30407 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30408 * posix/bug-regex31.input: Add test case.
30410 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30412 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30413 * posix/bug-regex31.input: New file.
30416 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30417 (parse_sub_exp): Fix last change, use postorder.
30419 * posix/bug-regex31.c: New file.
30420 * posix/Makefile: Add rules to build and run bug-regex31.
30422 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30425 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30428 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30429 to have entries in sys_siglist.
30432 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30435 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30438 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30439 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30440 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30441 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30442 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30443 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30444 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30445 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30446 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30447 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30448 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30449 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30450 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30451 * math/ftestexcept.c (fetestexcept): Likewise.
30452 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30453 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30454 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30455 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30456 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30457 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30458 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30460 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30463 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30466 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30468 * string/bug-strstr1.c: New file.
30469 * string/Makefile: Add rules to build and run bug-strstr1.
30471 2010-10-05 Eric Blake <eblake@redhat.com>
30474 * string/str-two-way.h (two_way_long_needle): Always clear memory
30475 when skipping input due to the shift table.
30477 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30480 * malloc/mcheck.c: Handle large requests.
30483 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30484 for strncmp and strncasecmp.
30485 * string/stratcliff.c: Add tests for strcmp and strncmp.
30486 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30488 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30490 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30493 2010-09-30 Andreas Jaeger <aj@suse.de>
30495 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30496 (CGROUP_SUPER_MAGIC): Define.
30497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30498 Handle btrfs and cgroup file systems.
30499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30502 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30504 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30505 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30507 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30510 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30511 trying to locate the ELF header.
30513 2010-09-27 Andreas Schwab <schwab@redhat.com>
30516 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30517 Mask out sign-bit copies when constructing f_fsid.
30519 2010-09-24 Petr Baudis <pasky@suse.cz>
30521 * debug/stack_chk_fail_local.c: Add missing licence exception.
30522 * debug/warning-nop.c: Likewise.
30524 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30526 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30527 implementing getdents64 using getdents syscall, set d_type if
30528 __ASSUME_GETDENTS32_D_TYPE.
30530 2010-09-16 Andreas Schwab <schwab@redhat.com>
30532 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30533 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30535 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30538 * posix/unistd.h: Undo change of feature selection for ftruncate from
30541 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30543 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30546 2010-09-20 Andreas Schwab <schwab@redhat.com>
30548 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30550 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30552 2010-09-14 Andreas Schwab <schwab@redhat.com>
30554 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30555 variables after CHECK_SP call.
30556 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30558 2010-09-13 Andreas Schwab <schwab@redhat.com>
30559 Ulrich Drepper <drepper@redhat.com>
30561 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30562 re-relocationg ld.so.
30563 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30564 _dl_init_paths call.
30565 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30568 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30570 * resolv/res_init.c (__res_vinit): Count the default server we added.
30572 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30573 Ulrich Drepper <drepper@redhat.com>
30576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30577 (____longjmp_chk): Use %ebx for saving value across system call.
30580 2010-09-06 Andreas Schwab <schwab@redhat.com>
30582 * manual/Makefile: Don't mix pattern rules with normal rules.
30584 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30586 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30588 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30589 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30590 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30591 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30595 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30598 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30599 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30601 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30603 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30604 * sysdeps/x86_64/addmul_1.S: Likewise.
30605 * sysdeps/x86_64/lshift.S: Likewise.
30606 * sysdeps/x86_64/mul_1.S: Likewise.
30607 * sysdeps/x86_64/rshift.S: Likewise.
30608 * sysdeps/x86_64/sub_n.S: Likewise.
30609 * sysdeps/x86_64/submul_1.S: Likewise.
30611 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30613 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30614 Define __sched_param instead of SCHED_* and sched_param when
30615 <bits/sched.h> is included with __need_schedparam defined.
30616 * bits/sched.h [__need_schedparam]
30617 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30618 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30619 (__defined_schedparam): Define to 1.
30620 (__sched_param): New structure, identical to sched_param.
30621 (__need_schedparam): Undefine.
30623 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30626 (epoll_create1): Declare.
30628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30630 2010-08-31 Andreas Schwab <schwab@redhat.com>
30633 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30634 shifting retval into place.
30636 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30638 * nis/rpcsvc/nis.h: Update copyright notice.
30639 * nis/rpcsvc/nis.x: Likewise.
30640 * nis/rpcsvc/nis_callback.h: Likewise.
30641 * nis/rpcsvc/nis_callback.x: Likewise.
30642 * nis/rpcsvc/nis_object.x: Likewise.
30643 * nis/rpcsvc/nis_tags.h: Likewise.
30644 * nis/rpcsvc/yp.h: Likewise.
30645 * nis/rpcsvc/yp.x: Likewise.
30646 * nis/rpcsvc/ypupd.h: Likewise.
30647 * nis/yp_xdr.c: Likewise.
30648 * nis/ypupdate_xdr.c: Likewise.
30650 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30651 mainly the body of pmap_getport. Add parameters to specify timeouts.
30652 (pmap_getport): Use __libc_rpc_getport.
30653 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30654 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30655 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30657 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30662 2010-08-27 Roland McGrath <roland@redhat.com>
30664 * sysdeps/i386/i686/multiarch/Makefile
30665 (CFLAGS-varshift.c): New variable.
30667 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30669 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30670 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30672 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30674 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30676 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30678 * sysdeps/x86_64/strlen.S: Unroll the loop.
30679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30680 strlen-sse2 strlen-sse2-bsf.
30681 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30682 __strlen_no_bsf if bit_Slow_BSF is set.
30683 (__strlen_sse42): Removed.
30684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30685 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30687 2010-08-25 Roland McGrath <roland@redhat.com>
30689 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30690 * sysdeps/x86_64/multiarch/varshift.c: New file.
30691 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30692 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30693 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30694 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30696 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30699 strlen-sse2 strlen-sse2-bsf.
30700 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30701 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30702 (__strlen_sse2): Removed.
30703 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30704 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30706 bit_Slow_BSF for Atom.
30707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30708 (index_Slow_BSF): Define.
30709 (HAS_SLOW_BSF): Define.
30711 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30714 * resolv/res_init.c (__res_vinit): When no server address at all
30715 is given default to loopback.
30717 2010-08-24 Roland McGrath <roland@redhat.com>
30719 * configure.in: Remove config-name.h generation.
30720 * configure: Regenerated.
30721 * config-name.in: File removed.
30722 * scripts/config-uname.sh: New file.
30723 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30724 ($(objdir)config-name.h): New target.
30726 * sunrpc/rpc_parse.h: Avoid nested comment.
30728 2010-08-24 Richard Henderson <rth@redhat.com>
30729 Ulrich Drepper <drepper@redhat.com>
30730 H.J. Lu <hongjiu.lu@intel.com>
30732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30734 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30735 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30736 _mm_alignr_epi8 with _mm_loadu_si128.
30737 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30738 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30739 (__m128i_shift_right): Removed.
30740 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30741 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30742 * sysdeps/x86_64/multiarch/varshift.h: New file.
30743 * sysdeps/x86_64/multiarch/varshift.S: New file.
30745 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30747 * configure.in: Move assembler checks to before sysdep dir checking.
30749 2010-08-20 Petr Baudis <pasky@suse.cz>
30751 * LICENSES: Sync the sunrpc license.
30753 2010-08-19 Ulrich Drepper <drepper@redhat.com>
30755 * sunrpc/auth_des.c: Update copyright notice once again.
30756 * sunrpc/auth_none.c: Likewise.
30757 * sunrpc/auth_unix.c: Likewise.
30758 * sunrpc/authdes_prot.c: Likewise.
30759 * sunrpc/authuxprot.c: Likewise.
30760 * sunrpc/bindrsvprt.c: Likewise.
30761 * sunrpc/clnt_gen.c: Likewise.
30762 * sunrpc/clnt_perr.c: Likewise.
30763 * sunrpc/clnt_raw.c: Likewise.
30764 * sunrpc/clnt_simp.c: Likewise.
30765 * sunrpc/clnt_tcp.c: Likewise.
30766 * sunrpc/clnt_udp.c: Likewise.
30767 * sunrpc/clnt_unix.c: Likewise.
30768 * sunrpc/des_crypt.c: Likewise.
30769 * sunrpc/des_soft.c: Likewise.
30770 * sunrpc/get_myaddr.c: Likewise.
30771 * sunrpc/getrpcport.c: Likewise.
30772 * sunrpc/key_call.c: Likewise.
30773 * sunrpc/key_prot.c: Likewise.
30774 * sunrpc/openchild.c: Likewise.
30775 * sunrpc/pm_getmaps.c: Likewise.
30776 * sunrpc/pm_getport.c: Likewise.
30777 * sunrpc/pmap_clnt.c: Likewise.
30778 * sunrpc/pmap_prot.c: Likewise.
30779 * sunrpc/pmap_prot2.c: Likewise.
30780 * sunrpc/pmap_rmt.c: Likewise.
30781 * sunrpc/rpc/auth.h: Likewise.
30782 * sunrpc/rpc/auth_unix.h: Likewise.
30783 * sunrpc/rpc/clnt.h: Likewise.
30784 * sunrpc/rpc/des_crypt.h: Likewise.
30785 * sunrpc/rpc/key_prot.h: Likewise.
30786 * sunrpc/rpc/netdb.h: Likewise.
30787 * sunrpc/rpc/pmap_clnt.h: Likewise.
30788 * sunrpc/rpc/pmap_prot.h: Likewise.
30789 * sunrpc/rpc/pmap_rmt.h: Likewise.
30790 * sunrpc/rpc/rpc.h: Likewise.
30791 * sunrpc/rpc/rpc_des.h: Likewise.
30792 * sunrpc/rpc/rpc_msg.h: Likewise.
30793 * sunrpc/rpc/svc.h: Likewise.
30794 * sunrpc/rpc/svc_auth.h: Likewise.
30795 * sunrpc/rpc/types.h: Likewise.
30796 * sunrpc/rpc/xdr.h: Likewise.
30797 * sunrpc/rpc_clntout.c: Likewise.
30798 * sunrpc/rpc_cmsg.c: Likewise.
30799 * sunrpc/rpc_common.c: Likewise.
30800 * sunrpc/rpc_cout.c: Likewise.
30801 * sunrpc/rpc_dtable.c: Likewise.
30802 * sunrpc/rpc_hout.c: Likewise.
30803 * sunrpc/rpc_main.c: Likewise.
30804 * sunrpc/rpc_parse.c: Likewise.
30805 * sunrpc/rpc_parse.h: Likewise.
30806 * sunrpc/rpc_prot.c: Likewise.
30807 * sunrpc/rpc_sample.c: Likewise.
30808 * sunrpc/rpc_scan.c: Likewise.
30809 * sunrpc/rpc_scan.h: Likewise.
30810 * sunrpc/rpc_svcout.c: Likewise.
30811 * sunrpc/rpc_tblout.c: Likewise.
30812 * sunrpc/rpc_util.c: Likewise.
30813 * sunrpc/rpc_util.h: Likewise.
30814 * sunrpc/rpcinfo.c: Likewise.
30815 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30816 * sunrpc/rpcsvc/key_prot.x: Likewise.
30817 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30818 * sunrpc/rpcsvc/mount.x: Likewise.
30819 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30820 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30821 * sunrpc/rpcsvc/rex.x: Likewise.
30822 * sunrpc/rpcsvc/rstat.x: Likewise.
30823 * sunrpc/rpcsvc/rusers.x: Likewise.
30824 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30825 * sunrpc/rpcsvc/spray.x: Likewise.
30826 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30827 * sunrpc/rtime.c: Likewise.
30828 * sunrpc/svc.c: Likewise.
30829 * sunrpc/svc_auth.c: Likewise.
30830 * sunrpc/svc_authux.c: Likewise.
30831 * sunrpc/svc_raw.c: Likewise.
30832 * sunrpc/svc_run.c: Likewise.
30833 * sunrpc/svc_simple.c: Likewise.
30834 * sunrpc/svc_tcp.c: Likewise.
30835 * sunrpc/svc_udp.c: Likewise.
30836 * sunrpc/svc_unix.c: Likewise.
30837 * sunrpc/svcauth_des.c: Likewise.
30838 * sunrpc/xcrypt.c: Likewise.
30839 * sunrpc/xdr.c: Likewise.
30840 * sunrpc/xdr_array.c: Likewise.
30841 * sunrpc/xdr_float.c: Likewise.
30842 * sunrpc/xdr_mem.c: Likewise.
30843 * sunrpc/xdr_rec.c: Likewise.
30844 * sunrpc/xdr_ref.c: Likewise.
30845 * sunrpc/xdr_sizeof.c: Likewise.
30846 * sunrpc/xdr_stdio.c: Likewise.
30848 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30851 2010-08-19 Andreas Schwab <schwab@redhat.com>
30853 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30855 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
30857 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30858 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30859 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30860 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30861 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30862 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30864 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30866 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30867 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30868 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30869 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30870 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30872 2010-07-26 Anton Blanchard <anton@samba.org>
30874 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30875 * malloc/arena.c (heap_trim): Likewise.
30877 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30879 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30882 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30884 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30886 * sysdeps/i386/elf/Makefile: New file.
30888 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30890 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30891 from fanotify_init.
30892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30893 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30895 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30897 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30899 * sysdeps/multiarch/strcmp.S: Likewise.
30901 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30903 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30904 strncase_l-nonascii.
30905 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30906 Add strncase_l-ssse3.
30907 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30908 * sysdeps/x86_64/strcmp.S: Likewise.
30909 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30910 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30911 * sysdeps/x86_64/strncase.S: New file.
30912 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30913 * sysdeps/x86_64/strncase_l.S: New file.
30914 * string/Makefile (strop-tests): Add strncasecmp.
30915 * string/test-strncasecmp.c: New file.
30917 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30920 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30921 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30923 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30925 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30927 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30929 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30930 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30931 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30933 2010-05-01 Alan Modra <amodra@gmail.com>
30935 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30936 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30937 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30938 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30939 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30940 tidying. Don't tail-call __sigjmp_save for static lib.
30941 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30943 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30944 (CALL_MCOUNT): Add eh info, and nop after bl.
30945 (TAIL_CALL_SYSCALL_ERROR): New macro.
30946 (PSEUDO_RET): Use it.
30947 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30948 Correct save location of integer regs and cr.
30949 (_dl_profile_resolve): Correct cr save location. Delete nops
30950 after bl when SHARED. Reduce cfi size a little by better
30951 placement of cfi directives.
30952 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30953 make a stack frame. Instead use parm save area as a temp.
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30955 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30957 Don't make a stack frame for parent, use parm save area.
30958 Increase child stack frame to 112 bytes. Don't save unused reg,
30959 and adjust reg usage. Set up cfi on error recovery and
30960 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30962 (__makecontext): Add dummy nop after jump to exit.
30963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30964 Use correct parm save area and cr save, reduce stack frame.
30965 Correct cfi for possible PSEUDO_RET frame setup.
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30967 Branch to local label emitted by PSEUDO_RET rather than
30970 2010-08-12 Andreas Schwab <schwab@redhat.com>
30973 * locale/programs/locale.c (print_assignment): New function.
30974 (show_locale_vars): Use it.
30976 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30978 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30980 (struct statfs64): Likewise.
30981 (_STATFS_F_FLAGS): Define.
30982 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30984 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30985 (ST_VALID): Define locally.
30986 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30987 __statvfs_getflags, use the provided value.
30988 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30989 __ASSUME_STATFS_F_FLAGS.
30991 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30993 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30994 Add sys/fanotify.h.
30995 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30996 fanotify_mask for GLIBC_2.13.
30997 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30998 fanotify_init and fanotify_mark.
30999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31000 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31002 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31004 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31005 prlimit64 for GLIBC_2.13.
31006 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31011 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31012 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31013 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31014 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31016 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31019 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31020 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31022 * nss/Makefile: Add rules to build and run tst-nss-test1.
31023 * shlib-versions: Add entry for libnss_test1.
31024 * nss/nss_test1.c: New file.
31025 * nss/tst-nss-test1.c: New file.
31027 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31028 (__nss_configure_lookup): Set appropriate entry in
31029 __nss_configure_lookup to true.
31030 * nss/nsswitch.h: Define enum with indeces of databases in
31031 databases and __nss_database_custom arrays. Declare
31032 __nss_database_custom.
31033 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31034 to avoid using nscd when custom rules are installed.
31035 * nss/getXXbyYY_r.c: Likewise.
31036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31038 * nss/nss_files/files-parse.c: Whitespace fixes.
31040 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31043 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31044 * posix/fnmatch_loop.c: Likewise.
31046 2010-07-17 Andi Kleen <ak@linux.intel.com>
31048 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31049 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31050 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31051 * Versions.def [GLIBC_2.13]: Add.
31053 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31056 Also fail if tpwd after pwuid call is NULL.
31058 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31060 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31061 when converting to ms.
31063 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31065 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31066 EOPNOTSUPP errors with ENOTTY.
31067 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31068 EOPNOTSUPP errors with ENOTTY.
31070 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31072 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31073 Add strcasecmp_l-ssse3.
31074 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31076 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31077 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31078 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31080 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31082 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31084 * string/Makefile (strop-tests): Add strcasecmp.
31085 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31086 strcasecmp_l-nonascii.
31087 (gen-as-const-headers): Add locale-defines.sym.
31088 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31089 * sysdeps/x86_64/strcasecmp.S: New file.
31090 * sysdeps/x86_64/strcasecmp_l.S: New file.
31091 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31092 * sysdeps/x86_64/locale-defines.sym: New file.
31093 * string/test-strcasecmp.c: New file.
31095 * string/test-strcasestr.c: Test both ends of the range of characters.
31096 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31098 2010-07-29 Roland McGrath <roland@redhat.com>
31101 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31103 2010-07-27 Ulrich Drepper <drepper@redhat.com>
31105 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31108 2010-07-27 Andreas Schwab <schwab@redhat.com>
31110 * manual/memory.texi (Malloc Tunable Parameters): Document
31113 2010-07-26 Roland McGrath <roland@redhat.com>
31116 * configure.in (-fgnu89-inline check): Set and substitute
31117 gnu89_inline, not libc_cv_gnu89_inline.
31118 * configure: Regenerated.
31119 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31121 2010-07-26 Ulrich Drepper <drepper@redhat.com>
31123 * string/test-strnlen.c: New file.
31124 * string/Makefile (strop-tests): Add strnlen.
31125 * string/tester.c (test_strnlen): Add a few more test cases.
31126 * string/tst-strlen.c: Better error reporting.
31128 * sysdeps/x86_64/strnlen.S: New file.
31130 2010-07-24 Ulrich Drepper <drepper@redhat.com>
31132 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31133 lower-latency instructions.
31135 2010-07-23 Ulrich Drepper <drepper@redhat.com>
31137 * string/test-strcasestr.c: New file.
31138 * string/test-strstr.c: New file.
31139 * string/Makefile (strop-tests): Add strstr and strcasestr.
31140 * string/str-two-way.h: Don't undefine MAX.
31141 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31143 2010-07-21 Andreas Schwab <schwab@redhat.com>
31145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31146 strcasestr-nonascii.
31147 (CFLAGS-strcasestr-nonascii.c): Define.
31148 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31150 Remove unused attribute.
31152 2010-07-20 Roland McGrath <roland@redhat.com>
31154 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31155 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31156 ld.so.cache was broken. With it, there is no way to disable dsocaps
31157 like LD_HWCAP_MASK can disable hwcaps.
31159 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31161 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31163 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31165 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31166 call in strcasestr.
31167 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31168 __strcasestr_sse42_nonascii.
31169 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31170 strcasestr-nonascii.c.
31171 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31173 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
31175 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31176 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31177 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31180 2010-07-09 Ulrich Drepper <drepper@redhat.com>
31182 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31185 2010-07-06 Andreas Schwab <schwab@redhat.com>
31188 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31191 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31193 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31194 _PC_PIPE_BUF using F_GETPIPE_SZ.
31196 2010-07-05 Roland McGrath <roland@redhat.com>
31198 * manual/arith.texi (Rounding Functions): Fix rint description
31199 implicit in round description.
31201 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31203 * elf/Makefile: Fix linking for a few tests to make recent linker
31206 2010-06-30 Andreas Schwab <schwab@redhat.com>
31208 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31209 $(common-objpfx)libc_nonshared.a.
31211 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31213 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31214 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31215 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31216 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31217 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31218 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31219 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31220 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31235 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31236 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31237 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31238 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31239 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31240 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31241 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31242 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31243 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31244 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31245 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31246 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31262 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31264 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31265 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31266 * string/memmove.c (memmove): Renamed to ...
31267 (MEMMOVE): ...this. Default to memmove.
31268 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31269 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31272 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31273 mempcpy-ssse3-back memmove-ssse3-back.
31274 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31277 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31278 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31279 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31280 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31281 * sysdeps/x86_64/multiarch/memmove.c: New file.
31282 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31283 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31284 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31285 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31286 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31289 (index_Fast_Copy_Backward): Define.
31290 (HAS_ARCH_FEATURE): Define.
31291 (HAS_FAST_REP_STRING): Define.
31292 (HAS_FAST_COPY_BACKWARD): Define.
31294 2010-06-21 Andreas Schwab <schwab@redhat.com>
31296 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31297 Restore proper fallback handling.
31299 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31302 * posix/group_member.c (__group_member): Correct checking loop.
31304 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31305 OOM in getpwuid_r correctly. Return error number when the caller
31306 should return, otherwise -1.
31307 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31308 call returning > 0 value.
31309 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31311 2010-06-07 Andreas Schwab <schwab@redhat.com>
31313 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31314 libc_nonshared.a from targets in modules-names.
31316 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31318 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31321 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31323 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31324 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31328 2010-06-02 Andreas Schwab <schwab@redhat.com>
31330 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31332 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31334 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31336 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31343 2010-06-14 Roland McGrath <roland@redhat.com>
31345 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31347 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31349 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31350 __REDIRECT followed by __THROW.
31351 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31352 * posix/getopt.h (getopt): Likewise.
31354 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31356 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31357 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31358 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31360 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31361 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31363 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31367 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31371 Properly check family and model.
31373 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31375 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31377 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31379 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31381 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31383 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31386 2010-05-19 Andreas Schwab <schwab@redhat.com>
31388 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31391 2010-05-21 Andreas Schwab <schwab@redhat.com>
31393 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31394 and internal_recvmmsg.
31395 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31396 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31398 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31400 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31401 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31402 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31404 2010-05-20 Andreas Schwab <schwab@redhat.com>
31406 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31408 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31410 POWER7 optimizations.
31411 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31412 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31414 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31416 * version.h: Update for 2.13 development version.
31418 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31420 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31421 exceptions. Return 0.
31423 2010-05-07 Roland McGrath <roland@redhat.com>
31425 * elf/ldconfig.c (main): Add a const.
31427 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31429 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31430 (args_options): Add no-idn option.
31431 (ahosts_keys_int): Add idn_flags to ai_flags.
31432 (parse_option): Handle 'i' option to clear idn_flags.
31434 * malloc/malloc.c (_int_free): Possible race in the most recently
31435 added check. Only act on the data if no current modification
31438 See ChangeLog.17 for earlier changes.